@charset "UTF-8";
/* facility.css */


/* ===== 追加の共通設定 ===== */
main h2 {
	margin-bottom: 2.2em;
}
h3 {
	margin-bottom: 50px;
	color: #009e96;
}
h4 {
	margin-bottom: 2em;
	color: #009e96;
}
main p {
	word-break: break-all;
}


/* ===== ファーストビュー テキスト 設定 ===== */
h1 .img_mask:before {
	background-image: url(../../img/facility/h1_facility_anim.svg);
}




/* ===== 施設紹介 ===== */
.intro_img .img_wrap {
	width:  100%;
	height: 100%;
	overflow: hidden;
	border-radius: 20px;
}
.intro_flex {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-start;
	flex-direction: column;
}
.intro_card {
	width: 100%;
	padding: 0 60px 60px;
	padding: 0 clamp(20px,4.5vw,60px) clamp(20px,4.5vw,60px);
	border-radius: 20px;
	background-color: #e0f3f2;
}
div + .intro_card {
	margin-top: clamp(45px,8vw,90px);
}



/* card title */
.intro_card h3 {
	width: fit-content;
	font-size: 24px;
	font-size: clamp(18px,2vw,24px);
	line-height: 1.3;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	margin: -1.35em auto clamp(30px,3vw,40px);
	padding: .35em 1.5em .35em .35em;
	color: #000;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 100px;
}
.intro_card h3 .num {
	width:  2em;
	height: 2em;
	min-width:  2em;
	min-height: 2em;
	line-height: 1;
	letter-spacing: 0;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	margin-right: .75em;
	color: #fff;
	background-color: #009e96;
	border-radius: 100px;
}

/* card内 flex */
.intro_mini_flex {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: space-between;
}

/* card 写真 */
.intro_card .img_wrap {
	width: calc(45% - 40px);
	width: calc(45% - clamp(30px,3vw,40px));
	border-radius: 10px;
	overflow: hidden;
}

/* card 文章 */
.intro_card .cont_wrap {
	width: 55%;
	padding: 20px;
	padding: clamp(25px,2.5vw,30px);
	align-self: stretch;
	background-color: #fff;
	border-radius: 10px;
}







@media screen and (max-width:768px) {
	main h2 {
		margin-bottom: 1.25em;
	}
	/* ===== 施設紹介 ===== */
	.intro_img .img_wrap {
		border-radius: 10px;
	}
	.intro_flex {
		max-width: 500px;
		margin-left:  auto;
		margin-right: auto;
	}
	.intro_card {
		width: 100%;
		margin-right: 0 !important;
		border-radius: 10px;
	}
	div + .intro_card {
		margin-top: 50px !important;
	}
	.intro_card h3 {
		font-size: 17px;
		margin-bottom: 30px;
	}
	.intro_card .img_wrap  {
		margin-bottom: 20px;
	}
	.intro_card .cont_wrap {
		border-radius: 10px;
	}

	/* card内 flex */
	.intro_card .intro_mini_flex {
		flex-wrap: wrap;
	}
	.intro_card .img_wrap,
	.intro_card .cont_wrap {
		width: 100%;
	}
	.intro_card .cont_wrap {
		padding: 20px;
	}


}