.header-actions{gap:8px}.header-actions .button{font-size:13px;padding:12px 14px}.header-actions .simulation-link{max-width:220px}.hero-actions,.cta-buttons{display:flex;flex-wrap:wrap;gap:14px}.hero-actions .button,.cta-buttons .button{max-width:100%;height:auto;min-height:56px;white-space:normal}.contact-wrap{max-width:1140px;margin:auto;padding:64px 24px 100px;display:grid;grid-template-columns:1fr 1.5fr;gap:64px;align-items:start}.contact-intro h2{font-size:30px}#consultation-form{border:1px solid var(--line);border-radius:16px;padding:36px;background:#fff;box-shadow:0 16px 48px #091f6008}#consultation-form label{display:block;font-weight:600;margin-bottom:24px}#consultation-form label>span{font-size:12px;color:#a53510;background:#fff0e9;border-radius:4px;padding:3px 7px;margin-left:8px}#consultation-form label>small{font-weight:400;color:var(--muted);margin-left:8px}#consultation-form input,#consultation-form textarea{display:block;width:100%;font:inherit;font-weight:400;color:var(--ink);border:1px solid #a8c2ce;border-radius:8px;background:#f8fbfd;padding:13px 15px;margin-top:10px}#consultation-form input:focus,#consultation-form textarea:focus{outline:2px solid var(--blue);outline-offset:2px}.form-notice{font-size:14px;background:var(--pale);padding:16px;border-radius:8px}#consultation-form button{width:100%;border:0}#form-status{font-size:14px;margin:20px 0 0}.mobile-cta .button{white-space:normal;line-height:1.4;height:auto;min-height:56px;font-size:12px;padding:10px}.mobile-cta{align-items:stretch}@media(max-width:1200px){header{gap:16px;padding-left:3%;padding-right:3%}nav{gap:14px}.header-actions .simulation-link{max-width:180px}}@media(max-width:800px){.contact-wrap{grid-template-columns:1fr;gap:20px;padding:40px 20px 70px}.contact-intro h2{font-size:26px}#consultation-form{padding:24px 18px}.hero-actions .button,.cta-buttons .button{width:100%;font-size:14px}}
.cta-buttons .line-consult{background:#06C755;border:1px solid #06C755;color:#fff;min-width:200px}.cta-buttons .line-consult:hover{background:#06C755;border-color:#06C755}.cta-buttons{justify-content:center}@media(min-width:1000px){.cta-buttons{flex-wrap:nowrap}}

.footer-bottom{justify-content:center;align-items:center;text-align:center;width:100%}
.cta-buttons .line-consult,.cta-buttons .line-consult:hover{background:#06C755;border-color:#06C755;color:#fff}
.button .cta-label{display:block;line-height:1.5}.button .cta-label>span{display:inline-block;white-space:nowrap}.button>span[aria-hidden]{flex-shrink:0}
.header-actions .button{white-space:nowrap}.header-actions .simulation-link{max-width:none;gap:12px}.header-actions .simulation-link .cta-label>span{display:block}
.hero-actions .button,.cta-buttons .button{white-space:nowrap;gap:16px;padding:16px 22px;line-height:1.5}
.cta-buttons{display:grid;grid-template-columns:minmax(200px,1fr) minmax(350px,1.65fr) minmax(200px,1fr);max-width:1000px;margin-inline:auto;align-items:stretch}
.cta-buttons .button{width:100%;margin:0;min-width:0}.hero-actions{align-items:stretch}.hero-actions .simulation-link .cta-label>span{display:block}
.mobile-cta .simulation-link .cta-label>span{display:block}.mobile-cta .button{gap:6px}.mobile-cta .button>span[aria-hidden]{display:none}
@media(max-width:1100px){.cta-buttons{grid-template-columns:1fr;max-width:440px}.header-actions .simulation-link{max-width:none}.header-actions .button{font-size:12px;padding-inline:10px}}
@media(max-width:700px){.cta-buttons .button,.hero-actions .button{font-size:14px;min-height:60px;padding:14px 16px}.mobile-cta{display:grid;grid-template-columns:1fr 1.45fr}.mobile-cta .button{font-size:12px;white-space:nowrap;padding:10px 6px}.cta-buttons .simulation-link .cta-label>span{display:block}.cta .section-head h2{text-wrap:balance}}

/* Challenges: full-width, readable cards on mobile. */
@media(max-width:700px){
#problems .problem-grid{grid-template-columns:minmax(0,1fr);gap:16px}
#problems .problem{padding:24px;border-radius:14px;min-width:0}
#problems .problem .role-number{display:block;margin-bottom:14px}
#problems .problem .role-label{margin-bottom:10px;font-size:14px;line-height:1.7}
#problems .problem h3{font-size:20px;line-height:1.65;margin-bottom:14px;word-break:normal;overflow-wrap:break-word}
#problems .problem p:last-child{font-size:16px;line-height:1.85}
}

/* CTA labels form a single text box; arrows never become an extra row. */
.button .cta-label{display:block;flex:0 1 auto;min-width:0;margin:0;padding:0;line-height:1.45;white-space:nowrap;letter-spacing:0}
.hero.brand-hero .hero-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:440px;gap:12px;align-items:stretch}
.hero.brand-hero .hero-actions .button{display:flex;flex-direction:row;align-items:center;justify-content:center;position:relative;box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:64px;min-height:64px;padding:10px 42px;margin:0;font-size:15px;line-height:1.45;gap:12px}
.hero.brand-hero .hero-actions .button>span[aria-hidden]{position:absolute;right:20px;top:50%;transform:translateY(-50%);margin:0;line-height:1}
@media(max-width:700px){
.hero.brand-hero .hero-actions{max-width:none;gap:10px}
.hero.brand-hero .hero-actions .button{height:60px;min-height:60px;font-size:14px;padding:8px 34px}
.hero.brand-hero .hero-actions .button>span[aria-hidden]{right:15px}
.mobile-cta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:8px 10px max(8px,env(safe-area-inset-bottom));align-items:stretch}
.mobile-cta .button{display:flex;flex-direction:row;justify-content:center;align-items:center;box-sizing:border-box;flex:none;width:100%;max-width:100%;min-width:0;height:58px;min-height:58px;padding:6px 4px;margin:0;font-size:12px;line-height:1.4;gap:0;white-space:nowrap}
.mobile-cta .button .cta-label{font-size:12px;line-height:1.45;display:block;flex:none;margin:0;padding:0}
.mobile-cta .button>span[aria-hidden]{display:none!important}
}

