/* ============================================================
   BGM House リブランディング・プレビュー専用CSS
   ?design=1  案1「Clear Signal」 先進SaaS × B2Cの親しみ(白×ブルーバイオレット)
   ?design=2  案2「Hybrid Wall」  案1の構造にジャケット壁FVを部分導入
   ?design=3  案3「Sound Wall」   ジャケット壁フルのダーク×シアンブルー
   共通思想: SaaSの先進性をベースに、お堅くなりすぎないB2Cの空気感を足す
   ============================================================ */

/* ---------- 共通トークン ---------- */
:root {
  --font-sans: 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-num: 'Inter', 'Noto Sans JP', sans-serif;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

/* ---------- 案1 Clear Signal / 案2 Hybrid Wall(共通トークン) ---------- */
:root,
html[data-design="1"],
html[data-design="2"] {
  --bg: #ffffff;
  --bg-alt: #f4f6fd;
  --surface: #ffffff;
  --surface-2: #f8faff;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.25);
  --text: #0f172a;
  --muted: #45526e;
  --subtle: #67718c;
  --accent: #3557e8;
  --accent-2: #8b5cf6;
  --accent-strong: #2543c4;
  --accent-soft: rgba(59, 92, 240, 0.07);
  --cta1: #3557e8;
  --cta2: #7c3aed;
  --cta-text: #ffffff;
  --cta-shadow: rgba(84, 68, 240, 0.28);
  --head-font: var(--font-sans);
  --head-weight: 900;
  --header-bg: rgba(255, 255, 255, 0.92);
  --dark-bg: #0b1225;
  --dark-surface: rgba(255, 255, 255, 0.05);
  --dark-border: rgba(255, 255, 255, 0.14);
  --final-bg: radial-gradient(900px 460px at 78% -20%, rgba(139, 92, 246, 0.35), transparent 60%), radial-gradient(700px 380px at 10% 110%, rgba(53, 87, 232, 0.32), transparent 60%), #0b1225;
  --footer-bg: #f7f8fc;
  --footer-text: #66718c;
  --shadow: 0 18px 44px rgba(23, 37, 84, 0.12);
  --shadow-soft: 0 10px 28px rgba(23, 37, 84, 0.08);
  --eq-color: linear-gradient(to top, rgba(53, 87, 232, 0.32), rgba(139, 92, 246, 0.04));
  --tag-color: #2543c4;
  --tag-bg: #eef2ff;
  --hero-bg: radial-gradient(900px 480px at 86% -6%, rgba(139, 92, 246, 0.12) 0%, transparent 60%), radial-gradient(760px 420px at 58% 34%, rgba(53, 87, 232, 0.07) 0%, transparent 55%), #ffffff;
}

/* ---------- 案3 Sound Wall ---------- */
html[data-design="3"] {
  --bg: #0c101d;
  --bg-alt: #101625;
  --surface: #161d31;
  --surface-2: #1c2540;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.26);
  --text: #f2f5fd;
  --muted: #b4bdd4;
  --subtle: #8590ab;
  --accent: #4cc3ff;
  --accent-2: #6d5cf6;
  --accent-strong: #7fd3ff;
  --accent-soft: rgba(76, 195, 255, 0.11);
  --cta1: #40b7ff;
  --cta2: #4f46e5;
  --cta-text: #ffffff;
  --cta-shadow: rgba(64, 140, 255, 0.35);
  --head-font: var(--font-sans);
  --head-weight: 900;
  --header-bg: rgba(9, 12, 22, 0.8);
  --dark-bg: #080b14;
  --dark-surface: rgba(255, 255, 255, 0.05);
  --dark-border: rgba(255, 255, 255, 0.14);
  --final-bg: radial-gradient(900px 460px at 80% -20%, rgba(76, 195, 255, 0.22), transparent 60%), radial-gradient(700px 400px at 8% 112%, rgba(109, 92, 246, 0.3), transparent 60%), #0a0e1a;
  --footer-bg: #090c16;
  --footer-text: #8f9ab5;
  --shadow: 0 22px 54px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.35);
  --eq-color: linear-gradient(to top, rgba(76, 195, 255, 0.4), rgba(109, 92, 246, 0.05));
  --tag-color: #4f46e5;
  --tag-bg: #eef0ff;
  --hero-bg: #0c101d;
}

