/* 2026-11-30: explicit client revisions; loaded last on every page. */

/* Shared menu: one step larger, preserving the existing header and CTA. */
.site-page .site-header .navbar .nav-link{font-size:1.125rem!important}

/* Running text follows the available width and normal Japanese line breaking.
   Navigation, badges, form values, addresses and diagram lists keep their roles. */
.site-page main :is(h1,h2,h3,h4,h5,h6,p){
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word;
  text-wrap:wrap!important;
}
.site-page main :is(h1,h2,h3,h4,h5,h6,p) .no-break-phrase{
  white-space:normal!important;
}
.top-page .hero-copy h1 :is(.hero-title-lead,.hero-title-future){
  display:inline;white-space:normal!important;overflow-wrap:normal;
}
.ai-adviser-page :is(.ai-value-main,.ai-value-extra){
  white-space:normal;word-break:normal;text-wrap:wrap;
}
.top-page .hero-intro .hero-lead{
  max-width:62rem;margin:.65rem 0 0;padding:0;font-size:1rem;line-height:1.85;
}
.top-page .service-scope .hero-proofline{max-width:none}

/* 240px x 1.10 = 264px. Keep both full illustrations proportional and uncropped.
   On narrow screens, the existing max-width:100% keeps them inside the column. */
.top-page .consultation-a1 .consult-choice .category-summary-image img{
  max-height:264px;
}

/* The field heading fits a desktop line without forcing nowrap on small screens. */
@media(min-width:992px){
  .top-page .field-story .section-heading{max-width:none}
  .top-page .field-story .section-heading h2{
    max-width:none;font-size:clamp(1.8rem,2.35vw,2.25rem);
  }
}
