/* =========================================================
   ポケットメモリー（ポケメモ）LP  ─ 本編（フェーズ2）
   設計：pocketmemory-lp-design-v5.md（①〜⑦構成・確定コピー）
   トーン：要件1.4／案A ソフトコーラル・丸みのある書体・柔らかい語りかけ
   方針：モバイルファースト／ヒーロー1画面／友だち追加CTAを下部固定(sticky)
   対応：Chrome / Firefox / Safari / Edge（標準 flex/grid + 必要な -webkit-）
   ========================================================= */

:root {
  /* --- 案A ソフトコーラル（コントラストを少しだけ深めて可読性を確保） --- */
  --coral:      #F26B54; /* アクセント／CTA */
  --coral-soft: #FFB6A3; /* メインコーラル */
  --peach:      #FFE5DC; /* サブ（面） */
  --peach-deep: #FBDDD2; /* 一段深い面（リズム用） */
  --cream:      #FFFAF7; /* 背景 */
  --ink:        #46352F; /* 見出し・本文（黒より柔らかい茶） */
  --ink-soft:   #7B665E; /* 補助 */
  --ink-mute:   #A6928B; /* 控えめ */
  --line:       #F3DED5; /* 罫 */
  --surface:    #FFFFFF;
  --line-green: #06C755;

  /* --- 書体（丸みのある見出し × 読みやすい本文） --- */
  --display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
  --sans:    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
             "YuGothic", "Yu Gothic", "Meiryo", sans-serif;

  --maxw: 680px;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --sticky-h: 74px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overscroll-behavior-y: none; background: var(--peach-deep); }

body {
  margin: 0;
  overscroll-behavior-y: none; /* フッター下・ヒーロー上のゴム(オーバースクロール)を止める */
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: var(--coral); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.display { font-family: var(--display); font-weight: 700; color: var(--ink); letter-spacing: .02em; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--coral); margin: 0 0 12px;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--coral-soft); }

/* ---------- ヘッダー ---------- */
.site-header { position: relative; z-index: 3; }
.site-header .container { display: flex; align-items: center; gap: 9px; padding: 18px 22px 6px; }
.brand { display: flex; align-items: baseline; gap: 9px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .brand-logo { height: 26px; width: auto; align-self: center; display: block; }
.brand .brand-name { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .05em; }
.brand .brand-sub { font-size: 11px; color: var(--ink-mute); letter-spacing: .08em; }

/* ---------- ① ヒーロー（1画面で完結） ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(115% 80% at 84% 6%, var(--peach) 0%, rgba(255,229,220,0) 56%),
    linear-gradient(180deg, #FFF2EB 0%, var(--cream) 82%);
  padding: 12px 0 40px;
}
.hero .container { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(27px, 7.6vw, 40px);
  line-height: 1.5; letter-spacing: .03em;
  margin: 8px 0 14px; color: var(--ink); text-wrap: balance;
}
.hero h1 .accent { color: var(--coral); display: inline-block; white-space: nowrap; }
.hero .hero-sub { font-size: 14px; line-height: 1.95; color: var(--ink-soft); margin: 0; }
.hero-illust-wrap { position: relative; width: 66%; max-width: 260px; }
.hero-illust { display: block; width: 100%; height: auto; }

/* 浮遊する装飾 */
.deco { position: absolute; pointer-events: none; z-index: 1; will-change: transform; }
.deco.s1 { width: 40px; top: 12%; right: 9%; animation: floaty 6.5s var(--ease) infinite; }
.deco.s2 { width: 24px; top: 40%; left: 7%; animation: floaty 8s var(--ease) infinite .8s; }
.deco.h1 { width: 26px; top: 66%; right: 12%; opacity: .85; animation: floaty 7.2s var(--ease) infinite .4s; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(-4deg); } }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 16px;
  padding: 15px 30px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 8px 20px rgba(6,199,85,.26); }
.btn-line:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(6,199,85,.34); }
.btn-block { width: 100%; }