/* ============================================================
   ベース
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

html, body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding-inline: clamp(12px, 3vw, 20px);
}

.section { padding: clamp(4.5rem, 9vw, 6.8rem) 0; }

.section h2 {
  text-align: center;
  font-family: var(--head-font);
  font-weight: var(--head-weight);
  font-size: clamp(1.9rem, 4.2vw, 2.65rem);
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin: 0 0 clamp(2.2rem, 5vw, 3.2rem);
}

.section-eyebrow {
  text-align: center;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin: 0 0 0.9rem;
}

html[data-design="3"] .section-eyebrow {
  background: linear-gradient(110deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lead {
  text-align: center;
  margin: calc(clamp(2.2rem, 5vw, 3.2rem) * -0.55) auto 2.6rem;
  max-width: 680px;
  color: var(--muted);
}

.sp-br { display: none; }

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  gap: 1.5rem;
}

.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 36px; width: auto; }

html[data-design="3"] .logo img { filter: brightness(0) invert(1); }

.nav { display: flex; align-items: center; gap: 1.25rem; position: relative; }

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  color: var(--text);
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
}

.nav-menu { display: flex; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }

.nav-menu a {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--muted);
  position: relative;
  transition: color 0.2s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-menu a:hover, .nav-menu a:focus { color: var(--text); }
.nav-menu a:hover::after, .nav-menu a:focus::after { transform: scaleX(1); }

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.98rem;
  line-height: 1.4;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cta1), var(--cta2));
  color: var(--cta-text);
  box-shadow: 0 14px 34px var(--cta-shadow);
}

.btn-primary:hover, .btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px var(--cta-shadow);
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover, .btn-ghost:focus {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-header { padding: 0.7rem 1.5rem; font-size: 0.88rem; }
.btn-lg { padding: 1.15rem 2.7rem; font-size: 1.08rem; }

.btn-play-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.btn-play-icon::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--bg);
  margin-left: 2px;
}

/* FVインライン試聴ボタン:再生中は一時停止アイコンに */
.hero-listen-btn.is-playing .btn-play-icon::before {
  width: 4px;
  height: 10px;
  border-style: solid;
  border-width: 0 3px;
  border-color: var(--bg);
  margin-left: 0;
}

.hero-listen-btn.is-playing {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  padding: clamp(3.8rem, 7vw, 6rem) 0 clamp(4.2rem, 8vw, 6.4rem);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

/* ジャケット壁(案2=ライトに部分導入 / 案3=ダークにフル) */
.hero-wall {
  position: absolute;
  inset: -14% -6%;
  display: none;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  transform: rotate(-7deg);
  align-content: center;
}

.hero-wall img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.85;
}

/* 案2:壁は右側(デバイス側)だけに寄せ、テキスト側は白のスクリムで視認性を確保 */
html[data-design="2"] .hero-wall {
  display: grid;
  opacity: 0.42;
  -webkit-mask-image: linear-gradient(82deg, transparent 50%, #000 78%);
  mask-image: linear-gradient(82deg, transparent 50%, #000 78%);
}

html[data-design="2"] .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* テキスト列を白く保つ横スクリム(右のデバイス側でフェード) */
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.94) 34%, rgba(255, 255, 255, 0.45) 52%, rgba(255, 255, 255, 0) 66%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 22%),
    linear-gradient(to top, #ffffff 2%, rgba(255, 255, 255, 0) 24%);
}

/* 案3:全面壁+ダークオーバーレイ */
html[data-design="3"] .hero-wall { display: grid; }

html[data-design="3"] .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(12, 16, 29, 0.97) 0%, rgba(12, 16, 29, 0.9) 34%, rgba(12, 16, 29, 0.6) 64%, rgba(12, 16, 29, 0.82) 100%),
    linear-gradient(to top, rgba(12, 16, 29, 0.95) 0%, rgba(12, 16, 29, 0.2) 34%),
    linear-gradient(to bottom, rgba(12, 16, 29, 0.9) 0%, rgba(12, 16, 29, 0) 26%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0;
}

