/* V20 accessibility and mobile safeguards; V19 remains the visual baseline. */
.brand-logo{display:block;width:110px;height:44px;object-fit:contain;object-position:left center;flex-shrink:0}
@media(max-width:900px){.brand-logo{width:88px;height:36px}}
svg.brand-logo{width:46px;height:46px}
@media(max-width:900px){svg.brand-logo{width:42px;height:42px}}
:root{color-scheme:light}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}body{overflow-wrap:break-word}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}input,select,textarea{font-size:16px!important}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #176eaa;outline-offset:4px}.multiline{white-space:pre-line}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.gallery-grid figure{margin:0}.gallery-grid img{width:100%;aspect-ratio:4/3;object-fit:cover}.gallery-grid figcaption{margin-top:8px;font-size:14px}.draft-banner{background:#fff1c2;color:#352d16;padding:12px 20px;text-align:center}.draft-banner a{font-weight:bold}.map-consent{margin:20px 0}.form-status{white-space:pre-line}.product,.range-card{min-width:0}.range-body{padding:24px}.range-body h2{font-size:23px}.range-body p{line-height:1.7}.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.menu-toggle{min-width:44px;min-height:44px}.langs a{display:inline-flex;align-items:center;min-height:44px}.menu a{padding-block:10px}.lang-ja{line-break:strict}.lang-ja p{overflow-wrap:anywhere}
@media(max-width:650px){.gallery-grid{grid-template-columns:1fr}.wrap{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}.nav{gap:5px}.brand-caption{max-width:112px;line-height:1.3;white-space:normal}.mobile-actions{gap:4px}.langs{gap:4px}.btn{min-height:44px}.footer-links a{display:inline-flex;align-items:center;min-height:44px}.hero{background-position:center!important}.range-body{padding:18px}}
@media(max-width:350px){.brand-caption{max-width:90px;font-size:9px}.langs,.mobile-actions .langs{font-size:11px}.brand-mark{font-size:28px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Reserve space for EN / 日本語 / ID, including longer Indonesian menu labels. */
.lang-id .menu{gap:clamp(10px,1.1vw,18px);font-size:14px}.mobile-actions{flex-shrink:0}
@media(min-width:901px) and (max-width:1200px){.nav{flex-wrap:wrap;row-gap:10px;padding-block:12px}.nav .menu{order:3;flex-basis:100%;justify-content:center;flex-wrap:wrap}.topbar{height:auto}}
@media(max-width:420px){.nav{grid-template-columns:minmax(0,1fr) auto;column-gap:6px}.nav .brand{display:block}.nav .brand-caption{display:block;max-width:115px;font-size:9px;line-height:1.2}.mobile-actions .langs{gap:2px;font-size:11px}.langs a{padding-inline:4px}.mobile-actions{gap:4px}}
@media(max-width:650px){.lang-id .hero-inner{min-height:0;padding-bottom:300px}.lang-id .hero:before{inset:auto 0 0;height:280px}.lang-id .hero:after{background:linear-gradient(180deg,#f5f7f8 0%,#f5f7f8 calc(100% - 280px),rgba(245,247,248,.9) calc(100% - 250px),transparent calc(100% - 150px))}}

/* Keep the company name legible alongside the official symbol. */
.brand{gap:10px}
.brand-caption{font-size:16px;line-height:1.3}
@media(max-width:1100px){.nav .brand-caption{font-size:15px}}
@media(max-width:900px){.nav .brand-caption{font-size:14px;max-width:210px}}
@media(max-width:650px){.nav .brand{gap:8px}.nav .brand-caption{font-size:12px;max-width:130px}.footer .brand-caption{font-size:15px;max-width:240px}}
@media(max-width:420px){.nav .brand:has(svg.brand-logo){display:flex;gap:7px}.nav svg.brand-logo{width:36px;height:36px}.nav .brand-caption{font-size:11.5px;line-height:1.25;max-width:108px}}

/* Keep product arrows at a consistent bottom edge as CMS copy grows. */
.product{display:flex;flex-direction:column}
.product>img{flex-shrink:0}
.product-content{display:flex;flex-direction:column;flex:1}
.product-content>.arrow{margin-top:auto;align-self:flex-end}

/* Align the supporting notes across certification cards of different lengths. */
.certificate-card:has(.certificate-caption){display:flex}
.certificate-card:has(.certificate-caption)>div{display:flex;flex-direction:column;flex:1;min-width:0}
.certificate-card .certificate-caption{margin-top:auto}

/* Company history: readable copy and full-size then/now photographs. */
.story-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(32px,4vw,64px);align-items:start}
.story-grid h2{font-size:clamp(30px,3.1vw,44px);margin-bottom:26px}
.story-grid .copy{font-size:16px;line-height:1.85;max-width:60ch;margin:0 0 1.2em}
.history-photos{display:grid;gap:24px;min-width:0}
.history-photos figure{margin:0;min-width:0}
.history-photos img,.history-photo-pending{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:3px}
.history-photo-pending{display:flex;align-items:center;justify-content:center;padding:32px;background:#f5f8fa;border:1px dashed #b9cbd7;color:#607487;text-align:center;font-size:14px}
.history-photos figcaption{padding-top:10px;color:var(--navy);font-size:14px;line-height:1.5}
.history-photos figcaption small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
@media(max-width:760px){.story-grid{grid-template-columns:minmax(0,1fr);gap:28px}.story-grid .copy{font-size:15px;line-height:1.8}.history-photos{gap:24px}}

.laboratory-section{margin-top:44px;padding:32px 0 0;border-top:1px solid #e5edf2}.laboratory-section h2{font-size:28px;margin:0 0 16px}.laboratory-section p{max-width:750px;color:#596c7c;font-size:15px}.laboratory-section p:last-child{margin-bottom:0}

.laboratory-section.has-photo{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-areas:"copy photo";gap:40px;align-items:center}.laboratory-copy{grid-area:copy;min-width:0}.laboratory-photo{grid-area:photo;min-width:0;margin:0}.laboratory-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:4px}.laboratory-photo figcaption{margin-top:10px;font-size:13px;color:#607487}.laboratory-photo-pending{aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;padding:24px;text-align:center;background:#f6f9fb;border:1px dashed #cbdbe6;border-radius:4px;color:#607487;font-size:14px}@media(max-width:700px){.laboratory-section.has-photo{grid-template-columns:minmax(0,1fr);grid-template-areas:"photo" "copy";gap:24px}}

/* Main navigation banners share a height whether a photograph is enabled or not. */
body:is([data-page="company"],[data-page="products"],[data-page="certifications"],[data-page="approach"],[data-page="contact"]) .pagehero{min-height:400px;display:flex;align-items:center;padding:56px 0;box-sizing:border-box}
@media(max-width:650px){body:is([data-page="company"],[data-page="products"],[data-page="certifications"],[data-page="approach"],[data-page="contact"]) .pagehero{min-height:320px;padding:40px 0}}

/* Keep long translated headings inside small phone viewports during font loading. */
.pagehero h1,.certificate-card h2{overflow-wrap:anywhere}
