/* creator.css — document/design/creator-lp.html の <style> ブロックを移植。 */

:root {
  /* Brand — 方向性検討 2026-08-14「D. トークン定義（案）」Light */
  --bg: #faf8f6;
  --surface: #ffffff;
  --surface-quiet: #f3f0ec;
  --border: #e6e1db;
  --text: #1c1917;
  --text-muted: #57534e;
  --text-quiet: #78706a;
  --text-quiet-rgb: 120, 112, 106;
  --accent: #ce1272;
  --accent-rgb: 206, 18, 114;
  --accent-quiet: #fdf0f6;
  --accent-text: #a80d58;
  --ok: #15803d;
  --ok-quiet: #eef5ef;
  --warn: #92400e; /* 凡例（承認待ち）専用 */
  --maxw: 1440px;

  --white: #fff;
  --white-rgb: 255, 255, 255;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  /* 固定ナビ（.nav）の高さ分（実測 78px）、ページ内リンクの着地位置を下げる */
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', sans-serif;
  font-weight: 500;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.band {
  position: relative;
  background: var(--accent-quiet);
  color: var(--text);
  overflow: hidden;
  /* 地と帯の色差が小さいため、セクション境界を罫線で示す */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
/* 帯が連続する箇所は上側の罫線を落として境界を 1px に保つ */
.band + .band {
  border-top: 0;
}
.band > * {
  position: relative;
  z-index: 1;
}

.slab {
  display: inline-block;
  background: var(--white);
  color: var(--text);
  padding: 0.4em 0.6em;
  transform: rotate(-1.1deg);
  border: 1px solid var(--border);
  box-shadow: 0 12px 34px rgba(var(--text-quiet-rgb), 0.09);
}
.slab em {
  font-style: normal;
  color: var(--accent-text);
}

h1,
h2,
h3 {
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 0;
}
h1 {
  font-size: clamp(2rem, 5.4vw, 3.3rem);
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
}
h3 {
  font-size: clamp(1.05rem, 2.4vw, 1.32rem);
}
p {
  margin: 0;
}
/* スマホ幅（595px 以下）だけ効く改行。見出しの語尾が1文字だけ孤立するのを防ぐ */
.br-sp {
  display: none;
}
.eyebrow {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  text-transform: uppercase;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.nav.is-scrolled {
  background: var(--bg);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 12px rgba(var(--text-quiet-rgb), 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}
/* ロゴ。書体は旧 .brand strong（hero のロゴ行、削除済み）と同じ組み方 */
.nav-logo {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo span {
  color: var(--accent);
}
/* ナビ右側（ガイドリンク + 登録CTA） */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-link {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--accent-text);
}

/* ---------- hero ---------- */
.hero {
  /* 上は固定ナビが占める分を詰め、ファーストビューに収める */
  padding: clamp(24px, 3.5vw, 44px) 0 clamp(56px, 8vw, 96px);
  /* ページ最上部なので上罫線は出さない */
  border-top: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
/* 実績バッジ（対象 ｜ 実績）。.pill は全体 Bold・枠線なしのため流用せず新設 */
.proof {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.4em;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 0.84rem;
  color: var(--text-quiet);
  margin-bottom: 20px;
}
.proof span {
  color: var(--accent-text);
}
.proof strong {
  font-weight: 700;
  color: var(--text);
}
.proof i {
  font-style: normal;
}
.hero h1 {
  margin-bottom: 26px;
}
.hero .lede {
  margin-top: 0;
  margin-bottom: 24px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.pill {
  background: var(--white);
  color: var(--accent-text);
  border-radius: 99px;
  padding: 9px 20px;
  font-weight: 700;
  font-size: 0.88rem;
}
.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}
.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
  font-size: 1rem;
  padding: 18px 38px;
  /* .cta.ghost の 2px ボーダー分と外形を揃えるための透明ボーダー */
  border: 2px solid transparent;
  border-radius: 99px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    background-color 0.2s ease;
  box-shadow: 0 10px 26px rgba(var(--text-quiet-rgb), 0.11);
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(var(--text-quiet-rgb), 0.14);
  /* 新しい色を作らず、既存の accent をわずかに濃くする */
  filter: brightness(0.94);
}
/* ナビ用の小型 CTA。色・形は .cta のまま、サイズだけ下げる */
.cta.sm {
  font-size: 0.88rem;
  padding: 10px 20px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(var(--text-quiet-rgb), 0.11);
}
/* セカンダリCTA。padding / border-radius / font は .cta から継承する。
   .band（淡ピンク地）の上に置かれる前提。 */
.cta.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--accent-text);
  border-color: var(--accent-text);
  box-shadow: none;
}
.cta.ghost:hover {
  /* --accent-quiet は .band の地色と同じで見えないため、accent の薄い透過で地に差をつける */
  background: rgba(var(--accent-rgb), 0.08);
  border-color: var(--accent-text);
  box-shadow: none;
}
/* プライマリ／セカンダリを並べる行。クラスを増やさず構造で指定する。 */
.hero-foot > div > div,
.closing > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.closing > div {
  justify-content: center;
}
.cta-note {
  font-size: 0.83rem;
  margin-top: 12px;
  color: var(--text-muted);
}

/* ---------- phone mockup ---------- */
.phone {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  aspect-ratio: 9 / 19.5;
  background: var(--text);
  border-radius: 42px;
  padding: 11px;
  box-shadow:
    0 30px 70px rgba(var(--text-quiet-rgb), 0.17),
    0 0 0 2px rgba(var(--white-rgb), 0.16) inset;
  position: relative;
}
/* ゆっくり浮遊。浮いたときは影がわずかに大きく・薄くなる（0% / 100% は静止状態と同値） */
@keyframes phone-float {
  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      0 30px 70px rgba(var(--text-quiet-rgb), 0.17),
      0 0 0 2px rgba(var(--white-rgb), 0.16) inset;
  }
  50% {
    transform: translateY(-10px);
    box-shadow:
      0 40px 84px rgba(var(--text-quiet-rgb), 0.13),
      0 0 0 2px rgba(var(--white-rgb), 0.16) inset;
  }
}
/* 1列化（980px 以下）では縦積みの上で動くと読みにくいため、2列のときだけ動かす */
@media (min-width: 981px) {
  .phone {
    animation: phone-float 7s ease-in-out infinite;
  }
}
.phone::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  border-radius: 99px;
  background: var(--text);
  z-index: 2;
}
/* 画面は枠の padding の内側に絶対配置で敷く（inset = .phone の padding）。
   height: 100% や grid で親の高さから取ると、WebKit が aspect-ratio 由来の高さから padding を
   引き忘れた値を子に渡すため、画面が枠の下から突き出す（Safari で再現）。inset は padding box 基準なのでこれを避けられる */
