/* ==========================================================================
   Grow LP — Grow ブランドトーンに準拠（app/globals.css のトークンを移植）
   base #0b0f18 / panel #111725 / mint #8fd6c8 / gold #cbb185 / teal #3a8073
   フォントは外部依存を避けシステムスタック（Google Fonts不使用＝privacy配慮）
   ========================================================================== */

:root {
  --base:        #0b0f18;
  --base-2:      #090c13;
  --panel:       #111725;
  --panel-soft:  #141b2b;
  --line:        rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);

  --mint:        #8fd6c8;
  --mint-soft:   #a9e2d7;
  --gold:        #cbb185;
  --gold-soft:   #e0c896;
  --teal:        #3a8073;
  --teal-hover:  #46927f;

  --ink:         #eef1f6;  /* 見出し */
  --text:        #d5dae4;  /* 本文 */
  --text-muted:  #8b93a5;  /* 補足 */
  --text-dim:    #6b7486;  /* さらに弱い */

  --maxw: 1080px;
  --radius: 16px;
  --shadow: 0 22px 60px -34px rgba(0,0,0,0.8);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: var(--base);
  line-height: 1.9;
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* アプリ共通の放射状ネイビーグラデ。fixed疑似要素で敷く
   （background-attachment:fixed のモバイル再描画/キャプチャ不整合を回避） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(130% 80% at 50% -12%, #141b2b 0%, #0b0f18 52%, #090c13 100%);
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

.accent { color: var(--gold-soft); }

/* --------------------------------------------------------- Buttons ------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  font-weight: 700; font-size: 1rem; line-height: 1.4;
  text-decoration: none; white-space: nowrap;
  padding: 15px 30px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s ease, transform .12s ease, border-color .2s ease, color .2s ease;
}
.btn-primary {
  background: var(--teal); color: #f1fbf8;
  box-shadow: 0 14px 34px -18px rgba(58,128,115,0.9);
}
.btn-primary:hover { background: var(--teal-hover); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { font-size: 1.08rem; padding: 18px 40px; }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line-strong); padding: 10px 20px; font-size: .9rem;
}
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }

/* --------------------------------------------------------- Header -------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(9,12,19,0.72);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.logo-mark { color: var(--mint); display: inline-flex; }
.logo-type { font-size: 1.28rem; font-weight: 800; letter-spacing: .01em; }

/* --------------------------------------------------------- Hero --------- */
.hero { padding: 84px 0 64px; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-title {
  font-size: clamp(1.9rem, 5.4vw, 3.15rem);
  line-height: 1.42; font-weight: 800; color: var(--ink);
  letter-spacing: .01em; max-width: 18em;
}
/* A/B/C: 既定はAのみ表示（no-JS フォールバック）。JSが1案だけ is-active にする */
.hero-variant { display: none; }
.hero-variant.is-active { display: inline; }
.hero-sub {
  margin-top: 26px; font-size: clamp(1rem, 2.4vw, 1.16rem);
  color: var(--text-muted); max-width: 34em; font-weight: 500;
}
.hero-cta { margin-top: 40px; display: flex; flex-direction: column; align-items: center; }
.cta-note { margin-top: 16px; font-size: .84rem; color: var(--text-dim); max-width: 30em; line-height: 1.7; }

.hero-visual {
  margin-top: 56px; width: 100%; max-width: 760px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20,27,43,0.9), rgba(11,15,24,0.9));
  box-shadow: var(--shadow); overflow: hidden;
}
.hero-visual picture, .hero-visual img { display: block; width: 100%; height: auto; }

/* --------------------------------------------------------- Sections ----- */
.section { padding: 76px 0; }
.section-title {
  text-align: center; font-size: clamp(1.4rem, 3.6vw, 1.8rem);
  font-weight: 800; color: var(--ink); margin-bottom: 12px; letter-spacing: .02em;
}
.block-title {
  font-size: clamp(1.35rem, 3.6vw, 1.7rem); font-weight: 800;
  color: var(--ink); margin-bottom: 20px; letter-spacing: .02em;
}
.block-body { font-size: 1.04rem; color: var(--text); }

/* 共感 */
.section-empathy { padding: 72px 0; }
.empathy-line { font-size: clamp(1.06rem, 2.8vw, 1.28rem); color: var(--text); font-weight: 600; }
.empathy-line + .empathy-line { margin-top: 10px; }
.empathy-gap { margin-top: 26px !important; }
.empathy-turn { margin-top: 28px; font-size: clamp(1.06rem, 2.8vw, 1.24rem); color: var(--mint-soft); font-weight: 700; }

