@font-face {
  font-family: ShipporiMinchoJP;
  src: url('/assets/shippori-mincho-ja.woff2?v=2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: NotoSansJP;
  src: url('/assets/noto-sans-jp-regular.woff2?v=2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: NotoSansJP;
  src: url('/assets/noto-sans-jp-bold.woff2?v=2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html[lang="ja"] {
  --serif: Cormorant, ShipporiMinchoJP, "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --sans: NotoSansJP, Liberation, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Arial, sans-serif;
}

html[lang="ja"] body {
  font-size: 16px;
  line-height: 1.78;
  line-break: strict;
  overflow-wrap: anywhere;
}

html[lang="ja"] .masthead nav {
  gap: 28px;
}

html[lang="ja"] .masthead nav a,
html[lang="ja"] .masthead nav button {
  font-size: 13.5px;
  letter-spacing: .04em;
  font-feature-settings: "palt" 1;
}

html[lang="ja"] .hero h1 {
  font-size: clamp(38px, calc((var(--wrap) - var(--folio-col) - 40px) / 7.4), 104px);
  line-height: 1.08;
  letter-spacing: .04em;
  font-feature-settings: "palt" 1;
  margin-bottom: 12px;
}

.hero-reading {
  font-family: Cormorant, Georgia, serif;
  font-size: clamp(14px, 1.3vw, 19px);
  letter-spacing: .28em;
  line-height: 1.4;
  color: var(--muted);
  margin: 0 0 24px;
}

html[lang="ja"] .hero-description {
  font-size: 16.5px;
  line-height: 1.75;
}

html[lang="ja"] .button {
  letter-spacing: .04em;
  font-feature-settings: "palt" 1;
}

html[lang="ja"] .folio-caption {
  text-transform: none;
  letter-spacing: .1em;
  font-size: 12.5px;
  font-feature-settings: "palt" 1;
}

html[lang="ja"] .pre-alpha {
  text-transform: none;
  letter-spacing: .08em;
  font-size: 10.5px;
  padding: 6px 9px;
}

html[lang="ja"] .about-lede {
  font-size: clamp(23px, 2.2vw, 32px);
  line-height: 1.62;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
}

html[lang="ja"] .about-points li {
  font-size: 15.5px;
  line-height: 1.82;
}

html[lang="ja"] .creature-info h2 {
  font-size: clamp(19px, 1.65vw, 23px);
  line-height: 1.3;
  letter-spacing: .01em;
  font-feature-settings: "palt" 1;
  margin-bottom: 14px;
}

html[lang="ja"] .creature-stats dt {
  font-size: 11px;
  letter-spacing: .04em;
  white-space: nowrap;
}

html[lang="ja"] .credits-list dd {
  font-size: 19px;
  line-height: 1.65;
}

html[lang="ja"] .dialog-bar h2 {
  font-size: 15px;
}

html[lang="ja"] .not-found-main h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.3;
}

@media (max-width: 1100px) {
  html[lang="ja"] .hero-description { font-size: 16px; }
  html[lang="ja"] .creature-info h2 { font-size: 22px; }
}

@media (max-width: 800px) {
  html[lang="ja"] .masthead nav { gap: 18px; }
  html[lang="ja"] .hero h1 { font-size: clamp(34px, calc(var(--wrap) / 7.4), 76px); margin-bottom: 10px; }
  html[lang="ja"] .about-lede { font-size: 23px; line-height: 1.62; }
  html[lang="ja"] .about-points li { font-size: 15px; }
}

@media (max-width: 650px) {
  html[lang="ja"] .masthead nav { gap: 0; }
  html[lang="ja"] .masthead nav a,
  html[lang="ja"] .masthead nav button { font-size: 15px; }
  html[lang="ja"] .hero-reading { font-size: 15px; margin-bottom: 16px; }
  html[lang="ja"] .about-lede { font-size: 21px; }
  html[lang="ja"] .creature-info h2 { font-size: 14.5px; letter-spacing: 0; white-space: nowrap; }
  html[lang="ja"] .creature-stats dt { font-size: 10px; letter-spacing: 0; }
  html[lang="ja"] .credits-list dd { font-size: 17px; }
}

@media (max-width: 360px) {
  html[lang="ja"] .creature-info h2 { font-size: 13px; }
  html[lang="ja"] .creature-stats dt { font-size: 9.5px; }
}