/* ---------- セクション共通 ---------- */
.section { padding: clamp(40px, 8vw, 52px) 0; }
.section.tint { background: linear-gradient(180deg, var(--cream), #FFF1EA 45%, var(--cream)); }
.section-head { text-align: center; margin-bottom: clamp(22px, 5.5vw, 30px); }
.section-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(21px, 5.4vw, 27px); line-height: 1.55; margin: 6px 0 0;
  color: var(--ink); text-wrap: balance;
}
.section-head .eyebrow { display: inline-flex; }

/* ---------- ② 共感 ---------- */
.empathy { text-align: center; }
.empathy .lead {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(21px, 5.6vw, 27px); line-height: 1.7; margin: 6px 0 20px; color: var(--ink);
}
.empathy-art { display: block; width: clamp(176px, 46vw, 224px); height: auto; margin: 2px auto 22px; }
.empathy .body { font-size: clamp(13.5px, 3.8vw, 15px); line-height: 2.1; color: var(--ink-soft); margin: 0 auto; max-width: 24em; letter-spacing: 0; text-wrap: balance; }
.empathy .body .br { display: block; height: 12px; }
/* モバイルだけ読点で改行（狭い幅で「話した」が語中で割れるのを防ぐ）。PC/タブレットは
   本文が24em内に1行で収まるので改行を消す。 */
.sp-br { display: inline; }
@media (min-width: 560px) { .sp-br { display: none; } }

/* ---------- ③ ソリューション ---------- */
.solution { text-align: center; }
.solution .container { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.solution .sol-lead {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(21px, 5.6vw, 27px); line-height: 1.6; margin: 0; color: var(--ink);
}
.solution .body { font-size: 15px; line-height: 2.05; color: var(--ink-soft); margin: 0 auto; max-width: 24em; }

/* ③ 「言われるセリフ」を吹き出しビジュアルに昇格 */
.sol-quote { position: relative; margin: 16px 0 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.sol-quote-deco {
  position: absolute; top: -22px; right: 8px; width: 38px; height: auto;
  opacity: .9; pointer-events: none;
}
.sol-bubble {
  position: relative; margin: 0; max-width: 18em;
  background: #fff; color: var(--coral);
  font-family: var(--display); font-weight: 700;
  font-size: clamp(17px, 4.6vw, 21px); line-height: 1.55;
  padding: 20px 26px; border-radius: 22px;
  box-shadow: 0 12px 32px rgba(242, 107, 84, .16);
}
.sol-bubble::before { content: "\201C"; color: var(--coral-soft); margin-right: .02em; }
.sol-bubble::after  { content: "\201D"; color: var(--coral-soft); margin-left: .02em; }
/* キャプションは吹き出しから独立させ、上に余白を取る（サイト側のナレーション） */
.sol-cap { font-size: 14px; color: var(--ink-soft); line-height: 1.9; margin: clamp(14px, 4vw, 20px) 0 0; }

/* ---------- ④ 使い方 4ステップ（縦積み） ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 60px 1fr; gap: 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 18px; counter-increment: step;
}
.step-icon {
  width: 60px; height: 60px; border-radius: 18px; background: var(--peach);
  display: grid; place-items: center; position: relative;
}
.step-icon img { width: 34px; height: 34px; display: block; }
.step-icon::after {
  content: counter(step); position: absolute; top: -8px; left: -8px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--coral); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 13px;
  display: grid; place-items: center; box-shadow: 0 3px 8px rgba(242,107,84,.3);
}
.step .step-body { min-width: 0; }
.step-title { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 0 0 3px; color: var(--ink); }
.step-desc { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.85; }

/* ---------- 使い方ガイド（/guide） ---------- */
.guide-lead { text-align: center; color: var(--ink-soft); font-size: clamp(14px, 3.8vw, 15.5px); line-height: 1.95; max-width: 30em; margin: 0 auto; }
.guide-sec { border-top: 1px solid var(--line); padding-top: 30px; margin-top: 30px; }
.guide-sec.first { border-top: none; padding-top: 0; margin-top: 8px; }
.guide-h { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.guide-h .g-badge { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--peach); display: inline-flex; align-items: center; justify-content: center; font-size: 23px; }
.guide-h h2 { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 4.8vw, 22px); color: var(--ink); margin: 0; line-height: 1.4; }
/* 使い方ガイド：プレミアム節をやわらかく強調（嫌味にならない範囲・コーラルのソフトカード） */
.guide-sec.premium {
  border-top: none; margin-top: 30px; padding: 20px 20px 22px;
  background: radial-gradient(120% 90% at 90% 0%, var(--peach) 0%, rgba(255,229,220,0) 58%), var(--cream);
  border: 1px solid var(--coral-soft); border-radius: var(--radius-sm);
}
.guide-sec.premium .g-badge { background: var(--coral-soft); }
.guide-sec.premium .guide-h h2 { color: var(--coral); }
.guide-premium-eyebrow {
  display: inline-block; font-family: var(--display); font-weight: 700;
  font-size: 11px; letter-spacing: .12em; color: #fff; background: var(--coral);
  padding: 3px 11px; border-radius: 999px; margin: 0 0 12px;
}
/* テーマカラーの見本スウォッチ（1-Cのガイド再現） */
.pm-swatches { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 14px 0 4px; }
.pm-swatch { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-soft); }
.pm-swatch i { width: 16px; height: 16px; border-radius: 50%; flex: none;
  border: 1px solid rgba(70, 53, 47, .12); }
.guide-desc { color: var(--ink-soft); font-size: 14px; line-height: 1.9; margin: 0 0 12px; }
.guide-ol { margin: 0; padding-left: 1.25em; color: var(--ink); font-size: 14px; line-height: 1.95; }
.guide-ol li { margin-bottom: 5px; }
.guide-ol b { color: var(--coral); }
.guide-tip { background: var(--peach); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--ink); margin: 14px 0 0; line-height: 1.75; }
.guide-visual { display: flex; justify-content: center; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin: 20px 0 0; }
.guide-cta { text-align: center; margin-top: 40px; }
.guide-back { display: inline-block; margin-top: 12px; color: var(--ink-mute); font-size: 13px; }
.guide-link-wrap { text-align: center; margin: 6px 0 0; }
.guide-link { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--coral); border: 2px solid var(--coral-soft); border-radius: 999px; padding: 10px 22px; transition: background .18s var(--ease), transform .18s var(--ease); }
.guide-link:hover { text-decoration: none; background: var(--peach); transform: translateY(-2px); }

