@charset "utf-8";
/* ==========================================================================
   講師会 リニューアルサイト 共通スタイル
   2026-08 / 静的HTML版
   ========================================================================== */

/* ---------- 1. デザイントークン ---------- */
:root {
  --navy:        #14365f;
  --navy-dark:   #0e1d35;
  --navy-soft:   #192f51;
  --blue:        #1b5fa8;
  --sky:         #6ec1e4;
  --sky-light:   #eef7f5;
  --cta:         #df4f14;
  --cta-dark:    #bd3e0a;
  --ink:         #12223b;
  --muted:       #56606a;
  --line:        #cfd6d9;
  --bg:          #ffffff;
  --bg-soft:     #f4f6f8;
  --bg-navy:     #0e1d35;

  --wrap:        1312px;
  --wrap-narrow: 800px;
  --radius:      4px;
  --radius-lg:   8px;
  --shadow:      0 1px 2px rgba(14, 29, 53, .05);
  --shadow-lg:   0 8px 24px rgba(14, 29, 53, .10);

  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
          "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体",
          Meiryo, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", YuMincho,
          "MS PMincho", serif;
}

/* ---------- 2. リセット / ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* 固定ヘッダー分のアンカーオフセット */
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
  /* スマホ固定CTA分の余白（PCでは 0 に戻す） */
  padding-bottom: 68px;
}

img, svg, video { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4em; }
h1, h2, h3, h4 { line-height: 1.5; margin: 0 0 .6em; font-weight: 700; letter-spacing: .02em; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; }
figure { margin: 0; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. レイアウト ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, var(--wrap-narrow)); margin-inline: auto; }

.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--bg-navy); color: #fff; }
.section--sky { background: var(--sky-light); }
.section--tight { padding: 48px 0; }

@media (max-width: 767px) {
  .section { padding: 48px 0; }
  .section--tight { padding: 32px 0; }
  .wrap, .wrap-narrow { width: calc(100% - 32px); }
}

/* ---------- 4. 見出し ---------- */
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head__en {
  display: block;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sky); font-weight: 700; margin-bottom: 6px;
}
.section--navy .sec-head__en { color: var(--sky); }
.sec-head__ja {
  font-size: clamp(24px, 4.4vw, 34px);
  margin: 0;
  text-wrap: balance;
}
.sec-head__lead { margin-top: 14px; color: var(--muted); }
.section--navy .sec-head__lead { color: rgba(255, 255, 255, .82); }

.h-bar {
  font-size: clamp(20px, 3.4vw, 26px);
  border-left: 6px solid var(--sky);
  padding-left: 14px;
  margin: 48px 0 20px;
}
.h-sub {
  font-size: clamp(17px, 2.6vw, 20px);
  color: var(--navy);
  margin: 32px 0 12px;
}

.lead { font-size: 18px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; line-height: 1.8; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ---------- 5. ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; gap: 20px;
  height: 84px;
  width: min(100% - 32px, 1280px); margin-inline: auto;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo__image { display: block; width: 112px; height: auto; }

.gnav { margin-left: auto; }
.gnav__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.gnav__list a {
  color: var(--ink); font-size: 14.5px; font-weight: 600;
  padding: 6px 0; display: inline-block; position: relative;
}
.gnav__list a:hover { color: var(--navy); text-decoration: none; }
.gnav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--sky); transition: width .2s;
}
.gnav__list a:hover::after,
.gnav__list a[aria-current="page"]::after { width: 100%; }

.header__cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header__tel { line-height: 1.15; text-align: right; }
.header__tel-num {
  display: block; font-size: 21px; font-weight: 700; color: var(--navy);
  letter-spacing: .01em;
}
.header__tel-note { display: block; font-size: 10.5px; color: var(--muted); }

.nav-toggle {
  display: none;
  width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--navy);
  transition: transform .25s, opacity .2s;
}
.nav-toggle::after {
  content: "MENU";
  margin-top: 1px;
  color: var(--navy);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1199px) {
  .header__inner { height: 64px; }
  .logo__image { width: 108px; }
  .gnav {
    position: fixed; inset: 64px 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - 64px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
    box-shadow: var(--shadow-lg);
  }
  .gnav.is-open { transform: none; opacity: 1; visibility: visible; }
  .gnav__list { flex-direction: column; gap: 0; padding: 8px 0 20px; }
  .gnav__list li { border-bottom: 1px solid var(--line); }
  .gnav__list a { display: block; padding: 15px 20px; font-size: 16px; }
  .gnav__list a::after { display: none; }
  .header__cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
}

