/* デザイントークン：合同会社アステップ（DNA.md の実測とシートのキーカラーから）
 * 色はここだけに書く（base.css・style.css・site.js は変数だけを使う）
 * シート：ベース #fcfcfc／アクセント #5daae4・#ff9aaa／爽やかPOP（程よく）
 */
:root {
  /* color */
  --color-ink: #24324a;          /* 本文・線（参考の黒の代わりに、青と合う紺） */
  --color-main: #24324a;         /* 見出し */
  --color-main-2: #3d8fcf;       /* 補助（英字ラベル） */
  --color-accent: #ff9aaa;       /* ピンク（カタカナ・ピル・階段・エントリー） */
  --color-accent-2: #ff8197;     /* ピンクのグラデーションの終わり */
  --color-cta: #c83f5d;          /* エントリー（白文字のボタン）。白い文字が 4.5:1 以上になる濃さ（v3 10/20 で #f06b84→） */
  --color-cta-2: #b8364f;
  --color-blue: #5daae4;         /* 青（色の面・札・ボタン） */
  --color-blue-2: #3d8fcf;       /* 青の濃い側 */
  --color-blue-3: #2a6fa8;       /* 文字・白い文字を載せる面の濃い青（4.5:1 以上。v3 10/20） */
  --color-blue-4: #1f5a8c;       /* 中くらいの青の面（#b0d5f1 前後）の上の文字（4.5:1 以上。v3 10/21） */
  --color-pink-ink: #c03556;     /* 文字のピンク（淡い地の上で 4.5:1 以上。v3 10/20） */
  --color-yellow: #ffe680;       /* 星・点の小物だけ（面積は小さく） */
  --color-base: #fcfcfc;         /* 地 */
  --color-pale: #eaf4fc;         /* 淡い水色の面・PCの左右の地 */
  --color-pale-pink: #fff0f2;    /* 淡いピンクの面 */
  --color-line: #c7d6e4;         /* 入力欄・表の線 */
  --color-on-dark: #ffffff;
  --color-on-dark-line: rgb(255 255 255 / 0.75);
  --color-error: #e2566e;        /* フォームの必須表示 */
  --color-shadow: rgb(36 50 74 / 0.16);
  --color-dot-blue: rgb(93 170 228 / 0.16);   /* マスキングテープの水玉の地 */
  --color-dot-pink: rgb(255 154 170 / 0.18);
  --color-tape-dot: rgb(255 255 255 / 0.7);
  --color-sun: rgb(255 154 170 / 0.55);       /* ぼかした顔の丸 */
  --color-sun-blue: rgb(93 170 228 / 0.45);
  --color-sun-white: rgb(255 255 255 / 0.5);

  /* 面 */
  --bg-dark: linear-gradient(170deg, var(--color-blue) 0%, var(--color-blue-2) 100%);
  --bg-accent: linear-gradient(90deg, var(--color-cta) 0%, var(--color-cta-2) 100%);   /* エントリーのボタン（白い文字を読ませるため、シートのピンクを濃くした色） */
  --bg-step: linear-gradient(180deg, var(--color-accent) 0%, var(--color-pale-pink) 100%);   /* 階段（参考のピンクのピラミッド） */
  --fade-x: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);   /* 流れる列の左右をぼかすマスク（色ではなく透明度） */
  --bg-sky: linear-gradient(180deg, var(--color-pale) 0%, var(--color-base) 100%);

  /* type */
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Zen Kaku Gothic New", sans-serif;
  --font-en: "Roboto", "Zen Kaku Gothic New", sans-serif;
  --font-pop: "Mochiy Pop One", "Zen Maru Gothic", sans-serif;   /* 英字見出しの下のカタカナ（飾り） */
  --fs-min: 13px;
  --fs-base: clamp(var(--fs-min), min(2.2dvh, 3.75vw), 14.6px);
  --fs-ui: max(var(--fs-min), 13px);
  --fs-input: 16px;
  --fw-body: 500;
  --ls-body: 0.06em;
  --lh-body: 1.8;
  --lh-head: 1.42;
  --fs-head: 1.42em;             /* シートの【タイトル】（全ページ共通） */
  --ls-head: 0.04em;
  --fs-big-en: 2.55em;           /* 白＋細い縁の英字（参考 MESSAGE） */
  --fs-sub-pop: 1.02em;          /* その下のカタカナ */

  /* layout */
  --col: 480px;
  --header-h: 56px;
  --gutter: 22px;
  --sp-1: 0.4em;                 /* 一組の中 */
  --sp-p: 0.8em;                 /* 段落同士 */
  --sp-g: 1.15em;                /* まとまり同士 */
  --pad-y: 1.2em;
  --next-h: 0px;
  --radius-pill: 999px;
  --radius-s: 6px;
  --line: 1.5px;                 /* 参考の黒 1px の線（箱・ピル・カード） */
  --shadow-soft: 0 0 10px 0 var(--color-shadow);
  --shadow-column: 0 0 24px 0 var(--color-shadow);

  /* motion（参考：0.65秒・弾む曲線 cubic-bezier(0.34,1.56,0.64,1)） */
  --ease-out: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft: cubic-bezier(0.25, 1, 0.5, 1);
  --rise: 22px;
  --dur-in: 650ms;
  --dur-hover: 300ms;
  --dur-bg: 1.2s;                /* 地の色が変わる時間（参考 3秒） */
  --dur-open: 1.6s;              /* p1 の窓が広がる時間（参考 2秒） */
  --float-y: 6px;                /* 常時のふわふわ */
  --float-rot: 1.5deg;
  --dur-float: 3.6s;
}
@media (max-height: 600px) { :root { --pad-y: 0.7em; --sp-g: 0.9em; --sp-p: 0.6em; } }
