/* ============================================================
   はたらくの窓口（hatamado.jp）— design system v2（コーポレート水準）
   色：ブランドのライトブルー #72b0cf（既存ロゴ地・看板）＋濃紺 #0d3a58（文字・帯）
       アクセントはKyoMiコーポレートブルー #0078b9（リンク・主要ボタン）
   書体：Noto Sans JP。本文16px／行間1.8／字間.02em。見出しは字間.01em・行間1.35
   余白：セクション 96px（PC）・56px（SP）。同じ意味は同じ余白
   形：角丸は写真12px・面6px・ボタン4px。影なし。1px罫線で区切る
   ============================================================ */

:root {
  --blue: #0078b9;
  --blue-deep: #005e92;
  --navy: #0d3a58;
  --sky: #72b0cf;
  --sky-pale: #eaf3f8;
  --sky-soft: #f5f8fb;
  --sky-tint: #dbe8f0;
  --bg: #ffffff;
  --ink: #1a2630;
  --text: #2f3d47;
  --muted: #6b7a85;
  --line: #d9e2e9;
  --line-2: #e8eef2;
  --line-green: #06c755;
  --line-green-deep: #04a94a;
  --danger: #c0392b;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --gutter: clamp(20px, 6vw, 120px);
  --r-photo: 12px;
  --r-panel: 6px;
  --r-btn: 4px;
  --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px;
  --sec: clamp(56px, 6.5vw, 96px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 16px; line-height: 1.8; letter-spacing: .02em; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; font-feature-settings: "palt"; }
img, svg, video, iframe { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); word-break: normal; overflow-wrap: anywhere; line-break: strict; font-weight: 700; letter-spacing: .01em; line-height: 1.35; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); font-weight: 500; line-height: 1.5; }
h3 { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.5; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: rgba(0, 120, 185, .15); }