/* ---------- 6. ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 4px;
  font-weight: 700; font-size: 16px; line-height: 1.4;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background-color .15s;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--cta { background: var(--cta); color: #fff; }
.btn--cta:hover { background: var(--cta-dark); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--outline-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-w:hover { background: #fff; color: var(--navy); }
.btn--lg { padding: 19px 44px; font-size: 18px; }
.btn--block { display: flex; width: 100%; }
.btn__note { font-size: 11.5px; font-weight: 500; opacity: .9; display: block; }

.btn-row {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
@media (max-width: 599px) {
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .btn--lg { padding: 17px 24px; font-size: 17px; }
}

/* ---------- 7. ヒーロー ---------- */
.hero {
  position: relative;
  background: var(--bg-navy);
  color: #fff;
  min-height: 650px;
  padding: 126px 0 118px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  background: linear-gradient(90deg, rgba(7, 22, 39, .82) 0%, rgba(7, 22, 39, .63) 46%, rgba(7, 22, 39, .16) 78%, rgba(7, 22, 39, .04) 100%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; transform: translateY(42px); }
.hero__eyebrow {
  display: block;
  color: var(--sky);
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(40px, 4.2vw, 54px);
  line-height: 1.32; margin: 0 0 26px; letter-spacing: .01em;
}
.hero__line { display: block; white-space: nowrap; }
.hero__keyword { font-size: 1.08em; font-weight: 800; letter-spacing: .01em; }
.hero__connector {
  display: inline-block;
  margin: 0 .08em;
  font-size: .74em;
  font-weight: 600;
  vertical-align: .12em;
}
.hero__title .mark {
  background: none;
  padding: 0;
}
.hero__lead {
  font-size: clamp(15px, 2.2vw, 18px);
  color: rgba(255, 255, 255, .9);
  max-width: 40em; margin: 0 0 30px;
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; list-style: none; padding: 0; }
.hero__badges li {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 3px; padding: 7px 14px; font-size: 13.5px; font-weight: 600;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__tel-inline { color: #fff; font-size: 14px; }
.hero__tel-inline strong { font-size: 24px; letter-spacing: .01em; }
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  background: var(--navy-soft);
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  filter: brightness(1.04);
  transform: scale(1.06) translateX(2.5%);
}
.strategy-band { background: #fff; border-bottom: 1px solid var(--line); }
.hero-strategy {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 36px;
  margin: 0;
  padding: 34px 0 38px;
}
.strategy-band .records__label { color: var(--sky-dark); }
.hero-strategy__head h2 { margin: 7px 0 8px; color: var(--navy); font-size: 21px; }
.hero-strategy__head p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.strategy-list--horizontal {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.strategy-list--horizontal li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 3px 22px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  line-height: 1.6;
}
.strategy-list--horizontal li:first-child { border-left: 0; padding-left: 0; }
.strategy-list--horizontal .strategy-list__num { display: block; margin-bottom: 10px; }
.strategy-list--horizontal .strategy-list__text {
  display: block; margin: 0; padding: 0;
  color: var(--navy); font-size: clamp(15px, 1.35vw, 17px); font-weight: 700; line-height: 1.55;
}
.strategy-list--horizontal .strategy-list__text .strategy-list__line {
  display: block;
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  white-space: nowrap;
}
.strategy-list--horizontal .strategy-list__num {
  padding: 0;
  color: #8aa5b8;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.04em;
}

@media (min-width: 600px) and (max-width: 1199px) {
  .hero-strategy {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 0 36px;
  }
  .strategy-list--horizontal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 26px;
  }
  .strategy-list--horizontal li {
    min-width: 0;
    padding: 2px 26px;
  }
  .strategy-list--horizontal li:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 599px) {
  .hero { min-height: 600px; padding: 92px 0 72px; }
  .hero::after { background: rgba(7, 22, 39, .62); }
  .hero__title { font-size: clamp(25px, 7vw, 30px); line-height: 1.42; letter-spacing: -.02em; }
  .hero__title { margin-bottom: 34px; }
  .hero__inner { transform: translateY(176px); }
  .hero__connector { font-size: .76em; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .btn--outline-w,
  .hero__badges,
  .hero__tel-inline { display: none; }
  .records--strategy { padding: 28px 24px; }
  .hero-photo img {
    object-position: 41% center;
    transform: scale(1.03) translateX(1%);
  }
  .hero-strategy { grid-template-columns: 1fr; gap: 24px; padding: 30px 0 34px; }
  .strategy-list--horizontal { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .strategy-list--horizontal li { padding: 0 16px; }
  .strategy-list--horizontal li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .strategy-list--horizontal .strategy-list__num { font-size: 32px; margin-bottom: 7px; }
  .strategy-list--horizontal .strategy-list__text { font-size: 14.5px; line-height: 1.5; }
}

/* ---------- 8. 数字カード（実績サマリー） ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat {
  background: #fff; border: 0; border-left: 1px solid var(--line); border-radius: 0;
  padding: 20px 28px; text-align: left; box-shadow: none;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stats--boxed .stat:first-child { padding-left: 28px; }
.section--navy .stat { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); box-shadow: none; }
.stat__num {
  display: block; font-size: clamp(30px, 5vw, 44px); font-weight: 700;
  color: var(--navy); line-height: 1.1; letter-spacing: -.01em;
}
.stat__num--hours {
  font-size: clamp(25px, 3.5vw, 36px);
  letter-spacing: -.04em;
  white-space: nowrap;
}
.section--navy .stat__num { color: var(--sky); }
.stat__num .unit { font-size: .5em; margin-left: 2px; }
.stat__label { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; }
.stat__note { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.section--navy .stat__note { color: rgba(255,255,255,.65); }

@media (max-width: 899px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat { padding: 20px 24px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- 9. カード / グリッド ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 899px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: none;
  display: flex; flex-direction: column;
}
.card__num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sky-light); color: var(--navy);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400; font-size: 21px; line-height: 1; letter-spacing: -.04em;
  margin-bottom: 16px;
}
.card__title {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 19px;
  text-wrap: balance;
}
.card__title--single {
  font-size: 17px;
  letter-spacing: 0;
  white-space: nowrap;
}
@media (max-width: 599px) {
  .card__title--single { font-size: clamp(13.5px, 4.3vw, 17px); }
}
.card__body { font-size: 15.5px; color: var(--muted); margin: 0; flex: 1; }
.card__link { margin-top: 16px; font-weight: 700; font-size: 15px; }
.card__link::after { content: " →"; }

/* 特徴カード（アイコン付き） */
.feature { position: relative; padding-top: 32px; }
.feature__badge {
  position: absolute; top: -14px; left: 24px;
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; letter-spacing: .08em;
}

/* ---------- 10. 流れ（ステップ） ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.flow--4 { grid-template-columns: repeat(4, 1fr); }
.flow__item {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; position: relative; text-align: center;
}
.flow__item::after {
  content: ""; position: absolute; top: 50%; right: -14px;
  width: 0; height: 0; transform: translateY(-50%);
  border-left: 10px solid var(--sky);
  border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.flow__item:last-child::after { display: none; }
.flow__step {
  display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  color: var(--sky); margin-bottom: 6px;
}
.flow__title { font-size: 17px; margin: 0 0 8px; color: var(--navy); }
.flow__text { font-size: 14.5px; color: var(--muted); margin: 0; }
.flow__item--goal { border-color: var(--cta); background: #fff7f3; }
.flow__item--goal .flow__step { color: var(--cta); }

@media (max-width: 899px) {
  .flow--4 { grid-template-columns: repeat(2, 1fr); }
  .flow__item:nth-child(2)::after { display: none; }
}
@media (max-width: 599px) {
  .flow--4 { grid-template-columns: 1fr; }
  .flow__item::after {
    top: auto; bottom: -14px; right: 50%; transform: translateX(50%);
    border-left: 8px solid transparent; border-right: 8px solid transparent;
    border-top: 10px solid var(--sky); border-bottom: 0;
  }
  .flow__item:nth-child(2)::after { display: block; }
  .flow__item:last-child::after { display: none; }
}

/* ---------- 11. 実績テーブル ---------- */
.table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 24px; }
.table-scroll table { min-width: 640px; }
.table-scroll:has(> .tbl--def) { overflow-x: visible; }
.table-scroll > .tbl--def { width: 100%; min-width: 0; }

.tbl {
  font-size: 15.5px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.tbl th, .tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl thead th { background: var(--navy); color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:nth-child(even) { background: var(--bg-soft); }
.tbl--def th {
  background: var(--bg-soft); width: 30%; white-space: nowrap;
  color: var(--navy); font-weight: 700;
}
.tbl--def tbody tr:nth-child(even) { background: #fff; }
@media (max-width: 767px) {
  .table-scroll:has(> .tbl--def) { overflow-x: visible; }
  .tbl--def { width: 100%; min-width: 0 !important; }
  .tbl--def th, .tbl--def td { display: block; width: 100%; }
  .tbl--def th {
    border-bottom: 0;
    padding-bottom: 4px;
    white-space: normal;
  }
  .tbl--def td { overflow-wrap: anywhere; }
}

.univ { font-weight: 700; color: var(--navy); }
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  padding: 2px 9px; border-radius: 4px; margin-right: 4px;
  background: var(--sky-light); color: var(--navy); white-space: nowrap;
}
.tag--med { background: #fdecec; color: #b3261e; }
.tag--kokuritsu { background: #e8f2ff; color: #14539a; }
.tag--year { background: #eef1f6; color: var(--muted); }

@media (max-width: 767px) {
  .results-table-wrap { overflow: visible; }
  .results-table {
    min-width: 0 !important;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .results-table thead { display: none; }
  .results-table tbody,
  .results-table tr,
  .results-table td { display: block; width: 100%; }
  .results-table tbody tr {
    padding: 17px 2px 18px;
    border-top: 1px solid var(--line);
    background: transparent !important;
  }
  .results-table tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .results-table td {
    padding: 0;
    border: 0 !important;
    font-size: 14.5px;
    line-height: 1.65;
  }
  .results-table td:first-child {
    margin-bottom: 10px;
    padding-right: 0;
  }
  .results-table td:nth-child(2),
  .results-table td:nth-child(3) {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    margin-top: 6px;
  }
  .results-table td:nth-child(2)::before,
  .results-table td:nth-child(3)::before {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
  }
  .results-table td:nth-child(2)::before { content: "出身高校"; }
  .results-table td:nth-child(3)::before { content: "在籍時"; }
  .results-table .univ {
    display: block;
    margin-top: 5px;
    font-size: 16px;
    line-height: 1.55;
  }
  .results-table .tag { margin-bottom: 2px; }
}

/* 合格実績ページ */
.results-summary { padding-bottom: 30px; }
.results-history { padding-top: 42px; }
@media (max-width: 767px) {
  .results-summary { padding-bottom: 22px; }
  .results-history { padding-top: 32px; }
  .results-history .table-scroll { overflow: visible; }
  .results-history .tbl {
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .results-history .tbl thead { display: none; }
  .results-history .tbl tbody,
  .results-history .tbl tr,
  .results-history .tbl td { display: block; width: 100%; }
  .results-history .tbl tbody tr {
    padding: 16px 2px 17px;
    border-top: 1px solid var(--line);
    background: transparent !important;
  }
  .results-history .tbl tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .results-history .tbl td {
    padding: 0;
    border: 0 !important;
    font-size: 13.5px;
    line-height: 1.65;
  }
  .results-history .tbl td:first-child { margin-bottom: 9px; }
  .results-history .tbl td:nth-child(2),
  .results-history .tbl td:nth-child(3) {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    margin-top: 6px;
  }
  .results-history .tbl td:nth-child(2)::before,
  .results-history .tbl td:nth-child(3)::before {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
  }
  .results-history .tbl td:nth-child(2)::before { content: "出身高校"; }
  .results-history .tbl td:nth-child(3)::before { content: "コメント"; }
  .results-history .tbl .univ {
    display: block;
    margin-top: 5px;
    font-size: 16px;
    line-height: 1.55;
  }
}

/* 偏差値ビフォーアフター */
.ba {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; white-space: nowrap;
}
.ba__from { color: var(--muted); }
.ba__arrow { color: var(--cta); }
.ba__to { color: var(--cta); font-size: 1.1em; }

/* ---------- 12. 声（テスティモニアル） ---------- */
.voice {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--sky);
  border-radius: var(--radius); padding: 26px 26px 22px;
  box-shadow: var(--shadow);
}
.voice__title { font-size: 17.5px; color: var(--navy); margin: 0 0 12px; }
.voice__body { font-size: 15.5px; margin: 0 0 14px; }
.voice__meta { font-size: 12.5px; color: var(--muted); margin: 0; }
.voice__meta strong { color: var(--ink); }

/* ---------- 13. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 48px 20px 52px;
  font-weight: 700; font-size: 16.5px; color: var(--navy); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 16px; top: 18px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 13px;
}
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 27px;
  width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq__a {
  padding: 0 24px 22px 52px; position: relative; font-size: 16px; color: var(--ink);
}
.faq__a::before {
  content: "A"; position: absolute; left: 16px; top: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--sky-light); color: var(--navy);
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
@media (max-width: 599px) {
  .faq summary { padding: 16px 40px 16px 46px; font-size: 15.5px; }
  .faq__a { padding: 0 16px 18px 46px; font-size: 15.5px; }
}

/* ---------- 14. CTA帯 ---------- */
.cta-band {
  background: var(--navy-dark);
  color: #fff; padding: 56px 0;
}
.cta-band { position: relative; isolation: isolate; overflow: hidden; }
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  width: min(34vw, 460px);
  background-repeat: no-repeat;
  background-size: cover, cover;
  pointer-events: none;
}
.cta-band::before {
  left: 0;
  background-image:
    linear-gradient(90deg, rgba(15,34,66,.12) 0%, rgba(15,34,66,.38) 52%, var(--navy-dark) 100%),
    url("/assets/images/door-student.jpg");
  background-position: center, 70% 32%;
}
.cta-band::after {
  right: 0;
  background-image:
    linear-gradient(270deg, rgba(15,34,66,.12) 0%, rgba(15,34,66,.38) 52%, var(--navy-dark) 100%),
    url("/assets/images/door-parent.png?v=5");
  background-position: center, 69% 30%;
}
.cta-band--phone-photo::before {
  right: 0;
  width: 100%;
  background-image:
    linear-gradient(90deg, rgba(15,34,66,.42) 0%, rgba(15,34,66,.68) 50%, rgba(15,34,66,.54) 100%),
    url("/assets/images/phone-student-sakura.jpg");
  background-position: center, center 38%;
}
.cta-band--phone-photo::after { display: none; }
.cta-band > .wrap { position: relative; z-index: 1; }
.cta-band__title { font-size: clamp(22px, 4vw, 32px); margin: 0 0 12px; text-align: center; }
.cta-band__lead { text-align: center; color: rgba(255,255,255,.85); margin: 0 auto 28px; max-width: 40em; }
.cta-band__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; margin: 0 auto; }
.cta-box {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius); padding: 26px 22px; text-align: center;
}
.cta-box__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--sky); margin: 0 0 10px; }
.cta-box__tel {
  display: inline-block; font-size: clamp(28px, 5vw, 38px); font-weight: 700;
  color: #fff; line-height: 1.2; letter-spacing: .01em;
}
.cta-box__tel:hover { color: var(--sky); text-decoration: none; }
.cta-box__sub { font-size: 13px; color: rgba(255,255,255,.8); margin: 6px 0 0; }
@media (max-width: 767px) {
  .cta-band__boxes { grid-template-columns: 1fr; }
  .cta-band::before,
  .cta-band::after { width: 52%; opacity: .55; }
  .cta-band::before { background-position: center, 72% 25%; }
  .cta-band::after { background-position: center, 68% 24%; }
}

/* ---------- 15. スマホ固定CTAバー ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(16, 45, 94, .12);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 10px 4px; font-size: 11.5px; font-weight: 700;
  color: var(--navy); border-right: 1px solid var(--line); line-height: 1.3;
}
.mobile-bar a:last-child { border-right: 0; }
.mobile-bar a:hover { text-decoration: none; }
.mobile-bar__icon { font-size: 19px; line-height: 1; }
.mobile-bar a.is-primary { background: var(--cta); color: #fff; }
.mobile-bar a.is-tel { background: var(--navy); color: #fff; }

@media (min-width: 1200px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
}

/* ---------- 16. パンくず ---------- */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 12px 0;
  font-size: 12.5px; color: var(--muted);
}
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: var(--muted); }

/* ---------- 17. ページヘッダー（下層） ---------- */
.page-hero {
  background: var(--navy-dark);
  color: #fff; padding: 52px 0;
}
.page-hero__en {
  display: block; font-size: 12.5px; letter-spacing: .22em; color: var(--sky);
  font-weight: 700; margin-bottom: 6px;
}
.page-hero__title { font-size: clamp(26px, 5vw, 40px); margin: 0; }
.page-hero__lead {
  margin: 14px 0 0;
  max-width: 42em;
  color: rgba(255,255,255,.85);
  text-wrap: pretty;
}

/* ---------- 18. お知らせリスト ---------- */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: flex; gap: 16px; align-items: baseline; padding: 16px 4px;
  color: var(--ink); flex-wrap: wrap;
}
.news-list a:hover { color: var(--blue); text-decoration: none; background: var(--bg-soft); }
.news-list time { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- 19. フォーム ---------- */
.form-note {
  background: #fff7f3; border: 1px solid #f6d6c6; border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 32px;
}
.form-note__title { font-weight: 700; color: var(--cta-dark); margin: 0 0 6px; }

.field { margin-bottom: 26px; }
.field__label {
  display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; color: var(--navy);
}
.req, .opt {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px;
}
.req { background: #fdecec; color: #b3261e; }
.opt { background: #eef1f6; color: var(--muted); }
.field__hint { display: block; font-size: 13.5px; color: var(--muted); margin-top: 6px; }

.input, .select, .textarea {
  width: 100%; padding: 14px 14px; font-size: 16px; font-family: inherit;
  border: 1px solid #c6cfdb; border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(110, 193, 228, .3);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.input--short { max-width: 240px; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #c6cfdb; border-radius: 999px; padding: 10px 18px;
  font-size: 14.5px; cursor: pointer; background: #fff;
  transition: border-color .15s, background-color .15s;
  min-height: 44px;
}
.choice:hover { border-color: var(--sky); background: var(--sky-light); }
.choice input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--sky-light); font-weight: 700; }

.form-submit { text-align: center; margin-top: 36px; }
.form-privacy { font-size: 12.5px; color: var(--muted); margin-top: 18px; }

/* ---------- 20. フッター ---------- */
.footer { background: var(--bg-navy); color: rgba(255,255,255,.78); padding: 56px 0 0; font-size: 14px; }
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px;
}
.footer__logo {
  display: inline-flex; align-items: center;
  margin-bottom: 16px; padding: 9px 12px;
  background: #fff;
}
.footer__logo .logo__image { width: 132px; }
.footer__addr { font-style: normal; line-height: 1.9; font-size: 13.5px; }
.footer__tel { font-size: 24px; font-weight: 700; color: #fff; display: inline-block; margin: 10px 0 2px; }
.footer__col-title {
  font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--sky);
  margin: 0 0 14px; text-transform: uppercase;
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 10px; font-size: 13.5px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0;
  font-size: 12px; color: rgba(255,255,255,.55);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
@media (max-width: 767px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding-top: 40px; }
}

/* ---------- 21. 補助 ---------- */
.notice {
  background: var(--sky-light); border: 1px solid #c5e6f2; border-left: 5px solid var(--sky);
  border-radius: var(--radius); padding: 20px 24px; margin: 24px 0;
}
.notice__title { font-weight: 700; color: var(--navy); margin: 0 0 8px; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 16px;
}
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: .45em;
  width: 8px; height: 14px; border-right: 3px solid var(--sky); border-bottom: 3px solid var(--sky);
  transform: rotate(42deg);
}

