@charset "UTF-8";
/* =========================================================
   下層ページ（診療ページテンプレート）
   PC：1rem = デザイン10px（main.css と同じ基準）
   ========================================================= */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------- ページ見出し ---------- */
.subhero {
	position: relative;
	height: 44rem;
	overflow: hidden;
	background: var(--beige);
}
.subhero__photo img {
	position: absolute;
	top: 0;
	right: 0;
	width: calc(78rem + var(--gx));
	height: 100%;
	object-fit: cover;
	object-position: left 40%;
}
.subhero__inner {
	position: absolute;
	left: calc(16rem + var(--gx));
	top: 50%;
	z-index: 1;
	transform: translateY(-50%);
}
.subhero__en {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	color: var(--gold-text);
	font-family: var(--en);
	font-size: 2rem;
	line-height: 1;
	letter-spacing: .2em;
}
.subhero__en::before {
	content: "";
	width: 4rem;
	height: 1px;
	background: currentColor;
}
.subhero__ttl {
	margin-top: 2.8rem;
	font-weight: 500;
	font-size: 5.6rem;
	line-height: 1.3;
	letter-spacing: .12em;
	color: var(--txt);
	word-break: auto-phrase;
}
.subhero__logo {
	position: absolute;
	left: calc(2rem + var(--gx));
	bottom: -6rem;
	width: 20rem;
	opacity: .12;
	pointer-events: none;
}

/* ---------- パンくず ---------- */
.crumb { width: 128rem; margin: 0 auto; padding: 2rem 0; }
.crumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem 1.2rem;
	font-size: 1.3rem;
	line-height: 1.6;
	color: var(--sub-text);
}
.crumb__list li { display: flex; align-items: center; gap: 1.2rem; }
.crumb__list li + li::before {
	content: "";
	width: .6rem;
	height: .6rem;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
}
.crumb__list a { text-decoration: underline; text-underline-offset: .3em; text-decoration-color: rgba(89, 90, 94, .3); }
.crumb__list a:hover { color: var(--g-text); }

/* ---------- 2カラム ---------- */
.tr {
	display: grid;
	grid-template-columns: 26rem minmax(0, 1fr);
	gap: 8rem;
	width: 128rem;
	margin: 4rem auto 14rem;
}
.tr__side {
	position: sticky;
	top: calc(var(--hdr) + 3rem);
	align-self: start;
}

/* 目次 */
.toc { background: var(--beige); }
.toc__head {
	display: flex;
	align-items: baseline;
	gap: 1.2rem;
	padding: 2.8rem 2.8rem 2rem;
	list-style: none;
	cursor: default;
}
.toc__head::-webkit-details-marker { display: none; }
.toc__en { font-family: var(--en); font-size: 2.4rem; line-height: 1; letter-spacing: .1em; color: var(--g-text); }
.toc__ja { font-size: 1.3rem; line-height: 1; }
.toc__icon { display: none; }
.toc__list { padding: 0 2.8rem 2.4rem; counter-reset: none; }
.toc__list li + li { border-top: 1px solid rgba(89, 90, 94, .15); }
.toc__list a {
	position: relative;
	display: flex;
	gap: 1.2rem;
	padding: 1.3rem 0;
	font-size: 1.4rem;
	line-height: 1.6;
	letter-spacing: .06em;
	transition: color .3s;
}
.toc__num {
	flex: none;
	width: 2.4rem;
	padding-top: .1rem;
	font-family: var(--en);
	font-style: italic;
	font-size: 1.6rem;
	line-height: 1.4;
	letter-spacing: 0;
	color: var(--gold-text);
}
.toc__list a::before {
	content: "";
	position: absolute;
	left: -2.8rem;
	top: 1.2rem;
	bottom: 1.2rem;
	width: 3px;
	background: var(--g-bg);
	transform: scaleY(0);
	transition: transform .4s var(--ease-out, ease);
}
.toc__list a:hover,
.toc__list a.is-current { color: var(--g-text); }
.toc__list a.is-current::before { transform: scaleY(1); }
.toc__list a.is-current .toc__num { color: var(--g-text); }

