/* =========================================================
   逆転合格道場 — style.css
   色・文字・余白は :root の変数でまとめて調整できます
   ========================================================= */
:root {
  --bg: #151A1C;          /* メイン背景 */
  --bg-2: #1C2325;        /* セクション背景（わずかに明るい） */
  --bg-3: #242C2F;        /* 補助面・カード */
  --line: rgba(243, 240, 232, .14);
  --line-2: rgba(243, 240, 232, .26);
  --ivory: #F3F0E8;       /* 見出し */
  --text: #D2D7D5;        /* 本文 */
  --muted: #A9B1AE;       /* 補足（暗背景で読める明度を確保） */
  --acc: #B8A47D;         /* アクセント */
  --acc-soft: rgba(184, 164, 125, .14);

  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  --max: 1160px;
  --gutter: 40px;
  --sec-y: 120px;
  --header-h: 76px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  font-feature-settings: "palt" 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 500; color: var(--ivory); }
code { font-size: .88em; background: rgba(255,255,255,.06); padding: .1em .4em; border-radius: 3px; }

.ib { display: inline-block; }
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ivory); color: var(--bg); padding: 8px 14px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* ---------- review ---------- */
.review-bar {
  position: relative; z-index: 120;
  background: #3A3324; color: #EFE3C6;
  font-size: 12.5px; line-height: 1.5; text-align: center; padding: 7px 16px; letter-spacing: .04em;
}
body.is-public [data-review-only] { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px;
  background: var(--ivory); color: var(--bg);
  font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: .08em;
  text-decoration: none; border-radius: 999px; border: 1px solid var(--ivory);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn:hover { background: #fff; box-shadow: 0 10px 30px -12px rgba(243,240,232,.45); transform: translateY(-1px); }
.btn__icon { width: 20px; height: 20px; flex: none; color: #2F7D4F; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 13px; }
.btn--lg { min-height: 60px; padding: 0 40px; font-size: 16px; }
.btn--block { width: 100%; }
.btn.is-unset { position: relative; }

.text-link { display: inline-flex; gap: .5em; align-items: center; color: var(--ivory); text-decoration: none; font-size: 14px; letter-spacing: .1em; padding: 10px 2px; border-bottom: 1px solid var(--line-2); }
.text-link:hover { border-color: var(--acc); }

.line-note { margin-top: 14px; font-size: 12.5px; color: #E6D6AF; letter-spacing: .03em; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* 背景ぼかしは疑似要素に持たせる（子要素の position:fixed を壊さないため） */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(21, 26, 28, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .3s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header.is-scrolled::before { background: rgba(21, 26, 28, .92); }
.header__inner { height: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); flex: none; }
/* ロゴマーク（images/logo-arrow.png）：社名2行の高さにそろえた正方形 */
.brand__mark { width: 40px; height: 40px; flex: none; display: block; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .12em; }
.brand__sub { font-size: 10.5px; color: var(--muted); letter-spacing: .08em; }

.gnav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.gnav__list { display: flex; gap: 26px; }
.gnav__list a { text-decoration: none; font-size: 13.5px; letter-spacing: .08em; color: var(--text); padding: 8px 0; position: relative; }
.gnav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.gnav__list a:hover::after, .gnav__list a.is-current::after { transform: scaleX(1); }
.gnav__list a.is-current { color: var(--ivory); }
.header__cta { display: none; }
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(680px, 100svh); display: flex; align-items: center; overflow: hidden; isolation: isolate; margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); }
/* 中央構図：写真は画面全体に敷き、暗く沈めて中央の見出しを主役にする */
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture { display: block; width: 100%; height: 100%; }
/* ▼仮画像（画像A・黄色）の確認用：色と推奨サイズの文字がそのまま見えるよう、
     暗くする加工・中央の暗いグラデーションを一時的に外しています。
     実写真に差し替えたら、この2行を削除してください（写真が暗く落ち着き、見出しが読みやすくなります） */
.hero__media img[src*="-sample"], .hero__media picture:has(source[srcset*="-sample"]) img { filter: none !important; object-position: 50% 50% !important; }
.hero:has(img[src*="-sample"]) .hero__shade { opacity: .35; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; filter: brightness(.5) saturate(.7) contrast(1.05); animation: heroIn 2.4s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.04); opacity: .6; } to { transform: scale(1); opacity: 1; } }
.hero__shade { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 58% 52% at 50% 50%, rgba(21,26,28,.74) 0%, rgba(21,26,28,.42) 62%, rgba(21,26,28,.15) 100%),
    linear-gradient(180deg, rgba(21,26,28,.65) 0%, rgba(21,26,28,0) 22%),
    linear-gradient(0deg, rgba(21,26,28,1) 0%, rgba(21,26,28,0) 30%);
}
.hero__inner { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 96px var(--gutter) 150px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__label { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 14px; letter-spacing: .2em; color: var(--acc); margin-bottom: 36px; }
.line-mark { width: 40px; height: 1px; background: var(--acc); }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6.2vw, 92px); line-height: 1.38; letter-spacing: .1em; text-shadow: 0 4px 40px rgba(0,0,0,.55); }
/* ===== ヒーロー演出（冒頭のみ） =====
   reduced-motion 時は全アニメーションが無効になり、各要素は最終状態で表示されます */
.hero { --mx: 0; --my: 0; }
.hero__media { translate: calc(var(--mx) * -14px) calc(var(--my) * -10px); transition: translate .8s var(--ease); }
.hero__media img { animation: heroIn 2.4s var(--ease) both, kenburns 22s 2.4s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }

/* 幕が開くような導入 */
.hero__sweep { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: var(--bg-2); transform: translateX(101%); animation: sweepOut 1s cubic-bezier(.77,0,.18,1) both; }
.hero__sweep::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--acc); box-shadow: 0 0 24px 2px rgba(184,164,125,.6); }
@keyframes sweepOut { from { transform: translateX(0); } to { transform: translateX(101%); } }

/* 四隅の額縁：中央の見出しを囲むように、角の線が伸びる */
.hero__frame { position: absolute; z-index: 1; inset: calc(var(--header-h) + 36px) 48px 96px; pointer-events: none; }
.hero__frame i { position: absolute; width: 64px; height: 64px; border-color: rgba(184,164,125,.75); border-style: solid; border-width: 0; animation: cornerIn 1.1s 1.8s var(--ease) both; }
.hero__frame i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; transform-origin: top left; }
.hero__frame i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; transform-origin: top right; }
.hero__frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; transform-origin: bottom left; }
.hero__frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; transform-origin: bottom right; }
@keyframes cornerIn { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }

/* 中央を通る縦の線（上部） */
.hero__axis { position: absolute; z-index: 1; left: 50%; width: 1px; pointer-events: none; }
.hero__axis--top { top: var(--header-h); height: calc(50% - var(--header-h) - 230px); max-height: 120px; background: linear-gradient(180deg, rgba(184,164,125,0), var(--acc)); transform-origin: top; animation: axisDown 1.2s .2s var(--ease) both; }
@keyframes axisDown { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* 下への案内：縦線の上を光が流れる */
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 64px; color: var(--ivory); text-decoration: none; animation: fadeUp .9s 2.2s var(--ease) both; }
.hero__scroll-text { font-size: 13px; letter-spacing: .3em; padding-left: .3em; transition: color .3s; }
.hero__scroll:hover .hero__scroll-text { color: var(--acc); }
.hero__scroll-line { position: relative; width: 1px; height: 72px; background: rgba(243,240,232,.22); overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--acc); box-shadow: 0 0 8px var(--acc); animation: scrollDrop 2s 2.6s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes scrollDrop { from { top: -40%; } to { top: 100%; } }