/* Company identity beside the logo, with room for the mobile menu. */
header .header-company{display:flex;flex-direction:column;gap:2px;font-size:12px;font-weight:700;line-height:1.4;color:#183544;white-space:nowrap;margin-right:auto}
header{gap:16px}
@media(min-width:701px){header .wordmark{width:140px;flex-basis:140px}header .header-company{font-size:11px}header nav{gap:14px}}
@media(max-width:700px){header{padding-inline:14px;gap:10px}header .wordmark{width:140px;flex:0 1 140px;min-width:0}header .header-company{font-size:11px;flex-shrink:0}header .menu{flex:0 0 42px;width:42px;height:44px}}
@media(max-width:360px){header{padding-inline:10px;gap:8px}header .wordmark{flex-basis:116px;width:116px}header .header-company{font-size:10px}}

/* Three brands: one desktop row and a flowing partner row on small screens. */
header .header-brands{display:flex;align-items:center;gap:22px;flex:0 0 396px;width:396px;margin-right:auto;min-width:0}
header .header-brands .aiju-wordmark{display:block;flex:0 0 156px;width:156px;margin:0}
.header-partners{display:flex;align-items:center;gap:20px;min-width:0}
.aij-company-mark{display:block;width:140px;flex:0 0 140px;background:transparent}
.aij-company-mark svg{display:block;width:100%;height:auto;overflow:visible}
.keihan-company-mark{display:block;width:58px;flex:0 0 58px}
.keihan-company-mark img{display:block;width:100%;height:auto}
.mobile-partner-strip,header .compact-nav-cta{display:none}
@media(min-width:1101px) and (max-width:1350px){header{padding-inline:22px;gap:16px}header .header-brands{flex-basis:350px;width:350px;gap:16px}header .header-brands .aiju-wordmark{flex-basis:140px;width:140px}.header-partners{gap:14px}.aij-company-mark{width:125px;flex-basis:125px}.keihan-company-mark{width:54px;flex-basis:54px}header nav{gap:10px;font-size:13px}header .header-actions .simulation-link{display:none}}
@media(max-width:1100px){
html{scroll-padding-top:100px}
header{height:88px;padding:0 16px;gap:12px;justify-content:space-between;position:sticky;top:0;background:#fff}
header .header-brands{flex:1 1 auto;width:auto;max-width:340px;margin-right:auto;gap:20px}
header .header-brands .aiju-wordmark{flex:0 1 156px;width:156px;min-width:0}
header .header-partners{display:flex;flex:0 0 132px;flex-direction:column;justify-content:center;gap:7px;padding-left:14px;border-left:1px solid #dceaf0}
header .aij-company-mark{width:118px;flex:0 0 auto}
header .keihan-company-mark{width:105px;flex:0 0 auto}
header .keihan-company-mark picture{display:block}
header .keihan-company-mark img{width:100%;height:auto;aspect-ratio:92/29}
header .header-actions{display:none}
header .menu{display:block;flex:0 0 42px;width:42px;height:44px;margin:0;border:1px solid #c8dce5;border-radius:8px;background:#fff;color:#183544;font-size:22px}
header nav{display:none;position:absolute;left:0;right:0;top:88px;padding:16px 20px;background:white;border-bottom:1px solid #c8dce5;box-shadow:0 15px 20px #18354416;max-height:calc(100dvh - 88px);overflow-y:auto}
header nav.open{display:flex;align-items:stretch;flex-direction:column;gap:0}
header nav>a,header nav summary{padding:12px;font-size:15px}
header .nav-services>div{position:static;box-shadow:none}
header .compact-nav-cta{display:block}
}
@media(max-width:400px){header{padding-inline:12px;gap:10px}header .header-brands{gap:12px}header .header-brands .aiju-wordmark{flex-basis:136px;width:136px}}
@media(max-width:350px){header{padding-inline:10px;gap:8px}header .header-brands{gap:8px}header .header-partners{flex-basis:119px;padding-left:8px}header .aij-company-mark{width:110px}header .keihan-company-mark{width:100px}header .header-brands .aiju-wordmark{flex-basis:112px;width:112px}}

/* Partner marks remain half the AIJU wordmark width at each breakpoint. */
header .header-brands{--aiju-logo-width:156px;flex-basis:auto;width:auto;gap:20px}
header .header-brands .aiju-wordmark{width:var(--aiju-logo-width);flex:0 0 var(--aiju-logo-width)}
header .header-partners{gap:14px}
header .aij-company-mark,header .keihan-company-mark{width:calc(var(--aiju-logo-width) / 2);flex:0 0 auto}
header .keihan-company-mark picture{display:block}
header .keihan-company-mark img{width:100%;height:auto;aspect-ratio:92/29}
@media(min-width:1101px) and (max-width:1350px){header .header-brands{--aiju-logo-width:140px;gap:16px}}
@media(max-width:1100px){header .header-brands{max-width:none}header .header-partners{flex:0 0 auto;gap:7px;padding-left:14px}}
@media(max-width:400px){header .header-brands{--aiju-logo-width:136px;gap:12px}}
@media(max-width:350px){header .header-brands{--aiju-logo-width:112px;gap:8px}header .header-partners{padding-left:8px}}
