@charset "utf-8";
/* CSS Document */

/*==================SP版==================*/
@media screen and (max-width:768px) {
.pc_only{
	display: none;
}
.sp_only{
	display: block;
}
img {
    max-width: 100%;
    height: auto;
    display: block; 
}
body.medical-career{
	color: #3A3A3A;
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0.02em;
	overflow-x: hidden;
}
	.main-title-block{
		margin: 0 16px;
		text-align: center;
	}
	.main-title-block h3{
		text-align: center;
		color: #0066A5;
		font-size: 24px;
		font-weight: normal;
	}
	.main-title-block > div{
		font-family: "Lora", serif;
		color: #6BA6CB;
		font-size: 14px;
		display: inline-block;
		position: relative;
		padding: 0 16px; 
		box-sizing: border-box;
	}
	.main-title-block > div:before,
	.main-title-block > div::after{
		content: '';
		position: absolute;
		top: 50%;
		display: inline-block;
		width: 12px;
		height: 1px;
		background-color: #6BA6CB;
	}
	.main-title-block > div:before{
		left:0;
	}
	.main-title-block > div::after{
		right: 0;
	}
	.main-title-block > p{
		margin-top: 24px;
		text-align: center;
		font-size: 14px;
	}
	
/*フェードインアニメーション*/
/* 下から */
	.js-fade {
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 1.2s ease-out, transform 1.2s ease-out;
	}
	.scroll {
	opacity: 1;
	transform: translateY(0);
	}
/* 右から */
	.js-fade-right {
	max-width: 100%;
	box-sizing: border-box;
	opacity: 0;
	transform: translateX(10px);
	transition: opacity 1.2s ease-out, transform 1.2s ease-out;
	}
	.scroll-right {
	opacity: 1;
	transform: translateX(0);
	}
	
.header{
	position: relative;
	top: 0;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-flow: column;
	z-index: 90;
	justify-content: center;
	height: 70px;
	padding: 10px 15px;
	background-color: #FFF;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
		.header-inner{
		display:flex;
		justify-content: flex-start;
		align-items: center;
		gap:10px;
	}
h1{
	display: flex;
	align-items: center;
	gap:10px;
}
	h1 .logo{
		width: 95px;
	}
	h1 span{
		font-size: 11px;
		color: #0066A5;
		font-family: 'Roboto', sans-serif;
	}

	.entry_btn{
		color: #FFFFFF;
		background-color: #ff7800;
		margin-left: 5px;
		padding: 10px 10px;
		font-size: 14px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 5px;
		height: auto;
		letter-spacing: 0.1em;
		font-weight: bold;
	}
	
#g-nav {
	position: fixed;
	z-index: 999;
	top: 0;
	right: 0;
	width: 80%;
	height: 100vh;
	background: #F0F9FF;
	transform: translateX(100%);
	transition: transform .6s;
}

#g-nav.panelactive {
	transform: translateX(0); 
}

#g-nav .g-nav-in {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
	#g-nav.panelactive #g-nav-list{
		position: fixed;
		z-index: 999; 
		width: 100%;
		height: 100vh;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}
	.g-nav-in ul {
		margin-bottom: 16px;
	}
	
	#g-nav li{
		list-style: none;
		text-align: left;
	}
	#g-nav li a{
		color: #0066A5;
		text-decoration: none;
		padding:10px;
		display: block;
		text-transform: uppercase;
		letter-spacing: 0.1em;
	}
	#g-nav .entry_btn{
		
	}
#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,0.5);
	z-index: 998; 
	opacity: 0;
	pointer-events: none;
	transition: opacity .6s;
}
#overlay.active {
	opacity: 1;
	pointer-events: auto;
}

