/* 20's（トゥエニース） — site styles */

/* ---------- Tokens ---------- */
:root {
  --brand:      #03abc5;
  --brand-dark: #0290a6;
  --brand-text: #05778a;
  --brand-deep: #0f3a43;
  --tint:       #e8f3f4;

  --paper:    #f8f6f1;
  --paper-2:  #f1ede6;     /* 一段濃い生成り。帯や写真の下地に */
  --surface:  #ffffff;
  --ink:      #222222;
  --ink-sub:  #6e6c66;
  --on-dark:  #f3f1ec;

  --rule:       #cfcbc1;
  --rule-light: #e4e0d7;

  --font-ja:   "Shippori Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en:   Marcellus, "Times New Roman", serif;
  --font-num:  Barlow, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gut: 40px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-ja); font-size: 15px; line-height: 2.1; letter-spacing: .04em;
  font-feature-settings: normal; word-break: auto-phrase;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
small { font-size: inherit; }
code { font-family: Menlo, Consolas, monospace; font-size: .86em; background: rgba(34, 34, 34, .08); padding: .1em .4em; border-radius: 3px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: 12px 20px; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }
.pc { display: inline; }

/* 写真の差し替え枠 */
.ph {
  display: grid; place-items: center; background: var(--paper-2); color: #b8b3a8;
  font-family: var(--font-num); font-weight: 300; font-size: 13px; letter-spacing: .3em;
}
.ph-portrait { aspect-ratio: 3 / 4; }
.ph-landscape { aspect-ratio: 4 / 3; }

