/*
Theme Name: FULLWEST Funnel LP
Theme URI: https://fullwest.co.jp
Author: 株式会社FULLWEST
Author URI: https://fullwest.co.jp
Description: 売れる集客設計図（ファネル）構築マニュアル - エディトリアル・モダンデザインLP
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: fullwest-funnel
*/

/* =============================================
   テーマ基本スタイル定義
   Tailwind CSS と組み合わせて使用
   ============================================= */

/* Google Fonts インポート */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700;900&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* CSS カスタムプロパティ */
:root {
  --color-primary: #1a1a2e;
  --color-accent: #c8a96e;
  --color-accent-light: #e8d5a3;
  --color-bg: #fafafa;
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-500: #6b7280;
  --color-gray-700: #374151;
  --color-gray-900: #111827;
  --color-danger: #dc2626;
  --color-warning: #d97706;
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.08);
  --border-glass: 1px solid rgba(255, 255, 255, 0.6);
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ベースリセット */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-gray-900);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  /* 日本語：欧文式の mid-word 改行を避け、禁則に沿った折り返しに */
  word-break: normal;
  overflow-wrap: normal;
  line-break: strict;
}

/* 画像・メディアの横幅制御 */
img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

/* AOS アニメーション中の要素が viewport をはみ出さないようにクリップ */
[data-aos] {
  backface-visibility: hidden;
}

/* =============================================
   タイポグラフィ
   ============================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-wrap: balance;
  word-break: normal;
  line-break: strict;
}

p {
  font-family: var(--font-sans);
  line-height: 1.9;
  text-wrap: pretty;
}

/* 長い英語URL等のみ必要なら個別に overflow-wrap を付与する */
li {
  text-wrap: pretty;
}

/* オレンジ強調ブロック内の和文折り返しを本文と同じルールに */
.warning-box p {
  word-break: normal;
  overflow-wrap: normal;
  line-break: strict;
  text-wrap: pretty;
}

/* =============================================
   グラスモーフィズムカード
   ============================================= */

.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-glass);
  box-shadow: var(--shadow-glass);
  border-radius: var(--radius-lg);
}

.glass-card-dark {
  background: rgba(26, 26, 46, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 169, 110, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-lg);
}

/* 第3章：「9割」統計ブロック（視認性・余白・階層）
   親の body 色（濃いグレー）が p / span に継承すると暗背景で消えるため、
   ブロック全体と前後の p に明示色を置く（CDN Tailwind より先の theme でも継承で効く）。 */
.chapter3-stat-callout {
  color: rgba(255, 255, 255, 0.96);
  text-align: center;
  padding: 2.25rem 1.5rem 2.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 45%,
    rgba(0, 0, 0, 0.12) 100%
  );
  border: 1px solid rgba(200, 169, 110, 0.45);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.chapter3-stat-callout__intro {
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(200, 169, 110, 0.22);
  color: rgba(255, 255, 255, 0.96);
}

.chapter3-stat-callout__intro .section-heading__line {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  font-weight: 600;
  color: inherit;
  letter-spacing: 0.06em;
  line-height: 1.65;
}

.chapter3-stat-callout__number {
  margin: 0;
  font-size: clamp(4.25rem, 17vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-shadow:
    0 2px 16px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(200, 169, 110, 0.35);
}

.chapter3-stat-callout__outro {
  margin: 1rem 0 0;
  padding-top: 0.75rem;
  color: rgba(255, 255, 255, 0.96);
}

.chapter3-stat-callout__outro .section-heading__line {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 3.4vw, 1.3rem);
  font-weight: 700;
  color: inherit;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .chapter3-stat-callout {
    padding: 2.75rem 2rem 3rem;
  }

  .chapter3-stat-callout__intro {
    margin-bottom: 1.15rem;
    padding-bottom: 1.15rem;
  }

  .chapter3-stat-callout__outro {
    margin-top: 1.15rem;
    padding-top: 0.85rem;
  }
}

/* =============================================
   マーカー装飾
   ============================================= */

