/* ============================================================
   U-NEXT LP — スタイル
   ゼロ依存。トークンは :root に集約しています。
   色は U-NEXT のブランドアセット（#000A17 / #FFFFFF / #404751）と
   U-NEXT HOLDINGS の新 VI（ターコイズ）を出典としています。
   ============================================================ */

/* ------------------------------------------------------------
   1. トークン
   ------------------------------------------------------------ */
:root {
  --bg:          #000A17;
  --bg-elev:     #0B1622;
  --bg-elev-2:   #12202E;
  --line:        #1E2A38;
  --line-strong: #2A3948;

  --fg:       #FFFFFF;
  --fg-muted: #9BA6B2;
  --fg-dim:   #6C7885;

  --accent:    #00C4B3;
  --accent-fg: #00120F;

  --radius:       12px;
  --radius-lg:    18px;
  --radius-pill:  999px;

  --wrap:        1180px;
  --wrap-narrow: 820px;
  --header-h:    64px;

  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
          "Yu Gothic", Meiryo, system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* レイアウト */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--fg);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------
   3. ボタン
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: scale(.985); }

/* 主ボタンは白地 + 濃紺文字。暗い背景でのコントラストが最も高い組み合わせ。 */
.btn--primary {
  background: var(--fg);
  color: var(--bg);
}
.btn--primary:hover { background: #E6EBF0; }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--fg-muted); background: rgba(255,255,255,.04); }

.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn--lg { padding: 17px 36px; font-size: 16.5px; }
.btn--block { display: flex; width: 100%; }

/* CTA ブロック（ボタン + 但し書き） */
.cta { margin-top: 28px; }
.cta__note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   4. ヘッダー
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(0, 10, 23, .72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(0, 10, 23, .92);
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

/* 公式ロゴは登録商標のため画像を使わず、組版で近似しています。 */
.wordmark {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--fg);
}
.wordmark__u { color: var(--accent); }

.nav {
  display: flex;
  gap: 26px;
  margin-inline: auto;
  font-size: 14px;
}
.nav a {
  color: var(--fg-muted);
  transition: color .16s var(--ease);
}
.nav a:hover { color: var(--fg); }

.site-header__actions { display: flex; gap: 10px; align-items: center; }

/* ------------------------------------------------------------
   5. ヒーロー
   ------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 84px 0 96px;
  overflow: hidden;
}
/* 背景の淡い光。画像を使わずに奥行きを出す。 */
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(60% 55% at 72% 18%, rgba(0,196,179,.14) 0%, transparent 62%),
    radial-gradient(52% 48% at 12% 6%,  rgba(52,104,180,.20) 0%, transparent 66%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 7px 16px;
  margin-bottom: 22px;
  border-radius: var(--radius-pill);
  background: rgba(0,196,179,.13);
  border: 1px solid rgba(0,196,179,.34);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* 見出しの1行目は「映画も、ドラマも、アニメも。」＝全角14字。
   日本語は語間に空白が無く text-wrap: balance が語中で割る
   （「ア / ニメも。」）ため、1行目が必ず収まるよう文字サイズを
   幅から逆算する。14 字 × font-size ≦ 利用可能幅 が条件。
   利用可能幅 = 100vw − 余白48px とみなし、字送りは全角＝1em。
   22px を下限にしているので、320px 未満の端末でのみ折り返す。 */
.hero__title {
  font-size: clamp(22px, calc((100vw - 48px) / 14), 44px);
  line-height: 1.26;
  letter-spacing: -.03em;
  text-wrap: balance;
  /* 対応ブラウザでは語句単位で折ってくれる（未対応でも上記の計算で収まる） */
  word-break: auto-phrase;
}
.hero__title-br { display: block; }

.hero__lead {
  margin-top: 24px;
  max-width: 34em;
  font-size: 16px;
  color: var(--fg-muted);
}

/* 料金の要約 */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stats dt {
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: .04em;
}
.stats dd {
  margin-top: 2px;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stats dd small { font-size: 14px; font-weight: 700; margin-left: 3px; color: var(--fg-muted); }

/* 端末モックアップ（装飾） */
.hero__visual { position: relative; }
.device {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--bg-elev-2), var(--bg-elev) 55%, #050B14);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.85);
  overflow: hidden;
}
.device__bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.device__bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}
.device__screen { padding: 16px; }

.device__feature {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 78% 8%, rgba(0,196,179,.34) 0%, transparent 58%),
    linear-gradient(155deg, #1B3A5C 0%, #0E2036 55%, #060E1A 100%);
}
/* キービジュアルの上に載るバッジを読めるようにする覆い。
   画像が 404 で外れたときは下地のグラデーションだけが残る。 */
.device__feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,10,23,.55) 0%, rgba(0,10,23,0) 40%);
}
.device__badge {
  position: absolute;
  z-index: 1;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}
/* 再生ボタンは置かない。ここは再生できない装飾なので、押せると誤解させる。 */

