/* Subset of Noto Sans JP (400/700), loaded only on Japanese pages. */
@font-face {
  font-family: "Noto Sans JP";
  src: url("/assets/fonts/noto-sans-jp-regular-subset.woff2?v=20261115b") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url("/assets/fonts/noto-sans-jp-bold-subset.woff2?v=20261115b") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
html[lang="ja"] body,
html[lang="ja"] button,
html[lang="ja"] input,
html[lang="ja"] textarea,
html[lang="ja"] select,
html[lang="ja"] .button {
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", sans-serif;
}
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ja"] h4 {
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", sans-serif;
  font-weight: 400;
}

/* JA nav labels are wider; tighten so the 3-way switcher stays on one line. */
html[lang="ja"] header #navigation {
  gap: 11px;
}
html[lang="ja"] header #navigation > a {
  white-space: nowrap;
  letter-spacing: 0;
}
