/**
 * saigensei_guide.css
 * 再現性のある事業構築 完全ガイド LP
 * 20代女性副業実践者ブランド — オリーブグリーン × ゴールド × 洗練
 * ================================================================ */

/* ──────────────────────────────────────────────
   0. CSS カスタムプロパティ（Design Tokens）
────────────────────────────────────────────── */
#sgg-root {
  /* ─ カラー：メイン（オリーブ / ダーク / セージ / スモーキー） ─ */
  --sgg-olive:        #4a5c2f;
  --sgg-olive-mid:    #5d7340;
  --sgg-dark-green:   #2d3d1a;
  --sgg-sage:         #7a9160;
  --sgg-sage-light:   #e8f0df;
  --sgg-sage-pale:    #f2f6ed;
  --sgg-smoky:        #8fa87a;
  --sgg-smoky-light:  #eef4e8;

  /* ─ カラー：アクセント（ゴールド / アイボリー / ベージュ） ─ */
  --sgg-gold:         #9a7a35;
  --sgg-gold-light:   #c9a85a;
  --sgg-gold-pale:    #faf3e0;
  --sgg-ivory:        #f8f5ee;
  --sgg-beige:        #ede8dd;
  --sgg-warm-white:   #faf9f6;

  /* ─ カラー：テキスト ─ */
  --sgg-ink:          #2a2d1e;
  --sgg-ink-soft:     #3d4230;
  --sgg-ink-muted:    #6b7260;
  --sgg-ink-light:    #9ea896;
  --sgg-ink-pale:     #c2c9b8;

  /* ─ カラー：サーフェス ─ */
  --sgg-surface:      #ffffff;
  --sgg-surface-alt:  #f6f4ef;
  --sgg-border:       #dddbd3;
  --sgg-border-soft:  #eae8e2;

  /* ─ CTA（PHP変数で上書き可能） ─ */
  --sgg-cta-color:    #4a5c2f;

  /* ─ タイポグラフィ ─ */
  --sgg-font-serif:   'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --sgg-font-sans:    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;

  /* ─ 余白・角丸 ─ */
  --sgg-radius-sm:    4px;
  --sgg-radius:       8px;
  --sgg-radius-lg:    16px;
  --sgg-radius-xl:    24px;

  /* ─ アニメーション ─ */
  --sgg-ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --sgg-ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* ──────────────────────────────────────────────
   1. ベースリセット（スコープ型 — LP内のみ適用）
────────────────────────────────────────────── */
#sgg-root,
#sgg-root * {
  box-sizing: border-box;
}

#sgg-root {
  font-family: var(--sgg-font-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--sgg-ink);
  background: var(--sgg-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#sgg-root p  { margin: 0 0 18px; color: var(--sgg-ink-soft); line-height: 1.9; }
#sgg-root ul { margin: 0; padding: 0; list-style: none; }
#sgg-root a  { color: inherit; text-decoration: none; }
#sgg-root strong { font-weight: 700; color: var(--sgg-ink); }
#sgg-root img { max-width: 100%; display: block; }

/* ──────────────────────────────────────────────
   2. 読み進みプログレスバー
────────────────────────────────────────────── */
.sgg-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--sgg-olive), var(--sgg-gold-light));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* ──────────────────────────────────────────────
   3. セクション内ナビゲーション
────────────────────────────────────────────── */
.sgg-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  height: 56px;
  background: rgba(42, 45, 30, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.4s var(--sgg-ease);
}

.sgg-nav-logo {
  font-family: var(--sgg-font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  flex-shrink: 0;
}

.sgg-nav-logo span {
  color: var(--sgg-gold-light);
}

.sgg-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
}

.sgg-nav-links li a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  white-space: nowrap;
}

.sgg-nav-links li a:hover {
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 767px) {
  .sgg-nav-links { display: none; }
}