.phone-screen {
  position: absolute;
  inset: 11px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.phone-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  background: repeating-linear-gradient(45deg, var(--surface-quiet) 0 12px, var(--bg) 12px 24px);
  color: var(--accent-text);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 24px;
}

/* ---------- sections ---------- */
section {
  padding: clamp(60px, 8vw, 104px) 0;
}
/* 地が連続する箇所で、境界側の余白を片方だけ落とす */
section.tight-bottom {
  padding-bottom: 0;
}
.sec-head {
  margin-bottom: clamp(32px, 4.5vw, 52px);
}
.sec-head .eyebrow {
  color: var(--accent-text);
  display: block;
  margin-bottom: 14px;
}
.band .sec-head .eyebrow {
  color: var(--accent-text);
}
.lede {
  color: var(--text-quiet);
  margin-top: 16px;
  max-width: 44em;
}
.band .lede {
  color: var(--text-muted);
}

.pains {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.pain {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 30px;
}
.pain q {
  display: block;
  font-weight: 900;
  font-size: 1.14rem;
  line-height: 1.6;
  quotes: '「' '」';
}
.pain p {
  color: var(--text-quiet);
  font-size: 0.93rem;
  margin-top: 14px;
}

/* ---------- できること（3列は .pains のグリッドを流用） ---------- */
.cando {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}
.cando .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-quiet);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.cando .ico svg {
  width: 24px;
  height: 24px;
}
.cando h3 {
  margin-bottom: 10px;
}
.cando p {
  color: var(--text-quiet);
  font-size: 0.93rem;
}
.cando a {
  color: var(--accent-text);
  text-decoration: underline;
}

