/* ============================================================
   PONOVA LP — 専用スタイルシート
   トンマナ: ponova_app（app_colors.dart）準拠のライト&ウォーム＋成長の熱量。
   PONO キャラクター画像は assets/img/pono/（ponova_app より複製・透過版）。
   terms / privacy / billing は従来どおり assets/css/style.css を使う。
   ============================================================ */

:root {
  --c-primary:         #FF7F7F;
  --c-primary-dark:    #F26060;
  --c-primary-light:   #FFE5E5;
  --c-bg:              #FFFAF8;
  --c-surface:         #FFFFFF;
  --c-text:            #4A4A4A;
  --c-text-secondary:  #6F6F6F;
  --c-text-tertiary:   #9A9A9A;
  --c-text-on-primary: #FFFFFF;
  --c-success:         #7ECEC2;
  --c-success-light:   #E4F5F2;
  --c-warning:         #FFB347;
  --c-error:           #E57373;
  --c-divider:         #EEEEEE;

  --shadow-soft:  0 4px 20px rgba(74, 74, 74, 0.08);
  --shadow-hover: 0 10px 32px rgba(74, 74, 74, 0.12);

  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
          "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
          Meiryo, "メイリオ", sans-serif;

  --max-w:    1140px;
  --header-h: 60px;
}

/* --- ベース ------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* sticky ヘッダーの下にアンカー先の見出しが隠れないようにする */
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--c-primary-light); }

/* hidden 属性を持つ要素は常に非表示。クラス側の display 指定（grid/flex 等）が
   ブラウザ既定の [hidden] { display: none } を上書きしてしまうのを防ぐ。 */
[hidden] { display: none !important; }

/* キーボード操作時のフォーカス可視化 */
:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn-store:focus-visible { outline-offset: 4px; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* スクリーンリーダー専用（視覚的に非表示） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- 背景 --------------------------------------------------- */
.bg-dots {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(255, 127, 127, 0.10) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 70%);
  pointer-events: none;
}

.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 560px 420px at 85% -4%, rgba(255, 229, 229, 0.9), transparent 65%),
    radial-gradient(ellipse 480px 380px at 4% 16%, rgba(228, 245, 242, 0.8), transparent 65%),
    var(--c-bg);
  pointer-events: none;
}

/* --- スクロールリビール（JS有効時のみ。無効時はコンテンツを常時表示） --- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- オープニング -------------------------------------------- */
/* 既定は非表示。head の判定が .intro-pending を付けたときだけ再生する。 */
.intro { display: none; }

.intro-pending .intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 55% at 50% 44%, #FFFFFF 0%, #FFE0E0 42%, #FFC4C4 100%);
  animation: intro-out 0.55s ease-in 2.5s both;
}

/* 放射状の光条。ゆっくり回りながら burst に向けて強くなる */
.intro__rays {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 190vmax;
  height: 190vmax;
  transform: translate(-50%, -50%) rotate(0deg);
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.85) 0deg 3deg,
    rgba(255, 255, 255, 0) 3deg 12deg
  );
  mask-image: radial-gradient(circle, #000 8%, rgba(0, 0, 0, 0.35) 26%, transparent 52%);
  -webkit-mask-image: radial-gradient(circle, #000 8%, rgba(0, 0, 0, 0.35) 26%, transparent 52%);
  opacity: 0;
  animation: intro-rays 2.1s ease-out 0.95s both;
}

/* 中心のまばゆい光 */
.intro__glow {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 32vmax;
  height: 32vmax;
  border-radius: 50%;
  background: radial-gradient(circle, #FFFFFF 0%, rgba(255, 255, 255, 0.9) 38%, rgba(255, 200, 200, 0) 70%);
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
  animation: intro-glow 1.7s cubic-bezier(0.22, 1, 0.36, 1) 1.15s both;
}

/* 白フラッシュ。ここが最大になった瞬間に LP へ切り替わる */
.intro__flash {
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  opacity: 0;
  animation: intro-flash 1.0s ease-in 2.05s both;
}

.intro__pono {
  position: relative;
  width: auto;
  height: min(46vh, 320px);
  filter: drop-shadow(0 14px 30px rgba(74, 74, 74, 0.18));
  animation:
    intro-pono-in 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    intro-pono-pop 0.85s ease-out 1.75s both;
}

.intro__line {
  position: relative;
  font-size: clamp(1.375rem, 4.6vw, 2.125rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--c-text);
  text-align: center;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.9);
  animation: intro-line-in 0.55s ease-out 0.6s both;
}

.intro__skip {
  position: absolute;
  right: 1.25rem;
  bottom: 1.5rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-text-secondary);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--c-divider);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  cursor: pointer;
  z-index: 2;
}