.marker-yellow {
  background: linear-gradient(transparent 60%, #fef08a 60%);
  padding: 0 2px;
}

.marker-orange {
  background: linear-gradient(transparent 60%, #fed7aa 60%);
  padding: 0 2px;
}

.marker-red {
  background: linear-gradient(transparent 60%, #fecaca 60%);
  padding: 0 2px;
}

.marker-gold {
  background: linear-gradient(transparent 60%, rgba(200, 169, 110, 0.4) 60%);
  padding: 0 2px;
}

/* リード：キャッチを1行に（極狭画面のみ折り返し可） */
.lead-catchphrase {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(0.9375rem, 3.8vw, 1.125rem);
  letter-spacing: 0.02em;
}

@media (max-width: 340px) {
  .lead-catchphrase {
    white-space: normal;
    text-wrap: balance;
  }
}

/* マーカー内でも禁則優先（インライン境界での不自然な分割を軽減） */
.marker-yellow,
.marker-orange,
.marker-red,
.marker-gold {
  word-break: normal;
  line-break: strict;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* カタカナ複合語など、行の途中で分割したくない短い語（狭い画面でははみ出し注意） */
.jp-keep-word {
  display: inline-block;
  max-width: 100%;
  word-break: keep-all;
  line-break: strict;
}

/* =============================================
   アクセントカラー
   ============================================= */

.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.bg-accent { background-color: var(--color-accent); }
.bg-primary { background-color: var(--color-primary); }

/* =============================================
   セクション装飾
   ============================================= */

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  border-radius: 2px;
}

.section-number {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  color: var(--color-gray-100);
  line-height: 1;
  letter-spacing: -0.02em;
  position: absolute;
  top: -1rem;
  left: -1rem;
  z-index: 0;
  user-select: none;
}

/* =============================================================================
   セクション見出しタイポグラフィ（編集デザインルール）
   -----------------------------------------------------------------------------
   ■ 構造 … 1行目＝【章】ラベル、2行目以降＝本文。HTML は行ごとに .section-heading__line。
   ■ 改行 … 行内はカラム幅いっぱい（max-width:100%）＋ text-wrap: pretty（balance は和文で不自然な改行になりやすい）。
            禁則は line-break: strict / word-break: normal（欧文式の mid-word 改行を避ける）。
   ■ サイズ … clamp でモバイル→デスクトップ連続スケール。1行目ラベルは本体の約72〜78%。
   ■ モバイル … 行間やや広め、行幅 18〜21em 相当に抑えて視線の往復を短くする。
   ■ デスクトップ … 行幅 26〜30em、行間ややタイト、字間はやや詰める。
   ■ 修飾 … --editorial（本文セクション h2）、--on-dark（第3章）、--cta（CTA）、--hero（表紙）、
            --sub（中見出し）、--toc / --funnel / --inline は従来どおり用途別に微調整。
   ============================================================================= */

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.14em, 0.35vw + 0.1em, 0.32em);
  line-height: 1.38;
  letter-spacing: 0.03em;
  font-feature-settings: "palt" 1;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
  word-break: normal;
  line-break: strict;
  overflow-wrap: normal;
}

.section-heading--center {
  align-items: center;
  text-align: center;
}

.section-heading__line {
  display: block;
  width: 100%;
  max-width: 100%;
  /* balance は行長を揃えるため助詞の行頭送り等が起きやすい。pretty は禁則を意識した折返し */
  text-wrap: pretty;
}

/* 左寄せ（カード内・目次バー・ファネル等） */
.section-heading--inline {
  align-items: flex-start;
  text-align: left;
}

/* --- 本文セクション主見出し（序章・第1〜2章・おわりに） --- */
.section-heading--editorial {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.2rem, 0.55rem + 3.1vw, 2.85rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.section-heading--editorial .section-heading__line:first-child {
  font-size: clamp(0.82rem, 0.62rem + 1.1vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  line-height: 1.45;
}

.section-heading--editorial .section-heading__line:nth-child(n + 2) {
  font-weight: 900;
  line-height: 1.3;
  /* 19.5em 等の狭 max-width は span 内で助詞の行頭送りを誘発するためカラム幅に合わせる */
  max-width: 100%;
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .section-heading--editorial {
    letter-spacing: 0.025em;
    gap: clamp(0.18em, 0.4vw + 0.12em, 0.34em);
  }

  .section-heading--editorial .section-heading__line:nth-child(n + 2) {
    line-height: 1.22;
  }
}

/* 濃色背景上の主見出し（第3章） */
.section-heading--editorial.section-heading--on-dark .section-heading__line:first-child {
  color: rgba(232, 213, 163, 0.95);
}

.section-heading--editorial.section-heading--on-dark .section-heading__line:nth-child(n + 2) {
  color: #fff;
}

/* CTA 見出し（中央・ややコンパクトな読み幅） */
.section-heading--cta {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.15rem, 0.52rem + 2.9vw, 2.65rem);
  line-height: 1.28;
  letter-spacing: 0.04em;
}

.section-heading--cta .section-heading__line {
  max-width: min(100%, 17.5em);
  line-height: 1.32;
}

@media (min-width: 768px) {
  .section-heading--cta .section-heading__line {
    max-width: min(100%, 22em);
    line-height: 1.26;
  }
}

/* 中見出し（第1章「4ステップ」など） */
.section-heading--sub {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.05rem, 0.65rem + 1.4vw, 1.65rem);
  line-height: 1.35;
  gap: 0.2em;
}

.section-heading--sub .section-heading__line {
  max-width: min(100%, 22em);
}

/* 目次バー内 */
.section-heading--toc {
  gap: 0.14em;
  line-height: 1.4;
  font-size: clamp(0.95rem, 0.82rem + 0.55vw, 1.15rem);
  letter-spacing: 0.06em;
}

.section-heading--toc .section-heading__line {
  max-width: 100%;
}

.section-heading--toc .section-heading__line:first-child {
  letter-spacing: 0.12em;
  opacity: 0.95;
}

/* ファネルステップ見出し */
.section-heading--funnel {
  gap: 0.08em;
  line-height: 1.28;
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .section-heading--funnel {
    font-size: 1.125rem;
  }
}

.section-heading--funnel .section-heading__line {
  font-size: inherit;
}

.section-heading--funnel .section-heading__line:first-child {
  letter-spacing: 0.1em;
}

/* 表紙メインタイトル */
.section-heading--hero.cover-title {
  gap: clamp(0.1em, 0.3vw + 0.06em, 0.2em);
  line-height: 1.16;
  letter-spacing: 0.055em;
}

@media (min-width: 768px) {
  .section-heading--hero.cover-title {
    gap: clamp(0.12em, 0.35vw + 0.08em, 0.22em);
    line-height: 1.14;
  }
}

.cover-title.section-heading .cover-title-kana {
  margin: 0;
}

/* 引用・強調ブロック内の多行見出し（序章カード・第3章ダークカード等） */
.section-heading--quote {
  font-size: clamp(1.05rem, 0.58rem + 1.8vw, 1.55rem);
  line-height: 1.42;
  gap: 0.28em;
}

/* クロージング提案上段など、やや大きめの引用見出し */
.section-heading--quote-lg {
  font-size: clamp(1.125rem, 0.62rem + 2.1vw, 1.85rem);
  line-height: 1.38;
}

.section-heading--quote-body {
  font-size: clamp(1rem, 0.72rem + 1.05vw, 1.3rem);
  line-height: 1.45;
}

.section-heading--quote .section-heading__line {
  max-width: min(100%, 20em);
}

.glass-card-dark .section-heading--quote .section-heading__line {
  max-width: min(100%, 17.5em);
}

/* 引用ブロック内のディスプレイ行（【完全丸投げ】など） */
.section-heading--quote .section-heading__line--display {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 1rem + 3.2vw, 2.55rem);
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  line-height: 1.15;
  max-width: min(100%, 11em);
}