html[data-design="1"] .hero-orb--1 {
  opacity: 0.55;
  width: 520px;
  height: 520px;
  right: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
}

html[data-design="1"] .hero-orb--2 {
  opacity: 0.5;
  width: 420px;
  height: 420px;
  left: -140px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(53, 87, 232, 0.26), transparent 70%);
}

html[data-design="3"] .hero-orb--1 {
  opacity: 0.5;
  width: 520px;
  height: 520px;
  left: -140px;
  top: -160px;
  background: radial-gradient(circle, rgba(76, 195, 255, 0.28), transparent 70%);
  z-index: 1;
}

/* イコライザー(音の視覚化) */
.hero-eq {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 92px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  padding: 0 4vw;
  opacity: 0.85;
  z-index: 1;
}

.hero-eq i {
  flex: 1;
  height: 100%;
  transform-origin: bottom;
  transform: scaleY(0.12);
  background: var(--eq-color);
  border-radius: 3px 3px 0 0;
  animation: eq-bounce 2.1s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.167s);
}

@keyframes eq-bounce {
  0%, 100% { transform: scaleY(0.1); }
  18% { transform: scaleY(0.52); }
  38% { transform: scaleY(0.22); }
  58% { transform: scaleY(0.82); }
  78% { transform: scaleY(0.3); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

/* 案3:壁がビジュアルなので1カラム構成 */
html[data-design="3"] .hero-inner { grid-template-columns: 1fr; }
html[data-design="3"] .hero-visual { display: none; }
html[data-design="3"] .hero-content { max-width: 640px; }
html[data-design="3"] .hero { padding: clamp(5rem, 9vw, 7.5rem) 0 clamp(5rem, 10vw, 8rem); }

.hero-content { display: grid; justify-items: start; gap: 1.3rem; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}

html[data-design="3"] .hero-eyebrow { color: var(--accent-strong); }

.hero-eyebrow-bar {
  display: inline-block;
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  margin: 0;
  font-family: var(--head-font);
  font-weight: var(--head-weight);
  font-size: clamp(2.3rem, 3.6vw, 3.3rem);
  line-height: 1.24;
  letter-spacing: 0.01em;
}

html[data-design="3"] .hero h1 { font-size: clamp(2.6rem, 4.4vw, 4rem); }

.hero-em {
  background: linear-gradient(110deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead { margin: 0; color: var(--muted); font-size: 1.05rem; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.hero-badges > div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--accent-soft);
  color: var(--text);
}

html[data-design="2"] .hero-badges > div { background: rgba(255, 255, 255, 0.72); }

.hero-badges > div::before {
  content: '✓';
  font-weight: 800;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-note { margin: -0.5rem 0 0; font-size: 0.8rem; color: var(--subtle); }

.hero-visual { display: flex; justify-content: center; position: relative; }

.hero-visual-frame { position: relative; }

.hero-visual img {
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 24px 54px rgba(23, 37, 84, 0.22));
}

/* ============================================================
   実績(権威ラベル+ロゴ)
   ============================================================ */
.proof { background: var(--bg-alt); }

.proof-inner { display: grid; gap: 2.6rem; }

.proof-head { display: grid; justify-items: center; gap: 0.9rem; }

.proof-head h2 { margin: 0.4rem 0 0; }

.medal { display: flex; align-items: center; justify-content: center; }

.laurel {
  width: 46px;
  height: 100px;
  margin: 0 -4px;
  --medal-metal: #94a3d8;
  --medal-metal-dark: #6a79b8;
}

.laurel-r { transform: scaleX(-1); }

.laurel-stem { stroke: var(--medal-metal-dark); stroke-width: 2.4; stroke-linecap: round; }
.laurel-leaves path { fill: var(--medal-metal); }

html[data-design="3"] .laurel { --medal-metal: #6f9fd8; --medal-metal-dark: #4cc3ff; }

/* SaaS権威ラベル(ピル型) */
.medal-core {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 1.05rem 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2f5ff, #f7f2ff);
  border: 1px solid rgba(53, 87, 232, 0.28);
  box-shadow: 0 12px 34px rgba(53, 87, 232, 0.14);
}

html[data-design="3"] .medal-core {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.medal-eyebrow {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.medal-num {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 2.7rem;
  line-height: 1;
  background: linear-gradient(110deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
}

.medal-num small { font-size: 1.15rem; font-weight: 700; }

.medal-sub {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.medal-note { margin: 0; text-align: center; font-size: 0.78rem; color: var(--subtle); }

/* ロゴ(グレースケール統一で見た目を揃えつつ、ロゴ自体は大きく見せる) */
.proof-logos {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.8vw, 2rem);
  /* カードをやめ、ビューポート幅いっぱいに(フルブリード) */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: clamp(24px, 4vw, 80px);
  box-sizing: border-box;
}

.proof-logos img {
  width: 100%;
  height: clamp(104px, 10vw, 156px);
  object-fit: contain;
  filter: grayscale(1) contrast(1.08);
  opacity: 0.95;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.proof-logos img:hover { filter: none; opacity: 1; }

/* デザイン3(ダーク)ではロゴが黒背景に沈むため、ロゴ帯だけ明るいパネルで受ける */
html[data-design="3"] .proof-logos {
  /* 親(.proof-inner)のコンテンツ幅に収めて左右対称に中央寄せ */
  width: auto;
  margin-left: 0;
  margin-right: 0;
  background: #f4f6fd;
  border-radius: 20px;
  padding: clamp(24px, 3vw, 44px);
}

.proof-caption { margin: 0 auto; max-width: 680px; text-align: center; color: var(--muted); }
.proof-note { margin: 0.5rem auto 0; max-width: 680px; text-align: center; font-size: 0.78rem; color: var(--subtle); }

/* ============================================================
   選ばれる理由
   ============================================================ */
.features { background: var(--bg); }

.feature-rows { display: grid; gap: clamp(4rem, 8vw, 6.5rem); }

.feature-row {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2.4rem, 6vw, 5rem);
  align-items: center;
}

.feature-row:nth-child(even) .feature-copy { order: 2; }
.feature-row:nth-child(even) .feature-visual { order: 1; }

.feature-copy { display: grid; gap: 0.9rem; max-width: 560px; }

.feature-num {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cta1), var(--cta2));
  box-shadow: 0 10px 24px var(--cta-shadow);
}

.feature-subheading {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
}

html[data-design="3"] .feature-subheading { color: var(--accent-strong); }

.feature-copy h3 {
  margin: 0;
  font-family: var(--head-font);
  font-weight: var(--head-weight);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.35;
}

.feature-text { margin: 0.2rem 0 0; color: var(--muted); font-size: 1.02rem; }

.feature-visual { position: relative; display: flex; justify-content: center; }

.feature-visual > img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

html[data-design="3"] .feature-visual > img {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

/* その2:料金比較グラフ(画像をやめてHTMLで描画) */
.price-graph {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem 2.2rem;
  display: grid;
  gap: 1.1rem;
}

.price-graph-title { margin: 0; font-weight: 800; font-size: 1.02rem; }

.price-bars { display: grid; gap: 0.85rem; }

.price-bar {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
}

.price-bar-label { color: var(--muted); font-weight: 700; }
.price-bar--own .price-bar-label { color: var(--accent); }

.price-bar-track {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.price-bar-track i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 999px;
  background: var(--subtle);
  opacity: 0.55;
}

.price-bar--own .price-bar-track i {
  background: linear-gradient(90deg, var(--cta1), var(--cta2));
  opacity: 1;
}

.price-bar-value { font-family: var(--font-num); font-weight: 800; color: var(--muted); }
.price-bar--own .price-bar-value { color: var(--accent); font-size: 1.05rem; }
html[data-design="3"] .price-bar--own .price-bar-value { color: var(--accent-strong); }

.price-graph-diff { margin: 0.2rem 0 0; font-size: 0.95rem; color: var(--muted); }

.price-graph-diff strong {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--text);
  margin-left: 0.2rem;
}

.price-graph-note { margin: 0; font-size: 0.72rem; color: var(--subtle); }

/* その3:実アプリUI+2ステップ */
.app-shot {
  width: 100%;
  max-width: 480px;
  background: radial-gradient(120% 120% at 20% 0%, var(--surface-2), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem 1.6rem 1.6rem;
  display: grid;
  gap: 1.1rem;
  justify-items: center;
}

.app-shot img { width: 100%; max-width: 400px; }

.app-shot-steps {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

.app-shot-steps b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cta1), var(--cta2));
  color: #fff;
  font-family: var(--font-num);
  font-size: 0.72rem;
  margin-right: 0.35rem;
}

.app-shot-arrow { color: var(--subtle); font-weight: 400; }

/* ============================================================
   試聴
   ============================================================ */
.listen { background: var(--bg); }

/* 正直コピー:期待値を先に揃える */
.listen-honest {
  text-align: center;
  max-width: 780px;
  margin: calc(clamp(2.2rem, 5vw, 3.2rem) * -0.6) auto 1.4rem;
  font-weight: 700;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  line-height: 1.95;
  color: var(--text);
}

.listen .section-lead { margin-top: 0; }

.sampler-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.sampler-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: left;
}

.genre-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}

.genre-img:hover { transform: translateY(-4px); }

.genre-img img { width: 100%; height: 100%; object-fit: cover; }

.sampler-audio { display: none; }

.sampler-control {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: transform 0.15s ease;
}

.sampler-control:hover { transform: scale(1.08); }

.sampler-control::before,
.sampler-control::after { content: ''; display: block; grid-area: 1 / 1; }

.sampler-control::before {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #1c1c1c;
  margin-left: 3px;
}

.sampler-control::after {
  width: 12px;
  height: 13px;
  border-left: 4px solid #1c1c1c;
  border-right: 4px solid #1c1c1c;
  display: none;
}

.sampler-control.is-playing::before { display: none; }
.sampler-control.is-playing::after { display: block; }

.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;
}

.sampler-card h4 { margin: 0.5rem 0 0; font-size: 1rem; font-weight: 700; color: var(--text); }

.sampler-card p { margin: 0; font-size: 0.8rem; color: var(--subtle); line-height: 1.5; }

.sampler-note { text-align: center; color: var(--subtle); margin-top: 2.4rem; font-size: 0.82rem; }

/* 勝ちパターンそのものの顧客の声を単独引用 */
.listen-quote {
  max-width: 720px;
  margin: 3.2rem auto 0;
  text-align: center;
}

.listen-quote blockquote {
  margin: 0;
  font-family: var(--head-font);
  font-weight: var(--head-weight);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.6;
  color: var(--text);
}

.listen-quote figcaption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--subtle);
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
}