@keyframes intro-pono-in {
  from { opacity: 0; transform: scale(0.55) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes intro-pono-pop {
  0%   { transform: scale(1); filter: drop-shadow(0 12px 26px rgba(74, 74, 74, 0.18)); }
  45%  { transform: scale(1.12); filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.95)); }
  100% { transform: scale(1.06); filter: drop-shadow(0 0 40px rgba(255, 255, 255, 1)); }
}

@keyframes intro-line-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

@keyframes intro-rays {
  0%   { opacity: 0;    transform: translate(-50%, -50%) rotate(0deg) scale(0.75); }
  40%  { opacity: 0.55; }
  100% { opacity: 0.9;  transform: translate(-50%, -50%) rotate(26deg) scale(1); }
}

@keyframes intro-glow {
  0%   { opacity: 0;   transform: translate(-50%, -50%) scale(0.2); }
  40%  { opacity: 1; }
  100% { opacity: 0.9; transform: translate(-50%, -50%) scale(3.4); }
}

@keyframes intro-flash {
  0%   { opacity: 0; }
  45%  { opacity: 1; }
  100% { opacity: 1; }
}

@keyframes intro-out {
  from { opacity: 1; }
  to   { opacity: 0; visibility: hidden; }
}

/* オープニング明け：ヒーローが光の中から立ち上がる。
   スクロールロックはしない（明けた瞬間にスクロールバーが復活してページが横にずれるため）。 */
.is-intro-done .hero__content,
.is-intro-done .hero-visual {
  animation: intro-hero-in 0.8s ease-out both;
}

.is-intro-done .hero-visual { animation-delay: 0.12s; }

@keyframes intro-hero-in {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

/* --- ヘッダー ------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-divider);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -0.03em;
}

.header__logo-sub {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--c-text-secondary);
  margin-left: 0.375rem;
  letter-spacing: 0;
}

.header__cta {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-text-on-primary);
  background: var(--c-primary);
  border-radius: 9999px;
  padding: 0.5rem 1.125rem;
  transition: background 0.15s, transform 0.15s;
}

.header__cta:hover { background: var(--c-primary-dark); transform: translateY(-1px); }

/* --- ストアボタン（公式風） --------------------------------- */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--c-text);
  color: #fff;
  border-radius: 14px;
  padding: 0.625rem 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-store:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ストアURL未設定時：押せる見た目にせず「近日公開」を明示 */
.btn-store--pending { position: relative; opacity: 0.5; cursor: default; }
.btn-store--pending:hover { transform: none; box-shadow: var(--shadow-soft); }
.btn-store--pending::after {
  content: "近日公開";
  position: absolute;
  top: -9px;
  right: -9px;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--c-primary);
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-soft);
}

.btn-store__logo { flex-shrink: 0; }
.btn-store__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn-store__sub { font-size: 0.625rem; font-weight: 500; opacity: 0.85; letter-spacing: 0.02em; }
.btn-store__title { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.01em; }

/* --- ヒーロー ------------------------------------------------ */
.hero {
  position: relative;
  padding: 4.5rem 0 4.5rem;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: center;
}


.hero__title {
  font-size: clamp(2rem, 5.2vw, 3.25rem);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.03em;
  margin-bottom: 1.375rem;
}

.hero__title em { font-style: normal; color: var(--c-primary); }

/* 文節ごとに折り返す（語の途中で改行されるのを防ぐ） */
.hero__title span { display: inline-block; }

.hero__lead {
  font-size: 1.0625rem;
  color: var(--c-text-secondary);
  line-height: 1.95;
  margin-bottom: 2rem;
  max-width: 33em;
}

/* ストアボタンの並びと事前登録 CTA を同じ幅に揃えるためのカラム */
.hero__actions {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 100%;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.hero__reassure {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-text-secondary);
}

.hero__reassure-dot { color: var(--c-primary); }

/* --- ヒーロー：事前登録 CTA（ストアボタンと同じ2行構成） ----- */
.hero-preregister-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  margin: 1.25rem 0 1.125rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: var(--c-text-on-primary);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(242, 96, 96, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  animation: cta-pulse 2.4s ease-in-out infinite;
}

.hero-preregister-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(242, 96, 96, 0.5);
  animation-play-state: paused;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(242, 96, 96, 0.4); }
  50% { box-shadow: 0 6px 32px rgba(242, 96, 96, 0.65); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-preregister-cta { animation: none; }
}

.hero-preregister-cta__icon { flex-shrink: 0; width: 26px; height: 26px; }

