/* ==========================================================================
   tokens.css — design tokens (Figma: 採用2026)

   All colors, typography and spacing live here. Do not hardcode elsewhere.
   Written mobile-first: :root carries the phone values and the single
   breakpoint below (768px) raises them for wider screens.
   ========================================================================== */

:root {
  /* --- Brand colors (Figma variables) --- */
  --zino-orange: #ff6e00;
  --zino-pale-orange: #fff8ee;
  --zino-green: #0f3232;

  /* --- Neutrals --- */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-text: var(--zino-green);
  --color-text-inverse: var(--color-white);
  --color-bg: var(--color-white);
  --color-bg-alt: var(--zino-pale-orange);
  --color-overlay: rgba(0, 0, 0, 0.5);
  --color-rule: rgba(15, 50, 50, 0.2);

  /* --- Typography --------------------------------------------------------
     --font-display is the Latin display face used for section labels and the
     global nav. Copperplate is the face the design specifies: it ships with
     macOS and iOS, and on Windows it usually arrives with Office. Anything
     without it falls back to the platform serif, which keeps the same
     high-contrast, capitals-first feel.
     ---------------------------------------------------------------------- */
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic", meiryo, sans-serif;
  --font-display: "Copperplate", "Copperplate Gothic Bold", "Copperplate Gothic", serif;
  --tracking-display: 0.01em;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Font sizes */
  --fs-2xs: 1.2rem;
  --fs-xs: 1.4rem;
  --fs-sm: 1.6rem;
  --fs-md: 1.8rem;
  --fs-lg: 2rem;
  --fs-xl: 2.4rem;
  --fs-2xl: 3rem;
  --fs-3xl: 3.2rem;
  --fs-4xl: 4rem;
  --fs-stat: 11rem;

  --lh-tight: 1.2;
  --lh-snug: 1.5;
  --lh-normal: 1.6;
  --lh-loose: 2;

  /* --- Spacing scale --- */
  --space-2xs: 0.4rem;
  --space-xs: 0.8rem;
  --space-sm: 1.6rem;
  --space-md: 2.4rem;
  --space-lg: 4rem;
  --space-xl: 6.4rem;
  --space-2xl: 6.4rem;
  --space-3xl: 8rem;

  /* --- Layout --- */
  --layout-max: 144rem;
  --layout-gutter: 2rem;
  --header-height: 8rem;

  /* --- Radius / shadow --- */
  --radius-sm: 0.8rem;
  --radius-md: 1.6rem;
  --radius-lg: 2.4rem;
  --radius-pill: 999rem;
  --shadow-card: 0 0.4rem 2.4rem rgba(15, 50, 50, 0.12);

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 0.2s;
  --duration-base: 0.4s;
  --duration-slow: 0.8s;

  /* --- Z-index --- */
  --z-base: 0;
  --z-sticky: 10;
  --z-header: 100;
  --z-drawer: 200;
}

@media (width >= 768px) {
  :root {
    --fs-3xl: 4rem;
    --fs-4xl: 6rem;
    --fs-stat: 20rem;
    --space-2xl: 10rem;
    --space-3xl: 16rem;
    --layout-gutter: 4rem;
  }
}

@media (width >= 1280px) {
  :root {
    --header-height: 10rem;
    --layout-gutter: 8rem;
  }
}