/* 見出し：文字が順に立ち上がり、「逆転」がひっくり返って正位置に */
.hero__inner { position: relative; z-index: 2; }
.hero__title { max-width: none; }
.hero__line { display: block; }
.hero__title .ch, .hero__title .flip { display: inline-block; }
.hero__title .ch { animation: charUp .9s calc(.45s + var(--i) * .055s) var(--ease) both; }
@keyframes charUp { from { opacity: 0; transform: translateY(.55em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.hero__key { display: inline-block; perspective: 600px; margin-right: .02em; }
.hero__title .flip { font-size: 1.16em; line-height: 1; font-weight: 600; text-shadow: none;
  background: linear-gradient(110deg, #CDBB92 0%, #F3E7C8 28%, #B8A47D 52%, #EFE2C0 76%, #B8A47D 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flipIn 1.1s calc(1.15s + var(--i) * .14s) cubic-bezier(.34,1.56,.64,1) both, shimmer 5s 3s ease-in-out infinite; }
@keyframes flipIn { 0% { opacity: 0; transform: rotate(-180deg) scale(.4); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes shimmer { 0%, 55% { background-position: 100% 0; } 100% { background-position: -120% 0; } }
.hero__mark { position: relative; display: inline-block; }
.hero__mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: 2px; background: linear-gradient(90deg, rgba(184,164,125,0), var(--acc) 20%, var(--acc) 80%, rgba(184,164,125,0)); transform-origin: center; animation: lineGrow 1s 2s var(--ease) both; }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__label { animation: fadeUp .8s .3s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* 流れる帯 */
.hero__marquee { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; overflow: hidden; border-top: 1px solid var(--line); background: rgba(16,20,22,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeUp .9s 2s var(--ease) both; }
.hero__marquee-track { display: flex; align-items: center; width: max-content; padding: 14px 0; animation: marquee 38s linear infinite; }
.hero__marquee-track span { font-family: var(--serif); font-size: 13px; letter-spacing: .38em; color: rgba(243,240,232,.62); padding: 0 28px; white-space: nowrap; }
.hero__marquee-track i { font-style: normal; font-size: 7px; color: var(--acc); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.photo-credit { position: absolute; right: 20px; bottom: 14px; margin: 0; font-size: 11px; color: rgba(243,240,232,.6); letter-spacing: .06em; }

/* ---------- summary ---------- */
.summary { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.summary__list { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); }
.summary__list li { display: flex; gap: 14px; align-items: baseline; padding: 28px 20px; border-left: 1px solid var(--line); }
.summary__list li:first-child { border-left: 0; padding-left: 0; }
.summary__num { font-family: var(--serif); color: var(--acc); font-size: 14px; letter-spacing: .1em; }
.summary__txt { font-size: 13px; color: var(--muted); line-height: 1.7; }
.summary__txt strong { display: block; color: var(--ivory); font-size: 16px; font-weight: 500; margin-bottom: 2px; font-family: var(--serif); letter-spacing: .08em; }

/* ---------- section common ---------- */
.section { padding: var(--sec-y) 0; position: relative; }
.section--base { background: var(--bg); }
.section--raised { background: var(--bg-2); }
.sec-head { max-width: 760px; margin-bottom: 64px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-label { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); letter-spacing: .12em; margin-bottom: 22px; }
.sec-label .en { color: var(--acc); font-size: 12px; letter-spacing: .24em; padding-right: 14px; border-right: 1px solid var(--line-2); line-height: 1; }
.sec-head--center .sec-label, .sec-label--center { justify-content: center; }
.sec-title { font-family: var(--serif); font-size: clamp(25px, 2.9vw, 38px); line-height: 1.6; letter-spacing: .07em; }
.sec-lead { margin-top: 26px; font-size: 16.5px; max-width: 40em; }
.sub-title { font-family: var(--serif); font-size: clamp(21px, 2.1vw, 27px); line-height: 1.65; letter-spacing: .06em; margin-bottom: 22px; }
.note { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 18px; }

/* illustration line style (共通) */
.illus, .ostep__icon, .support__icon, .flow__icon, .hub__center svg {
  fill: none; stroke: var(--ivory); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.illus .acc, .ostep__icon .acc, .support__icon .acc, .flow__icon .acc { stroke: var(--acc); }
.illus .acc-fill, .ostep__icon .acc-fill { fill: var(--acc); stroke: none; }
.illus .dim { stroke: var(--line-2); }
.illus .acc-text { fill: var(--acc); stroke: none; font-family: var(--serif); font-size: 22px; }

/* ---------- ② concerns ---------- */
.concern-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.concern { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px 30px; display: flex; flex-direction: column; }
.concern .illus { width: 120px; height: 96px; margin-bottom: 22px; }
.concern__tag { display: inline-block; align-self: flex-start; font-size: 12px; letter-spacing: .1em; color: var(--acc); border: 1px solid rgba(184,164,125,.45); padding: 2px 10px; border-radius: 2px; margin-bottom: 14px; }
.concern__title { font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1.75; color: var(--ivory); letter-spacing: .03em; }

.match { margin-top: 88px; padding: 56px 56px 48px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(36,44,47,.6), rgba(28,35,37,.2)); }
.match__title { font-family: var(--serif); font-size: clamp(20px, 2vw, 25px); line-height: 1.6; letter-spacing: .06em; margin-bottom: 36px; text-align: center; }
.match__list { display: grid; gap: 14px; }
.match__row { display: grid; grid-template-columns: 1fr 72px 1.25fr; align-items: center; }
.match__from, .match__to { margin: 0; padding: 18px 22px; border-radius: var(--radius); font-size: 15px; line-height: 1.7; display: flex; align-items: baseline; gap: 14px; }
.match__from { background: rgba(255,255,255,.025); border: 1px dashed var(--line-2); color: var(--text); }
.match__to { background: var(--bg-3); border: 1px solid rgba(184,164,125,.4); color: var(--ivory); }
.match__to strong { color: var(--ivory); font-weight: 700; background: linear-gradient(transparent 62%, rgba(184,164,125,.32) 62%); }
.match__k { flex: none; font-size: 11px; letter-spacing: .12em; color: var(--muted); border: 1px solid var(--line-2); padding: 0 7px; border-radius: 2px; line-height: 1.8; }
.match__to .match__k { color: var(--acc); border-color: rgba(184,164,125,.5); }
.match__arrow { position: relative; height: 1px; background: var(--acc); margin: 0 14px; }
.match__arrow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 9px; height: 9px; border-top: 1px solid var(--acc); border-right: 1px solid var(--acc); transform: rotate(45deg); }

/* ---------- ③ policy ---------- */
.policy { position: relative; background: var(--bg); padding-bottom: var(--sec-y); }
.policy__media { position: relative; height: clamp(520px, 62vw, 760px); overflow: hidden; }
.policy__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.policy__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21,26,28,.94) 0%, rgba(21,26,28,.7) 38%, rgba(21,26,28,.1) 70%), linear-gradient(0deg, var(--bg) 0%, rgba(21,26,28,0) 30%), linear-gradient(180deg, var(--bg) 0%, rgba(21,26,28,0) 18%); }
.policy__media .photo-credit { z-index: 2; }
.policy__inner { position: absolute; top: 0; left: 0; right: 0; height: clamp(520px, 62vw, 760px); display: flex; align-items: center; }
.policy__text { max-width: 520px; }
.policy__text .sec-title { margin-bottom: 30px; }
.policy__text p:not(.sec-label) { font-size: 16.5px; }

.overview { margin-top: 24px; padding: 56px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.overview__title { font-family: var(--serif); font-size: 22px; letter-spacing: .08em; text-align: center; margin-bottom: 44px; }
.overview__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.ostep { position: relative; text-align: center; padding: 0 22px; }
.ostep:not(:last-child)::after { content: ""; position: absolute; top: 58px; right: -8px; width: 16px; height: 16px; border-top: 1px solid var(--acc); border-right: 1px solid var(--acc); transform: rotate(45deg); }
.ostep:not(:last-child)::before { content: ""; position: absolute; top: 66px; left: calc(50% + 50px); right: -2px; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--acc)); }
.ostep__num { display: block; font-family: var(--serif); font-size: 13px; color: var(--acc); letter-spacing: .2em; margin-bottom: 10px; }
.ostep__icon { width: 76px; height: 76px; margin: 0 auto 18px; padding: 14px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg); }
.ostep__name { font-family: var(--serif); color: var(--ivory); font-size: 18px; letter-spacing: .06em; margin-bottom: 6px; }
.ostep__desc { font-size: 14px; color: var(--muted); line-height: 1.7; }
.overview__loop { margin: 40px auto 0; max-width: 680px; text-align: center; font-size: 14px; color: var(--ivory); padding: 12px 20px; border: 1px dashed rgba(184,164,125,.5); border-radius: 999px; }
.overview__loop-icon { color: var(--acc); margin-right: 8px; font-size: 16px; }

/* ---------- ④ support ---------- */
.support-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.support { background: var(--bg-2); padding: 34px 24px 36px; transition: background .4s var(--ease); }
.support:hover { background: #20282A; }
.support__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.support__num { font-family: var(--serif); font-size: 13px; color: var(--acc); letter-spacing: .2em; }
.support__icon { width: 52px; height: 52px; }
.support__title { font-family: var(--serif); font-size: 19px; letter-spacing: .06em; line-height: 1.5; margin-bottom: 14px; }
.support p { font-size: 14.5px; line-height: 1.85; }

.cycle-wrap { margin-top: 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.cycle-text p:not(.sec-label):not(.note) { font-size: 16px; }
.cycle { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin: 0 auto; }
.cycle__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.cycle__ring .ring-base { fill: none; stroke: var(--line); stroke-width: 1; }
.cycle__ring .ring { fill: none; stroke: var(--acc); stroke-width: 1.4; stroke-linecap: round; }
.cycle__center { position: absolute; inset: 30%; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 13.5px; color: var(--ivory); line-height: 1.6; }
.cycle__center-en { font-family: var(--serif); color: var(--acc); font-size: 11px; letter-spacing: .3em; margin-bottom: 6px; }
.cnode { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--ivory); white-space: nowrap; }
.cnode__n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--acc); color: var(--bg); font-size: 12px; font-weight: 700; flex: none; }
.cnode--t { top: 12.5%; left: 50%; transform: translate(-50%, -50%); }
.cnode--r { top: 50%; left: 87.5%; transform: translate(-50%, -50%); }
.cnode--b { top: 87.5%; left: 50%; transform: translate(-50%, -50%); }
.cnode--l { top: 50%; left: 12.5%; transform: translate(-50%, -50%); }
.cycle-v { display: none; }

.sample { margin-top: 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.sample__photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.sample__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 50%; }
.sample__photo figcaption { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: rgba(243,240,232,.7); }
.plan-card { position: relative; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 40px 28px 26px; }
.plan-card__badge { position: absolute; top: -12px; left: 24px; margin: 0; background: var(--acc); color: var(--bg); font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 2px 12px; border-radius: 2px; }
.plan-tier { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: baseline; padding: 14px 16px; background: var(--bg-2); border-radius: 3px; border: 1px solid var(--line); }
.plan-tier__k { font-size: 12.5px; color: var(--acc); letter-spacing: .1em; font-weight: 500; }
.plan-tier__v { font-size: 14.5px; color: var(--ivory); line-height: 1.7; }
.plan-down { display: block; width: 1px; height: 18px; background: var(--line-2); margin: 0 0 0 54px; position: relative; }
.plan-down::after { content: ""; position: absolute; left: -3px; bottom: 0; width: 7px; height: 7px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transform: rotate(45deg); }
.plan-check li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.7; color: var(--ivory); margin: 4px 0; }
.plan-check li::before { content: ""; position: absolute; left: 0; top: .32em; width: 15px; height: 15px; border: 1px solid var(--line-2); border-radius: 2px; }
.plan-check li.is-done::after { content: ""; position: absolute; left: 5px; top: .38em; width: 5px; height: 9px; border-right: 1.6px solid var(--acc); border-bottom: 1.6px solid var(--acc); transform: rotate(45deg); }

/* ---------- mid cta ---------- */
.mid-cta { background: var(--bg-3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mid-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; }
.mid-cta__text { margin: 0; font-family: var(--serif); font-size: clamp(18px, 1.9vw, 23px); color: var(--ivory); letter-spacing: .06em; line-height: 1.7; }

/* ---------- ⑤ teachers ---------- */
.team { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.attr-badge { padding: 40px 36px; border: 1px solid rgba(184,164,125,.45); border-radius: var(--radius); background: radial-gradient(120% 100% at 0% 0%, rgba(184,164,125,.10), transparent 60%), var(--bg-2); }
.attr-badge__k { display: block; font-size: 12px; letter-spacing: .2em; color: var(--acc); margin-bottom: 22px; }
.attr-badge__v { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.attr-pill { display: inline-flex; flex-direction: column; font-family: var(--serif); font-size: 30px; color: var(--ivory); letter-spacing: .1em; line-height: 1.3; }
.attr-pill small { font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: .06em; order: -1; margin-bottom: 4px; }
.attr-or { font-size: 13px; color: var(--muted); padding: 2px 10px; border: 1px solid var(--line-2); border-radius: 999px; align-self: flex-end; margin-bottom: 6px; }
.team__note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

.hub { position: relative; aspect-ratio: 600 / 380; }
.hub__lines { position: absolute; inset: 0 0 20px 0; width: 100%; height: calc(100% - 20px); }
.hub__lines line { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.hub__center { position: absolute; left: 50%; top: calc(50% - 10px); transform: translate(-50%, -50%); width: 150px; height: 150px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--acc); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--ivory); font-family: var(--serif); font-size: 16px; letter-spacing: .08em; box-shadow: 0 0 0 10px rgba(184,164,125,.06); }
.hub__center svg { width: 42px; height: 42px; }
.hub__item { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 180px; padding: 14px 18px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ivory); font-size: 14.5px; text-align: center; line-height: 1.5; }
.hub__k { font-size: 11px; color: var(--acc); letter-spacing: .2em; }
.hub__item--a { left: 18.3%; top: 16.6%; }
.hub__item--b { left: 81.7%; top: 16.6%; }
.hub__item--c { left: 18.3%; top: 79%; }
.hub__item--d { left: 81.7%; top: 79%; }
.hub__caption { position: absolute; left: 0; right: 0; bottom: -6px; margin: 0; text-align: center; font-size: 12.5px; color: var(--muted); letter-spacing: .12em; }

.teacher-list { margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.teacher { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.teacher img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.teacher__body { padding: 20px 22px 24px; }
.teacher__uni { font-size: 12.5px; color: var(--acc); margin-bottom: 4px; }
.teacher__name { font-family: var(--serif); font-size: 19px; margin-bottom: 10px; }
.teacher__comment { font-size: 14px; }

.slot { margin-top: 64px; padding: 22px 26px; border: 1px dashed rgba(230,214,175,.45); border-radius: var(--radius); font-size: 13.5px; color: var(--muted); }
.slot__k { color: #E6D6AF; font-weight: 700; font-size: 12.5px; letter-spacing: .08em; margin-bottom: 6px; }

/* ---------- ⑥ flow ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; position: relative; }
.flow__step { position: relative; padding: 36px 30px 34px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.flow__step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -32px; width: 14px; height: 14px; border-top: 1px solid var(--acc); border-right: 1px solid var(--acc); transform: translateY(-50%) rotate(45deg); }
.flow__num { font-family: var(--serif); font-size: 12.5px; color: var(--acc); letter-spacing: .2em; }
.flow__icon { width: 56px; height: 56px; margin: 18px 0 20px; }
.flow__title { font-family: var(--serif); font-size: 20px; letter-spacing: .06em; margin-bottom: 12px; }
.flow__step p { font-size: 14.5px; }
.flow__after { margin-top: 28px; font-size: 14px; color: var(--muted); text-align: center; }
.flow-cta { margin-top: 48px; text-align: center; }

/* ---------- ⑦ faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; position: relative; display: flex; align-items: baseline; gap: 18px; padding: 26px 56px 26px 4px; font-size: 16.5px; font-weight: 500; color: var(--ivory); line-height: 1.7; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 16px; height: 1px; background: var(--ivory); transition: transform .3s var(--ease); }
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0); }
.faq__item summary:hover { color: #fff; }
.faq__q, .faq__a-k { font-family: var(--serif); color: var(--acc); font-size: 20px; flex: none; width: 20px; }
.faq__a { display: flex; gap: 18px; padding: 0 56px 30px 4px; }
.faq__a-k { color: var(--muted); }
.faq__a p { font-size: 15.5px; }

/* ---------- ⑧ final ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; padding: 150px 0 140px; text-align: center; }
.final__media { position: absolute; inset: 0; z-index: -2; }
.final__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.final__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 80% at 50% 50%, rgba(21,26,28,.78), rgba(21,26,28,.94)), linear-gradient(180deg, var(--bg), rgba(21,26,28,0) 25%); }
.final__title { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.55; letter-spacing: .08em; }
.final__lead { margin: 28px auto 0; max-width: 36em; font-size: 16.5px; }
.final__route { margin: 44px auto 44px; display: flex; justify-content: center; align-items: center; gap: 0; flex-wrap: nowrap; }
.route-chip { padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--ivory); background: rgba(21,26,28,.6); white-space: nowrap; }
.route-chip--acc { border-color: var(--acc); color: var(--acc); }
.route-arrow { position: relative; width: 48px; height: 1px; background: var(--acc); margin: 0 6px; }
.route-arrow::after { content: ""; position: absolute; right: 0; top: -3.5px; width: 8px; height: 8px; border-top: 1px solid var(--acc); border-right: 1px solid var(--acc); transform: rotate(45deg); }

/* ---------- 合格者の声（YouTube） ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video-card { display: block; text-decoration: none; color: inherit; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s var(--ease), transform .3s var(--ease); }
a.video-card:hover { border-color: rgba(184,164,125,.6); transform: translateY(-3px); }
.video-card__thumb { position: relative; aspect-ratio: 16 / 9; background: #0E1213; overflow: hidden; }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; filter: brightness(.85); }
a.video-card:hover .video-card__thumb img { transform: scale(1.03); filter: brightness(1); }
.video-card__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(21,26,28,.7); border: 1px solid rgba(243,240,232,.7); display: grid; place-items: center; }
.video-card__play::before { content: ""; margin-left: 5px; border-left: 16px solid var(--ivory); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.video-card__empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 13px; letter-spacing: .1em; background: repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 12px, transparent 12px 24px); }
.video-card__empty .video-card__play { position: static; transform: none; opacity: .5; }
.video-card__body { padding: 20px 22px 24px; }
.video-card__k { font-family: var(--serif); font-size: 12px; color: var(--acc); letter-spacing: .2em; margin-bottom: 6px; }
.video-card__title { font-family: var(--serif); font-size: 18px; color: var(--ivory); line-height: 1.6; letter-spacing: .05em; margin: 0; }
.video-card__note { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.video-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--ivory); letter-spacing: .06em; }
.line-note--center { text-align: center; margin-top: 28px; }

/* ---------- 選ばれる3つの理由 ---------- */
.reasons { background: var(--bg); }
.reasons__hero { position: relative; height: clamp(420px, 44vw, 580px); overflow: hidden; display: flex; align-items: center; isolation: isolate; background: var(--bg); }
.reasons__hero-inner { width: 100%; }
/* 写真は右側約6割に配置し、生徒の顔に見出しが重ならないようにする */
.reasons__hero img { position: absolute; top: 0; right: 0; bottom: 0; z-index: -2; width: 62%; height: 100%; object-fit: cover; object-position: 62% 30%; filter: brightness(.72) saturate(.8); }
.reasons__hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 38%, rgba(21,26,28,.55) 50%, rgba(21,26,28,.1) 66%, rgba(21,26,28,.15) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(21,26,28,0) 22%), linear-gradient(180deg, var(--bg) 0%, rgba(21,26,28,0) 18%); }
.reasons__title { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-family: var(--serif); }
.reasons__title-sub { font-size: clamp(18px, 2vw, 24px); letter-spacing: .14em; color: var(--text); font-weight: 400; }
.reasons__title-main { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: .12em; line-height: 1.2; color: var(--ivory); }
.reasons__title-main em { font-style: normal; color: var(--acc); font-size: 1.5em; margin-right: .04em; vertical-align: -.06em; }

.reason { padding: 120px 0; border-top: 1px solid var(--line); }
/* 図の画像（背景 #121618 前後）となじませるため、理由02も基本の背景色に統一。区切りは上の細線で表現 */
.reason--alt { background: var(--bg); }
.reason__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.reason--alt .reason__text { order: 2; }
.reason__num { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 26px; line-height: 1; }
.reason__num-k { font-size: 13px; letter-spacing: .3em; color: var(--acc); padding-bottom: 14px; }
.reason__num-n { font-family: var(--serif); font-size: clamp(80px, 9vw, 128px); color: transparent; -webkit-text-stroke: 1px var(--acc); letter-spacing: .02em; font-weight: 400; }
.reason__title { font-family: var(--serif); font-size: clamp(28px, 3.3vw, 44px); line-height: 1.5; letter-spacing: .06em; margin-bottom: 28px; }
.reason__lead { font-size: 17px; line-height: 2; max-width: 30em; }
.reason__points { margin-top: 28px; display: grid; gap: 10px; }
.reason__points li { position: relative; padding: 12px 16px 12px 44px; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ivory); font-size: 15px; line-height: 1.6; }
.reason__points li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 6px; height: 11px; border-right: 1.6px solid var(--acc); border-bottom: 1.6px solid var(--acc); transform: translateY(-65%) rotate(45deg); }
.reason .attr-badge { margin-top: 32px; }
.reason__visual { min-width: 0; }
.reason__visual .note { margin-top: 14px; }
/* 自作の図・画像を入れる場合の枠（index.html の各理由の図と差し替え） */
.reason__img { margin: 0; }
.reason__img img { width: 100%; height: auto; border-radius: var(--radius); }
/* 作成した図をセクション背景になじませる：角丸なし＋ふちを背景へフェード（画像を貼った感を消す） */
.reason__img--blend img { border-radius: 0;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); }
.photo-note { margin: 8px 0 0; font-size: 11.5px; color: var(--muted); text-align: right; letter-spacing: .06em; }
.reason__img figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- まずは無料相談へ ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding: 160px 0; text-align: center; }
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.6) blur(1px); transform: scale(1.02); }
.cta__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(65% 75% at 50% 50%, rgba(21,26,28,.6), rgba(21,26,28,.92)); }
.cta__title { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 56px); letter-spacing: .1em; line-height: 1.4; }
.cta__lead { margin: 26px auto 48px; max-width: 34em; font-size: 17px; }
.btn--xl { min-height: 76px; padding: 0 64px; font-size: 19px; letter-spacing: .1em; box-shadow: 0 18px 50px -18px rgba(243,240,232,.45); }
.btn--xl .btn__icon { width: 26px; height: 26px; }