/* ──────────────────────────────────────────────
   4. スクロールリビール
────────────────────────────────────────────── */
.sgg-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.72s var(--sgg-ease), transform 0.72s var(--sgg-ease);
  will-change: opacity, transform;
}

.sgg-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ──────────────────────────────────────────────
   5. COVER（ファーストビュー）
────────────────────────────────────────────── */
.sgg-cover {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(100px, 14vw, 160px) clamp(24px, 6vw, 80px) clamp(60px, 8vw, 100px);
  overflow: hidden;
  background: var(--sgg-dark-green);
}

/* 背景画像 */
.sgg-cover-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sgg-cover-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: sggCoverFadeIn 1.6s var(--sgg-ease-out) 0.3s forwards;
}

@keyframes sggCoverFadeIn {
  to { opacity: 1; }
}

.sgg-cover-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(29, 38, 16, 0.88) 0%, rgba(45, 61, 26, 0.72) 50%, rgba(29, 38, 16, 0.60) 100%),
    radial-gradient(ellipse 55% 60% at 80% 20%, rgba(154, 122, 53, 0.12) 0%, transparent 65%);
}

/* コンテンツ */
.sgg-cover-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.sgg-cover-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--sgg-gold-light);
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: sggSlideUp 0.8s var(--sgg-ease-out) 0.6s forwards;
}

.sgg-cover-title {
  font-family: var(--sgg-font-serif);
  font-size: clamp(28px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  opacity: 0;
  animation: sggSlideUp 0.9s var(--sgg-ease-out) 0.8s forwards;
}

.sgg-cover-title span {
  color: var(--sgg-sage);
}

.sgg-cover-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.58);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
  animation: sggSlideUp 0.9s var(--sgg-ease-out) 1.0s forwards;
}

.sgg-cover-divider {
  width: 40px;
  height: 1px;
  background: var(--sgg-gold-light);
  margin-bottom: 36px;
  opacity: 0;
  animation: sggSlideUp 0.8s var(--sgg-ease-out) 1.1s forwards;
}

/* 目次 */
.sgg-cover-toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  max-width: 660px;
  margin-bottom: 44px;
  opacity: 0;
  animation: sggSlideUp 0.9s var(--sgg-ease-out) 1.2s forwards;
}

.sgg-cover-toc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.5;
}

.sgg-toc-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sgg-gold-light);
  flex-shrink: 0;
  margin-top: 3px;
}

/* CTA ラッパー */
.sgg-cover-cta-wrap {
  opacity: 0;
  animation: sggSlideUp 0.9s var(--sgg-ease-out) 1.4s forwards;
}

/* スクロールヒント */
.sgg-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: sggFadeIn 1s var(--sgg-ease) 2s forwards;
  z-index: 1;
}

.sgg-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4));
  animation: sggScrollPulse 2s ease-in-out infinite;
}

.sgg-scroll-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

@keyframes sggScrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

@keyframes sggSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes sggFadeIn {
  to { opacity: 1; }
}

/* ──────────────────────────────────────────────
   6. 本文ドキュメント領域
────────────────────────────────────────────── */
.sgg-doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* ──────────────────────────────────────────────
   7. チャプター（セクション）共通
────────────────────────────────────────────── */
.sgg-chapter {
  padding: 80px 0 24px;
  border-top: 1px solid var(--sgg-border);
  margin-top: 80px;
}

.sgg-chapter:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 80px;
}

.sgg-chapter-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--sgg-sage);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sgg-chapter-num::after {
  content: '';
  flex: 0 0 36px;
  height: 1px;
  background: var(--sgg-sage);
  opacity: 0.5;
}

.sgg-chapter-title {
  font-family: var(--sgg-font-serif);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--sgg-ink);
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}

.sgg-chapter-subtitle {
  font-size: 13.5px;
  color: var(--sgg-ink-muted);
  margin-bottom: 40px;
  font-weight: 300;
}

