/**
 * Agentic Network LP — agentic-network-lp.css
 *
 * 設計思想:
 *   - #anlp-root 配下のみ完全独立デザイン
 *   - Cocoon / entry-content / article 干渉を完全排除
 *   - CSS カスタムプロパティで全色・全値を管理
 *   - モバイルファースト + clamp() 流体タイポグラフィ
 *   - アニメーションは opacity / transform / filter のみ使用
 *
 * @package cocoon-child-master
 */

/* ================================================================
   1. COCOON 干渉リセット — all:unset 廃止・具体的プロパティで制御
   ================================================================ */

/*
 * all:unset はフォントサイズ・行高・継承色までリセットするため
 * Cocoon 子孫要素の表示崩れを誘発する。
 * 必要なプロパティのみを明示的に上書きする方式に変更。
 */
.agentic-network-lp .article,
.agentic-network-lp .entry-content,
.agentic-network-lp .main,
.agentic-network-lp .content,
.agentic-network-lp .wrap,
.agentic-network-lp #main,
.agentic-network-lp #body-in,
.agentic-network-lp #container,
.agentic-network-lp #container-in,
.agentic-network-lp #contents,
.agentic-network-lp #contents-in {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  float: none !important;
  position: static !important;
  overflow: visible !important;   /* ← 内側スクロールバー完全排除 */
  height: auto !important;        /* ← Cocoon の height:100vh / height:100% を解除 */
  min-height: 0 !important;       /* ← min-height 制限解除 */
  flex: none !important;          /* ← flexbox 子要素としての高さ拘束を解除 */
}

/* Cocoon サイドバーを非表示 */
.agentic-network-lp #sidebar,
.agentic-network-lp .sidebar,
.agentic-network-lp #sidebar-scroll,
.agentic-network-lp .sidebar-top,
.agentic-network-lp .sidebar-bottom {
  display: none !important;
}

/* Cocoon 標準フッターを非表示（footer_tp で代替） */
.agentic-network-lp #footer:not(.tp-footer),
.agentic-network-lp .site-footer:not(.tp-footer),
.agentic-network-lp .footer:not(.tp-footer) {
  display: none !important;
}

/* #anlp-root は padding なし（tp-header fixed 対応済） */
body.agentic-network-lp #anlp-root {
  padding-top: 0;
}

/* ================================================================
   2. CSS カスタムプロパティ（全色・全値）
   ================================================================ */
#anlp-root {
  /* ─ カラーパレット ─ */
  --anlp-deep-forest:     #071a07;
  --anlp-forest-dark:     #0d2610;
  --anlp-forest-mid:      #163a18;
  --anlp-forest-base:     #1e5022;
  --anlp-forest-light:    #2a6b2e;
  --anlp-metallic-green:  #3d7a42;
  --anlp-sage:            #5a9460;

  --anlp-gold-deep:       #7a5c0f;
  --anlp-gold-mid:        #b8930a;
  --anlp-gold:            #c9a433;
  --anlp-gold-bright:     #d4af37;
  --anlp-gold-yellow:     #e8c547;
  --anlp-gold-light:      #f5d96b;

  --anlp-red-warm:        #b5451b;
  --anlp-red-bright:      #d4521e;
  --anlp-red-base:        #c0392b;

  --anlp-cream:           #f5f0e8;
  --anlp-cream-light:     #faf7f2;
  --anlp-text-primary:    #f0e8d0;
  --anlp-text-secondary:  #c8bda0;
  --anlp-text-muted:      #8a7d65;

  --anlp-border-gold:     rgba(201, 164, 51, 0.3);
  --anlp-glow-gold:       rgba(212, 175, 55, 0.15);
  --anlp-glow-green:      rgba(61, 122, 66, 0.2);

  /* ─ タイポグラフィ ─ */
  --anlp-font-serif:      'Noto Serif JP', serif;
  --anlp-font-sans:       'Noto Sans JP', sans-serif;
  --anlp-font-display:    'Cinzel', serif;
  --anlp-font-italic:     'Cormorant Garamond', serif;

  /* ─ スペーシング ─ */
  --anlp-section-py:      clamp(4rem, 8vw, 8rem);
  --anlp-container-max:   1100px;
  --anlp-radius:          4px;

  /* ─ トランジション ─ */
  --anlp-transition-base: 0.35s ease;
  --anlp-transition-slow: 0.8s ease;
}

/* ================================================================
   3. GLOBAL RESET — #anlp-root スコープ
   【設計原則】
   ・box-sizing のみ全称リセット（margin/padding は各コンポーネントで管理）
   ・#anlp-root * に margin:0/padding:0 を当てると、後続の
     クラスセレクター（詳細度0,1,0）がID+全称（詳細度1,0,0）に
     負け続けて全余白が消える——これが「詰め詰め」の根本原因
   ================================================================ */
#anlp-root,
#anlp-root *,
#anlp-root *::before,
#anlp-root *::after {
  box-sizing: border-box;
}

/* margin / padding は「明示的に0にすべき要素」だけに限定してリセット */
#anlp-root h1,
#anlp-root h2,
#anlp-root h3,
#anlp-root h4,
#anlp-root h5,
#anlp-root h6,
#anlp-root p,
#anlp-root ul,
#anlp-root ol,
#anlp-root li,
#anlp-root figure,
#anlp-root blockquote,
#anlp-root dl,
#anlp-root dd {
  margin: 0;
  padding: 0;
}

/* リスト記号はコンポーネント内で::before擬似要素管理のため非表示 */
#anlp-root ul,
#anlp-root ol {
  list-style: none;
}

#anlp-root {
  background-color: var(--anlp-deep-forest);
  color: var(--anlp-text-primary);
  font-family: var(--anlp-font-sans);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: clip;
  overflow-y: visible;
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  /* ★ 日本語テキストの自然な改行制御 */
  overflow-wrap: break-word;
  word-break: normal;            /* フォールバック（Firefox / Safari） */
  word-break: auto-phrase;       /* Chrome 119+対応：文節で改行 */
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* ★ big-quote、intro-main など大きいテキストは強制改行しない */
.anlp-big-quote,
.anlp-intro-main,
.anlp-cta-title,
.anlp-section-title,
.anlp-hero__title {
  word-break: keep-all;          /* 日本語：単語を壊さない */
  overflow-wrap: break-word;
}

