/* Company page only. Shared tokens, header, footer and UI are owned by common.css. */
.company-page .company-toc{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding-block:26px;border-bottom:1px solid var(--line)}
.company-toc a{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px;color:var(--blue);padding:4px 22px;border-right:1px solid var(--line)}
.company-toc a:first-child{padding-left:0}.company-toc a:last-child{border:0;padding-right:0}.company-toc span{font-size:19px}
.company-page .company-philosophy{padding-bottom:28px}.philosophy-panel{padding:58px 58px 62px;background:var(--section-pale);border-radius:32px;display:grid;grid-template-columns:170px minmax(0,1fr);gap:36px}.philosophy-panel .section-label{margin-top:12px;align-self:start}.philosophy-lead{font-size:clamp(27px,2.7vw,36px);line-height:1.65;letter-spacing:.025em;font-weight:700;color:var(--ink);margin:0 0 24px}.philosophy-sub{font-size:19px;font-weight:700;line-height:1.9;margin:0 0 22px;color:var(--blue)}.philosophy-copy .prose{max-width:700px}
.company-page .company-message{padding-top:64px}.message-intro{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:64px;margin:48px 0 56px}.message-heading h3{font-size:32px;line-height:1.7;color:var(--ink);margin:0 0 28px}.message-heading>p{font-size:20px;line-height:1.9;color:var(--blue);font-weight:700;max-width:430px}.message-photo{margin:0}.company-page .message-photo img{height:auto;aspect-ratio:auto;object-fit:contain}.company-page figure figcaption{font-size:12px;line-height:1.7;color:#53677a;margin-top:10px}.message-body{max-width:760px;margin-inline:auto}.company-page .message-signature{text-align:right;margin-top:42px;font-weight:700;color:var(--ink)}
.company-officers{background:#f5f8fb}.officer{display:grid;grid-template-columns:240px minmax(0,1fr);gap:64px;padding-top:50px;margin-top:50px;border-top:1px solid var(--line);align-items:start}.officer-photo{margin:0}.company-page .officer-photo img{height:auto;aspect-ratio:auto;object-fit:contain}.officer h3{font-size:26px;line-height:1.7;margin:0 0 10px;color:var(--ink)}.qualification{color:var(--blue);font-size:16px;line-height:1.9;margin:0 0 26px}.officer-copy{max-width:760px}.facts-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:48px}.facts-layout .section-title{margin:0}.company-partner+.company-partner{margin-top:26px}.company-partner a{font-weight:700;text-decoration:underline;text-underline-offset:4px}.company-partner p{font-size:14px;line-height:1.9;margin:8px 0}.partner-url{font-size:12px;color:#53677a;overflow-wrap:anywhere}.company-page .info-table td{overflow-wrap:anywhere}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;left:24px;top:-80px;background:white;color:var(--blue);padding:14px;z-index:100}.skip-link:focus{top:12px}
@media(max-width:1000px){.philosophy-panel{grid-template-columns:1fr;gap:20px;padding:40px}.message-intro{gap:36px}.message-heading h3{font-size:28px}.officer{grid-template-columns:210px minmax(0,1fr);gap:40px}.facts-layout{grid-template-columns:1fr;gap:36px}}
@media(max-width:800px){.company-page .company-toc{grid-template-columns:1fr 1fr;padding-block:20px;gap:16px 0}.company-toc a{font-size:13px;padding:0 12px}.company-toc a:nth-child(2n){border:0;padding-right:0}.company-toc a:nth-child(3){padding-left:0}.company-page .company-philosophy{padding-top:40px;padding-bottom:16px}.philosophy-panel{padding:30px 24px 36px;border-radius:24px;gap:18px}.philosophy-panel .section-label{margin-top:0}.philosophy-lead{font-size:27px;line-height:1.65;letter-spacing:0}.philosophy-lead br{display:none}.philosophy-sub{font-size:17px}.company-page .company-message{padding-top:40px}.message-intro{grid-template-columns:1fr;gap:28px;margin:30px 0 34px}.message-heading h3{font-size:26px;margin-bottom:18px}.message-heading>p{font-size:18px}.message-photo{max-width:550px}.company-page .message-signature{text-align:left}.officer{grid-template-columns:1fr;gap:28px;margin-top:32px;padding-top:32px}.officer-photo{width:220px;max-width:100%}.officer h3{font-size:24px}.qualification{font-size:15px;margin-bottom:22px}.facts-layout{gap:26px}.company-page .info-table th{width:78px}.company-page .info-table td{padding-left:12px}.company-partner a{font-size:15px}}

.company-page .keep-word{display:inline-block}

/* Match the TOP about section's background width while preserving the text layout. */
.company-page .philosophy-panel{position:relative;isolation:isolate;background:transparent;padding-inline:0;border-radius:0}
.company-page .philosophy-panel::before{content:"";position:absolute;z-index:-1;inset-block:0;left:50%;transform:translateX(-50%);width:min(1640px,calc(100vw - 80px));background:var(--section-pale);border-radius:32px;pointer-events:none}
@media(max-width:800px){.company-page .philosophy-panel::before{width:calc(100vw - 28px);border-radius:24px}}

/* P116: portrait framing matching the other officers, without changing the source. */


/* Equal-sized bust portraits; source photographs are preserved. */
.officer-crop{display:block;position:relative;width:100%;aspect-ratio:1;overflow:clip;border-radius:32px}
.company-page .officer-crop img{position:absolute;max-width:none;max-height:none;height:auto;aspect-ratio:auto;object-fit:initial;border-radius:0;left:50%;transform:translateX(-50%)}
.company-page .officer-crop--komuro img{width:150%;top:-29%}
.company-page .officer-crop--sato img{width:300%;top:-8%;left:47%}
.company-page .officer-crop--nojima img{width:165%;top:-36%;left:48.5%}


/* Align the original introduction with the message body. */
.company-page .message-intro{max-width:760px;margin-inline:auto;gap:32px}
@media(min-width:801px){.company-page .message-intro{grid-template-columns:minmax(0,1fr) 360px}.company-page .message-heading h3{font-size:30px}.company-page .message-heading>p{font-size:17px}}

/* Match TOP chevrons and balance the section spacing. */
.company-page .company-toc{margin-top:32px}
.company-page .company-toc .toc-down-icon{font-family:'Kaede Material Expand';font-size:28px;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;font-feature-settings:'liga';display:inline-block;flex-shrink:0}
.company-page .company-philosophy{padding-block:60px}
.company-page .philosophy-panel{padding-block:60px}
@media(max-width:800px){.company-page .company-toc{margin-top:20px}.company-page .company-philosophy{padding-block:40px}.company-page .philosophy-panel{padding-block:36px}}

/* Contact and footer geometry matched to the current TOP. */
.company-page .site-footer>.container{width:calc(min(100vw,1560px) - 184px);max-width:none}
.company-page .site-footer{padding:80px 0 32px}
.company-page .footer-top{gap:55px}
.company-page .site-footer .brand{font-size:23px;gap:13px;white-space:nowrap}
.company-page .site-footer .brand img{width:61px;height:61px}
.company-page .footer-address{margin:22px 0 0 74px;color:#53677a}
.company-page .footer-links{gap:20px 35px}
.company-page .footer-links a:before{top:.65em}
.company-page .footer-bottom{margin-top:60px;padding-top:28px;padding-right:0;min-height:0;line-height:2.05}
.company-page .footer-bottom .page-top-pill{right:calc(50% - 50vw + 16px)}
.company-page .contact-panel h2{font-size:32px;line-height:1.8;letter-spacing:.02em}
.company-page .contact-panel .section-label{font-size:17px;letter-spacing:normal}
@media(min-width:801px){
.company-page .contact-panel:has(>.contact-inner){display:flex;align-items:center;justify-content:center;padding:68px 0}
.company-page .contact-inner{width:calc(min(100vw,1560px) - 184px);max-width:none}
}
@media(max-width:1200px){
.company-page .site-footer>.container{width:88%}
.company-page .footer-top{flex-direction:column}
.company-page .site-footer .brand{font-size:18px}
}
@media(min-width:801px) and (max-width:1200px){.company-page .contact-inner{width:88vw}}
@media(max-width:800px){
.company-page .site-footer{padding-top:48px}
.company-page .site-footer .brand{font-size:14px;gap:6px;white-space:normal}
.company-page .site-footer .brand img{width:38px;height:38px}
.company-page .footer-address{margin-left:0}
.company-page .footer-links{grid-template-columns:1fr}
.company-page .footer-bottom{margin-top:35px;align-items:flex-start;padding-right:40px}
.company-page .footer-bottom .page-top-pill{right:0}
.company-page .contact-panel h2{font-size:25px}
.company-page .contact-panel .section-label{font-size:15px}
}

/* Company title image: keep the title separate from the panoramic photograph. */
.company-page .company-hero{position:relative;overflow:hidden}
.company-page .company-hero>.container{position:relative;z-index:1}
.company-page .company-hero h1{font-size:clamp(26px,2.3vw,44px);max-width:54%}
.company-page .company-hero-image{position:absolute;inset:0 0 0 auto;width:43%;height:100%;object-fit:cover;object-position:center;mask-image:linear-gradient(to right,transparent,#000 32%)}
@media(max-width:800px){
.company-page .company-hero{padding-bottom:40px}
.company-page .company-hero h1{font-size:30px;max-width:none}
.company-page .company-hero-image{display:none}
.company-page .company-hero{display:flex;flex-direction:column}
.company-page .company-hero>.container{order:-1}
}



/* 2026-11-05: match the current TOP header; body/footer remain page-owned. */
.company-page .site-header{line-height:normal}
.company-page .site-header .header-inner{gap:24px}
.company-page .site-header .brand{font-size:23px;line-height:normal;gap:13px;white-space:nowrap}
.company-page .site-header .brand img{width:61px;height:61px}
.company-page .site-header .site-nav a{padding:0}
.company-page .site-header .site-nav .nav-contact{padding:16px 27px;border-radius:10px}
.company-page .site-header a:focus-visible,.company-page .site-header button:focus-visible{outline-offset:6px}
@media(max-width:1200px){.company-page .site-header .brand{font-size:17px}}
@media(max-width:800px){
.company-page .site-header .header-inner{gap:12px}
.company-page .site-header .brand{font-size:14px;gap:6px;max-width:none}
.company-page .site-header .brand span{max-width:none;text-wrap:initial}
.company-page .site-header .brand img{width:38px;height:38px}
.company-page .site-header .site-nav{gap:18px;padding:20px 0}
.company-page .site-header .menu-toggle{padding:10px;border-radius:0;min-height:0;line-height:normal}
}

/* Page TOC: shared label-only underline motion; keep the full link clickable. */
.company-page .company-toc a:is(:hover,:focus-visible){text-decoration:none}
.company-page .company-toc .toc-label-text{position:relative;display:inline-block;max-width:100%;min-width:0;font-size:inherit}
.company-page .company-toc .toc-label-text::after{content:'';position:absolute;left:0;right:0;bottom:-2px;border-bottom:1px solid currentColor;opacity:0;transform:translateY(5px);transition:opacity .25s ease,transform .25s ease;pointer-events:none}
.company-page .company-toc a:is(:hover,:focus-visible) .toc-label-text::after{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.company-page .company-toc .toc-label-text::after{transition:none}}

/* Align philosophy copy with the centered 760px representative message. */
.company-page .philosophy-panel{grid-template-columns:minmax(0,1fr) minmax(0,760px) minmax(0,1fr);column-gap:0}
.company-page .philosophy-copy{width:100%;max-width:760px;margin-inline:auto}
.company-page .philosophy-copy .prose{max-width:none}
@media(max-width:1200px){
.company-page .philosophy-panel{grid-template-columns:minmax(0,1fr);row-gap:20px}
.company-page .philosophy-panel .section-label{width:100%;max-width:760px;margin-inline:auto}
}

/* Button B: page-local adoption of the approved common-library contact style. */
.company-page .site-header .site-nav .nav-contact,.company-page .follow-cta a{display:inline-flex;align-items:center;justify-content:center;background:#244e85;color:#fff;border:0;border-radius:8px;min-height:56px;padding:13px 16px;gap:10px;font-size:15px;font-weight:700;line-height:2.05;box-shadow:0 4px 2px rgba(20,47,83,.28);text-decoration:none}
.company-page .site-header .site-nav .nav-contact:is(:hover,:focus-visible),.company-page .follow-cta a:is(:hover,:focus-visible){background:#173c6c}
.company-page .site-header .site-nav .nav-contact .mail-icon,.company-page .follow-cta .mail-icon{font-size:20px}
.company-page .follow-cta{border-radius:8px;box-shadow:none}
.company-page .follow-cta a{width:100%}
.company-page .follow-cta .contact-label{font-size:inherit;line-height:inherit;gap:10px}
@media(max-width:700px){.company-page .site-header .site-nav .nav-contact,.company-page .follow-cta a{font-size:14px}}

/* Header B width follows the resource-band reference. */
.company-page .site-header .site-nav .nav-contact{width:240px;max-width:100%;flex-shrink:0}
@media(max-width:700px){.company-page .site-header .site-nav .nav-contact{width:100%}}

/* Title A: match Shellhana's short blue gradient accent on the three section headings. */
.company-page .section-title--accent::after{content:"";display:block;width:48px;height:5px;border-radius:999px;background:linear-gradient(to right,#1f7ab3 0%,#65b5e8 55%,#65b5e8 100%);margin-top:18px}
@media(max-width:800px){.company-page .section-title--accent::after{width:40px;height:4px;margin-top:14px}}

/* Header logo: shared hover treatment, scoped to P02. */
.company-page .site-header a.brand:hover{text-decoration:none}
.company-page .site-header a.brand:hover img{opacity:.9}

/* Approved common button motion, P02 only. */
.company-page :is(.site-header .site-nav .nav-contact,.follow-cta a,.contact-panel a.button){translate:0 0;box-shadow:0 4px 2px rgba(20,47,83,.28);transition:translate .15s ease,box-shadow .15s ease,background-color .15s ease,color .15s ease}
@media(hover:hover) and (pointer:fine){.company-page :is(.site-header .site-nav .nav-contact,.follow-cta a,.contact-panel a.button):hover{translate:0 2px;box-shadow:0 2px 1px rgba(20,47,83,.28)}}
.company-page :is(.site-header .site-nav .nav-contact,.follow-cta a,.contact-panel a.button):active{translate:0 4px;box-shadow:0 0 0 rgba(20,47,83,.28)}
@media(prefers-reduced-motion:reduce){.company-page :is(.site-header .site-nav .nav-contact,.follow-cta a,.contact-panel a.button){transition:none}}

/* Mobile officer introductions: center portraits and identity text. */
@media(max-width:800px){
.company-page .officer-photo{margin-inline:auto}
.company-page .officer h3,.company-page .officer .qualification{text-align:center}
}

/* Mobile spacing: preserve copy metrics and desktop layout. */
@media(max-width:800px){
.company-page .company-message{padding-bottom:48px}
.company-page .company-officers,.company-page .company-facts{padding-block:48px}
.company-page .message-intro{gap:28px;margin-block:24px 28px}
.company-page .officer{margin-top:24px;padding-top:24px}
}

/* Keep mobile officer names and qualifications visually grouped. */
@media(max-width:800px){
.company-page .officer h3{line-height:1.5;margin-bottom:4px}
.company-page .officer .qualification{line-height:1.6}
}

/* Mobile company facts: stack each row's label above its value. */
@media(max-width:800px){
.company-page .company-facts .info-table tbody{display:block}
.company-page .company-facts .info-table tr{display:grid;grid-template-columns:minmax(0,1fr);border-bottom:1px solid var(--line)}
.company-page .company-facts .info-table tr:first-child{border-top:1px solid var(--line)}
.company-page .company-facts .info-table th,.company-page .company-facts .info-table td{display:block;box-sizing:border-box;width:100%;border:0}
.company-page .company-facts .info-table th{padding:12px 16px}
.company-page .company-facts .info-table td{padding:16px}
}

/* Shared-library reviewed: company-only mobile CTA aligned with TOP. */
@media(max-width:800px){
 .company-page #contact.contact-panel{padding-top:25px;padding-bottom:35px}
 .company-page #contact .contact-inner .section-label{padding-top:0;margin-top:0}
 .company-page #contact .contact-inner h2{font-size:19px;text-align:center;white-space:normal;overflow-wrap:anywhere}
 .company-page #contact .contact-inner h2 br{display:none}
 .company-page #contact .contact-inner .consultation-nowrap{white-space:normal}
 .company-page #contact .button{margin-top:16px}
}

/* Mobile philosophy: full-width background without rounded corners. */
@media(max-width:800px){
.company-page .philosophy-panel{padding:40px 0;box-sizing:border-box}
.company-page .philosophy-panel::before{width:100vw;border-radius:0}
}

/* No divider between philosophy and message on mobile. */
@media(max-width:800px){
.company-page .company-philosophy + .company-message{border-top:0}
}

/* Remove the extra mobile gap after the philosophy background. */
@media(max-width:800px){
.company-page .company-philosophy{padding-bottom:0}
}

/* Hide the company contents divider on mobile. */
@media(max-width:800px){
.company-page .company-toc{border-bottom:0}
}

/* Stack company contents links on mobile. */
@media(max-width:800px){
.company-page .company-toc{grid-template-columns:minmax(0,1fr);row-gap:0}
.company-page .company-toc a{padding:8px 0;min-height:44px;box-sizing:border-box;border-right:0}
}

/* Equal mobile space above and below the contents links. */
@media(max-width:800px){
:root body.company-page nav.company-toc{margin-top:0;padding-block:40px}
.company-page .company-philosophy{padding-top:0}
}

/* Tablet contents: enough room for each Japanese label. */
@media(min-width:801px) and (max-width:1000px){
.company-page .company-toc{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}
.company-page .company-toc a:nth-child(odd){padding-left:0}
.company-page .company-toc a:nth-child(even){padding-right:0;border-right:0}
}

/* Tablet philosophy: keep 32px inside the inset background. */
@media(min-width:801px) and (max-width:1200px){
 .company-page .philosophy-panel{width:calc(100vw - 144px);margin-inline:auto}
}

/* Approved representative message: five headings distinguished from body. */
.company-page .message-body .message-subheading{font-size:24px;line-height:1.65;color:var(--ink);font-weight:700;margin:48px 0 20px}
@media(max-width:800px){.company-page .message-body .message-subheading{font-size:21px;line-height:1.65;margin:36px 0 18px}}