.price-highlight {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  font-weight: 700; color: var(--navy);
}
.price-highlight .num { font-size: 32px; letter-spacing: -.01em; }

/* ---------- トップ：料金案内 ---------- */
.price-summary { background: #fff; }
.price-summary__head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 56px;
  align-items: end;
  padding-top: 22px;
  margin-bottom: 30px;
  border-top: 4px solid var(--navy);
}
.price-summary__kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}
.price-summary__head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(25px, 2.4vw, 32px);
  line-height: 1.45;
  letter-spacing: .01em;
}
.price-summary__head p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}
.price-summary__table-wrap { margin-bottom: 0; overflow: visible; }
.price-summary__table {
  width: 100%;
  min-width: 0 !important;
  border-collapse: collapse;
  border-top: 1px solid var(--navy);
  background: transparent;
  font-size: 15.5px;
}
.price-summary__table th,
.price-summary__table td {
  padding: 17px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.price-summary__table th {
  width: 31%;
  padding-left: 4px;
  color: var(--navy);
  font-weight: 700;
}
.price-summary__table td { padding-right: 4px; }
.price-summary__table td b { color: var(--ink); font-weight: 700; }
.price-summary__table th span,
.price-summary__table td span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
}
.price-summary__primary th,
.price-summary__primary td {
  padding-top: 22px;
  padding-bottom: 22px;
  background: #f6f8fa;
}
.price-summary__primary th { padding-left: 18px; }
.price-summary__primary td { padding-right: 18px; }
.price-summary__primary td strong {
  color: var(--navy);
  font-size: 36px;
  line-height: 1;
  letter-spacing: -.02em;
}
.price-summary__primary td b {
  margin-left: 6px;
  color: var(--navy);
  font-size: 14px;
}
.price-summary__foot {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
}
.price-summary__foot p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}
.price-summary__foot a {
  flex: 0 0 auto;
  padding: 5px 0 4px;
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 700;
}
.price-summary__foot a:hover { text-decoration: none; border-bottom-color: var(--sky); }
.price-summary__foot a span { margin-left: 8px; }
@media (max-width: 767px) {
  .price-summary__head {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 22px;
  }
  .price-summary__head h2 { font-size: 24px; }
  .price-summary__table th,
  .price-summary__table td {
    display: block;
    width: 100%;
  }
  .price-summary__table th {
    padding: 15px 2px 3px;
    border-bottom: 0;
  }
  .price-summary__table td { padding: 0 2px 15px; }
  .price-summary__primary th { padding: 16px 16px 4px; }
  .price-summary__primary td { padding: 0 16px 17px; }
  .price-summary__primary td strong { font-size: 32px; }
  .price-summary__foot { align-items: flex-start; flex-direction: column; gap: 14px; }
}