/* ──────────────────────────────────────────────
   8. タイポグラフィ補助
────────────────────────────────────────────── */
.sgg-lead {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 2;
  color: var(--sgg-ink-soft);
  font-weight: 300;
  margin-bottom: 32px;
}

.sgg-h3 {
  font-family: var(--sgg-font-serif);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: var(--sgg-ink);
  margin: 44px 0 16px;
  letter-spacing: -0.01em;
}

/* ──────────────────────────────────────────────
   9. ハイライトボックス
────────────────────────────────────────────── */
.sgg-highlight {
  background: var(--sgg-sage-pale);
  border-left: 3px solid var(--sgg-sage);
  padding: 20px 24px;
  border-radius: 0 var(--sgg-radius) var(--sgg-radius) 0;
  margin: 28px 0;
}

.sgg-highlight p {
  margin: 0;
  color: var(--sgg-ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.sgg-highlight p + p { margin-top: 10px; }

.sgg-highlight-gold {
  background: var(--sgg-gold-pale);
  border-left-color: var(--sgg-gold);
}

.sgg-highlight-teal {
  background: var(--sgg-smoky-light);
  border-left-color: var(--sgg-smoky);
}

/* ──────────────────────────────────────────────
   10. 画像パネル（UI演出要素）
────────────────────────────────────────────── */
.sgg-img-panel {
  position: relative;
  width: 100%;
  margin: 36px 0;
  border-radius: var(--sgg-radius-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.995);
  transition: opacity 0.9s var(--sgg-ease), transform 0.9s var(--sgg-ease);
  box-shadow: 0 8px 48px rgba(42, 45, 30, 0.12);
}

.sgg-img-panel.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sgg-img-panel--wide {
  margin-left: clamp(-20px, -4vw, -48px);
  margin-right: clamp(-20px, -4vw, -48px);
  border-radius: 0;
}

.sgg-img-panel--inline {
  margin: 20px 0 24px;
  border-radius: var(--sgg-radius);
}

.sgg-img-panel-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 8s linear;
  display: block;
}

.sgg-img-panel.is-visible .sgg-img-panel-img {
  transform: scale(1.02);
}

.sgg-img-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(42, 45, 30, 0.25) 100%
  );
  pointer-events: none;
}

/* ──────────────────────────────────────────────
   11. 2種類の再現性カード（type-split）
────────────────────────────────────────────── */
.sgg-type-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

@media (max-width: 600px) {
  .sgg-type-split { grid-template-columns: 1fr; }
}

.sgg-type-card {
  border-radius: var(--sgg-radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.3s var(--sgg-ease);
}

.sgg-type-card:hover {
  box-shadow: 0 6px 32px rgba(74, 92, 47, 0.12);
}

.sgg-type-universal {
  background: var(--sgg-sage-light);
  border: 1px solid rgba(122, 145, 96, 0.3);
}

.sgg-type-personal {
  background: var(--sgg-smoky-light);
  border: 1px solid rgba(143, 168, 122, 0.3);
}

.sgg-type-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.sgg-type-universal .sgg-type-badge {
  background: var(--sgg-olive);
  color: #ffffff;
}

.sgg-type-personal .sgg-type-badge {
  background: var(--sgg-sage);
  color: #ffffff;
}

.sgg-type-card-title {
  font-family: var(--sgg-font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--sgg-ink);
  margin: 0 0 10px;
}

.sgg-type-card p {
  font-size: 13px;
  margin: 0;
  color: var(--sgg-ink-soft);
  line-height: 1.8;
}

.sgg-type-list {
  padding-left: 16px;
  margin-top: 12px;
  list-style: disc;
}

.sgg-type-list li {
  font-size: 13px;
  color: var(--sgg-ink-soft);
  line-height: 1.7;
  margin-bottom: 3px;
}

/* ──────────────────────────────────────────────
   12. 理由カードグリッド（reason-grid）
────────────────────────────────────────────── */
.sgg-reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

@media (max-width: 600px) {
  .sgg-reason-grid { grid-template-columns: 1fr; }
}

.sgg-reason-card {
  background: var(--sgg-surface-alt);
  border: 1px solid var(--sgg-border);
  border-radius: var(--sgg-radius-lg);
  padding: 26px 22px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.sgg-reason-card:hover {
  border-color: var(--sgg-sage);
  box-shadow: 0 4px 20px rgba(74, 92, 47, 0.08);
}

.sgg-reason-icon {
  width: 36px;
  height: 36px;
  background: var(--sgg-sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--sgg-olive);
  margin-bottom: 16px;
}

.sgg-reason-title {
  font-family: var(--sgg-font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--sgg-ink);
  margin: 0 0 10px;
  line-height: 1.4;
}

.sgg-reason-card p {
  font-size: 13px;
  line-height: 1.78;
  color: var(--sgg-ink-muted);
  margin: 0;
}

/* ──────────────────────────────────────────────
   13. ステップリスト（steps-list）
────────────────────────────────────────────── */
.sgg-steps-list {
  border: 1px solid var(--sgg-border);
  border-radius: var(--sgg-radius-lg);
  overflow: hidden;
  margin: 28px 0;
}

.sgg-step-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--sgg-border-soft);
  transition: background 0.15s;
}

