@charset "UTF-8";

html {
	overflow: initial;
}

body {
	opacity: 0;
	animation: bodyAppear .3s .3s forwards;
	overflow: auto;
}

@keyframes bodyAppear {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

.sub-main p a,
.sub-main li a,
.sub-main .c-btn
{
	color: #3286a7;
	transition: 0.3s;
	text-decoration: underline;
}
.sub-main p a:hover,
.sub-main li a:hover,
.sub-main .c-btn:hover
{
	text-decoration: none;
}
/*============================
	sub-page 共通
============================*/

.sub-body {
	background-image: url(../img/cmn/sub-bg.png);
	background-repeat: no-repeat;
	background-size: cover;
}

/* sub-kv */
.sub-kv__img {
	& img {
		object-fit: cover;
		width: 100%;
		/* height: 410px; */
		height: 250px;
		border-radius: 15px;
	}
}

.sub-kv__copy {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	.txt {
		display: block;
		width: fit-content;
		padding: 0 1em;
		white-space: nowrap;
		font-size: 4.3rem;
		text-align: center;
		background: rgba(255, 255, 255, .7);
		border-radius: 10px;
		font-weight: 400;
		letter-spacing: .1em;
	}
}

/* aside */
.sub-container {
	/* max-width: 1280px; */
	max-width: calc(1100px + 2%);
	margin: 0 auto;
	/* padding: 100px 0; */
	padding: 48px 35px 64px;
	align-items: flex-start;
}

.sub-aside {
	width: 25%;
	padding: 0 1%;
	position: sticky;
	left: 0;
	top: 160px;
}

.sub-main {
	width: 100%;
	/* padding: 0 1%; */
	/* padding: 0 3%; */
	padding: 0;
}

.flex .sub-main {
	width: 75%;
}

.aside__nav {
	& li {
		& a {
			display: flex;
			align-items: center;
			padding: .8em 0;
			border-bottom: solid 1.5px #e1f1f5;
			max-width: 216px;

			& i {
				color: #36bcdf;
				margin-right: .75em;
				white-space: nowrap;
				font-size: 1.2rem;
			}
		}
	}
}

/* sub-contents */
.sub-contents {
	padding: 60px 0 0;

	&:first-child {
		padding: 0;
	}
}

.sub-box {
	/* padding: 60px 5% 60px 80px; */
	padding: 48px 5% 48px 80px;
	background: #fff;
	box-shadow: 0 0 20px rgba(199, 217, 225, .16);
	border-radius: 30px;
}
.sub-box:not( :has(.num) )
{
	padding: 48px 5% 48px 5%;
}
.sub-box:not( :has(.num) ) .sub-ttl
{
	color: #3286a7;
}

.sub--box--inner {
	max-width: 730px;
	margin: 0 auto;
}

.sub-ttl {
	font-weight: bold;

	.num {
		position: absolute;
		width: 48px;
		height: 48px;
		border-radius: 50%;
		line-height: 1;
		letter-spacing: 0;
		background: #3286a7;
		color: #fff;
		text-align: center;
		display: flex;
		align-items: center;
		justify-content: center;
		left: -60px;
		top: 50%;
		transform: translate(0, -50%);
	}
	.mark {
		position: absolute;
		z-index: 1;
		width: 48px;
		height: 48px;
		border-radius: 50%;
		line-height: 1;
		letter-spacing: 0;
		background: #3286a7;
		display: flex;
		align-items: center;
		justify-content: center;
		left: -60px;
		top: 50%;
		transform: translate(0, -50%);
	}
	.mark::after {
		content:"";
		position: absolute;
		left: 6px;
		top: 6px;
		z-index: 10;
		display: block;
		width: 35px;
		height: 35px;
		line-height: 1;
		letter-spacing: 0;
		background: #fff;
		mask-image: url(/images/site/logo_icon.svg);
		mask-position: center;
		mask-repeat: no-repeat;
		mask-size: contain;
	}
}

.sub-h4 {
	padding-left: .75em;
	position: relative;

	&::before {
		content: "";
		position: absolute;
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: #3286a7;
		left: 0;
		top: .8em;
		transform: translate(0, -50%);
	}

	& a {
		color: #3286a7;
		text-decoration: underline;
	}
}

/* btnwrap */
.sub-btnwrap .sub-btn {
	margin: .5em 1em .5em 0;
}
.sub-btnwrap .sub-btn span
{
	line-height: 1.3;
	text-align: center;
	font-weight: bold;
}

.bd-txt {
	position: relative;

	&::before {
		content: "";
		position: absolute;
		width: 100%;
		height: 1px;
		background: #dddddd;
		left: 0;
		top: 50%;
		transform: translate(0, -50%);
	}

	.txt {
		width: fit-content;
		margin: 0 auto;
		display: block;
		padding: 0 1em;
		background: #fff;
		position: relative;
	}
}

@media screen and (max-width:1024px) {

	/* sub-kv */
	.kv.sub-kv {
		margin-top: 62px;
	}

	.sub-kv__img {
		& img {
			height: 260px;
		}
	}

	.sub-kv__copy {
		top: 50%;
		left: 50%;

		.txt {
			font-size: 3rem;
			border-radius: 10px;
		}
	}

	/* aside */
	.sub-container {
		padding: 32px 0;
	}

	.sub-aside {
		width: 25%;
		padding: 0 1% 0 3%;
		top: 80px;
	}

	.sub-main {
		width: 100%;
		padding: 0 3% 0 3%;
	}

	.flex .sub-main {
		width: 75%;
		padding: 0 3% 0 1%;
	}
	@media screen and (max-width: 768px)
	{
		.flex .sub-main {
			width: 100%;
			padding: 0 3% 0 3%;
		}
	}
	.aside__nav {
		& li {
			& a {
				padding: .5em 0;
				border-bottom: solid 1.5px #e1f1f5;
				font-weight: bold;
				font-size: 1.4rem;

				& i {
					margin-right: .75em;
					font-size: 1rem;
				}
			}
		}
	}

	/* sub-contents */
	.sub-contents {
		padding: 40px 0 0;
	}

	.sub-box {
		padding: 40px 5% 40px 60px;
		border-radius: 20px;
	}


	.sub-ttl {
		.num {
			width: 40px;
			height: 40px;
			left: -50px;
		}
	}

	.sub-h4 {
		padding-left: .75em;

		&::before {
			width: 6px;
			height: 6px;
			left: 0;
			top: .8em;
		}
	}


}


@media screen and (max-width:767px) {

	/* sub-kv */
	.kv.sub-kv {
		margin-top: 52px;
	}

	.sub-kv__img {
		& img {
			height: 150px;
		}
	}

	.sub-kv__copy {
		top: 50%;
		left: 50%;

		.txt {
			font-size: 2.5rem;
			border-radius: 10px;
		}
	}

	/* aside */
	.sub-container {
		padding: 24px 0 60px;
	}

	.sub-aside {
		width: 100%;
		position: fixed;
		padding: 0 5%;
		bottom: 0;
		left: 0;
		top: auto;
		height: 50px;
		display: flex;
		align-items: center;
		background: #fff;
		z-index: 99;
		overflow-x: hidden;
	}

	.sub-main {
		width: 100%;
		padding: 0px 3% 0;
	}

	.aside__nav {
		overflow-x: auto;
		display: flex;
		justify-content: space-between;
		align-items: center;

		& li {
			width: fit-content;
			line-height: 1.2;
			font-size: 1rem;
			white-space: nowrap;
			margin-right: 1em;

			ma & a {
				padding: .5em 0;

				& i {
					margin-right: .75em;
					font-size: 1rem;
				}
			}
		}
	}

	/* sub-contents */
	.sub-contents {
		padding: 30px 0 0;
	}

	.sub-box {
		padding: 30px 5%;
		border-radius: 15px;
	}
	.sub-box:not( :has(.num) ) {
		padding: 30px 5% 30px 5%;
	}

	.sub-ttl {
		width: 100%;
		/* padding-left: 40px; */
		white-space: unset;
		line-height: 1.3;

		.num {
			width: 30px;
			height: 30px;
			left: 0;
		}
		.mark {
			width: 28px;
			height: 28px;
			left: 0;
		}
	}

	.sub-ttl.section__ttl {
		padding-left: 40px;
	}
	.sub-box:not( :has(.num) ) .sub-ttl
	{
		padding-left: 0px;
	}

	.sub-h4 {
		padding-left: .75em;

		&::before {
			width: 6px;
			height: 6px;
			left: 0;
			top: .8em;
		}
	}

}


/*============================
  guide-page
============================*/
/* flow */
.flow__item {
	width: 30%;
	background: #daf5fd;
	border-radius: 10px;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: nowrap;

	& p {
		line-height: 1.4;
	}

	.flex {
		margin-top: .5em;

		& span {
			padding: 0 .5em;
			border: solid 1px #3286a7;
			border-radius: 7px;
			margin: 0 .2em;
		}
	}
}

.flow__arw {
	margin: 0 1%;
}


/* pay */
.pay__item01 {
	width: fit-content;
	margin: 0 auto;
	display: block;
}

.pay__flex-item {
	width: 50%;
	border-right: solid 1px #ddd;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 5%;

	&:last-child {
		border: none;
	}
}

.pay__item02,
.pay__item03 {
	display: block;
	width: fit-content;
	margin: 0 auto;
}


@media screen and (max-width:1024px) {

	/* flow */
	.flow__item {
		width: 30%;
		border-radius: 10px;
		height: 100px;
		font-size: 1.1rem;
		letter-spacing: 0;

		.flex {
			margin-top: .5em;

			& span {
				padding: 0 .5em;
				border-radius: 4px;
				margin: 0 .2em;
			}
		}
	}

	.flow__arw {
		margin: 0 1%;
		max-width: 8px;
	}

	/* pay */
	.pay__item01 {
		margin: 0 auto;
	}

	.pay__flex-item {
		width: 50%;
		padding: 10px 5%;
	}

	.pay__item02,
	.pay__item03 {
		margin: 0 auto;
	}

}

@media screen and (max-width:767px) {

	/* flow */
	.flow__item {
		width: 100%;
		border-radius: 10px;
		height: 100px;
		font-size: 1.4rem;

		.fs-20 {
			font-size: 2rem;
		}
	}

	.flow__arw {
		margin: 5px auto;
		display: block;
		max-width: 10px;
		transform: rotate(90deg);
	}

	/* pay */

	.pay__flex-item {
		width: 100%;
		padding: 10px 0 20px;
		border: none;
		border-bottom: solid 1px #eee;
	}

	.pay__item02,
	.pay__item03 {
		margin: 0 auto;
	}
}


/*============================
	診療所について
============================*/
/* 私たちの思い */
.vision_title
{
	width:100%;
	height:650px;
	background-image: url(/images/site/vision_title_bg.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	position: relative;
	display: grid;
	place-content: center;
	margin-bottom:40px;
}
.vision_title h3
{
	display: block;
	width: fit-content;
	padding:24px 32px;
    font-weight: 700;
	background-color: #fff9eb;
	text-align: center;
	color: #333;
	font-size: 3rem;
}
.vision_title h3 span
{
	font-weight: 700;
}
.vision_title h3 .rd
{
	color: #F172A3;
}
.vision_title h3 .gr
{
	color: #1CD0B0;
}
.vision_text
{
	margin-bottom:64px;
	text-align: center;
}
.vision_text p
{
	font-size:2rem;
	line-height: 2.5;
	margin-bottom:24px;
	font-weight: 500;
}

@media screen and (max-width: 768px)
{
	.vision_title
	{
		height:fit-content;
		margin-bottom:20px;
	}
	.vision_title h3
	{
		display: block;
		width: fit-content;
		padding:16px 24px;
		font-weight: 700;
		background-color: #fff9eb;
		text-align: center;
		color: #333;
		font-size: 2rem;
	}
	.vision_text p
	{
		font-size:1.5rem;
		line-height: 1.8;
		margin-bottom:24px;
		font-weight: 500;
	}
}

.p-index_philosophy_list {
	display: flex;
}
.p-index_philosophy_list li {
	width: calc(100% /3);
}
.p-index_philosophy_list_img {
	width: 239px;
	margin: 0 auto 20px;
}
.p-index_philosophy_list_wrap .c-txt_center {
	padding: 0 30px;
}


.p-index_philosophy {
	padding: 25px 0 95px;
}
.p-index_philosophy_head {
	margin-bottom: 60px;
	text-align: center;
}
.p-index_philosophy_ttl {
	display: inline-block;
	position: relative;
	z-index: 0;
	padding: 0 90px;
}
.p-index_philosophy_ttl::before,
.p-index_philosophy_ttl::after {
	position: absolute;
	z-index: 0;
	bottom: 0;
	width: 70px;
	height: 70px;
	background-size: contain;
	background-position: left top;
	background-repeat: no-repeat;
	content: "";
}
.p-index_philosophy_ttl::before {
	left: 0;
	background-image: url(../images/ico_motivation.svg);
}
.p-index_philosophy_ttl::after {
	right: 0;
	background-image: url(../images/index/ico_philosophy.svg);
}
.p-index_philosophy_ttl span {
	display: block;
	font-weight: 700;
}
.p-index_philosophy_ttl_sub {
	margin-bottom: 15px;
	color: #1bb5e8;
}
.p-index_philosophy_list_ttl {
	line-height: 1.5;
	margin-bottom: 20px;
	color: #3286a7;
	font-weight: 700;
	font-size:2rem;
	text-align: center;
	font-feature-settings: "palt";
}
.p-index_philosophy_list_ttl span {
	font-weight: 700;
	color: #f55262;
}
.p-index_philosophy_list_wrap .c-txt_center {
	color: #58646f;
}
@media screen and (max-width: 768px)
{
	.p-index_philosophy_list {
		flex-direction: column;
	}
	.p-index_philosophy_list li {
		width: 100%;
		margin-bottom: 30px;
	}
	.p-index_philosophy_list_img {
		width: 60%;
		margin: 0 auto 20px;
	}
	.p-index_philosophy_list_ttl br
	{
		display: none;
	}
	.p-index_philosophy_list_wrap .c-txt_center
	{
		padding: 0 0px;
	}

}

/* 院長挨拶 */
.greeting_title
{
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	gap:20px 40px;
	padding:48px 48px;
	background-color: #ecfdf9;
	margin-bottom:48px;
}
.greeting_title .photo
{
	width:40%;
	height:100%;
}
.greeting_title .photo img
{
	width: 100%;
	height:100%;
	object-fit: cover;
	border-radius: 15px;
}
.greeting_title .message
{
	width: 60%;
	font-size:3.5rem;
	text-align: center;
	font-family: "Yuji Syuku", serif;
	font-weight: 400;
	color:#000;
}
.greeting_title .message figure
{
	padding:40px;

}
/* .greeting_title .message span
{
	width: 100%;
	display: block;
	margin-bottom: 1em;
}
.greeting_title .message span:first-of-type
{
	text-align: left;
}
.greeting_title .message span:last-of-type
{
	text-align: right;
}
.greeting_title .message .director_name
{
	font-size:2.5rem;
} */
@media screen and (max-width: 768px)
{
	.greeting_title
	{
		flex-direction: column;
		gap:20px 40px;
		padding:24px 24px;
		margin-bottom:32px;
	}
	.greeting_title .photo
	{
		width:100%;
	}
	.greeting_title .message
	{
		width: 100%;
		/* font-size:1.9rem; */
	}
	.greeting_title .message figure
	{
		padding:0 40px;

	}
	/* .greeting_title .message span
	{
		white-space: nowrap;
		margin-bottom: 0.5em;
	}
	.greeting_title .message .director_name
	{
		font-size:2rem;
	} */
}
.director_text
{
	margin-bottom:64px;
	text-align: center;
}
.director_text p
{
	font-size:2rem;
	line-height: 1.8;
	margin-bottom:32px;
	font-weight: 400;
}
.director_text p strong
{
	font-weight: 700;
}

.career_wrap
{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	background-color: #ecfdf9;
	padding:48px 64px;
}
.career_wrap h4
{
	margin-bottom:0.5em;
	font-size:2.3rem;
	font-weight: 500;
	color:#3286a7;
}
.career_wrap ul
{
	list-style-type:none;
	margin-left:1em;
}
.career_wrap ul li
{
	margin-bottom:0.5em;
}
.career_wrap ul li::marker
{
	content:"- ";
	font-weight: 700;
	color:#3286a7;
}
.career_wrap ul li dt
{
	color:#3286a7;
}
.career_wrap .career
{
	grid-column: span 1;
	grid-row: span 2;
}
.career_wrap .affiliation
{
	grid-column: span 1;
	grid-row: span 1;
}
.career_wrap .qualifications
{
	grid-column: span 1;
	grid-row: span 1;
}
@media screen and (max-width: 768px)
{
	.director_text
	{
		margin-bottom:48px;
		text-align: left;
	}
	.director_text p
	{
		font-size:1.4rem;
		line-height: 1.5;
		margin-bottom:24px;
	}
	.director_text p.signature
	{
		text-align: right;
	}
	.career_wrap
	{
		grid-template-columns: 1fr;
		gap:32px;
		padding:24px 24px;
	}
	.career_wrap h4
	{
		font-size:1.6rem;
	}
	.career_wrap ul li
	{
		margin-bottom:0.3em;
	}
}


/*============================
	特殊外来 共通
============================*/

/* 縦フロー */
.specialty-flow {
	/* max-width: 560px; */
	/* margin-bottom: 30px; */
}

.specialty-flow__item {
	display: flex;
	align-items: flex-start;
	background: #daf5fd;
	border-radius: 10px;
	padding: 12px 16px;
}

.specialty-flow__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-width: 36px;
	background: #fff;
	color: #3286a7;
	border-radius: 50%;
	font-weight: bold;
	font-size:2rem;
	margin-right: 14px;
	margin-top: 2px;
}

.specialty-flow__body {
	padding-top: 4px;
}

.specialty-flow__ttl {
	font-weight: bold;
	line-height: 1.5;
	margin-bottom: 4px;
}

.specialty-flow__desc {
	color: #444;
	line-height: 1.6;
}

.specialty-flow__note {
	font-size: 0.85em;
	color: #555;
}

.specialty-flow__arw {
	text-align: center;
	color: #3286a7;
	font-size: 1.8rem;
	line-height: 1.4;
}

/* Q&A */
.qa-item {
	margin-bottom: 16px;
}
.qa-item.mb-30
{
	margin-bottom: 30px;
}

.qa-item__q {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 8px;
}

.qa-item__a {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.qa-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	border-radius: 50%;
	font-weight: bold;
	font-size: 1.8rem;
}
@media screen and (max-width: 768px)
{
	.qa-badge {
		font-size: 1.6rem;
	}
}

.qa-badge--q {
	background: #daf5fd;
	color: #3286a7;
}

.qa-badge--a {
	background: #e8f5e9;
	color: #388e3c;
}

.qa-item__q-text {
	/* font-size: 1.6rem; */
	font-weight: bold;
	line-height: 1.6;
	padding-top: 4px;
}

.qa-item__a-text {
	/* font-size: 1.6rem; */
	line-height: 1.7;
	padding-top: 4px;
}

.qa-divider {
	border: none;
	border-top: 1px solid #e0e0e0;
	margin-bottom: 16px;
}

/* 症状チェックリスト */
.symptoms-check {
	list-style-type: none;
	padding-left: 0;
}

.symptoms-check li {
	padding: 6px 0;
	border-bottom: 1px solid #eee;
}

.symptoms-check li:last-child {
	border-bottom: none;
}

/* 自費検査テーブル モバイル用ラベル上書き */
@media screen and (max-width:767px) {
	#private_treatment .vaccination td:nth-child(2)::before { content: "価格（税込）"; }
	#private_treatment .vaccination td:nth-child(3):not(:empty)::before { content: "説明"; }
	#private_treatment .vaccination td:nth-child(3):empty::before { content: none; }
	#private_treatment .vaccination td:nth-child(4)::before { content: "事前予約制"; }
}

/* 特殊外来テーブル */
.specialty-tbl {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
}

.specialty-tbl thead tr {
	background-color: #e8f5e9;
}

.specialty-tbl th {
	border: 1px solid #ccc;
	padding: 10px 14px;
	text-align: center;
	white-space: nowrap;
}

.specialty-tbl td {
	line-height: 1.6;
	border: 1px solid #ccc;
	padding: 10px 14px;
}

.specialty-tbl tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}

.specialty-tbl__head {
	text-align: center;
	white-space: nowrap;
	font-weight: bold;
}
.specialty-tbl.health_check .specialty-tbl__head {
	white-space: normal;
}
.specialty-tbl.health_check .specialty-tbl__head span {
	font-size: 0.8em;
	display: block;
}