/*
  Site-wide Gothic Typography
  通常ページ・fair1：Noto Sans JPを基本書体に統一。
  fair2：既存指定のZen Kaku Gothic Newを維持。
*/
:root {
  --blanco-gothic-font: "Noto Sans JP", "Meiryo", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

body.furisode-fair-page.reference-style-page {
  --blanco-gothic-font: "Zen Kaku Gothic New", "Noto Sans JP", "Meiryo", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

/*
  既存ページには!important付きの個別書体指定が残るため、存在しないIDを
  :not() に置いた高優先度セレクタで、すべての表示テキストを確実に上書きする。
*/
body:not(#blanco-gothic-exception):not(#blanco-gothic-exception-secondary),
body:not(#blanco-gothic-exception):not(#blanco-gothic-exception-secondary) *,
body:not(#blanco-gothic-exception):not(#blanco-gothic-exception-secondary) *::before,
body:not(#blanco-gothic-exception):not(#blanco-gothic-exception-secondary) *::after {
  font-family: var(--blanco-gothic-font) !important;
}