/* ---------- 収益例（3列は .pains のグリッドを流用。箱は .cando と同寸） ---------- */
.earn-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* 「平均」バッジ。上辺に跨がせて、3枚の数字の縦位置を揃えたまま置く */
.earn-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  background: var(--accent-quiet);
  color: var(--accent-text);
  border-radius: 99px;
  padding: 4px 14px;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.6;
}
.earn-rate {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-quiet);
}
.earn-gross {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 6px;
}
.earn-net {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 2.8rem);
  line-height: 1.1;
  color: var(--text);
  margin-top: 14px;
}
.earn-label {
  font-size: 0.81rem;
  color: var(--text-quiet);
  margin-top: 8px;
}
.earn-note {
  margin-top: 28px;
  max-width: 44em;
}
.earn-note p {
  color: var(--text-muted);
}
.earn-note small {
  display: block;
  margin-top: 10px;
  font-size: 0.81rem;
  color: var(--text-quiet);
}

/* ---------- ジャンル ---------- */
.genres {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}
.genre {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
}
.genre strong {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.genre span {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--text-quiet);
}
/* 届出表示の帯 */
.notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 20px;
  padding: 14px 20px;
  background: var(--surface-quiet);
  border-radius: 12px;
  font-size: 0.93rem;
  font-weight: 700;
}
.notice i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
}
.notice a {
  color: var(--accent-text);
  text-decoration: underline;
}

/* ---------- strengths ---------- */
.feat {
  display: grid;
  gap: clamp(28px, 4.5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.feat + .feat {
  margin-top: clamp(56px, 7vw, 92px);
}
.feat .body .eyebrow {
  display: block;
  color: var(--accent-text);
  margin-bottom: 14px;
}
.feat .body h2 {
  margin-bottom: 16px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.feat .body > p {
  color: var(--text);
}
.specs {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.specs li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.93rem;
}
.feat.flip .body {
  order: 2;
}

.shot {
  background: var(--white);
  border-radius: 22px;
  padding: 22px;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(var(--text-quiet-rgb), 0.11);
}
.shot .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
}
/* 最終行の罫線を消す。行の後ろに span（帯ボタン）が続く場合もあるため
   last-child ではなく同種要素で判定する */
.shot .row:last-of-type {
  border-bottom: 0;
}
.shot .k {
  font-size: 0.88rem;
  color: var(--text-quiet);
  font-weight: 700;
}
.shot .v {
  font-weight: 900;
  white-space: nowrap;
}
/* モック内のヘッダー行（画面名 + 小ボタン） */
.shot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 2px 4px 12px;
  font-size: 0.95rem;
}
/* モック内の押せないボタン */
.mock-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.mock-btn.wide {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.88rem;
  padding: 11px 16px;
  margin-top: 16px;
}
/* 予約サマリー */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.8rem;
  color: var(--text-quiet);
  font-weight: 700;
}
.stats b {
  color: var(--text);
  font-weight: 900;
  font-size: 1rem;
}
/* 凡例 */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 12px;
  font-size: 0.74rem;
  color: var(--text-quiet);
  font-weight: 700;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend .ok i {
  background: var(--ok);
}
.legend .warn i {
  background: var(--warn);
}
.legend .fix i {
  background: var(--accent);
}
/* 作品販売モックのステッパー */
.stepper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}
.stepper span {
  background: var(--accent-quiet);
  color: var(--accent-text);
  border-radius: 99px;
  padding: 5px 12px;
}
.stepper span.on {
  background: var(--accent);
  color: var(--white);
}
.stepper i {
  font-style: normal;
  color: var(--text-quiet);
}
/* 開始／終了の2列 */
.range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 4px;
}
.range > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.bubble {
  background: var(--accent-quiet);
  color: var(--text);
  border-radius: 16px;
  padding: 13px 18px;
  font-weight: 700;
  font-size: 0.93rem;
  margin-bottom: 10px;
}
.bubble.b2 {
  background: var(--accent-text);
  color: var(--white);
}
.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 16px;
}
.cal .d {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-quiet);
}
.cal .col {
  position: relative;
  height: 98px;
  margin-top: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}
.cal .slot {
  position: absolute;
  left: 3px;
  right: 3px;
  background: var(--ok-quiet);
  border: 1px solid var(--ok);
  border-radius: 6px;
  color: var(--ok);
  font-size: 0.6rem;
  font-weight: 700;
  font-style: normal;
  display: grid;
  place-content: center;
  line-height: 1.3;
  text-align: center;
}
.cal-note {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--text-quiet);
  font-weight: 700;
}
.clipbar {
  height: 74px;
  border-radius: 12px;
  background: var(--surface-quiet);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}
.clipbar span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20%;
  width: 60%;
  background: var(--white);
  border-left: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
}