.note { margin-top: 20px; font-family: var(--font-sans); font-size: 12px; line-height: 1.9; letter-spacing: .02em; color: var(--ink-sub); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 32px;
  min-width: 260px; padding: 18px 28px 18px 32px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: .12em; line-height: 1.2;
  border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transition: color .3s var(--ease), border-color .3s;
}
.btn::after {
  content: ""; width: 7px; height: 7px; flex: none;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.btn:hover::after { transform: translateX(4px) rotate(45deg); }
/* ホバーで地色が左から満ちる */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleX(1); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary::before { background: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: #fff; }
.btn-lg { min-width: 300px; padding: 22px 30px 22px 36px; font-size: 15px; }

/* ---------- Header / Drawer ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 120; transition: background-color .4s; }
.drawer-open .site-header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-stuck { background: rgba(248, 246, 241, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; padding-inline: var(--gut); }
.logo { display: flex; align-items: baseline; gap: 14px; }
.logo img { width: auto; height: 28px; }
.logo small { font-family: var(--font-sans); font-size: 11px; letter-spacing: .14em; color: var(--ink-sub); }

.hamburger { position: relative; width: 56px; height: 56px; z-index: 120; }
.hamburger span { position: absolute; left: 14px; width: 28px; height: 1px; background: var(--ink); transition: transform .4s var(--ease), width .3s; }
.hamburger span:nth-child(1) { top: 24px; }
.hamburger span:nth-child(2) { top: 32px; width: 18px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { width: 28px; transform: translateY(-4px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 110; background: var(--paper);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer-inner { max-width: var(--container); margin-inline: auto; padding: 140px var(--gut) 80px; }
.drawer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; border-top: 1px solid var(--rule); }
.drawer-nav li { border-bottom: 1px solid var(--rule-light); }
.drawer-nav a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 16px;
  padding: 22px 0; transition: color .3s;
}
.drawer-nav a:hover { color: var(--brand-text); }
.drawer-nav .en { font-family: var(--font-en); font-size: 34px; line-height: 1.2; }
.drawer-nav .ja { font-family: var(--font-sans); font-size: 12px; letter-spacing: .1em; color: var(--ink-sub); }
.drawer-foot { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.drawer-sub { display: flex; flex-wrap: wrap; gap: 24px; font-family: var(--font-sans); font-size: 12px; letter-spacing: .06em; color: var(--ink-sub); }
.drawer-sub a:hover { color: var(--brand-text); }
.js .drawer .drawer-nav li, .js .drawer .drawer-foot { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .drawer.is-open .drawer-nav li, .js .drawer.is-open .drawer-foot { opacity: 1; transform: none; }
.js .drawer.is-open .drawer-nav li:nth-child(n) { transition-delay: calc(.15s + var(--i, 0) * .06s); }
.js .drawer.is-open .drawer-foot { transition-delay: .6s; }
body.drawer-open { overflow: hidden; }

/* ---------- KV ---------- */
.kv { position: relative; min-height: min(100vh, 960px); padding: 180px 0 120px; overflow: hidden; }
/* KV の地。グラデーションで面を埋め、動きは円2枚の transform だけ */
.kv-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background:
    radial-gradient(72% 58% at 22% 26%, rgba(3, 171, 197, .16), rgba(3, 171, 197, 0) 70%),
    radial-gradient(62% 52% at 86% 12%, rgba(232, 243, 244, .85), rgba(232, 243, 244, 0) 72%),
    linear-gradient(180deg, var(--tint) 0%, rgba(232, 243, 244, .5) 45%, rgba(248, 246, 241, 0) 80%);
}
/* ゆっくり漂う2枚 */
.kv-bg .drift { position: absolute; width: 78vw; aspect-ratio: 1; border-radius: 50%; pointer-events: none; }
.kv-bg .drift-1 {
  left: -20vw; top: -26vw;
  background: radial-gradient(closest-side, rgba(3, 171, 197, .2), rgba(3, 171, 197, 0));
  animation: kv-drift-1 30s ease-in-out infinite alternate;
}
.kv-bg .drift-2 {
  right: -16vw; top: 6vw;
  background: radial-gradient(closest-side, rgba(232, 243, 244, .85), rgba(232, 243, 244, 0));
  animation: kv-drift-2 38s ease-in-out infinite alternate;
}
/* KV の下端を地色に溶かす */
.kv-bg::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background: linear-gradient(180deg, rgba(248, 246, 241, 0), var(--paper));
}
@keyframes kv-drift-1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(7vw, 5vw, 0) scale(1.1); } }
@keyframes kv-drift-2 { from { transform: translate3d(0, 0, 0) scale(1.06); } to { transform: translate3d(-6vw, -4vw, 0) scale(1); } }
.kv-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto auto auto; column-gap: 64px; }
.kv-copy { grid-column: 1; }
.kv-label { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 14px; letter-spacing: .18em; color: var(--brand-text); }
.kv-title { margin-top: 32px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.65; letter-spacing: .06em; font-weight: 500; word-break: keep-all; }
.kv-title .line { display: block; }
/* 行頭が「 で始まる行は、括弧の左アキぶんだけ引き出して行頭を揃える */
.kv-title .line.hang { text-indent: -.35em; }
.kv-message { grid-column: 1; margin-top: 64px; font-size: clamp(15px, 1.25vw, 17px); line-height: 2.5; }
.kv-message p + p { margin-top: 2.4em; }
.kv-sub { grid-column: 1; margin-top: 64px; padding-left: 68px; position: relative; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: .1em; color: var(--brand-deep); }
.kv-sub::before { content: ""; position: absolute; left: 0; top: 1em; width: 48px; height: 1px; background: var(--brand); }
.kv-pic { grid-column: 2; grid-row: 1 / span 3; align-self: start; position: sticky; top: 120px; }
.kv-pic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 50%; }
/* 画面を斜めに横切る細い線 */
.kv-line { position: absolute; left: -10%; right: -10%; bottom: 14%; height: 1px; background: linear-gradient(90deg, transparent, var(--brand) 30%, var(--brand) 70%, transparent); transform: rotate(-6deg); opacity: .5; pointer-events: none; }

