/* 同梱フォント（セルフホスト）。CLAUDE.md「Webフォントは同梱にする」の決定に基づく。
   ファイル本体（woff2）は dev/build_assets.py が dev/fonts-src/ の TTF からサブセット化して
   public/fonts/ に作る（手順は docs/deploy.md 1章）。
   ここに書いたファイル名の一覧・置き場所は docs/deploy.md にも記載している。
   ファイルが無い間・読み込みに失敗した間は、font-family の2番目以降（端末の標準書体）で表示される
   （design-guide.md 10章・A-2 の指示どおり）。
   ライセンス：SIL Open Font License 1.1（出典は design-guide.md 10章・13-5）。
   public/fonts/OFL.txt に、使ったフォントぶんのライセンス文を同梱すること（dev/build_assets.py が
   dev/fonts-src/OFL-*.txt をまとめてコピーする）。

   注意（2026-09-29 修正）：ダウンロード済みの元ファイルは Regular／Bold（Zen Maru Gothic・Zen Old Mincho）、
   Regular／SemiBold（Klee One）、Regular のみ（Yomogi・Zen Kurenaido）の8つ。Medium・Zen Old Mincho の
   SemiBold は元ファイルに無いため、ある太さ（Regular）に合わせた。CSS 側で `font-weight:600` を指定している
   箇所（`.fr-work` など）は、700（Bold）の書体データで表示される（ブラウザの太さのマッチングにより、
   宣言した太さの中でいちばん近いものが自動で選ばれるため。CSS 側の数値は変更不要）。 */

@font-face{
  font-family:"Zen Maru Gothic";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("../fonts/ZenMaruGothic-Regular.woff2") format("woff2");
}
@font-face{
  font-family:"Zen Maru Gothic";
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url("../fonts/ZenMaruGothic-Bold.woff2") format("woff2");
}
@font-face{
  font-family:"Klee One";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("../fonts/KleeOne-Regular.woff2") format("woff2");
}
@font-face{
  font-family:"Klee One";
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url("../fonts/KleeOne-SemiBold.woff2") format("woff2");
}
@font-face{
  font-family:"Zen Old Mincho";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("../fonts/ZenOldMincho-Regular.woff2") format("woff2");
}
@font-face{
  font-family:"Zen Old Mincho";
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url("../fonts/ZenOldMincho-Bold.woff2") format("woff2");
}
/* 手書き文字（子どもの字）。色紙・文集をSVGのままHTMLに直接埋め込んで表示する場合に使う（design-guide 12-3b・4章）。
   使わない場合（画像をPNG/WebP化した場合）は、このフォントは読み込まれるだけで使われない。 */
@font-face{
  font-family:"Yomogi";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("../fonts/Yomogi-Regular.woff2") format("woff2");
}
@font-face{
  font-family:"Zen Kurenaido";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("../fonts/ZenKurenaido-Regular.woff2") format("woff2");
}
