/* IC Study — KOZO-LAB デザイン準用トークン（グリーン版）
   基準：KOZO-LAB デザインシステム（ブランドデザイン仕様書 v1.3）の構造・書体・余白・部品ルール。
   変更点（ご指定による）：
     1. 白を基調：surface-page = white
     2. 色を緑・黄緑系に置き換え（KOZO-LAB の紺・青・水色の役割をそれぞれ緑系に対応させた）
   対応：kozo-navy→deep-green / structural-blue→forest / action-blue→leaf / sky-blue→yellow-green
         pale-cyan→pale-lime / paper-white→mist / complement-orange→olive（少量アクセント）
   コントラスト（白地）：text 14.9:1、deep 13.5:1、forest 6.5:1、leaf 5.1:1、gray 5.4:1、olive 5.7:1
   yellow-green（2.0:1）は文字に使わない。leaf は pale-lime 面の文字に使わない（4.36:1）。 */
:root {
  /* ブランド色（グリーン版） */
  --deep-green: #123524;    /* 見出し・濃色面（旧 KOZO Navy の役割） */
  --forest: #2d6a3e;        /* 線・アイコン・図の主線（旧 Structural Blue） */
  --leaf: #2e7d46;          /* 主要ボタン・リンク（旧 Action Blue） */
  --leaf-hover: #225f35;    /* ホバー */
  --yellow-green: #8dc63f;  /* 補助線・補助ノード（旧 Sky Blue）。文字不可 */
  --pale-lime: #e4f3d2;     /* 淡い面・表の見出し行（旧 Pale Cyan） */
  --mist: #f5faf0;          /* 補助面（旧 Paper White） */
  --white: #ffffff;
  --text-green: #1a2b21;    /* 本文 */
  --gray: #5f6e64;          /* 補足 */
  --line: #d5e3ce;          /* 罫線（装飾用） */
  --olive: #5b6e0f;         /* 少量アクセント（1画面1か所） */
  --olive-tint: #f3f8dc;    /* アクセント面 */

  /* 用途別（部品はこちらを参照） */
  --surface-page: var(--white);
  --surface-subtle: var(--mist);
  --surface-card: var(--white);
  --surface-tint: var(--pale-lime);
  --surface-inverse: var(--deep-green);
  --surface-accent: var(--olive-tint);
  --text-heading: var(--deep-green);
  --text-body: var(--text-green);
  --text-muted: var(--gray);
  --text-on-inverse: var(--white);
  --text-link: var(--leaf);
  --text-link-hover: var(--leaf-hover);
  --text-accent: var(--olive);
  --border-default: var(--line);
  --border-strong: var(--forest);
  --action-primary: var(--leaf);
  --action-primary-hover: var(--leaf-hover);
  --action-accent: var(--olive);
  --graphic-main: var(--forest);
  --graphic-sub: var(--yellow-green);
  --graphic-node: var(--pale-lime);
  --focus-ring: var(--leaf);

  /* 書体（KOZO-LAB と同じ） */
  --font-sans: "Space Grotesk", "BIZ UDPGothic", "Noto Sans JP", sans-serif;

  /* 余白（4・8・16・24・32・48・64 のみ） */
  --space-4: 4px; --space-8: 8px; --space-16: 16px; --space-24: 24px;
  --space-32: 32px; --space-48: 48px; --space-64: 64px;

  /* 角丸・寸法 */
  --radius-control: 4px;
  --radius-card: 6px;
  --layout-content-max: 1120px;
  --layout-gutter-desktop: 32px;
  --layout-gutter-mobile: 20px;
  --layout-control-height: 44px;

  /* 文字 */
  --fs-display: 40px; --fs-h1: 28px; --fs-h2: 20px; --fs-body: 16px; --fs-caption: 14px; --fs-label: 12px;
  --lh-body: 1.8;
}
@media (max-width: 719px) { :root { --fs-display: 30px; --fs-h1: 24px; } }