.hero-preregister-cta__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.35;
}

.hero-preregister-cta__sub {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.92;
  letter-spacing: 0.06em;
}

.hero-preregister-cta__title {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* --- ヒーロー右側：スマホモック ----------------------------- */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* スマホフレーム（スクリーンショット差し込み枠） */
.phone {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 9 / 19;
  background: #1c1c1e;
  border-radius: 34px;
  padding: 8px;
  box-shadow: var(--shadow-hover);
  position: relative;
}

.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: var(--c-bg);
}

.phone__screen > img,
.phone__screen > video { width: 100%; height: 100%; object-fit: cover; display: block; }


/* 動きを抑える設定では再生せず poster のままにする（JS 側で autoplay を外す） */
@media (prefers-reduced-motion: reduce) {
  .phone__video { pointer-events: none; }
}

/* スクショが入るまでの明示的プレースホルダ */
.phone__shot {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  text-align: center;
  padding: 1rem;
  background:
    repeating-linear-gradient(-45deg, #FFF4F1 0 12px, #FFFAF8 12px 24px);
  border: 1.5px dashed rgba(255, 127, 127, 0.4);
}

.phone__shot-label { font-size: 0.875rem; font-weight: 800; color: var(--c-primary); }
.phone__shot-hint { font-size: 0.6875rem; font-weight: 600; color: var(--c-text-secondary); }

/* --- ヒーロー：1日の振り返りフローのモック --------------------
   アプリ実装（daily_question_flow.dart / rpg_overlay.dart /
   question_input_card.dart）の見た目と順序に合わせている。
   端末フレームは被せず、LP の面にそのまま置く。 */
.hero-mock {
  width: 100%;
  max-width: 330px;
  aspect-ratio: 9 / 17;
}

/* 枠も影も付けない。LP の面の上でそのまま展開する */
.hero-mock__inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* 「毎日のふりかえり」と「フォームの比較」を1枠の中でディゾルブ切替する */
.hero-mock__pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s;
}

.hero-mock__pane.is-active { opacity: 1; visibility: visible; }

.hero-mock__video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 切替タブ（現在再生中の側を示すインジケータも兼ねる） */
.mock-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.mock-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-text-tertiary);
  background: none;
  border: none;
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  cursor: pointer;
  transition: color 0.25s, background 0.25s;
}

.mock-tab__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
  transition: opacity 0.25s;
}

.mock-tab.is-active {
  color: var(--c-primary);
  background: var(--c-primary-light);
}

.mock-tab.is-active .mock-tab__dot { opacity: 1; }
.mock-tab:hover { color: var(--c-primary); }

.chat-mock {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  font-size: 0.8125rem;
  line-height: 1.7;
}

/* 土台：ホームのチャット履歴 */
.chat-mock__home {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

.chat-mock__thread {
  flex: 1 1 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* アプリと同じく最新が下。入り切らないときは古い側から見切れる */
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
}

.chat-mock__divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-text-tertiary);
  font-size: 0.5625rem;
  font-weight: 700;
}

.chat-mock__divider::before,
.chat-mock__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-divider);
}

.chat-mock__row { display: flex; align-items: flex-end; gap: 0.375rem; }
.chat-mock__row--me { justify-content: flex-end; }

.chat-mock__avatar { flex: none; width: 26px; height: 26px; object-fit: contain; }

/* 入力者（ユーザー）側のアイコン。人物画像は持たないので図形で表す */
.chat-mock__avatar--me {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-primary-light);
  color: var(--c-primary);
}

.chat-mock__avatar--me svg { width: 16px; height: 16px; }

.chat-mock__body { max-width: 78%; }

/* 吹き出しと入力者アイコンを下端で揃える（時刻は下に置く） */
.chat-mock__bubble-row { display: flex; align-items: flex-end; gap: 0.375rem; }
.chat-mock__row--me .chat-mock__body { text-align: right; }

.chat-mock__bubble {
  display: inline-block;
  text-align: left;
  background: var(--c-surface);
  color: var(--c-text);
  border-radius: 12px;
  padding: 0.4375rem 0.625rem;
  box-shadow: 0 1px 4px rgba(74, 74, 74, 0.06);
}

.chat-mock__bubble--me {
  background: var(--c-primary);
  color: var(--c-text-on-primary);
  box-shadow: none;
}

.chat-mock__time {
  display: block;
  margin-top: 0.1875rem;
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--c-text-tertiary);
}

/* 各フェーズは履歴の上に重なるオーバーレイ。
   背景はぼかさず、フェーズ表示中は履歴自体を伏せる。 */
.chat-mock__stage {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  padding: 0.75rem;
}