/* ---------- footer ---------- */
/* ---------- 下層ページ（お問い合わせ・規約など） ---------- */
.header__back { margin-left: auto; font-size: 13.5px; color: var(--text); text-decoration: none; letter-spacing: .08em; padding: 8px 4px; }
.header__back:hover { color: var(--ivory); }
.header--sub .header__cta { display: inline-flex; margin-left: 20px; }
.page { padding: 96px 0 120px; }
.page__head { margin-bottom: 56px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.page__title { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); letter-spacing: .08em; line-height: 1.5; }
.page__lead { margin-top: 18px; font-size: 15.5px; }
.page h2 { font-family: var(--serif); font-size: 20px; letter-spacing: .06em; margin: 48px 0 16px; line-height: 1.6; }
.page h2:first-of-type { margin-top: 0; }
.page p, .page li { font-size: 15.5px; }
.page ol, .page ul.list { padding-left: 1.4em; margin: 0 0 1em; }
.page ol { list-style: decimal; }
.page ul.list { list-style: disc; }
.page li { margin-bottom: .4em; }
.page a:not(.btn) { color: var(--ivory); text-underline-offset: 4px; }
.law-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.law-table th, .law-table td { text-align: left; vertical-align: top; padding: 22px 16px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.85; }
.law-table th { width: 32%; color: var(--ivory); font-weight: 500; background: rgba(255,255,255,.02); }
.law-group { font-family: var(--serif); font-size: 18px; color: var(--ivory); letter-spacing: .08em; margin: 0 0 18px; }
.contact-box { display: grid; gap: 20px; }
.contact-card { padding: 32px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card__k { font-size: 12px; letter-spacing: .2em; color: var(--acc); margin-bottom: 10px; }
.contact-card__title { font-family: var(--serif); font-size: 20px; color: var(--ivory); margin-bottom: 10px; }
.contact-card .btn { margin-top: 16px; }
.contact-mail { font-size: 18px; word-break: break-all; }
.page__date { margin-top: 48px; font-size: 13.5px; color: var(--muted); text-align: right; }
@media (max-width: 767px) {
  .page { padding: 56px 0 80px; }
  .page__head { margin-bottom: 36px; padding-bottom: 24px; }
  .law-table, .law-table tbody, .law-table tr, .law-table th, .law-table td { display: block; width: 100%; }
  .law-table th { padding: 16px 14px 6px; background: transparent; border-bottom: 0; font-size: 14px; color: var(--acc); }
  .law-table td { padding: 0 14px 18px; font-size: 14.5px; }
  .contact-card { padding: 24px 20px; }
  .contact-card .btn { width: 100%; }
  .header__back { display: none; }
  .header--sub .header__cta { margin-left: auto; }
}

.footer { background: #101416; border-top: 1px solid var(--line); padding: 80px 0 40px; font-size: 14px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 48px; }
.footer__name { font-family: var(--serif); font-size: 24px; color: var(--ivory); letter-spacing: .14em; margin-bottom: 4px; }
.footer__desc { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.footer__k { font-size: 12px; letter-spacing: .2em; color: var(--acc); margin-bottom: 16px; }
.footer__nav ul { display: grid; gap: 6px; }
.footer__nav a { text-decoration: none; color: var(--text); }
.footer__nav a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }
.info-list { margin: 0; display: grid; gap: 10px; }
.info-list div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; color: var(--text); }
.info-list .tbd { color: #E6D6AF; }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--muted); }
.footer__bottom p { margin: 0; }

/* ---------- sticky cta / toast ---------- */
.sticky-cta { display: none; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: min(92vw, 460px); background: #2E2A20; color: #F3E8CC; border: 1px solid rgba(230,214,175,.5); padding: 14px 20px; border-radius: 6px; font-size: 13.5px; line-height: 1.7; text-align: center; transition: opacity .3s, transform .3s var(--ease); box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal (控えめ・JS無効時は常に表示) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .gnav__list { gap: 18px; }
  .gnav__list a { font-size: 13px; }
  .support-grid { grid-template-columns: repeat(3, 1fr); }
  .concern-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1180px) {
  .reason__inner { gap: 56px; }
  .reason .hub__item { min-width: 150px; padding: 12px 12px; font-size: 14px; }
}

@media (max-width: 1024px) {
  :root { --sec-y: 96px; --gutter: 32px; }
  .reason { padding: 96px 0; }
  .reason__inner { grid-template-columns: 1fr; gap: 56px; }
  .reason--alt .reason__text { order: 0; }
  .reason__visual { max-width: 640px; width: 100%; margin: 0 auto; }
  .video-grid { gap: 18px; }
  /* ナビをドロワーへ */
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 7px; width: 46px; height: 46px; margin-left: 8px; background: transparent; border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer; align-items: center; }
  .menu-btn span { width: 18px; height: 1.4px; background: var(--ivory); transition: transform .3s var(--ease); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.2px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.2px) rotate(-45deg); }
  .header__cta { display: inline-flex; margin-left: auto; }
  .gnav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 28px; padding: 32px var(--gutter) 48px; background: #101416; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
  .gnav.is-open { opacity: 1; visibility: visible; transform: none; }
  .gnav__list { flex-direction: column; gap: 0; }
  .gnav__list a { display: block; font-size: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
  .gnav__list a::after { display: none; }
  .gnav__cta { min-height: 56px; }
  body.menu-open { overflow: hidden; }

  .team { grid-template-columns: 1fr; gap: 56px; }
  .cycle-wrap { gap: 48px; }
  .sample { gap: 40px; }
  .summary__list { grid-template-columns: repeat(2, 1fr); }
  .summary__list li { padding: 22px 18px; }
  .summary__list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .summary__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .overview { padding: 48px 32px; }
  .ostep { padding: 0 12px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .video-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 24px; }
  .cycle-wrap { grid-template-columns: 1fr; }
  .sample { grid-template-columns: 1fr; }
  .sample__photo img { aspect-ratio: 16 / 10; }
  .match { padding: 44px 28px 36px; }
  .match__row { grid-template-columns: 1fr 48px 1.2fr; }
  .overview__steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .ostep:nth-child(2)::after, .ostep:nth-child(2)::before { display: none; }
  .flow { grid-template-columns: 1fr; gap: 36px; max-width: 560px; margin: 0 auto; }
  .flow__step { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; padding: 28px 26px; }
  .flow__num { grid-column: 1 / -1; }
  .flow__icon { margin: 14px 0 0; grid-row: 2 / 4; }
  .flow__title { margin: 12px 0 8px; }
  .flow__step p { grid-column: 2; }
  .flow__step:not(:last-child)::after { top: auto; bottom: -26px; right: auto; left: 50%; transform: translateX(-50%) rotate(135deg); }
  .mid-cta__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 767px) {
  :root { --sec-y: 72px; --gutter: 22px; --header-h: 64px; }
  body { font-size: 16px; line-height: 1.85; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 17px; }
  .brand__sub { display: none; }
  .header__cta { padding: 0 14px; font-size: 12.5px; min-height: 40px; letter-spacing: .04em; }
  .menu-btn { width: 42px; height: 42px; }

  /* ヒーロー（スマートフォン）：中央構図のまま、画面いっぱいに */
  .hero { min-height: max(600px, 100svh); align-items: center; }
  /* スマートフォン用の縦長画像（画像A）は中央基準で表示 */
  .hero__media img { object-position: 50% 50%; }
  .hero__inner { padding: 72px var(--gutter) 120px; }
  .hero__label { font-size: 11.5px; letter-spacing: .1em; margin-bottom: 24px; gap: 10px; }
  .line-mark { width: 20px; }
  .hero__title { font-size: clamp(34px, 10.4vw, 44px); letter-spacing: .06em; line-height: 1.5; }
  .hero__frame { inset: calc(var(--header-h) + 16px) 14px 64px; }
  .hero__frame i { width: 36px; height: 36px; }
  .hero__axis--top { display: none; }
  .hero__scroll { margin-top: 48px; }
  .hero__scroll-line { height: 56px; }
  .hero__marquee-track { padding: 11px 0; }
  .hero__marquee-track span { font-size: 11.5px; padding: 0 18px; letter-spacing: .3em; }
  .photo-credit { right: 12px; bottom: 8px; font-size: 10.5px; }
  .hero .photo-credit { top: calc(var(--header-h) + 10px); bottom: auto; }

  .summary__list li { flex-direction: column; gap: 4px; padding: 18px 14px; }
  .summary__txt { font-size: 12px; }
  .summary__txt strong { font-size: 15px; }

  .sec-head { margin-bottom: 40px; }
  .sec-label { font-size: 12px; gap: 10px; margin-bottom: 16px; }
  .sec-label .en { font-size: 11px; padding-right: 10px; letter-spacing: .18em; }
  .sec-title { font-size: clamp(23px, 6.4vw, 28px); letter-spacing: .04em; }
  .sec-lead { font-size: 15.5px; margin-top: 18px; }
  .sub-title { font-size: 21px; }

  .concern-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .concern { padding: 22px 16px 20px; }
  .concern .illus { width: 88px; height: 70px; margin-bottom: 14px; }
  .concern__tag { font-size: 11px; margin-bottom: 10px; }
  .concern__title { font-size: 14.5px; line-height: 1.7; }

  .match { margin-top: 56px; padding: 32px 18px 24px; }
  .match__title { font-size: 19px; margin-bottom: 24px; }
  .match__list { gap: 22px; }
  .match__row { grid-template-columns: 1fr; }
  .match__from, .match__to { padding: 14px 16px; font-size: 14.5px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .match__arrow { width: 1px; height: 22px; margin: 0 auto; }
  .match__arrow::after { right: auto; left: -4px; top: auto; bottom: 1px; transform: rotate(135deg); }

  .policy__media { height: 360px; }
  .policy__media img { object-position: 78% 50%; }
  .policy__media::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(21,26,28,0) 25%, rgba(21,26,28,0) 55%, var(--bg) 100%); }
  .policy__inner { position: static; height: auto; display: block; margin-top: -40px; position: relative; }
  .policy__text { max-width: none; }
  .policy__text p:not(.sec-label) { font-size: 15.5px; }

  .overview { margin-top: 48px; padding: 36px 20px; }
  .overview__title { font-size: 19px; margin-bottom: 28px; }
  .overview__steps { grid-template-columns: 1fr; row-gap: 0; }
  .ostep { display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; text-align: left; padding: 0 0 34px; align-items: start; }
  .ostep__icon { width: 60px; height: 60px; padding: 11px; margin: 0; grid-row: 1 / 4; grid-column: 1; }
  .ostep__num { grid-column: 2; margin: 2px 0 0; font-size: 12px; }
  .ostep__name { grid-column: 2; font-size: 17px; margin: 0; }
  .ostep__desc { grid-column: 2; font-size: 14px; }
  .ostep:not(:last-child)::before, .ostep:nth-child(2)::before { display: block; top: 64px; bottom: 6px; left: 30px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--line-2), var(--acc)); }
  .ostep:not(:last-child)::after, .ostep:nth-child(2)::after { display: block; top: auto; bottom: 6px; left: 26.5px; right: auto; width: 8px; height: 8px; transform: rotate(135deg); }
  .ostep:last-child { padding-bottom: 0; }
  .overview__loop { margin-top: 28px; border-radius: 6px; font-size: 13.5px; padding: 12px 14px; }

  .support-grid { grid-template-columns: 1fr; }
  .support { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding: 24px 20px; }
  .support__head { grid-row: 1 / 3; flex-direction: column; align-items: center; gap: 8px; margin: 0; }
  .support__icon { width: 44px; height: 44px; order: -1; }
  .support__num { font-size: 11px; }
  .support__title { font-size: 18px; margin-bottom: 6px; }
  .support p { font-size: 14.5px; }

  .cycle-wrap { margin-top: 80px; gap: 32px; }
  .cycle { display: none; }
  .cycle-v { display: grid; gap: 0; position: relative; padding: 8px 0 0 0; }
  .cycle-v li { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 22px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px; color: var(--ivory); font-size: 15px; margin-right: 44px; }
  .cycle-v li:not(.cycle-v__back):not(:nth-child(4))::after { content: ""; position: absolute; left: 28px; bottom: -18px; width: 7px; height: 7px; border-right: 1px solid var(--acc); border-bottom: 1px solid var(--acc); transform: rotate(45deg); }
  .cycle-v::before { content: ""; position: absolute; right: 14px; top: 34px; bottom: 34px; width: 28px; border: 1px solid var(--acc); border-left: 0; border-radius: 0 16px 16px 0; }
  .cycle-v::after { content: ""; position: absolute; right: 40px; top: 30px; width: 8px; height: 8px; border-left: 1px solid var(--acc); border-bottom: 1px solid var(--acc); transform: rotate(45deg); }
  .cycle-v__back { background: transparent !important; border: 1px dashed rgba(184,164,125,.5) !important; border-radius: 6px !important; color: var(--acc) !important; font-size: 13.5px !important; margin-bottom: 0 !important; justify-content: center; }

  .sample { margin-top: 80px; gap: 28px; }
  .plan-card { padding: 34px 16px 18px; }
  .plan-tier { grid-template-columns: 1fr; gap: 4px; padding: 12px 14px; }
  .plan-down { margin-left: 28px; }

  .mid-cta__inner { padding-top: 36px; padding-bottom: 36px; }
  .mid-cta .btn { width: 100%; }

  .attr-badge { padding: 30px 22px; }
  .attr-pill { font-size: 26px; }

  .hub { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 0; }
  .hub__lines { display: none; }
  .hub__center { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; width: auto; height: auto; border-radius: var(--radius); flex-direction: row; padding: 16px; margin-bottom: 18px; box-shadow: none; }
  .hub__center::after { content: ""; position: absolute; left: 50%; bottom: -19px; width: 1px; height: 18px; background: var(--acc); }
  .hub__center svg { width: 30px; height: 30px; }
  .hub__item { position: relative; left: auto !important; top: auto !important; transform: none; min-width: 0; padding: 14px 10px; font-size: 14px; }
  .hub__caption { position: static; grid-column: 1 / -1; order: -1; text-align: left; margin-bottom: 4px; }

  .flow__step { grid-template-columns: 44px 1fr; column-gap: 16px; padding: 24px 20px; }
  .flow__icon { width: 44px; height: 44px; }
  .flow__title { font-size: 18px; }
  .flow-cta .btn { width: 100%; }

  .faq__item summary { font-size: 15.5px; padding: 22px 44px 22px 0; gap: 14px; }
  .faq__item summary::before, .faq__item summary::after { right: 4px; }
  .faq__a { padding: 0 8px 24px 0; gap: 14px; }
  .faq__a p { font-size: 15px; }

  .final { padding: 96px 0 100px; }
  .final__title { font-size: clamp(25px, 7vw, 30px); }
  .final__lead { font-size: 15px; }
  .final__route { flex-direction: column; gap: 0; margin: 36px auto; }
  .route-arrow { width: 1px; height: 22px; margin: 4px 0; }
  .route-arrow::after { right: auto; left: -3.5px; top: auto; bottom: 0; transform: rotate(135deg); }
  .final .btn { width: 100%; }

  .video-card__body { padding: 16px 18px 20px; }
  .video-card__title { font-size: 17px; }

  .reasons__hero { height: 480px; align-items: flex-end; padding-bottom: 32px; }
  .reasons__hero img { width: 100%; height: 64%; bottom: auto; object-position: 66% 25%; }
  .reasons__hero::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(21,26,28,0) 12%, rgba(21,26,28,0) 40%, rgba(21,26,28,.85) 58%, var(--bg) 66%); }
  .reasons__title-main { font-size: 44px; }
  .reason { padding: 72px 0; }
  .reason__inner { gap: 40px; }
  .reason__num { margin-bottom: 18px; gap: 12px; }
  .reason__num-k { font-size: 11px; padding-bottom: 10px; }
  .reason__num-n { font-size: 76px; }
  .reason__title { font-size: clamp(24px, 6.6vw, 28px); margin-bottom: 20px; letter-spacing: .04em; }
  .reason__lead { font-size: 15.5px; line-height: 1.95; }
  .reason__points li { font-size: 14.5px; }

  .cta { padding: 100px 0; }
  .cta__title { font-size: clamp(28px, 7.6vw, 34px); letter-spacing: .06em; }
  .cta__lead { font-size: 15px; margin-bottom: 36px; }
  .btn--xl { width: 100%; min-height: 68px; padding: 0 20px; font-size: 17px; }

  .footer { padding: 64px 0 120px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 4px; margin-top: 48px; }

  /* 追従CTA：ヒーローを過ぎてから表示、フッター付近では隠す */
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(21,26,28,0), rgba(21,26,28,.92) 35%); transform: translateY(110%); transition: transform .35s var(--ease); }
  .sticky-cta.is-show { transform: none; }
  .sticky-cta .btn { min-height: 54px; }
  .toast { bottom: 92px; }
}