/* ---------- ④ 実際の画面（LINEカードをHTMLで再現） ---------- */
.screens-cap { text-align: center; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); margin: 36px 0 18px; }
.screens { display: flex; justify-content: center; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.phone { margin: 0; width: 206px; }
.phone-scr {
  background: linear-gradient(180deg, #A6BEDC 0%, #B3C8E1 100%);
  border-radius: 22px; padding: 14px 12px;
  box-shadow: 0 16px 34px rgba(70, 53, 47, .16);
}
.phone figcaption { text-align: center; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin-top: 12px; }

.chat-card, .list-card {
  background: #fff; border-radius: 16px; text-align: left;
  box-shadow: 0 2px 6px rgba(40, 55, 80, .12); overflow: hidden;
}
/* 詳細カード */
.cc-head { background: linear-gradient(120deg, var(--coral-soft), var(--coral)); padding: 12px 13px; color: #fff; }
.cc-name { font-family: var(--display); font-weight: 700; font-size: 15px; display: block; line-height: 1.3; }
.cc-sub { font-size: 10px; opacity: .92; }
.cc-body { padding: 11px 13px; }
.cc-label { font-size: 9.5px; color: var(--ink-mute); font-weight: 700; margin: 0 0 2px; }
.cc-memo { font-size: 12px; color: var(--ink); margin: 0 0 10px; line-height: 1.5; }
.cc-recs { border-top: 1px solid var(--line); padding-top: 9px; }
.cc-rec { font-size: 11px; color: var(--ink); margin: 0 0 5px; line-height: 1.5; }
.cc-rec:last-child { margin-bottom: 0; }
.cc-rec b { color: var(--coral); font-weight: 700; margin-right: 5px; }
.cc-foot { display: flex; gap: 6px; padding: 0 13px 12px; }
.cc-btn { flex: 1; text-align: center; font-size: 11px; font-weight: 700; padding: 7px 4px; border-radius: 9px; }
.cc-btn.primary { background: var(--coral); color: #fff; }
.cc-btn.ghost { border: 1.5px solid var(--line); color: var(--coral); }
/* 一覧カード */
.list-card { padding: 12px 13px; }
.lc-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 2px; }
.lc-head span:first-child { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--ink); }
.lc-range { font-size: 10px; color: var(--ink-mute); }
.lc-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.lc-row:last-child { border-bottom: none; }
.lc-name { font-size: 12.5px; font-weight: 700; color: var(--ink); display: block; }
.lc-snip { font-size: 10px; color: var(--ink-mute); display: block; }
.lc-date { font-size: 10.5px; color: var(--coral); font-weight: 700; white-space: nowrap; }

/* ---------- ⑤ こんな人におすすめ（横スワイプ） ---------- */
.reco-section { position: relative; padding-bottom: clamp(34px, 8vw, 44px); }
.reco-deco { top: 30px; right: 24px; opacity: .85; animation: floaty 7s var(--ease) infinite .3s; }
/* 縦型リスト：バッジ＋テキストを横並びにしたカードを縦に積む */
/* ③b できること（機能一覧グリッド） */
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px; box-shadow: 0 6px 18px rgba(242,107,84,.06); }
.fi-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--peach); font-size: 24px; line-height: 1; margin-bottom: 10px; }
.fi-title { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); margin: 0 0 4px; }
.fi-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; margin: 0; }