/* サイドの予約 */
.side-rsv { margin-top: 2rem; }
.side-rsv__ttl { margin-bottom: 1.2rem; font-size: 1.4rem; line-height: 1; text-align: center; }
.side-rsv__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	height: 5.4rem;
	color: #fff;
	font-family: var(--old);
	font-size: 1.6rem;
	letter-spacing: .1em;
	transition: background-color .3s;
}
.side-rsv__btn + .side-rsv__btn { margin-top: .8rem; }
.side-rsv__btn--tel { background: var(--gold-bg); }
.side-rsv__btn--tel:hover { background: #735839; }
.side-rsv__btn--web { background: var(--g-bg); }
.side-rsv__btn--web:hover { background: #435e57; }
.side-rsv__ic svg { width: 1.8rem; height: 1.8rem; }

/* ---------- 本文 ---------- */
.entry { min-width: 0; font-size: 1.7rem; line-height: 2.1; letter-spacing: .06em; }
.entry p + p { margin-top: 1.4em; }
.entry a:not([class]) {
	color: var(--g-text);
	text-decoration: underline;
	text-underline-offset: .3em;
	text-decoration-color: rgba(108, 150, 138, .4);
	transition: text-decoration-color .3s;
}
.entry a:not([class]):hover { text-decoration-color: var(--g-text); }

.tr-intro {
	position: relative;
	padding: 4.4rem 5rem;
	background: linear-gradient(135deg, #fff 0%, #fbf8f3 100%);
	border: 1px solid var(--line);
	font-size: 1.8rem;
	line-height: 2.2;
}
.tr-intro::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 4.4rem;
	width: 3px;
	height: 6rem;
	background: var(--gold-bg);
}

/* 見出し */
.h2 {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
	margin: 10rem 0 4rem;
	padding-bottom: 2.4rem;
	border-bottom: 1px solid var(--line);
	font-weight: 500;
	scroll-margin-top: calc(var(--hdr) + 2rem);
}
.h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 8rem;
	height: 2px;
	background: var(--g-bg);
}
.h2__en { font-family: var(--en); font-size: 1.6rem; line-height: 1; letter-spacing: .24em; color: var(--gold-text); }
.h2__ja { font-size: 3.4rem; line-height: 1.5; letter-spacing: .1em; color: var(--txt); word-break: auto-phrase; }

/* 特徴 */
.tr-points { display: grid; gap: 3rem; counter-reset: point; }
.tr-point {
	position: relative;
	padding: 4.8rem 5rem;
	background: var(--beige);
	counter-increment: point;
}
.tr-point h3 {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	margin-bottom: 2.4rem;
	color: var(--g-text);
	font-weight: 700;
	font-size: 2.4rem;
	line-height: 1.6;
	letter-spacing: .08em;
	word-break: auto-phrase;
}
.tr-point h3::before {
	content: "POINT " counter(point, decimal-leading-zero);
	font-family: var(--en);
	font-style: italic;
	font-weight: 400;
	font-size: 1.8rem;
	line-height: 1;
	letter-spacing: .1em;
	color: var(--gold-text);
}
.tr-point--media {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 36rem;
	grid-template-areas: "h h" "b f";
	column-gap: 4rem;
}
.tr-point--media h3 { grid-area: h; }
.tr-point--media .tr-point__body { grid-area: b; }
.tr-point__img { grid-area: f; margin: 0; overflow: hidden; }
.tr-point__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tr-link { margin-top: 3rem; text-align: right; }
.tr-point--media .tr-link { grid-column: 1 / -1; }

/* 遷移ボタン */
.tr-btn {
	position: relative;
	display: inline-grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	column-gap: 2.4rem;
	min-width: 34rem;
	padding: 1.6rem 3.2rem;
	border: 1px solid var(--gold);
	border-radius: 10rem;
	background: #fff;
	overflow: hidden;
	isolation: isolate;
	text-align: left;
	transition: color .4s, border-color .4s;
}
.tr-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--gold-bg);
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform .5s var(--ease-out, ease);
}
.tr-btn:hover { color: #fff; }
.tr-btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.tr-btn__sub { grid-column: 1; font-size: 1.2rem; line-height: 1.4; letter-spacing: .08em; color: var(--gold-text); transition: color .4s; }
.tr-btn__label { grid-column: 1; font-size: 1.6rem; line-height: 1.5; letter-spacing: .1em; }
.tr-btn .arw { grid-column: 2; grid-row: 1 / 3; width: 3rem; color: var(--gold-text); transition: color .4s, transform .4s var(--ease-out, ease); }
.tr-btn:hover .tr-btn__sub,
.tr-btn:hover .arw { color: #fff; }
.tr-btn:hover .arw { transform: translateX(.6rem); }

/* 進行段階（表をカード状に表示） */
.tr-stages { display: block; width: 100%; margin-top: 3.6rem; border-collapse: collapse; }
.tr-stages thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tr-stages tbody {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.4rem;
}
.tr-stages tr { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.tr-stages tr:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -1.9rem;
	top: 11rem;
	z-index: 1;
	width: 1.4rem;
	height: 1.4rem;
	border-top: 1px solid var(--gold);
	border-right: 1px solid var(--gold);
	transform: rotate(45deg);
}
.tr-stages th {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.6rem;
	padding: 3.2rem 2rem 2.4rem;
	background: var(--beige);
	font-weight: 500;
}
.tr-stages th img { width: 9.6rem; }
.tr-stages__lv { font-size: 2.2rem; line-height: 1; letter-spacing: .1em; color: var(--g-text); }
.tr-stages__lv small { font-family: var(--en); font-size: 1.8rem; letter-spacing: .04em; color: #78593a; }
.tr-stages td { flex: 1; padding: 2.2rem 2.4rem 2.6rem; font-size: 1.5rem; line-height: 1.9; }
.tr-stages tr:nth-child(2) th { background: #f3eadf; }
.tr-stages tr:nth-child(3) th { background: #ece0d1; }
.tr-stages tr:nth-child(4) th { background: #e4d4c1; }

.tr-note {
	position: relative;
	margin-top: 3rem;
	padding: 2.4rem 3rem 2.4rem 7.4rem;
	background: #fbf8f3;
	border: 1px solid var(--pale);
	font-size: 1.6rem;
	line-height: 1.9;
}
.tr-note::before {
	content: "!";
	position: absolute;
	left: 2.6rem;
	top: 2.6rem;
	display: grid;
	place-items: center;
	width: 2.8rem;
	height: 2.8rem;
	border-radius: 50%;
	background: var(--gold-bg);
	color: #fff;
	font-family: var(--en);
	font-size: 1.6rem;
	line-height: 1;
}


/* 番号なしのカード（特徴以外のh3） */
.tr-points--plain .tr-point h3::before { content: none; }
.tr-points--plain .tr-point { background: #fff; border: 1px solid var(--line); }
.tr-points--plain .tr-point h3 { padding-left: 1.6rem; border-left: 3px solid var(--gold); }
.entry > p + .tr-points,
.entry > p + .tr-table-wrap { margin-top: 3.2rem; }
.h2 + p { margin-top: 0; }

/* 汎用の表 */
.tr-table-wrap { margin-top: 3.2rem; }
.tr-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 1.6rem; line-height: 1.8; }
.tr-table thead th {
	padding: 1.6rem 2rem;
	background: var(--g-bg);
	color: #fff;
	font-weight: 500;
	font-size: 1.5rem;
	letter-spacing: .1em;
	text-align: left;
}
.tr-table thead th + th { border-left: 1px solid rgba(255, 255, 255, .25); }
.tr-table tbody th,
.tr-table tbody td { padding: 2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tr-table tbody th {
	width: 24%;
	background: var(--beige);
	color: var(--g-text);
	font-weight: 700;
	letter-spacing: .06em;
	text-align: left;
}
.tr-table tbody td + td { border-left: 1px solid var(--line); }
.tr-table--3 tbody td:last-child { width: 26%; }
.tr-table tbody tr { transition: background-color .3s; }
@media (hover: hover) {
	.tr-table tbody tr:hover td { background: #fbf8f3; }
}
.entry > .tr-note { margin-top: 2.4rem; }


/* ボタンを複数並べる */
.tr-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.2rem; }
.tr-links .tr-btn { min-width: 30rem; }
.tr-table td a { color: var(--g-text); text-decoration: underline; text-underline-offset: .3em; text-decoration-color: rgba(108, 150, 138, .4); }
.tr-table td a:hover { text-decoration-color: var(--g-text); }

/* 地図・カード・院長写真 */
.tr-map { margin-top: 2.4rem; aspect-ratio: 16 / 9; background: var(--beige); }
.tr-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.tr-cards { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.tr-cards img { width: 9.5rem; height: 6.9rem; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.tr-portrait { float: right; width: 30rem; margin: 0 0 3rem 4rem; }
.tr-portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 15%; }
.tr-portrait figcaption { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.4rem; font-size: 2.2rem; letter-spacing: .12em; }
.tr-portrait figcaption span { padding: .3rem .8rem; background: var(--gold-bg); color: #fff; font-size: 1.3rem; }
.tr-portrait + .tr-table-wrap { margin-top: 0; }
.tr-portrait ~ .h2 { clear: both; }

/* 本文ボックス */
.tr-box {
	position: relative;
	padding: 4.4rem 5rem;
	background: #fff;
	border: 1px solid var(--line);
}
.tr-box--merit,
.tr-box--risk,
.tr-box--caution { padding-left: 11rem; }
.tr-box--merit::before,
.tr-box--risk::before,
.tr-box--caution::before {
	content: "";
	position: absolute;
	left: 4rem;
	top: 4.6rem;
	width: 4.4rem;
	height: 4.4rem;
	border-radius: 50%;
	background: var(--g-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 2.4rem no-repeat;
}
.tr-box--merit { border-top: 3px solid var(--g); }
.tr-box--risk { border-top: 3px solid var(--gold); }
.tr-box--risk::before {
	background: var(--gold-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6.5v7' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.5' r='1.4' fill='%23fff'/%3E%3C/svg%3E") center / 2.4rem no-repeat;
}
.tr-box--caution { background: #fbf8f3; }
.tr-box--caution::before {
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5 21.5 20h-19Z' fill='none' stroke='%23b99977' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M12 9.5v5' stroke='%23b99977' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.3' r='1.1' fill='%23b99977'/%3E%3C/svg%3E") center / 2.4rem no-repeat;
	border: 1px solid var(--pale);
}
.tr-box--price { background: var(--beige); border: 0; }
.tr-box .tr-link { margin-top: 2.4rem; }

/* よくある質問 */
.tr-faq { border-top: 1px solid var(--line); }
.tr-faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.tr-faq details::details-content {
	height: 0;
	overflow: hidden;
	transition: height .45s var(--ease-out, ease), content-visibility .45s allow-discrete;
}
.tr-faq details[open]::details-content { height: auto; }
.tr-faq summary {
	position: relative;
	display: flex;
	align-items: center;
	gap: 2.4rem;
	padding: 2.6rem 7rem 2.6rem 0;
	list-style: none;
	cursor: pointer;
}
.tr-faq summary::-webkit-details-marker { display: none; }
.tr-faq summary::before,
.tr-faq__a::before {
	flex: none;
	display: grid;
	place-items: center;
	width: 4.4rem;
	height: 4.4rem;
	border-radius: 50%;
	font-family: var(--en);
	font-size: 2rem;
	line-height: 1;
}
.tr-faq summary::before { content: "Q"; background: var(--g-bg); color: #fff; }
.tr-faq summary::after {
	content: "";
	position: absolute;
	right: 2rem;
	top: 50%;
	width: 2rem;
	height: 2rem;
	margin-top: -1rem;
	background:
		linear-gradient(var(--g), var(--g)) center / 100% 1px no-repeat,
		linear-gradient(var(--g), var(--g)) center / 1px 100% no-repeat;
	transition: transform .4s var(--ease-out, ease);
}
.tr-faq details[open] summary::after { transform: rotate(135deg); }
.tr-faq summary:hover h3 { color: var(--g-text); }
.tr-faq h3 { font-weight: 500; font-size: 1.8rem; line-height: 1.6; letter-spacing: .06em; transition: color .3s; }
.tr-faq__a { display: flex; gap: 2.4rem; padding: 0 2rem 3rem 0; }
.tr-faq__a::before { content: "A"; border: 1px solid var(--gold); color: var(--gold-text); }
.tr-faq__a p { padding-top: .4rem; font-size: 1.6rem; line-height: 2; }

/* その他の診療案内 */
.relmenu { padding: 10rem calc(8rem + var(--gx)) 12rem; background: var(--beige); }
.relmenu__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.2rem;
	margin-top: 5rem;
}
.relmenu__list a {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	height: 100%;
	padding: 1.8rem 2rem;
	background: #fff;
	font-size: 1.5rem;
	line-height: 1.5;
	transition: background-color .3s, color .3s;
}
.relmenu__list i { flex: none; width: 1rem; height: 1px; background: var(--gold-bg); transition: width .3s, background-color .3s; }
.relmenu__list a:hover { background: var(--g-bg); color: #fff; }
.relmenu__list a:hover i { width: 1.6rem; background: #fff; }
.relmenu__list .is-current a { background: var(--g-bg); color: #fff; pointer-events: none; }
.relmenu__list .is-current i { background: #fff; }

/* ---------- アニメーション ---------- */
.js .subhero__en,
.js .subhero__ttl { animation: lineIn .9s var(--ease-out, ease) both; }
.js .subhero__ttl { animation-delay: .15s; }
.js .subhero__photo img { animation: heroWipe 1s var(--ease-io, ease) both; }
.js :is(.tr-intro, .h2, .tr-point, .tr-table-wrap, .tr-stages tbody tr, .tr-note, .tr-box, .tr-faq details, .relmenu__list li) {
	opacity: 0;
	transform: translateY(3rem);
	transition: opacity 1s var(--ease-out, ease), transform 1.2s var(--ease-out, ease);
	transition-delay: calc(var(--i, 0) * 70ms);
}
.js .h2::after { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-io, ease) .3s; }
:is(.tr-intro, .h2, .tr-point, .tr-table-wrap, .tr-stages tbody tr, .tr-note, .tr-box, .tr-faq details, .relmenu__list li).is-in,
.anim-off :is(.tr-intro, .h2, .tr-point, .tr-table-wrap, .tr-stages tbody tr, .tr-note, .tr-box, .tr-faq details, .relmenu__list li) { opacity: 1; transform: none; }
.h2.is-in::after, .anim-off .h2::after { transform: none; }
@media (hover: hover) {
	.tr-point__img img { transition: scale 1.2s var(--ease-out, ease); }
	.tr-point:hover .tr-point__img img { scale: 1.05; }
}

/* =========================================================
   SP
   ========================================================= */
@media (max-width: 899px) {
	.subhero { display: flex; flex-direction: column; height: auto; }
	.subhero__photo { display: block; height: 16rem; }
	.subhero__photo img { position: static; width: 100%; height: 100%; object-position: right center; }
	.subhero__inner { position: static; order: 1; padding: 2.8rem 2rem 3.2rem; transform: none; }
	.subhero__en { gap: 1rem; font-size: 1.3rem; }
	.subhero__en::before { width: 2.4rem; }
	.subhero__ttl { margin-top: 1.6rem; font-size: 3rem; }
	.subhero__logo { left: auto; right: -1rem; bottom: -3rem; width: 10rem; }

	.crumb { width: auto; padding: 1.4rem 1.3rem; }
	.crumb__list { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; font-size: 1.1rem; scrollbar-width: none; }

	.tr { display: block; width: auto; margin: 1rem 1.3rem 8rem; }
	.tr__side { position: static; }
	.toc__head { justify-content: space-between; padding: 2rem; cursor: pointer; }
	.toc__head .toc__ja { margin-right: auto; }
	.toc__icon {
		display: block;
		position: relative;
		width: 1.4rem;
		height: 1.4rem;
		background:
			linear-gradient(var(--g), var(--g)) center / 100% 1px no-repeat,
			linear-gradient(var(--g), var(--g)) center / 1px 100% no-repeat;
		transition: transform .3s;
	}
	.toc[open] .toc__icon { transform: rotate(135deg); }
	.toc__list { padding: 0 2rem 1.6rem; }
	.toc__list a { padding: 1.1rem 0; font-size: 1.3rem; }
	.toc__list a::before { left: -2rem; }
	.side-rsv { display: none; }

	.entry { font-size: 1.5rem; line-height: 2; }
	.tr-intro { margin-top: 3rem; padding: 2.8rem 2.2rem; font-size: 1.5rem; line-height: 2.05; }
	.tr-intro::before { top: 2.8rem; height: 4rem; }
	.h2 { gap: 1rem; margin: 6rem 0 2.6rem; padding-bottom: 1.8rem; }
	.h2::after { width: 5rem; }
	.h2__en { font-size: 1.2rem; }
	.h2__ja { font-size: 2.3rem; }
	.tr-points { gap: 1.6rem; }
	.tr-point { padding: 3rem 2.2rem; }
	.tr-point h3 { gap: .8rem; margin-bottom: 1.6rem; font-size: 1.8rem; }
	.tr-point h3::before { font-size: 1.5rem; }
	.tr-point--media { display: block; }
	.tr-point__img { margin-bottom: 2rem; }
	.tr-link { margin-top: 2.4rem; text-align: center; }
	.tr-btn { width: 100%; min-width: 0; padding: 1.4rem 2.4rem; }
	.tr-btn__label { font-size: 1.5rem; }

	.tr-stages { margin-top: 2.4rem; }
	.tr-stages tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
	.tr-stages tr:not(:last-child)::after { display: none; }
	.tr-stages th { gap: 1rem; padding: 2rem 1rem 1.6rem; }
	.tr-stages th img { width: 6.4rem; }
	.tr-stages__lv { font-size: 1.7rem; }
	.tr-stages__lv small { font-size: 1.4rem; }
	.tr-stages td { padding: 1.4rem 1.4rem 1.8rem; font-size: 1.3rem; line-height: 1.8; }
	.tr-note { padding: 2rem 2rem 2rem 5.6rem; font-size: 1.4rem; }
	.tr-note::before { left: 1.8rem; top: 2.2rem; width: 2.4rem; height: 2.4rem; font-size: 1.4rem; }


	/* 表はSPでカード状に積む */
	.tr-table-wrap { margin-top: 2.4rem; }
	.tr-table, .tr-table tbody, .tr-table tr, .tr-table th, .tr-table td { display: block; width: auto !important; }
	.tr-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.tr-table { background: none; font-size: 1.4rem; }
	.tr-table tbody { display: grid; gap: 1.2rem; }
	.tr-table tbody tr { border: 1px solid var(--line); background: #fff; }
	.tr-table tbody th { padding: 1.2rem 1.6rem; border-bottom: 0; font-size: 1.5rem; }
	.tr-table tbody td { padding: 1.4rem 1.6rem; border-left: 0 !important; }
	.tr-table tbody td:last-child { border-bottom: 0; }
	.tr-table tbody td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: .4rem;
		color: var(--gold-text);
		font-size: 1.2rem;
		letter-spacing: .08em;
	}
	.tr-points--plain .tr-point h3 { padding-left: 1.2rem; }

	.tr-links { flex-direction: column; gap: 1rem; }
	.tr-links .tr-btn { min-width: 0; }
	.tr-map { aspect-ratio: 4 / 3; }
	.tr-cards { gap: .6rem; }
	.tr-cards img { width: 6rem; height: 4.4rem; }
	.tr-portrait { float: none; width: 60%; margin: 0 auto 2.4rem; }
	.tr-portrait figcaption { justify-content: center; font-size: 1.8rem; }
	.tr-box { padding: 2.8rem 2.2rem; }
	.tr-box--merit, .tr-box--risk, .tr-box--caution { padding: 8.4rem 2.2rem 2.8rem; }
	.tr-box--merit::before, .tr-box--risk::before, .tr-box--caution::before { left: 2.2rem; top: 2.6rem; width: 4rem; height: 4rem; }

	.tr-faq summary { gap: 1.4rem; padding: 2rem 4.4rem 2rem 0; }
	.tr-faq summary::after { right: .8rem; width: 1.6rem; height: 1.6rem; margin-top: -.8rem; }
	.tr-faq summary::before, .tr-faq__a::before { width: 3.4rem; height: 3.4rem; font-size: 1.6rem; }
	.tr-faq h3 { font-size: 1.5rem; }
	.tr-faq__a { gap: 1.4rem; padding: 0 0 2.4rem; }
	.tr-faq__a p { padding-top: .2rem; font-size: 1.4rem; }

	.relmenu { padding: 6rem 1.3rem 7rem; }
	.relmenu__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 3rem; }
	.relmenu__list a { gap: .8rem; padding: 1.4rem 1.2rem; font-size: 1.25rem; letter-spacing: .02em; }
}

/* 診療写真の見出し（斜めに切り抜く） */
.subhero__photo--clip img { clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }

/* 関連する診療 */
.relgrp { margin-top: 10rem; }
.relgrp__ttl {
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
	margin-bottom: 3.2rem;
	padding-bottom: 2.4rem;
	border-bottom: 1px solid var(--line);
	font-weight: 500;
	font-size: 3rem;
	letter-spacing: .1em;
}
.relgrp__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
.relgrp__list a {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	height: 100%;
	padding: 2.6rem 6rem 2.6rem 2.8rem;
	border: 1px solid var(--line);
	background: #fff;
	transition: border-color .3s, box-shadow .4s, transform .4s var(--ease-out, ease);
}
.relgrp__name { color: var(--g-text); font-weight: 700; font-size: 1.9rem; line-height: 1.5; letter-spacing: .08em; }
.relgrp__desc { font-size: 1.4rem; line-height: 1.8; color: var(--sub-text); }
.relgrp__list .arw { position: absolute; right: 2.4rem; top: 50%; width: 2.4rem; color: var(--gold-text); transition: transform .4s var(--ease-out, ease); }
@media (hover: hover) {
	.relgrp__list a:hover { border-color: var(--g-text); box-shadow: 0 1rem 2.4rem rgba(89, 90, 94, .1); transform: translateY(-.3rem); }
	.relgrp__list a:hover .arw { transform: translateX(.5rem); }
}
@media (max-width: 899px) {
	.subhero__photo--clip img { clip-path: none; }
	.relgrp { margin-top: 6rem; }
	.relgrp__ttl { font-size: 2.3rem; gap: 1rem; }
	.relgrp__list { grid-template-columns: 1fr; gap: 1rem; }
	.relgrp__list a { padding: 2rem 5rem 2rem 2rem; }
	.relgrp__name { font-size: 1.6rem; }
	.relgrp__desc { font-size: 1.3rem; }
}
.js .subhero__photo--clip img { animation-name: heroWipeClip; }
@keyframes heroWipeClip {
	from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
	to { clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
}
@media (max-width: 899px) {
	.js .subhero__photo--clip img { animation-name: heroWipe; }
}

/* リスト・定義リスト・制定日（プライバシーポリシーなど） */
.tr-list { margin: 0; padding: 0; }
.tr-list li { position: relative; padding-left: 2rem; }
.tr-list li + li { margin-top: 1rem; }
.tr-list li::before { content: ""; position: absolute; left: .2rem; top: 1.4rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--g-bg); }
p + .tr-list { margin-top: 1.6rem; }
.entry > p + .tr-box, .entry > .tr-box + p { margin-top: 2.4rem; }
.tr-dl { margin-top: 2rem; border-top: 1px solid rgba(89, 90, 94, .15); }
.tr-dl > div { display: grid; grid-template-columns: 18rem minmax(0, 1fr); padding: 1.4rem 0; border-bottom: 1px solid rgba(89, 90, 94, .15); }
.tr-dl dt { color: var(--g-text); font-size: 1.5rem; }
.tr-dl dd { font-size: 1.6rem; }
.tr-date { margin-top: 4rem; text-align: right; color: var(--sub-text); font-size: 1.4rem; }
@media (max-width: 899px) {
	.tr-list li + li { margin-top: .8rem; }
	.tr-list li::before { top: 1.2rem; }
	.tr-dl > div { grid-template-columns: 1fr; gap: .4rem; }
	.tr-dl dt { font-size: 1.3rem; }
	.tr-dl dd { font-size: 1.4rem; }
}

/* H1の前置き（地域・医院名） */
.subhero__pre {
	display: block;
	margin-bottom: 1.8rem;
	font-size: 1.8rem;
	line-height: 1.5;
	letter-spacing: .12em;
	color: var(--txt);
}
@media (max-width: 899px) {
	.subhero__pre { margin-bottom: 1rem; font-size: 1.3rem; }
}
/* 進行段階：背景が濃いカード（C3・C4）は文字をさらに濃くしてコントラスト比4.5以上に */
.tr-stages tr:nth-child(n+3) .tr-stages__lv { color: #435e57; }
.tr-stages tr:nth-child(n+3) .tr-stages__lv small { color: #694b2e; }

/* 最終更新日 */
.tr-updated { margin-bottom: 2.4rem; text-align: right; color: var(--sub-text); font-size: 1.3rem; letter-spacing: .06em; }
@media (max-width: 899px) { .tr-updated { margin: 2.4rem 0 -1rem; font-size: 1.2rem; } }

/* 改行位置：見出しは文節で区切って行の長さを揃え、本文は行末の1文字だけの行を避ける */
.subhero__ttl, .h2__ja, .tr-point h3, .relgrp__ttl, .tr-faq h3, .art__ttl, .art__body h2, .art__body h3, .post-card__ttl {
	word-break: auto-phrase;
	text-wrap: balance;
}
.entry p, .tr-intro p, .post-card__ex { text-wrap: pretty; }

/* 見出し直後の写真・図（原稿の画像） */
.tr-fig { margin: 0 0 4rem; overflow: hidden; background: #fff; }
.tr-fig img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.tr-fig--illust { padding: 3.2rem; border: 1px solid var(--line); }
/* 図は切り抜かず全体を見せる（幅100%＋高さ上限。width:auto は WordPress の sizes="auto" と組み合わさると高さが崩れる） */
.tr-fig--illust img { width: 100%; max-height: 40rem; aspect-ratio: auto; object-fit: contain; }
@media (max-width: 899px) {
	.tr-fig { margin-bottom: 2.6rem; }
	.tr-fig img { aspect-ratio: 3 / 2; }
	.tr-fig--illust { padding: 1.6rem; }
	.tr-fig--illust img { max-height: none; aspect-ratio: auto; }
}
.subhero__photo img.attachment-full { object-position: center 45%; }
/* 本文先頭の画像（原稿の冒頭画像）：最終更新日と重ならないように */
@media (max-width: 899px) { .tr-updated + .tr-fig--lead { margin-top: 2rem; } }

/* 提携駐車場（アクセスページ「お車でお越しの方」） */
.tr-park {
	scroll-margin-top: calc(var(--hdr) + 2rem);
	padding: 4rem 5rem 4.4rem;
	background: #fff;
	border: 1px solid var(--line);
	border-top: 3px solid var(--g);
}
.tr-park__head { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.tr-park__tag { padding: .5rem 1.4rem; background: var(--g-bg); color: #fff; font-size: 1.3rem; line-height: 1.4; letter-spacing: .12em; }
.tr-park__name { margin: .6rem 0 0; color: var(--g-text); font-weight: 700; font-size: 2.6rem; line-height: 1.5; letter-spacing: .08em; }
.tr-park__addr { margin: 0; color: var(--sub-text); font-size: 1.5rem; letter-spacing: .06em; }
.tr-park__lead { margin: 2.6rem 0 0; font-size: 1.7rem; line-height: 2; }
.tr-park__lead strong { font-weight: 700; background: linear-gradient(transparent 62%, #f1e6d2 62%); }
.tr-park__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin: 3rem 0 0; padding: 0; list-style: none; }
.tr-park__steps li { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 2.2rem; background: var(--beige); font-size: 1.5rem; line-height: 1.8; }
.tr-park__steps b { font-weight: 700; color: var(--gold-text); }
.tr-park__num { font-family: var(--en); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--g-text); }
.tr-park__map { margin-top: 3rem; }
.tr-park .tr-link { margin-top: 2.4rem; }
.tr-park + .tr-box { margin-top: 2.4rem; }
.tr-box h3 { margin: 0 0 1.2rem; color: var(--txt); font-weight: 700; font-size: 1.9rem; line-height: 1.6; letter-spacing: .08em; }
@media (max-width: 899px) {
	.tr-park { padding: 2.6rem 1.8rem 2.8rem; }
	.tr-park__name { font-size: 2rem; }
	.tr-park__addr { font-size: 1.3rem; }
	.tr-park__lead { margin-top: 2rem; font-size: 1.5rem; }
	.tr-park__steps { grid-template-columns: 1fr; gap: .8rem; margin-top: 2.2rem; }
	.tr-park__steps li { flex-direction: row; align-items: center; gap: 1.4rem; padding: 1.4rem 1.6rem; font-size: 1.4rem; }
	.tr-park__num { font-size: 2.2rem; }
	.tr-park__map { margin-top: 2.2rem; }
	.tr-park .tr-links { justify-content: stretch; }
	.tr-park .tr-links .tr-btn { width: 100%; min-width: 0; }
	.tr-box h3 { font-size: 1.6rem; }
}

/* 写真ギャラリー（院内ツアー） */
.tr-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 1.6rem; margin: 3.2rem 0 0; padding: 0; list-style: none; }
.tr-gallery figure { margin: 0; }
.tr-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.tr-gallery figcaption { margin-top: 1rem; color: var(--sub-text); font-size: 1.4rem; line-height: 1.6; letter-spacing: .06em; }
@media (max-width: 899px) {
	.tr-gallery { gap: 1.6rem 1rem; margin-top: 2.4rem; }
	.tr-gallery figcaption { margin-top: .6rem; font-size: 1.2rem; }
}
.side-rsv__btn .btn-lbl { gap: .5rem; }
.side-rsv__btn .btn-note { padding: .25rem .8rem; font-size: 1rem; }

/* =========================================================
   料金表（2026-11 医院支給の料金表。tools/build_price_2611.py）
   ========================================================= */
.tr-h3 {
	margin-top: 5.6rem;
	padding-left: 1.6rem;
	border-left: 3px solid var(--gold);
	color: var(--g-text);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .08em;
}
.h2 + .tr-h3, .h2 + p + .tr-h3 { margin-top: 3.2rem; }
.tr-h3 + .tr-table-wrap, .tr-h3 + p, .tr-price-cap + .tr-table-wrap { margin-top: 1.6rem; }
.tr-h3 + .tr-list { margin-top: 2rem; }
.tr-price { font-size: 1.5rem; line-height: 1.7; }
.tr-price thead th { padding: 1.2rem 1.4rem; font-size: 1.3rem; letter-spacing: .06em; }
.tr-price tbody th, .tr-price tbody td { padding: 1.4rem; }
.tr-price tbody th { width: 22%; }
.tr-price tbody th small, .tr-price td small { display: block; margin-top: .2rem; color: var(--sub-text); font-size: 1.2rem; font-weight: 400; letter-spacing: .04em; }
.tr-price td.yen { color: var(--txt); font-weight: 700; text-align: right; white-space: nowrap; }
.tr-price td.yen small { font-weight: 400; white-space: normal; }
.tr-table--2.tr-price tbody th { width: 50%; }
.tr-price-note { margin-top: 1.2rem; color: var(--sub-text); font-size: 1.4rem; line-height: 1.8; }
.tr-price-note::before { content: "※"; }
.tr-price-cap { margin-top: 2.4rem; color: var(--gold-text); font-size: 1.4rem; font-weight: 700; letter-spacing: .08em; }
.tr-table-wrap + .tr-table-wrap { margin-top: 1.6rem; }
@media (max-width: 899px) {
	.tr-h3 { margin-top: 4rem; font-size: 1.7rem; }
	.tr-price { font-size: 1.4rem; }
	.tr-price tbody th, .tr-price tbody td { padding: 1.2rem 1.6rem; }
	.tr-price td.yen { text-align: left; font-size: 1.6rem; }
	.tr-price-note { font-size: 1.3rem; }
}
.tr-price td.nw { white-space: nowrap; }
.tr-price thead th { line-height: 1.5; }

/* キッズスペース（医院紹介・小児歯科・院内ツアー）2026-11-24 */
.tr-kids {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
	margin: 0 0 3.2rem;
	background: #fff;
	border: 1px solid var(--line);
	border-top: 3px solid var(--g);
}
.tr-kids__img { margin: 0; overflow: hidden; background: var(--beige); }
.tr-kids__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.tr-kids__body { display: flex; flex-direction: column; justify-content: center; padding: 3.6rem 4rem 3.8rem; }
.tr-kids__tag { align-self: flex-start; margin: 0; padding: .5rem 1.4rem; background: var(--g-bg); color: #fff; font-size: 1.3rem; line-height: 1.4; letter-spacing: .12em; }
.tr-kids__lead { margin: 1.6rem 0 0; color: var(--g-text); font-weight: 700; font-size: 2.4rem; line-height: 1.6; letter-spacing: .06em; }
.tr-kids__txt { margin: 1.6rem 0 0; font-size: 1.55rem; line-height: 2; }
.tr-kids__list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin: 0; padding: 2.4rem 2.4rem 2.4rem; list-style: none; }
.tr-kids__list li { display: flex; flex-direction: column; gap: .6rem; padding: 1.8rem 2rem; background: var(--beige); font-size: 1.45rem; line-height: 1.8; }
.tr-kids__list b { color: var(--gold-text); font-weight: 700; font-size: 1.6rem; }
.tr-kids .tr-link { margin: 2.4rem 0 0; text-align: left; }
@media (max-width: 899px) {
	.tr-kids { grid-template-columns: 1fr; margin-bottom: 2.4rem; }
	.tr-kids__img img { height: auto; aspect-ratio: 4 / 3; object-position: center 62%; }
	.tr-kids__body { padding: 2.6rem 1.8rem 2.8rem; }
	.tr-kids__lead { margin-top: 1.4rem; font-size: 1.9rem; }
	.tr-kids__txt { margin-top: 1.4rem; font-size: 1.5rem; }
	.tr-kids__list { grid-template-columns: 1fr; gap: .8rem; padding: 0 1.8rem 2.4rem; }
	.tr-kids__list li { gap: .2rem; padding: 1.2rem 1.4rem; font-size: 1.4rem; }
	.tr-kids__list b { font-size: 1.5rem; }
	.tr-kids .tr-links { justify-content: stretch; }
	.tr-kids .tr-links .tr-btn { width: 100%; min-width: 0; }
}