/* ★ 本文テキスト全般 */
.anlp-section-body,
.anlp-intro-body,
.anlp-cat-card__sub,
.anlp-cat-note,
.anlp-science-card p,
.anlp-timeline-text,
.anlp-action-card__body,
.anlp-water-metaphor p,
.anlp-node-type-card__desc {
  word-break: normal;            /* フォールバック（Firefox / Safari） */
  word-break: auto-phrase;       /* Chrome 119+対応：文節で改行 */
  overflow-wrap: break-word;
}

/* ノイズテクスチャーオーバーレイ */
#anlp-root::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ================================================================
   4. スクロールプログレスバー
   ※ tp-header.php の tph-progress に統合済み
      LP 独自の #anlp-progress は HTML・CSS ともに廃止
   ================================================================ */

/* tph-progress の色を LP のブランドカラーに合わせる（上書き） */
body.agentic-network-lp .tph-progress-bar {
  background: linear-gradient(
    90deg,
    #b8930a,
    #e8c547,
    #d4521e
  );
}

/* ================================================================
   5. 共通ユーティリティ
   ================================================================ */
.anlp-container {
  max-width: var(--anlp-container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  position: relative;
  z-index: 1;
}

.anlp-section {
  position: relative;
  z-index: 1;
  padding: var(--anlp-section-py) 0;
}

.anlp-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--anlp-border-gold),
    transparent
  );
}

.anlp-text-center { text-align: center; }
.anlp-gold        { color: var(--anlp-gold-bright); }
.anlp-red-gold    { color: var(--anlp-red-bright); }
.anlp-red         { color: var(--anlp-red-bright); }
.anlp-green       { color: var(--anlp-sage); }

/* グラデーションテキスト */
.anlp-text-gold {
  background: linear-gradient(135deg, var(--anlp-gold-mid), var(--anlp-gold-yellow), var(--anlp-gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.anlp-text-red {
  background: linear-gradient(135deg, var(--anlp-red-warm), var(--anlp-red-bright), var(--anlp-gold-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   6. セクション共通タイポグラフィ
   ================================================================ */
.anlp-eyebrow {
  font-family: var(--anlp-font-display);
  font-size: clamp(0.65rem, 1.5vw, 0.78rem);
  letter-spacing: 0.5em;
  color: var(--anlp-gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.anlp-section-label {
  font-family: var(--anlp-font-display);
  font-size: clamp(0.62rem, 1.5vw, 0.72rem);
  letter-spacing: 0.5em;
  color: var(--anlp-gold);
  text-transform: uppercase;
  /* ★ 上に大きめの余白（前Chapterとの区切り感）、下も調整 */
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.anlp-section-label::before {
  /* ★ 左にも短い線を追加して対称性を演出 */
  content: '';
  flex: 0 0 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--anlp-gold));
}
.anlp-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--anlp-gold), transparent);
  max-width: 80px;
}

/* ★ 各セクション本体の上部にも余白を確保（前Chapterとの境界を明確化） */
.anlp-section {
  position: relative;
  z-index: 1;
  padding: var(--anlp-section-py) 0;
}

/* ★ divider（区切り線）の上下に余白ゾーンを追加 */
.anlp-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--anlp-border-gold),
    transparent
  );
  margin: 0; /* セクション自体のpaddingで制御するためここは0 */
}

.anlp-section-title {
  font-family: var(--anlp-font-serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.4;
  margin-bottom: 2rem;           /* ★ 1.5rem → 2rem に増量 */
}

.anlp-section-title--small {
  font-size: 0.45em;
  color: var(--anlp-text-muted);
  font-weight: 400;
}

.anlp-section-body {
  font-size: clamp(0.95rem, 2vw, 1.02rem);
  color: var(--anlp-text-secondary);
  line-height: 2.2;
  max-width: 720px;
}

.anlp-big-quote {
  font-family: var(--anlp-font-italic);
  font-style: italic;
  font-size: clamp(1.1rem, 2.8vw, 2rem);
  font-weight: 300;
  color: var(--anlp-text-secondary);
  text-align: center;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}
.anlp-big-quote strong {
  color: var(--anlp-gold-yellow);
  font-style: normal;
  font-weight: 600;
}

/* ================================================================
   7. スクロールリビール アニメーション
   ================================================================ */
.anlp-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--anlp-transition-slow), transform var(--anlp-transition-slow);
  will-change: opacity, transform;
}
.anlp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ディレイバリアント */
.anlp-reveal--d1 { transition-delay: 0.1s; }
.anlp-reveal--d2 { transition-delay: 0.2s; }
.anlp-reveal--d3 { transition-delay: 0.3s; }
.anlp-reveal--d4 { transition-delay: 0.4s; }
.anlp-reveal--d5 { transition-delay: 0.5s; }

/* ================================================================
   8. 画像ユーティリティ
   ================================================================ */
.anlp-img-fluid {
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;             /* ★ 左右autoで確実に中央揃え */
  margin-right: auto;
}
.anlp-img-rounded {
  border-radius: var(--anlp-radius);
  border: 1px solid rgba(201, 164, 51, 0.15);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35); /* ★ 立体感を追加 */
}
.anlp-section-img {
  margin: clamp(2.5rem, 5vw, 4rem) auto; /* ★ 上下余白を増量、autoで中央揃え */
  max-width: 100%;
  width: 100%;
  display: block;
}
/* ★ anlp-what__visual内の画像（Chapter02）は最大幅制御が必要 */
.anlp-what__visual .anlp-img-fluid {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   9. HERO
   ================================================================ */
.anlp-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  /* ★ tp-header高さ(68px想定)分を上部パディングに追加、下部はscroll-hint用に十分確保 */
  padding: clamp(8rem, 14vw, 11rem) 2rem clamp(6rem, 10vw, 8rem);
  overflow: hidden;
}

/* 背景画像 */
.anlp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.anlp-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.anlp-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,26,7,0.72) 0%, rgba(7,26,7,0.55) 50%, rgba(7,26,7,0.85) 100%),
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(30,80,34,0.35) 0%, transparent 70%);
}

/* パルスリング */
.anlp-hero__rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.anlp-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: anlp-pulse-ring 6s ease-in-out infinite;
}
.anlp-ring--1 { width: min(300px, 80vw);  height: min(300px, 80vw);  border-color: rgba(201,164,51,0.12); animation-delay: 0s; }
.anlp-ring--2 { width: min(500px, 130vw); height: min(500px, 130vw); border-color: rgba(201,164,51,0.08); animation-delay: 1s; }
.anlp-ring--3 { width: min(700px, 180vw); height: min(700px, 180vw); border-color: rgba(61,122,66,0.06);  animation-delay: 2s; }
.anlp-ring--4 { width: min(900px, 230vw); height: min(900px, 230vw); border-color: rgba(61,122,66,0.04);  animation-delay: 3s; }