.chat-mock__home { transition: opacity 0.9s ease-in-out; }
.chat-mock.has-stage .chat-mock__home,
.chat-pending .chat-mock__home { opacity: 0; }

.chat-mock.is-playing .chat-mock__stage.is-active { display: flex; animation: chat-stage-in 0.3s ease-out both; }

/* 一覧（履歴）へ戻るときはディゾルブで溶かす */
.chat-mock.is-playing .chat-mock__stage.is-leaving {
  display: flex;
  pointer-events: none;
  animation: chat-stage-out 0.9s ease-in-out both;
}

@keyframes chat-stage-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes chat-stage-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Phase 1 / 4: RPG風オーバーレイ */
.chat-mock__stage--rpg { justify-content: flex-end; align-items: center; }

.chat-mock__pono {
  width: 62%;
  max-width: 175px;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 6px 10px rgba(74, 74, 74, 0.16));
  animation: chat-pono-sway 2.2s ease-in-out infinite alternate;
}

@keyframes chat-pono-sway {
  from { transform: translateX(-3px) rotate(-1.4deg); }
  to   { transform: translateX(3px) rotate(1.4deg); }
}

.rpg-box {
  width: 100%;
  background: var(--c-surface);
  border: 2px solid var(--c-primary);
  border-radius: 16px;
  padding: 0.625rem;
  /* Q と A で高さが変わると PONO の位置が動くため固定する
     （アプリの RpgTextBox も固定高＋ページ送り） */
  height: 15rem;
  display: flex;
  flex-direction: column;
}

.rpg-box__speaker {
  display: block;
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 0.25rem;
}

.rpg-box__text { flex: 1 1 auto; overflow: hidden; color: var(--c-text); }

/* 枠に収まらない返答は hero-chat.js が末尾まで送る（送り量と所要時間は JS 側で指定）。 */
.rpg-box__scroll {
  display: block;
  transition-property: transform;
  transition-timing-function: ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .rpg-box__scroll { transition: none; }
}

.rpg-box__btn {
  display: block;
  width: max-content;
  margin: 0.5rem 0 0 auto;
  background: var(--c-primary);
  color: var(--c-text-on-primary);
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.25rem 0.875rem;
}

/* Phase 2: 入力カード */
.chat-mock__stage--input { justify-content: center; }

.input-card {
  background: var(--c-surface);
  border-radius: 16px;
  padding: 0.75rem;
  box-shadow: var(--shadow-hover);
}

.input-card__head { display: flex; align-items: center; gap: 0.375rem; margin-bottom: 0.625rem; }
.input-card__icon { width: 24px; height: 24px; object-fit: contain; }
.input-card__head b { display: block; font-size: 0.75rem; font-weight: 800; }
.input-card__head small { font-size: 0.5625rem; color: var(--c-text-secondary); }

.input-card__question { font-weight: 700; margin-bottom: 0.5rem; }

.input-card__field {
  height: 10rem;
  overflow: hidden;
  border: 1px solid var(--c-divider);
  border-radius: 12px;
  padding: 0.4375rem 0.5rem;
  color: var(--c-text);
}

.input-card__caret {
  display: inline-block;
  width: 1px;
  height: 0.75em;
  background: var(--c-primary);
  vertical-align: -1px;
  animation: chat-caret 1s step-end infinite;
}