.sgg-step-row:last-child { border-bottom: none; }
.sgg-step-row:hover { background: var(--sgg-ivory); }

.sgg-step-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.sgg-step-icon--fail  { background: #fdf0f0; color: #c05050; }
.sgg-step-icon--ok    { background: var(--sgg-sage-light); color: var(--sgg-olive); }
.sgg-step-icon--arrow { background: var(--sgg-gold-pale); color: var(--sgg-gold); }
.sgg-step-icon--num   { background: var(--sgg-sage-light); color: var(--sgg-olive); }

.sgg-step-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--sgg-ink);
  margin: 0 0 5px;
}

.sgg-step-content p {
  font-size: 13px;
  color: var(--sgg-ink-muted);
  margin: 0;
  line-height: 1.75;
}

/* ──────────────────────────────────────────────
   14. 7つの型グリッド（seven-grid）
────────────────────────────────────────────── */
.sgg-seven-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.sgg-type-tile {
  border: 1px solid var(--sgg-border);
  border-radius: var(--sgg-radius-lg);
  padding: 22px 20px;
  background: var(--sgg-surface);
  transition: border-color 0.25s var(--sgg-ease), box-shadow 0.25s var(--sgg-ease), transform 0.25s var(--sgg-ease);
}

.sgg-type-tile:hover {
  border-color: var(--sgg-sage);
  box-shadow: 0 6px 28px rgba(74, 92, 47, 0.10);
  transform: translateY(-2px);
}

.sgg-type-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--sgg-sage);
  letter-spacing: 0.18em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.sgg-type-tile-title {
  font-family: var(--sgg-font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--sgg-ink);
  margin: 0 0 6px;
}

.sgg-type-hook {
  font-size: 12px;
  color: var(--sgg-olive);
  font-weight: 700;
  margin-bottom: 12px;
}

.sgg-type-tile-list {
  padding-left: 14px;
  margin: 0 0 12px;
  list-style: disc;
}

.sgg-type-tile-list li {
  font-size: 12px;
  color: var(--sgg-ink-muted);
  line-height: 1.68;
  margin-bottom: 3px;
}

.sgg-reason-badge {
  display: inline-block;
  font-size: 11px;
  background: var(--sgg-sage-light);
  color: var(--sgg-olive);
  padding: 3px 10px;
  border-radius: 100px;
  line-height: 1.6;
}

/* ──────────────────────────────────────────────
   15. テーブル
────────────────────────────────────────────── */
.sgg-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--sgg-radius-lg);
  border: 1px solid var(--sgg-border);
  -webkit-overflow-scrolling: touch;
}

