/* =========================================================
   47共育塾 テーマ
   黒を基調に、金を差し色として1色だけ使います。
   ========================================================= */

:root {
	--black: #000000;
	--panel: #161616;
	--panel-2: #1f1f1f;
	--line: #2e2e2e;
	--white: #ffffff;
	--muted: #a3a3a3;
	--gold: #d4a62a;
	--gold-dark: #7d5f0c; /* 明るい背景で文字に使う金 */
	--paper: #f3f3f1;
	--ink: #151515;
	--ink-muted: #5c5c5c;

	--font-en: "Barlow Condensed", "Arial Narrow", sans-serif;
	--font-head: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
	--font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

	--header-h: 76px;
	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 48px);
	--sec-y: clamp(72px, 10vw, 128px);
	--radius: 4px;
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--black);
	color: var(--white);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.85;
	letter-spacing: 0.02em;
	font-feature-settings: "palt" 0;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 700; line-height: 1.4; letter-spacing: 0.04em; word-break: auto-phrase; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
figure { margin: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(820px + var(--gutter) * 2); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--black); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sp-only { display: none; }

.site-main { padding-top: var(--header-h); }

/* ---------- header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	background: rgba(0, 0, 0, 0.96);
	border-bottom: 1px solid var(--line);
	/* backdrop-filter はスマホメニュー(position:fixed)の表示範囲を狭めるため使わない */
}
.site-header__inner { display: flex; align-items: center; height: 100%; padding-left: var(--gutter); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__logo { max-height: 48px; width: auto; }
.brand__mark {
	display: inline-grid; place-items: center;
	width: 44px; height: 44px;
	border: 2px solid var(--gold);
	color: var(--gold);
	font-family: var(--font-en); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--font-head); font-weight: 900; font-size: 18px; letter-spacing: 0.08em; }
.brand__sub { font-family: var(--font-en); font-weight: 500; font-size: 13px; color: var(--muted); letter-spacing: 0.12em; }

.gnav { display: flex; align-items: center; gap: 28px; margin-right: 28px; }
.gnav__list { display: flex; gap: 28px; list-style: none; }
.gnav__list a {
	display: block; padding: 6px 0;
	font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: 0.08em;
	text-decoration: none; color: var(--white);
	border-bottom: 2px solid transparent;
}
.gnav__list a:hover,
.gnav__list .current-menu-item > a,
.gnav__list a[aria-current="page"] { border-bottom-color: var(--gold); }
.gnav__sub a { color: var(--muted); }
.gnav .gnav__line { display: none; }
.gnav__tel { font-family: var(--font-en); font-weight: 600; font-size: 20px; letter-spacing: 0.06em; text-decoration: none; }

.header-cta {
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	height: 100%; padding: 0 28px; min-width: 176px;
	background: var(--gold); color: var(--black); text-decoration: none;
	transition: background-color 0.2s;
}
.header-cta:hover { background: #e8bb3d; }
.header-cta__en { font-family: var(--font-en); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: 0.08em; }
.header-cta__ja { font-weight: 700; font-size: 12px; letter-spacing: 0.08em; margin-top: 4px; }

.menu-toggle { display: none; }

/* ---------- buttons & links ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 12px 28px;
	border: 2px solid transparent; border-radius: var(--radius);
	font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.08em;
	text-decoration: none; cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--accent { background: var(--gold); color: var(--black); }
.btn--accent:hover { background: #e8bb3d; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--line { border-color: var(--gold); color: var(--white); }
.btn--line:hover { background: var(--gold); color: var(--black); }
.btn--block { width: 100%; }
.btn--small { min-height: 46px; padding: 8px 20px; font-size: 14px; }

.text-link {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-head); font-weight: 700; color: var(--gold);
	text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link:hover { color: var(--white); }

/* ---------- section ---------- */
.sec { padding-block: var(--sec-y); }
.sec--tight { padding-block: clamp(48px, 6vw, 72px); }
.sec--panel { background: var(--panel); }
.sec--light { background: var(--paper); color: var(--ink); }

.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head__en {
	font-family: var(--font-en); font-weight: 700;
	font-size: clamp(3rem, 7.5vw, 5.75rem); line-height: 0.88; letter-spacing: 0.01em;
	color: var(--white);
}
.sec-head__ja { font-family: var(--font-head); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--gold); letter-spacing: 0.1em; }
.sec--light .sec-head__en { color: var(--ink); }
.sec--light .sec-head__ja { color: var(--gold-dark); }

