@charset "utf-8";

/*-----------------------------------------------------------------------------------*/
/*	トップページ用CSS
/*-----------------------------------------------------------------------------------*/


/* ------------------------------------
	MV
------------------------------------*/
.mv_slide_wrap {
	height: 600px;
	position: relative;
}
.mv_slide_wrap:before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(148, 169, 159, 0.8), transparent);
	z-index: 10;
}
.mv_slide_wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mv_slide_content {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	max-width: 1200px;
	color: #FFF;
	z-index: 20;
}
.mv_slide_title_main {
	margin-bottom: 20px;
	font-size: 60px;
	font-weight: 700;
	line-height: 1.3;
}
.mv_slide_title_sub {
	margin-bottom: 40px;
	font-size: 20px;
}

/* swiperのstyle上書き */
#mv_slide .swiper-pagination-bullet {
	background: #FFF;
	opacity: 1;
}
#mv_slide .swiper-pagination-bullet-active {
	width: 30px;
	background: #e18a1f;
	border-radius: 100vh;
}
#mv_slide .swiper-button-next,
#mv_slide .swiper-button-prev {
	background: #FFF;
	border-radius: 100vh;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
	width: 40px;
	height: 40px;
}
#mv_slide .swiper-button-next::after,
#mv_slide .swiper-button-prev::after {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 16px;
	color: #333;
}
#mv_slide .swiper-button-next::after {
	content: "\f054";
}
#mv_slide .swiper-button-prev::after {
	content: '\f053';
}

@media only screen and (max-width: 640px) {
.mv_slide_wrap {
height: 400px;
}
.mv_slide_content {
max-width: 78vw;
}
.mv_slide_title_main {
margin-bottom: 5%;
font-size: 7vw;
}
.mv_slide_title_sub {
margin-bottom: 10%;
font-size: 3.75vw;

}
#mv_slide .swiper-button-next,
#mv_slide .swiper-button-prev {
width: 6.25vw;
height: 6.25vw;
}
#mv_slide .swiper-button-next::after,
#mv_slide .swiper-button-prev::after {
font-size: 2.5vw;
}

}

/* ------------------------------------
	お知らせ
------------------------------------*/
/*
.block_top_news {
	padding: 40px 0;
}
*/
.block_top_news .wrapper {
	display: flex;
	gap: 120px;
}
.top_news_head .heading_01 {
	text-align: left;
	margin-bottom: 30px;
	font-size: 24px;
}
.top_news_head .heading_01:after {
	width: 96px;
	bottom: -10px;
	margin: 0;
}
.top_news_body {
	margin-left: auto;
	flex: 1;
}

.block_top_news .post_item {
	border: none;
	padding: 10px 0;
}

@media only screen and (max-width: 640px) {
	.block_top_news .wrapper {
	display: block;
	}
	.top_news_head {
	text-align: center;
	}
	.top_news_head .heading_01 {
	text-align: center;
	font-size: 6.25vw;
	}
	.top_news_head .heading_01:after {
	width: 10vw;
	bottom: -3.75vw;
	margin: 0 auto;
	}
	.block_top_news .post_item {
	padding: 4% 0;
	}
}


/* ------------------------------------
	院長ごあいさつ
------------------------------------*/
.top_message_box {
	display: flex;
	/*flex-direction: row-reverse;*/
	gap: 40px;
}
.top_message_thm {
	width: 28%;
}
.top_message_thm img {
	border-radius: 20px;
}
.top_message_body {
	flex: 1;
}
.top_message_catch {
	margin-bottom: 20px;
	font-size: 28px;
	line-height: 1.8;
}
.top_message_body > p {
	font-size: 18px;
	line-height: 1.8;
}

@media only screen and (max-width: 640px) {
	.top_message_box {
	flex-direction: column;
	gap: 5vw;
	}
	.top_message_thm {
	width: 70%;
	margin: 0 auto;
	}
	.top_message_body {
	font-size: 4.375vw;
	}
	.top_message_catch {
	margin-bottom: 5%;
	font-size: 5.625vw;
	}

}

