@charset "utf-8";
/* CSS Document */
/* PC共通 */
@media (min-width: 769px) {  
.sp_only{display: none;}
.pc_only{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 auto;
		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 55px;
	}
	.main-title-block > div:before,
	.main-title-block > div::after{
		content: '';
		position: absolute;
		top: 50%;
		display: inline-block;
		width: 45px;
		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 {
	opacity: 0;
	transform: translateX(50px);
	transition: opacity 1.2s ease-out, transform 1.2s ease-out;
	}
	.scroll-right {
	opacity: 1;
	transform: translateX(0);
}
	
/*ヘッダー*/
.header{
	display: flex;
	flex-flow: column;
	justify-content: center;
	height: 80px;
	position: fixed;
	z-index: 10;
	width: 100%;
	top: 0;
	background-color: #FFF;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
	.header-inner{
		width: 100%;
		margin: 0 auto;
		display:flex;
		justify-content: space-between;
		align-items: center;
		gap:8px;
	}
	h1{
		display: flex;
		align-items: center;
		gap:8px;
		width: 30%;
	}

		h1 span{
			font-size: 15px;
			color: #0066A5;
			letter-spacing: 0.1em;
			font-family: 'Roboto', sans-serif;
		}
	.openbtn{
		display: none;
	}
	#overlay{
		display: none;
	}
	#g-nav{
		width: 70%;
	}
	#g-nav .g-nav-in{
		display: flex;
		justify-content: flex-end;
	}
	#g-nav .g-nav-in ul{
		display: flex;
		flex-flow: wrap;
		align-items: center;
		margin-right: 24px;
		gap:4px;
	}
	#g-nav .g-nav-in ul li{
		font-size: 14px;
		list-style: none;
		border-right: 1px solid #D9D9D9;
	}
	#g-nav .g-nav-in ul li:last-child {
		border-right: none;
	}
	#g-nav .g-nav-in ul li a{
		padding: 0 18px;
	}
	#g-nav .g-nav-in ul li a:hover{opacity: 0.7;}
	.entry_btn{
		color: #FFFFFF;
		background-color: #ff7800;
		padding: 12px 24px;
		border-radius: 5px;
		font-size: 14px;
		display: flex;
		align-items: center;
		justify-content: center;
		height: auto;
		letter-spacing: 0.1em;
		white-space: nowrap;
		}

/*フッター*/
.footer .footer-in{
	background-color: #F9F9F9;
}
	.footer .footer-link{
		max-width: 240px;
		margin: 24px auto 72px;
	}
	.footer .footer-link:hover{opacity: 0.7;}
	.footer .footer-link a{
		text-align: center;
		width: 100%;
		height: auto;
		font-size: 16px;
		padding: 16px 24px;
		border-radius: 5px;
	}
.footer .footer-nav{
	display: flex;
	flex-flow: wrap;
	justify-content: center;
	padding: 32px 0 24px;
}
	.footer .footer-nav li{
		list-style: none;
		text-align: left;
		font-size: 14px;
		padding: 0 20px;
		border-right: 1px solid #D9E8F2;
	}
	.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: 24px;
	padding-bottom: 24px;
}
	.footer-linkbtn-list li {
		border: 1px solid #0066A5;
		display: inline-block;
		min-width: 200px;
		padding: 8px 8px 8px;
	}
	.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:hover{
		opacity: 0.7;
	}
	.footer-linkbtn-list li a::after {
		position: absolute;
		content: "";
		top: calc(50% - 4px);
		right: 16px;
		width: 8px;
		height: 8px;
		border: 1px solid;
		border-color: transparent transparent #24669F #24669F;
		transform: rotate(-135deg);
		transition: .3s;
	}
	.footer-linkbtn-list li a:hover::after{
		right: 8px;
	}
.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%;
	height: auto;
	min-height: 100vh;
	background-image: url("../image/top-bg.svg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: relative;
}
.intro-inner {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 56px;
}
.top_intro_shop {
	position: absolute;
	width: 70%;
	top: 80px;
	right: 0;
	z-index: 1;
}
.top_intro_staff {
	position: absolute;
	width: 35%;
	top: 65vh;
	right: 15%;
	z-index: 2;
}
.intro_title {
	font-family: "Lora", serif;
	color: #0066A5;
	font-size: 40px;
	font-weight: 500;
	padding-top: 15%;
	margin-left: 40px;
}

