/* 配色と書体は案件の指定。fluid font sizeは最新版テンプレートの基準値を保持する。 */
:root {
  --snow: #fff;
  --ink: #3f443f;
  --gray: #808080;
  --light-gray: #d3d3d3;
  --dark-gray: #696969;
  --red: #d32f2f;
  --blue: #1a5fb4;
  --pink: #f8dde2;
  --green: #e8f1d9;
  --olive: #3c4b35;
  --rose: #7c3546;
  --shadow-color: var(--ink);
  --scrim-color: var(--ink);
  --font-latin: "Figtree", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-sans:
    "Figtree", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium",
    "Yu Gothic", sans-serif;
  --font-heading: var(--font-sans);
  --font-serif: Georgia, serif;
  --font-mono: monospace;
  --font-display: var(--font-sans);
  --tracking: 0.015em;
  --font-size-base: 4.26667vw;
  --duration: 280ms;
  --easing: cubic-bezier(0.2, 0.65, 0.3, 1);
}
:root {
  @media screen and (min-width: 414px) {
    --font-size-base: 3.8647vw;
  }
  @media screen and (min-width: 768px) {
    --font-size-base: 1.9531vw;
  }
  @media screen and (min-width: 1024px) {
    --font-size-base: 1.5vw;
  }
  @media screen and (min-width: 1200px) {
    --font-size-base: 1vw;
  }
}
* {
  letter-spacing: var(--tracking);
}

/* ボタン・カード・画像のリンク（中に p・div・img を持つ a）は、ホバーで下線を付けない。
 * main.css の a:hover の下線（Bootstrap 4 の Reboot と同じ値）は、文中のリンクだけに残す。
 * main.css より先に読み込むため、:has() で詳細度を上げて打ち消す。
 * ホバーの反応は、リンクの種類ごとにユーティリティかページの CSS で付ける。 */
a:has(> div, > p, > img):hover {
  text-decoration: none;
}