/* ------------------------------------
	当院の特徴
------------------------------------*/
.top_feature_list {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
.top_feature_item {
	width: calc((100% - 60px) / 3);
}
.top_feature_item a {
	border: 1px solid #ccc;
	background: #FFF;
	border-radius: 12px;
	display: block;
	color: inherit;
	overflow: hidden;
	transition: all 150ms;
}
.top_feature_item a:hover {
	border: 1px solid #e18a1f;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.top_feature_thm {
	height: 12rem;
}
.top_feature_thm img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.top_feature_body {
	padding: 25px;
}
.top_feature_title {
	margin-bottom: 5px;
	font-size: 20px;
}
.top_feature_text {
	margin-bottom: 10px;
	color: #6c6c6c;
}
.top_feature_more {
	font-size: 12px;
	color: #e18a1f;
}


@media only screen and (max-width: 640px) {
	.top_feature_list {
	flex-direction: column;
	gap: 5vw;
	}
	.top_feature_item {
	width: 100%;
	}
	.top_feature_body {
	padding: 5%;
	}
	.top_feature_title {
	margin-bottom: 2%;
	font-size: 5vw;
	}
	.top_feature_text {
	margin-bottom: 3%;
	}
	.top_feature_more {
	font-size: 3.125vw;
	}


}

/* ------------------------------------
	診療内容
------------------------------------*/
.medical_list {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
.medical_item {
	width: calc((100% - 90px) / 4);
}
.medical_item a {
	border: 1px solid #ccc;
	background: #FFF;
	border-radius: 12px;
	display: block;
	padding: 30px;
	text-align: center;
	color: inherit;
	transition: all 150ms;
}
.medical_item a:hover {
	border: 1px solid #e18a1f;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.medical_thm {
	height: 3rem;
	margin-bottom: 15px;
}
.medical_icon {
	width: 48px !important;
	height: 48px !important;
	color: #e18a1f;
	stroke: currentColor;
}
.medical_body { }
.medical_title {
	margin-bottom: 5px;
	font-size: 20px;
}
.medical_more {
	font-size: 12px;
	color: #e18a1f;
}

@media only screen and (max-width: 640px) {
	.medical_list {
	gap: 5vw;
	}
	.medical_item {
	width: calc((100% - 5vw) / 2);
	}
	.medical_item a {
	padding: 10% 5%;
	}
	.medical_thm {
	height: 8.75vw;
	margin-bottom: 5%;
	}
	.medical_icon {
	width: 8.75vw !important;
	height: 8.75vw !important;
	}
	.medical_title {
	margin-bottom: 2%;
	font-size: 5vw;
	}
	.medical_more {
	font-size: 3.125vw;
	}


}





/* ------------------------------------
	私たちについて
------------------------------------*/
.top_about {
	display: flex;
	justify-content: center;
	gap: 10px;
}
.top_about_body {
	width: 574px;
}
.top_about_thm {
	margin-top: 120px;
}
.top_about_list {
	background: #F9F9F9;
	border-radius: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	padding: 30px;
}
.top_about_item {
	width: calc((100% - 24px) / 2);
}
.top_about_item a {
	background: #FFF;
	border-radius: 100vh;
	padding: 10px 15px;
	display: block;
	color: inherit;
	position: relative;
}
.top_about_item .arw_grd {
	position: absolute;
	top: 50%;
	right: 25px;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
}
.top_about_item .arw_grd::after {
	font-size: 10px;
}
.top_about_item a:hover {
	background: #22AAE0;
	color: #FFF;
}
.top_about_item a:hover .arw_grd::before {
	border: 1px solid #FFF;
}
.top_about_item a:hover .arw_grd::after {
	color: #FFF;
}

/*
@media only screen and (max-width: 640px) {
	.top_about {
	display: block;
	}
	.top_about_body {
	width: 92%;
	margin: 0 auto;
	}
	.top_about_thm {
	width: 90%;
	margin: 10% auto 0 auto;
	}
	.top_about_list {
	flex-direction: column;
	gap: 4.1vw;
	padding: 8%;
	}
	.top_about_item {
	width: 100%;
	}
	.top_about_item a {
	padding: 3% 20% 3% 15%;
	}
	.top_about_item .arw_grd {
	right: 13%;
	width: 5.13vw;
	height: 5.13vw;
	}
	.top_about_item .arw_grd::after {
	font-size: 2.56vw;
	}
	
}*/







/* ------------------------------------
	アイベックのここが好き！
------------------------------------*/
.top_point_list {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 16px;
}
.top_point_item {
	width: calc((100% - 16px) / 2);
	counter-increment: mycounter;
}
.top_point_item a {
	background: #FFF;
	display: flex;
	height: 100%;
	color: inherit;
	position: relative;
}
.top_point_thm {
	background: linear-gradient(135deg, #22AAE0, #FFF068);
	width: 280px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.top_point_thm:before {
	content: counter(mycounter, decimal-leading-zero);
	position: absolute;
	top: 15px;
	right: 15px;
	font-family:'DIN Alternate Bold';
	font-size: 48px;
	font-weight: 700;
	color: #FFF;
}
.top_point_icon img {
	width: 220px;
}
.top_point_body {
	flex: 1;
	padding: 25px 20px;
}
.top_point_ask {
	margin-bottom: 15px;
	font-size: 12px;
	font-weight: 700;
	color: #22AAE0;
}
.top_point_title {
	margin-bottom: 15px;
	font-size: 24px;
}
.top_point_text {
	margin-bottom: 15px;
}
.top_point_more {
	display: inline-block;
	font-weight: 700;
	color: #2E4967;
	text-decoration: underline;
}
.top_point_item a:hover .top_point_more {
	background: #22AAE0;
	color: #FFF;
}

@media only screen and (max-width: 640px) {
	.top_point_list {
	flex-direction: column;
	gap: 6.15vw;
	}
	.top_point_item {
	width: 100%;
	}
	.top_point_item a {
	flex-direction: column;
	}
	.top_point_thm {
	width: 100%;
	padding: 5% 0;
	}
	.top_point_thm:before {
	top: 5%;
	right: 5%;
	font-size: 12.3vw;
	}
	.top_point_icon {
	text-align: center;
	}
	.top_point_icon img {
	width: 40%;
	}
	.top_point_body {
	padding: 4%;
	}
	.top_point_ask {
	margin-bottom: 3%;
	font-size: 3.08vw;
	}
	.top_point_title {
	margin-bottom: 3%;
	font-size: 5.13vw;
	}
	.top_point_text {
	margin-bottom: 3%;
	}
	.top_point_more {
	text-align: right;
	display: block;
	}
	.top_point_item a:hover .top_point_more {
	background: none;
	color: #2E4967;
	}
	
}