/* ③c こう変わる（before / after） */
.change-card { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
@media (min-width: 560px) { .change-card { flex-direction: row; } .change-arrow { transform: none !important; } }
.change-col { flex: 1; border-radius: var(--radius); padding: 18px 16px; }
.change-col.before { background: #F3EEEA; color: var(--ink-soft); }
.change-col.after { background: linear-gradient(160deg, var(--peach), #fff); border: 1px solid var(--coral-soft); color: var(--ink); }
.change-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; line-height: 1; margin-bottom: 10px; }
.change-col.before .change-icon { background: #E9E2DC; }
.change-col.after .change-icon { background: #fff; box-shadow: 0 6px 16px rgba(242,107,84,.18); }
.change-col p { margin: 8px 0 0; font-size: 14px; line-height: 1.85; }
.change-tag { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; }
.change-col.before .change-tag { background: #E5DED8; color: var(--ink-mute); }
.change-col.after .change-tag { background: var(--coral); color: #fff; }
.change-arrow { align-self: center; color: var(--coral); font-weight: 700; font-size: 22px; flex: none; transform: rotate(90deg); }

/* ④d こんな人に向いています（チェックリスト） */
.fit-list { list-style: none; margin: 0 auto; padding: 0; max-width: 26em; display: grid; gap: 10px; }
.fit-list li { position: relative; padding: 12px 16px 12px 46px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: 14px; color: var(--ink); line-height: 1.6; }
.fit-list li::before { content: "✓"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fit-note { text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(16px, 4.4vw, 19px); color: var(--ink); margin: 22px 0 0; line-height: 1.7; text-wrap: balance; }

.reco-list { display: flex; flex-direction: column; gap: 14px; margin: 4px 0 0; }
.reco-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 22px;
  box-shadow: 0 8px 22px rgba(242,107,84,.07);
}
/* 素材パーツをカード隅に薄く敷いて装飾に */
.reco-accent {
  position: absolute; right: -10px; bottom: -14px; width: 82px; height: auto;
  opacity: .12; transform: rotate(-8deg); pointer-events: none;
}
.reco-badge {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 15px;
  background: var(--peach); font-size: 25px; line-height: 1;
}
.reco-body { position: relative; z-index: 1; }
.reco-for { font-family: var(--display); font-weight: 700; font-size: 15.5px; margin: 4px 0 7px; color: var(--ink); }
.reco-quote { position: relative; font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.85; }
.reco-quote::before { content: "“"; color: var(--coral-soft); font-size: 1.3em; margin-right: 1px; }
.reco-quote::after { content: "”"; color: var(--coral-soft); font-size: 1.3em; margin-left: 1px; }

/* ---------- ⑥ FAQ（アコーディオン：ネイティブ details） ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item > summary {
  list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; font-weight: 700; font-size: 15px; color: var(--ink);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::before { content: "Q"; font-family: var(--display); color: var(--coral); flex: none; }
.faq-item > summary::after {
  content: "＋"; margin-left: auto; color: var(--coral); font-weight: 700; flex: none;
  transition: transform .2s var(--ease);
}
.faq-item[open] > summary::after { content: "－"; }
.faq-answer { padding: 0 18px 18px 40px; font-size: 14px; color: var(--ink-soft); line-height: 1.95; }
.faq-answer a { font-weight: 700; }

/* ---------- ⑤b 料金プラン ---------- */
.pricing-lead {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(14px, 3.9vw, 16px); line-height: 1.85;
  color: var(--ink-soft); margin: 12px 0 0; text-wrap: balance;
}
.plan-grid { display: grid; gap: 16px; margin: 4px 0 0; }
@media (min-width: 560px) { .plan-grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }

.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px 22px;
  box-shadow: 0 6px 18px rgba(242,107,84,.06);
}
.plan-card.premium {
  border: 2px solid var(--coral-soft);
  background: linear-gradient(168deg, var(--peach) 0%, #fff 46%);
  box-shadow: 0 16px 40px rgba(242,107,84,.16);
}
.plan-ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .08em;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 18px rgba(242,107,84,.28);
}
.plan-name {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(15px, 4vw, 17px); color: var(--ink); margin: 0;
}
.plan-card.premium .plan-name { color: var(--coral); }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 4px; flex-wrap: wrap; }
.plan-price .pp-num { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 8vw, 38px); line-height: 1.1; color: var(--ink); letter-spacing: .01em; }
.plan-price .pp-unit { font-size: 13px; color: var(--ink-mute); font-weight: 500; }
.plan-feats { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 11px; flex: 1; }
.plan-feats li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.plan-feats li b { color: var(--ink); font-weight: 700; }
.plan-feats li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--peach-deep); color: var(--coral);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.plan-card.premium .plan-feats li::before { background: var(--coral); color: #fff; }
.plan-note { margin: 18px 0 0; font-size: 13px; color: var(--ink-mute); text-align: center; }
.plan-card.premium .plan-note { color: var(--coral); font-weight: 700; }

.pricing-foot {
  margin: 20px auto 0; max-width: 30em; text-align: center;
  font-size: 13px; line-height: 1.85; color: var(--ink-soft);
}
.soon-badge {
  display: inline-block; margin: 0 4px 6px 0;
  background: var(--ink); color: var(--cream);
  font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .06em;
  padding: 3px 12px; border-radius: 999px; vertical-align: middle;
}

/* ---------- ⑦ フッターCTA ---------- */
.final-cta { text-align: center; }
.final-panel {
  position: relative; overflow: hidden;
  background: radial-gradient(90% 120% at 88% 0%, var(--peach) 0%, rgba(255,229,220,0) 60%), var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 18px 42px; box-shadow: 0 14px 40px rgba(242,107,84,.1);
}
.final-title { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 4.8vw, 24px); line-height: 1.6; margin: 0 0 10px; color: var(--ink); }
.final-sub { font-size: 14px; color: var(--ink-soft); margin: 0 0 26px; }
/* LINE公式「友だち追加」ボタン と QR を横並び（スマホ=ボタン／PC=QR） */
.final-actions { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; }
.fa-item { display: flex; flex-direction: column; align-items: center; gap: 11px; }
.line-addfriend { display: inline-block; line-height: 0; transition: transform .15s var(--ease), filter .15s var(--ease); }
.line-addfriend img { width: 200px; height: auto; display: block; border-radius: 8px; }
.line-addfriend:hover { transform: translateY(-2px); filter: brightness(1.03); }
.line-addfriend:focus-visible { outline: 3px solid var(--coral-soft); outline-offset: 3px; border-radius: 10px; }
.fa-qr {
  width: 122px; height: 122px; box-sizing: border-box;
  background: #fff; padding: 8px; border: 1px solid var(--line); border-radius: 16px;
}
.fa-note { font-size: 12px; color: var(--ink-mute); margin: 0; line-height: 1.55; text-align: center; }
.fa-firststep { margin: 22px auto 0; max-width: 340px; font-size: 13px; line-height: 1.75;
  color: var(--ink-soft); background: #FFF2EB; border: 1px solid var(--line);
  border-radius: 16px; padding: 13px 18px; text-align: center; }
.fa-firststep b { color: var(--coral); font-weight: 700; }
.final-share { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 9px; }
.btn-lineit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: 14px;
  padding: 11px 24px; border-radius: 999px;
  color: var(--line-green); background: #fff; border: 2px solid var(--line-green);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn-lineit svg { width: 18px; height: 18px; flex: none; }
.btn-lineit:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(6,199,85,.22); }
.btn-lineit:focus-visible { outline: 3px solid var(--line-green); outline-offset: 3px; }

/* ---------- 重要書類リンク（プライバシー/利用規約） ---------- */
.doc-links { display: grid; gap: 12px; margin-top: 10px; }
.doc-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 15px 18px; color: var(--ink); transition: transform .14s var(--ease), border-color .14s;
}
.doc-link:hover { text-decoration: none; transform: translateX(3px); border-color: var(--coral-soft); }
.doc-link .doc-t { font-weight: 700; font-size: 14px; }
.doc-arrow { color: var(--coral); font-weight: 700; }

/* ---------- 問い合わせ ---------- */
.contact-section { padding-top: clamp(4px, 2vw, 12px); }
.contact-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-size: 14px; }
.contact-box p { margin: 0 0 8px; }
.contact-box p:last-child { margin-bottom: 0; }
.note-disclose { font-size: 12px; color: var(--ink-mute); line-height: 1.8; margin: 14px 0 0; }