@keyframes anlp-pulse-ring {
  0%, 100% { transform: scale(1);    opacity: 0.5; }
  50%       { transform: scale(1.05); opacity: 1;   }
}

/* ヒーローコンテンツ */
.anlp-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
}

.anlp-hero__title {
  font-family: var(--anlp-font-serif);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: anlp-fade-up 1s ease forwards 0.6s;
}
.anlp-hero__title-line { display: inline; }

.anlp-hero__subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  color: var(--anlp-text-secondary);
  max-width: 680px;
  width: 100%;
  margin: 0 auto 2.5rem;
  line-height: 2;
  text-align: center;           /* ★ 明示的にcenterを指定 */
  opacity: 0;
  animation: anlp-fade-up 1s ease forwards 0.9s;
}
.anlp-hero__subtitle strong {
  color: var(--anlp-text-primary);
  font-weight: 500;
  display: inline;              /* ★ inlineを明示してインデントのズレ防止 */
}

.anlp-hero__badge {
  display: inline-block;
  padding: 0.6rem 2rem;
  border: 1px solid var(--anlp-gold);
  border-radius: 2px;
  font-family: var(--anlp-font-display);
  font-size: clamp(0.7rem, 1.5vw, 0.82rem);
  letter-spacing: 0.25em;
  color: var(--anlp-gold);
  text-transform: uppercase;
  opacity: 0;
  animation: anlp-fade-up 1s ease forwards 1.2s;
  position: relative;
  overflow: hidden;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.anlp-hero__badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,164,51,0.1), transparent);
}

/* スクロール誘導 */
.anlp-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;                    /* ★ バッジ(z-index:2想定)より上に */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: anlp-fade-up 1s ease forwards 2s;
  cursor: pointer;               /* ★ クリッカブルを明示 */
  text-decoration: none;
  -webkit-tap-highlight-color: transparent; /* ★ スマホのタップ青枠消去 */
  padding: 0.5rem;               /* ★ タップ領域を広げる */
}
.anlp-scroll-hint:hover .anlp-scroll-line,
.anlp-scroll-hint:focus .anlp-scroll-line {
  opacity: 1;
}
.anlp-scroll-hint span {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  color: var(--anlp-text-muted);
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.anlp-scroll-hint:hover span {
  color: var(--anlp-gold);
}
.anlp-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--anlp-gold), transparent);
  animation: anlp-scroll-pulse 2s ease-in-out infinite;
}
@keyframes anlp-scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1);   }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ================================================================
   10. HERO アニメーション（Eyebrow 含む）
   ================================================================ */
.anlp-hero .anlp-eyebrow {
  opacity: 0;
  animation: anlp-fade-up 1s ease forwards 0.3s;
}

@keyframes anlp-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ================================================================
   11. INTRO カード（Chapter 01）
   ================================================================ */
.anlp-intro {
  background: linear-gradient(180deg, var(--anlp-deep-forest) 0%, var(--anlp-forest-dark) 100%);
}

.anlp-intro-card {
  background: linear-gradient(135deg, rgba(30,80,34,0.2), rgba(7,26,7,0.4));
  border: 1px solid var(--anlp-border-gold);
  border-radius: var(--anlp-radius);
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.anlp-intro-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--anlp-gold-mid),
    var(--anlp-gold-yellow),
    var(--anlp-red-bright),
    var(--anlp-gold-mid)
  );
}
.anlp-intro-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(201,164,51,0.05), transparent 60%);
  pointer-events: none;
}

.anlp-intro-main {
  font-family: var(--anlp-font-serif);
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.8;
  color: var(--anlp-text-primary);
  margin-bottom: 1.5rem;
}
.anlp-highlight-gold { color: var(--anlp-gold-yellow); }
.anlp-highlight-red  { color: var(--anlp-red-bright);  }

.anlp-intro-body {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--anlp-text-secondary);
  line-height: 2.2;
}

/* インフラチェーン */
.anlp-chain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: rgba(7,26,7,0.5);
  border: 1px solid var(--anlp-border-gold);
  border-radius: var(--anlp-radius);
}
.anlp-chain__item {
  padding: 0.5rem 1.2rem;
  background: rgba(30,80,34,0.3);
  border: 1px solid rgba(201,164,51,0.2);
  border-radius: 2px;
  font-size: clamp(0.78rem, 1.8vw, 0.88rem);
  color: var(--anlp-gold-light);
  font-family: var(--anlp-font-display);
  letter-spacing: 0.1em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.anlp-chain__item--highlight {
  border-color: var(--anlp-gold);
  color: var(--anlp-gold-yellow);
  background: rgba(201,164,51,0.08);
}
.anlp-chain__arrow {
  color: var(--anlp-gold-mid);
  font-size: 1.2rem;
  font-weight: 700;
}

/* ================================================================
   12. WHAT IS（Chapter 02）
   ================================================================ */
.anlp-what {
  background: linear-gradient(180deg, var(--anlp-forest-dark) 0%, var(--anlp-forest-mid) 100%);
  position: relative;
  overflow: hidden;
}
.anlp-what::before {
  content: '';
  position: absolute;
  right: -200px; top: 50%;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201,164,51,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.anlp-what__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  margin-top: 3rem;
}

.anlp-what__text p {
  color: var(--anlp-text-secondary);
  line-height: 2.2;
  margin-bottom: 1.5rem;
  font-size: clamp(0.92rem, 2vw, 1.02rem);
}

.anlp-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 2rem;
}
.anlp-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: rgba(30,80,34,0.15);
  border: 1px solid rgba(201,164,51,0.15);
  border-left: 3px solid var(--anlp-gold);
  border-radius: 2px;
  font-size: clamp(0.88rem, 2vw, 0.95rem);
  color: var(--anlp-text-secondary);
  transition: all var(--anlp-transition-base);
  min-height: 44px;
}
.anlp-feature-list li:hover {
  background: rgba(30,80,34,0.3);
  border-left-color: var(--anlp-gold-yellow);
  transform: translateX(4px);
  color: var(--anlp-text-primary);
}
.anlp-feature-list li::before {
  content: '◈';
  color: var(--anlp-gold);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ================================================================
   13. CATEGORIES（Chapter 03）
   ================================================================ */
.anlp-categories {
  background: linear-gradient(180deg, var(--anlp-forest-mid) 0%, var(--anlp-forest-dark) 100%);
}

.anlp-categories__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.anlp-categories__intro p {
  color: var(--anlp-text-secondary);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 2;
  margin-top: 1.5rem;
}

.anlp-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}