/* 実画像。U-NEXT のキービジュアルは tit / metac とも 16:9（1920×1080）なので、
   タイルも 16:9 にしてある。縦長に押し込むと作品ロゴが切れる。 */
.device__img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.device__feature .device__img {
  position: absolute;
  inset: 0;
}

.device__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.device__row span {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  /* 読み込み中と 404 のときに出る下地 */
  background: linear-gradient(160deg, hsl(213 45% 20%) 0%, hsl(230 40% 10%) 100%);
}

/* ------------------------------------------------------------
   6. セクション共通
   ------------------------------------------------------------ */
.section { padding: 88px 0; }
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.017) 12%, rgba(255,255,255,.017) 88%, transparent);
  border-block: 1px solid rgba(255,255,255,.045);
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.section__head--center {
  display: block;
  text-align: center;
  margin-bottom: 48px;
}
.section__title { font-size: clamp(24px, 3.2vw, 33px); }
.section__lead {
  margin-top: 14px;
  color: var(--fg-muted);
  font-size: 15.5px;
}
.section__more {
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.section__more:hover { color: var(--fg); border-color: var(--fg); }

/* ------------------------------------------------------------
   7. コンテンツ行
   ------------------------------------------------------------ */
.row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 10px;
  margin-inline: -20px;
  padding-inline: 20px;
  scrollbar-width: none;
}
.row::-webkit-scrollbar { display: none; }

.poster {
  flex: 0 0 auto;
  width: 216px;
  scroll-snap-align: start;
}
/* U-NEXT のタイルは 16:9 の横長。公式のキービジュアルも 16:9 なので、
   縦長カードに押し込むと左右が大きく切れて作品名のロゴが落ちる。 */
.poster__art {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s var(--ease);
}
.poster:hover .poster__art {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

/* 実際のキービジュアル。読み込めなかったときは JS が要素ごと外すので、
   下のグラデーションが出る（＝欠けた画像アイコンは出ない）。 */
.poster__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 画像が無い／読めないときの下地。色相だけをずらした生成りのグラデーションで、
   実在作品の画像ではない。差し替え手順は index.html のコメント参照。 */
.poster:nth-child(8n+1) .poster__art { --h1: 212; --h2: 250; }
.poster:nth-child(8n+2) .poster__art { --h1: 338; --h2: 288; }
.poster:nth-child(8n+3) .poster__art { --h1: 174; --h2: 208; }
.poster:nth-child(8n+4) .poster__art { --h1: 28;  --h2: 344; }
.poster:nth-child(8n+5) .poster__art { --h1: 264; --h2: 220; }
.poster:nth-child(8n+6) .poster__art { --h1: 196; --h2: 164; }
.poster:nth-child(8n+7) .poster__art { --h1: 308; --h2: 262; }
.poster:nth-child(8n+8) .poster__art { --h1: 232; --h2: 188; }

.poster__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 85% at 22% 0%, hsl(var(--h1, 215) 62% 27%) 0%, transparent 62%),
    linear-gradient(158deg, hsl(var(--h1, 215) 58% 17%) 0%, hsl(var(--h2, 248) 52% 9%) 68%, #050B14 100%);
}

.poster__badge {
  position: absolute;
  top: 9px; left: 9px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ラベルは実在作品のタイトルなので、ジャンル名より長い。2行でクランプ
   して高さを揃える。行ごとに高さが違うと、横スクロール行の下端がガタつく。 */
.poster__label {
  margin-top: 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;          /* 1.45 × 2行。1行の作品でも高さを揃える */
}

/* ジャンル。タイトルより一段暗くして、視線が先にタイトルへ行くようにする。 */
.poster__meta {
  margin-top: 4px;
  font-size: 11px;
  color: var(--fg-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ------------------------------------------------------------
   8. 特徴
   ------------------------------------------------------------ */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.features > li {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  transition: border-color .22s var(--ease), background-color .22s var(--ease);
}
.features > li:hover { border-color: var(--line-strong); background: var(--bg-elev-2); }

.features__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(0,196,179,.12);
  border: 1px solid rgba(0,196,179,.28);
  color: var(--accent);
}
.features h3 { font-size: 17.5px; margin-bottom: 9px; }
.features p { font-size: 14.5px; color: var(--fg-muted); line-height: 1.72; }

/* ------------------------------------------------------------
   9. 料金
   ------------------------------------------------------------ */
.price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.price__card {
  padding: 36px 34px;
  border: 1px solid rgba(0,196,179,.30);
  border-radius: var(--radius-lg);
  background: linear-gradient(168deg, rgba(0,196,179,.09), var(--bg-elev) 45%);
}
.price__name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent);
}
.price__amount {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price__num {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price__unit { font-size: 14.5px; color: var(--fg-muted); }
.price__trial {
  margin-top: 12px;
  display: inline-block;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(0,196,179,.14);
  border: 1px solid rgba(0,196,179,.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.price__list {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 11px;
}
.price__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
}
.price__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  transform-origin: left center;
}

.price__math {
  margin-top: 24px;
  padding: 15px 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--fg-muted);
  text-align: center;
}
.price__math strong { color: var(--fg); font-size: 17px; }

.price__notes {
  padding: 30px 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
}
.price__notes h3 {
  font-size: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.price__notes ul { display: grid; gap: 15px; }
.price__notes li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.72;
}
.price__notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}
.price__notes strong { color: var(--fg); }

