/* System Japanese fonts: no third-party font request or CSP relaxation. */
.language-link[lang="ja"] { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; letter-spacing: 0; min-width: 4.5em; }
.language-switch { flex-shrink: 0; }
html:lang(ja), html:lang(ja) body { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif; }
html:lang(ja) :is(h1,h2,h3,h4,p,a,button,label,legend,input,select,textarea,blockquote,figcaption,li,small,cite) { font-family: inherit; letter-spacing: normal; word-break: normal; overflow-wrap: anywhere; line-break: strict; }
html:lang(ja) :is(h1,h2,h3) { line-height: 1.5; text-wrap: pretty; }
html:lang(ja) :is(p,li,blockquote,figcaption,label) { line-height: 1.9; }
html:lang(ja) .eyebrow { letter-spacing: .04em; }
html:lang(ja) .main-navigation { flex-wrap: wrap; }
html:lang(ja) .brand-wordmark { font-family: Georgia, serif; }
@media (max-width: 420px) { .language-link { padding-inline: .55rem; } }
/* Japanese has no word spaces; keep the Home headline readable in short lines. */
html:lang(ja) .hero h1 { font-size: clamp(2rem, 5vw, 4.5rem); }