/* KV の文字は読み込み後に順に出す */
.js .kv-label, .js .kv-title .line { opacity: 0; transform: translateY(14px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.js.is-loaded .kv-label { opacity: 1; transform: none; filter: none; }
.js.is-loaded .kv-title .line { opacity: 1; transform: none; filter: none; }
.js.is-loaded .kv-title .line:nth-child(1) { transition-delay: .3s; }
.js.is-loaded .kv-title .line:nth-child(2) { transition-delay: .55s; }
/* 本文は見出しのあとに、段落ごとに上から順にふわっと出す（順番は main.js が決める） */
.js .kv-message p, .js .kv-sub { opacity: 0; transform: translateY(12px); filter: blur(6px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease), filter 1.4s var(--ease); }
.js .kv-message p.is-act, .js .kv-sub.is-act { opacity: 1; transform: none; filter: none; }

/* ---------- Sections（共通） ---------- */
.sec { position: relative; padding: clamp(96px, 12vw, 160px) 0; }
.sec-title .main { font-family: var(--font-en); font-weight: 400; font-size: clamp(56px, 8.5vw, 120px); line-height: 1; letter-spacing: .01em; color: var(--ink); }
.sec-catch { margin-top: 48px; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.7; letter-spacing: .08em; }
.sec-lead { margin-top: 24px; font-size: 15px; max-width: 40em; }
.sec-lead small { display: block; margin-top: 12px; font-family: var(--font-sans); font-size: 12px; color: var(--ink-sub); }
.sec .num { font-family: var(--font-num); font-weight: 300; letter-spacing: .06em; color: var(--brand-text); }

/* 英字の見出しは文字ごとにぼかしから現れる */
.split .word { display: inline-block; white-space: nowrap; }
.js .split .word span { display: inline-block; opacity: 0; filter: blur(10px); transform: translateX(30px) skewX(-10deg) scale(1.05); transition: opacity .8s ease, filter .8s ease, transform .8s ease; }
.split .sp { display: inline-block; width: .3em; }
.js .anim.is-act .split .word span { opacity: 1; filter: blur(0); transform: none; }
.js .sec-title.anim { transform: none; }

/* スクロールで立ち上がる要素 */
.js .anim:not(.sec-title) { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .anim:not(.sec-title).is-act { opacity: 1; transform: none; }

/* ---------- #01 For You ---------- */
/* 写真を左に、違和感のリストを右に並べる */
.problem-body { margin-top: 64px; display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: start; }
.problem-pic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.problem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--rule); }
.problem-grid li { padding: 36px 0 32px; border-bottom: 1px solid var(--rule-light); }
.problem-grid p { font-size: 16px; line-height: 2; }

/* ---------- #02 Promise ---------- */
.sec-about { background: var(--surface); }
.three-col { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.three-col img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; margin-bottom: 28px; }
.three-col .num { display: block; font-size: 22px; line-height: 1; }
.three-col h3 { margin-top: 12px; font-size: 21px; line-height: 1.7; letter-spacing: .06em; }
.three-col p { margin-top: 12px; font-family: var(--font-sans); font-size: 14px; line-height: 2; letter-spacing: .02em; color: var(--ink-sub); text-align: justify; }

/* ---------- #03 Program ---------- */
.sec-program { padding-bottom: 0; }
/* 列の隙間は本文どうしの間隔として 28px 取り、矢羽根だけを左右に 10px はみ出させて
   帯の隙間を 8px に戻す。こうすると本文の間に区切り線を引く余白が生まれる */
.steps { margin-top: 72px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 28px; }
/* フェーズは矢羽根の色の深まりで進み具合を示す。薄い3段は白抜きだと読めないので文字を濃紺にする */
.steps li { position: relative; --chip-h: 150px; --phase: var(--brand); --on-phase: #fff; }
/* 本文どうしの区切り。隙間の中央に立て、矢羽根の下端から下だけに引く */
.steps li + li::after {
  content: ""; position: absolute; left: -14px; top: calc(var(--chip-h) + 20px); bottom: 0;
  width: 1px; background: var(--rule-light);
}
.steps li:nth-child(1) { --phase: #d5eaf0; --on-phase: var(--brand-deep); }
.steps li:nth-child(2) { --phase: #a3d8e3; --on-phase: var(--brand-deep); }
.steps li:nth-child(3) { --phase: #4dbfd3; --on-phase: var(--brand-deep); }
.steps li:nth-child(4) { --phase: var(--brand-text); --on-phase: #fff; }
.steps li:nth-child(5) { --phase: var(--brand-deep); --on-phase: #fff; }
/* 右に尖らせ、左を同じ角度で抉る。grid の gap がそのまま隣との平行な隙間になる */
.step-chip {
  --tip: 28px;
  --chip: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%, var(--tip) 50%);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: var(--chip-h); margin-inline: -10px; padding: 20px calc(var(--tip) + 10px);
  background: var(--phase); color: var(--on-phase); text-align: center;
  clip-path: var(--chip);
}
/* 先頭だけは抉らない（帯の始まりなので）。両端は container の内側で止める */
.steps li:first-child .step-chip { --chip: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%); margin-left: 0; }
.steps li:last-child .step-chip { margin-right: 0; }
.steps .when { font-family: var(--font-num); font-weight: 500; font-size: 13px; letter-spacing: .18em; }
.steps h3 { margin-top: 10px; min-height: 3.4em; font-size: 12.5px; line-height: 1.7; letter-spacing: .04em; }
/* body の word-break: auto-phrase は文節で折るため、5カラムの狭さだと行長が揃わず
   両端揃えで字間が伸びる。ここだけ通常の禁則にして行を詰まらせる */
/* 両端揃えの和文は、1行の幅が1文字の幅の整数倍でないと字間が伸びて「ぱらぱら」する。
   字送りを 0 にして1文字＝1em にしたうえで、列幅を1文字単位に切り下げて揃える。
   round() 未対応のブラウザでは width が無効になり、従来どおり列幅いっぱいになる */
.steps p { margin-top: 20px; width: round(down, 100%, 1em); font-family: var(--font-sans); font-size: 13.5px; line-height: 2; letter-spacing: 0; color: var(--ink-sub); text-align: justify; word-break: normal; }

.data { position: relative; margin-top: clamp(96px, 12vw, 160px); padding: clamp(80px, 10vw, 140px) 0; color: var(--on-dark); overflow: hidden; }
.data-bg { position: absolute; inset: 0; z-index: 0; background: var(--brand-deep) url(../img/data.jpg) center / cover no-repeat; }
.data-bg::after { content: ""; position: absolute; inset: 0; background: rgba(15, 58, 67, .78); }
.data-inner { position: relative; z-index: 1; }
.data-title { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .1em; }
.data-title small { display: block; font-family: var(--font-num); font-weight: 300; font-size: 14px; letter-spacing: .3em; color: var(--brand); margin-bottom: 12px; }
.data-list { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.data-list > div { border-left: 1px solid rgba(243, 241, 236, .25); padding-left: 24px; }
.data-list dt { font-family: var(--font-sans); font-size: 12px; letter-spacing: .12em; color: rgba(243, 241, 236, .7); }
.data-list dd { margin-top: 8px; display: flex; align-items: baseline; gap: 8px; }
.data-list .figure { font-family: var(--font-num); font-weight: 300; font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: .02em; color: #fff; }
.data-list .unit { font-size: 14px; letter-spacing: .08em; }

/* ---------- #04 People ---------- */
.sec-voice { background: var(--surface); overflow: hidden; }
.voice-grid { margin-top: 72px; display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 96px; align-items: start; }
.voice-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 30%; }
.voice-photo figcaption { margin-top: 10px; font-family: var(--font-sans); font-size: 11px; letter-spacing: .08em; color: var(--ink-sub); }
.voice-quote .catch { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.8; letter-spacing: .08em; }
.voice-quote blockquote { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--rule); }
.voice-quote blockquote p { font-size: clamp(17px, 1.7vw, 21px); line-height: 2.1; letter-spacing: .06em; }
.voice-quote blockquote p + p { margin-top: 1.6em; }
.voice-quote figcaption { margin-top: 32px; font-size: 15px; display: flex; align-items: baseline; gap: 14px; }
.voice-quote figcaption::before { content: ""; width: 32px; height: 1px; background: var(--ink); align-self: center; }
.voice-quote figcaption small { font-family: var(--font-sans); font-size: 11px; letter-spacing: .08em; color: var(--ink-sub); }

/* ---------- #05 Coach ---------- */
.coach-grid { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 64px; align-items: start; }
.coach-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.coach-name { margin-top: 48px; font-size: 30px; letter-spacing: .1em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 20px; }
.coach-name small { font-family: var(--font-sans); font-size: 12px; letter-spacing: .1em; color: var(--brand-text); }
.coach-text { margin-top: 24px; font-size: 15px; max-width: 41em; }
.coach-text p + p { margin-top: 1.2em; }
.facts { margin-top: 40px; border-top: 1px solid var(--rule); }
.facts > div { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule-light); font-family: var(--font-sans); }
.facts dt { font-size: 12px; letter-spacing: .08em; color: var(--ink-sub); }
.facts dd { font-size: 14px; }

/* ---------- #06 FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 96px; align-items: start; }
.faq-grid .sec-title { position: sticky; top: 120px; }
.faq-grid .sec-catch { margin-top: 28px; font-size: 20px; }
.faq-list { border-top: 1px solid var(--rule); }
.faq { border-bottom: 1px solid var(--rule-light); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 26px 56px 26px 0; font-size: 17px; line-height: 1.8; letter-spacing: .04em; transition: color .3s; }
.faq summary:hover { color: var(--brand-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; background: var(--brand); transition: transform .3s var(--ease), opacity .3s; }
.faq summary::before { width: 16px; height: 1px; margin-top: -.5px; }
.faq summary::after { width: 1px; height: 16px; margin-top: -8px; right: 15.5px; }
.faq[open] summary::after { opacity: 0; transform: rotate(90deg); }
.faq-a { padding: 0 0 28px; font-family: var(--font-sans); font-size: 14px; line-height: 2; letter-spacing: .02em; color: var(--ink-sub); max-width: 40em; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.js .faq[open] .faq-a { animation: faq-open .4s var(--ease); }

/* ---------- News ---------- */
.sec-news { background: var(--surface); }
.news-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 96px; align-items: start; }
.news-grid .sec-catch { margin-top: 28px; font-size: 20px; }
.news-list { border-top: 1px solid var(--rule); font-family: var(--font-sans); }
.news-list li { border-bottom: 1px solid var(--rule-light); }
.news-list a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 8px 28px;
  padding: 26px 0; transition: color .3s;
}
.news-list a::after { content: ""; width: 7px; height: 7px; align-self: center; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.news-list a:hover { color: var(--brand-text); }
.news-list a:hover::after { transform: translateX(4px) rotate(45deg); }
.news-list .title { font-size: 14px; line-height: 1.9; letter-spacing: .02em; }
.news-meta { display: flex; align-items: baseline; gap: 16px; white-space: nowrap; }
.news-meta time { font-family: var(--font-num); font-weight: 300; font-size: 14px; letter-spacing: .1em; color: var(--ink-sub); }
.news-tag { padding: 1px 10px; border: 1px solid var(--brand); font-family: var(--font-sans); font-size: 11px; line-height: 1.8; letter-spacing: .1em; color: var(--brand-text); }
.news-more { margin-top: 32px; }

/* お知らせページの記事 */
.news-entry + .news-entry { margin-top: 64px; }
.news-entry h3 { margin-top: 16px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.9; letter-spacing: .06em; }
.news-entry .doc-links { margin-top: 32px; }

/* ---------- Contact ---------- */
.contact { position: relative; min-height: min(100vh, 880px); display: grid; align-items: center; padding: 120px 0; color: var(--on-dark); overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: 0; background: var(--brand-deep) url(../img/contact.jpg) center / cover no-repeat; }
.contact-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 58, 67, .92) 0%, rgba(15, 58, 67, .7) 55%, rgba(15, 58, 67, .45) 100%); }
.contact-inner { position: relative; z-index: 1; }
.contact-label { display: block; font-family: var(--font-num); font-weight: 300; font-size: 14px; letter-spacing: .3em; color: var(--brand); }
.contact-title { margin-top: 28px; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.55; letter-spacing: .08em; color: #fff; }
.contact-text { margin-top: 36px; font-size: 15.5px; color: rgba(243, 241, 236, .85); }
.contact-actions { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 20px; }
.contact .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.contact .btn-ghost::before { background: #fff; }
.contact .btn-ghost:hover { color: var(--brand-deep); }
.contact .note { color: rgba(243, 241, 236, .6); }
.contact-logo { position: absolute; right: var(--gut); bottom: 48px; z-index: 1; width: 150px; opacity: .9; }
.contact code { background: rgba(255, 255, 255, .15); }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); padding: 72px 0 calc(104px + env(safe-area-inset-bottom)); font-family: var(--font-sans); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.footer-brand img { width: 150px; }
.footer-brand p { margin-top: 18px; font-size: 12px; line-height: 1.9; letter-spacing: .08em; color: var(--ink-sub); }
.footer-nav { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-nav ul { display: grid; gap: 10px; align-content: start; }
.footer-nav a { font-size: 13px; letter-spacing: .06em; transition: color .3s; }
.footer-nav a:hover { color: var(--brand-text); }
.copyright { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule-light); font-family: var(--font-num); font-weight: 300; font-size: 12px; letter-spacing: .12em; color: var(--ink-sub); }
.copyright .container { display: block; }

/* ---------- 画面下部に固定する導線 ---------- */
.fixed-cta {
  position: fixed; z-index: 90; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 24px; white-space: nowrap;
  padding: 17px 30px 17px 34px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: .12em; line-height: 1.2;
  box-shadow: 0 10px 28px rgba(15, 58, 67, .26), 0 2px 6px rgba(15, 58, 67, .14);
  transition: background-color .3s, box-shadow .3s var(--ease), transform .4s var(--ease), opacity .4s, visibility .4s;
}
/* ファーストビューを抜けるまでは引っ込めておく（JS 無効時は最初から出す） */
.js .fixed-cta:not(.is-visible) {
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(140%);
}
.fixed-cta::after {
  content: ""; width: 7px; height: 7px; flex: none;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.fixed-cta:hover {
  background: var(--brand-deep);
  box-shadow: 0 16px 34px rgba(15, 58, 67, .32), 0 3px 8px rgba(15, 58, 67, .18);
  transform: translateX(-50%) translateY(-2px);
}
.fixed-cta:hover::after { transform: translateX(4px) rotate(45deg); }
.fixed-cta:active { transform: translateX(-50%); box-shadow: 0 6px 16px rgba(15, 58, 67, .24); }

/* ---------- 下層ページ（運営者情報・特商法・プライバシー） ---------- */
.page-head { padding: 176px 0 0; }
.page-head .sec-catch { margin-top: 32px; font-size: clamp(20px, 2vw, 26px); }
.page-head .sec-lead { margin-top: 32px; }
/* 直後のセクションが白地で始まるページは、生成りの面を下にも残して区切る */
.page-head.is-banded { padding-bottom: clamp(64px, 7vw, 96px); }
.draft-note {
  margin-top: 56px; padding: 22px 32px; max-width: 48em;
  border-left: 2px solid var(--brand); background: var(--tint);
  font-family: var(--font-sans); font-size: 13px; line-height: 2; letter-spacing: .02em;
}
.draft-note small { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: .12em; color: var(--brand-text); }
.todo { display: inline-block; padding: 0 .5em; background: rgba(3, 171, 197, .12); color: var(--brand-text); font-family: var(--font-sans); font-size: .92em; font-weight: 500; letter-spacing: .04em; }

.sec-legal { padding: clamp(72px, 8vw, 112px) 0; }
.sec-legal.sec-alt { background: var(--surface); }
.legal-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 96px; align-items: start; }
.legal-grid .sec-title { position: sticky; top: 120px; }
.legal-grid .sec-title h2 { margin-top: 20px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.7; letter-spacing: .08em; }
.js .legal-grid .sec-title.anim h2 { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease) .2s, transform 1s var(--ease) .2s; }
.js .legal-grid .sec-title.anim.is-act h2 { opacity: 1; transform: none; }