@keyframes chat-caret {
  0%, 50%  { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.input-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.5625rem;
  color: var(--c-text-secondary);
  margin: 0.25rem 0 0.625rem;
}

.input-card__actions { display: flex; gap: 0.375rem; }

.input-card__btn {
  flex: 1;
  text-align: center;
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.3125rem 0;
  background: var(--c-primary);
  color: var(--c-text-on-primary);
}

.input-card__btn--ghost { background: transparent; color: var(--c-text-secondary); }

/* 動きを抑える設定では再生せず、最終状態（履歴）だけを見せる */
@media (prefers-reduced-motion: reduce) {
  .chat-mock.is-playing .chat-mock__stage.is-active { display: none; }
  .chat-mock__pono { animation: none; }
}

/* --- 記録：静止した会話ログ ---------------------------------- */
.log { padding: 4.5rem 0; }

/* ヒーローの会話モックと同じ見た目を、再生なしで置く */
.log-mock {
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.log-mock .chat-mock__thread {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
}

/* --- セクション見出し ---------------------------------------- */
.section-heading {
  text-align: center;
  margin-bottom: 3.25rem;
}

.section-heading__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-heading__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.section-heading__sub {
  font-size: 0.9375rem;
  color: var(--c-text-secondary);
  margin-top: 0.875rem;
  line-height: 1.9;
}

/* --- 2. フロー（実アプリ画面の流れ） ------------------------- */
.flow {
  padding: 5rem 0;
  background: var(--c-surface);
}

/* やることが2つのときは中央寄せで大きく見せる */
.flow__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.flow__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.flow-step { text-align: center; }

.flow-step__phone {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.flow-step__phone .phone { max-width: 210px; }

.flow-step__num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--c-primary);
  background: var(--c-primary-light);
  border-radius: 9999px;
  padding: 0.2rem 0.875rem;
  margin-bottom: 0.75rem;
}

.flow-step__title {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.flow-step__desc {
  font-size: 0.9375rem;
  color: var(--c-text-secondary);
  line-height: 1.8;
  max-width: 22em;
  margin: 0 auto;
}

/* --- 3. 課題共感 -------------------------------------------- */
/* ヒーローは背景を敷かず body の装飾（bg-blobs / bg-dots）を透かすため、
   境目は上端のヘアラインと淡いプライマリのフェードで示す。 */
.pain {
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(255, 127, 127, 0.07) 0%, var(--c-bg) 45%);
  border-top: 1px solid var(--c-divider);
}

.pain__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.pain-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem;
  border-radius: 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-divider);
  box-shadow: var(--shadow-soft);
}

.pain-card__icon { font-size: 1.75rem; line-height: 1; flex-shrink: 0; }

.pain-card__text {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.7;
}

/* --- 4/5. 解決・フォーム分析（2カラム） ---------------------- */
.solution { padding: 5rem 0; background: var(--c-surface); }
.form-analysis { padding: 5rem 0; background: var(--c-bg); }

.solution__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* グリッド子要素が min-content(SVG幅)で列を押し広げるのを防ぐ */
.solution__text,
.solution__visual { min-width: 0; }

.solution__title {
  font-size: clamp(1.5rem, 3.4vw, 2.125rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin: 0.75rem 0 1rem;
}

.solution__desc {
  font-size: 1rem;
  color: var(--c-text-secondary);
  line-height: 1.95;
  margin-bottom: 1.25rem;
}

.solution__desc strong { color: var(--c-text); font-weight: 700; }

.solution__points { display: flex; flex-direction: column; gap: 0.625rem; }

.solution__points li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.6;
}

/* チェックは SVG を円の中央に置く（座標の微調整で合わせると文字サイズ変更でずれるため）。
   data URI 内では CSS 変数を使えないため stroke は --c-primary と同じ値をベタ書きしている。 */
.solution__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--c-primary);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.8 6.3 4.9 8.4 9.2 4' fill='none' stroke='%23FF7F7F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 0.75rem 0.75rem no-repeat,
    var(--c-primary-light);
}

/* インサイトカード（傾向マップ / フォーム解析の器） */
.insight-card {
  background: var(--c-surface);
  border: 1px solid var(--c-divider);
  border-radius: 16px;
  padding: 1.375rem;
  box-shadow: var(--shadow-hover);
}

.insight-card__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-text-secondary);
  margin-bottom: 0.5rem;
}

.tendency-map svg { width: 100%; height: auto; display: block; }

.tendency-map__caption {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-text);
}

/* フォーム分析はスマホモック（実スクショ差し込み枠）を中央配置 */
.solution__visual--phone {
  display: flex;
  justify-content: center;
}

/* --- 6. 想い ------------------------------------------------ */
.mission { padding: 5rem 0; background: var(--c-surface); }

.mission__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.mission__pono { width: 96px; margin: 0 auto 1.25rem; }

.mission__title {
  font-size: clamp(1.5rem, 3.4vw, 2.125rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.4;
  margin: 0.5rem 0 1.25rem;
}

.mission__text {
  font-size: 1rem;
  color: var(--c-text-secondary);
  line-height: 2.05;
}

/* --- 7. 信頼材料 -------------------------------------------- */
.trust { padding: 5rem 0; background: var(--c-bg); }

.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.trust-card {
  padding: 1.875rem 1.75rem;
  border-radius: 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-divider);
  box-shadow: var(--shadow-soft);
}

.trust-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--c-success);
  background: var(--c-success-light);
  border-radius: 9999px;
  padding: 0.25rem 0.8125rem;
  margin-bottom: 1rem;
}

.trust-card__title {
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.trust-card__desc {
  font-size: 0.9375rem;
  color: var(--c-text-secondary);
  line-height: 1.85;
}

/* --- 7-2. 社会的証明（実績数値・利用者の声・デモ動画） ------
   素材が揃うまで HTML 側の hidden で非表示。hidden を外すだけで成立する前提で組む。 */
.trust-proof { margin-top: 3rem; }

.trust-proof > *:not([hidden]) + *:not([hidden]) { margin-top: 3rem; }

.trust-proof__title {
  font-size: 1.125rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
}

.trust-proof__note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--c-text-tertiary);
  text-align: center;
}