.sgg-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 480px;
}

.sgg-table-wrap thead th {
  background: var(--sgg-dark-green);
  color: rgba(255, 255, 255, 0.9);
  padding: 13px 18px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: left;
}

.sgg-table-wrap tbody tr {
  border-bottom: 1px solid var(--sgg-border-soft);
}

.sgg-table-wrap tbody tr:last-child { border-bottom: none; }

.sgg-table-wrap tbody tr:nth-child(even) {
  background: var(--sgg-ivory);
}

.sgg-table-wrap tbody td {
  padding: 12px 18px;
  color: var(--sgg-ink-soft);
  vertical-align: top;
  line-height: 1.7;
}

.sgg-table-wrap tbody td:first-child {
  font-weight: 600;
  color: var(--sgg-ink);
  white-space: nowrap;
}

/* ──────────────────────────────────────────────
   16. サマリーテーブル（ロードマップ概要）
────────────────────────────────────────────── */
.sgg-summary-table {
  border: 1px solid var(--sgg-border);
  border-radius: var(--sgg-radius-lg);
  overflow: hidden;
  margin: 28px 0;
}

.sgg-summary-row {
  display: grid;
  grid-template-columns: 88px 1fr 1fr;
  border-bottom: 1px solid var(--sgg-border-soft);
}

.sgg-summary-row:last-child { border-bottom: none; }

.sgg-summary-row--header {
  background: var(--sgg-dark-green);
}

.sgg-summary-row--header .sgg-summary-cell {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.sgg-summary-cell {
  padding: 12px 18px;
  font-size: 13.5px;
  color: var(--sgg-ink-soft);
  display: flex;
  align-items: center;
  line-height: 1.6;
  border-right: 1px solid var(--sgg-border-soft);
}

.sgg-summary-cell:last-child { border-right: none; }
.sgg-summary-cell:first-child { font-weight: 700; color: var(--sgg-olive); }

.sgg-summary-row:nth-child(even) .sgg-summary-cell { background: var(--sgg-ivory); }

@media (max-width: 480px) {
  .sgg-summary-row {
    grid-template-columns: 72px 1fr;
  }
  .sgg-summary-cell:last-child {
    grid-column: 2;
    border-top: 1px solid var(--sgg-border-soft);
    padding-top: 6px;
    align-items: flex-start;
    font-size: 12px;
    color: var(--sgg-ink-muted);
  }
}

/* ──────────────────────────────────────────────
   17. Weekブロック（ロードマップ詳細）
────────────────────────────────────────────── */
.sgg-week-block {
  background: var(--sgg-surface);
  border: 1px solid var(--sgg-border);
  border-radius: var(--sgg-radius-lg);
  overflow: hidden;
  margin: 28px 0;
  transition: box-shadow 0.3s var(--sgg-ease);
}

.sgg-week-block:hover {
  box-shadow: 0 6px 32px rgba(42, 45, 30, 0.09);
}

.sgg-week-header {
  padding: 18px 24px;
  background: var(--sgg-dark-green);
  display: flex;
  align-items: center;
  gap: 18px;
}

.sgg-week-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sgg-week-header-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sgg-week-header-sub {
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 300;
  margin-top: 2px;
}

.sgg-day-block {
  padding: 20px 24px;
  border-bottom: 1px solid var(--sgg-border-soft);
}

.sgg-day-block:last-child { border-bottom: none; }

.sgg-day-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--sgg-sage);
  letter-spacing: 0.22em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.sgg-day-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--sgg-ink);
  margin-bottom: 12px;
}

.sgg-day-list {
  padding-left: 16px;
  list-style: disc;
}

.sgg-day-list li {
  font-size: 13px;
  color: var(--sgg-ink-muted);
  line-height: 1.7;
  margin-bottom: 4px;
}

