/* Home page: Accuratio / shared PrivateAI visual system */
:root { --navy: #0d243c; --deep: #081b2d; --ink: #182d40; --muted: #546577; --paper: #f4f6f7; --border: #dbe3e8; --accent: #b8442c; --width: 1320px; --gutter: clamp(24px,4.1vw,72px); --sans: 'Noto Sans JP',sans-serif; --serif: 'Zen Old Mincho','Noto Serif JP',serif; }
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
h1,h2,h3,p,figure { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap,.site-header__inner,.site-footer__inner { width: min(var(--width),calc(100% - 2 * var(--gutter))); margin-inline: auto; }
a:focus-visible { outline: 3px solid #cf8b47; outline-offset: 4px; }
.skip-link { position: absolute; left: 12px; top: -100px; background: white; padding: 10px 20px; z-index: 20; }
.skip-link:focus { top: 5px; }
.site-header { background: #fff; border-bottom: 1px solid #e4e8eb; position: sticky; top: 0; z-index: 10; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 700; text-decoration: none; letter-spacing: .015em; white-space: nowrap; }
.brand__mark { width: 28px; height: 28px; color: #0d3868; }
.site-nav { display: flex; gap: clamp(20px,2.2vw,34px); align-items: center; font-size: 14px; font-weight: 500; }
.site-nav a { text-decoration: none; padding-block: 8px; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav a:hover { border-bottom-color: #0d3868; }
.site-nav a[lang] { padding-inline-start: 20px; border-left: 1px solid var(--border); }

/* Opening: use the original industrial visual, with clear dark copy area. */
.home-hero { position: relative; isolation: isolate; background: var(--navy); overflow: hidden; color: white; }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: 72%; z-index: -1; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,var(--navy) 0%,rgba(13,36,60,.94) 13%,rgba(13,36,60,.63) 30%,rgba(13,36,60,.14) 51%,rgba(13,36,60,.03) 76%),linear-gradient(0deg,rgba(8,27,45,.78),transparent 35%); pointer-events: none; }
.hero-photo__overlay { opacity: .83; }
.hero-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.83fr); min-height: clamp(480px,39.5vw,585px); align-items: center; gap: 30px; position: relative; padding-block: 64px 68px; }
.hero-copy { max-width: 690px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #416783; font-size: 13px; letter-spacing: .105em; font-weight: 600; line-height: 1.6; margin: 0 0 22px; }
.eyebrow::before { content: ''; display: block; width: 26px; height: 2px; background: #d46d52; flex: none; }
.eyebrow--light { color: #c7d9e8; }
.hero-copy h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(36px,3.9vw,59px); letter-spacing: .04em; line-height: 1.43; margin-bottom: 24px; }
.hero-lead { color: #e0e9f0; max-width: 35em; font-size: clamp(15px,1.16vw,17px); line-height: 1.95; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 51px; padding: 12px 20px; text-decoration: none; border: 1px solid transparent; border-radius: 4px; font-weight: 700; font-size: 14px; line-height: 1.6; transition: background .18s,color .18s,border-color .18s; max-width: 100%; }
.button span { font-size: 19px; line-height: 1; flex: none; }
.button--primary { color: #fff; background: var(--accent); }
.button--primary:hover { background: #953420; }
.button--outline { color: white; border-color: #8298ac; background: rgba(13,36,60,.2); }
.button--outline:hover { background: #25445f; border-color: #d9e4ed; }
.hero-caption { position: absolute; right: 0; bottom: 25px; display: flex; align-items: center; gap: 14px; color: #e0e9f0; font-size: 12px; text-shadow: 0 1px 3px #081b2d; }
.hero-caption span:first-child { font-size: 11px; letter-spacing: .16em; border-right: 1px solid #a4b6c6; padding-right: 14px; }

/* Credibility facts, not promotional badges. */
.trust { border-bottom: 1px solid var(--border); background: #fff; }
.trust-grid { display: grid; grid-template-columns: minmax(130px,.55fr) minmax(0,1.05fr) minmax(0,1.4fr); padding-block: 27px 29px; }
.trust-item { padding: 0 clamp(20px,3vw,44px); min-width: 0; }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { padding-right: 0; }
.trust-item+.trust-item { border-left: 1px solid var(--border); }
.trust-kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #466980; line-height: 1.4; margin-bottom: 7px; }
.trust-value { font-family: var(--serif); font-size: clamp(23px,2.1vw,31px); font-weight: 700; line-height: 1.35; margin-bottom: 7px; letter-spacing: .025em; }
.trust-value--year { font-family: var(--sans); font-size: 32px; font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.trust-value--year span { font-size: .58em; margin-left: 4px; }
.phd { font-family: var(--sans); letter-spacing: 0; }
.trust-item>p:last-child { font-size: 13px; line-height: 1.75; color: var(--muted); }

/* Main sections and feature */
.section { padding: clamp(44px,5vw,76px) 0; }
.section-heading { display: grid; grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr); gap: clamp(26px,5vw,74px); align-items: end; margin-bottom: 26px; }
.section-label { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #466980; letter-spacing: .13em; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.section-label span { display: flex; align-items: center; gap: 9px; }
.section-label span::after { content: ''; width: 24px; height: 1px; background: #a2b2bf; }
.section-heading h2,.cta h2 { font-family: var(--serif); font-size: clamp(25px,2.45vw,37px); font-weight: 700; line-height: 1.55; letter-spacing: .02em; }
.section-heading>p { font-size: 15px; line-height: 1.9; color: var(--muted); padding-bottom: 3px; }
.feature { display: grid; grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr); background: #fff; border: 1px solid var(--border); border-radius: 7px; overflow: hidden; box-shadow: 0 5px 22px rgba(19,48,70,.045); }
.feature-photo { position: relative; isolation: isolate; background: var(--navy); overflow: hidden; min-height: 420px; color: white; }
.feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 77% 40%; }
.feature-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,var(--navy),rgba(13,36,60,.91) 13%,rgba(13,36,60,.36) 31%,transparent 63%); z-index: 0; }
.feature-caption { position: absolute; z-index: 1; bottom: clamp(24px,3vw,42px); left: clamp(24px,3vw,42px); right: 15px; }
.feature-caption p { color: #c7d9e8; font-size: 12px; letter-spacing: .12em; font-weight: 600; margin-bottom: 10px; }
.feature-caption h3 { font-family: var(--serif); font-size: clamp(21px,2.1vw,32px); font-weight: 700; line-height: 1.55; letter-spacing: .02em; }
.feature-body { min-width: 0; padding: clamp(24px,3vw,43px); }
.feature-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kicker { font-size: 13px; color: #416783; font-weight: 700; margin-bottom: 7px; letter-spacing: .02em; }
.tag { display: inline-flex; align-items: center; gap: 6px; flex: none; background: #edf6f0; color: #23644e; border: 1px solid #cadfd2; border-radius: 3px; padding: 3px 9px; font-size: 12px; line-height: 1.5; font-weight: 700; }
.tag::before { content: ''; width: 7px; height: 7px; background: currentColor; border-radius: 50%; }
.feature-name { font-family: var(--serif); font-size: clamp(28px,3.05vw,44px); font-weight: 700; line-height: 1.35; letter-spacing: -.015em; margin-bottom: 14px; overflow-wrap: anywhere; }
.feature-lead { font-size: 15px; color: #405466; line-height: 1.85; margin-bottom: 15px; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 19px; }
.chips span { font-size: 11.5px; color: #2e526c; font-weight: 600; line-height: 1.5; background: #edf3f7; border: 1px solid #e1e9ef; border-radius: 3px; padding: 5px 9px; }
.maintenance { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 17px; align-items: center; background: #142f49; color: #fff; padding: 16px 18px; border: 1px solid #34516a; border-radius: 4px; }
.maintenance div>p { font-size: 12px; color: #d4e0e9; font-weight: 600; line-height: 1.5; margin-bottom: 5px; }
.maintenance strong { display: block; font-size: clamp(29px,3vw,40px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.maintenance strong small { font-size: 12px; letter-spacing: 0; margin-right: 7px; font-weight: 500; }
.maintenance strong span { font-size: .53em; letter-spacing: 0; margin-left: 3px; }
.maintenance>p { font-size: 12.5px; line-height: 1.75; color: #e2eaf1; border-left: 1px solid #496178; padding-left: 17px; }
.price-note { font-size: 11.5px; line-height: 1.75; color: var(--muted); margin: 10px 0 13px; }
.plans { font-size: 13px; line-height: 1.8; color: #405466; margin-bottom: 18px; }
.custom-row { margin-top: 18px; padding: 20px 24px; display: flex; justify-content: space-between; gap: 24px; align-items: center; background: var(--paper); border: 1px solid var(--border); border-radius: 5px; }
.custom-row h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.custom-row p { font-size: 13px; color: var(--muted); line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 16px; justify-content: space-between; font-size: 14px; font-weight: 700; line-height: 1.55; color: #174f75; text-decoration: none; flex: none; }
.text-link span { font-size: 19px; }
.text-link:hover { text-decoration: underline; }
.all-services { margin-top: 22px; display: flex; justify-content: flex-end; }
.button--secondary { color: #174f75; border-color: #b8cad8; background: #fff; }
.button--secondary:hover { background: #edf3f7; border-color: #6287a3; }

/* Technical evidence, kept separate from services. */
.proof { background: var(--paper); border-top: 1px solid #e1e7eb; }
.proof-heading { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.case { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: clamp(25px,4vw,55px); align-items: center; padding: clamp(24px,3vw,43px); background: #fff; border: 1px solid var(--border); border-radius: 6px; }
.case h3 { font-family: var(--serif); font-size: clamp(22px,2.1vw,30px); font-weight: 700; line-height: 1.6; letter-spacing: .025em; margin-bottom: 16px; }
.case-copy p:not(.kicker) { font-size: 14px; line-height: 1.95; color: #405466; margin-bottom: 10px; }
.case-copy p:last-child { margin-bottom: 0; }
.case-figure { background: #f6f8fa; border: 1px solid #e2e8ec; border-radius: 4px; padding: clamp(15px,2.3vw,30px); min-width: 0; }
.case-figure figcaption { font-size: 13px; font-weight: 700; color: #416783; margin-bottom: 18px; }
.case-figure img { width: 100%; height: auto; max-width: 440px; margin: auto; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 19px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.legend>span { display: inline-flex; align-items: center; gap: 5px; }
.swatch { height: 3px; width: 14px; background: #14233a; display: inline-block; }
.swatch--target { background: #0d3868; }
.swatch--dashed { background: repeating-linear-gradient(90deg,#55677c 0 4px,transparent 4px 7px); }
.ring { border: 2px solid var(--accent); width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.research { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr) auto; align-items: center; gap: 24px; border-top: 1px solid #d4dee5; margin-top: 33px; padding-top: 27px; }
.research h3 { font-family: var(--serif); font-size: 23px; line-height: 1.5; font-weight: 700; }
.research>p { font-size: 14px; color: var(--muted); line-height: 1.85; }
.cta { background: var(--navy); color: #fff; padding: clamp(42px,5vw,74px) 0; }
.cta-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.88fr); align-items: center; gap: clamp(32px,7vw,110px); }
.cta .eyebrow { margin-bottom: 16px; }
.cta-grid>div:last-child p { font-size: 15px; line-height: 1.9; color: #d7e3ed; margin-bottom: 20px; }
.site-footer { background: var(--deep); color: #bccbd8; padding: 27px 0; border-top: 1px solid #294057; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 12px; }
.site-footer nav { display: flex; gap: 19px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__copy { font-size: 12px; }
@media(min-width:1500px) {
  .hero-photo { width: min(72%,1150px); }
}
@media(max-width:1050px) {
  .hero-inner { min-height: 480px; grid-template-columns: 1fr 0.65fr; }
  .hero-copy h1 { font-size: clamp(34px,4.1vw,46px); }
  .feature { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); }
  .feature-photo { min-height: 440px; }
  .maintenance { grid-template-columns: 1fr; gap: 10px; }
  .maintenance>p { border-left: 0; border-top: 1px solid #496178; padding: 10px 0 0; }
  .research { grid-template-columns: 1fr 1.4fr; }
  .research .text-link { grid-column: 2; justify-self: start; }
}
@media(max-width:760px) {
  .site-header__inner { min-height: 58px; flex-wrap: wrap; gap: 4px 12px; padding-block: 10px; }
  .site-nav { gap: 12px; font-size: 12px; }
  .site-nav a { padding-block: 4px; }
  .site-nav a[lang] { padding-inline-start: 8px; }
  .brand { font-size: 19px; }
  .brand__mark { width: 24px; height: 24px; }
  .home-hero { display: flex; flex-direction: column; }
  .hero-photo { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1.95; order: 2; z-index: 0; }
  .hero-photo::after { background: linear-gradient(180deg,var(--navy) 0%,rgba(13,36,60,.22) 22%,transparent 65%); }
  .hero-inner { display: block; min-height: 0; padding: 36px 0 25px; }
  .hero-copy h1 { font-size: clamp(28px,7.4vw,43px); margin-bottom: 18px; letter-spacing: .025em; }
  .eyebrow { font-size: 12px; margin-bottom: 15px; }
  .hero-lead { font-size: 14px; line-height: 1.85; }
  .hero-actions { margin-top: 24px; gap: 10px; }
  .button { gap: 12px; font-size: 13px; min-height: 46px; padding: 11px 15px; }
  .hero-caption { display: none; }
  .trust-grid { grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 19px 0; padding-block: 23px; }
  .trust-item { padding: 0 0 0 16px; }
  .trust-item:first-child { padding-left: 0; }
  .trust-item:last-child { grid-column: 1/-1; border-left: 0; border-top: 1px solid var(--border); padding: 16px 0 0; }
  .trust-value { font-size: 23px; }
  .trust-value--year { font-size: 27px; }
  .trust-kicker { font-size: 10px; }
  .trust-item>p:last-child { font-size: 12px; }
  .section-heading,.proof-heading { grid-template-columns: 1fr; gap: 11px; align-items: start; margin-bottom: 20px; }
  .section-heading>p { font-size: 14px; }
  .desktop-br { display: none; }
  .feature { grid-template-columns: 1fr; }
  .feature-photo { min-height: 0; aspect-ratio: 1.46; }
  .feature-photo img { object-position: 76% 45%; }
  .feature-caption h3 { font-size: clamp(21px,5.5vw,28px); }
  .feature-body { padding: 22px 19px; }
  .feature-name { font-size: clamp(25px,7vw,37px); }
  .feature-lead { font-size: 14px; }
  .maintenance { grid-template-columns: 1fr; gap: 11px; }
  .maintenance strong { font-size: 36px; }
  .custom-row { display: block; padding: 19px; }
  .custom-row .text-link { margin-top: 12px; }
  .all-services { justify-content: stretch; }
  .all-services .button { width: 100%; }
  .case { grid-template-columns: 1fr; gap: 20px; padding: 22px 18px; }
  .research { grid-template-columns: 1fr; gap: 12px; }
  .research .text-link { grid-column: 1; }
  .cta-grid { grid-template-columns: 1fr; gap: 17px; }
  .cta-grid>div:last-child p { font-size: 14px; }
  .site-footer__inner { display: block; }
  .site-footer__copy { margin-top: 13px; }
  .site-footer nav { gap: 12px; }
  .section-label { font-size: 10.5px; }
}
@media(max-width:420px) {
  :root { --gutter: 20px; }
  .site-header__inner { justify-content: flex-start; }
  .site-nav { width: 100%; justify-content: space-between; gap: 5px; }
  .hero-actions .button { padding-inline: 13px; }
  .hero-copy h1 { font-size: clamp(26px,7.5vw,32px); }
  .trust-value { font-size: 21px; }
  .trust-value--year { font-size: 27px; }
  .feature-caption { left: 20px; bottom: 20px; }
  .feature-caption h3 { font-size: 20px; }
  .section-heading h2 { font-size: 25px; }
}
@media(max-width:359px) {
  :root { --gutter: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .trust-value { font-size: 19px; }
  .trust-value--year { font-size: 26px; }
  .feature-body { padding-inline: 15px; }
  .site-nav { font-size: 11px; }
  .feature-name { font-size: 24px; }
  .feature-caption h3 { font-size: 18px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none!important; animation: none!important; }
}

/* Final visual tuning: consistent crop with the service-list image. */
.feature-photo img { object-position: 50% 35%; }
@media(min-width:761px) {
  .hero-inner { min-height: clamp(440px,36.5vw,550px); padding-block: 52px 55px; }
  .hero-copy h1 { font-size: clamp(35px,3.65vw,56px); }
  .trust-grid { padding-block: 23px 25px; }
}
@media(min-width:761px) and (max-width:1050px) {
  .hero-photo img { object-position: right center; }
  .hero-photo { width: 76%; }
}
@media(min-width:761px) and (max-width:900px) {
  .feature { grid-template-columns: 1fr; }
  .feature-photo { min-height: 0; aspect-ratio: 2 / 1; }
  .feature-photo img { object-position: 50% 32%; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .hero-inner { grid-template-columns: minmax(0,1fr) minmax(0,.58fr); }
  .hero-copy h1 { font-size: 34px; }
  .trust-value { font-size: 22px; }
  .trust-value--year { font-size: 29px; }
}
@media(max-width:760px) {
  .feature-photo img { object-position: center 35%; }
}