.trust-voices__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.voice-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  border-radius: 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-divider);
  box-shadow: var(--shadow-soft);
}

.voice-card__quote {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--c-text);
  line-height: 1.85;
}

.voice-card__author {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--c-divider);
}

.voice-card__name { font-size: 0.875rem; font-weight: 700; }

.voice-card__meta { font-size: 0.8125rem; color: var(--c-text-tertiary); }

.trust-demo__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  background: var(--c-primary-light);
  border: 1px solid var(--c-divider);
}

.trust-demo__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-demo__placeholder {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-text-secondary);
}

/* --- 8. プランセクション ------------------------------------ */
.plans { padding: 5rem 0; background: var(--c-surface); }

.plans__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  /* カード上にはみ出す PONO のぶん、見出しとの間隔を空ける */
  margin-top: 6rem;
}

.plan-card {
  background: var(--c-surface);
  border: 2px solid var(--c-divider);
  border-radius: 16px;
  padding: 2rem 1.875rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.plan-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.plan-card--popular {
  border-color: var(--c-primary);
  box-shadow: 0 4px 24px rgba(255, 127, 127, 0.18);
}

.plan-card--pro {
  border-color: var(--c-success);
  box-shadow: 0 4px 24px rgba(126, 206, 194, 0.18);
}

/* プランごとに PONO の姿が変わる（無料はノーマル、有料は帽子つき） */
.plan-card__pono {
  position: absolute;
  /* 画像側で足元を揃えてあるので、下端基準で少しだけカードに重ねる */
  bottom: calc(100% - 46px);
  right: 12px;
  width: 90px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(74, 74, 74, 0.14));
}

.plan-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: var(--c-text-on-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.3rem 1.125rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.plan-card__badge--pro { background: var(--c-success); }

.plan-card__tier {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-secondary);
  margin-bottom: 0.25rem;
}

.plan-card--popular .plan-card__tier { color: var(--c-primary); }
.plan-card--pro .plan-card__tier { color: var(--c-success); }

.plan-card__name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.plan-card__price {
  margin: 1.125rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.plan-card__price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-card__price-unit { font-size: 0.875rem; color: var(--c-text-secondary); }

/* 毎月の上限チップ */
.plan-card__quota {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-top: 0.25rem;
}

.plan-quota {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  padding: 0.75rem 0.5rem;
  border-radius: 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-divider);
  text-align: center;
}

.plan-quota__value {
  font-size: 1.0625rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

.plan-quota__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-text-secondary);
}

.plan-quota--muted { opacity: 0.6; }
.plan-quota--accent { background: var(--c-primary-light); border-color: transparent; }
.plan-quota--accent .plan-quota__value { color: var(--c-primary); }
.plan-quota--pro { background: var(--c-success-light); border-color: transparent; }
.plan-quota--pro .plan-quota__value { color: var(--c-success); }

.plan-card__divider { height: 1px; background: var(--c-divider); margin: 1.25rem 0; }

.plan-card__features { display: flex; flex-direction: column; gap: 0.75rem; }

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.plan-feature__icon {
  flex-shrink: 0;
  width: 1.25rem;
  text-align: center;
  font-size: 0.9375rem;
  margin-top: 0.05em;
}

.plan-feature--included .plan-feature__icon { color: var(--c-success); }
.plan-feature--limited .plan-feature__icon  { color: var(--c-warning); }
.plan-feature--excluded .plan-feature__icon { color: var(--c-divider); }
.plan-feature--excluded .plan-feature__text { color: var(--c-text-secondary); }

/* --- プランによる返答の違い ---------------------------------- */
.compare { padding: 4.5rem 0; }

.compare__source {
  max-width: 640px;
  margin: 2.5rem auto 2rem;
  background: var(--c-surface);
  border: 1.5px solid var(--c-divider);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}

.compare__question {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 0.375rem;
}

.compare__answer { font-size: 1rem; font-weight: 700; color: var(--c-text); }

.compare__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.compare__card {
  background: var(--c-surface);
  border: 2px solid var(--c-divider);
  border-radius: 16px;
  padding: 1.375rem 1.25rem;
}

.compare__card--basic { border-color: var(--c-primary); }
.compare__card--pro { border-color: var(--c-success); }

.compare__plan {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--c-text-secondary);
  margin-bottom: 0.75rem;
}

