/* JA-only line breaks — do not merge into redesign-20261106.css */
html[lang="ja"] h1,
html[lang="ja"] h2.display,
html[lang="ja"] .display,
html[lang="ja"] .news-hero h1,
html[lang="ja"] .founder-hero h1 {
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: anywhere;
}
/* Keep intentional phrase lines from orphaning particles / punctuation */
html[lang="ja"] .ja-keep {
  white-space: nowrap;
}
/* Hero: never let "を、" / "て。" sit alone — scale type on narrow viewports instead */
@media (max-width: 640px) {
  html[lang="ja"] .hero-copy h1 {
    font-size: clamp(1.55rem, 7vw, 2.35rem);
    line-height: 1.25;
  }
}
@media (max-width: 390px) {
  html[lang="ja"] .hero-copy h1 {
    font-size: clamp(1.4rem, 6.6vw, 2rem);
  }
}

/* qa18 – Mobil-QA 18.11.2026: nowrap-Phrasen (.ja-keep) in .display passen bei 390 px nicht (z. B. „理解する。運用する。“ 387 px) → Schrift auf schmalen Viewports kleiner */
@media (max-width: 560px) {
  html[lang="ja"] .display { font-size: 9vw; }
}