@media (max-width: 380px) {
  .header__cta { display: none; }
  .menu-btn { margin-left: auto; }
  .concern { padding: 20px 14px 18px; }
  .concern__title { font-size: 14px; }
}

/* =========================================================
   テーマ：白×青（暗めの要素は冒頭・選ばれる理由・フッターのみ）
   ※以前の暗い配色に戻す場合は、ここから下のブロックを丸ごと削除してください
   ========================================================= */

/* --- 基本（白×青） --- */
:root {
  --bg: #FFFFFF;          /* メイン背景：白 */
  --bg-2: #F2F6FB;        /* セクション背景：ごく淡い青 */
  --bg-3: #E4ECF6;        /* 補助面 */
  --line: rgba(15, 35, 66, .12);
  --line-2: rgba(15, 35, 66, .24);
  --ivory: #0F2342;       /* 見出し：濃紺（変数名は旧配色のまま） */
  --text: #34465E;        /* 本文 */
  --muted: #5E6E84;       /* 補足 */
  --acc: #2A64B0;         /* アクセント：青 */
  --acc-soft: rgba(42, 100, 176, .1);
  --btn-bg: #0F2342; --btn-fg: #FFFFFF; --btn-hover: #1D3F70;
}

/* --- 暗めの要素：冒頭・フッター（濃紺） --- */
.hero, .footer {
  --bg: #0E1F38; --bg-2: #13284A; --bg-3: #1A3358;
  --line: rgba(255, 255, 255, .14); --line-2: rgba(255, 255, 255, .28);
  --ivory: #FFFFFF; --text: #D6E0EC; --muted: #A9B8CB; --acc: #8DB8EC;
  --btn-bg: #FFFFFF; --btn-fg: #0F2342; --btn-hover: #EAF2FC;
}
/* --- 選ばれる理由：白地（理由02のみ淡い青） --- */
.reasons { --bg: #FFFFFF; --bg-2: #F2F6FB; }
.reason--alt { background: var(--bg-2); }
/* --- 無料相談：青の帯 --- */
.cta {
  --line: rgba(255, 255, 255, .2); --line-2: rgba(255, 255, 255, .36);
  --ivory: #FFFFFF; --text: #E3EDF9; --muted: #C4D6EC; --acc: #CFE2F8;
  --btn-bg: #FFFFFF; --btn-fg: #0F2342; --btn-hover: #EAF2FC;
}

/* --- 暗い面の本文色：ページ全体の濃い本文色を受け継がないよう、各セクションで明示 --- */
.hero, .footer, .cta { color: var(--text); }

/* --- ボタン（明るい面では濃紺、暗い面では白） --- */
.btn { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.btn:hover { background: var(--btn-hover); box-shadow: 0 10px 28px -12px rgba(15, 35, 66, .45); }

/* --- ヘッダー（白） --- */
.header::before { background: rgba(255, 255, 255, .88); }
.header.is-scrolled::before { background: rgba(255, 255, 255, .97); }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 35, 66, .45); }