.openbtn{
	position:fixed;
	z-index: 9999;
	top:10px;
	right: 10px;
	cursor: pointer;
	width: 50px;
	height:50px;
	background-color: #FFFFFF;
	border-radius: 50%;
}
.openbtn span{
	display: inline-block;
	transition: all .4s;
	position: absolute;
	left: 14px;
	height: 3px;
	border-radius: 2px;
	background-color: #0066A5;
	width: 45%;
	}
	.openbtn span:nth-of-type(1) {top:16px;}
	.openbtn span:nth-of-type(2) {top:24px;}
	.openbtn span:nth-of-type(3) {top:32px;}

	.openbtn.active span:nth-of-type(1) {
		top: 18px;
		left: 15px;
		transform: translateY(6px) rotate(-45deg);
		width: 40%;
	}
	.openbtn.active span:nth-of-type(2) {opacity: 0;}
	.openbtn.active span:nth-of-type(3){
		top: 30px;
		left: 15px;
		transform: translateY(-6px) rotate(45deg);
		width: 40%;
	}
.openbtn.scrolled {
	box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
/*フッター*/
.footer .footer-in{
	background-color: #F9F9F9;
}
.footer .footer-link{
	max-width: 240px;
	margin: 24px auto 40px;;
}
	.footer .footer-link:hover{opacity: 0.7;}
	.footer .footer-link a{
		text-align: center;
		width: 100%;
		height: auto;
		font-size: 16px;
		padding: 16px 24px;
	}

.footer .footer-nav{
	display: flex;
	flex-flow: wrap;
	justify-content: center;
	padding: 32px 32px 16px;
}
	.footer .footer-nav li{
		list-style: none;
		text-align: center;
		font-size: 14px;
		width: calc((100% / 3) - 0px);
		margin-bottom: 16px;
	}
	.footer .footer-nav li:last-child {
		border-right: none;
	}
	.footer .footer-nav li a:hover{opacity: 0.7;}

.footer .footer-linkbtn-list{
	display: flex;
	flex-flow: wrap;
	justify-content: center;
	align-items: center;
	gap: 16px;
	padding-bottom: 24px;
}
.footer-linkbtn-list li {
	border: 1px solid #0066A5;
	display: inline-block;
	min-width: 70%;
	padding: 16px;
}
.footer-linkbtn-list li a {
	position: relative;
	color: #0066A5;
	display: inline-block;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.3em;
	width: 100%;
	height: 100%;
	font-weight: 500;
}

.footer-linkbtn-list li a::after {
	position: absolute;
	content: "";
	top: calc(50% - 4px);
	right: 2%;
	width: 8px;
	height: 8px;
	border: 1px solid;
	border-color: transparent transparent #24669F #24669F;
	transform: rotate(-135deg);
	transition: .3s;
}

.footer-bottom{
	padding: 8px;
	text-align: center;
	color: #FFFFFF;
	background-color: #0066A5;
	letter-spacing: 0.05em;
	font-size: 14px;
	font-family: 'Roboto', sans-serif;
}


/*イントロダクション*/
.intro {
	width: 100%;
	background-image: url("../image/top-bg.svg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: scroll;
	position: relative;
}
.intro-inner {
	position: relative;
	margin: 0 auto;
	display: flex;
	flex-flow: column;
}
.top_intro_shop {
	order: 1;
}
.top_intro_staff {
	order: 3;
	width: 68%;
	margin-right: 16px;
	margin-left: auto;
	z-index: 2;
}
	
.intro_title {
	order: 2;
	margin-top: -50px;
	font-family: "Lora", serif;
	color: #ffffff;
	font-size: 34px;
	font-weight: 500;
	margin-left: 16px;
	position: relative;
	z-index: 3;
}

.intro-textbox {
	position: relative;
	z-index: 10;
	padding: 50px 16px;
	}
	.intro-textbox h2{
		font-size: 20px;
		font-weight: 400;
		color: #FFFFFF;
	}
	.intro-textbox p{
		font-size: 14px;
		color: #FFFFFF;
		margin-top: 16px;
		line-height: 2.5em;
	}
	.line-anim {
	margin-top: -8px;
	width: 100%; 
	height: 8px;
	background: rgba(0, 102, 165, 0.3); 
	}

/*綿半ホームエイドとは*/
	.about-watahan{
		position: relative;
		padding-bottom: 68px;
	}
	.about-watahan-wrap{
		padding: 0px 16px;
	}
	.about-intro-block{
		padding-top: 68px;
		display: flex;
		flex-flow: column;
		position: relative;
	}
	.about-intro-title{
		margin-bottom:24px;
	}
	.about-intro-title h2{
		font-size: 24px;
		color: #0066A5;
		font-weight: normal;
		display: inline-block;
		border-bottom: solid 3px #6BA6CB;
		position: relative;
	}
	.about-intro-title h2:after{
		position: absolute;
		content: " ";
		display: block;
		border-bottom: solid 3px #0066A5;
		bottom: -3px;
		width: 30%;
	}
	.about-intro-title p{
		margin-top: 4px;
		color: #6BA6CB;
		font-size: 15px;
		font-family: "Lora", serif;
	}
	.about-intro-block figure{
		max-width: 100%;
		text-align: right;
	}
	.about-intro-block figure img{
		width: 90%;
		height: auto;
		margin-right: 0;
		margin-left: auto;
	}
	.about_textblock{
		position: relative;
		margin-top: -24px; 
		background-color: rgba(255,255,255,0.8);
		z-index: 2;
		padding: 32px 24px;
		display: inline-block;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	}
	.about_textblock .about_intro{
		font-size: 18px;
		margin-bottom: 24px;
		line-height: 1.5em;
	}
	.about_textblock .about_intro span{
		margin-top: 4px;
		display: block;
		font-size: 12px;
	}
	.about_textblock > p{
		font-size: 14px;
		line-height: 2em;
	}
	ul.mission-vision{
		display: flex;
		flex-flow: column;
		justify-content: space-between;
		list-style: none;
		gap:24px;
		margin: 40px auto;
	}
	ul.mission-vision li{
		background-color: #F0F9FF;
		width: 100%;
		text-align: center;
		display: flex;
		flex-flow: column;
		justify-content: center;
		align-items: center;
		padding: 40px 0px;
	}
	ul.mission-vision li div{
		font-size: 20px;
		color: #0066A5;
		font-family: "Lora", serif;
		margin-bottom: 24px;
	}
	ul.about-gallery{
		display: flex;
		flex-flow: wrap;
		list-style: none;
		gap:8px;
	}
	ul.about-gallery li{
		width: calc((100% - 8px) / 2);
	}
	.bg-blue{
		position: absolute;
		background-color: #D9E8F2;
		height: 176px;
		z-index: -1;
		bottom: 0;
		box-sizing: border-box;
		width: 100%;
	}
	.open-positions{
		margin: 68px 16px 0px;
		padding-top: 68px;
	}
	ul.open-positions_list{
		display: flex;
		flex-flow: column;
		list-style: none;
		gap:24px;
		margin-top: 40px;
	}
	ul.open-positions_list > li{
		display: flex;
		flex-flow: column;
		align-items: center;
		justify-content: center;
		border:1px solid #cdcdcd;
		padding: 32px;
		width: 100%;
	}
		ul.open-positions_list > li img{
			max-width: 180px;
		}
		ul.open-positions_list > li p{
			color: #0066A5;
			font-size: 20px;
			margin-top: 24px;
		}
		ul.open-positions_list > li a{
			background-color: #ff7800;
			padding: 16px 24px;
			margin-top: 16px;
			border-radius: 5px;
			color: #FFFFFF;
			width: 100%;
			text-align: center;
			letter-spacing: 0.15em;
			position: relative;
			transition: all 0.8s ease;
		}
		ul.open-positions_list > li a:after {
		content: '';
		position: absolute;
		top: 50%;
		right: 32px;
		transform: rotate(45deg) translateY(-50%);
		width: 8px;
		height: 8px;
		border-width: 2px 2px 0 0;
		border-style: solid;
		border-color: #FFFFFF;
		transition: right 0.3s ease;
		}
		ul.open-positions_list > li a:hover{
			opacity: 0.7;
		}
		ul.open-positions_list > li a:hover::after {
			right: 24px;
		}
	
	/*数字でみる綿半*/
	.working-view{
		margin: 68px 0px 0px;
		padding: 68px 16px 68px;
		background-color: #D9E8F2;
	}
	
	.working-view-wrap{
		padding-top: 68px;
		max-width: 1168px;
		margin: 0 auto;
	}
	
	.working-view-list{
		display: flex;
		flex-flow: wrap;
		gap:16px;
		padding-bottom: 136px;
		margin-top: 32px;
	}
	
	.working-view-list > li{
		width: calc((100% - 16px) / 2);
	}
	
	/*福利厚生*/
	.benefit{
		background-image: url("../image/bg2.svg");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center center;
	}
	.benefit-wrap{
		margin: 68px 0px 0px;
		padding: 68px 16px 68px;
	}
	ul.benefit-lists{
		display: flex;
		flex-flow: wrap;
		list-style: none;
		gap:8px;
		margin-top: 40px;
	}
		ul.benefit-lists > li{
		display: flex;
		flex-flow: column;
		align-items: center;
		justify-content: flex-start;
		border: 1px solid #dfecf1;
		background-color: #FFFFFF;
		padding: 16px 16px;
		width: calc((100% - 8px) / 2);
		}
	ul.benefit-lists > li div{
		font-size: 14px;
		font-weight: bold;
		margin-top: 16px;
	}
	ul.benefit-lists > li p{
		margin-top: 16px;
		font-size: 14px;
		line-height: 1.8em;
	}
	
	/*薬局紹介*/
	.our-store{
		margin:68px 16px 0px;
	}
	ul.our-store_list{
		margin-top: 40px;
		list-style: none;
	}
	ul.our-store_list .slick-slide{
		border:1px solid #cdcdcd;
		padding: 24px;
	}
	ul.our-store_list li .shop_title{
		color: #0066A5;
		font-size: 18px;
		margin-top: 16px;
		margin-bottom: 16px;
		text-align: center;
	}
	ul.our-store_list li p{
		margin-bottom: 16px;
		display: flex;
		flex-flow: column;
		justify-content: flex-start;
		align-items: flex-start;
	}
	ul.our-store_list  li p span{
		display: inline-block;
		background-color: #6BA6CB;
		color: #FFFFFF;
		font-size: 12px;
		padding: 2px 4px;
		margin-bottom: 2px;
	}
	ul.our-store_list  li .shoplist_btn a{
		background-color: #0066A5;
		color: #FFFFFF;
		text-align: center;
		display: block;
		width: 100%;
		margin: 0 auto;
		padding: 16px 24px;
		border-radius: 5px;
		position: relative;
	}
	ul.our-store_list li .shoplist_btn a:after {
		content: '';
		position: absolute;
		top: 50%;
		right: 32px;
		transform: rotate(45deg) translateY(-50%);
		width: 8px;
		height: 8px;
		border-width: 2px 2px 0 0;
		border-style: solid;
		border-color: #FFFFFF;
		transition: right 0.3s ease;
		}
		ul.our-store_list li .shoplist_btn  a:hover{
			opacity: 0.7;
		}
		ul.our-store_list li .shoplist_btn  a:hover::after {
			right: 24px;
		}
		ul.our-store_list li .shoplist_btn a:hover{opacity: 0.7;}
	
	ul.our-store_list .slick-slide {
		margin:0 8px;
	}
		.our-store .slick-track {
		  display: flex;
		}
		.our-store .slick-slide {
		  height: auto !important;
		}
	/*矢印の設定*/
	.slick-prev,.slick-next {
		width: 40px;
		height: 40px;
		background: rgba(0,0,0,0.4);
		border-radius: 50%;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		z-index: 2;
		cursor: pointer;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.slick-prev:before,
	.slick-next:before {
		content: "";
		display: block;
		width: 12px;
		height: 12px;
		border-top: 2px solid #fff;
		border-right: 2px solid #fff;
	}
		.slick-prev {
			left: 0px; 
		}
		.slick-prev:before {
			transform: rotate(-135deg);
			margin-right: -4px;
		}
		.slick-next {
			right: 0px;

		}
		.slick-next:before {
			transform: rotate(45deg);
			margin-left: -4px;
		}
		/*ドットナビゲーション*/
		.slick-dots {
			text-align:center;
			margin:20px 0 0 0;
		}
		.slick-dots li {
			display:inline-block;
			margin:0 5px;
		}
		.slick-dots button {
			color: transparent;
			outline: none;
			width:8px;
			height:8px;
			display:block;
			border-radius:50%;
			background:#ccc;
		}
		.slick-dots .slick-active button{
			background:#333;
		}
	
		/* 3件以下の時だけ矢印とドットを消す */
		.our-store.few-items .slick-dots,
		.our-store.few-items .slick-dots li,
		.our-store.few-items .slick-dots button {
		display: none !important;
		}
		.our-store.few-items .slick-prev,
		.our-store.few-items .slick-next {
		display: none !important;
	}
	
	.interview{
		margin: 136px 16px 96px;
	}
	.interview-attention{
		margin-top: 24px;
		color: #0066A5;
		text-align: center;
		font-size: 12px;
	}
	ul.interview-lists{
		display: flex;
		flex-flow: column;
		align-items: center;
		margin-top: 24px;
		list-style: none;
		gap:24px 16px;
	}
	ul.interview-lists > li{
		cursor: pointer;
		width: 80%;
		box-sizing: border-box;
		border:1px solid #cdcdcd;
		padding: 16px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
		border-radius: 4px;
	}
	ul.interview-lists > li:hover{opacity: 0.7}
	.interview-title{
		color: #0066A5;
		margin-top: 14px;
		text-align: left;
	}
	.interview-name{
		font-size: 13px;
		margin-top: 16px;
		text-align: right;
	}
	.interview-name span{
		font-size: 14px;
		margin: 0px 2px 0 4px;
	}
	.interview-year{
		margin-top: 2px;
		font-size: 12px;
		text-align: right;
	}
	.interview .close-btn {
		position: absolute;
		top: 10px;
		right: 15px;
		font-size: 1.6rem;
		background: transparent;
		border: none;
		cursor: pointer;
		transition: transform 0.3s ease;
	}
		/* モーダル背景 */
		.interview .modal {
			display: none;
			position: fixed;
			top: 0;
			left: 0;
			justify-content: center;
			align-items: center;
			width: 100%;
			height: 100%;
			background: rgba(79, 79, 79, 0.5);
			z-index: 100;
			opacity: 0;
			pointer-events: none;
			transition: opacity 0.3s ease;
		}
		.modal.active {
			display: flex;
			opacity: 1;
			pointer-events: auto;
		}
		/* モーダルの中身*/
		.modal-content {
			background: #fff;
			padding: 1rem;
			border-radius: 10px;
			width: 90%;
			max-width: 980px;
			text-align: center;
			box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
			position: relative;
			opacity: 0;
			transform: scale(0.8);
			transition: all 0.3s ease;
		}
		.modal-wrap {
		max-height: 70vh; 
		overflow-y: auto; 
		overflow-x: hidden;
		padding: 20px;
		margin-top: 30px;
		box-sizing: border-box;
		}
			.modal-wrap::-webkit-scrollbar {
			  width: 6px;
			}
			.modal-wrap::-webkit-scrollbar-track {
			  background: transparent;
			}
			.modal-wrap::-webkit-scrollbar-thumb {
			  background: rgba(0,0,0,0.25);
			  border-radius: 4px;
			}
			.modal-wrap::-webkit-scrollbar-thumb:hover {
			  background: rgba(0,0,0,0.4);
			}

		/* アニメーション*/
		.modal.active .modal-content {
			 animation: fadeInScale 0.4s ease forwards;
		}
		@keyframes fadeInScale {
		0% {
			opacity: 0;
			transform: scale(0.8);
		}
		100% {
			opacity: 1;
			transform: scale(1);
		}
		}


		
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}/*SP終了*/