/* MOVANCE cross-page Home v2 visual alignment (2026-11-10).
   Approved source of truth: src/styles/home.css. Presentation only.
   Applied after legacy and page styles by BaseLayout, except approved Home.
   Keep local information architecture, photographs, interactive behavior and
   regional editorial illustrations unchanged. No global .button reset. */

body:not(.home-page) {
  --mov-ink:#07162b;
  --mov-navy:#08355b;
  --mov-blue:#0755c8;
  --mov-muted:#465773;
  --mov-line:#e3eaf2;
  --mov-pale:#f4f7fb;
  --mov-page:1240px;
  color:var(--mov-ink);
  background:#fff;
  font-family:Arial,'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;
  -webkit-font-smoothing:antialiased;
}
body:not(.home-page) :is(.container,.v2-shell,.nr-shell,.nr-area,.nr-guide-panel,.ws2-shell) {
  max-width:var(--mov-page);
}
body:not(.home-page) > .header.container,
body:not(.home-page) > footer .footer.container {
  width:min(calc(100% - 64px),var(--mov-page));
  max-width:var(--mov-page);
}
body:not(.home-page) > .header.header {
  height:98px;
  background:#fff;
}
body:not(.home-page) > footer {
  border-top:1px solid var(--mov-line);
  background:#fff;
}
body:not(.home-page) :is(.header,.footer) .brand-meaning {
  color:var(--mov-muted);
}
body:not(.home-page) :where(a,button,input,select,textarea,summary):focus-visible {
  outline:3px solid var(--mov-blue);
  outline-offset:4px;
}
body:not(.home-page) :is(.v2,.nr,.ws2,.pg,.tc) {
  --ink:var(--mov-ink);
  --muted:var(--mov-muted);
  --line:var(--mov-line);
  --blue:var(--mov-blue);
}