.intro-textbox {
	position: relative;
	z-index: 5;
	line-height: 1.5em;
	padding-bottom: 40px;
	margin: 64px auto 0px;
	}
	.intro-textbox h2{
		font-size: 24px;
		font-weight: 400;
		color: #FFFFFF;
	}
	.intro-textbox p{
		font-size: 14px;
		color: #FFFFFF;
		margin-top: 32px;
		line-height: 3.5em;
	}
	.line-anim {
	margin-top: 16px;
	width: 100%; 
	height: 8px;
	background: rgba(0, 102, 165, 0.3); 
	}

/*綿半ホームエイドとは*/
	.about-watahan{
		position: relative;
		padding-bottom: 64px;
	}
	.about-watahan-wrap{
		max-width: 1168px;
		margin: 68px auto;
	}
	.about-intro-block{
		padding-top: 68px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		position: relative;
	}
	.about-intro-title{
		margin-top: -40px;
		margin-left: 40px;
	}
	.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{
		width: 60%;
		margin-right: 40px;
	}
	.about_textblock{
		position: relative;
		margin-top: -40px; 
		margin-left: 40px;
		background-color: rgba(255,255,255,0.8);
		z-index: 2;
		padding: 64px 54px;
		display: inline-block;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	}
	.about_textblock .about_intro{
		font-size: 20px;
		margin-bottom: 24px;
		line-height: 1.7em;
	}
	.about_textblock .about_intro span{
		display: block;
		font-size: 14px;
	}
	.about_textblock > p{
		margin-top: 16px;
		font-size: 14px;
		line-height: 3em;	
	}
	ul.mission-vision{
		display: flex;
		justify-content: space-between;
		list-style: none;
		gap:40px;
	}
	ul.mission-vision li{
		background-color: #F0F9FF;
		width: calc((100% - 40px) / 2);
		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% - 24px) / 4);
	}
	.bg-blue{
		position: absolute;
		background-color: #D9E8F2;
		height: 176px;
		z-index: -1;
		bottom: 0;
		width: 100%;
	}
	.open-positions{
		max-width: 960px;
		margin: 68px auto 0px;
		padding-top: 68px;
	}
	ul.open-positions_list{
		display: flex;
		flex-flow: wrap;
		justify-content: space-between;
		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: calc((100% - 72px) / 3);
	}
		ul.open-positions_list > li img{
			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;
			min-width: 216px;
			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-top: 136px;
		background-color: #D9E8F2;
	}
	
	.working-view-wrap{
		max-width: 1280px;
		margin: 0 auto;
	}
	
	.working-view-list{
		display: flex;
		flex-flow: wrap;
		gap:24px;
		margin-top: 32px;
	}
	
	.working-view-list > li{
		width: calc((100% - 96px) / 5);
	}
	
	.benefit{
		background-image: url("../image/bg2.svg");
	}
	.benefit-wrap{
		max-width: 1168px;
		margin: 0px auto 0px;
		padding: 136px 0px 68px;
	}
	ul.benefit-lists{
		display: flex;
		flex-flow: wrap;
		list-style: none;
		gap:16px;
		margin-top: 40px;
	}
		ul.benefit-lists > li{
		display: flex;
		flex-flow: column;
		align-items: center;
		justify-content: center;
		border: 1px solid #dfecf1;
		background-color: #FFFFFF;
		padding: 32px 24px;
		width: calc((100% - 48px) / 4);
		}
	ul.benefit-lists > li div{
		font-size: 18px;
		margin-top: 16px;
	}
	ul.benefit-lists > li p{
		margin-top: 16px;
		font-size: 14px;
		line-height: 1.8em;
	}
	
	/*薬局紹介*/
	.our-store{
		max-width: 960px;
		margin: 0px auto 0px;
		padding-top: 68px;
	}
	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{
		font-size: 14px;
		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: 200px;
		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%;
		z-index: 2;
		cursor: pointer;
		display: flex;
		justify-content: center;
		align-items: center;
		transform: translateY(-50%);
	}
	.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: -20px; 
		}
		.slick-prev:before {
			transform: rotate(-135deg);
			margin-right: -4px;
		}
		.slick-next {
			right: -20px;

		}
		.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{
		max-width: 960px;
		margin: 68px auto 96px;
		padding-top: 68px;
	}
	.interview-attention{
		margin-top: 24px;
		color: #0066A5;
		text-align: center;
		font-size: 12px;
	}
	ul.interview-lists{
		display: flex;
		flex-flow: wrap;
		margin-top: 32px;
		list-style: none;
		gap:24px;
	}
	ul.interview-lists > li{
		cursor: pointer;
		width: calc((100% - 72px) / 3);
		border:1px solid #cdcdcd;
		padding: 24px;
		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: 24px;
		text-align: left;
	}
	.interview-name{
		font-size: 14px;
		margin-top: 16px;
		text-align: right;
	}
	.interview-name span{
		font-size: 18px;
		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: 80vw;
			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: 80vh; 
		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);
		}
		}/*keyframes*/

} /* PC共通終了 */