/* STEP 見出し（番号横の h3） */
.section-heading--step {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1rem, 0.78rem + 0.85vw, 1.3rem);
  line-height: 1.32;
  gap: 0.12em;
  letter-spacing: 0.02em;
  word-break: keep-all;
  line-break: strict;
}

.section-heading--step .section-heading__line {
  max-width: 100%;
  word-break: keep-all;
}

/* 極意ボックス見出し（アイコン＋1行） */
.section-heading--tip {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(0.98rem, 0.82rem + 0.55vw, 1.12rem);
  line-height: 1.38;
  gap: 0.08em;
  letter-spacing: 0.04em;
}

.section-heading--tip .section-heading__line {
  max-width: 100%;
}

/* 警告ボックス見出し（h4） */
.section-heading--warning {
  font-size: clamp(0.98rem, 0.82rem + 0.6vw, 1.15rem);
  line-height: 1.4;
  gap: 0.16em;
  letter-spacing: 0.03em;
}

.section-heading--warning .section-heading__line:first-child {
  letter-spacing: 0.08em;
}

.section-heading--warning .section-heading__line:nth-child(n + 2) {
  max-width: min(100%, 22em);
  font-weight: 500;
}

/* CTAボタン内の意図した改行（ボタン装飾は .btn-cta を維持） */
.btn-cta.btn-cta--stacked {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.38em;
  line-height: 1.5;
  text-align: center;
  word-break: normal;
  line-break: strict;
  font-family: var(--font-sans);
  font-weight: 700;
}