.listen-quote figcaption a { color: var(--accent); font-weight: 700; }

/* 「いいな」と思った瞬間のCTA */
.listen-cta {
  margin-top: 2.4rem;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
}

.listen-cta .btn { text-align: center; }

.listen-cta p { margin: 0; font-size: 0.8rem; color: var(--subtle); }

/* 試聴パートの声(LP用・リンクなしのレビューカード) */
.listen-review {
  max-width: 620px;
  margin: 3.2rem auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.8rem;
}

.listen-review-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.listen-review-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--cta1), var(--cta2));
}

.listen-review-meta { display: grid; gap: 1px; margin-right: auto; }
.listen-review-name { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.listen-review-shop { font-size: 0.8rem; color: var(--subtle); }

.listen-review-stars {
  color: #f5a623;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.listen-review blockquote {
  margin: 1rem 0 0;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--muted);
}

/* お客様の声(LP用・スライダーではない静的グリッド/リンクなし) */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  /* 4件を2×2で並べる。全幅だとカード1枚が広くなりすぎるので中央寄せで抑える */
  max-width: 820px;
  margin-inline: auto;
}

/* ============================================================
   著作権の安心根拠(ダーク反転)
   ============================================================ */
.copyright-basis { background: var(--dark-bg); color: #eef1fb; }

.copyright-basis h2 { color: #fff; }

.copyright-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.copyright-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.copyright-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cta1), var(--cta2));
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.copyright-icon svg { width: 26px; height: 26px; }