/* --- 冒頭（濃紺のフィルター） --- */
.hero__media img { filter: brightness(.78) saturate(.9) contrast(1.02); }
.hero__shade { background:
  radial-gradient(ellipse 60% 55% at 50% 50%, rgba(12, 30, 58, .70) 0%, rgba(12, 30, 58, .48) 62%, rgba(12, 30, 58, .30) 100%),
  linear-gradient(180deg, rgba(12, 30, 58, .55) 0%, rgba(12, 30, 58, 0) 24%),
  linear-gradient(0deg, rgba(12, 30, 58, .80) 0%, rgba(12, 30, 58, 0) 30%); }
.hero__sweep::before { background: #8DB8EC; box-shadow: 0 0 24px 2px rgba(141, 184, 236, .6); }
.hero__frame i { border-color: rgba(141, 184, 236, .7); }
.hero__title .flip { background-image: linear-gradient(110deg, #A9CBF3 0%, #FFFFFF 28%, #7FAEE6 52%, #EAF3FF 76%, #8DB8EC 100%); }
.hero__mark::after { background: linear-gradient(90deg, rgba(141, 184, 236, 0), var(--acc) 20%, var(--acc) 80%, rgba(141, 184, 236, 0)); }
.hero__marquee { background: rgba(8, 22, 44, .55); }

/* --- 合格者の声（白地のカード） --- */
.video-card { box-shadow: 0 1px 2px rgba(15, 35, 66, .05); }
a.video-card:hover { border-color: rgba(42, 100, 176, .5); box-shadow: 0 18px 40px -24px rgba(15, 35, 66, .45); }
.video-card__thumb { background: var(--bg-3); }
.video-card__play { background: rgba(15, 35, 66, .72); border-color: rgba(255, 255, 255, .85); }
.video-card__play::before { border-left-color: #FFFFFF; }
.line-note { color: #9A5B00; }
.cta .line-note { color: #FFE3A3; }

/* --- 選ばれる理由（白）：見出し帯は写真を右に置き、左の白へなめらかにつなぐ --- */
.reasons__hero img { filter: saturate(.9) brightness(1.02); }
.reasons__hero::after { background:
  linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 38%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, .1) 66%, rgba(255, 255, 255, 0) 100%),
  linear-gradient(0deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 20%); }
.reasons__title-main em { color: var(--acc); }
.reason { border-top: 0; }
/* 図の画像（暗い背景）は、白地の上で「暗いパネル」として意図的に見せる：角丸＋やわらかい影 */
.reasons .reason__img--blend img { -webkit-mask-image: none; mask-image: none; border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(15, 35, 66, .55), 0 0 0 1px rgba(15, 35, 66, .06); }
.reasons .photo-note { color: var(--muted); }
/* 薄いグレー背景の画像（理由3のチャット画面）：角丸のカードとして意図的に見せる */
.reason__img--card .reason__img-zoom { display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(15, 35, 66, .06); transition: box-shadow .3s var(--ease); }
.reason__img--card .reason__img-zoom:hover { box-shadow: 0 18px 40px -24px rgba(15, 35, 66, .45), 0 0 0 1px rgba(15, 35, 66, .08); }
.reason__img--card img { border-radius: 0; box-shadow: none; -webkit-mask-image: none; mask-image: none; }
/* 白背景で作られた画像：枠・影・ふちの加工をせず、白地にそのまま溶け込ませる */
.reason__img--plain img { border-radius: 0; box-shadow: none; -webkit-mask-image: none; mask-image: none; }

/* --- 無料相談（青） --- */
/* 背景の道場写真が見えるよう、濃紺の重ねを薄めに（中央は文字が読めるよう少し濃く） */
.cta__media picture { display: block; width: 100%; height: 100%; }
.cta__media img { filter: brightness(.85) saturate(.9); transform: none; object-position: 50% 50%; }
.cta__shade { background:
  radial-gradient(60% 65% at 50% 50%, rgba(12, 30, 58, .62), rgba(12, 30, 58, .38) 100%),
  linear-gradient(180deg, rgba(12, 30, 58, .25), rgba(12, 30, 58, .45)); }
.cta__title, .cta__lead { text-shadow: 0 2px 18px rgba(8, 20, 40, .55); }
.btn--xl { box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .45); }

/* --- よくある質問 --- */
.faq__item summary:hover { color: var(--acc); }

/* --- フッター（濃紺） --- */
.footer { background: #0E1F38; border-top: 0; }

/* --- 下層ページ（お問い合わせ・規約など） --- */
.law-table th { background: var(--bg-2); }

@media (max-width: 1024px) {
  .gnav { background: #FFFFFF; }
}
@media (max-width: 767px) {
  .sticky-cta { background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .95) 35%); }
  .reasons__hero::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .88) 58%, #FFFFFF 66%); }
  .law-table th { background: transparent; }
}

/* --- 理由2：講師3名の写真（縦長カードを互い違いに並べ、複数の講師がいることを伝える） --- */
.team3 { margin: 0; }
.team3__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; padding-bottom: 36px; }
.team3__item { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3);
  box-shadow: 0 24px 48px -28px rgba(15, 35, 66, .55), 0 0 0 1px rgba(15, 35, 66, .06); }