.anlp-cat-card {
  background: linear-gradient(160deg, rgba(13,38,16,0.8), rgba(7,26,7,0.9));
  border: 1px solid rgba(201,164,51,0.2);
  border-radius: var(--anlp-radius);
  padding: 2.5rem clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
  transition: transform var(--anlp-transition-base), box-shadow var(--anlp-transition-base), border-color var(--anlp-transition-base);
}
.anlp-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.anlp-cat-card--1::before { background: linear-gradient(90deg, var(--anlp-gold-mid), var(--anlp-gold-yellow)); }
.anlp-cat-card--2::before { background: linear-gradient(90deg, var(--anlp-red-warm), var(--anlp-red-bright));  }
.anlp-cat-card--3::before { background: linear-gradient(90deg, var(--anlp-metallic-green), var(--anlp-sage));  }
.anlp-cat-card--4::before { background: linear-gradient(90deg, var(--anlp-gold-mid), var(--anlp-metallic-green)); }
.anlp-cat-card--5::before { background: linear-gradient(90deg, var(--anlp-gold-yellow), var(--anlp-gold-bright)); }

.anlp-cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,164,51,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(201,164,51,0.08);
}

.anlp-cat-card__num {
  font-family: var(--anlp-font-display);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--anlp-text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.anlp-cat-card__title {
  font-family: var(--anlp-font-serif);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.anlp-cat-card--1 .anlp-cat-card__title { color: var(--anlp-gold-yellow);    }
.anlp-cat-card--2 .anlp-cat-card__title { color: var(--anlp-red-bright);      }
.anlp-cat-card--3 .anlp-cat-card__title { color: var(--anlp-sage);            }
.anlp-cat-card--4 .anlp-cat-card__title { color: var(--anlp-metallic-green);  }
.anlp-cat-card--5 .anlp-cat-card__title { color: var(--anlp-gold-bright);     }

.anlp-cat-card__sub {
  font-size: 0.8rem;
  color: var(--anlp-text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.anlp-cat-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.anlp-cat-items li {
  font-size: clamp(0.82rem, 1.8vw, 0.9rem);
  color: var(--anlp-text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(201,164,51,0.08);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.anlp-cat-items li::before {
  content: '—';
  color: var(--anlp-gold-mid);
  font-size: 0.72rem;
  flex-shrink: 0;
}

.anlp-cat-note {
  font-size: 0.78rem;
  color: var(--anlp-gold);
  line-height: 1.8;
  padding: 0.8rem 1rem;
  background: rgba(201,164,51,0.06);
  border-left: 2px solid var(--anlp-gold);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.anlp-cat-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border: 1px solid;
  border-radius: 2px;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  font-family: var(--anlp-font-display);
  text-transform: uppercase;
  min-height: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.anlp-cat-card--1 .anlp-cat-badge { border-color: var(--anlp-gold-mid);       color: var(--anlp-gold-mid);       }
.anlp-cat-card--2 .anlp-cat-badge { border-color: var(--anlp-red-warm);       color: var(--anlp-red-warm);       }
.anlp-cat-card--3 .anlp-cat-badge { border-color: var(--anlp-sage);           color: var(--anlp-sage);           }
.anlp-cat-card--4 .anlp-cat-badge { border-color: var(--anlp-metallic-green); color: var(--anlp-metallic-green); }
.anlp-cat-card--5 .anlp-cat-badge { border-color: var(--anlp-gold-bright);    color: var(--anlp-gold-bright);    }

/* ================================================================
   14. AI BANNER（Chapter 04）
   ================================================================ */
.anlp-ai-banner {
  background: linear-gradient(135deg, rgba(7,26,7,0.98), rgba(13,38,16,0.95));
  border-top: 1px solid var(--anlp-border-gold);
  border-bottom: 1px solid var(--anlp-border-gold);
}
.anlp-ai-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(201,164,51,0.04), transparent);
  pointer-events: none;
}

.anlp-ai-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 3rem 0;
}
.anlp-ai-bubble {
  padding: 1rem 1.8rem;
  border-radius: var(--anlp-radius);
  font-size: clamp(0.88rem, 2vw, 0.95rem);
  font-weight: 500;
  text-align: center;
  line-height: 1.7;
}
.anlp-ai-bubble--before {
  background: rgba(139,90,43,0.15);
  border: 1px solid rgba(184,147,10,0.3);
  color: var(--anlp-gold);
}
.anlp-ai-bubble--after {
  background: rgba(30,80,34,0.3);
  border: 1px solid rgba(61,122,66,0.5);
  color: var(--anlp-sage);
}
.anlp-ai-arrow {
  font-size: 2rem;
  color: var(--anlp-gold-mid);
  flex-shrink: 0;
}

.anlp-ai-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.anlp-ai-step {
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2rem) 1.5rem;
  background: rgba(13,38,16,0.5);
  border: 1px solid rgba(201,164,51,0.15);
  border-radius: var(--anlp-radius);
  transition: border-color var(--anlp-transition-base);
}
.anlp-ai-step:hover { border-color: rgba(201,164,51,0.35); }
.anlp-ai-step__num {
  font-family: var(--anlp-font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  color: rgba(201,164,51,0.2);
  line-height: 1;
  margin-bottom: 0.8rem;
}
.anlp-ai-step__title {
  font-size: clamp(0.82rem, 1.8vw, 0.9rem);
  color: var(--anlp-gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.anlp-ai-step__body {
  font-size: clamp(0.76rem, 1.6vw, 0.82rem);
  color: var(--anlp-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ================================================================
   15. SCIENCE（Chapter 05）
   ================================================================ */
.anlp-science {
  background: linear-gradient(180deg, var(--anlp-forest-dark) 0%, var(--anlp-deep-forest) 100%);
}

.anlp-science-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.anlp-science-card {
  padding: clamp(1.8rem, 3vw, 2.5rem);
  border: 1px solid rgba(201,164,51,0.15);
  border-radius: var(--anlp-radius);
  background: linear-gradient(160deg, rgba(13,38,16,0.6), rgba(7,26,7,0.8));
  transition: border-color var(--anlp-transition-base), box-shadow var(--anlp-transition-base);
}
.anlp-science-card:hover {
  border-color: rgba(201,164,51,0.35);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.anlp-science-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}
.anlp-science-card__title {
  font-family: var(--anlp-font-serif);
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 700;
  color: var(--anlp-gold-bright);
  margin-bottom: 0.8rem;
}
.anlp-science-card p {
  font-size: clamp(0.86rem, 1.8vw, 0.9rem);
  color: var(--anlp-text-secondary);
  line-height: 2;
  margin: 0;
}
.anlp-science-fact {
  margin-top: 1.2rem;
  padding: 0.8rem 1rem;
  background: rgba(7,26,7,0.5);
  border-left: 2px solid var(--anlp-gold);
  font-size: clamp(0.8rem, 1.7vw, 0.85rem);
  color: var(--anlp-gold-light);
  line-height: 1.7;
}

/* ================================================================
   16. NETWORK（Chapter 06）
   ================================================================ */
.anlp-network {
  background: linear-gradient(180deg, var(--anlp-deep-forest) 0%, var(--anlp-forest-dark) 100%);
  overflow: hidden;
}

.anlp-network__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin-top: 3rem;
}

.anlp-svg-network {
  width: 100%;
  margin-top: 2rem;
  border: 1px solid rgba(201,164,51,0.15);
  border-radius: var(--anlp-radius);
  background: rgba(7,26,7,0.7);
}

/* ================================================================
   16-b. NODE TABLE カラーリデザイン
   ================================================================ */
.anlp-node-table {
  width: 100%;
  border-collapse: separate;     /* ★ separate でborder-radiusを有効に */
  border-spacing: 0;
  margin-top: 1.5rem;
  border-radius: var(--anlp-radius);
  overflow: hidden;
  border: 1px solid rgba(201,164,51,0.2);
}

/* ★ ヘッダー行：深い緑 + ゴールドのグラデーション */
.anlp-node-table thead tr {
  background: linear-gradient(135deg, #1a4a1e, #2a6b2e);
}
.anlp-node-table th {
  font-family: var(--anlp-font-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--anlp-gold-yellow);
  text-transform: uppercase;
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 2px solid var(--anlp-gold-mid);
  white-space: nowrap;
}

/* ★ データ行：段階的に色調を強める（上から下へ濃くなる） */
.anlp-node-table tbody tr:nth-child(1) td {
  background: rgba(42, 107, 46, 0.22);  /* 基幹：最も明るいグリーン */
}
.anlp-node-table tbody tr:nth-child(2) td {
  background: rgba(30, 80, 34, 0.28);
}
.anlp-node-table tbody tr:nth-child(3) td {
  background: rgba(22, 58, 24, 0.32);
}
.anlp-node-table tbody tr:nth-child(4) td {
  background: rgba(13, 38, 16, 0.38);
}
.anlp-node-table tbody tr:nth-child(5) td {
  background: rgba(7, 26, 7, 0.48);    /* 計画：最も濃いダークグリーン */
}

.anlp-node-table td {
  padding: 0.9rem 1.2rem;
  font-size: clamp(0.78rem, 1.7vw, 0.85rem);
  color: var(--anlp-text-secondary);
  border-bottom: 1px solid rgba(201,164,51,0.1);
  line-height: 1.7;
  vertical-align: middle;        /* ★ top → middle で縦揃えを改善 */
  /* ★ 白抜き防止：backgroundをtransparentにリセット */
  background-clip: padding-box;
}

/* ★ 最終行のborder-bottomを消す */
.anlp-node-table tbody tr:last-child td {
  border-bottom: none;
}

/* ★ ホバー時にゴールドのハイライト */
.anlp-node-table tr:hover td {
  color: var(--anlp-text-primary);
  background: rgba(201,164,51,0.09) !important; /* !important で個別行色を上書き */
  transition: background 0.25s ease, color 0.25s ease;
}

.anlp-node-type {
  color: var(--anlp-gold-bright);
  font-weight: 600;
  white-space: nowrap;
  font-size: clamp(0.8rem, 1.8vw, 0.88rem);
}

/* ★ ノードラベルバッジのカラーを各行に対応 */
.anlp-node-label {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  font-size: 0.7rem;
  font-family: var(--anlp-font-display);
  letter-spacing: 0.1em;
  border: 1px solid;
  white-space: nowrap;
  font-weight: 600;
}
.anlp-node-label--infra   {
  border-color: var(--anlp-gold-yellow);
  color: var(--anlp-gold-yellow);
  background: rgba(232, 197, 71, 0.1);
}
.anlp-node-label--health  {
  border-color: var(--anlp-red-bright);
  color: var(--anlp-red-bright);
  background: rgba(212, 82, 30, 0.1);
}
.anlp-node-label--support {
  border-color: var(--anlp-sage);
  color: var(--anlp-sage);
  background: rgba(90, 148, 96, 0.1);
}
.anlp-node-label--move    {
  border-color: var(--anlp-metallic-green);
  color: var(--anlp-metallic-green);
  background: rgba(61, 122, 66, 0.1);
}
.anlp-node-label--future  {
  border-color: var(--anlp-gold-bright);
  color: var(--anlp-gold-bright);
  background: rgba(201, 164, 51, 0.1);
}

/* ★ スマホ・タブレット：テーブルを横スクロール対応 */
.anlp-node-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--anlp-radius);
  /* スクロール可能であることを視覚的にヒント */
  scrollbar-width: thin;
  scrollbar-color: rgba(201,164,51,0.4) rgba(7,26,7,0.5);
}
.anlp-node-table-wrapper::-webkit-scrollbar {
  height: 4px;
}
.anlp-node-table-wrapper::-webkit-scrollbar-track {
  background: rgba(7,26,7,0.5);
}
.anlp-node-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(201,164,51,0.4);
  border-radius: 2px;
}

/* ================================================================
   17. DANGER（Chapter 07）
   ================================================================ */
.anlp-danger {
  background: linear-gradient(180deg, var(--anlp-forest-dark) 0%, rgba(40,12,8,0.95) 100%);
}
.anlp-danger::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(192,57,43,0.05), transparent 70%);
  pointer-events: none;
}

.anlp-danger-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.anlp-danger-card {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--anlp-radius);
}
.anlp-danger-card--outside {
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.3);
}
.anlp-danger-card--inside {
  background: rgba(30,80,34,0.12);
  border: 1px solid rgba(61,122,66,0.3);
}
.anlp-danger-card__label {
  font-family: var(--anlp-font-display);
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.anlp-danger-card--outside .anlp-danger-card__label { color: var(--anlp-red-bright); }
.anlp-danger-card--inside  .anlp-danger-card__label { color: var(--anlp-sage);       }

.anlp-danger-card__title {
  font-family: var(--anlp-font-serif);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.anlp-danger-card--outside .anlp-danger-card__title { color: var(--anlp-red-bright); }
.anlp-danger-card--inside  .anlp-danger-card__title { color: var(--anlp-sage);       }

.anlp-danger-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.anlp-danger-list li {
  font-size: clamp(0.86rem, 1.8vw, 0.9rem);
  color: var(--anlp-text-secondary);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.7;
}
.anlp-danger-list--outside li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--anlp-red-bright);
}
.anlp-danger-list--inside li::before {
  content: '◎';
  position: absolute;
  left: 0;
  color: var(--anlp-sage);
}

/* ================================================================
   18. NODE TYPES（Chapter 08）
   ================================================================ */
.anlp-node-types {
  background: linear-gradient(180deg, rgba(40,12,8,0.9) 0%, var(--anlp-forest-dark) 100%);
}

.anlp-node-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.anlp-node-type-card {
  padding: 1.8rem 1.4rem;
  background: rgba(13,38,16,0.5);
  border: 1px solid rgba(201,164,51,0.2);
  border-radius: var(--anlp-radius);
  text-align: center;
  transition: all var(--anlp-transition-base);
}
.anlp-node-type-card:hover {
  border-color: var(--anlp-gold);
  background: rgba(30,80,34,0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.anlp-node-type-card__icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  line-height: 1;
}
.anlp-node-type-card__name {
  font-family: var(--anlp-font-serif);
  font-size: clamp(0.85rem, 1.8vw, 0.9rem);
  font-weight: 600;
  color: var(--anlp-gold-bright);
  margin-bottom: 0.5rem;
}
.anlp-node-type-card__desc {
  font-size: clamp(0.74rem, 1.6vw, 0.78rem);
  color: var(--anlp-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ================================================================
   19. EARLY（Chapter 09）
   ================================================================ */
.anlp-early {
  background: linear-gradient(180deg, var(--anlp-forest-dark) 0%, var(--anlp-forest-mid) 100%);
  overflow: hidden;
}

.anlp-water-metaphor {
  margin: 3rem 0;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, rgba(13,38,16,0.7), rgba(7,26,7,0.9));
  border: 1px solid rgba(201,164,51,0.2);
  border-radius: var(--anlp-radius);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.anlp-water-metaphor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(30,80,34,0.15), transparent 70%);
  pointer-events: none;
}
.anlp-water-metaphor p {
  font-family: var(--anlp-font-serif);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  line-height: 2;
  color: var(--anlp-text-secondary);
  position: relative;
  z-index: 1;
  margin: 0;
}
.anlp-emphasis {
  color: var(--anlp-gold-yellow);
  font-weight: 600;
}

.anlp-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
  padding-left: 2rem;
}
.anlp-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--anlp-gold), var(--anlp-metallic-green), transparent);
}
.anlp-timeline-item {
  position: relative;
  padding: 1.5rem 2rem;
  background: rgba(13,38,16,0.5);
  border: 1px solid rgba(201,164,51,0.15);
  border-radius: var(--anlp-radius);
  transition: all var(--anlp-transition-base);
}
.anlp-timeline-item:hover {
  border-color: rgba(201,164,51,0.4);
  background: rgba(30,80,34,0.2);
}
.anlp-timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--anlp-gold);
  border: 2px solid var(--anlp-deep-forest);
  box-shadow: 0 0 10px rgba(201,164,51,0.5);
}
.anlp-timeline-item--highlight {
  border-color: rgba(201,164,51,0.4);
  background: rgba(30,80,34,0.2);
}
.anlp-timeline-tag {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  font-family: var(--anlp-font-display);
  color: var(--anlp-gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.anlp-timeline-text {
  font-size: clamp(0.88rem, 1.8vw, 0.95rem);
  color: var(--anlp-text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* ================================================================
   20. ACTION（Chapter 10）
   ================================================================ */
.anlp-action {
  background: linear-gradient(180deg, var(--anlp-forest-mid) 0%, var(--anlp-forest-dark) 100%);
}

.anlp-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.anlp-action-card {
  padding: clamp(1.8rem, 3vw, 2.5rem);
  border-radius: var(--anlp-radius);
  background: rgba(7,26,7,0.6);
  border: 1px solid rgba(201,164,51,0.15);
  position: relative;
  overflow: hidden;
  transition: transform var(--anlp-transition-base), box-shadow var(--anlp-transition-base), border-color var(--anlp-transition-base);
}
.anlp-action-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--anlp-gold-mid), var(--anlp-gold-yellow));
}
.anlp-action-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,164,51,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.anlp-action-card__step {
  font-family: var(--anlp-font-display);
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  color: var(--anlp-text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.anlp-action-card__title {
  font-family: var(--anlp-font-serif);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  font-weight: 700;
  color: var(--anlp-gold-bright);
  margin-bottom: 0.8rem;
}
.anlp-action-card__body {
  font-size: clamp(0.84rem, 1.8vw, 0.88rem);
  color: var(--anlp-text-secondary);
  line-height: 1.9;
  margin: 0;
}

/* ================================================================
   21. MESSAGES（Chapter 11）
   ================================================================ */
.anlp-messages {
  background: linear-gradient(180deg, var(--anlp-forest-dark) 0%, var(--anlp-deep-forest) 100%);
}
.anlp-messages::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(201,164,51,0.03), transparent 70%);
  pointer-events: none;
}

.anlp-messages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.anlp-msg-card {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--anlp-radius);
  text-align: center;
  transition: transform var(--anlp-transition-base);
}
.anlp-msg-card:hover { transform: translateY(-3px); }

