/*
 * Design tokens
 * Values marked [Figma variable] come straight from the Figma file's variables.
 * The rest are repeated literal values in the design, collected here so they
 * are never hardcoded in components.
 */
:root {
  /* Colors */
  --color-black: #3d3d3d;        /* [Figma variable] JOY Portfolio black */
  --color-gray: #afafaf;         /* [Figma variable] JOY Portfolio Gray */
  --color-heading: #2c2c2a;
  --color-text: #5f5e5a;
  --color-white: #ffffff;
  --color-bg-soft: #fafafa;
  --color-bg-faq: #f4f4f4;
  --color-bg-dark: #424242;
  --color-avatar-bg: #f5f5f5;
  --color-tag: #737b84;
  --color-link: #989ea5;
  --color-required: #f23a3c;
  --color-placeholder: #d0d0d0;
  --color-line: #5f5e5a;
  --color-line-soft: var(--color-placeholder); /* light outlines: About Me, FAQ, contact form */
  --color-hover-soft: #ededed;  /* hover fill of 実績を見る / お問い合わせ buttons */
  --color-header-text: #2c2c2a; /* header nav links + お問い合わせ button */

  /* Font families */
  --font-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Outfit", var(--font-jp);
  --font-logo: Didot, "Bodoni Moda", "Didot LT STD", serif;

  /* Type styles [Figma variables] */
  /* JOY Portfolio (body): Zen Kaku Gothic New Medium 16 / 30 */
  --text-body-size: 16px;
  --text-body-line: 30px;
  --text-body-weight: 500;
  /* JOY Portfolio english: Outfit Regular 14 / 100% / 20% */
  --text-en-size: 14px;
  --text-en-line: 1;
  --text-en-tracking: 0.2em;
  /* JOY Portfolio h2: Zen Kaku Gothic New Medium 40 / 70 / 10% */
  --text-h2-size: 40px;
  --text-h2-line: 70px;
  --text-h2-tracking: 0.1em;
  /* JOY Portfolio h3: Zen Kaku Gothic New Bold 24 / 45 / 10% */
  --text-h3-size: 24px;
  --text-h3-line: 45px;
  --text-h3-tracking: 0.1em;

  /* Layout */
  --content-width: 1200px;
  --gutter: 120px;
  --section-pad: 150px;
  --header-height: 98px;
  --radius-pill: 60px;
}

@media (max-width: 1100px) {
  :root {
    --gutter: 48px;
    --section-pad: 110px;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-pad: 80px;
    --header-height: 64px;
    --text-h2-size: 28px;
    --text-h2-line: 46px;
    --text-h3-size: 20px;
    --text-h3-line: 34px;
    --text-body-size: 15px;
    --text-body-line: 28px;
  }
}