.legal { border-top: 1px solid var(--rule); }
.legal > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule-light); font-family: var(--font-sans); }
.legal dt { padding-top: 3px; font-size: 12px; line-height: 2; letter-spacing: .08em; color: var(--ink-sub); }
.legal dd { font-size: 14px; line-height: 2; letter-spacing: .02em; max-width: 36em; }
.legal dd strong { font-weight: 500; color: var(--brand-deep); }
.legal-items { margin-top: 8px; }
.legal-items li { padding-left: 2.4em; text-indent: -2.4em; }
.legal-updated { margin-top: 32px; font-family: var(--font-sans); font-size: 12px; letter-spacing: .04em; color: var(--ink-sub); }

.link-arrow { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-sans); font-size: 13px; letter-spacing: .1em; transition: color .3s; }
.link-arrow::after { content: ""; width: 7px; height: 7px; flex: none; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--brand-text); }
.link-arrow:hover::after { transform: translateX(4px) rotate(45deg); }
.back-link { margin-top: 40px; }
.doc-links { border-top: 1px solid var(--rule); }
.doc-links p:not(.back-link) { border-bottom: 1px solid var(--rule-light); }
.doc-links p:not(.back-link) .link-arrow { display: flex; justify-content: space-between; padding: 20px 0; font-size: 14px; }