.anlp-msg-card--primary {
  background: linear-gradient(160deg, rgba(30,80,34,0.2), rgba(7,26,7,0.7));
  border: 1px solid rgba(201,164,51,0.3);
  grid-column: span 2;
}
.anlp-msg-card--secondary {
  background: rgba(13,38,16,0.5);
  border: 1px solid rgba(201,164,51,0.15);
}
.anlp-msg-card--accent {
  background: rgba(192,57,43,0.06);
  border: 1px solid rgba(192,57,43,0.2);
}
.anlp-msg-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}
.anlp-msg-text {
  font-family: var(--anlp-font-serif);
  font-size: clamp(0.95rem, 2.2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.8;
  color: var(--anlp-text-primary);
  margin: 0;
}

/* ================================================================
   22. CTA セクション
   ================================================================ */
.anlp-cta {
  padding: clamp(6rem, 12vw, 10rem) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--anlp-deep-forest) 0%, var(--anlp-forest-dark) 50%, var(--anlp-deep-forest) 100%);
}
.anlp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(30,80,34,0.25), transparent 70%),
    radial-gradient(ellipse 40% 30% at 30% 30%, rgba(201,164,51,0.05), transparent 60%);
  pointer-events: none;
}

/* 背景画像 */
.anlp-cta__bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.anlp-cta__bg-img-inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.12;
  filter: blur(2px);
}