/*モニター769px～1279px*/
/* タブレット〜小さめPC */
@media (min-width: 769px) and (max-width: 1023px) {
	.header-inner{
		padding: 0 24px;
		min-width: 769px;
		max-width: 1023px;
		box-sizing: border-box;
	}
	h1 span {
		font-size: 12px;
	}
	#g-nav .g-nav-in ul {
		margin-right: 8px;
	}
	.intro-inner{
		padding: 0 40px;
	}
	.intro-textbox{
		padding-left: 40px;
	}
	.top_intro_staff{
		top: 50vh;
		right: 5%;
	}
	.intro_title{
		padding-top: 30%;
		margin-left: 0;
	}
	.about-intro-block figure{
		margin-right: 24px;
	}
	.about-intro-title {
	margin-top: -32px;
	margin-left: 32px;
	}
	.about-intro-title h2 {
	font-size: 20px;
	}
	.about_textblock{
		padding: 40px 32px;
		margin: 24px;
	}
	.about_textblock > p {
		line-height: 2.5em;
	}
	ul.mission-vision {
		margin: 56px 24px;
	}
	ul.about-gallery{
		margin: 0 24px;
	}
	ul.open-positions_list{
		margin: 40px 24px 0px;
	}
	ul.open-positions_list > li a {
		min-width: 165px;
	}
	ul.open-positions_list > li p {
		font-size: 16px;
	}
	.working-view-wrap{
		padding: 68px 24px 136px;
	}
	.working-view-list{
		gap: 16px;
	}
	.working-view-list > li {
		width: calc((100% - 64px) / 5);
	}
	ul.benefit-lists{
		margin: 40px 24px 0px; 
	}
	.our-store{
		padding: 68px 16px 0px;
	}
	ul.our-store_list li .shoplist_btn a{
		width: 160px;
	}
	ul.our-store_list .slick-slide{
		padding: 16px;
	}
	h1 span {
		font-size: 10px;
	}
	#g-nav .g-nav-in ul li a{
		padding: 0 8px;
	}
	#g-nav .g-nav-in ul{
		margin-right: 0;
	}
}
/* 標準PC */
@media (min-width: 1024px) and (max-width: 1200px) {
	.header-inner{
		padding: 0 40px;
		min-width: 1024px;
		max-width: 1279px;
		box-sizing: border-box;
	}
	h1 span{
		font-size: 12px;
	}
	.intro-inner{
		padding: 0 56px;
	}
	.intro-textbox{
		padding-left: 56px;
	}
	.top_intro_staff{
		top: 60vh;
		right: 10%;
	}
	.intro_title{
		padding-top: 20%;
		margin-left: 0;
	}
	ul.mission-vision{
	margin: 56px 40px;
	}
	ul.about-gallery{
		margin: 0 40px;
	}
	.open-positions{
		padding: 68px 8px;
	}
	.working-view-wrap{
		padding: 68px 40px 136px;
	}
	ul.benefit-lists{
		margin: 40px 40px;
	}
	#g-nav .g-nav-in ul li a {
	padding: 0 8px;
	}
}
/* 大きめPC */
@media (min-width: 1201px) {
	
	.header-inner{
		max-width: 1280px;
		padding: 0 56px;
	}
	.intro-textbox {
	max-width: 1080px;
	}
	ul.mission-vision{
	margin: 56px auto;
	}
	.working-view-wrap{
		padding: 68px 56px 136px;
	}
}