/* ============================================================
   ツアーノート ピックルボール版 LP — v2 追加スタイル
   アプリ実画面レプリカ / ストーリーセクション / アニメーション
   （style.css の後に読み込むこと）
   ============================================================ */

/* ---- アプリ画面レプリカ（実アプリのライトテーマを再現） ---- */
.app-shot {
  --app-primary: #1b4d3e;
  --app-primary-light: #2c6e58;
  --app-primary-soft: #edf4f1;
  --app-accent: #d4af37;
  --app-accent-soft: #faf4e0;
  --app-bg: #f5f7f6;
  --app-surface: #ffffff;
  --app-border: #e5eae8;
  --app-text: #16211c;
  --app-muted: #647069;
  background: var(--app-bg);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.6);
  font-size: 13px;
  line-height: 1.6;
  color: var(--app-text);
  text-align: left;
}

.app-shot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--app-border);
}

.app-shot-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 0.95em;
  color: var(--app-primary);
  letter-spacing: 0.02em;
}

.app-shot-logo i {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--app-primary) 0%, var(--app-primary-light) 100%);
  display: inline-block;
  flex-shrink: 0;
}

.app-shot-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78em;
  color: var(--app-muted);
}

.app-chip-member {
  background: var(--app-primary-soft);
  color: var(--app-primary);
  border: 1px solid rgba(59, 122, 87, 0.25);
  border-radius: 99px;
  padding: 2px 8px;
  font-weight: 700;
  font-size: 0.92em;
  white-space: nowrap;
}

.app-shot-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-quicknav { display: flex; gap: 6px; }

.app-quicknav span {
  flex: 1;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 10px;
  padding: 7px 4px;
  text-align: center;
  font-size: 0.72em;
  font-weight: 700;
  color: var(--app-text);
  white-space: nowrap;
}

.app-tagrow { display: flex; gap: 5px; overflow: hidden; }

.app-tagrow span {
  border: 1px solid var(--app-border);
  background: var(--app-surface);
  color: var(--app-muted);
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 0.72em;
  font-weight: 600;
  white-space: nowrap;
}

.app-tagrow span.on {
  background: var(--app-primary);
  border-color: var(--app-primary);
  color: #fff;
}

.app-post {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(22, 33, 28, 0.04), 0 4px 12px -2px rgba(22, 33, 28, 0.06);
}

.app-post-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.app-post-inner { padding: 11px 13px 12px; }

.app-post-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78em;
  color: var(--app-muted);
  margin-bottom: 6px;
}

.app-post-author {
  font-weight: 800;
  color: var(--app-text);
  font-size: 1.08em;
}

.app-post-author em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.82em;
  color: var(--app-muted);
  margin-left: 5px;
}

.app-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.app-post-tags b {
  background: var(--app-primary-soft);
  color: var(--app-primary);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.72em;
  font-weight: 700;
}

.app-post-tags b.menu {
  background: var(--app-accent-soft);
  color: #8a6d14;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.app-post-text {
  font-size: 0.86em;
  color: #2c3a33;
  margin-bottom: 10px;
  white-space: pre-line;
}

.app-post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--app-border);
  padding-top: 9px;
  font-size: 0.8em;
  color: var(--app-muted);
}

.app-post-acts {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
}

.app-badge-video {
  background: var(--app-accent-soft);
  color: #8a6d14;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.9em;
}

.app-more {
  color: var(--app-primary);
  font-weight: 800;
  white-space: nowrap;
}

/* コメント */
.app-comment {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.84em;
}

.app-comment-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.86em;
  color: var(--app-muted);
  margin-bottom: 4px;
}

.app-comment-head b { color: var(--app-text); }

/* プロからの「ありがとう」スタンプ（実アプリの表示を再現） */
.app-thanks-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 8px;
}

.app-thanks {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(255, 107, 107, 0.1);
  color: #dc2626;
  border-radius: 12px;
  font-size: 0.86em;
  font-weight: 700;
  white-space: nowrap;
}

/* ---- ストーリーセクション ---- */
.story-track {
  position: relative;
  max-width: 940px;
  margin: 3.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.story-track::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
  opacity: 0.25;
  border-radius: 2px;
}

.story-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.4rem;
  align-items: start;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-step.in { opacity: 1; transform: translateY(0); }

.story-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-dark);
  background: linear-gradient(135deg, var(--color-primary) 0%, #9ae600 100%);
  box-shadow: 0 0 0 6px rgba(198, 255, 61, 0.08), var(--shadow-neon-cyan);
  position: relative;
  z-index: 1;
  transform: scale(0.6);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s;
}

.story-step.in .story-num { transform: scale(1); }