.media { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.media > * { min-width: 0; }
.media--rev > :first-child { order: 2; }
@media (max-width: 767px) {
  .media { grid-template-columns: 1fr; gap: 24px; }
  .media--rev > :first-child { order: 0; }
  .media .small { overflow-wrap: anywhere; }
  .media .center .btn { width: 100%; max-width: 100%; padding-inline: 16px; }
}

.map-embed {
  position: relative; padding-top: 56%; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media print {
  .header, .mobile-bar, .cta-band, .footer { display: none; }
  body { padding: 0; }
}

/* ---------- 22. ヒーロー2カラム＋実例カード ---------- */
.hero__grid {
  display: block;
}
.hero__grid > div { max-width: 720px; }
@media (max-width: 899px) { .hero__grid { grid-template-columns: 1fr; gap: 28px; } }

.records { display: flex; flex-direction: column; gap: 14px; }
.records__label {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--sky);
}
.record {
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius); padding: 20px 22px;
}
.record__when { font-size: 12.5px; color: rgba(255, 255, 255, .72); margin: 0 0 8px; }
.record__line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.record__from { font-size: 15px; color: rgba(255, 255, 255, .75); }
.record__arrow { font-size: 17px; color: var(--cta); font-weight: 700; }
.record__to { font-size: 30px; font-weight: 700; color: var(--sky); line-height: 1; }
.record__to--sm { font-size: 22px; line-height: 1.2; }
.record__unit { font-size: 13px; color: rgba(255, 255, 255, .7); }
.record__univ { font-size: 14px; font-weight: 700; margin: 0; }