/* Default for pages with their own page-level or tool-specific heading classes. */
body:not(.home-page) main :is(h1,h2,h3) {
  color:var(--mov-ink);
  font-family:Arial,'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;
  letter-spacing:-.035em;
}
body:not(.home-page) main h1 {font-weight:750;}
body:not(.home-page) main :is(h2,h3) {font-weight:700;}
body:not(.home-page) main :where(.page-purpose) {color:#42536e;}
body.legal-page .legal .section-title {
  color:var(--mov-ink);
  font-weight:750;
  letter-spacing:-.04em;
}
body.legal-page .legal-note {border-radius:7px;border-color:var(--mov-line);background:#f5f7fa;}

/* Home's navy and blue, editorial sans, compact overlines. */
body:not(.home-page) :is(.products-hero h1,.journal-hero h1,.about-hero h1,.fb-hero h1,
  .contact-hero h1,.nr-hero h1,.ws2-hero h1,.pg-hero h1,.tc-hero h1,
  .v2 .wk-hero h1,.v2 .ap-hero h1,.v2 .ws-hero h1,.category-hero h1) {
  color:var(--mov-ink);
  font-family:Arial,'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;
  font-weight:750;
  letter-spacing:-.04em;
  line-height:1.32;
}
body:not(.home-page) :is(.products-hero h1,.journal-hero h1,.about-hero h1,.fb-hero h1,
  .contact-hero h1,.nr-hero h1,.ws2-hero h1,.pg-hero h1,.tc-hero h1,
  .v2 .wk-hero h1,.v2 .ap-hero h1,.v2 .ws-hero h1,.category-hero h1) {
  font-size:clamp(34px,4.1vw,53px);
}
body:not(.home-page) :is(.products-hero>p:not(.products-motto),.journal-hero>p:not(.journal-motto),
  .about-hero>p:not(.about-motto),.fb-hero-copy>p:not(.fb-eyebrow),.nr-hero-description,
  .ws2-hero-description,.pg-lead,.tc-hero-lead,.contact-lead,.v2 .wk-lead,.v2 .ap-hero-lead) {
  color:var(--mov-muted);
  font-family:Arial,'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;
  line-height:1.8;
}
body:not(.home-page) :is(.section-kicker,.journal-kicker,.about-kicker,.fb-eyebrow,
  .nr-eyebrow,.ws2-eyebrow,.pg-overline,.pg-section-kicker,.tc-eyebrow,.tc-kicker,
  .v2-eyebrow,.seo-eyebrow) {
  color:#2862a8;
  font-family:Arial,'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  line-height:1.5;
}

/* Cards and surfaces follow Home's white / very pale blue rhythm. */
body:not(.home-page) :is(.catalog-card,.category-card,.journal-card,.journal-sidebar>section,
  .belief-grid article,.fb-card,.nr-guide-card,.nr-guide-columns>section,
  .ws2-guide-panel,.ws2-guide-card,.v2 .wk-card,.v2 .wk-maintenance-card,
  .v2 .ap-principle,.v2 .ws-card,.pg-related-card,.tc-service-card,.tc-local-card) {
  border-color:var(--mov-line);
  border-radius:7px;
  box-shadow:none;
}
body:not(.home-page) :is(.catalog-card,.category-card,.journal-card,.belief-grid article,
  .fb-card,.nr-guide-card,.ws2-guide-card,.v2 .wk-card,.v2 .ap-principle,.v2 .ws-card,
  .pg-related-card,.tc-service-card,.tc-local-card) {
  background-color:#f5f7fa;
}
body:not(.home-page) :is(.catalog-card,.category-card,.journal-card,.nr-guide-card,
  .ws2-guide-card,.v2 .wk-card,.pg-related-card,.tc-service-card) {
  transition:border-color .2s,background-color .2s,transform .2s;
}
body:not(.home-page) :is(.catalog-card,.category-card,.journal-card,.nr-guide-card,
  .ws2-guide-card,.v2 .wk-card,.pg-related-card,.tc-service-card):hover {
  border-color:#a5c0e6;
}

/* Buttons: same 4px corner, navy fill, 48px tap target as approved Home.
   Only named link/CTA controls; filter/pagination/form-state controls retain their mechanics. */
body:not(.home-page) :is(a.button.dark,a.v2-button--dark,a.nr-button:not(.nr-button--light),
  a.ws2-button:not(.ws2-button--light),a.pg-primary,a.tc-button:not(.tc-button--outline),
  a.seo-btn-primary) {
  min-height:48px;
  border:1px solid var(--mov-navy);
  border-radius:4px;
  background:var(--mov-navy);
  background-image:none;
  color:#fff !important;
  font-size:14px;
  font-weight:700;
  line-height:1.5;
}
body:not(.home-page) :is(a.button:not(.dark),a.v2-button--light,
  a.nr-button--light,a.ws2-button--light,a.tc-button--outline,a.seo-btn-outline) {
  min-height:48px;
  border:1px solid #91accb;
  border-radius:4px;
  background:#fff;
  background-image:none;
  color:#09244b !important;
  font-size:14px;
  font-weight:700;
  line-height:1.5;
}
body:not(.home-page) :is(a.button.dark,a.v2-button--dark,a.nr-button:not(.nr-button--light),
  a.ws2-button:not(.ws2-button--light),a.pg-primary,a.tc-button:not(.tc-button--outline),
  a.seo-btn-primary):hover {background:#062943;}
body:not(.home-page) :is(a.button:not(.dark),a.v2-button--light,
  a.nr-button--light,a.ws2-button--light,a.tc-button--outline,a.seo-btn-outline):hover {
  background:#f0f5fc;
}

/* Web Solutions, including nationwide, aligns to Home's sky/white hero. */
body:not(.home-page) .national-reference-page {
  --nr-ink:var(--mov-ink);
  --nr-muted:var(--mov-muted);
  --nr-line:var(--mov-line);
}
body:not(.home-page) .nr :is(h2,h3,h4),
body:not(.home-page) .ws2 :is(h2,h3),
body:not(.home-page) .tc :is(h2,h3),
body:not(.home-page) .pg :is(h2,h3) {
  color:var(--mov-ink);
  font-family:Arial,'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;
  letter-spacing:-.035em;
}
body:not(.home-page) .nr-eyebrow {
  border-left:0;
  padding-left:0;
}
body:not(.home-page) .nr-hero,
body:not(.home-page) .ws2-hero,
body:not(.home-page) .pg-hero {
  background-color:#eef5fb;
}
body:not(.home-page) .pg-hero:after {background:var(--mov-line);height:1px;}

/* Region-specific Tochigi content and photography stay intact; remove
   its conflicting serif/red brand treatment on shared UI elements. */
body.tochigi-page .tc {
  --tc-paper:#fff;
  --tc-cream:#f4f7fb;
  --tc-navy:var(--mov-ink);
  --tc-red:var(--mov-blue);
  --tc-muted:var(--mov-muted);
  --tc-border:var(--mov-line);
  font-family:Arial,'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;
  background:#fff;
  color:var(--mov-ink);
}
body.tochigi-page .tc :is(.tc-hero h1,.tc-section-heading h2,.tc-service-card h3,.tc-faq h2) {
  color:var(--mov-ink);
  font-family:Arial,'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;
  font-weight:750;
  letter-spacing:-.035em;
}
body.tochigi-page .tc :is(.tc-kicker,.tc-eyebrow,.tc-card-overline) {
  color:#2862a8;
  font-family:Arial,'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;
}
body.tochigi-page .tc .tc-hero {background:#eef5fb;}
body.tochigi-page .tc .tc-service-card a,
body.tochigi-page .tc .tc-text-link {color:var(--mov-blue);}
body.tochigi-page .tc .tc-final-kicker {color:#c5d7e9;}

/* Modern Home-like contact page without touching its form bindings. */
body.contact-page .contact-hero {
  min-height:0;
  padding:64px 24px 88px;
  background:linear-gradient(115deg,#f5faff 0%,#eaf3fa 100%);
}
body.contact-page .contact-direct {
  border-color:var(--mov-line);
  border-radius:7px;
}
body.contact-page .contact-form :is(input,select,textarea) {
  border-color:#b7c7da;
  border-radius:4px;
}

/* Product / Journal / About / Business interiors retain their content and
   imagery; align masthead palette and page rhythm with approved Home. */
body:not(.home-page) :is(.products-masthead,.journal-masthead,.about-masthead,.fb-masthead,.category-masthead) {
  background-color:#eef5fb;
}
body:not(.home-page) :is(.catalog-section,.categories-section,.journal-content,.about-section,.fb-section) {
  border-color:var(--mov-line);
}

@media(max-width:900px) {
  body:not(.home-page) > .header.container,
  body:not(.home-page) > footer .footer.container {
    width:calc(100% - 36px);
  }
  body:not(.home-page) > .header.header {height:72px;}
  body:not(.home-page) :is(.container,.v2-shell,.nr-shell,.nr-area,.nr-guide-panel,.ws2-shell) {
    max-width:100%;
  }
}
@media(max-width:760px) {
  body:not(.home-page) :is(.products-hero h1,.journal-hero h1,.about-hero h1,.fb-hero h1,
    .contact-hero h1,.nr-hero h1,.ws2-hero h1,.pg-hero h1,.tc-hero h1,
    .v2 .wk-hero h1,.v2 .ap-hero h1,.v2 .ws-hero h1,.category-hero h1) {
    font-size:clamp(28px,7.3vw,37px);
    line-height:1.38;
    overflow-wrap:anywhere;
  }
  body:not(.home-page) :is(.section-kicker,.journal-kicker,.about-kicker,.fb-eyebrow,
    .nr-eyebrow,.ws2-eyebrow,.pg-overline,.pg-section-kicker,.tc-eyebrow,.tc-kicker,.v2-eyebrow) {
    font-size:11px;
  }
  body.contact-page .contact-hero {padding:42px 16px 64px;}
  body:not(.home-page) :is(a.button.dark,a.button:not(.dark),a.v2-button,
    a.nr-button,a.ws2-button,a.pg-primary,a.tc-button,a.seo-btn) {min-height:48px;}
}