.anlp-cta__rings {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.anlp-cta__content {
  position: relative;
  z-index: 2;
}

.anlp-cta-title {
  font-family: var(--anlp-font-serif);
  font-size: clamp(1.7rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 2rem;
  color: var(--anlp-text-primary);
}

.anlp-cta-subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--anlp-text-secondary);
  max-width: 640px;
  margin: 0 auto 4rem;
  line-height: 2;
}

.anlp-cta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 4rem;
}
.anlp-cta-pill {
  padding: 0.7rem 1.6rem;
  border: 1px solid var(--anlp-border-gold);
  border-radius: 2px;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  color: var(--anlp-gold-light);
  background: rgba(201,164,51,0.06);
  transition: all var(--anlp-transition-base);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.anlp-cta-pill:hover {
  background: rgba(201,164,51,0.12);
  border-color: var(--anlp-gold);
  color: var(--anlp-gold-yellow);
  transform: translateY(-2px);
}

.anlp-cta-final {
  font-family: var(--anlp-font-serif);
  font-size: clamp(1.1rem, 2.8vw, 1.8rem);
  font-weight: 700;
  color: var(--anlp-gold-bright);
  padding: clamp(2rem, 4vw, 2.5rem) clamp(1.5rem, 5vw, 4rem);
  border: 1px solid rgba(201,164,51,0.3);
  border-radius: var(--anlp-radius);
  display: inline-block;
  background: linear-gradient(135deg, rgba(30,80,34,0.15), rgba(7,26,7,0.5));
  position: relative;
  overflow: hidden;
  max-width: 700px;
  line-height: 1.8;
}
.anlp-cta-final::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--anlp-gold-yellow), transparent);
}
.anlp-cta-final::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--anlp-gold), transparent);
}