/* ---------- フッター ---------- */
.site-footer { background: var(--peach-deep); border-top: 1px solid var(--line); padding: 28px 0 34px; margin-top: 40px; }
/* 下部固定CTAがあるページ(index)だけ、footerを固定CTAの背後まで伸ばして隙間を消す */
body.has-sticky .site-footer { padding-bottom: calc(34px + var(--sticky-h)); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; }
.footer-brand { font-family: var(--display); font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ink-soft); }
.copyright { font-size: 12px; color: var(--ink-mute); width: 100%; }

/* ---------- 下部固定CTA（sticky） ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 250, 247, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { max-width: 460px; margin: 0 auto; }

/* ---------- ↑TOPへ戻るボタン ---------- */
.to-top {
  position: fixed; right: 16px; z-index: 45;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); color: var(--coral);
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(70, 53, 47, .18);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .18s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--peach); text-decoration: none; }
.to-top svg { width: 22px; height: 22px; }
/* 下部固定CTAがあるページ(index)では、その上に浮かせる */
body.has-sticky .to-top { bottom: calc(var(--sticky-h) + 18px + env(safe-area-inset-bottom, 0px)); }

/* =========================================================
   下層ページ（プライバシー / 利用規約）
   ========================================================= */
.page-head { padding: 28px 0 4px; }
.page-title { font-family: var(--display); font-size: clamp(23px, 6vw, 29px); font-weight: 700; margin: 0 0 6px; }
.page-meta { font-size: 13px; color: var(--ink-mute); margin: 0 0 24px; }
.legal { padding-bottom: 20px; }
.legal h2 { font-family: var(--display); font-size: 18px; font-weight: 700; margin: 36px 0 12px; padding-left: 14px; border-left: 3px solid var(--coral); line-height: 1.6; }
.legal h3 { font-size: 15px; font-weight: 700; margin: 22px 0 6px; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 1.4em; }
.legal li { margin-bottom: 6px; }
.lead-note { background: var(--peach); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 14px; color: var(--ink); margin: 0 0 26px; line-height: 1.85; }
.fill { background: #FFF1C2; color: #7a5a00; padding: 0 5px; border-radius: 4px; font-weight: 700; font-size: .95em; }
.back-link { display: inline-block; font-size: 14px; margin: 8px 0 44px; }
.back-link::before { content: "← "; }

/* ---------- レスポンシブ ---------- */
@media (min-width: 720px) {
  :root { --sticky-h: 0px; }
  body { padding-bottom: 0; }
  .sticky-cta { display: none; } /* PCはヒーロー/各所のCTAで足りる */
  .hero { padding: 24px 0 64px; }
  .hero .container { flex-direction: row; text-align: left; align-items: center; gap: 40px; }
  .hero-copy { flex: 1 1 56%; }
  .hero-illust-wrap { flex: 0 0 40%; width: 40%; max-width: 320px; }
  .steps { gap: 18px; }
  /* PCは縦長カードを3枚、中央寄せで横並び */
  .reco-list { flex-direction: row; justify-content: center; align-items: stretch; gap: 18px; }
  .reco-card { flex: 1 1 0; max-width: 236px; gap: 16px; padding: 26px 22px; }
  .reco-badge { width: 54px; height: 54px; font-size: 27px; }
  .doc-links { grid-template-columns: 1fr 1fr; }
}

/* ---------- 登場アニメーション（anim.js が制御） ---------- */
html.js .reveal,
html.js .hero-copy,
html.js .hero-illust-wrap { opacity: 0; will-change: opacity, transform; }

.sticky-cta { transition: transform .3s var(--ease), opacity .3s var(--ease); }
.sticky-cta.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .hero-copy,
  html.js .hero-illust-wrap { opacity: 1; }
  html { scroll-behavior: auto; }
  .deco { animation: none !important; }
}