.lead { max-width: 46em; font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 2; margin-bottom: clamp(40px, 5vw, 64px); }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.sec--light .note { color: var(--ink-muted); }

/* ---------- media placeholder ---------- */
.media { position: relative; overflow: hidden; background: var(--panel-2); aspect-ratio: 3 / 2; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--empty {
	display: grid; place-items: center;
	background:
		repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, 0.04) 14px 15px),
		var(--panel-2);
	color: var(--muted); font-size: 13px; letter-spacing: 0.1em;
}
.sec--light .media--empty {
	background:
		repeating-linear-gradient(135deg, transparent 0 14px, rgba(0, 0, 0, 0.05) 14px 15px),
		#e3e3df;
	color: var(--ink-muted);
}

/* ---------- hero (TOP) ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: calc(100svh - var(--header-h)); min-height: max(600px, calc(100svh - var(--header-h)));
	display: flex; align-items: flex-end;
	padding-block: clamp(64px, 10vh, 120px);
	background: var(--black);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.6) 45%, rgba(0, 0, 0, 0.15) 100%),
		linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 45%);
}
.hero__number {
	position: absolute; z-index: -1;
	right: -0.04em; bottom: -0.2em;
	font-family: var(--font-en); font-weight: 700;
	font-size: clamp(16rem, 46vw, 44rem); line-height: 1; letter-spacing: -0.02em;
	color: transparent;
	-webkit-text-stroke: 2px rgba(212, 166, 42, 0.55);
	user-select: none; pointer-events: none;
}
.hero__body { position: relative; }
.hero__en {
	font-family: var(--font-en); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.25rem);
	letter-spacing: 0.24em; color: var(--gold); margin-bottom: 18px;
}
.hero__catch {
	font-family: var(--font-head); font-weight: 900;
	font-size: clamp(2.75rem, 7.2vw, 6rem); line-height: 1.18; letter-spacing: 0.06em;
	margin-bottom: 28px;
}
.hero__lead { max-width: 34em; font-size: clamp(0.95rem, 1.4vw, 1.0625rem); color: #e6e6e6; }

@media (prefers-reduced-motion: no-preference) {
	.hero__number { animation: k47-number 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
	.hero__en, .hero__catch, .hero__lead, .hero .btn-row { animation: k47-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
	.hero__catch { animation-delay: 0.12s; }
	.hero__lead { animation-delay: 0.24s; }
	.hero .btn-row { animation-delay: 0.36s; }
}
@keyframes k47-number { from { opacity: 0; transform: translateX(6%); } to { opacity: 1; transform: none; } }
@keyframes k47-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- clinic bar ---------- */
.clinic-bar { display: block; background: var(--panel); border-bottom: 1px solid var(--line); text-decoration: none; }
.clinic-bar__inner { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 24px; padding-block: 18px; }
.clinic-bar__img { aspect-ratio: 4 / 3; }
.clinic-bar__small { display: block; font-size: 14px; color: var(--muted); }
.clinic-bar__title { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: 0.06em; }
.clinic-bar__go {
	font-family: var(--font-head); font-weight: 700; font-size: 14px;
	padding: 14px 22px; border: 2px solid var(--gold); border-radius: var(--radius);
	transition: background-color 0.2s, color 0.2s;
}
.clinic-bar__go::after { content: "　›"; }
.clinic-bar:hover .clinic-bar__go { background: var(--gold); color: var(--black); }

