/* 日本語 (ja), after css/world-cjk.css. Japanese is set in Noto Sans JP served from this site, cut to these pages'
   characters, every weight in one variable file (see world-zh-hans.css). While it loads the device's fonts stand
   in: BIZ UDPGothic, Meiryo or Yu Gothic UI on Windows, Noto Sans CJK JP on Android and Linux, Hiragino after them
   (a copy installed on Windows is never reached; a Mac in any system language keeps Japanese letterforms). */
@font-face {
  font-family: 'World CJK'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/noto-sans-jp.woff2") format("woff2");
}
/* the rotating phrase on the first slide: as light against "Ashton" as the Inter 300 phrase on ashton.is
   (kana are lighter than kanji, so this sits higher than in world-zh-hans.css) */
.is-cycle { font-weight: 330; }

:root {
  --font: 'World Latin CJK', 'World CJK', 'World Name', "BIZ UDPGothic", Meiryo, "Yu Gothic UI", "Noto Sans CJK JP", "Noto Sans JP",
          "Hiragino Sans", "Hiragino Kaku Gothic ProN", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* Japanese text is written without spaces around Latin words and numbers; browsers that can add the small
   gap themselves do so. Strict line breaking keeps small kana and closing marks off the start of a line. */
body { text-autospace: normal; line-break: strict; }

/* the same small gap between "Ashton" and は on the first slide, where は is a box of its own */
.is-verb { margin-left: .125em; }