.sgg-output-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  background: var(--sgg-smoky-light);
  color: var(--sgg-olive);
  padding: 5px 14px;
  border-radius: 100px;
  margin-top: 14px;
  border: 1px solid rgba(74, 92, 47, 0.15);
}

.sgg-output-pill::before {
  content: '▶';
  font-size: 8px;
  opacity: 0.7;
}

/* ──────────────────────────────────────────────
   18. チェックリスト
────────────────────────────────────────────── */
.sgg-section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 52px 0 28px;
  color: var(--sgg-ink-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sgg-section-divider::before,
.sgg-section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sgg-border);
}

.sgg-checklist-section { margin: 24px 0; }

.sgg-checklist-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--sgg-ink);
  letter-spacing: 0.06em;
  padding: 10px 16px;
  background: var(--sgg-surface-alt);
  border: 1px solid var(--sgg-border);
  border-radius: var(--sgg-radius) var(--sgg-radius) 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sgg-checklist-title::before {
  content: '◆';
  font-size: 8px;
  color: var(--sgg-sage);
}

.sgg-checklist-items {
  border: 1px solid var(--sgg-border);
  border-top: none;
  border-radius: 0 0 var(--sgg-radius) var(--sgg-radius);
  overflow: hidden;
}

.sgg-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--sgg-border-soft);
  font-size: 13.5px;
  color: var(--sgg-ink-soft);
  line-height: 1.6;
  cursor: pointer;
  transition: background 0.12s;
}

.sgg-check-item:last-child { border-bottom: none; }
.sgg-check-item:hover { background: var(--sgg-sage-pale); }

.sgg-chk {
  width: 17px;
  height: 17px;
  accent-color: var(--sgg-olive);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.sgg-check-item.is-checked {
  color: var(--sgg-ink-light);
  text-decoration: line-through;
  background: var(--sgg-sage-light);
}

/* ──────────────────────────────────────────────
   19. チェックリスト進捗バー
────────────────────────────────────────────── */
.sgg-progress-label {
  font-size: 12px;
  color: var(--sgg-ink-muted);
  margin: 24px 0 6px;
  display: flex;
  justify-content: space-between;
}

.sgg-progress-bar-wrap {
  background: var(--sgg-border);
  border-radius: 100px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 36px;
}

.sgg-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--sgg-olive), var(--sgg-sage));
  border-radius: 100px;
  transition: width 0.35s var(--sgg-ease-out);
  width: 0%;
}

/* ──────────────────────────────────────────────
   20. CTA ボタン
────────────────────────────────────────────── */
.sgg-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2vw, 16px) clamp(28px, 5vw, 48px);
  background: var(--sgg-cta-color, #4a5c2f);
  color: #ffffff;
  font-family: var(--sgg-font-sans);
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 700;
  letter-spacing: 0.10em;
  border-radius: var(--sgg-radius);
  min-height: 52px;
  min-width: 180px;
  text-decoration: none;
  transition: filter 0.25s var(--sgg-ease), transform 0.25s var(--sgg-ease), box-shadow 0.25s var(--sgg-ease);
  box-shadow: 0 4px 20px rgba(74, 92, 47, 0.32);
  white-space: nowrap;
}

.sgg-cta-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(74, 92, 47, 0.38);
}

.sgg-cta-btn--large {
  padding: clamp(14px, 2.5vw, 20px) clamp(36px, 6vw, 64px);
  font-size: clamp(15px, 2vw, 18px);
  border-radius: var(--sgg-radius-lg);
  min-height: 60px;
}

.sgg-cta-subtext {
  font-size: 12px;
  color: var(--sgg-ink-muted);
  margin: 12px 0 0;
  letter-spacing: 0.05em;
}

.sgg-cta-subtext--light {
  color: rgba(255, 255, 255, 0.45);
}

/* ──────────────────────────────────────────────
   21. CTAブロック（クロージング内）
────────────────────────────────────────────── */
.sgg-cta-block {
  text-align: center;
  margin: 40px 0 24px;
}