.records--strategy {
  background: var(--navy-soft);
  border: 1px solid #425a79;
  border-radius: var(--radius);
  padding: 38px 42px;
}
.records__title { margin: 0 0 22px; font-size: 21px; color: #fff; }
.strategy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.strategy-list:not(.strategy-list--horizontal) li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.strategy-list span { color: var(--sky); font-weight: 700; font-size: 13px; padding-top: 2px; }
.records__note { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid #425a79; color: rgba(255,255,255,.82); font-size: 14px; }
.method-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: start;
}
.method-section .sec-head { text-align: left; max-width: none; margin: 0; }
.method-process { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.method-process li {
  display: grid;
  grid-template-columns: 54px 110px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 27px 0;
  border-top: 1px solid var(--line);
}
.method-process__num {
  color: #7899af;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}
.method-process__title { margin: 0; color: var(--navy); font-size: 20px; }
.method-process__body { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.9; }
@media (max-width: 899px) {
  .method-layout { grid-template-columns: 1fr; gap: 38px; }
}
@media (max-width: 599px) {
  .hero__grid { gap: 38px; }
  .method-process li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 6px 14px;
    padding: 22px 0;
  }
  .method-process__num { grid-row: 1 / span 2; padding-top: 1px; font-size: 25px; }
  .method-process__title { font-size: 18px; }
  .method-process__body { grid-column: 2; font-size: 15.5px; }
  .stats { row-gap: 26px; }
  .stat { padding: 0 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { padding-top: 18px; }
  .stats--boxed .stat { padding: 18px 16px 20px; }
  .stats--boxed .stat:nth-child(odd) { padding-left: 16px; }
}

/* ---------- 23. 二つの入口（受験生／保護者） ---------- */
.doors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 899px) { .doors { grid-template-columns: 1fr; } }

.door {
  position: relative;
  display: flex; align-items: center; gap: 20px; color: var(--ink);
  min-height: 176px;
  background-color: #fff;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.96) 34%, rgba(255,255,255,.78) 42%, rgba(255,255,255,.24) 56%, rgba(255,255,255,.03) 70%),
    url("/assets/images/door-student.jpg");
  background-size: cover, cover;
  background-position: center, center 20%;
  background-repeat: no-repeat;
  border: 1px solid var(--line); border-left: 5px solid var(--sky);
  border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.door:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.door--parents {
  border-left-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.96) 34%, rgba(255,255,255,.72) 42%, rgba(255,255,255,.18) 54%, rgba(255,255,255,.02) 68%),
    url("/assets/images/door-parent.png?v=5");
  background-position: center, center 30%;
}
.door--parents .door__body { max-width: 34%; }
.door__icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  background: var(--sky-light); color: var(--navy);
  display: grid; place-items: center;
}
.door__body { display: block; flex: 1 1 auto; min-width: 0; max-width: 48%; }
.door__title { display: block; font-size: 19px; color: var(--navy); margin: 0 0 4px; }
.door__text { display: block; font-size: 14px; color: var(--muted); margin: 0; line-height: 1.75; }
.door__arrow {
  position: absolute; right: 18px; bottom: 16px;
  color: var(--blue);
}
@media (min-width: 640px) and (max-width: 899px) {
  .door { min-height: 150px; padding: 22px 24px; }
  .door__body { max-width: 42%; }
  .door--parents .door__body { max-width: 36%; }
  .door__title { white-space: nowrap; }
}
@media (max-width: 639px) {
  .door {
    min-height: 118px;
    gap: 6px;
    overflow: hidden;
    padding: 10px calc(36% + 6px) 10px 14px;
    background-image: none;
  }
  .door::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 36%;
    border-left: 1px solid var(--line);
    background: url("/assets/images/door-student.jpg") 68% 24% / auto 145% no-repeat;
  }
  .door--parents::before {
    background-image: url("/assets/images/door-parent.png?v=5");
    background-position: 73% 22%;
  }
  .door > :not(.door__arrow) { position: relative; z-index: 1; }
  .door__arrow { z-index: 1; right: 12px; bottom: 10px; }
  .door__icon { width: 38px; height: 38px; }
  .door__body,
  .door--parents .door__body { max-width: none; }
  .door__title { font-size: 16px; white-space: nowrap; letter-spacing: -.02em; }
  .door__text { font-size: 12.5px; line-height: 1.55; }
}