.copyright-card h3 { margin: 0; font-size: 1.16rem; line-height: 1.55; color: #fff; font-weight: 700; }

.copyright-card p { margin: 0; font-size: 0.94rem; color: rgba(238, 241, 251, 0.78); }

/* ============================================================
   比較表
   ============================================================ */
.section-muted { background: var(--bg-alt); }

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 720px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.15rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
  color: var(--text);
}

.comparison-table td { color: var(--muted); }

.comparison-table thead th {
  font-family: var(--font-num);
  font-size: 0.92rem;
  color: var(--subtle);
  letter-spacing: 0.06em;
}

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

.comparison-table th[scope='row'] { font-weight: 700; width: 20%; }

/* 自社カラム強調 */
.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) {
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  color: var(--text);
}

.comparison-table thead th:nth-child(2) {
  border-top: 2px solid var(--accent);
  border-radius: 14px 14px 0 0;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 800;
}

html[data-design="3"] .comparison-table thead th:nth-child(2) { color: var(--accent-strong); }

.comparison-table tbody tr:last-child td:nth-child(2) {
  border-bottom: 2px solid var(--accent);
  border-radius: 0 0 14px 14px;
}

.highlight-text { color: var(--accent); font-weight: 800; font-size: 1.15rem; font-family: var(--font-num); }