.compare__card--basic .compare__plan { color: var(--c-primary); }
.compare__card--pro .compare__plan { color: var(--c-success); }

.compare__reply { font-size: 0.9375rem; line-height: 1.9; color: var(--c-text); }

.compare__note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--c-text-tertiary);
}

/* --- プラン比較表 --------------------------------------------
   狭い画面では表だけを横スクロールさせ、ページ自体は横に流れないようにする。 */
.plan-table__wrap {
  margin-top: 2.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.plan-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: var(--c-surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.plan-table th,
.plan-table td {
  padding: 0.875rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--c-divider);
}

.plan-table thead th {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--c-text);
  background: var(--c-bg);
  white-space: nowrap;
}

.plan-table thead th span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-text-secondary);
  margin-top: 0.125rem;
}

.plan-table tbody th {
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
  /* 横スクロールしても項目名は残す */
  position: sticky;
  left: 0;
  background: var(--c-surface);
}

.plan-table tbody tr:last-child th,
.plan-table tbody tr:last-child td { border-bottom: none; }

.plan-table td { color: var(--c-text-secondary); }
.plan-table td strong { color: var(--c-text); font-weight: 800; }

.plan-table__yes { color: var(--c-success); font-weight: 800; }
.plan-table__partial { color: var(--c-warning); font-weight: 800; }
.plan-table__no { color: var(--c-text-tertiary); }

.plans__note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--c-text-secondary);
  margin-top: 2rem;
}

/* --- 8.5. 事前登録キャンペーン ------------------------------- */
.preregister { padding: 5rem 0; background: var(--c-surface); }

.preregister__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  /* グラデーション枠: padding-box にカード背景、border-box に枠色を重ねる */
  border: 2px solid transparent;
  background:
    linear-gradient(165deg, var(--c-bg) 55%, var(--c-primary-light) 170%) padding-box,
    linear-gradient(135deg, var(--c-primary) 0%, var(--c-warning) 100%) border-box;
  border-radius: 20px;
  padding: 3rem 2.5rem 3.25rem;
  box-shadow: 0 10px 40px rgba(242, 96, 96, 0.18);
}

.preregister__badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-text-on-primary);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  border-radius: 9999px;
  padding: 0.4375rem 1.125rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(242, 96, 96, 0.35);
}

.preregister__title {
  font-size: clamp(1.375rem, 3.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.preregister__title em { font-style: normal; color: var(--c-primary); }

.preregister__desc {
  font-size: 0.9375rem;
  color: var(--c-text-secondary);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.preregister__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.125rem;
}

.preregister__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--c-text-secondary);
  text-align: left;
  max-width: 26em;
}

.preregister__consent-input {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.1rem;
  accent-color: var(--c-primary);
}

.preregister__link { color: var(--c-primary); text-decoration: underline; }

/* GIS の描画ボタンはラッパー基準で中央寄せ。同意前は disabled のプレースホルダを表示し、
   GIS ボタン本体は同意後まで描画領域を隠す（キーボード操作でも同意なしに到達できないようにする） */
.preregister__signin-wrap { position: relative; display: inline-block; }
.preregister__signin { min-width: 220px; min-height: 40px; }

.preregister__signin-placeholder {
  min-width: 220px;
  min-height: 40px;
  border: 1px solid var(--c-divider);
  border-radius: 4px;
  background: var(--c-surface);
  color: var(--c-text-secondary);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: not-allowed;
  padding: 0 1rem;
}

/* アプリ内ブラウザ検知時の外部ブラウザ誘導（preregister.js が表示を制御） */
.preregister__inapp {
  max-width: 420px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border: 1px solid var(--c-divider);
  border-radius: 12px;
  background: var(--c-surface);
}

.preregister__inapp-text {
  font-size: 0.8125rem;
  color: var(--c-text-secondary);
  line-height: 1.8;
  margin-bottom: 0.75rem;
  text-align: left;
}

.preregister__inapp-copy {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-primary);
  background: none;
  border: 1px solid var(--c-primary);
  border-radius: 9999px;
  padding: 0.375rem 1.25rem;
  cursor: pointer;
}

.preregister__message {
  min-height: 1.25em;
  font-size: 0.8125rem;
  font-weight: 700;
}

.preregister__message--pending { color: var(--c-text-secondary); }
.preregister__message--success { color: var(--c-success); }
.preregister__message--error   { color: var(--c-error); }

.preregister__closed-text {
  font-size: 0.9375rem;
  color: var(--c-text-secondary);
  line-height: 1.9;
}

