/* 自動生成: tools/subset-fonts.py — 直接編集しない。
   欧文と数字だけのサブセット。和文は unicode-range の外なので
   ヒラギノ／游ゴシック（--font-sans）と明朝（--font-display）が受ける。 */

/* CSS 上は 300、実体は 420。和文と並べたとき欧文だけ細く見えるのを補正する */
@font-face {
  font-family: "LatinSans";
  src: url("fonts/latin-sans-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+00A5, U+00A9, U+00AE, U+2013-2014, U+2018-201D, U+2197-2198;
}

/* CSS 上は 400、実体は 450。和文と並べたとき欧文だけ細く見えるのを補正する */
@font-face {
  font-family: "LatinSans";
  src: url("fonts/latin-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+00A5, U+00A9, U+00AE, U+2013-2014, U+2018-201D, U+2197-2198;
}

/* CSS 上は 500、実体は 520。和文と並べたとき欧文だけ細く見えるのを補正する */
@font-face {
  font-family: "LatinSans";
  src: url("fonts/latin-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+00A5, U+00A9, U+00AE, U+2013-2014, U+2018-201D, U+2197-2198;
}

/* CSS 上は 400、実体は 500。和文と並べたとき欧文だけ細く見えるのを補正する */
@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/bodoni-moda-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+00A5, U+00A9, U+00AE, U+2013-2014, U+2018-201D, U+2197-2198;
}

/* CSS 上は 400、実体は 500。和文と並べたとき欧文だけ細く見えるのを補正する */
@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/bodoni-moda-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+004D;
}