/* ---------- terms ---------- */
.terms {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
}
.fee {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.fee .k {
  font-size: 0.88rem;
  color: var(--text-quiet);
  font-weight: 700;
  display: block;
}
.fee .v {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 2.8rem);
  line-height: 1.1;
}
.trow {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.trow:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.trow dt {
  width: 88px;
  flex: none;
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.93rem;
}
.trow dd {
  margin: 0;
  font-weight: 900;
  font-size: clamp(1.02rem, 2.4vw, 1.26rem);
}
.trow small {
  display: block;
  font-weight: 500;
  font-size: 0.81rem;
  color: var(--text-quiet);
  margin-top: 4px;
}

.trust {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.trust div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
}
.trust h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.trust p {
  color: var(--text-quiet);
  font-size: 0.89rem;
}

.steps {
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
/* フォールバック（subgrid 非対応）: 縦積み flex + min-height で行を揃える */
.step {
  counter-increment: s;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  position: relative;
}
/* カード間の接続線。gap（16px）を埋める水平の点線を、アイコン行の中央
   （padding 24px + .ico 40px / 2 = 44px）の高さに置く。
   行末のカード（最後 / 3列時の 3 枚目）からは引かない。860px 以下は非表示 */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 44px;
  right: -17px;
  width: 16px;
  border-top: 1px dashed var(--border);
  pointer-events: none;
}
/* 行1: [アイコン][番号バッジ] */
.step-head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
/* 番号バッジ。counter による番号生成は据え置き */
.step-head::after {
  content: counter(s, decimal-leading-zero);
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: 0.08em;
  background: var(--accent);
  color: var(--white);
  border-radius: 99px;
  padding: 6px 12px;
}
.step .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-quiet);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.step .ico svg {
  width: 22px;
  height: 22px;
}
.step h3 {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  /* フォールバック: 2行分（line-height 1.3 × 2）を確保してミニ画面の開始位置を揃える */
  min-height: calc(2 * 1.3em);
  margin-bottom: 6px;
}
/* subgrid 対応ブラウザ: 4行（head / h3 / .mini / p）を .steps の行トラックに揃える */
@supports (grid-template-rows: subgrid) {
  .steps {
    grid-template-rows: auto auto auto auto;
  }
  .step {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    align-items: start;
  }
  /* 行間は .steps の gap（16px）が担うので、個別マージンは外す */
  .step-head {
    margin-bottom: 0;
  }
  .step h3 {
    min-height: 0;
    margin-bottom: 0;
  }
  .step .mini {
    min-height: 0;
    margin-block: 0;
    align-self: stretch;
  }
}
.step p {
  color: var(--text);
  font-size: 0.93rem;
}
/* ステップカードのミニ画面（装飾。情報は本文が持つ） */
.mini {
  width: 100%;
  /* フォールバック（subgrid 非対応）: 中身が最も多い 02 に合わせて 5 枚を同一にする */
  min-height: 181px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(var(--text-quiet-rgb), 0.1);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 10px 0 14px;
  /* 1列時に高さが暴走しないよう幅を抑える */
  max-width: 210px;
  margin-inline: auto;
  text-align: left;
  font-size: 0.69rem;
  line-height: 1.3;
  font-weight: 700;
}
/* 画面タイトル帯。「アプリの1画面」であることを示す */
.mini-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  background: var(--surface-quiet);
  border-bottom: 1px solid var(--border);
  border-radius: 11px 11px 0 0;
  color: var(--text-quiet);
  font-size: calc(0.69rem - 1pt);
  text-align: center;
}
/* 中身。gap 8px で組（ラベル+欄）同士を分け、ラベル側の負マージンで組内は 3px にする */
.mini-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}
.mini-label {
  font-size: 0.85em;
  letter-spacing: 0.04em;
  color: var(--text-quiet);
  margin-bottom: -5px;
}
.mini-field,
.mini-opt {
  display: flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-quiet);
}
.mini-opt {
  height: 20px;
  gap: 6px;
}
.mini-opt i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--border);
  flex: none;
}
.mini-opt.on {
  background: var(--accent-quiet);
  border-color: var(--accent-text);
  color: var(--accent-text);
}
.mini-opt.on i {
  background: var(--accent-text);
  border-color: var(--accent-text);
}
.mini-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  width: 100%;
  margin-top: auto;
  background: var(--accent);
  color: var(--white);
  border-radius: 99px;
  font-weight: 700;
}
.mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  color: var(--text-quiet);
}
.mini-row b {
  color: var(--text);
  font-weight: 900;
}
.mini-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-quiet);
  align-self: center;
}
/* アバター直下の「アイコン」ラベル: 中央寄せ。次の組との間隔は 8px */
.mini-avatar + .mini-label {
  text-align: center;
  margin-bottom: 0;
}
.mini-days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  color: var(--text-quiet);
  text-align: center;
  margin-bottom: -5px;
}
.mini-cal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}
.mini-cal > span {
  position: relative;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.mini-cal i {
  position: absolute;
  left: 2px;
  right: 2px;
  top: 6px;
  height: 18px;
  display: grid;
  place-items: center;
  background: var(--ok-quiet);
  border: 1px solid var(--ok);
  border-radius: 3px;
  color: var(--ok);
  font-style: normal;
  font-size: 0.85em;
  line-height: 1;
}

/* ---------- FAQ（開閉なし・全問表示） ---------- */
.faq {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.faq-row {
  padding: 22px 28px;
}
.faq-row + .faq-row {
  border-top: 1px solid var(--border);
}
.faq-row h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.faq-row p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
/* カード直下のサポートセンター導線。余白・幅は .lede を流用し、色だけ地の .lede より一段濃くする */
.faq-more {
  color: var(--text-muted);
}
.faq-more a {
  color: var(--accent-text);
  text-decoration: underline;
}

.closing {
  text-align: center;
}
.closing h2 {
  margin-bottom: 18px;
}
.closing > p {
  color: var(--text);
  margin-bottom: 30px;
}

/* 上罫線は直前の .band の border-bottom が担う（二重線を避ける） */
footer {
  background: var(--white);
  padding: 44px 0;
}
footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 18px;
}
footer a {
  color: var(--text-quiet);
  text-decoration: none;
  font-size: 0.84rem;
}
footer a:hover {
  color: var(--accent-text);
  text-decoration: underline;
}
footer small {
  color: var(--text-quiet);
  font-size: 0.77rem;
}

a:focus-visible,
.cta:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 3px;
}
footer a:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 2px;
}