.btn-cta.btn-cta--stacked .btn-cta__line {
  display: block;
  width: 100%;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.03em;
}

.btn-cta.btn-cta--stacked .btn-cta__keep {
  white-space: nowrap;
  word-break: keep-all;
}

.btn-cta.btn-cta--stacked .btn-cta__line--row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.45rem;
  max-width: 100%;
}

.btn-cta.btn-cta--stacked .btn-cta__icon {
  flex-shrink: 0;
  font-size: 1.05em;
  opacity: 0.92;
}

@media (min-width: 768px) {
  .btn-cta.btn-cta--stacked .btn-cta__line {
    max-width: 32rem;
  }
}

@media (max-width: 768px) {
  .btn-cta.btn-cta--stacked {
    font-size: clamp(0.8125rem, 3.6vw, 0.9375rem);
    padding: 1.2rem 1.35rem;
    letter-spacing: 0.02em;
    gap: 0.42em;
  }
}

/* =============================================
   ステップカード
   ============================================= */

.step-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ステップ見出し：番号バッジ・横ピルは使わず、ラベル＋左ラインで段差を付ける */
.step-card__head {
  min-width: 0;
  border-left: 3px solid rgba(200, 169, 110, 0.88);
  padding-left: 1.1rem;
}

.step-card__phase {
  margin: 0 0 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--color-accent);
  text-transform: uppercase;
}

.step-card__tools-line {
  margin: 0.55rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-gray-500);
  letter-spacing: 0.04em;
}

/* =============================================
   警告ボックス
   ============================================= */

.warning-box {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border-left: 5px solid var(--color-warning);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.75rem 2.25rem;
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.warning-box::before {
  content: '⚠️';
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  background: var(--color-white);
  padding: 0 0.5rem;
  font-size: 1.25rem;
}

/* =============================================
   CTAボタン
   ============================================= */

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, #c8a96e, #e8d5a3, #c8a96e);
  background-size: 200% 100%;
  color: #1a1a2e;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(200, 169, 110, 0.4);
  border: none;
  cursor: pointer;
  animation: shimmer 3s infinite;
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(200, 169, 110, 0.6);
  color: #1a1a2e;
  text-decoration: none;
}

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

/* =============================================
   目次スタイル
   ============================================= */