/* ---------- page nav ---------- */
.page-nav {
	position: sticky; top: var(--header-h); z-index: 50;
	background: rgba(22, 22, 22, 0.96); border-bottom: 1px solid var(--line);
}
.page-nav ul { display: flex; gap: 4px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.page-nav ul::-webkit-scrollbar { display: none; }
.page-nav a {
	display: block; white-space: nowrap; padding: 14px 16px;
	font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: 0.06em;
	color: var(--muted); text-decoration: none;
}
.page-nav a:hover { color: var(--gold); }

/* ---------- news ---------- */
.news-row { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.news-row .sec-head { margin-bottom: 0; }
.news-row .sec-head__en { font-size: clamp(2.75rem, 5vw, 4rem); }
.news-list { list-style: none; border-top: 1px solid var(--line); margin-bottom: 24px; }
.news-list a {
	display: grid; grid-template-columns: 7.5em 1fr; gap: 16px;
	padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none;
}
.news-list time { font-family: var(--font-en); font-weight: 600; font-size: 17px; color: var(--gold); letter-spacing: 0.06em; }
.news-list a:hover .news-list__title { text-decoration: underline; text-underline-offset: 4px; }
.news-empty { color: var(--muted); }

/* ---------- philosophy ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); margin-bottom: clamp(56px, 7vw, 88px); }
.pillar { border-top: 1px solid rgba(255, 255, 255, 0.35); padding-top: 24px; }
.pillar h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); margin-bottom: 14px; }
.pillar p { color: #d6d6d6; margin: 0; }

.org { max-width: 760px; margin-inline: auto; display: grid; gap: 28px; }
.org__cap { text-align: center; font-family: var(--font-head); font-weight: 700; color: var(--muted); font-size: 14px; }
.org__row { display: grid; justify-items: center; position: relative; }
.org__row + .org__row::before { content: ""; position: absolute; top: -28px; left: 50%; width: 1px; height: 28px; background: var(--line); }
.org__row--split { grid-template-columns: 1fr 1fr; gap: 20px; }
.org__box {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
	width: 100%; max-width: 520px; padding: 18px 20px;
	border: 1px solid var(--line); border-radius: var(--radius);
	font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; text-decoration: none;
}
.org__box small { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--muted); }
.org__box--muted { color: var(--muted); }
.org__box--main { border: 2px solid var(--gold); font-size: 1.3rem; }
a.org__box:hover { border-color: var(--gold); }

/* ---------- representative ---------- */
.rep { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.rep__photo { aspect-ratio: 4 / 5; }
.rep__role { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.rep__name { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: 0.12em; margin-bottom: 20px; }
.rep__name span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 14px; letter-spacing: 0.2em; color: var(--gold); margin-top: 4px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(48px, 6vw, 72px) 0 32px; border-block: 1px solid var(--line); }
.stat { padding: 28px 24px; display: flex; flex-direction: column-reverse; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dt { font-size: 13px; color: var(--muted); }
.stat dd { margin: 0; display: flex; align-items: baseline; gap: 4px; }
.stat__num { font-family: var(--font-en); font-weight: 700; font-size: clamp(4rem, 9vw, 6.5rem); line-height: 0.9; color: var(--gold); letter-spacing: 0; }
.stat__unit { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }

.more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more summary {
	list-style: none; cursor: pointer; padding: 18px 4px;
	font-family: var(--font-head); font-weight: 700; color: var(--gold);
	display: flex; justify-content: space-between; align-items: center;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "＋"; font-size: 1.2em; transition: transform 0.2s; }
.more[open] summary::after { transform: rotate(45deg); }
.more__body { padding: 8px 4px 32px; }
.more__body h4 { font-size: 1rem; color: var(--gold); margin: 20px 0 10px; }
.more__body h4:first-child { margin-top: 0; }
.more--inline { margin-top: auto; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.plain { list-style: none; }
.plain li { padding: 6px 0 6px 1.2em; position: relative; font-size: 15px; border-bottom: 1px dashed var(--line); }
.plain li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; background: var(--gold); }

/* ---------- academy ---------- */
.courses { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.course { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.course__body { padding: clamp(24px, 3vw, 36px); }
.course__title { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 12px; }
.course__body > p { color: var(--ink-muted); }

.spec { margin-top: 20px; font-size: 15px; }
.spec th, .spec td { padding: 14px 4px; border-bottom: 1px solid #dcdcd8; text-align: left; vertical-align: top; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid #dcdcd8; }
.spec th { font-weight: 500; color: var(--ink-muted); width: 46%; }
.spec__price { text-align: right !important; font-family: var(--font-en); font-weight: 700; font-size: 1.5rem; line-height: 1.2; color: var(--ink); }
.spec--dark th, .spec--dark td { border-color: var(--line) !important; }
.spec--dark th { color: var(--muted); }

.steps-box { margin-top: clamp(40px, 5vw, 64px); background: var(--black); color: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.steps-box__title { font-size: 1.3rem; margin-bottom: 24px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
.steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.steps__n { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--black); font-family: var(--font-en); font-weight: 700; font-size: 24px; }
.steps strong { font-family: var(--font-head); }
.steps li > span:last-child { font-size: 13px; color: var(--muted); }

/* ---------- community / cards ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
.feature h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 20px 0 4px; }
.feature__meta { font-family: var(--font-head); font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.feature p:last-child { color: #d6d6d6; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 28px); }
.card { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 32px); background: var(--black); border: 1px solid var(--line); border-radius: var(--radius); }
.card h3 { font-size: 1.3rem; }
.card p { color: #d6d6d6; margin: 0; }
.card .text-link, .card .btn { margin-top: auto; align-self: flex-start; }
.card .more { border-bottom: 0; }

/* ---------- staff ---------- */
.staff-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.staff__inner summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.staff__inner summary::-webkit-details-marker { display: none; }
.staff__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--panel-2); margin-bottom: 12px; filter: grayscale(0.15); }
.staff__photo--empty { display: block; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, 0.04) 14px 15px), var(--panel-2); }
.staff__role { font-size: 12px; color: var(--gold); line-height: 1.6; }
.staff__name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.12em; }
.staff__more { font-size: 13px; color: var(--muted); }
.staff__more::after { content: " ＋"; }
.staff__inner[open] .staff__more::after { content: " −"; }
.staff__body { font-size: 14px; color: #d6d6d6; padding-top: 10px; }
.staff__body p { margin-bottom: 0.6em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); color: var(--black); padding-block: clamp(56px, 8vw, 96px); }
.cta-band__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-band__en { font-family: var(--font-en); font-weight: 700; font-size: clamp(3rem, 8vw, 6rem); line-height: 0.9; margin-bottom: 12px; }
.cta-band__title { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 10px; }
.cta-band p:last-child { margin: 0; }
.cta-band .btn-row { margin: 0; }
.cta-band .btn--accent { background: var(--black); color: var(--white); }
.cta-band .btn--accent:hover { background: #2a2a2a; }
.cta-band .btn--line { border-color: var(--black); color: var(--black); }
.cta-band .btn--line:hover { background: var(--black); color: var(--white); }

/* ---------- page hero (下層) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(80px, 12vw, 160px) clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero--short { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero:has(.page-hero__bg)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.45)); }
.page-hero__en { font-family: var(--font-en); font-weight: 700; font-size: clamp(3rem, 9vw, 7rem); line-height: 0.88; color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin-bottom: 20px; }
.page-hero__title { font-size: clamp(1.9rem, 4.4vw, 3.25rem); font-weight: 900; letter-spacing: 0.06em; margin-bottom: 18px; }
.page-hero__lead { max-width: 40em; color: #e0e0e0; margin: 0; }

/* ---------- clinic ---------- */
.features { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.features li { grid-column: span 2; border-top: 1px solid rgba(255, 255, 255, 0.35); padding-top: 22px; }
.features li:nth-child(4) { grid-column: 2 / span 2; }
.features h3 { font-size: 1.15rem; margin-bottom: 10px; }
.features p { color: #d6d6d6; margin: 0; font-size: 15px; }

.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.flow li { position: relative; padding: 28px 22px 24px; background: var(--black); border: 1px solid var(--line); border-radius: var(--radius); }
.flow__n { font-family: var(--font-en); font-weight: 700; font-size: 3.5rem; line-height: 1; color: var(--gold); display: block; margin-bottom: 12px; }
.flow h3 { font-size: 1.1rem; margin-bottom: 8px; }
.flow p { font-size: 14px; color: #cfcfcf; margin: 0; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -12px; width: 8px; height: 8px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: translateY(-50%) rotate(45deg); }

.insurance { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.insurance__item { padding: 24px 28px; border: 1px solid var(--gold); border-radius: var(--radius); }
.insurance__item h3 { color: var(--gold); margin-bottom: 6px; font-size: 1.2rem; }
.insurance__item p { margin: 0; }

.prices { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.price-table { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.price-table h3 { font-size: 1.35rem; }
.price-table__empty { margin: 20px 0 0; padding: 20px; background: var(--paper); color: var(--ink-muted); }

.equip h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.equip h3 small { display: block; font-family: var(--font-en); font-weight: 600; font-size: 15px; color: var(--gold); letter-spacing: 0.06em; }
.equip p { font-size: 15px; color: #d6d6d6; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split__img { aspect-ratio: 4 / 5; }
.split .sec-head__en { font-size: clamp(2.5rem, 5vw, 4.25rem); }
.checks { list-style: none; margin: 24px 0 0; }
.checks li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

.partner { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 40px; align-items: start; }
.partner .sec-head { margin-bottom: 0; }
.partner .sec-head__en { font-size: clamp(2.5rem, 5vw, 4rem); }
.partner__name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }

/* ---------- contact ---------- */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.way { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.way--main { border-color: var(--gold); }
.way h3 { font-family: var(--font-en); font-weight: 700; font-size: 2rem; letter-spacing: 0.04em; }
.way p { color: #d6d6d6; margin: 0; flex: 1; }
.way .way__tel { font-family: var(--font-en); font-weight: 700; font-size: 2.2rem; color: var(--white); line-height: 1.1; }

.hours-wrap.has-schedule { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.hours { background: var(--white); text-align: center; table-layout: fixed; }
.hours th, .hours td { border: 1px solid #d6d6d2; padding: 14px 4px; }
.hours th { background: var(--ink); color: var(--white); font-family: var(--font-head); }
.hours td { font-family: var(--font-en); font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.hours td.is-closed { font-family: var(--font-head); font-size: 1rem; color: #b42318; }
.schedule figcaption { font-family: var(--font-head); font-weight: 700; margin-bottom: 8px; }
.schedule img { border: 1px solid #d6d6d2; }

.access { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.access__map { aspect-ratio: 4 / 3; background: var(--panel-2); }
.access__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.access__list { margin: 0; }
.access__list > div { display: grid; grid-template-columns: 4em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.access__list > div:first-child { border-top: 1px solid var(--line); }
.access__list dt { font-family: var(--font-head); font-weight: 700; color: var(--gold); }
.access__list dd { margin: 0; }

.form-area input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.form-area textarea,
.form-area select { width: 100%; padding: 14px; background: var(--black); color: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.form-area input[type="submit"] { background: var(--gold); color: var(--black); border: 0; padding: 16px 40px; font-weight: 700; border-radius: var(--radius); cursor: pointer; }

/* ---------- news list / article ---------- */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.cat-nav a { padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; text-decoration: none; }
.cat-nav a[aria-current="page"], .cat-nav a:hover { border-color: var(--gold); color: var(--gold); }

.post-list { list-style: none; border-top: 1px solid var(--line); }
.post-item a { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-item__img { width: 200px; aspect-ratio: 3 / 2; object-fit: cover; flex-shrink: 0; }
.post-item__body { display: flex; flex-direction: column; gap: 6px; }
.post-item time { font-family: var(--font-en); font-weight: 600; font-size: 17px; color: var(--gold); }
.post-item__title { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.5; }
.post-item__excerpt { font-size: 14px; color: var(--muted); }
.post-item a:hover .post-item__title { text-decoration: underline; text-underline-offset: 4px; }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); text-decoration: none; font-family: var(--font-en); font-weight: 600; }
.pagination .current { background: var(--gold); color: var(--black); border-color: var(--gold); }

.article__meta { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.article__meta time { font-family: var(--font-en); font-weight: 600; font-size: 18px; color: var(--gold); }
.tag { font-size: 13px; padding: 2px 12px; border: 1px solid var(--gold); border-radius: 999px; text-decoration: none; }
.article__title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.5; }
.article__thumb { margin-bottom: 32px; }

.entry { font-size: 16px; line-height: 2; }
.entry > * + * { margin-top: 1.4em; }
.entry h2 { font-size: 1.5rem; padding-bottom: 8px; border-bottom: 2px solid currentColor; margin-top: 2.2em; }
.entry h3 { font-size: 1.25rem; margin-top: 2em; }
.entry ul, .entry ol { padding-left: 1.5em; }
.entry a { color: var(--gold); }
.sec--light .entry a { color: var(--gold-dark); }
.entry img { border-radius: var(--radius); }
.entry table th, .entry table td { border: 1px solid #d6d6d2; padding: 10px 12px; }
.entry .wp-block-button__link { background: var(--gold); color: var(--black); border-radius: var(--radius); font-weight: 700; }
.entry .wp-block-file a:not(.wp-block-file__button) { word-break: break-all; }

.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #d6d6d2; }
.article-nav a { text-decoration: none; font-weight: 700; color: var(--ink); }
.back { margin-top: 32px; text-align: center; }
.sec--light .text-link { color: var(--gold-dark); }
.sec--light .text-link:hover { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(32px, 4vw, 64px); padding-bottom: 48px; }
.site-footer__name { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 900; font-size: 1.25rem; letter-spacing: 0.08em; margin-bottom: 16px; }
.site-footer__brand p, .site-footer__brand address { color: var(--muted); }
.site-footer__label { font-family: var(--font-head); font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.mini-hours { margin: 0; display: grid; gap: 2px; }
.mini-hours div { display: grid; grid-template-columns: 2em 1fr; color: var(--muted); }
.mini-hours dt { color: var(--white); }
.mini-hours dd { margin: 0; }
.site-footer__tel { display: block; font-family: var(--font-en); font-weight: 700; font-size: 2rem; text-decoration: none; margin-bottom: 14px; letter-spacing: 0.04em; }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.site-footer__copy { padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; margin-block: 0; }

.fixed-cta { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.gnav__tel { display: none; }
	.gnav, .gnav__list { gap: 20px; }
	.gnav { margin-right: 20px; }
	.header-cta { min-width: 0; padding: 0 20px; }
	.staff-grid { grid-template-columns: repeat(3, 1fr); }
	.features { grid-template-columns: 1fr 1fr; }
	.features li, .features li:nth-child(4) { grid-column: auto; }
	.flow { grid-template-columns: 1fr 1fr; }
	.flow li:nth-child(2)::after { display: none; }
}

@media (max-width: 860px) {
	:root { --header-h: 64px; }
	.sp-only { display: inline; }

	.brand__mark { width: 38px; height: 38px; font-size: 22px; }
	.brand__name { font-size: 16px; }
	.brand__sub { font-size: 11px; }
	.header-cta { display: none; }

	.menu-toggle {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
		width: 64px; height: 100%; background: var(--gold); color: var(--black); border: 0; cursor: pointer;
	}
	.menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform 0.2s, background-color 0.2s; }
	.menu-toggle__bar::before, .menu-toggle__bar::after { content: ""; position: absolute; left: 0; }
	.menu-toggle__bar::before { top: -7px; }
	.menu-toggle__bar::after { top: 7px; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__bar { background: transparent; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
	.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }
	.menu-toggle__label { font-size: 10px; font-weight: 700; letter-spacing: 0.05em; }

	.gnav {
		position: fixed; inset: var(--header-h) 0 0; margin: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 24px var(--gutter) 120px; background: var(--black);
		overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity 0.2s, visibility 0.2s;
	}
	.gnav.is-open { visibility: visible; opacity: 1; }
	.gnav__list { flex-direction: column; gap: 0; }
	.gnav__list a { font-size: 1.25rem; padding: 18px 0; border-bottom: 1px solid var(--line); }
	.gnav__list a:hover { border-bottom-color: var(--line); color: var(--gold); }
	.gnav .gnav__line { display: flex; margin-top: 32px; }
	.gnav__tel { display: block; margin-top: 20px; font-size: 2rem; text-align: center; }

	.hero { align-items: flex-end; min-height: calc(100svh - var(--header-h) - 64px); }
	.hero__number { font-size: 70vw; right: -0.06em; top: 2%; bottom: auto; -webkit-text-stroke: 1.5px rgba(212, 166, 42, 0.45); }
	.spec th { width: 58%; }
	.hero .btn-row .btn { flex: 1 1 100%; }

	.clinic-bar__inner { grid-template-columns: 88px 1fr; gap: 16px; }
	.clinic-bar__go { grid-column: 1 / -1; text-align: center; }

	.news-row { grid-template-columns: 1fr; gap: 24px; }
	.news-list a { grid-template-columns: 1fr; gap: 2px; }

	.pillars, .courses, .duo, .trio, .prices, .insurance, .split, .partner, .access, .cols-2, .cta-band__inner, .hours-wrap.has-schedule, .site-footer__grid { grid-template-columns: 1fr; }
	.org__row--split { grid-template-columns: 1fr; }
	.rep { grid-template-columns: 1fr; }
	.rep__photo { max-width: 320px; }
	.stats { grid-template-columns: 1fr; }
	.stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
	.stat { padding: 20px 4px; }
	.steps { grid-template-columns: 1fr; }
	.staff-grid { grid-template-columns: 1fr 1fr; }
	.features { grid-template-columns: 1fr; }
	.flow { grid-template-columns: 1fr; }
	.flow li::after { display: none; }
	.split__img { aspect-ratio: 3 / 2; }
	.hours { font-size: 14px; }
	.hours th, .hours td { padding: 10px 2px; }
	.hours td { font-size: 0.9rem; }
	.post-item a { flex-direction: column; gap: 12px; }
	.post-item__img { width: 100%; }

	.fixed-cta {
		display: grid; grid-template-columns: 1fr 1.4fr;
		position: fixed; inset: auto 0 0; z-index: 90;
		padding-bottom: env(safe-area-inset-bottom);
		background: var(--black); border-top: 1px solid var(--line);
	}
	.fixed-cta a { display: grid; place-items: center; min-height: 60px; font-family: var(--font-head); font-weight: 700; text-decoration: none; }
	.fixed-cta__tel { color: var(--white); }
	.fixed-cta__line { background: var(--gold); color: var(--black); }
	body { padding-bottom: 60px; }
}

@media (max-width: 860px) and (max-height: 500px) {
	.hero { min-height: 520px; }
}

/* 横並びの曜日表を小さい画面で縦にする */
@media (max-width: 520px) {
	.hours thead { display: none; }
	.hours, .hours tbody, .hours tr { display: block; }
	.hours tbody tr { display: grid; grid-template-columns: 1fr; }
	.hours td { display: grid; grid-template-columns: 3em 1fr; text-align: left; padding: 12px 16px; border-top: 0; }
	.hours td::before { content: attr(data-day); font-family: var(--font-head); font-weight: 700; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