.story-step.is-final .story-num {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #ffb020 100%);
  box-shadow: 0 0 0 6px rgba(255, 122, 69, 0.1), var(--shadow-neon-volt);
}

.story-body {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 1.5rem 1.6rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  min-width: 0;
}

.story-body:hover {
  border-color: var(--border-glass-glow);
  transform: translateY(-3px);
}

.story-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.4rem;
}

.story-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  line-height: 1.45;
}

.story-text {
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

.story-visual {
  margin-top: 1.2rem;
  border-radius: 14px;
  overflow: hidden;
}

@media (max-width: 640px) {
  .story-track::before { left: 23px; }
  .story-step { grid-template-columns: 48px 1fr; gap: 1rem; }
  .story-num { width: 48px; height: 48px; font-size: 1.15rem; }
  .story-body { padding: 1.2rem 1.1rem; border-radius: 16px; }
  .story-title { font-size: 1.08rem; }
  .story-text { font-size: 0.88rem; }
}

/* ---- ヒーローの自動再生シーケンス ---- */
.hero-seq { position: relative; }

.hero-seq .seq-el { opacity: 0; }

@keyframes seqIn {
  0%, 100% { opacity: 0; transform: translateY(10px) scale(0.98); }
  8%, 90%  { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heartPop {
  0%, 10%, 100% { transform: scale(1); }
  4% { transform: scale(1.5); }
}

.hero-seq.play .seq-comment { animation: seqIn 13s ease-in-out 3.4s infinite; }
.hero-seq.play .seq-thanks  { animation: seqIn 13s ease-in-out 6.8s infinite; }
.hero-seq.play .seq-heart   { animation: heartPop 13s ease-in-out 1.6s infinite; display: inline-block; }

/* ---- 汎用アニメーション ---- */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-slow { animation: floatY 6s ease-in-out infinite; }

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.text-shimmer {
  background: linear-gradient(100deg, var(--color-primary) 0%, #ffffff 30%, var(--color-secondary) 60%, var(--color-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}

/* スクロールリビールの段階表示 */
.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.active > * { opacity: 1; transform: translateY(0); }
.stagger.active > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.active > *:nth-child(2) { transition-delay: 0.16s; }
.stagger.active > *:nth-child(3) { transition-delay: 0.27s; }
.stagger.active > *:nth-child(4) { transition-delay: 0.38s; }

/* 機能グリッド（小） */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.mini-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.3rem;
  transition: var(--transition-smooth);
}

.mini-card:hover {
  border-color: var(--border-glass-glow);
  transform: translateY(-4px);
}

.mini-card .emoji {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.mini-card h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.mini-card p { font-size: 0.84rem; color: var(--color-text-muted); }

/* CTA帯 */
.cta-band {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, rgba(198, 255, 61, 0.08) 0%, rgba(255, 122, 69, 0.06) 100%);
  border: 1px solid var(--border-glass-glow);
  border-radius: 26px;
  padding: 3rem 1.5rem;
}

.cta-band h2 { font-size: 1.9rem; margin-bottom: 0.8rem; line-height: 1.4; }
.cta-band p { color: var(--color-text-muted); margin-bottom: 1.8rem; }

@media (max-width: 640px) {
  .cta-band { padding: 2.2rem 1.2rem; border-radius: 20px; }
  .cta-band h2 { font-size: 1.35rem; }
}

/* モーション低減の尊重 */
@media (prefers-reduced-motion: reduce) {
  .float-slow,
  .text-shimmer,
  .hero-seq.play .seq-comment,
  .hero-seq.play .seq-thanks,
  .hero-seq.play .seq-heart {
    animation: none !important;
  }
  .hero-seq .seq-el { opacity: 1 !important; }
  .story-step,
  .story-num,
  .stagger > * {
    transition: none !important;
  }
}

/* 見出しのモバイル改行 */
.sp-br { display: none; }
@media (max-width: 640px) { .sp-br { display: inline; } }

/* 狭い幅でのアプリ画面レプリカの調整 */
.app-shot-logo {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ヘッダー右側は幅が足りないときに省略する（ロゴを折り返させない） */
.app-shot-user {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .app-shot { font-size: 12px; border-radius: 14px; }
  .app-shot-bar { padding: 8px 10px; }
  .app-shot-body { padding: 9px; gap: 8px; }
  .app-quicknav span { padding: 6px 2px; font-size: 0.66em; }
}


/* ===== 言語切替（ヘッダー） =====
   日本語 / English / 简体中文 の3ページを行き来する。
   ページの実体は "/"、"/en/"、"/zh/" に分かれていて、
   現在表示中の言語には .is-current を付ける（HTML側で指定）。 */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
}

.lang-switch a {
  display: block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.lang-switch a:hover {
  color: var(--color-text-main);
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch a.is-current {
  color: var(--color-text-dark);
  background: var(--color-primary);
  cursor: default;
}

@media (max-width: 768px) {
  .lang-switch {
    padding: 2px;
    gap: 1px;
  }
  .lang-switch a {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 380px) {
  .lang-switch a {
    padding: 0.22rem 0.4rem;
    font-size: 0.64rem;
  }
}


/* ===== LP v2: 藤原里華プロを最初の画面で見せる・説明を圧縮 =====
   ヒーローは写真（主役）＋既存のオファー文言。スマホでは写真 → オファー → CTA の順に、
   375×812 でも CTA と無料体験の条件がスクロールせずに見える高さに収める。 */
.hero.hero-v2 { min-height: 0; padding-top: 7.5rem; padding-bottom: 4rem; }
.hero-v2 .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; }
.hero-v2 .hero-content { order: 1; gap: 1rem; }
.hero-v2 .hero-person { order: 2; }

.hero-person {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 440px;
  justify-self: end;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-glass-glow);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), var(--shadow-neon-cyan);
  background: var(--bg-dark-gray);
}
.hero-person img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
}
.hero-person figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 3.5rem 1.25rem 1.1rem;
  text-align: left;
  background: linear-gradient(to top, rgba(7, 9, 19, 0.95) 0%, rgba(7, 9, 19, 0.75) 55%, transparent 100%);
}
.hero-person-role { color: var(--color-primary); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; }
.hero-person-name { color: #fff; font-size: 1.9rem; font-weight: 800; line-height: 1.2; }
.hero-person-proof { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.hero-person-proof li {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  font-size: 0.74rem;
  line-height: 1.35;
}

/* 日誌サンプル：ヒーロー直後の独立セクション */
.demo-v2 { padding: 4rem 1rem 5rem; }
.demo-v2 .interactive-mockup-column { max-width: 560px; margin: 0 auto; }

/* プロフィール：写真はヒーローへ移したので、実績と経歴の1カラム */
.player-profile-card.profile-v2 { max-width: 760px; margin: 0 auto; gap: 1.25rem; }

/* 上達の流れ：4ステップの見出しと機能を1画面に */
.steps-v2 { padding: 5rem 1rem; background: rgba(15, 18, 37, 0.55); border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass); }
.steps-v2 .section-header { margin-bottom: 2.5rem; }
.steps-compact { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 0.85rem; }
.steps-compact li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
}
.steps-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-text-dark);
  font-size: 0.95rem;
  font-weight: 800;
}
.steps-compact small { display: block; color: var(--color-primary); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; }
.steps-compact h3 { margin: 0.15rem 0 0; font-size: 1rem; line-height: 1.5; }
.feature-chips { list-style: none; margin: 1.75rem auto 0; padding: 0; max-width: 760px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.feature-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

@media (max-width: 968px) {
  /* 上の2列指定（クラス2つ分の詳細度）が style.css の1列指定に勝つので、ここで明示的に1列へ戻す */
  .hero-v2 .hero-grid { grid-template-columns: 1fr; }
  .hero-v2 .hero-person { order: 0; justify-self: center; max-width: 520px; }
  .hero-v2 .hero-content { order: 1; }
}

@media (max-width: 768px) {
  .hero.hero-v2 { padding-top: 4.25rem; padding-bottom: 2.5rem; }
  .hero-v2 .hero-grid { gap: 1.25rem; }
  .hero-v2 .hero-content { gap: 0.6rem; }
  .hero-person { border-radius: 20px; }
  .hero-person img { aspect-ratio: 5 / 4; object-position: center 18%; }
  .hero-person figcaption { padding: 2.5rem 1rem 0.85rem; }
  .hero-person-name { font-size: 1.5rem; }
  .hero-v2 .trial-headline { font-size: 3rem; }
  .hero-v2 .trial-hero .hero-title { font-size: 1.35rem; margin: 0.5rem 0 0.25rem; }
  /* 写真と名前で「誰の日誌か」が伝わるので、スマホでは補足文を省いてCTAを画面内に入れる */
  .hero-v2 .trial-hero .hero-subtitle { display: none; }
  /* 無料体験の条件（打消し表示）は文字サイズ・行間を既存のまま。詰めるのは余白だけにする */
  .hero-v2 .trial-hero .trial-terms { margin: 0.25rem auto 0; }
  .demo-v2 { padding: 3rem 1rem 3.5rem; }
  .steps-v2 { padding: 3.5rem 1rem; }
  .steps-compact li { padding: 0.85rem 1rem; gap: 0.8rem; }
  .steps-compact h3 { font-size: 0.92rem; }
}

/* 申込欄のプロ選択：顔写真つき。プロが増えたら、このカードが人数分並ぶ。
   画像はヒーローと同じ写真から顔だけを正方形に切り出したもの（rika_avatar.jpg） */
.pro-option-avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

/* プロフィール：コートでの写真＋名前・経歴。ヒーロー（選手の顔）とは別の、指導の現場の表情を見せる */
#player .section-header { margin-bottom: 2rem; }
.profile-head { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: center; }
.profile-photo {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: var(--bg-dark-gray);
}
.profile-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 768px) {
  .profile-head { grid-template-columns: 1fr; gap: 1.25rem; }
  .profile-photo { max-width: 340px; margin: 0 auto; border-radius: 20px; }
  .profile-photo img { aspect-ratio: 1 / 1; object-position: center 22%; }
}