.toc-container {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.toc-header {
  background: linear-gradient(135deg, var(--color-primary), #16213e);
  color: var(--color-white);
  padding: 1.35rem 1.85rem;
}

.toc-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  border-bottom: 1px solid var(--color-gray-100);
  color: var(--color-gray-700);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.toc-item:hover {
  background: var(--color-gray-50);
  color: var(--color-accent);
  padding-left: 2.25rem;
  text-decoration: none;
}

.toc-item:last-child {
  border-bottom: none;
}

/* =============================================
   ファネル図解
   ============================================= */

.funnel-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.75rem;
  border-radius: 12px;
  margin-bottom: 0;
  color: var(--color-white);
  font-family: var(--font-serif);
  font-weight: 600;
  overflow: hidden;
}

.funnel-step::after {
  content: '▼';
  position: absolute;
  bottom: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-gray-300);
  font-size: 1.25rem;
  z-index: 2;
}

.funnel-step:last-child::after {
  display: none;
}

.funnel-1 { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.funnel-2 { background: linear-gradient(135deg, #2d3561, #1a1a2e); }
.funnel-3 { background: linear-gradient(135deg, #c8a96e, #b8935a); }
.funnel-4 { background: linear-gradient(135deg, #d4a843, #c8a96e); }

/* =============================================
   表紙セクション（Cover）
   ============================================= */

.cover-section {
  background-color: #08080e;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 薄いゴールドグリッド背景 */
.cover-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 169, 110, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 169, 110, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* 中央の柔らかい光彩 */
.cover-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vh;
  background: radial-gradient(ellipse at center, rgba(22, 22, 48, 0.95) 0%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* コーナーの暗い縁 */
.cover-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 140% 140% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.cover-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
}

/* 出版元ラベル */
.cover-publisher {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: rgba(200, 169, 110, 0.45);
  text-transform: uppercase;
}

/* ゴールドの仕切り線（上） */
.cover-rule-gold {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200, 169, 110, 0.6) 25%,
    rgba(232, 213, 163, 0.9) 50%,
    rgba(200, 169, 110, 0.6) 75%,
    transparent 100%
  );
}

/* 細い白の仕切り線（下） */
.cover-rule-thin {
  width: 180px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
}

/* メインタイトル */
.cover-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-shadow: 0 0 80px rgba(200, 169, 110, 0.12);
}

/* タイトル内の（ファネル）読み仮名 */
.cover-title-kana {
  display: block;
  font-size: 0.42em;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin: 0.3em 0 0.25em;
  font-weight: 700;
}

/* サブタイトル（キーワード行） */
.cover-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(0.78rem, 2.2vw, 0.95rem);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

/* サブタイトル（説明行） */
.cover-subtitle-small {
  font-family: var(--font-sans);
  font-size: clamp(0.65rem, 1.6vw, 0.75rem);
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.07em;
}

/* スクロール誘導 */
.cover-scroll {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  animation: coverBounce 2s ease-in-out infinite;
}

.cover-scroll p {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.25);
}

.cover-scroll i {
  color: rgba(200, 169, 110, 0.35);
  font-size: 0.75rem;
}

@keyframes coverBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* モバイル調整 */
@media (max-width: 640px) {
  .cover-inner {
    padding: 5rem 1.5rem;
  }
}

/* =============================================
   スクロールアニメーション補助
   ============================================= */

[data-aos] {
  pointer-events: none;
  backface-visibility: hidden;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* AOS fade-right / fade-left のはみ出し防止 */
section,
header,
footer,
nav {
  overflow-x: hidden;
  max-width: 100%;
}

/* =============================================
   レスポンシブ調整
   ============================================= */

@media (max-width: 768px) {
  .step-card {
    padding: 1.75rem;
  }

  .btn-cta {
    width: 100%;
    text-align: center;
    padding: 1.25rem 1.5rem;
  }

  .section-number {
    font-size: 5rem;
  }

  /* CTAボタン枠をフル幅に */
  .pulse-ring {
    display: block;
    width: 100%;
  }

  /* ファネルステップ：アイコンと余白を縮小 */
  .funnel-step {
    gap: 0.75rem;
    padding: 1rem 1.25rem;
  }
  .funnel-step > i.ml-auto {
    display: none;
  }

  /* 警告ボックス：モバイルでも読みやすい最小余白 */
  .warning-box {
    padding: 1.35rem 1.35rem;
  }
}

/* =============================================
   スティッキーヘッダー
   ============================================= */

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.2);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.sticky-header.visible {
  transform: translateY(0);
}

/* =============================================
   パルスアニメーション（CTAボタン）
   ============================================= */

.pulse-ring {
  position: relative;
  display: inline-block;
}

.pulse-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50px;
  background: rgba(200, 169, 110, 0.3);
  animation: pulse 2s ease-out infinite;
  /* 装飾レイヤーが <a> より手前に来てクリックを奪うのを防ぐ */
  pointer-events: none;
  z-index: 0;
}

.pulse-ring > a {
  position: relative;
  z-index: 1;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.05); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* =============================================
   セパレーター装飾線
   ============================================= */

.ornament-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.75rem 0;
}

@media (min-width: 768px) {
  .ornament-line {
    margin: 3.5rem 0;
  }
}

.ornament-line::before,
.ornament-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gray-300), transparent);
}