/* CTAボタン */
.anlp-cta-btn-wrap {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.anlp-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 3rem;
  border-radius: var(--anlp-radius);
  color: #fff;
  font-family: var(--anlp-font-serif);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  min-height: 56px;
  min-width: 220px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 0 30px rgba(201,164,51,0.12);
  transition: transform var(--anlp-transition-base), box-shadow var(--anlp-transition-base), filter var(--anlp-transition-base);
  position: relative;
  overflow: hidden;
}
.anlp-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.anlp-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 40px rgba(201,164,51,0.2);
  filter: brightness(1.08);
  text-decoration: none;
  color: #fff;
}
.anlp-cta-btn__sub {
  font-size: clamp(0.78rem, 1.6vw, 0.85rem);
  color: var(--anlp-text-muted);
  letter-spacing: 0.1em;
  margin: 0;
}

/* ================================================================
   23. レスポンシブ（モバイルファースト）— 完全版
   ================================================================ */

/* ─ Tablet: 768px ─ */
@media (max-width: 768px) {

  /* グリッド系：全て1カラム化 */
  .anlp-what__grid,
  .anlp-network__grid,
  .anlp-danger-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .anlp-science-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .anlp-ai-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .anlp-node-types-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .anlp-action-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .anlp-messages-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .anlp-msg-card--primary {
    grid-column: span 1;
  }

  .anlp-cat-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  /* ★ テーブルは wrapper で横スクロール（改修⑦と連動） */
  .anlp-node-table-wrapper {
    margin-top: 1rem;
  }
  .anlp-node-table {
    min-width: 520px;            /* ★ 最低幅を固定して崩れ防止 */
  }

  /* ★ SVGネットワーク図：タブレットで全幅 */
  .anlp-svg-network {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ★ big-quote：スマホで適切なサイズに */
  .anlp-big-quote {
    font-size: clamp(1rem, 3.5vw, 1.4rem);
    padding: 0 1rem;
  }

  /* ★ intro-card の padding を縮小 */
  .anlp-intro-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
  }

  /* ★ anlp-what__visual：画像を先頭に移動 */
  .anlp-what__grid {
    display: flex;
    flex-direction: column;
  }
  .anlp-what__visual {
    order: -1;                   /* ★ 画像を文章より先に表示 */
  }

  /* ★ section-body の max-width を解除 */
  .anlp-section-body {
    max-width: 100%;
  }

  /* ★ water-metaphor のパディング縮小 */
  .anlp-water-metaphor {
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.2rem, 4vw, 2rem);
  }
}

