/*
 * GoEndX カスタムフォント定義
 * 
 * ■ フォントスタック設計:
 *   基本UI      : Noto Serif CJK JP (Regular/Bold)
 *   外字・異体字 : IPAmj明朝 → 花園明朝B → BabelStone Han
 *
 * ■ 読み込み戦略:
 *   - Noto Serif CJK JP  : font-display: swap（メインフォント、即座に表示）
 *   - IPAmj / 花園 / BabelStone : font-display: swap（外字フォールバック）
 */

/* ===== Noto Serif CJK JP ===== */
/* メインの日本語明朝体（Google Noto プロジェクト） */

@font-face {
  font-family: 'Noto Serif CJK JP';
  src: url('NotoSerifCJKjp-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Serif CJK JP';
  src: url('NotoSerifCJKjp-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== IPAmj明朝 ===== */
/* 文字情報基盤（MJ）準拠。戸籍統一文字・登記統一文字を広くカバー */

@font-face {
  font-family: 'IPAmj Mincho';
  src: url('ipamjm.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== 花園明朝B（外字サブセット） ===== */
/* 実際に使用中の外字のみ含むサブセット（1.6KB、瞬時に読み込み） */

@font-face {
  font-family: 'HanaMinB';
  src: url('HanaMinB-gaiji.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== BabelStone Han ===== */
/* 最大級のUnicode CJKカバレッジ（最終フォールバック） */

@font-face {
  font-family: 'BabelStone Han';
  src: url('BabelStoneHan.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