/* ---------- Motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .anim, .js .split .word span, .js .sec-title.anim small, .js .kv-label, .js .kv-title .line, .js .kv-message p, .js .kv-sub, .js .drawer .drawer-nav li, .js .drawer .drawer-foot, .js .legal-grid .sec-title.anim h2 {
    opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; letter-spacing: inherit;
  }
  .js .faq[open] .faq-a { animation: none; }
  .kv-bg .drift { animation: none; }   /* 地の色は残し、漂う動きだけ止める */
}

/* ---------- Responsive ---------- */
/* 5列を保てるのは container が最大幅の 1200px 以上のときだけ。それより狭いと
   見出しが3行に折れて矢羽根の高さが揃わなくなるので、先に3列へ落とす */
@media (max-width: 1199px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .steps li:nth-child(3n+1) .step-chip { --chip: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%); margin-left: 0; }
  .steps li:nth-child(3n) .step-chip { margin-right: 0; }
  .steps li:nth-child(3n+1)::after { display: none; }
}

@media (max-width: 1024px) {
  :root { --gut: 32px; }
  .kv-inner { grid-template-columns: minmax(0, 1fr) 320px; column-gap: 48px; }
  .problem-body { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
  .problem-grid { gap: 0 32px; }
  .data-list { gap: 32px 24px; }
  .coach-grid { grid-template-columns: 320px minmax(0, 1fr); gap: 40px; }
  .faq-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; }
  .news-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; }
  .drawer-nav { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; }
}