.preregister__note {
  font-size: 0.75rem;
  color: var(--c-text-tertiary);
  margin-top: 1.5rem;
  line-height: 1.8;
}

/* --- 9. 最終CTA -------------------------------------------- */
.final-cta { padding: 5rem 0 6rem; background: var(--c-bg); }

.final-cta__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(165deg, var(--c-surface) 55%, var(--c-primary-light) 170%);
  border: 1px solid var(--c-divider);
  border-radius: 20px;
  padding: 3rem 2.5rem 3.25rem;
  box-shadow: var(--shadow-soft);
}

.final-cta__pono { width: 120px; margin: 0 auto 1.25rem; }

.final-cta__title {
  font-size: clamp(1.375rem, 3.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.final-cta__desc {
  font-size: 1rem;
  color: var(--c-text-secondary);
  line-height: 1.95;
  margin-bottom: 1.75rem;
}

.final-cta .hero__cta { justify-content: center; }
.final-cta .hero__reassure { justify-content: center; margin-top: 0.5rem; }

/* --- フッター ------------------------------------------------ */
.footer {
  background: var(--c-text);
  color: rgba(255, 255, 255, 0.6);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__logo {
  color: #fff;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.footer__links { display: flex; gap: 1.75rem; }
.footer__link { font-size: 0.875rem; transition: color 0.15s; }
.footer__link:hover { color: #fff; }

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  transition: color 0.15s;
}
.footer__social svg { flex: none; }
.footer__social:hover { color: #fff; }

.footer__copy {
  width: 100%;
  font-size: 0.8125rem;
  margin-top: 0.5rem;
}

/* --- レスポンシブ --------------------------------------------- */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .solution__inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .solution__inner--reverse .solution__visual { order: -1; }
}

@media (max-width: 768px) {
  .flow__grid,
  .pain__grid,
  .plans__grid,
  .trust__grid { grid-template-columns: 1fr; }
  /* 1カラムでは PONO が上のカードに重なるので、その高さぶん行間を空ける */
  .plans__grid { row-gap: 6rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .header__cta { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 3.25rem 0 4rem; }
  .hero__cta { gap: 0.625rem; }
  .btn-store { padding: 0.5rem 1rem; }
  .final-cta__inner { padding: 2.5rem 1.5rem; }
  .preregister__inner { padding: 2.5rem 1.5rem; }
}
/* ============================================================
   コーチ募集（LP セクション）
   ============================================================ */
.coach-recruit {
  padding: 5rem 0;
  background: var(--c-surface);
}

.coach-recruit__cta {
  text-align: center;
  margin-top: 2rem;
}

.coach-recruit__link {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  border-radius: 999px;
  background: var(--c-primary);
  color: var(--c-text-on-primary);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.coach-recruit__link:hover {
  opacity: 0.85;
}

/* ============================================================
   第一期コーチ
   ============================================================ */
.first-coaches {
  padding: 5rem 0;
  background: var(--c-bg);
}

/* カードで囲わず、アイコンの下に名前を置いた人物を横に並べる。
   コーチが増えたら折り返して段が増える。 */
.first-coaches__grid {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.25rem 2rem;
}

.first-coaches__member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  /* 名前の折り返し位置を揃え、人数が変わっても並びが乱れないようにする */
  width: 8.25rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.first-coaches__member:hover { transform: translateY(-3px); }

.first-coaches__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(74, 74, 74, 0.10);
  transition: box-shadow 0.2s ease;
}

.first-coaches__member:hover .first-coaches__avatar {
  box-shadow: 0 8px 20px rgba(74, 74, 74, 0.16);
}

/* 長い表示名・ハンドルが枠からはみ出さないよう折り返す */
.first-coaches__name,
.first-coaches__handle {
  overflow-wrap: anywhere;
}

.first-coaches__name {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
}

.first-coaches__handle {
  margin-top: 0.125rem;
  font-size: 0.8125rem;
  color: var(--c-text-secondary);
}

/* ============================================================
   応援パートナー
   ============================================================ */
/* 直前の first-coaches が --c-bg のため、交互配色に戻して境目を出す。 */
.supporters {
  padding: 5rem 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-divider);
}

.supporters__card {
  max-width: 640px;
  margin: 2rem auto 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: var(--c-surface);
  border: 1px solid var(--c-divider);
  border-radius: 16px;
  padding: 1.5rem;
}

.supporters__photo-link {
  flex-shrink: 0;
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
}

.supporters__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.supporters__name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.supporters__text {
  color: var(--c-text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.supporters__site-link {
  color: var(--c-primary);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
}

.supporters__site-link:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .supporters__card {
    flex-direction: column;
    text-align: center;
  }
}