/* ─ SP: 480px ─ */
@media (max-width: 480px) {

  /* ★ ほぼ全グリッドを1カラム化 */
  .anlp-ai-steps,
  .anlp-action-grid,
  .anlp-danger-split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .anlp-node-types-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  /* ★ チェーン：縦並び */
  .anlp-chain {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }
  .anlp-chain__item {
    text-align: center;
    justify-content: center;
  }
  .anlp-chain__arrow {
    transform: rotate(90deg);
    align-self: center;
    font-size: 1rem;
  }

  /* ★ AI flow：縦並び */
  .anlp-ai-flow {
    flex-direction: column;
    gap: 1rem;
  }
  .anlp-ai-flow .anlp-ai-bubble {
    width: 100%;
  }
  .anlp-ai-arrow {
    transform: rotate(90deg);
  }

  /* ★ ヒーローバッジ */
  .anlp-hero__badge {
    padding: 0.6rem 1.2rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  /* ★ CTAボタン */
  .anlp-cta-btn {
    width: 100%;
    max-width: 340px;
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }

  /* ★ section-label：スマホでは左の装飾線を非表示 */
  .anlp-section-label::before {
    display: none;
  }

  /* ★ タイムライン：左パディング縮小 */
  .anlp-timeline {
    padding-left: 1.2rem;
  }
  .anlp-timeline-item::before {
    left: -1.6rem;
  }

  /* ★ cat-card のパディング縮小 */
  .anlp-cat-card {
    padding: 1.8rem 1.2rem;
  }

  /* ★ cta-pills：スマホで縦列 */
  .anlp-cta-pills {
    flex-direction: column;
    align-items: center;
  }
  .anlp-cta-pill {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* ★ danger-card のパディング縮小 */
  .anlp-danger-card {
    padding: 1.5rem 1.2rem;
  }

  /* ★ messages-grid 完全1カラム */
  .anlp-messages-grid {
    grid-template-columns: 1fr;
  }

  /* ★ node-type-card のテキストサイズ調整 */
  .anlp-node-type-card {
    padding: 1.4rem 1rem;
  }
  .anlp-node-type-card__icon {
    font-size: 1.6rem;
  }

  /* ★ science-grid 1カラム */
  .anlp-science-grid {
    grid-template-columns: 1fr;
  }

  /* ★ hero タイトルサイズをSP用に縮小 */
  .anlp-hero__title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  /* ★ section-title のSPサイズ */
  .anlp-section-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }
}

/* ─ Ultra SP: 360px ─ */
@media (max-width: 360px) {
  .anlp-node-types-grid {
    grid-template-columns: 1fr;
  }
  .anlp-hero__title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
}

/* ================================================================
   24. 余白強制補強 — Cocoon干渉 + リセット負け対策
       #anlp-root スコープで詳細度(1,1,0)に引き上げ
   ================================================================ */

/* ── セクション見出し・ラベル ── */
#anlp-root .anlp-eyebrow          { margin-bottom: 1.5rem; }
#anlp-root .anlp-section-label    { margin-bottom: 1.8rem; }
#anlp-root .anlp-section-title    { margin-bottom: 2rem; }
#anlp-root .anlp-section-body     { margin-bottom: 2rem; }
#anlp-root .anlp-section-img      { margin-top: clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ── Chapter 01 INTRO ── */
#anlp-root .anlp-intro-main       { margin-bottom: 1.5rem; }
#anlp-root .anlp-intro-body       { margin-bottom: 0; }
#anlp-root .anlp-chain            { margin-top: 3rem; }

/* ── Chapter 02 WHAT ── */
#anlp-root .anlp-what__grid       { margin-top: 3rem; }
#anlp-root .anlp-what__text p     { margin-bottom: 1.5rem; }
#anlp-root .anlp-feature-list     { margin-top: 2rem; }
#anlp-root .anlp-big-quote        { margin-top: 4rem; margin-bottom: 0; }

/* ── Chapter 03 CATEGORIES ── */
#anlp-root .anlp-categories__intro { margin-bottom: 4rem; }
#anlp-root .anlp-categories__intro p { margin-top: 1.5rem; }
#anlp-root .anlp-cat-grid         { margin-top: 0; }
#anlp-root .anlp-cat-card__num    { margin-bottom: 0.5rem; }
#anlp-root .anlp-cat-card__title  { margin-bottom: 0.5rem; }
#anlp-root .anlp-cat-card__sub    { margin-bottom: 1.2rem; }
#anlp-root .anlp-cat-items        { margin-bottom: 1.5rem; }
#anlp-root .anlp-cat-note         { margin-bottom: 1rem; }

/* ── Chapter 04 AI BANNER ── */
#anlp-root .anlp-ai-flow          { margin-top: 3rem; margin-bottom: 3rem; }
#anlp-root .anlp-ai-steps         { margin-top: 3rem; }
#anlp-root .anlp-ai-step__num     { margin-bottom: 0.8rem; }
#anlp-root .anlp-ai-step__title   { margin-bottom: 0.5rem; }

/* ── Chapter 05 SCIENCE ── */
#anlp-root .anlp-science-grid     { margin-top: 3rem; }
#anlp-root .anlp-science-icon     { margin-bottom: 1rem; }
#anlp-root .anlp-science-card__title { margin-bottom: 0.8rem; }
#anlp-root .anlp-science-fact     { margin-top: 1.2rem; }

/* ── Chapter 06 NETWORK ── */
#anlp-root .anlp-network__grid    { margin-top: 3rem; }
#anlp-root .anlp-svg-network      { margin-top: 2rem; }
#anlp-root .anlp-node-table       { margin-top: 1.5rem; }
#anlp-root .anlp-intro-card.anlp-reveal { margin-top: 2rem; }

/* ── Chapter 07 DANGER ── */
#anlp-root .anlp-danger-split     { margin-top: 3rem; }
#anlp-root .anlp-danger-card__label   { margin-bottom: 1.2rem; }
#anlp-root .anlp-danger-card__title   { margin-bottom: 1.5rem; }

/* ── Chapter 08 NODE TYPES ── */
#anlp-root .anlp-node-types-grid  { margin-top: 3rem; }
#anlp-root .anlp-node-type-card__icon { margin-bottom: 0.8rem; }
#anlp-root .anlp-node-type-card__name { margin-bottom: 0.5rem; }

/* ── Chapter 09 EARLY ── */
#anlp-root .anlp-water-metaphor   { margin-top: 3rem; margin-bottom: 0; }
#anlp-root .anlp-timeline         { margin-top: 3rem; }
#anlp-root .anlp-timeline-tag     { margin-bottom: 0.5rem; }

/* ── Chapter 10 ACTION ── */
#anlp-root .anlp-action-grid      { margin-top: 3rem; }
#anlp-root .anlp-action-card__step  { margin-bottom: 0.5rem; }
#anlp-root .anlp-action-card__title { margin-bottom: 0.8rem; }

/* ── Chapter 11 MESSAGES ── */
#anlp-root .anlp-messages-grid    { margin-top: 3rem; }
#anlp-root .anlp-msg-icon         { margin-bottom: 1rem; }

/* ── CTA ── */
#anlp-root .anlp-cta-title        { margin-bottom: 2rem; }
#anlp-root .anlp-cta-subtitle     { margin-bottom: 4rem; }
#anlp-root .anlp-cta-pills        { margin-bottom: 4rem; }
#anlp-root .anlp-cta-btn-wrap     { margin-top: 3rem; }
#anlp-root .anlp-cta-btn__sub     { margin-top: 0; }

/* ── HERO ── */
#anlp-root .anlp-hero__title      { margin-bottom: 1.5rem; }
#anlp-root .anlp-hero__subtitle   { margin-bottom: 2.5rem; }

/* ================================================================
   スクロール制御（最終確定版）
   【設計原則】
   ・スクロールバーは html レベル1本のみ
   ・overflow-x: clip を使用し overflow-y:auto への自動変換を完全防止
   ・Cocoon の height 制約を !important で確実に上書き
   ================================================================ */

html.agentic-network-lp-html {
  overflow-x: hidden !important;
  overflow-y: auto !important;   /* viewportスクロールはhtmlが担う */
  height: auto !important;       /* Cocoon の height:100% を解除 */
}

body.agentic-network-lp {
  overflow: visible !important;  /* body 自体はスクロールさせない */
  height: auto !important;       /* 高さ制限を解除（コンテンツに追従） */
  min-height: 100vh;             /* 最低限の高さを確保 */
}

/* clip 指定: overflow-y:visible が auto に変換されない唯一の方法 */
#anlp-root {
  overflow-x: clip !important;
  overflow-y: visible !important;
}
