:root {
  --color-primary: #ff7eb3;
  --color-primary-dark: #d63d7a;     /* 落ち着いたローズ（差し色） */
  --color-secondary: #c9a227;        /* 上品なゴールド（主役の差し色） */
  --color-gold: #c9a227;
  --color-gold-light: #efe1b4;
  --color-ink: #2b2b29;              /* アイコンの黒に合わせた上品なチャコール */
  --color-bg: #fffdf9;               /* 温かみのある白（白基調） */
  --color-bg-soft: #faf5ec;          /* アイボリー（旧ピンク帯を置換） */
  --color-text: #3a3338;
  --color-text-soft: #7a727a;
  --shadow-soft: 0 4px 20px rgba(150,120,40,0.10);
  --shadow-card: 0 8px 32px rgba(150,120,40,0.14);
  --radius-card: 16px;
  --radius-button: 50px;
  --max-width: 720px;
  --gradient-pink: linear-gradient(135deg,#ff7eb3 0%,#ff65a3 100%);
  --gradient-gold: linear-gradient(135deg,#efe1b4 0%,#c9a227 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; }

.section-img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-card);
}

/* ヒーロー（白基調＋ゴールド差し色／信頼・上品トーン） */
.hero {
  text-align: center;
  background: linear-gradient(170deg,#ffffff 0%,#fdf8ee 100%);
  border-bottom: 1px solid var(--color-gold-light);
}
.hero-title {
  font-family: "Noto Serif JP", serif;   /* 見出しは明朝で大人っぽく上品に */
  font-size: clamp(1.8rem, 6vw, 2.7rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-ink);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}
.hero-title .free-em {
  color: var(--color-ink);
  position: relative;
  padding: 0 2px;
  background: linear-gradient(transparent 62%, #ffd76a 62%);  /* ゴールドのマーカー */
}
.hero-sub {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.85;
  max-width: 560px;
  margin: 0 auto 24px;
}
.hero-note {
  font-size: 0.82rem;
  color: var(--color-text-soft);
  margin: 14px 0 28px;
}
.hero .section-img { box-shadow: var(--shadow-card); }

/* ヒーロー：無料バッジ */
.hero-free-badge {
  display: inline-block;
  font-family: "Noto Serif JP", serif;
  font-size: 1.02rem; font-weight: 700; color: var(--color-primary-dark);
  background: #fff; border: 2px solid var(--color-secondary); border-radius: 50px;
  padding: 7px 20px; margin: 0 0 18px; box-shadow: var(--shadow-soft);
}
.hero-free-badge .free-strong {
  color: #fff; background: var(--color-primary-dark);
  border-radius: 50px; padding: 2px 12px; margin-left: 6px;
}
.hero-sub strong { color: var(--color-primary-dark); font-weight: 700; }

/* App Store バッジ */
.store-badge-link { display: inline-block; line-height: 0; transition: transform .15s, box-shadow .15s; border-radius: 8px; text-align: center; }
.store-badge-link:hover { transform: translateY(-2px); }
.store-badge { width: 160px; height: auto; display: block; margin-left: auto; margin-right: auto; }

/* ファーストビュー直下の訴求バー */
.hero-benefits { background: var(--color-primary-dark); color: #fff; }
.hero-benefits .container {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 8px 26px; padding-top: 13px; padding-bottom: 13px;
}
.hb-item { font-size: 0.9rem; position: relative; padding-left: 21px; white-space: nowrap; }
.hb-item::before { content: "✓"; position: absolute; left: 0; color: #ffd76a; font-weight: 700; }
.hb-item strong { color: #ffd76a; }

/* イメージ画像の注記 */
.img-note {
  display: block; font-size: 0.68rem; color: var(--color-text-soft);
  margin-top: 4px; letter-spacing: .02em; font-weight: 400;
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
  border-bottom: 1px solid rgba(43,43,41,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-ink);
  letter-spacing: 0.04em;
}

/* セクション共通 */
section { padding: 60px 20px; }
.section-title {
  font-family: "Noto Serif JP", serif;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--color-ink);
  letter-spacing: 0.02em;
}
/* 見出し下のゴールド装飾ライン */
.section-title::after {
  content: "";
  display: block;
  width: 52px; height: 2px;
  margin: 12px auto 0;
  background: var(--gradient-gold);
}
.section-lead {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 24px;
  color: var(--color-text-soft);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-store {
  background: #000;
  color: #fff;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 1rem;
  min-width: 160px;
}
.btn-store:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.btn-store-mini {
  background: #000;
  color: #fff;
  border-radius: 12px;
  padding: 8px 18px;
  font-size: 0.9rem;
}
.btn-cta {
  background: var(--gradient-pink);
  color: #fff;
  border-radius: var(--radius-button);
  padding: 16px 40px;
  font-size: 1.05rem;
  box-shadow: var(--shadow-card);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,126,179,0.4); }

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* CTAセクション */
.cta { text-align: center; }
.cta h2 {
  font-size: 1.7rem;
  margin: 0 0 8px;
}
.cta-final {
  background: var(--gradient-pink);
  color: #fff;
}
.cta-final h2 { color: #fff; }

/* 料金プラン */
.pricing { background: var(--color-bg-soft); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.plan-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.plan-premium {
  border: 2px solid var(--color-secondary);
  background: linear-gradient(180deg,#fff 0%,#fffdf4 100%);
  box-shadow: var(--shadow-card);
}
.plan-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--gradient-pink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-button);
  box-shadow: var(--shadow-soft);
}
.plan-name {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--color-primary-dark);
}
.plan-grade {
  display: inline-block; margin-left: 8px;
  font-size: 0.72rem; font-weight: 700; color: #fff;
  background: var(--color-secondary); border-radius: 50px; padding: 2px 10px;
  vertical-align: middle;
}
.plan-price {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 12px;
}
.plan-period { font-size: 1rem; font-weight: 500; color: var(--color-text-soft); }
.plan-note {
  font-size: 0.78rem; color: var(--color-text-soft); line-height: 1.6; margin: 0 0 16px;
}
.plan-note strong { color: var(--color-primary-dark); }
.plan-catch {
  font-size: 0.86rem; font-weight: 700; color: var(--color-primary-dark);
  margin: 0 0 12px; line-height: 1.5;
}
.plan-premium .plan-catch { color: #b07d18; }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}
.plan-features li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px solid #f3e3ec;
}
.plan-features li.ok::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.plan-features li.ng {
  color: #b8b8b8;
}
.plan-features li.ng::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #d0d0d0;
}
.plan-btn { width: 100%; }

/* FAQ */
.faq details {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 48px 18px 20px;
  font-weight: 500;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.2rem;
}
.faq details[open] summary::after { content: "－"; }
.faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

/* フッター */
.site-footer {
  background: #2a2a2a;
  color: #ddd;
  text-align: center;
  padding: 48px 20px;
}
.footer-brand { font-family: "Noto Serif JP", serif; font-weight: 700; font-size: 1.1rem; margin: 0 0 8px; color: #fff; letter-spacing: 0.04em; }
.footer-operator { font-size: 0.9rem; color: #aaa; margin: 0 0 20px; }
.footer-social {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}
.social-link { color: #ddd; transition: color 0.15s; }
.social-link:hover { color: var(--color-primary); }
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-links a { color: #bbb; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }
.copyright { font-size: 0.85rem; color: #888; margin: 0; }

/* スマホ用固定CTAバー */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -4px 20px rgba(255,126,179,0.2);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}
.mobile-cta-bar .btn-cta {
  width: 100%;
  padding: 14px;
}

/* 化粧品検定とは（試験概要） */
.about-exam { background: var(--color-bg-soft); }
/* 見出し横の考える猫（ワンポイント） */
.title-with-cat {
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.title-with-cat .section-title { margin-bottom: 14px; }
.title-cat { width: 60px; height: auto; margin-bottom: 8px; }
.title-cat-lg { width: 78px; }
.exam-stats {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  max-width: 640px; margin: 0 auto 28px;
}
.exam-stat {
  flex: 1 1 150px; background: #fff; border-radius: var(--radius-card);
  padding: 20px 12px; text-align: center; box-shadow: var(--shadow-soft);
}
.exam-stat .num {
  display: block; font-size: 1.7rem; font-weight: 700; color: var(--color-primary-dark); line-height: 1.2;
}
.exam-stat .lbl { display: block; font-size: 0.8rem; color: var(--color-text-soft); margin-top: 6px; }
.grade-table { max-width: 640px; margin: 0 auto; }
.grade-row {
  display: flex; align-items: center; gap: 14px; background: #fff;
  border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; box-shadow: var(--shadow-soft);
}
.grade-row .grade {
  flex: 0 0 auto; min-width: 56px; text-align: center; font-weight: 700; color: #fff;
  background: var(--color-ink); border-radius: 50px; padding: 6px 10px; font-size: 0.9rem;
}
.grade-row .grade-desc { font-size: 0.92rem; color: var(--color-text); }
.source-note { text-align: center; font-size: 0.78rem; color: #aa9; margin: 18px 0 0; }

/* 実際のアプリ画面（iPhone枠ギャラリー） */
.app-shots { background: var(--color-bg-soft); }
.shots-row {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  max-width: 900px; margin: 0 auto;
}
.phone { margin: 0; width: 200px; flex: 0 0 auto; }
.phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #f7f1e6;
  border: 8px solid #1a1a1a;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
/* ノッチ */
.phone-frame::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 42%; height: 16px; background: #1a1a1a;
  border-radius: 0 0 12px 12px; z-index: 2;
}
.phone-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 画像未配置のときのプレースホルダ */
.phone-frame.img-missing::after {
  content: "画面準備中";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-secondary); font-size: 0.85rem; font-weight: 700;
  background: repeating-linear-gradient(45deg,#f7f1e6 0 12px,#efe6d4 12px 24px);
}
.phone .cap {
  text-align: center; font-size: 0.85rem; color: var(--color-text-soft); margin-top: 10px;
}

/* 使い方3ステップ（猫を左・テキストを右の横並びカード） */
.step-list {
  display: flex; flex-direction: column; gap: 16px; max-width: 640px; margin: 0 auto;
}
.step-card {
  background: linear-gradient(180deg,#ffffff 0%,#fffdf5 100%);
  border: 1px solid #ecdcab;
  border-radius: 20px; padding: 16px 20px;
  box-shadow: 0 6px 22px rgba(180,150,60,0.12);
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 12px; text-align: left;
}
/* 左端のゴールド・アクセント帯 */
.step-card::before {
  content: ""; position: absolute; top: 0; left: 0; bottom: 0;
  width: 5px; background: var(--gradient-gold);
}
/* 右上の小さなきらめき */
.step-card::after {
  content: "✦"; position: absolute; top: 10px; right: 14px;
  color: var(--color-secondary); opacity: 0.5; font-size: 0.8rem;
}
.step-card .step-cat {
  flex: 0 0 auto; width: 82px; height: auto; display: block;
}
.step-card .step-body { flex: 1; }
.step-card h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.1rem; margin: 0 0 8px; padding-bottom: 6px; color: var(--color-text);
  border-bottom: 1px dashed #ecdcab;
}
.step-card p { font-size: 0.9rem; color: var(--color-text-soft); margin: 0; line-height: 1.7; }

/* 利用者の声・レビュー */
.rating-summary {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 28px;
}
.rating-stars { color: var(--color-secondary); font-size: 1.5rem; letter-spacing: 0.06em; }
.rating-score { font-size: 1.8rem; font-weight: 700; color: var(--color-primary-dark); }
.rating-meta { font-size: 0.82rem; color: var(--color-text-soft); width: 100%; text-align: center; }
.review-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; margin: 0 auto;
}
.review-card {
  background: #fff; border-radius: var(--radius-card); padding: 22px 20px; margin: 0;
  box-shadow: var(--shadow-soft); border-left: 4px solid var(--color-secondary);
}
.review-card p { font-size: 0.92rem; line-height: 1.8; margin: 0 0 12px; }
.reviewer { display: flex; align-items: center; gap: 10px; margin: 0; }
.review-avatar {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, #f5ebd3, #e6cd92);
  box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(176, 141, 60, .22);
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-card cite { font-size: 0.82rem; color: var(--color-text-soft); font-style: normal; }

/* お悩み（白×ゴールドのカード） */
.worry-hero {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto 28px;
  border-radius: 18px;
  border: 1px solid var(--color-gold-light);
  box-shadow: var(--shadow-soft);
}
.worry-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  max-width: 720px; margin: 0 auto;
}
.worry-card {
  background: linear-gradient(180deg,#ffffff 0%,#fffdf5 100%);
  border: 1px solid var(--color-gold-light);
  border-radius: 14px; padding: 18px 16px; text-align: center;
  box-shadow: var(--shadow-soft);
}
.worry-card .worry-num {
  display: inline-block; font-family: "Noto Serif JP", serif;
  font-size: 0.8rem; font-weight: 700; color: var(--color-secondary);
  border: 1px solid var(--color-secondary); border-radius: 50px;
  padding: 1px 12px; margin-bottom: 10px; letter-spacing: 0.08em;
}
.worry-card p { margin: 0; font-size: 0.92rem; line-height: 1.7; }
.worry-card strong { color: var(--color-primary-dark); }
.worry-closing {
  text-align: center; font-family: "Noto Serif JP", serif;
  font-size: 1.15rem; margin: 28px 0 0; color: var(--color-text);
}
.worry-closing strong { color: var(--color-primary-dark); }

/* 選ばれる6つの理由（カード） */
.reason-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 760px; margin: 0 auto;
}
.reason-card {
  background: #fff; border: 1px solid var(--color-gold-light);
  border-top: 3px solid var(--color-secondary);
  border-radius: 14px; padding: 22px 18px; text-align: center;
  box-shadow: var(--shadow-soft);
}
.reason-card .reason-num {
  display: inline-block; font-family: "Noto Serif JP", serif;
  font-size: 1.1rem; font-weight: 700; color: var(--color-secondary);
  margin-bottom: 8px; letter-spacing: 0.1em;
}
.reason-card h3 { font-size: 0.98rem; margin: 0 0 6px; color: var(--color-text); }
.reason-card p { font-size: 0.85rem; color: var(--color-text-soft); margin: 0; line-height: 1.7; }

/* 監修者カード */
.supervisor-card {
  max-width: 560px; margin: 0 auto;
  background: linear-gradient(180deg,#ffffff 0%,#fffdf5 100%);
  border: 2px solid var(--color-secondary); border-radius: 16px;
  padding: 28px 26px; box-shadow: var(--shadow-card);
}
.supervisor-portrait { margin: 0 auto 18px; text-align: center; }
.supervisor-portrait img {
  width: 132px; height: 132px; border-radius: 50%; object-fit: cover; display: inline-block;
  border: 3px solid var(--color-secondary);
  box-shadow: 0 0 0 4px #fff, 0 6px 16px rgba(176, 141, 60, .28);
}
.supervisor-portrait figcaption {
  margin-top: 10px; font-size: 0.8rem; color: var(--color-text-soft); letter-spacing: .04em;
}
.supervisor-headline {
  font-family: "Noto Serif JP", serif; text-align: center;
  font-size: 1.1rem; font-weight: 700; color: var(--color-primary-dark);
  margin: 0 0 18px;
}
.supervisor-points { list-style: none; padding: 0; margin: 0; }
.supervisor-points li {
  position: relative; padding: 10px 0 10px 30px;
  border-bottom: 1px dashed var(--color-gold-light); font-size: 0.95rem;
}
.supervisor-points li:last-child { border-bottom: none; }
.supervisor-points li::before {
  content: "✓"; position: absolute; left: 4px;
  color: var(--color-secondary); font-weight: 700;
}
.supervisor-points strong { color: var(--color-primary-dark); }

/* 作った理由（ストーリーカード） */
.story-card {
  max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--color-gold-light);
  border-radius: 16px; padding: 28px 26px; box-shadow: var(--shadow-soft);
}
.story-portrait { margin: 0 auto 20px; text-align: center; }
.story-portrait img {
  width: 150px; height: 150px; object-fit: cover; display: inline-block;
  border-radius: 18px; border: 2px solid var(--color-gold-light);
  box-shadow: 0 6px 16px rgba(176, 141, 60, .22);
}
.story-card p { font-size: 0.95rem; line-height: 2; margin: 0 0 16px; color: var(--color-text); }
.story-card .story-closing {
  font-family: "Noto Serif JP", serif; text-align: center;
  font-size: 1.05rem; font-weight: 700; color: var(--color-primary-dark);
  margin: 8px 0 0; padding-top: 14px; border-top: 1px solid var(--color-gold-light);
}

/* レスポンシブ */
@media (max-width: 768px) {
  section { padding: 40px 16px; }
  .header-cta { display: none; }
  .store-buttons { flex-direction: column; align-items: stretch; }
  .btn-store { width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; gap: 12px; }
  .step-card { padding: 12px 16px; }
  .step-card .step-cat { width: 70px; }

  /* 利用者の声：2列×3段で全件を1画面に表示 */
  .review-list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .review-card { padding: 12px 11px; border-left-width: 3px; border-radius: 12px; }
  .review-card p { font-size: 0.75rem; line-height: 1.6; margin-bottom: 7px; }
  .reviewer { gap: 7px; }
  .review-avatar { width: 32px; height: 32px; }
  .review-card cite { font-size: 0.66rem; }

  /* お悩み：1画面に収まるコンパクト設計 */
  .section-title { font-size: 1.28rem; }
  .worry-hero { max-width: 100%; margin-bottom: 16px; border-radius: 14px; }
  .worry-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .worry-card { padding: 10px 8px; border-radius: 12px; }
  .worry-card .worry-num { font-size: 0.66rem; padding: 0 9px; margin-bottom: 5px; }
  .worry-card p { font-size: 0.8rem; line-height: 1.5; }
  .worry-closing { font-size: 0.98rem; margin-top: 16px; }

  /* 6つの理由：コンパクト化 */
  .reason-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .reason-card { padding: 12px 10px; }
  .reason-card .reason-num { font-size: 0.9rem; margin-bottom: 4px; }
  .reason-card h3 { font-size: 0.86rem; }
  .reason-card p { font-size: 0.74rem; }

  /* ヒーロー：1画面に収める（画像は上部を見せてトリミング表示） */
  .hero { padding-top: 28px; padding-bottom: 28px; }
  .hero-title { font-size: 1.5rem; margin-bottom: 10px; }
  .hero-sub { font-size: 0.9rem; margin-bottom: 16px; }
  .hero-note { margin: 10px 0 16px; font-size: 0.76rem; }
  .hero .section-img {
    max-height: 44vh; width: auto; max-width: 100%;
    object-fit: cover; object-position: center top;
  }

  /* 機能詳細：3枚を横スワイプ化で1画面に */
  .features-row {
    display: flex; flex-wrap: nowrap; overflow-x: auto;
    gap: 14px; padding: 4px 4px 12px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .features-row .section-img {
    flex: 0 0 auto; width: 270px; max-width: none; height: auto;
    margin: 0; border-radius: 14px; scroll-snap-align: center;
  }

  /* 料金：2カードを横スワイプ化で1画面に */
  .pricing-grid {
    display: flex; flex-wrap: nowrap; overflow-x: auto;
    gap: 14px; padding: 12px 4px 12px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .plan-card { flex: 0 0 auto; width: 285px; scroll-snap-align: center; padding: 24px 18px; }
  .plan-price { font-size: 1.8rem; }
  .plan-features li { padding: 6px 0 6px 26px; font-size: 0.88rem; }
  .exam-stat { flex-basis: 30%; }
  .exam-stat .num { font-size: 1.3rem; }
  /* アプリ画面：スマホは横スクロール（スワイプ） */
  .shots-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px 4px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .phone { width: 168px; scroll-snap-align: center; }
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 80px; }
}