/* ──────────────────────────────────────────────
   22. クロージングセクション
────────────────────────────────────────────── */
.sgg-closing {
  position: relative;
  padding: clamp(72px, 10vw, 120px) clamp(24px, 6vw, 80px);
  margin-top: 80px;
  overflow: hidden;
  background: var(--sgg-dark-green);
}

/* 背景画像 */
.sgg-closing-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sgg-closing-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1.2s var(--sgg-ease);
}

.sgg-closing-bg-wrap.is-visible .sgg-closing-bg-img {
  opacity: 1;
}

.sgg-closing-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(29, 38, 16, 0.90) 0%, rgba(45, 61, 26, 0.78) 50%, rgba(29, 38, 16, 0.88) 100%),
    radial-gradient(ellipse 60% 80% at 50% 110%, rgba(154, 122, 53, 0.15) 0%, transparent 60%);
}

.sgg-closing-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.sgg-closing-title {
  font-family: var(--sgg-font-serif);
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

.sgg-closing-title span { color: var(--sgg-sage); }

.sgg-closing-body {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}

/* 数式 */
.sgg-closing-formula {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 36px 0;
}

.sgg-formula-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.2s;
}

.sgg-formula-pill:hover {
  background: rgba(255, 255, 255, 0.14);
}

.sgg-formula-x {
  font-size: 18px;
  color: var(--sgg-gold-light);
  font-weight: 700;
}

.sgg-closing-footnote {
  margin-top: 32px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1.8;
}

/* ──────────────────────────────────────────────
   23. フローティングCTA（モバイル専用）
   JSから動的に追加するため、スタイルはJSインラインで管理
────────────────────────────────────────────── */

/* ──────────────────────────────────────────────
   24. レスポンシブ最適化
────────────────────────────────────────────── */
@media (max-width: 767px) {
  /* チャプター */
  .sgg-chapter { padding: 60px 0 20px; margin-top: 60px; }
  .sgg-chapter:first-child { padding-top: 60px; }

  /* 週ブロック */
  .sgg-week-header { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* テーブルスクロール */
  .sgg-table-wrap { font-size: 12.5px; }

  /* クロージング */
  .sgg-closing { padding: 72px 24px; }

  /* 数式縦並び */
  .sgg-closing-formula { flex-direction: column; align-items: center; }
  .sgg-formula-x { transform: rotate(90deg); }
}

@media (max-width: 480px) {
  /* 目次 */
  .sgg-cover-toc { grid-template-columns: 1fr; }

  /* サマリーテーブル */
  .sgg-summary-row { grid-template-columns: 64px 1fr; }

  /* Weekブロック余白 */
  .sgg-day-block { padding: 16px 18px; }
  .sgg-week-header { padding: 14px 18px; }
}

/* ──────────────────────────────────────────────
   25. タッチ領域最小44px保証
────────────────────────────────────────────── */
.sgg-cta-btn,
.sgg-check-item,
.sgg-nav-links li a {
  min-height: 44px;
}

/* ──────────────────────────────────────────────
   26. フォーカスアクセシビリティ
────────────────────────────────────────────── */
.sgg-cta-btn:focus-visible,
.sgg-nav-logo:focus-visible,
.sgg-nav-links li a:focus-visible {
  outline: 2px solid var(--sgg-gold-light);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ──────────────────────────────────────────────
   27. 印刷スタイル
────────────────────────────────────────────── */
@media print {
  .sgg-nav,
  .sgg-progress,
  .sgg-scroll-hint { display: none !important; }
  .sgg-cover { min-height: auto; page-break-after: always; }
  .sgg-chapter { page-break-before: always; }
  .sgg-week-block,
  .sgg-checklist-section,
  .sgg-check-item { break-inside: avoid; }
  .sgg-reveal { opacity: 1 !important; transform: none !important; }
}