@media (max-width: 359px) {
  .door__title { font-size: 14.5px; }
}

/* ---------- 24. 学年別の始めどき ---------- */
.grade__tag {
  display: inline-block; align-self: flex-start;
  background: var(--sky-light); color: var(--navy);
  border-radius: 999px; padding: 5px 14px;
  font-size: 13px; font-weight: 700; margin-bottom: 14px;
}
.grade__foot { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 16px; }
.grade__foot-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.grade__foot-text { display: block; font-size: 14px; font-weight: 700; }

.card--accent {
  position: relative; border: 2px solid var(--cta);
  box-shadow: 0 2px 4px rgba(238, 95, 36, .08), 0 8px 24px rgba(238, 95, 36, .14);
}
.card--accent .grade__tag { background: #fff2ec; color: var(--cta-dark); }
.card__flag {
  position: absolute; top: -12px; left: 22px;
  background: var(--cta); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  padding: 4px 12px; border-radius: 999px;
}


/* ---------- 25. マウス操作のフィードバック ---------- */
@media (hover: hover) and (pointer: fine) {
  .hero-photo img {
    transform: scale(1.075) translate3d(calc(2.4% + var(--hero-pointer-x, 0px)), var(--hero-pointer-y, 0px), 0);
    transition: transform .22s ease-out;
    will-change: transform;
  }

  .card:has(.card__link),
  .flow__item,
  .stat {
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
  }
  .card:has(.card__link):hover {
    transform: translateY(-4px);
    border-color: #a9cfe5;
    box-shadow: 0 10px 26px rgba(16, 45, 94, .10);
  }
  .card__link::after,
  .door__arrow,
  .price-summary__foot a span {
    display: inline-block;
    transition: transform .18s ease;
  }
  .card:has(.card__link):hover .card__link::after,
  .door:hover .door__arrow,
  .price-summary__foot a:hover span { transform: translateX(5px); }

  .flow__item:hover {
    transform: translateY(-3px);
    border-color: var(--sky);
    box-shadow: 0 8px 22px rgba(16, 45, 94, .08);
  }
  .stat:hover { transform: translateY(-3px); }
  .stat:hover .stat__num { color: var(--sky-dark); }

  .method-process li {
    transition: padding-left .18s ease, background-color .18s ease;
  }
  .method-process li:hover {
    padding-left: 10px;
    background: #f8fbfd;
  }

  .price-summary__table tbody tr { transition: background-color .16s ease; }
  .price-summary__table tbody tr:not(.price-summary__primary):hover { background: #f8fbfd; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo img,
  .card,
  .flow__item,
  .stat,
  .method-process li,
  .card__link::after,
  .door__arrow,
  .price-summary__foot a span {
    transition: none !important;
  }
}