/* 仕組み */
.section-how { background: linear-gradient(180deg, transparent, rgba(17,23,37,0.4) 20%, rgba(17,23,37,0.4) 80%, transparent); }
.steps { list-style: none; max-width: 720px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 14px; }
.step {
  display: flex; align-items: flex-start; gap: 18px;
  background: rgba(17,23,37,0.72); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
}
.step-num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem;
  color: var(--base); background: var(--mint);
}
.step-num-win { background: var(--gold); box-shadow: 0 0 26px -6px rgba(203,177,133,0.5); }
.step-text { font-size: 1.02rem; color: var(--text); padding-top: 6px; }
.step-tag { display: inline-block; margin-left: 8px; font-size: .74rem; color: var(--text-dim); border: 1px solid var(--line-strong); border-radius: 6px; padding: 1px 7px; letter-spacing: 0; white-space: nowrap; }
.how-note { max-width: 720px; margin: 26px auto 0; text-align: center; font-size: .95rem; color: var(--text-muted); }

/* 信頼 / 育ち方 */
.section-trust .block-title { color: var(--mint); }
.section-grow .block-title { color: var(--gold-soft); }
.grow-em { color: var(--ink); font-weight: 700; }

/* プラン */
.plans-lead { text-align: center; color: var(--text-muted); margin-bottom: 36px; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; }
.plan-card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
}
.plan-card-plus { border-color: rgba(143,214,200,0.5); box-shadow: 0 24px 60px -40px rgba(143,214,200,0.5); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--mint); color: var(--base); font-size: .74rem; font-weight: 800;
  padding: 4px 14px; border-radius: 999px; letter-spacing: .04em;
}
.plan-head { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.plan-name { font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.plan-price { margin-top: 8px; }
.price-num { font-size: 2rem; font-weight: 800; color: var(--ink); }
.price-unit { font-size: .95rem; color: var(--text-muted); margin-left: 2px; }
.plan-feats { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.plan-feats li { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: .95rem; }
.feat-k { color: var(--text-muted); }
.feat-v { flex: none; font-weight: 700; color: var(--text); }
.feat-v.ok { color: var(--mint); }
.feat-v.lock { color: var(--text-dim); }
.feat-v.no { color: var(--text-dim); }
.plans-free-note { max-width: 640px; margin: 30px auto 0; text-align: center; font-size: .92rem; color: var(--text-muted); line-height: 1.85; }
.plans-elite { max-width: 640px; margin: 22px auto 0; text-align: center; font-size: .84rem; color: var(--text-dim); letter-spacing: .02em; }

/* ベータ */
.section-beta { background: rgba(17,23,37,0.4); }
.beta-note { margin-top: 14px; font-size: .84rem; color: var(--text-dim); }
.beta-cta { margin-top: 30px; }

/* FAQ */
.faq-list { max-width: 720px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: rgba(17,23,37,0.6); border: 1px solid var(--line);
  border-radius: 12px; padding: 4px 22px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-weight: 700; color: var(--ink); font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; color: var(--mint); font-size: 1.35rem; font-weight: 400;
  transition: transform .2s ease; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 20px; color: var(--text); font-size: .96rem; }

/* Final CTA */
.section-final { padding: 96px 0; text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-lead { font-size: clamp(1.2rem, 3.4vw, 1.6rem); font-weight: 800; color: var(--ink); margin-bottom: 34px; letter-spacing: .02em; }

/* --------------------------------------------------------- Footer ------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; margin-bottom: 78px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-logo { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: .86rem; }
.footer-nav a:hover { color: var(--mint); }
.footer-copy { color: var(--text-dim); font-size: .8rem; }

/* --------------------------------------------------------- Sticky CTA --- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(9,12,19,0), rgba(9,12,19,0.92) 40%);
  display: none;
}
.sticky-cta .btn { width: 100%; }

/* --------------------------------------------------------- Reveal ------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.22,1,0.36,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* --------------------------------------------------------- Responsive --- */
@media (max-width: 640px) {
  .header-cta { display: none; }
  .hero { padding: 60px 0 48px; }
  .section { padding: 60px 0; }
  .section-final { padding: 72px 0; }
  .step { padding: 18px 18px; gap: 14px; }
  .plans { grid-template-columns: 1fr; gap: 30px; }
  .sticky-cta { display: block; }
  .site-footer { margin-bottom: 88px; }
}