html[data-design="3"] .highlight-text { color: var(--accent-strong); }

.cell-list { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.3rem; }

/* 乗り換え安心ブロック */
.switch-note {
  margin: 2.2rem auto 0;
  max-width: 860px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.9rem;
  box-shadow: var(--shadow-soft);
}

.switch-note-head {
  margin: 0 0 0.7rem;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--accent);
}

html[data-design="3"] .switch-note-head { color: var(--accent-strong); }

.switch-note ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.switch-note li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  column-gap: 0.55rem;
  align-items: baseline;
}

.switch-note li::before { content: '✓'; font-weight: 800; color: var(--accent); }

.switch-note b { color: var(--text); font-weight: 700; }

.switch-note li span { color: var(--muted); }

/* ============================================================
   料金
   ============================================================ */
.pricing { background: var(--bg-alt); }

.plans {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.plan {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2.3rem 2.1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.3rem;
  align-content: start;
  position: relative;
}

.plan--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cta1), var(--cta2));
  color: var(--cta-text);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  white-space: nowrap;
}

.plan-header { display: grid; gap: 0.35rem; }

.plan h3 { margin: 0; font-size: 1.22rem; font-weight: 700; }

.plan-monthly {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}

.plan-monthly span {
  color: var(--subtle);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.plan-monthly strong {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 2.9rem);
  line-height: 1.1;
  color: var(--text);
}

.plan--featured .plan-monthly strong { color: var(--accent); }

html[data-design="3"] .plan--featured .plan-monthly strong { color: var(--accent-strong); }

.plan-price { margin: 0; font-size: 0.92rem; font-weight: 600; color: var(--subtle); }

.plan ul {
  list-style: none;
  margin: 0;
  padding: 1.3rem 0 0;
  display: grid;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.93rem;
  border-top: 1px solid var(--border);
}

.plan ul li { display: flex; gap: 0.55rem; align-items: baseline; }

.plan ul li::before { content: '✓'; font-weight: 800; color: var(--accent); flex-shrink: 0; }

.plan-nolock {
  text-align: center;
  margin: 1.9rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-nolock b { color: var(--text); }

.pricing-cta { text-align: center; margin-top: 1.6rem; display: grid; gap: 0.9rem; justify-items: center; }

.plan-note { margin: 0; color: var(--subtle); font-size: 0.82rem; }

/* ============================================================
   導入の流れ
   ============================================================ */
.flow { background: var(--bg); }

.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  justify-items: center;
  max-width: 760px;
  margin: 0 auto;
}

.flow-step {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.8rem;
  text-align: center;
  width: 100%;
}

.flow-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cta1), var(--cta2));
  display: grid;
  place-items: center;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--cta-text);
  margin: 0 auto 0.4rem;
}

.flow-step h3 { margin: 0; font-size: 1.18rem; font-weight: 700; }
.flow-step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   お客様の声(スライダー)
   ============================================================ */
