/* ==========================================================================
   theme.css — テンプレートの実体（このファイルを差し替えれば配色・書体・動きが変わる）
   骨格＝foodnia.co.jp TOP の実測（2026-10-01・PC1440/SP390 の computed style）
   配色＝cantik（cantik.DESIGN.md）。HTML/セクションCSSに直値を書かない。
   ========================================================================== */
:root {
  /* ---- color（cantik） ---- */
  --c-brand: #0f4aa2;          /* 参考 #1ee012 の位置 */
  --c-navy: #0a2e5c;
  --c-ink: #0e1a2e;            /* 本文。参考 #131313 の位置を濃紺寄りに */
  --c-muted: #5b6b85;
  --c-line: #dfe6f1;
  --c-bg: #ffffff;
  --c-bg-soft: #f3f6fb;        /* 参考 #f5f4f1 の位置 */
  --c-dark: #0b1830;
  --c-on-dark: #ffffff;
  --c-sky: #5a8fdc;
  --c-pale: #e8f0fc;
  --c-step-1: #5a8fdc;
  --c-step-2: #0f4aa2;
  --c-step-3: #0a2e5c;
  --c-step-4: #2a6fd6;

  /* ---- type（参考：Gotham＋游ゴシックPr6N → Montserrat＋Noto Sans JP。幅差±1.5%） ---- */
  --f-jp: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Sans", sans-serif;
  --f-en: "Montserrat", "Noto Sans JP", sans-serif;
  --f-zh: "Noto Sans SC", "Noto Sans JP", sans-serif;
  --f-ko: "Noto Sans KR", "Noto Sans JP", sans-serif;
  --fw-light: 300;
  --fw-body: 500;
  --fw-head: 700;              /* 参考 Pr6N Bold 600 相当 */
  --fw-black: 800;
  --ls-body: 0.08em;
  --ls-head: 0.06em;           /* 参考 2.7px@45px */

  --fs-hero: 25vw;
  --fs-tag: 1.625rem;          /* 参考SP 26px */
  --fs-we: 2.8125rem;          /* 参考SP 45px（Light） */
  --fs-next: 1rem;             /* 参考SP 16px */
  --fs-chapter: 2.125rem;
  --fs-h2: 1.625rem;           /* 参考SP 30px を和文の長さに合わせて調整 */
  --fs-h3: 1.125rem;
  --fs-lead: 1rem;
  --fs-body: 0.8125rem;
  --fs-small: 0.75rem;
  --fs-label: 0.6875rem;
  --lh-body: 2.1;
  --lh-head: 1.5;              /* 参考 67.5/45 */

  /* ---- space ---- */
  --gutter: 20px;
  --content-w: 1100px;
  --sec-pad: 120px;
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 40px;
  --sp-5: 72px;

  /* ---- surface ---- */
  --radius-s: 8px;
  --radius-m: 14px;
  --border-w: 2px;
  --shadow-hard: 6px 6px 0 var(--c-navy);         /* イラストと同じ版ずれ影 */
  --shadow-card: 0 18px 40px rgba(10, 46, 92, 0.16);

  /* ---- motion（参考の実測：最頻 cubic-bezier(.19,1,.22,1)） ---- */
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-soft: cubic-bezier(0.3, 0.26, 0.38, 1);
  --ease-inout: cubic-bezier(0.65, 0.26, 0.28, 1.03);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.7s;
  --dur-fast: 0.4s;

  /* ---- header（参考 SP 63px / PC 83px・メニュー 53/60px） ---- */
  --header-h: 64px;
  --menu-size: 52px;
  --logo-h: 18px;
}

/* PC（社内標準：PC=min1024 / SP=max1023。参考の主境界は900px） */
@media (min-width: 1024px) {
  :root {
    --fs-hero: 13.5vw;
    --fs-tag: 3rem;            /* 参考PC 48px */
    --fs-we: 4.375rem;         /* 参考PC 70px（Light） */
    --fs-next: 1.875rem;       /* 参考PC 30px */
    --fs-chapter: 3.75rem;     /* 参考PC 60px */
    --fs-h2: 2.8125rem;        /* 参考PC 45px */
    --fs-h3: 1.75rem;
    --fs-lead: 1.125rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fs-label: 0.875rem;
    --gutter: 56px;
    --sec-pad: 180px;
    --header-h: 84px;
    --menu-size: 60px;
    --logo-h: 24px;
  }
}