/* JS未実行・失敗時にコンテンツが不可視のまま残らないよう、
   既定は opacity:1（可視）とし、JSが確実に動いた場合のみ
   .pre クラスで opacity:0 にしてからフェードインさせる。 */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.pre {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  /* カード群の時差表示。親の .in 付与時に JS が子カードへ --reveal-delay を配る */
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.pre.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .step:nth-child(3n)::after {
    display: none;
  }
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .phone {
    max-width: 280px;
  }
}
@media (max-width: 860px) {
  .pains,
  .feat,
  .trust {
    grid-template-columns: 1fr;
  }
  .step::after {
    display: none;
  }
  .genres {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-row {
    padding: 18px 20px;
  }
  .nav-inner {
    padding-block: 10px;
  }
  .nav-logo {
    font-size: 1.1rem;
  }
  .cta.sm {
    font-size: 0.8rem;
    padding: 9px 16px;
  }
  html {
    scroll-padding-top: 68px; /* ナビ実測 66px */
  }
  /* CTA 2本は縦積みにし、flex の stretch で幅100%にする */
  .hero-foot > div {
    width: 100%;
  }
  .hero-foot > div > div,
  .closing > div {
    flex-direction: column;
  }
  .hero-foot .cta,
  .closing .cta {
    text-align: center;
  }
  .feat.flip .body {
    order: 0;
  }
  .fee {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .fee > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  .fee .v {
    font-size: 2rem;
  }
  .trow {
    flex-direction: column;
    gap: 4px;
  }
  .trow dt {
    width: auto;
  }
}
@media (max-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 595px) {
  /* ロゴ + 登録CTA で幅いっぱいのため、ガイドへの導線はフッターに任せる */
  .nav-link {
    display: none;
  }
  .br-sp {
    display: inline;
  }
  .steps,
  .genres {
    grid-template-columns: 1fr;
  }
  /* 実績バッジ: 1つのピルで折り返さず、ジャンル / 実績を独立した2つのピルにする */
  .proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
  }
  .proof span,
  .proof strong {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 6px 14px;
  }
  .proof i {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.pre {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0s;
  }
  html {
    scroll-behavior: auto;
  }
  .cta,
  .cta.ghost,
  .nav {
    transition: none;
  }
  .phone {
    animation: none;
  }
}