/* ------------------------------------------------------------
   10. FAQ
   ------------------------------------------------------------ */
.faq { display: grid; gap: 12px; }

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq details[open] { border-color: var(--line-strong); }

.faq summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }

/* +/− のインジケータ */
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  background: var(--fg-muted);
  transition: transform .24s var(--ease), opacity .24s var(--ease);
}
.faq summary::before { width: 14px; height: 2px; transform: translateY(-50%); }
.faq summary::after  { width: 2px; height: 14px; transform: translate(-6px, -50%); }
.faq details[open] summary::after { transform: translate(-6px, -50%) rotate(90deg); opacity: 0; }

.faq details p {
  padding: 0 22px 22px;
  font-size: 14.5px;
  color: var(--fg-muted);
  line-height: 1.8;
}

/* ------------------------------------------------------------
   11. 最終 CTA
   ------------------------------------------------------------ */
.closing {
  padding: 96px 0 104px;
  text-align: center;
  background:
    radial-gradient(62% 100% at 50% 0%, rgba(0,196,179,.10) 0%, transparent 66%);
  border-top: 1px solid rgba(255,255,255,.045);
}
.closing__title { font-size: clamp(24px, 3.4vw, 34px); }
.closing__lead { margin-top: 14px; color: var(--fg-muted); }
.closing .cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ------------------------------------------------------------
   12. フッター
   ------------------------------------------------------------ */
.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  background: #00060E;
}
.wordmark--footer {
  font-size: 19px;
  opacity: .55;
  margin-bottom: 20px;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 28px;
  font-size: 13.5px;
}
.site-footer__nav a { color: var(--fg-muted); }
.site-footer__nav a:hover { color: var(--fg); }

.site-footer__legal {
  padding: 20px 0 4px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
  max-width: 62em;
}
.site-footer__legal p {
  font-size: 12.5px;
  color: var(--fg-dim);
  line-height: 1.75;
}
.site-footer__legal strong { color: var(--fg-muted); }

.site-footer__copy {
  margin-top: 26px;
  font-size: 12px;
  color: var(--fg-dim);
}

/* ------------------------------------------------------------
   13. モバイル追従 CTA
   ------------------------------------------------------------ */
.cta-dock {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  background: rgba(0, 10, 23, .93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}

/* ------------------------------------------------------------
   14. 表示アニメーション
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   15. 設定未完了の警告
   ------------------------------------------------------------ */
.setup-warning {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  padding: 13px 18px;
  background: #C0392B;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
}

/* ------------------------------------------------------------
   16. レスポンシブ
   ------------------------------------------------------------ */
/* ナビはカテゴリ6つ＋料金＋よくある質問の8項目ある。ヘッダーに
   収まらない幅では後ろのほうから間引く。行そのものは残っているので、
   情報が消えるわけではない（フッターからも辿れる）。 */
@media (max-width: 1180px) {
  .nav { gap: 18px; font-size: 13px; }
}
@media (max-width: 1020px) {
  .nav a[href="#variety"], .nav a[href="#kaigai"] { display: none; }
}
@media (max-width: 880px) {
  .nav a[href="#drama"], .nav a[href="#kdrama"] { display: none; }
}

@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 52px; }
  .hero__visual { max-width: 560px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 58px; }

  .nav { display: none; }
  .site-header__actions { margin-left: auto; }
  .site-header__actions .btn--ghost { display: none; }

  .hero { padding: 56px 0 68px; }
  .section { padding: 62px 0; }
  .closing { padding: 70px 0 78px; }

  .features { grid-template-columns: 1fr; }
  .price__card { padding: 30px 24px; }
  .price__num { font-size: 44px; }

  /* 追従 CTA がフッターを覆わないよう余白を確保 */
  .cta-dock { display: block; }
  body { padding-bottom: 78px; }

  .poster { width: 168px; }
}

@media (max-width: 480px) {
  .wrap { padding-inline: 16px; }
  /* .row は .wrap の内側パディングぶんだけ負のマージンで外に張り出す。
     ここで .wrap のパディングを詰めたら、同じぶんだけ .row の張り出しも
     詰めないと行が左右に 4px ずつはみ出して、ページ全体が横に揺れる。 */
  .row { margin-inline: -16px; padding-inline: 16px; }
  .stats { gap: 14px 26px; }
  .stats dd { font-size: 23px; }
  .btn--lg { padding: 15px 24px; font-size: 15.5px; }
}

/* ------------------------------------------------------------
   17. モーション設定を尊重
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   18. 印刷
   ------------------------------------------------------------ */
@media print {
  .site-header, .cta-dock, .hero__visual { display: none; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  .section, .closing { padding: 24px 0; }
}
