@import url("tokens.css");

/* ── Font faces (fonts/biz-udmincho/) ───────────────────────────────────── */

@font-face {
  font-family: "BIZ UDMincho";
  src: url("../fonts/biz-udmincho/BIZUDMincho-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BIZ UDMincho";
  src: url("../fonts/biz-udmincho/BIZUDMincho-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Apostrophe substitution — BIZ UDMincho's apostrophe has excessive advance
   width; substitute U+2019 (curly) and U+0027 (straight) from Times New Roman.
   Declared after the woff2 rules so these take precedence for those code points. */
@font-face {
  font-family: "BIZ UDMincho";
  src: local("Times New Roman"), local("TimesNewRomanPSMT");
  font-weight: 400;
  font-style: normal;
  unicode-range: U+0027, U+2019;
}

@font-face {
  font-family: "BIZ UDMincho";
  src: local("Times New Roman"), local("TimesNewRomanPSMT");
  font-weight: 700;
  font-style: normal;
  unicode-range: U+0027, U+2019;
}

/* ── Reset (minimal) ────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

html {
  background-color: var(--color-bg);
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  background-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}