/* =============================================
   引用ブロック
   ============================================= */

.quote-block {
  position: relative;
  padding: 2.25rem 1.5rem 2.25rem 1.75rem;
  background: var(--color-gray-50);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 500;
  line-height: 2;
  color: var(--color-primary);
  max-width: 100%;
  overflow-wrap: break-word;
}

.quote-block__p {
  margin: 0 0 1.5em;
  text-wrap: pretty;
}

.quote-block__p:last-child {
  margin-bottom: 0;
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  left: 0.75rem;
  font-size: 4rem;
  color: var(--color-accent);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.6;
  pointer-events: none;
}

/* タブレット以上：従来の左インデント＋大きな装飾クォート */
@media (min-width: 641px) {
  .quote-block {
    padding: 2.5rem 1.75rem 2.5rem 3.25rem;
  }
}

/* モバイル：可読性優先（装飾クォート非表示・余白を本文に回す） */
@media (max-width: 640px) {
  .quote-block {
    padding: 1.25rem 1rem 1.25rem 0.875rem;
    border-left-width: 3px;
    font-size: 1rem;
    line-height: 2;
    letter-spacing: 0.02em;
  }

  .quote-block::before {
    content: none;
  }

  .quote-block__p {
    margin-bottom: 1.25em;
  }
}

/* =============================================
   限定バッジ
   ============================================= */

.badge-limited {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.375rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 12px rgba(220, 38, 38, 0.4);
}

/* =============================================
   プロフィールカード
   ============================================= */

.profile-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.profile-card-header {
  background: linear-gradient(135deg, var(--color-primary), #16213e);
  padding: 2.75rem 2rem;
  text-align: center;
}

/* =============================================
   ハンバーガーボタン
   ============================================= */

.nav-hamburger {
  background: none;
  border: 1px solid rgba(200, 169, 110, 0.4);
  border-radius: 8px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px;
  transition: border-color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.nav-hamburger:hover {
  background: rgba(200, 169, 110, 0.1);
  border-color: rgba(200, 169, 110, 0.8);
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   ドロワーオーバーレイ
   ============================================= */

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* =============================================
   ドロワーパネル
   ============================================= */

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: linear-gradient(160deg, #0f0f1a 0%, #1a1a2e 100%);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(200, 169, 110, 0.25);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
}

.nav-drawer.active {
  transform: translateX(0);
}

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(200, 169, 110, 0.2);
  flex-shrink: 0;
}

.nav-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 1.25rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-close:hover {
  color: var(--color-accent);
  background: rgba(200, 169, 110, 0.1);
}

.nav-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0;
  flex: 1;
}

.nav-drawer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  line-height: 1.5;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-drawer-item:hover {
  background: rgba(200, 169, 110, 0.08);
  color: var(--color-accent-light);
  padding-left: 1.875rem;
  text-decoration: none;
}

.nav-drawer-badge {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.nav-drawer-badge--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border: 1px solid rgba(200, 169, 110, 0.3);
}

.nav-drawer-badge--accent {
  background: var(--color-accent);
  color: var(--color-primary);
}

.nav-drawer-cta {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(200, 169, 110, 0.2);
  flex-shrink: 0;
}