.section.testimonials { background: var(--dark-bg); color: #eef1fb; }
.section.testimonials h2 { color: #fff; }

.tslider { position: relative; display: flex; align-items: center; gap: 12px; }

.tslider-viewport { overflow: hidden; flex: 1; min-width: 0; }

.tslider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.tslide {
  flex: 0 0 calc((100% - 48px) / 3);
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #1e293b;
}

.tslide--case { transition: transform 0.2s, box-shadow 0.2s; }

.tslide--case:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4); }

.tslide--voice { cursor: default; }

.tslide-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.tslide-body { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }

.tslide-tags { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }

.tslide-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--tag-color);
  background: var(--tag-bg);
  border-radius: 4px;
  padding: 2px 8px;
}

.tslide-tag--anon { color: #64748b; background: #f1f5f9; }

.tslide-shop { font-size: 13px; font-weight: 700; color: #1e293b; margin: 0 0 6px; }

.tslide-rep { font-size: 11px; font-weight: 400; color: #64748b; }

.tslide-quote { font-size: 13px; line-height: 1.65; color: #475569; margin: 0 0 auto; }

.tslide-more { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--tag-color); }

.tslide-anon-note { margin-top: 12px; font-size: 11px; color: #94a3b8; line-height: 1.6; }

.tslider-btn {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
  line-height: 1;
  padding: 0;
}

.tslider-btn:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.6); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg); }

.faq-list { display: grid; gap: 1rem; max-width: 760px; margin: 0 auto; }

.faq-list details {
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 1.35rem 1.6rem;
}

.faq-list summary { cursor: pointer; font-weight: 700; outline: none; list-style: none; }

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  float: right;
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list p { margin: 1rem 0 0; color: var(--muted); font-size: 0.96rem; }

/* ============================================================
   最終CTA
   ============================================================ */
.final-cta {
  position: relative;
  background: var(--final-bg);
  color: #fff;
  overflow: hidden;
}

.final-cta-bg { position: absolute; inset: 0; pointer-events: none; }

.final-eq { opacity: 0.35; }

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  text-align: center;
}

.final-copy h2 { margin: 0 0 0.8rem; color: #fff; }

.final-copy p { margin: 0 auto; max-width: 620px; color: rgba(255, 255, 255, 0.85); }

.final-note { margin: -0.4rem 0 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.65); }

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3.4rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

html[data-design="3"] .site-footer .logo img { filter: brightness(0) invert(0.8); }

.footer-inner { display: grid; gap: 1.8rem; }

.site-footer .logo img { height: 30px; margin-bottom: 0.8rem; }

.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }

.footer-links a { font-size: 0.86rem; transition: color 0.2s ease; }

.footer-links a:hover, .footer-links a:focus { color: var(--accent); }

.site-footer p { margin: 0; }

.copyright { font-size: 0.8rem; opacity: 0.75; }

/* ============================================================
   モバイル固定CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  display: none;
  padding: 0.55rem 0.9rem calc(0.55rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta .btn {
  width: 100%;
  flex-direction: column;
  gap: 0.05rem;
  padding: 0.65rem 1rem;
  line-height: 1.35;
}

.sticky-cta .btn small {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.9;
}

/* ============================================================
   デザイン切り替えUI(プレビュー専用)
   ============================================================ */
