/* Design Tokens — 色・余白・サイズの唯一の出典。値はハードコードせずこの変数を使う */
:root {
  --space-xs: 4px;  --space-sm: 8px;  --space-md: 16px; --space-lg: 24px;
  --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px; --space-4xl: 96px;
  --container-max: 1280px; --content-readable: 720px; --grid-columns: 12; --grid-gutter: 24px;
  --header-h: 72px; /* ヘッダー高さ既定（PC64〜80の中値・案件で調整）。SPは56〜64目安 */
  --fs-caption: 12px; --fs-sm: 14px; --fs-base: 16px; --fs-md: 20px; --fs-lg: 24px;
  --fs-xl: 30px; --fs-2xl: 36px; --fs-3xl: 48px; --fs-4xl: 60px; --fs-5xl: 72px;
  --lh-body: 1.6; --lh-heading: 1.2;
  /* 11/04 田島の指示：日本語は Zen Kaku Gothic New、英数字は DIN 2014 に近い Barlow（Google Fonts）。欧文を先に書き、英数字だけ Barlow で表示する */
  --font-base: "Barlow", "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-heading: "Barlow", "Zen Kaku Gothic New", system-ui, sans-serif; /* 見出し（日本語は本文と同じ Zen Kaku Gothic New の太字） */
  --color-text: #1A1A1A; --color-text-sub: #555555; --color-bg: #FAFAFA;
  --brand-500: #6ABCB1;
  --color-success: #16A34A; --color-warning: #D97706; --color-error: #DC2626; --color-info: #2563EB; /* 機能色は意味固定（情報=青）。ブランド色に追従させない */
  --radius-xs: 3px; --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px; --radius-xl: 24px; --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05); --shadow-md: 0 4px 6px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1); --shadow-xl: 0 20px 25px rgba(0,0,0,.1);
  --dur-micro: 150ms; --dur-base: 250ms; --dur-large: 400ms;
  --ease-out: cubic-bezier(0,0,0.2,1); --ease-in-out: cubic-bezier(0.4,0,0.2,1);
  --tap-min: 44px; --focus-ring: 2px solid var(--brand-800); --focus-offset: 2px; --disabled-opacity: 0.45;
}
/* brand-ramp-auto: --brand-500 から50〜900を自動派生。--brand-500 の1行を変えれば全段が追従する。 */
/* ここでの white/black は「色を作る混合原料」であり、塗り色として純白#FFF・純黒#000を使う意味ではない。 */
:root {
  --brand-50:  color-mix(in srgb, var(--brand-500) 6%,  white);
  --brand-100: color-mix(in srgb, var(--brand-500) 12%, white);
  --brand-200: color-mix(in srgb, var(--brand-500) 24%, white);
  --brand-300: color-mix(in srgb, var(--brand-500) 40%, white);
  --brand-400: color-mix(in srgb, var(--brand-500) 70%, white);
  --brand-600: color-mix(in srgb, var(--brand-500) 85%, black);
  --brand-700: color-mix(in srgb, var(--brand-500) 70%, black);
  --brand-800: color-mix(in srgb, var(--brand-500) 55%, black);
  --brand-900: color-mix(in srgb, var(--brand-500) 42%, black);
}
:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ── 案件トークン（株式会社W／Orcaestate）支給デザイン 20261022_ホームページ素材.ai の実測値。最終色は渡邉様に確認中 ── */
:root {
  --c-teal: #6ABCB1;        /* 唯一のブランド色（ロゴ・P4ヘッダー）。塗り・線・下線に使い、文字色には使わない（白文字も載せない＝文字はダークグレー）。10/24 色を1色に統一 */
  --c-teal-mark: #4AB2A5;   /* ロゴマーク単体（P1）。P4ヘッダーは #6ABCB1＝どちらを正とするか未確定 */
  --c-teal-strong: #2BB197; /* 強調（「お困り」の地・吹き出しの動詞） ※文字に使うのは大きな太字だけ ※10/24 から使わない（色をティール1色に統一） */
  --c-teal-ink: #3C7B76;    /* フリーワード見出し。文字・リンクに使えるティール（#FAFAFA 上 5.0:1） ※10/24 から使わない（色をティール1色に統一） */
  --c-red: #EF2858;         /* 地図ピン・線路の赤アクセント（小面積のみ） ※10/24 から使わない（色をティール1色に統一） */
  --c-orange: #E7A112;      /* CV ボタン（無料相談）と金シャチだけに使う */
  --c-panel: #E0DFDE;       /* 検索パネル・お困りブロックの地 */
  --c-page: #EEEEED;        /* ページ地（薄グレー） */
  --c-band: #303032;        /* 見出し帯（ダークグレー） */
  --c-ink: #231F20;         /* ロゴ文字・本文の黒 */
  --c-line: #C9C8C6;        /* ヘアライン罫（パネル色から派生） */
  --c-white: #FCFCFB;       /* 白に見える面（純白を使わない） */
  /* エリア凡例（P2実測） */
  /* 11/06 支給の地図（ホームページ素材.pdf の3ページ）の色にそろえた（打ち合わせ：地図をエリアの色で塗り分け） */
  --area-C: #C6302E; --area-W: #E1983C; --area-E: #3EB3B4; --area-N: #318D63; --area-M: #60498B;
  --area-R: #5E5D39; --area-Y: #DA3686; --area-K: #7ABC43; --area-I: #29488C; --area-Z: #8A8C8C;
  --font-en: "Barlow", "Zen Kaku Gothic New", sans-serif; /* NEWS・ABOUT US 等の欧文見出し・数字（DIN 2014 に近い Barlow） */
  --header-h: 64px;
  --bottom-nav-h: 64px;
}