@media (max-width: 768px) {
  :root { --gut: 24px; }
  body { font-size: 14.5px; line-height: 2; }
  .pc { display: none; }
  .header-inner { height: 68px; }
  .drawer-inner { padding-top: 110px; }
  .drawer-nav .en { font-size: 28px; white-space: nowrap; }
  /* 1列目を 3.2em に固定すると 28px の英字（For You で101px）が収まらず、
     はみ出して2列目の和文に重なる。PC と同じく英字に必要なだけ渡す */
  .drawer-nav a { padding: 16px 0; column-gap: 12px; }
  .logo img { height: 22px; }
  .logo small { display: none; }

  .kv { min-height: 0; padding: 120px 0 80px; }
  .kv-inner { grid-template-columns: 1fr; }
  .kv-copy, .kv-message, .kv-sub, .kv-pic { grid-column: 1; }
  .kv-pic { grid-row: auto; position: static; margin-top: 48px; }
  /* SP は PC と同じ位置で改行するよう、文字サイズを画面幅から決める */
  .kv-title { font-size: min(32px, calc((100vw - 48px) / 13.4)); line-height: 1.65; letter-spacing: .03em; }
  .kv-message { margin-top: 40px; font-size: clamp(13px, calc((100vw - 48px) / 23.3), 15px); line-height: 2.3; }
  .kv-sub { margin-top: 40px; padding-left: 40px; font-size: clamp(13px, calc((100vw - 88px) / 20.2), 16px); line-height: 1.9; }
  .kv-sub::before { width: 24px; top: .95em; }
  .kv-line { display: none; }

  .sec { padding: 80px 0; }
  .sec-title .main { font-size: clamp(48px, 15vw, 72px); }
  .sec-catch { margin-top: 28px; font-size: 21px; }
  .problem-body { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .problem-pic img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-grid li { padding: 22px 0; }
  .problem-grid p { font-size: 15px; }
  .three-col { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
  .steps { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
  /* 縦積みでは右向きの矢羽根が読みの流れと合わない。かといって幅いっぱいを斜めに
     切ると角度が浅すぎて矢印に見えないので、下辺は水平のまま小さな爪を出す */
  .steps .step-chip,
  .steps li:first-child .step-chip,
  .steps li:nth-child(3n+1) .step-chip {
    --tip: 18px;
    --chip: polygon(0 0, 100% 0, 100% calc(100% - var(--tip)), calc(50% + 30px) calc(100% - var(--tip)), 50% 100%, calc(50% - 30px) calc(100% - var(--tip)), 0 calc(100% - var(--tip)));
    min-height: 0; margin-inline: 0; padding: 24px 24px calc(24px + var(--tip));
  }
  /* 縦積みでは STEP の行を揃える相手がいないので、2行分の余白は要らない */
  .steps h3 { min-height: 0; }
  .steps li + li::after { display: none; }
  .data { margin-top: 80px; }
  .data-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .voice-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .voice-quote .catch br { display: none; }
  .coach-grid { grid-template-columns: 1fr; gap: 40px; }
  .coach-name { margin-top: 32px; font-size: 26px; }
  .contact-actions .btn { width: 100%; min-width: 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-grid .sec-title { position: static; }
  .faq summary { font-size: 15.5px; padding-right: 44px; }
  .news-grid { grid-template-columns: 1fr; gap: 32px; }
  /* SP は日付・ラベルの行と見出しの行に分け、矢印は右端に縦中央で置く */
  .news-list a { grid-template-columns: minmax(0, 1fr) auto; padding: 22px 0; }
  .news-list .news-meta { grid-column: 1; }
  .news-list .title { grid-column: 1; }
  .news-list a::after { grid-column: 2; grid-row: 1 / span 2; }
  .contact { min-height: 0; padding: 96px 0 140px; }
  .contact-logo { width: 110px; bottom: 40px; }
  .contact-title br { display: none; }
  .footer-nav { gap: 32px; width: 100%; }
  .fixed-cta { left: 16px; right: 16px; transform: none; justify-content: center; padding: 16px 22px; font-size: 13px; gap: 16px; }
  .fixed-cta:hover, .fixed-cta:active { transform: none; }
  .js .fixed-cta:not(.is-visible) { transform: translateY(140%); }
}

@media (max-width: 768px) {
  .page-head { padding-top: 120px; }
  .draft-note { margin-top: 40px; padding: 18px 20px; }
  .sec-legal { padding: 64px 0; }
  .legal-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-grid .sec-title { position: static; }
  .legal-grid .sec-title h2 { margin-top: 12px; font-size: 22px; }
  .legal-grid .sec-title h2 br { display: none; }
  .legal > div { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .legal dt { padding-top: 0; }
  .legal dt br { display: none; }
}