.design-switch {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  background: rgba(12, 14, 22, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 0.65rem 0.75rem 0.75rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 0.45rem;
  font-family: var(--font-sans);
}

.ds-label {
  font-family: var(--font-num);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.ds-buttons { display: flex; gap: 6px; }

.design-switch button {
  appearance: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  display: grid;
  gap: 1px;
  justify-items: center;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  transition: background 0.15s ease, color 0.15s ease;
}

.design-switch button small {
  font-family: var(--font-num);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.65;
}

.design-switch button:hover { background: rgba(255, 255, 255, 0.16); }

.design-switch button.is-active { background: #fff; color: #10121c; }
.design-switch button.is-active small { opacity: 0.6; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-content { justify-items: center; text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual img { max-width: 460px; }
  html[data-design="3"] .hero-content { max-width: none; }

  .hero-wall { grid-template-columns: repeat(5, 1fr); }

  /* 案2:縦積みではテキスト背面に壁が回るため薄く全面に */
  html[data-design="2"] .hero-wall {
    opacity: 0.28;
    -webkit-mask-image: none;
    mask-image: none;
  }

  html[data-design="2"] .hero-bg::after {
    background:
      linear-gradient(to bottom, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 55%, #ffffff 100%);
  }

  .feature-row { grid-template-columns: 1fr; gap: 1.8rem; }
  .feature-row:nth-child(even) .feature-copy { order: 0; }
  .feature-row:nth-child(even) .feature-visual { order: 0; }
  .feature-copy { max-width: none; }

  .copyright-grid { grid-template-columns: 1fr; gap: 1.4rem; }

  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan--featured { order: -1; }
}

@media (max-width: 768px) {
  .sp-br { display: inline; }
  .sp-hide { display: none; }

  .nav-menu {
    position: absolute;
    top: 120%;
    right: 0;
    left: auto;
    flex-direction: column;
    background: var(--surface);
    padding: 1.2rem 1.4rem;
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    min-width: 220px;
    max-width: calc(100vw - 24px);
    width: max-content;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-menu[data-open="true"] { opacity: 1; pointer-events: auto; transform: translateY(0); }

  .nav-toggle { display: inline-flex; }

  .header-inner > .btn-primary { display: none; }

  /* モバイルは固定CTAを常設 */
  .sticky-cta { display: block; }
  body { padding-bottom: 84px; }
  .design-switch { bottom: 96px; }

  /* スマホは2列のまま、縦の行間をギュッと詰める */
  .proof-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.5rem; row-gap: 0.15rem; padding-inline: 16px; }
  .proof-logos img { height: 88px; }

  /* 乗り換えブロック:モバイルは「タイトル→説明」の縦積み */
  .switch-note ul { gap: 0.9rem; }
  .switch-note li { grid-template-columns: auto 1fr; row-gap: 0.05rem; }
  .switch-note li::before { grid-row: 1; }
  .switch-note li b { grid-column: 2; grid-row: 1; }
  .switch-note li span { grid-column: 2; grid-row: 2; font-size: 0.88rem; }

  .sampler-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }

  /* お客様の声:横スワイプ */
  .tslider { gap: 0; }
  .tslider-btn { display: none; }
  .tslider-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .tslider-viewport::-webkit-scrollbar { display: none; }
  .tslider-track {
    flex-direction: row !important;
    gap: 12px;
    transform: none !important;
    transition: none !important;
    padding: 4px 16px 12px;
  }
  .tslide { flex: 0 0 82vw; max-width: 300px; scroll-snap-align: start; }
  .tslide[aria-hidden="true"] { display: none; }

  /* LP用の声グリッドは1カラムに */
  .voice-grid { grid-template-columns: 1fr; gap: 16px; }

  .footer-links { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .footer-advisor { display: block; }
  .footer-br { display: none; }
  .footer-address { font-size: 0.85em; }
}

@media (max-width: 520px) {
  .hero h1,
  html[data-design="3"] .hero h1 { font-size: 2rem; }
  .hero-eyebrow { font-size: 0.82rem; letter-spacing: 0.08em; }
  .hero-eyebrow-bar { display: none; }

  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-visual img { max-width: 340px; }

  .hero-wall { grid-template-columns: repeat(4, 1fr); gap: 8px; }

  .medal-core { flex-wrap: wrap; justify-content: center; padding: 0.9rem 1.3rem; gap: 0.4rem; }
  .medal-num { font-size: 2.3rem; }
  .laurel { width: 40px; height: 88px; }

  .price-graph { padding: 1.5rem 1.3rem; }
  .price-bar { grid-template-columns: 74px 1fr auto; font-size: 0.78rem; }

  .plan, .faq-list details { padding: 1.6rem; }

  .design-switch { right: 10px; padding: 0.5rem 0.55rem 0.6rem; }
  .design-switch button { padding: 0.35rem 0.55rem; font-size: 0.72rem; }
}

/* ============================================================
   アニメーション抑制
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-eq i { animation: none; transform: scaleY(0.3); }
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