/* 音声配信の紹介（日本語ページの日誌サンプル直下）。波形は装飾で、再生ボタンは置かない（実際の音声は無いため） */
.voice-callout {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  max-width: 760px;
  margin: 3rem auto 0;
  padding: 1.5rem 1.75rem;
  border-radius: 20px;
  border: 1px solid var(--border-glass-glow);
  background: linear-gradient(135deg, rgba(198, 255, 61, 0.07), rgba(15, 18, 37, 0.6));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.voice-callout-wave { flex: none; display: flex; align-items: center; gap: 4px; height: 64px; }
.voice-callout-wave span { display: block; width: 5px; border-radius: 3px; background: var(--color-primary); opacity: 0.85; }
.voice-callout-wave span:nth-child(7n+1) { height: 18px; }
.voice-callout-wave span:nth-child(7n+2) { height: 40px; }
.voice-callout-wave span:nth-child(7n+3) { height: 58px; }
.voice-callout-wave span:nth-child(7n+4) { height: 30px; }
.voice-callout-wave span:nth-child(7n+5) { height: 48px; }
.voice-callout-wave span:nth-child(7n+6) { height: 22px; }
.voice-callout-wave span:nth-child(7n) { height: 36px; }
.voice-callout-label { color: var(--color-primary); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; }
.voice-callout h3 { margin: 0.3rem 0 0.6rem; font-size: 1.35rem; line-height: 1.4; color: #fff; }
.voice-callout p { margin: 0 0 0.35rem; color: var(--color-text-muted); font-size: 0.92rem; line-height: 1.8; }
.voice-callout .voice-callout-note { margin-top: 0.5rem; font-size: 0.8rem; }
@media (max-width: 768px) {
  .voice-callout { flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 2rem; padding: 1.25rem; }
  .voice-callout-wave { height: 44px; }
  .voice-callout-wave span { width: 4px; transform: scaleY(0.75); transform-origin: center; }
  .voice-callout h3 { font-size: 1.15rem; }
}

/* 日誌サンプルは LP 用に作った例文。実際の投稿と誤解されないよう注記を添える */
.sample-note { margin: 0.35rem 0 0; color: var(--color-text-muted); font-size: 0.78rem; }

/* 上達のサイクル：各ステップに「なぜ上達につながるか」を一行添え、最後に循環を示す */
.steps-compact p { margin: 0.25rem 0 0; color: var(--color-text-muted); font-size: 0.85rem; line-height: 1.6; }
.steps-loop { max-width: 760px; margin: 0.9rem auto 0; text-align: center; color: var(--color-primary); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; }
@media (max-width: 768px) {
  .steps-compact p { font-size: 0.8rem; }
}

/* Real diary excerpts linked from the Instagram story campaign. */
.story-excerpts { padding: 48px 16px; }
.story-excerpts .container { max-width: 860px; }
.story-excerpts h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.story-excerpts-intro { color: #cbd5e1; margin: 16px 0 28px; }
.story-excerpt { scroll-margin-top: 120px; margin-bottom: 28px; padding: clamp(24px, 5vw, 40px); background: #0f1225; border: 1px solid #46592b; border-radius: 24px; }
.story-excerpt:target { border-color: #c6ff3d; box-shadow: 0 0 24px rgba(198,255,61,.12); }
.story-excerpt-label { color: #c6ff3d; font-size: .85rem; letter-spacing: .04em; margin-bottom: 12px; }
.story-excerpt h3 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.25; }
.story-excerpt-author { margin: 12px 0 24px; color: #cbd5e1; }
.story-excerpt blockquote { font-size: clamp(1.1rem, 2.5vw, 1.3rem); line-height: 1.8; }
.story-excerpt blockquote p + p { margin-top: 20px; }
.story-excerpt-note { margin: 24px 0; color: #bac4d3; font-size: .875rem; }
.story-excerpt .btn-primary { min-height: 48px; white-space: normal; text-align: center; }
@media (max-width: 600px) { .story-excerpt { scroll-margin-top: 80px; } .story-excerpt .btn-primary { width: 100%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