.team3__item:nth-child(2) { transform: translateY(36px); }
.team3__item img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50%) 50%; transition: transform .6s var(--ease); }
.team3__item:hover img { transform: scale(1.04); }
.team3__caption { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; font-size: 14px; letter-spacing: .08em; color: var(--ivory); font-weight: 500; }
.team3__line { width: 28px; height: 1px; background: var(--acc); }
/* 画面に入ったとき、1人ずつ順に現れる（動きを減らす設定では表示のみ） */
.js .reveal.is-in .team3__item { animation: teamPop .7s var(--ease) both; }
.js .reveal.is-in .team3__item:nth-child(1) { animation-delay: .05s; }
.js .reveal.is-in .team3__item:nth-child(2) { animation-delay: .2s; animation-name: teamPop2; }
.js .reveal.is-in .team3__item:nth-child(3) { animation-delay: .35s; }
@keyframes teamPop { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes teamPop2 { from { opacity: 0; transform: translateY(60px) scale(.96); } to { opacity: 1; transform: translateY(36px); } }
@media (max-width: 1024px) {
  .reason__visual .team3 { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 767px) {
  .team3__list { gap: 10px; padding-bottom: 20px; }
  .team3__item { border-radius: 10px; }
  .team3__item:nth-child(2) { transform: translateY(20px); }
  @keyframes teamPop2 { from { opacity: 0; transform: translateY(44px) scale(.96); } to { opacity: 1; transform: translateY(20px); } }
  .team3__caption { font-size: 13px; margin-top: 14px; }
}

/* --- 理由3：薄いグレー背景の画像をカードとして見せる場合の設定（現在の画像は白背景のため未使用） --- */
.reason__img--card img { border-radius: 14px; box-shadow: 0 24px 48px -28px rgba(15, 35, 66, .5), 0 0 0 1px rgba(15, 35, 66, .06); -webkit-mask-image: none; mask-image: none; }
@media (max-width: 767px) {
  .reason__img--card img { border-radius: 10px; }
}

/* --- LINEボタン：LINEのブランドカラー（緑 #06C755）に統一 --- */
.btn--line { background: #06C755; color: #FFFFFF; border-color: #06C755; }
.btn--line:hover { background: #05B34C; border-color: #05B34C; color: #FFFFFF; box-shadow: 0 10px 28px -12px rgba(6, 199, 85, .55); }
.btn--line .btn__icon { color: #FFFFFF; }
.cta .btn--line { box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .45); }