/* ---------- layout ---------- */
.wrap { width: 100%; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); }
.section--tint { background: var(--sky-soft); }
.section--pale { background: var(--sky-pale); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px clamp(24px, 4vw, 64px); align-items: end; margin-bottom: var(--s4); }
.section-head > h2 { grid-column: 1; }
.section-head .lead { grid-column: 2; max-width: 34em; padding-bottom: 6px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head .lead { grid-column: 1; padding-bottom: 0; } }
.kicker { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.kicker::before { content: none; }
.lead { color: var(--text); }
.lead--lg { font-size: clamp(1rem, .95rem + .25vw, 1.1rem); }
.measure { max-width: 42em; }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.split { display: grid; gap: clamp(24px, 4vw, 72px); align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.split > .split__text { max-width: 40em; align-self: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn); font-weight: 700; font-size: .95rem; letter-spacing: .02em; white-space: nowrap; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--line { background: var(--line-green); color: #fff; border-color: var(--line-green); }
.btn--line:hover { background: var(--line-green-deep); border-color: var(--line-green-deep); }
.btn--blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--blue:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--outline { background: #fff; color: var(--ink); border-color: #b9c7d1; }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.link-arrow { color: var(--blue); font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: 4px; }
.link-arrow::after { content: "›"; font-size: 1.15em; line-height: 1; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* 仮置き（確認中）の目印。公開時に全数除去 */
.tbd { display: inline-block; font-size: .72rem; font-weight: 500; color: #9a6b1f; border: 1px dashed #d9b77a; border-radius: 3px; padding: 0 5px; line-height: 1.6; vertical-align: middle; margin-left: 6px; background: #fff; letter-spacing: .02em; }
.tbd-block { border: 1px dashed #d9b77a; background: #fffdf7; color: #7a5a1f; padding: 12px 14px; border-radius: var(--r-panel); font-size: .9rem; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line-2); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 76px; padding-inline: clamp(20px, 3vw, 48px); }
.header__logo { display: flex; align-items: center; flex: none; }
.logo-plate { display: inline-flex; align-items: center; background: var(--sky); border-radius: 4px; padding: 9px 14px; }
.logo-plate img { height: 24px; width: auto; }
.header__logo .logo-text { font-weight: 700; color: var(--ink); font-size: 1.1rem; letter-spacing: .04em; line-height: 1.2; }
.header__nav { display: flex; gap: 0; margin-left: auto; }
.header__nav a { padding: 10px 11px; font-size: .9rem; font-weight: 500; color: var(--ink); position: relative; white-space: nowrap; }
.header__nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.header__nav a:hover::after, .header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__cta { display: flex; gap: 8px; flex: none; }
.header__cta .btn { min-height: 42px; padding: 0 16px; font-size: .9rem; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.menu-btn span { width: 22px; height: 2px; background: var(--ink); display: block; transition: transform .3s var(--ease), opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.drawer { display: none; position: fixed; inset: 0; z-index: 45; background: #fff; padding: 84px var(--gutter) 40px; overflow-y: auto; flex-direction: column; justify-content: flex-start; }
.drawer[data-open="true"] { display: flex; }
.drawer a.drawer__link { display: block; padding: 15px 0; border-bottom: 1px solid var(--line-2); font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.drawer__cta { display: grid; gap: 10px; margin-top: 22px; }
@media (max-width: 1500px) { .header__cta .btn--outline { display: none; } }
@media (max-width: 1080px) { .header__nav { display: none; } .menu-btn { display: flex; } .header__cta { margin-left: auto; } }
@media (max-width: 480px) { .header__in { gap: 8px; padding-inline: 14px; min-height: 60px; } .logo-plate { padding: 7px 10px; } .logo-plate img { height: 18px; } .header__cta .btn { padding: 0 12px; font-size: .84rem; min-height: 38px; gap: 6px; } .header__cta .btn svg { width: 16px; height: 16px; } .menu-btn { width: 40px; height: 40px; } .drawer { padding-top: 72px; } }

/* ---------- hero ---------- */
.hero { position: relative; background: #fff; border-bottom: 1px solid var(--line-2); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: var(--s5) 0 var(--s5) var(--gutter); }
.hero__text { max-width: 36em; }
.hero__kicker { font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; margin-bottom: var(--s2); }
.hero__h1 { font-size: clamp(1.6rem, .9rem + 2vw, 2.75rem); line-height: 1.38; letter-spacing: .01em; color: var(--ink); margin-bottom: 14px; }
.hero__h1 .ln { display: block; white-space: nowrap; }
.hero__sub { font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); font-weight: 700; color: var(--blue-deep); letter-spacing: .02em; margin-bottom: 14px; }
.hero__point { font-size: .95rem; color: var(--text); margin-bottom: var(--s3); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero__branch { display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.hero__branch a { padding: 6px 14px 6px 0; margin-right: 14px; font-size: .9rem; font-weight: 700; color: var(--blue); border-right: 1px solid var(--line); line-height: 1.4; }
.hero__branch a:last-child { border-right: 0; margin-right: 0; }
.hero__branch a[aria-current="page"] { color: var(--ink); }
.hero__branch a::after { content: " \203A"; }
.hero__visual { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-photo) 0 0 var(--r-photo); background: var(--sky-tint); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) {
  .hero__in { grid-template-columns: 1fr; padding: 0 0 36px; gap: 24px; }
  .hero__text { padding-inline: var(--gutter); }
  .hero__visual { order: -1; border-radius: 0; aspect-ratio: 16 / 10; }
  .hero__h1 { font-size: clamp(1.35rem, 5.6vw, 2rem); }
  .hero__cta .btn { flex: 1 1 100%; }
}
@media (max-width: 560px) { .hero__branch a { flex: 1 1 45%; margin-right: 0; padding-right: 8px; } .hero__branch a:nth-child(2n) { border-right: 0; } }
.self-link { margin-top: 6px; font-size: .9rem; }

/* ---------- strengths ---------- */
.strength { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.strength__item { padding: var(--s3) clamp(20px, 2.5vw, 36px) var(--s3) 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.strength__item + .strength__item { padding-left: clamp(20px, 2.5vw, 36px); border-left: 1px solid var(--line); }
.strength__num { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.strength__label { font-size: 1.15rem; }
.strength__value { font-size: 2.2rem; font-weight: 700; line-height: 1.2; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.strength__text { font-size: .95rem; }
@media (max-width: 800px) { .strength__item + .strength__item { padding-left: 0; border-left: 0; } .strength__item { padding-right: 0; } }

/* ---------- entry cards ---------- */
.entry { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.entry__card { display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; transition: border-color .2s; }
.entry__card:hover { border-color: var(--ink); }
.entry__card figure { aspect-ratio: 16 / 10; background: var(--sky-tint); overflow: hidden; }
.entry__card img { width: 100%; height: 100%; object-fit: cover; }
.entry__body { padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.entry__card--text .entry__body { padding: var(--s3); gap: 8px; }
.entry__num { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.entry__body h3 { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 1rem; }
.entry__body h3::after { content: "›"; color: var(--blue); font-size: 1.3em; line-height: 1; }
.entry__body p { font-size: .9rem; color: var(--muted); }

/* ---------- concept diagram ---------- */
.fit { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.fit__box { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--r-panel); padding: 20px 20px 18px; display: grid; gap: 6px; align-content: start; }
.fit__box h4 { color: var(--ink); font-size: 1rem; }
.fit__box p { font-size: .9rem; color: var(--text); }
.fit__x { display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; color: var(--muted); }
.fit__result { grid-column: 1 / -1; text-align: center; padding: 12px 16px; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); margin-top: 4px; }
.fit__result::before { content: none; }
@media (max-width: 560px) { .fit { grid-template-columns: 1fr; } .fit__x { padding: 2px 0; } }

.support { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.support__item { padding: var(--s3) clamp(18px, 2vw, 28px) var(--s3) 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.support__item + .support__item { padding-left: clamp(18px, 2vw, 28px); border-left: 1px solid var(--line); }
.support__num { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.support__item h3 { font-size: 1.05rem; }
.support__item p { font-size: .92rem; }
@media (max-width: 800px) { .support__item + .support__item { padding-left: 0; border-left: 0; } .support__item { padding-right: 0; } }

/* ---------- photo blocks ---------- */
.photo { border-radius: var(--r-photo); overflow: hidden; background: var(--sky-tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--43 { aspect-ratio: 4 / 3; }
.photo--32 { aspect-ratio: 3 / 2; }
.photo-frame { position: relative; }
.photo-frame::before { content: none; }

/* ---------- routes / steps ---------- */
.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.route { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: var(--s3) var(--s3) var(--s2); }
.route h3 { margin-bottom: 6px; }
.route > p { font-size: .92rem; margin-bottom: 14px; color: var(--text); }
.steps { display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 10px 0 10px 38px; border-top: 1px solid var(--line-2); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 11px; width: 26px; height: 26px; border: 1px solid var(--blue); color: var(--blue); border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .78rem; background: #fff; }
.steps li strong { display: block; color: var(--ink); font-size: .95rem; }
.steps li span { font-size: .88rem; color: var(--muted); display: block; }

.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 0; counter-reset: flow; }
.flow__item { position: relative; padding: 16px 16px 16px 0; counter-increment: flow; }
.flow__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.flow__item::after { content: ""; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.flow__num { font-size: .75rem; color: var(--muted); font-weight: 700; letter-spacing: .08em; }
.flow__num::before { content: counter(flow, decimal-leading-zero); }
.flow__item h3 { font-size: .98rem; margin: 2px 0 4px; }
.flow__item p { font-size: .88rem; color: var(--muted); }
.flow__time { font-weight: 700; color: var(--ink); font-size: .9rem; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } .flow__item { padding: 2px 0 16px 24px; } .flow__item::before { left: 4px; top: 0; bottom: 0; width: 1px; height: auto; right: auto; } .flow__item::after { top: 6px; left: 0; } }

/* ---------- CTA bands ---------- */
.cta-band { background: var(--navy); color: #fff; border-radius: var(--r-panel); padding: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 40px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); margin-bottom: 4px; }
.cta-band p { color: #c9d9e5; font-size: .92rem; }
.cta-band__btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } .cta-band__btns .btn { flex: 1 1 100%; } }

.final { background: var(--sky-soft); border-top: 1px solid var(--line-2); }
.final .section-head { grid-template-columns: 1fr; }
.final__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.final__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: var(--s3); display: grid; gap: var(--s2); align-content: start; }
.final__card h3 { font-size: 1.02rem; }
.final__card p { font-size: .9rem; color: var(--muted); }

/* ---------- voices ---------- */
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.voice { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: var(--s3); display: grid; gap: 10px; align-content: start; }
.voice::before { content: none; }
.voice__meta { font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.voice__text { font-size: .92rem; }
.voice__text.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.voice__more { justify-self: start; color: var(--blue); font-weight: 700; font-size: .88rem; padding: 2px 0; }
.voice__more::after { content: " \203A"; }

/* ---------- schools ---------- */
.schools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.school { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: border-color .2s; }
.school:hover { border-color: var(--ink); }
.school figure { aspect-ratio: 16 / 10; background: var(--sky-tint); overflow: hidden; }
.school img { width: 100%; height: 100%; object-fit: cover; }
.school__body { padding: var(--s2) var(--s3) var(--s3); display: grid; gap: 4px; align-content: start; }
.school__area { font-size: .76rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; }
.school__body h3 { font-size: 1.05rem; }
.school__addr { font-size: .88rem; color: var(--muted); }
.school__tel { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; display: block; }
.school__links { display: flex; gap: 14px; margin-top: 4px; font-size: .88rem; }
.school .link-arrow { margin-top: 4px; font-size: .88rem; }
.area-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.area-nav a { font-weight: 700; color: var(--blue); padding: 6px 0; font-size: .95rem; }
.area-h { margin: var(--s5) 0 var(--s3); font-size: 1.2rem; }
.area-h:first-of-type { margin-top: 0; }
.school-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(20px, 2.6vw, 32px); }
.school-detail h3 { font-size: 1.05rem; }
.dl { display: grid; grid-template-columns: minmax(7em, max-content) 1fr; gap: 6px 16px; font-size: .92rem; }
.dl dt { color: var(--muted); font-weight: 500; }
.dl dd { color: var(--ink); }
.map iframe { display: block; height: 380px; border-radius: var(--r-panel); background: var(--sky-tint); }  /* 共通の iframe{height:auto} が height 属性を打ち消していた（2026-10-04 監査） */
@media (max-width: 760px) { .school-detail { grid-template-columns: 1fr; } .map iframe { height: 260px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 26px 1fr 24px; gap: 12px; align-items: start; padding: 16px 0; font-weight: 700; color: var(--ink); font-size: .98rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { color: var(--blue); font-weight: 700; }
.faq summary .plus { position: relative; width: 22px; height: 22px; margin-top: 2px; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq summary .plus::before { width: 12px; height: 1.5px; }
.faq summary .plus::after { width: 1.5px; height: 12px; }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq .a { padding: 0 0 18px; font-size: .92rem; display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.faq .a .al { color: var(--muted); font-weight: 700; }

/* ---------- media / news ---------- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.media-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.media-card figure { aspect-ratio: 16 / 9; background: var(--sky-tint); display: grid; place-items: center; color: var(--muted); overflow: hidden; }
.media-card figure img { width: 100%; height: 100%; object-fit: cover; }
.media-card__body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.media-card__body h3 { font-size: 1rem; }
.news { border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); }
.news a { display: grid; grid-template-columns: 6.5em 6em 1fr; gap: 16px; align-items: baseline; padding: 14px 0; }
.news a:hover .ttl { text-decoration: underline; }
.news time { font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.news .cat { font-size: .8rem; color: var(--blue); font-weight: 700; }
.news .ttl { color: var(--ink); font-weight: 500; font-size: .95rem; }
@media (max-width: 560px) { .news a { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- article ---------- */
.article { max-width: 44em; }
.article__meta { display: flex; gap: 12px; font-size: .86rem; color: var(--muted); margin-bottom: 12px; }
.article__meta .cat { color: var(--blue); font-weight: 700; }
.article__body { display: grid; gap: 16px; margin-top: 24px; }
.article__body h2 { font-size: 1.2rem; padding-left: 12px; border-left: 3px solid var(--blue); margin-top: 8px; }
.article__body p { font-size: .98rem; }

/* ---------- table ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; border-top: 1px solid var(--line); }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { width: 9em; color: var(--muted); font-weight: 500; background: var(--sky-soft); }
@media (max-width: 560px) { .table th, .table td { display: block; width: auto; } .table th { border-bottom: 0; padding-bottom: 2px; } }

/* ---------- staff ---------- */
.staff { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.staff__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 10px; align-content: start; }
.staff__name { display: grid; gap: 2px; }
.staff__name strong { color: var(--ink); font-size: 1rem; }
.staff__name span { color: var(--muted); font-size: .82rem; }
.staff__card p { font-size: .9rem; }

/* ---------- worries ---------- */
.worries { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.worries li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: 14px 16px 14px 38px; position: relative; font-weight: 500; color: var(--ink); font-size: .95rem; }
.worries li::before { content: ""; position: absolute; left: 16px; top: 21px; width: 9px; height: 9px; border-radius: 50%; background: var(--sky); }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; max-width: 44em; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.field .req { font-size: .7rem; color: var(--danger); font-weight: 700; border: 1px solid var(--danger); border-radius: 3px; padding: 0 5px; line-height: 1.6; }
.field .opt { font-size: .7rem; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 5px; line-height: 1.6; }
.field .help { font-size: .82rem; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #b9c7d1; border-radius: 4px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 120, 185, .12); }
.field textarea { min-height: 140px; resize: vertical; }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--danger); }
.field .err { display: none; font-size: .82rem; color: var(--danger); font-weight: 700; }
.field.is-error .err { display: block; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.radios label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; }
.consent input { margin-top: 6px; width: 16px; height: 16px; }
.form__status { display: none; padding: 12px 14px; border-radius: 4px; font-size: .92rem; font-weight: 700; }
.form__status.is-error { display: block; background: #fdeeed; color: var(--danger); border: 1px solid #f2c4c0; }
.form__status.is-ok { display: block; background: #edf8f0; color: #1c7a3e; border: 1px solid #bfe5cb; }
.hp { position: absolute; left: -9999px; }

/* ---------- page header ---------- */
.page-head { background: var(--sky-soft); border-bottom: 1px solid var(--line-2); }
.page-head__in { padding: var(--s5) var(--gutter); display: grid; gap: 12px; }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--blue); }
.crumb li + li::before { content: "›"; margin-right: 6px; color: #b9c7d1; }
.page-head h1 { margin-top: 2px; }
.page-head .lead { max-width: 44em; }
.page-head .hero__cta { margin-top: 6px; }
.page-head__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 860px) { .page-head__split { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #c9d9e5; padding: var(--s5) var(--gutter) var(--s3); }
.footer__in { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(24px, 4vw, 56px); }
.footer__brand { display: grid; gap: 12px; align-content: start; justify-items: start; }
.footer__logo .logo-plate { padding: 8px 12px; }
.footer__logo .logo-plate img { height: 20px; }
.footer__brand .name { color: #fff; font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; line-height: 1.5; }
.footer__brand .name span { display: inline-block; white-space: nowrap; }
.footer__brand .sub { font-size: .84rem; line-height: 1.8; }
.footer__brand .tel { color: #fff; font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.footer h4, .footer .footer__h { color: #fff; font-size: .84rem; line-height: 1.35; margin: 0 0 8px; letter-spacing: .06em; }
.footer li { font-size: .88rem; padding: 3px 0; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__note { margin-top: var(--s4); padding-top: var(--s2); border-top: 1px solid rgba(255, 255, 255, .14); font-size: .78rem; color: #9fb4c4; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
.footer__note a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .footer__in { grid-template-columns: 1fr; } }

/* ---------- floating LINE / SP bar ---------- */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 40; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.float-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
.float-cta .btn { min-height: 52px; padding: 0 20px; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .35); }
.sp-bar { display: none; }
@media (max-width: 760px) {
  .float-cta { display: none; }
  .sp-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); }
  .sp-bar .btn { min-height: 48px; padding: 0 10px; font-size: .92rem; }
  body { padding-bottom: 74px; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .06s; } .reveal-d2 { transition-delay: .12s; } .reveal-d3 { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- misc ---------- */
.note { font-size: .84rem; color: var(--muted); }
.divider { height: 1px; background: var(--line); margin: clamp(20px, 3vw, 36px) 0; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: var(--s3); } .mt-3 { margin-top: var(--s5); }
.stack { display: grid; gap: 12px; }
.badge-list { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--ink); font-weight: 500; }
.badge-list li { display: inline-flex; align-items: center; gap: 8px; }
.badge-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* 差し替え対象写真の番号（サンプル写真の目印。本番写真に差し替え後に外す） */
.photo, .school figure, .entry__card figure, .hero__visual { position: relative; }
.pn { position: absolute; left: 10px; bottom: 10px; z-index: 2; font-size: .7rem; font-weight: 700; line-height: 1; letter-spacing: .08em; color: #fff; background: rgba(13, 58, 88, .5); padding: 6px 8px; border-radius: 3px; pointer-events: none; font-variant-numeric: tabular-nums; }

/* ---------- FV直下の対象別入口（大型2＋小型2） ---------- */
.audience { border-top: 1px solid var(--line-2); background: #fff; }
.audience__in { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0; align-items: stretch; }
.audience__big { display: grid; gap: 4px; padding: var(--s3) clamp(20px, 2.5vw, 36px) var(--s3) 0; border-right: 1px solid var(--line); margin-right: clamp(20px, 2.5vw, 36px); position: relative; }
.audience__big:nth-child(2) { padding-left: 0; }
.audience__sub { font-size: .82rem; color: var(--muted); }
.audience__name { font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.audience__name::after { content: "\2192"; color: var(--blue); font-size: 1.1em; transition: transform .2s var(--ease); }
.audience__big:hover .audience__name::after { transform: translateX(4px); }
.audience__small { display: grid; align-content: center; gap: 8px; padding: 20px 0; min-width: 14em; }
.audience__small a { font-size: .92rem; font-weight: 700; color: var(--blue); }
.audience__small a::after { content: " \203A"; }
@media (max-width: 860px) { .audience__in { grid-template-columns: 1fr 1fr; } .audience__big { padding: 18px 14px 18px 0; margin-right: 14px; } .audience__big:nth-child(2) { border-right: 0; margin-right: 0; } .audience__small { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; gap: 24px; padding: 12px 0 18px; border-top: 1px solid var(--line-2); } }
@media (max-width: 480px) { .audience__small { grid-auto-flow: row; gap: 6px; } }


/* ---------- 校舎ページ：見学枠 ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px clamp(20px, 3vw, 40px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(20px, 2.6vw, 32px); margin-top: clamp(16px, 2vw, 24px); }
.visit h3, .visit h2 { font-size: 1.05rem; line-height: 1.35; }
#school > .wrap > h2.mt-3 { font-size: var(--t-h3); line-height: 1.5; }
.visit__btns { display: grid; gap: 10px; }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }

/* v3 微調整 */
.split > .fit { align-self: center; }
.visit .dl { grid-template-columns: 10em 1fr; }
@media (max-width: 560px) { .audience__in { grid-template-columns: 1fr; } .audience__big { padding: 16px 0; margin-right: 0; border-right: 0; border-bottom: 1px solid var(--line-2); } .audience__small { padding: 14px 0 18px; border-top: 0; } .visit .dl { grid-template-columns: 1fr; gap: 2px 0; } }

/* ---------- 支援の考え方：箱をやめ、罫線と大きな文字の図に（hoverで軸が立つ） ---------- */
.fit { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0 clamp(20px, 3vw, 48px); align-items: stretch; border-top: 1px solid var(--line); }
.fit__box { position: relative; padding: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 36px); display: grid; gap: 10px; align-content: start; background: none; border: 0; border-radius: 0; transition: transform .35s var(--ease); }
.fit__box::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 2px; background: var(--blue); transition: width .5s var(--ease); }
.fit:hover .fit__box::before, .fit:focus-within .fit__box::before { width: 100%; }
.fit__label { font-size: .8rem; font-weight: 700; color: var(--blue); letter-spacing: .06em; }
.fit__box h4 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 500; line-height: 1.4; color: var(--ink); }
.fit__box p { font-size: .95rem; color: var(--text); }
.fit__x { align-self: center; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); font-weight: 300; color: #b9c7d1; transition: color .35s, transform .5s var(--ease); }
.fit:hover .fit__x { color: var(--blue); transform: rotate(90deg); }
.fit__result { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 18px; padding: clamp(18px, 2.4vw, 28px) 0 0; border-top: 1px solid var(--line); margin-top: 0; text-align: left; font-weight: 400; color: var(--ink); }
.fit__result::before { content: none; }
.fit__result strong { font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem); font-weight: 700; color: var(--ink); transition: color .35s; }
.fit:hover .fit__result strong { color: var(--blue-deep); }
@media (max-width: 560px) { .fit { grid-template-columns: 1fr; } .fit__x { justify-self: start; padding: 0; line-height: 1; margin: -6px 0; } .fit__result { flex-direction: column; gap: 4px; } }

/* ---------- マウスオーバーの動き（押せるものは反応する） ---------- */
.strength__item, .support__item { transition: background .3s; }
.strength__item:hover, .support__item:hover { background: var(--sky-soft); }
.strength__num, .support__num { transition: color .3s; }
.strength__item:hover .strength__num, .support__item:hover .support__num { color: var(--blue); }
.audience__big { transition: background .3s; }
.audience__big:hover { background: var(--sky-soft); }
.audience__small a { transition: transform .25s var(--ease); display: inline-block; }
.audience__small a:hover { transform: translateX(4px); }
.entry__card, .school, .media-card { transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.entry__card:hover, .school:hover, .media-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -20px rgba(13, 58, 88, .35); }
.school img, .entry__card img, .yt__photo img, .photo img { transition: transform .8s var(--ease); }
.school:hover img, .entry__card:hover img { transform: scale(1.04); }
.route, .voice, .final__card, .staff__card, .worries li { transition: border-color .25s, transform .35s var(--ease); }
.route:hover, .voice:hover, .final__card:hover, .staff__card:hover, .worries li:hover { border-color: var(--sky); transform: translateY(-2px); }
.steps li { transition: padding-left .3s var(--ease); }
.steps li:hover { padding-left: 44px; }
.steps li:hover::before { background: var(--blue); color: #fff; }
.steps li::before { transition: background .3s, color .3s; }
.flow__item { transition: transform .35s var(--ease); }
.flow__item:hover { transform: translateY(-3px); }
.flow__item:hover::after { transform: scale(1.4); }
.flow__item::after { transition: transform .3s var(--ease); }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--blue); }
.faq summary:hover .plus::before, .faq summary:hover .plus::after { background: var(--blue); }
.header__nav a { transition: color .2s; }
.header__nav a:hover { color: var(--blue); }
.btn { transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(13, 58, 88, .5); }
.btn:active { transform: translateY(0); box-shadow: none; }
.news a { transition: background .2s, padding-left .3s var(--ease); }
.news a:hover { background: var(--sky-soft); padding-left: 8px; }
.footer a { transition: color .2s, transform .25s var(--ease); display: inline-block; }
.footer li a:hover { transform: translateX(3px); }
.yt__video { transition: transform .35s var(--ease), box-shadow .35s; }
.yt__video:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -20px rgba(13, 58, 88, .4); }
@media (prefers-reduced-motion: reduce) { .fit *, .btn, .school, .entry__card, .media-card, .route, .voice, .flow__item, .steps li, .yt__video { transition: none !important; transform: none !important; } }

.strength { margin-top: 0; }
@media (max-width: 760px) { :root { --s5: 48px; --s6: 64px; } }

/* 余白の詰め：通所の1日は写真の高さに合わせて縦一列、最終CTAは高さを揃えない */
.split .flow { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.split .flow__item { display: grid; grid-template-columns: 3.5em 5em 1fr; align-items: baseline; gap: 0 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.split .flow__item::before, .split .flow__item::after { content: none; }
.split .flow__item h3 { margin: 0; font-size: 1rem; }
.split .flow__time { font-size: .92rem; }
.split .flow__num { font-size: .75rem; }
.split .flow__item:hover { transform: none; background: var(--sky-soft); }
.final__in { align-items: start; }
.cta-band { margin-block: 0; }
@media (max-width: 560px) { .split .flow__item { grid-template-columns: 3em max-content 1fr; } }

/* ---------- YouTube受け皿：ヒーローと同じグリッド・文字組み・写真処理 ---------- */
.yt { background: #fff; border-bottom: 1px solid var(--line-2); }
.yt__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: var(--s5) 0 var(--s5) var(--gutter); }
.yt__text { max-width: 36em; }
.yt__h2 { font-size: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); font-weight: 700; line-height: 1.4; letter-spacing: .01em; color: var(--ink); margin-bottom: 14px; }
.yt__text .hero__point { max-width: 34em; }
.yt__visual { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-photo) 0 0 var(--r-photo); background: var(--sky-tint); }
.yt__visual img { width: 100%; height: 100%; object-fit: cover; }
.yt__caption { position: absolute; left: 0; bottom: 0; padding: 10px 14px; font-size: .8rem; color: #fff; background: linear-gradient(90deg, rgba(13,58,88,.7), rgba(13,58,88,0)); width: 100%; letter-spacing: .04em; }
.yt__visual .pn { bottom: auto; top: 10px; }
.yt__videos { padding-bottom: var(--s5); }
.yt__videos .hero__kicker { margin-bottom: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); }
.yt__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--s3); }
.yt__video { aspect-ratio: 16 / 9; border-radius: var(--r-panel); overflow: hidden; background: var(--sky-tint); transition: transform .35s var(--ease), box-shadow .35s; }
.yt__video:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -20px rgba(13, 58, 88, .4); }
.yt__video iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 1000px) {
  .yt__in { grid-template-columns: 1fr; padding: 0 0 var(--s4); gap: var(--s3); }
  .yt__text { padding-inline: var(--gutter); }
  .yt__visual { order: -1; border-radius: 0; aspect-ratio: 16 / 10; }
  .yt__text .hero__cta .btn { flex: 1 1 100%; }
}

/* ===== 文字の尺度（全ページ共通・ここが正） =====
   表示見出し 44/1.35/700 ／ 節見出し 32/1.4/700 ／ 小見出し 20/1.5/700
   キッカー 13/700/灰 ／ リード 17/1.8 ／ 本文 16/1.8 ／ 小 14/1.7 ／ 字間はすべて .02em
   段落間隔：キッカー→見出し16、見出し→リード16、リード→ボタン24、段落同士24 */
:root { --t-display: clamp(1.75rem, 1.1rem + 1.8vw, 2.75rem); --t-h2: clamp(1.5rem, 1.15rem + .9vw, 2rem); --t-h3: 1.25rem; --t-lead: 1.0625rem; --t-body: 1rem; --t-small: .875rem; --t-kicker: .8125rem; }
h1, h2, h3, h4, .hero__h1, .yt__h2, .section-head > h2, .prose h2 { letter-spacing: .02em; font-weight: 700; }
.hero__h1 { font-size: var(--t-display); line-height: 1.35; margin-bottom: var(--s2); }
h2, .section-head > h2, .prose h2, .yt__h2 { font-size: var(--t-h2); line-height: 1.4; margin-bottom: 0; }
.yt__h2 { margin-bottom: var(--s2); }
h3 { font-size: var(--t-h3); line-height: 1.5; }
.hero__kicker, .kicker, .strength__num, .support__num, .entry__num, .flow__num, .audience__sub, .voice__meta, .school__area, .news .cat, .article__meta { font-size: var(--t-kicker); font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.hero__kicker, .kicker { margin-bottom: var(--s2); }
.hero__sub { font-size: var(--t-lead); font-weight: 700; color: var(--blue-deep); letter-spacing: .02em; margin-bottom: var(--s2); }
.lead, .lead--lg, .hero__text .lead, .yt__text .lead, .page-head .lead, .section-head .lead, .prose .lead { font-size: var(--t-lead); line-height: 1.8; letter-spacing: .02em; color: var(--text); }
.hero__text .lead, .yt__text .lead { margin-bottom: var(--s3); max-width: 34em; }
.strength__text, .support__item p, .voice__text, .route > p, .faq .a, .terms dt, .terms dd, .steps li strong, .flow__item h3 { font-size: var(--t-body); line-height: 1.8; letter-spacing: .02em; }
.note, .school__addr, .footer__brand .sub, .footer li, .crumb, .field .help { font-size: var(--t-small); line-height: 1.7; letter-spacing: .02em; }
.audience__name { font-size: var(--t-h3); }

/* ===== 編集記事型（支援の考え方・連携）：左に見出し、右に本文と用語 ===== */
.prose { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s3) clamp(24px, 4vw, 64px); align-items: start; }
.prose__body { max-width: 40em; }
.prose__body > * + * { margin-top: var(--s3); }
.terms { display: grid; grid-template-columns: 8em 1fr; gap: 0 var(--s3); border-top: 1px solid var(--line); }
.terms dt, .terms dd { padding: var(--s2) 0; border-bottom: 1px solid var(--line); margin: 0; }
.terms dt { font-weight: 700; color: var(--ink); }
.terms dd { color: var(--text); }
@media (max-width: 860px) { .prose { grid-template-columns: 1fr; } .terms { grid-template-columns: 1fr; } .terms dt { border-bottom: 0; padding-bottom: 0; } .terms dd { padding-top: 4px; } }

/* ---------- 編集記事型ブロックのマウスオーバー（用語リストの行が反応する） ---------- */
.terms dt, .terms dd { transition: background .25s, color .25s, box-shadow .3s var(--ease), padding-left .3s var(--ease); }
.terms dt { padding-left: 0; }
.terms dt:hover, .terms dt:hover + dd, .terms dt:has(+ dd:hover), .terms dd:hover { background: var(--sky-soft); }
.terms dt:hover, .terms dt:has(+ dd:hover) { color: var(--blue); box-shadow: inset 3px 0 0 var(--blue); padding-left: 12px; }
.prose h2 { position: relative; }
.prose h2::after { content: ""; display: block; width: 32px; height: 2px; background: var(--blue); margin-top: 14px; transition: width .45s var(--ease); }
.prose:hover h2::after { width: 72px; }
.prose .lead { transition: color .25s; }
.prose:hover .lead:last-child { color: var(--ink); }
@media (hover: none) { .terms dt:hover, .terms dd:hover { background: none; box-shadow: none; padding-left: 0; color: inherit; } }

/* ---------- 通所の1日（縦一列）：行ごとのマウス反応 ---------- */
.split .flow__item { position: relative; cursor: default; transition: background .25s, padding-left .3s var(--ease); }
.split .flow__item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; height: auto; right: auto; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.split .flow__item:hover { background: var(--sky-soft); padding-left: 14px; transform: none; }
.split .flow__item:hover::before { transform: scaleY(1); }
.split .flow__num, .split .flow__time, .split .flow__item h3 { transition: color .25s, transform .3s var(--ease); }
.split .flow__item:hover .flow__num { color: var(--blue); }
.split .flow__item:hover .flow__time { color: var(--blue-deep); }
.split .flow__item:hover h3 { transform: translateX(4px); }
@media (hover: none) { .split .flow__item:hover { background: none; padding-left: 0; } .split .flow__item:hover::before { transform: scaleY(0); } }

.hero__sub { margin-bottom: var(--s3); }

.yt__h2 .ln { display: block; }
/* SPでも行を固定（語中で折れるのを防ぐ）。1行が収まらない幅だけ通常の折返しに戻す */
@media (max-width: 360px) { .yt__h2 .ln { white-space: normal; } }

/* 表示見出しはSPで縮める（nowrapの2行が390pxに収まるサイズ） */
@media (max-width: 1000px) { :root { --t-display: clamp(1.3rem, 5.4vw, 2rem); } }
@media (max-width: 360px) { .hero__h1 .ln { white-space: normal; } }

/* ===== v5（2026-09-21 中嶽様・irodas様のSP指摘） ===== */
/* ④ PCヘッダーの電話：番号＋受付時間。1080px以下（ハンバーガー表示）では非表示 */
.header__tel { display: inline-grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center; padding: 0 12px 0 4px; color: var(--ink); line-height: 1.2; }
.header__tel svg { grid-row: 1 / 3; width: 18px; height: 18px; color: var(--blue); }
.header__tel-num { grid-column: 2; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.header__tel-hours { grid-column: 2; font-size: .72rem; color: var(--muted); }
@media (max-width: 1080px) { .header__tel { display: none; } }
@media (max-width: 1320px) { .header__nav a { padding: 10px 8px; font-size: .86rem; } .header__in { gap: 16px; } }
/* ③ SPメニュー：ヘッダー（z50）をドロワー（z45）より上に置き、×ボタンが常に見える。下端にも「閉じる」 */
.drawer__close { margin-top: var(--s3); align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--line); border-radius: var(--r-btn); font-weight: 700; color: var(--ink); font-size: .92rem; }
.drawer__close::before { content: "\00d7"; font-size: 1.3em; line-height: 1; color: var(--muted); }
/* ② SPのYouTube受け皿：動画一覧は出さず、代表の写真＋チャンネル導線に絞る */
/* スマホ幅：最新の動画は隠さず横スクロールで見せる（2026-10-04 近藤さん指示） */
@media (max-width: 760px) {
  .yt__in { padding-bottom: var(--s4); }
  .yt__videos { padding-bottom: var(--s4); }
  .yt__grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .yt__grid::-webkit-scrollbar { display: none; }
  .yt__video { flex: 0 0 min(78vw, 320px); scroll-snap-align: start; }
}
/* 章ラベル（セクションの位置づけを短い日本語で示す） */
.section-head > .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.page-head .kicker { margin-bottom: 0; }

/* 下層ページ見出し：読点で行を固定 */
.page-head h1 .ln { display: block; white-space: nowrap; }
@media (max-width: 360px) { .page-head h1 .ln { white-space: normal; } }
/* ヘッダー：1081〜1360pxは電話を番号だけにし、ナビを詰めて1行に収める */
@media (max-width: 1360px) {
  .header__tel-hours { display: none; }
  .header__tel { grid-template-rows: auto; padding: 0 8px 0 0; }
  .header__tel svg { grid-row: auto; }
  .header__tel-num { font-size: 1rem; }
  .header__nav a { padding: 10px 6px; font-size: .82rem; }
  .header__in { gap: 12px; }
  .logo-plate { padding: 8px 12px; }
  .logo-plate img { height: 22px; }
  .header__cta { gap: 4px; }
}
/* 電話の常時表示は1280px以上（1081〜1279pxはナビが収まらないため非表示。ハンバーガーは1080px以下） */
@media (max-width: 1279px) { .header__tel { display: none; } }

.prose h2 .ln { display: block; }

/* ===== v6 温度感（2026-09-24 KyoMi様「人の温かさ・親しみやすさ」を1割） ===== */
:root { --r-photo: 16px; --r-panel: 10px; --r-btn: 8px; --warm: #fbf8f3; --font-round: "Zen Maru Gothic", "Noto Sans JP", sans-serif; }
.section--warm { background: var(--warm); }
.hero__sub, .kicker, .hero__kicker, .audience__sub, .voice__meta, .yt__caption { font-family: var(--font-round); }
.hero__sub { font-size: 1.15rem; letter-spacing: .04em; }
.ico { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; display: block; margin-bottom: 10px; transition: transform .35s var(--ease); }
.audience__big { grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.audience__big .ico { grid-row: 1 / 3; margin: 0; width: 36px; height: 36px; }
.audience__big:hover .ico, .final__card:hover .ico { transform: translateY(-2px) rotate(-4deg); }
.final__card .ico { width: 30px; height: 30px; margin-bottom: 2px; }
.illust { width: min(100%, 240px); height: auto; display: block; margin-top: var(--s3); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.illust * { stroke-linecap: round; }
@media (max-width: 860px) { .illust { width: 160px; margin-top: var(--s2); } }
.voice { border-color: #ecdfcf; }
.voice:hover { border-color: #d9c3a8; }
.voice__text { line-height: 1.9; }
.btn { border-radius: var(--r-btn); }
.photo, .hero__visual, .yt__visual { border-radius: var(--r-photo); }
.hero__visual, .yt__visual { border-radius: var(--r-photo) 0 0 var(--r-photo); }
@media (max-width: 1000px) { .hero__visual, .yt__visual { border-radius: 0; } }
@media (prefers-reduced-motion: reduce) { .ico { transition: none; } }

/* ===== v8 個人情報の取り扱い（読み物として1カラム・40em） ===== */
.policy { max-width: 44em; }
.policy > * + * { margin-top: var(--s2); }
.policy h2 { font-size: 1.2rem; line-height: 1.5; margin-top: var(--s4); padding-left: 12px; border-left: 3px solid var(--blue); }
.policy ul { padding-left: 1.2em; list-style: disc; }
.policy li + li { margin-top: 6px; }
.policy p, .policy li, .policy dd { line-height: 1.9; }
.policy a { color: var(--blue); text-decoration: underline; }
.policy .terms { margin-top: var(--s2); }
@media (max-width: 860px) { .policy h2 { font-size: 1.1rem; margin-top: var(--s3); } }

/* prose v12 */
/* 見出し→メッセージを左、補足の表を右に。3ブロックとも同じ並び・同じ間隔 */
.prose { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s3) clamp(32px, 5vw, 72px); align-items: start; }
.prose__head > .lead { margin-top: var(--s3); max-width: 26em; }
.prose__head .illust { margin-top: var(--s3); width: min(100%, 200px); }
.prose__body { max-width: none; }
.prose__body > * + * { margin-top: var(--s2); }
.prose__note { font-size: var(--t-body); line-height: 1.8; letter-spacing: .02em; color: var(--ink); }
.terms { grid-template-columns: minmax(7em, max-content) 1fr; gap: 0; }
.terms dd { padding-left: var(--s3); }
/* 行の折り返し：文節で折る（対応ブラウザのみ）。見出しは行の長さをそろえて1〜2文字だけの行を作らない */
.terms dd, .support__item p, .strength__text { text-wrap: pretty; word-break: auto-phrase; }
.prose .lead, .prose__note, .route > p { text-wrap: pretty; }
.support__item h3, .strength__label, .sub-h, .route h3 { text-wrap: balance; word-break: auto-phrase; }
.sub-h { font-size: var(--t-h3); line-height: 1.5; margin-top: var(--s4); margin-bottom: var(--s2); }
.sub-h + .support { margin-top: 0; }
@media (max-width: 860px) {
  .prose { grid-template-columns: 1fr; gap: var(--s3); }
  .prose__head > .lead { margin-top: var(--s2); max-width: none; }
  .terms { grid-template-columns: 1fr; }
  .terms dd { padding-left: 0; }
}

/* polish v13 */
/* ===== セクションの上下（LP 3.3）=====
   背景が切り替わる境界＝前の下 + 次の上で 96〜144px。1440px で 72+72=144（直す前 94+94=188） */
:root { --sec: clamp(48px, 5vw, 72px); }
/* 同じ背景が続く境界は 96〜128px に収める（強み→支援の考え方、メディア→最終CTA） */
#strength + #support, .section--tint + .final { padding-top: calc(var(--sec) * .62); }
/* 見出しブロック → 本体は 32px にそろえる（直す前は 28px と 40px が混在） */
.section-head { margin-bottom: var(--s4); }
.wrap > .section-head { margin-bottom: 32px; }
/* 中間CTA：色付きの帯に上下で貼り付いていたので、上下に同じ間を取る */
.section--cta { padding-block: var(--s5); }

/* ===== ヒーロー／YouTube（LP-02・LP-04）：文字と写真の間 40〜56px、見出し→一言 20px、一言→ボタン 28px ===== */
.hero__in, .yt__in { gap: clamp(28px, 4vw, 56px); }
.hero__h1 { margin-bottom: 20px; }
.hero__sub { margin-bottom: 28px; }
.yt__videos .hero__kicker { margin-bottom: 12px; }

/* ===== 3つの強み（LP-07）：数字が1枚だけ大きく浮いていたので、見出しと同じ行・同じ大きさに置く ===== */
.strength__item { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: baseline; }
.strength__num, .strength__text, .strength__item .note, .strength__compare { grid-column: 1 / -1; }
.strength__compare { font-size: var(--t-small); font-weight: 700; color: var(--muted); margin-top: -4px; font-variant-numeric: tabular-nums; }  /* 全国平均との比較（10/7 中嶽様依頼） */
.strength__label, .support__item h3 { font-size: 1.125rem; line-height: 1.5; }
.strength__value { font-size: 1.125rem; font-weight: 700; line-height: 1.5; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.strength__item .note { font-size: var(--t-small); line-height: 1.7; color: var(--muted); margin-top: 4px; }

/* ===== ワークブック（LP-10）：見出しが半分の幅に入って「ク」だけ落ちていた ===== */
.split__text .section-head { grid-template-columns: 1fr; margin-bottom: var(--s2); }
.split__text h2 { text-wrap: balance; }

/* ===== 通所の1日（LP-12）：番号・時刻・内容の間を詰める（時刻欄 68px・間 16px） ===== */
.split .flow__item { grid-template-columns: 2em max-content 1fr; gap: 0 16px; }

/* ===== 校舎（LP-15）：9校舎を 3×3 に（4列だと最後の段に1枚だけ残る） ===== */
.schools { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .schools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 640px) { .schools { grid-template-columns: 1fr; gap: 16px; } }
.school__body { display: flex; flex-direction: column; gap: 0; padding: 20px var(--s3) var(--s3); }
.school__body h3 { font-size: 1.125rem; margin-top: 6px; }
.school__addr { margin-top: 10px; line-height: 1.7; text-wrap: pretty; word-break: auto-phrase; }
.school__tel { margin-top: 8px; }
.school__links { margin-top: auto; padding-top: 14px; }

/* ===== よくある質問（LP-16）：1行が 1200px を超えていたので読める幅に ===== */
.faq { max-width: 960px; }
.faq summary { padding: 20px 0; font-size: 1rem; }
.faq .a { padding-bottom: 22px; }

/* ===== 最終の相談案内（LP-18）：3枚のボタンの高さ位置をそろえる ===== */
.final__in { align-items: stretch; }
.final__card { display: flex; flex-direction: column; gap: var(--s2); }
.final__card > .btn, .final__card > a.btn, .final__card > :last-child { margin-top: auto; }

/* ===== フッター（LP-19・LP-20）：右下の固定ボタンが最下段の文字に重なっていた ===== */
@media (min-width: 761px) { .footer__note { padding-right: 190px; } }

/* ===== 文字組み（LP 3.6）：見出しは行の長さをそろえ、本文は文節で折る ===== */
h1, h2, h3 { text-wrap: balance; }
/* 長い本文は通常の折り返し（文節折りは行末がそろわなくなるので、短いカード文と見出しだけに使う） */
.lead, .voice__text, .faq .a, .final__card p, .cta-band p { text-wrap: pretty; }

/* ===== 動き（LP 5章）=====
   本文を透明にして待たせない。既定は最終位置のまま表示し、動かす対象だけ JS がその場で短く動かす（JS が動かなくても表示は変わらない） */
.reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
.reveal-d1, .reveal-d2, .reveal-d3 { transition-delay: 0s; }
/* 浮き上がりは -2px・200ms にそろえる（直す前はカード -4px・350ms） */
.entry__card, .school, .media-card, .yt__video { transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.entry__card:hover, .school:hover, .media-card:hover, .yt__video:hover { transform: translateY(-2px); }
@media (hover: none) { .entry__card:hover, .school:hover, .media-card:hover, .yt__video:hover, .btn:hover, .route:hover, .voice:hover, .final__card:hover { transform: none; } }

/* ===== ヘッダー（LP-01）：幅 320px でメニューのボタンが画面の外に 17px 出ていた ===== */
@media (max-width: 345px) {
  .header__in { gap: 6px; padding-inline: 10px; }
  .logo-plate { padding: 6px 8px; }
  .logo-plate img { height: 15px; }
  .header__cta .btn { padding: 0 8px; font-size: .78rem; }
}

/* 校舎の写真は切らない（2026-10-01 近藤さん指示：引きで建物全体が見えるように。元が全部正方形なので、枠も正方形にして上下を欠かさない） */
.school figure { aspect-ratio: 1 / 1; }
.photo--11 { aspect-ratio: 1 / 1; }

/* 校舎ページ：写真の列を狭く（正方形の写真が高くなり、右の情報が4行だけで下が空くため） */
.school-detail { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .school-detail { grid-template-columns: 1fr; } }

/* mobile v15（2026-10-10 スマホ公開前監査：320〜390px の機械チェックで検出したもの） */
@media (max-width: 760px) {
  /* 下部固定バー：320px で「法人のお問い合わせ」が縮まず電話ボタンが右に 14px はみ出していた */
  .sp-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sp-bar .btn { white-space: normal; text-align: center; line-height: 1.3; min-width: 0; }
  /* タップ領域を 44px 以上に（フッターのリンク・電話・他校舎の一覧・矢印リンク） */
  .footer li { padding: 0; }
  .footer li a, .footer__logo, .footer .tel { display: inline-flex; align-items: center; min-height: 44px; }
  .badge-list a { display: inline-flex; align-items: center; min-height: 44px; }
  .link-arrow { min-height: 44px; }
  .header__logo, .footer__note a, .voice__more, .school__tel { display: inline-flex; align-items: center; min-height: 44px; }
  .hero__branch a, .area-nav a, .audience__small a { display: inline-flex; align-items: center; min-height: 44px; }
  .audience__small { gap: 0; padding: 10px 0; }
}
@media (max-width: 480px) {
  /* ヘッダーの LINE ボタンとメニューボタンを 44px に。メニューボタンは縮ませない（320px で幅 22px に潰れていた） */
  .header__cta .btn { min-height: 44px; }
  .menu-btn { width: 44px; height: 44px; flex: none; }
}
@media (max-width: 360px) { .sp-bar .btn { font-size: .84rem; padding: 0 6px; } }
/* 必須・任意のラベルを 12px に（11.2px だった） */
.field .req, .field .opt { font-size: .75rem; }
