/* TOP consultation panel, isolated from legacy page typography and layout. */
#contact,#contact *:not(svg):not(svg *){all:revert;box-sizing:border-box}
#contact{display:block;width:100%;font:400 16px/normal Manrope,"Noto Sans JP",sans-serif;letter-spacing:normal;text-align:start;-webkit-font-smoothing:antialiased}
#contact *{font-family:inherit;letter-spacing:normal;box-sizing:border-box}
#contact.footer-contact-v24{position:relative;isolation:isolate;overflow:hidden;margin:20px 16px 0;padding:58px 40px 42px;background:#123c33 url("b/c1091ccbd9-photo-mk1m1676.jpg") center 48%/cover no-repeat;color:#fff;border-radius:0!important}
#contact.footer-contact-v24:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(105deg,rgba(4,30,26,.83),rgba(3,28,26,.68))}
#contact .footer-consult-inner{max-width:1160px;margin:auto;text-align:center}
#contact .footer-consult-eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 26px;text-align:left;font-size:11px;letter-spacing:.08em;font-weight:600}
#contact .footer-consult-eyebrow>span{width:10px;height:6px;display:inline-block;background:#d1b16a;border-radius:60% 40%!important;transform:rotate(-20deg)}
#contact.footer-contact-v24 h2{margin:0;font-size:clamp(24px,2.3vw,34px);line-height:1.6;letter-spacing:.03em;color:inherit}
#contact .footer-consult-lead{font-size:13px;line-height:2;margin:16px 0 42px;color:#fff}
#contact .footer-consult-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:1080px;margin:auto}
#contact .footer-consult-card{padding:20px 26px 26px;min-width:0}
#contact .footer-consult-card+.footer-consult-card{border-left:1px solid rgba(255,255,255,.4)}
#contact .footer-consult-card h3{display:flex;align-items:center;justify-content:center;gap:10px;font-size:16px;line-height:1.6;margin:0 0 24px;color:inherit}
#contact .footer-consult-card h3 svg{width:24px;height:24px;flex:0 0 24px}
#contact .footer-consult-button{display:flex;align-items:center;justify-content:center;gap:12px;max-width:250px;min-height:48px;margin:auto;padding:12px 20px;border:1px solid #d1b16a;background:#fff;color:#124637;border-radius:0!important;font-size:12px;font-weight:600;text-decoration:none;transition:background .2s,color .2s,transform .2s}
#contact .footer-consult-button>span{color:#a8873b;font-size:18px}
#contact .footer-consult-button:hover{background:#f3e8cd;transform:translateY(-2px)}
#contact .footer-consult-number{display:flex;align-items:center;justify-content:center;min-height:48px;color:#fff;white-space:nowrap;font-size:clamp(24px,2.3vw,34px);font-weight:700;line-height:1.2;letter-spacing:-.035em;text-decoration:none}
#contact .footer-consult-card p{font-size:12px;line-height:2;margin:18px 0 0;color:#fff}
#contact .footer-consult-note{font-size:11px;letter-spacing:.08em;color:#e5eae6;margin:20px 0 0}
#contact.footer-contact-v24 a:focus-visible{outline:3px solid #d1b16a;outline-offset:5px}
@media(max-width:1000px){#contact.footer-contact-v24{padding:42px 22px 32px}
#contact .footer-consult-card{padding:18px 14px}
#contact .footer-consult-card h3{font-size:13px;gap:6px}
#contact .footer-consult-number{font-size:24px}
}
@media(max-width:700px){#contact.footer-contact-v24{margin:12px 12px 0;padding:32px 22px;border-radius:0!important;background-position:58% center}
#contact .footer-consult-eyebrow{font-size:10px;margin-bottom:24px}
#contact.footer-contact-v24 h2{font-size:24px}
#contact .footer-consult-lead{font-size:12px;margin:16px 0 20px}
#contact .footer-consult-columns{grid-template-columns:1fr;max-width:420px}
#contact .footer-consult-card{padding:28px 0}
#contact .footer-consult-card+.footer-consult-card{border-left:0;border-top:1px solid rgba(255,255,255,.35)}
#contact .footer-consult-card h3{font-size:15px;margin-bottom:18px}
#contact .footer-consult-number{font-size:30px}
#contact .footer-consult-card p{font-size:11px;margin-top:14px}
#contact .footer-consult-note{font-size:10px;margin-top:4px}
}
@media(prefers-reduced-motion:reduce){#contact .footer-consult-button{transition:none}
#contact .footer-consult-button:hover{transform:none}
}
#contact.footer-contact-v24{scroll-margin-top:120px}
#contact.footer-contact-v24{border-radius:47px!important;background-image:url("/assets/contact-team-poster-20261111.jpg");background-position:center center}
@media(max-width:700px){#contact.footer-contact-v24{border-radius:25px!important;background-position:58% center}
}
#contact.footer-contact-v24{--photo-height:calc(min(100vw - 32px,1440px) * 1697 / 2400);background-size:min(100%,1440px) auto;background-position:center top;min-height:var(--photo-height);padding:calc(var(--photo-height) * .66) 40px 32px;box-sizing:border-box}
#contact.footer-contact-v24::before{background:linear-gradient(to bottom,transparent 0,transparent calc(var(--photo-height) * .62),rgba(4,30,26,.82) calc(var(--photo-height) * .70),rgba(4,30,26,.94) var(--photo-height),rgba(4,30,26,.94) 100%)}
#contact .footer-consult-eyebrow{margin-bottom:12px}
#contact .footer-consult-lead{margin:12px 0 18px}
#contact .footer-consult-card{padding:14px 20px}
#contact .footer-consult-card h3{margin-bottom:14px}
#contact .footer-consult-card p{margin-top:12px}
#contact .footer-consult-note{margin-top:14px}
@media(max-width:1000px){#contact.footer-contact-v24{padding-inline:22px}
#contact .footer-consult-card{padding-inline:12px}
}
@media(max-width:700px){#contact.footer-contact-v24{--photo-height:calc((100vw - 24px) * 1697 / 2400);padding:calc(var(--photo-height) * .69) 22px 28px}
#contact .footer-consult-eyebrow{font-size:9px;margin-bottom:8px}
#contact h2{font-size:clamp(19px,5.2vw,24px);line-height:1.6;text-wrap:wrap;word-break:keep-all}
#contact .footer-consult-lead{margin:12px 0 16px}
#contact .footer-consult-card{padding:20px 0}
#contact .footer-consult-card h3{margin-bottom:12px}
}
#contact.footer-contact-v24{min-height:0;padding-top:calc(var(--photo-height) * .61);padding-bottom:16px}
#contact.footer-contact-v24::before{background:linear-gradient(to bottom,transparent 0,transparent calc(var(--photo-height) * .57),rgba(4,30,26,.84) calc(var(--photo-height) * .65),rgba(4,30,26,.96) calc(var(--photo-height) * .88),rgba(4,30,26,.96) 100%)}
#contact .footer-consult-eyebrow{margin-bottom:4px}
#contact h2{line-height:1.35}
#contact .footer-consult-lead{margin:4px 0 6px;line-height:1.65}
#contact .footer-consult-card{padding-block:6px}
#contact .footer-consult-card h3{margin-bottom:6px;line-height:1.4}
#contact .footer-consult-card p{margin-top:6px;line-height:1.6}
#contact .footer-consult-note{margin-top:4px}
@media(max-width:700px){#contact.footer-contact-v24{padding-top:calc(var(--photo-height) * .65);padding-bottom:16px}
#contact .footer-consult-lead{margin:6px 0 8px}
#contact .footer-consult-card{padding-block:8px}
#contact .footer-consult-button{min-height:44px;padding-block:8px}
#contact .footer-consult-number{min-height:44px}
}
#contact.footer-contact-v24{margin-inline:0;border-radius:0!important;--photo-height:calc(100vw * 1697 / 2400);background-size:100% auto}
@media(max-width:420px){#contact #footer-consult-title{max-width:calc(100% - 24px);margin-inline:auto}
}
#contact.footer-contact-v24::before{background:linear-gradient(to bottom,transparent 0,transparent calc(var(--photo-height) * .57),rgba(4,30,26,.48) calc(var(--photo-height) * .65),rgba(4,30,26,.72) calc(var(--photo-height) * .88),rgba(4,30,26,.72) 100%)}
#contact .footer-consult-inner{position:relative;text-shadow:0 1px 4px rgba(0,20,15,.8)}
#contact .footer-consult-button{text-shadow:none}
@media(max-width:1000px){#contact.footer-contact-v24::after{content:"";position:absolute;z-index:-2;inset:calc(var(--photo-height) * .68) 0 0;background:url("/assets/contact-team-poster-20261111.jpg") center bottom/auto 400% no-repeat;mask-image:linear-gradient(transparent,#000 52px);pointer-events:none}
}
#contact.footer-contact-v24::before{background:linear-gradient(to bottom,transparent 0,transparent calc(var(--photo-height) * .55),rgba(4,30,26,.86) calc(var(--photo-height) * .61),rgba(4,30,26,.92) calc(var(--photo-height) * .88),rgba(4,30,26,.92) 100%)}
#contact .footer-consult-inner{text-shadow:0 2px 5px rgba(0,15,10,.7)}
#contact #footer-consult-title{font-size:clamp(30px,3.2vw,46px);font-weight:800;line-height:1.4;letter-spacing:.025em}
#contact .footer-consult-eyebrow{font-size:12px;font-weight:700;margin-bottom:10px}
#contact .footer-consult-lead{font-size:16px;font-weight:600;line-height:1.8;margin:10px 0 18px}
#contact .footer-consult-card h3{font-size:18px;font-weight:700;margin-bottom:12px}
#contact .footer-consult-card p{font-size:14px;font-weight:500;line-height:1.8;margin-top:10px}
#contact .footer-consult-button{font-size:14px;font-weight:700;min-height:52px;text-shadow:none}
#contact .footer-consult-number{font-size:clamp(28px,3vw,42px);font-weight:800;min-height:52px}
#contact .footer-consult-note{font-size:12px;font-weight:500;color:#fff;margin-top:12px}
@media(min-width:701px) and (max-width:1000px){#contact .footer-consult-card{padding-inline:8px}
#contact .footer-consult-card h3{font-size:15px}
#contact .footer-consult-number{font-size:26px}
#contact .footer-consult-card p{font-size:13px}
}
@media(max-width:700px){#contact #footer-consult-title{font-size:clamp(22px,6.2vw,26px);letter-spacing:0;max-width:none}
#contact .footer-consult-eyebrow{font-size:10px;margin-bottom:10px}
#contact .footer-consult-lead{font-size:14px;margin:10px 0 14px}
#contact .footer-consult-card{padding-block:14px}
#contact .footer-consult-card h3{font-size:17px}
#contact .footer-consult-card p{font-size:13px}
#contact .footer-consult-number{font-size:34px}
#contact .footer-consult-note{font-size:11px}
}
#contact.footer-contact-v24.contact-photo-only{background-image:url('/assets/contact-team-no-slogan-20261112.png')}
#contact.footer-contact-v24.contact-photo-only::after{background-image:url('/assets/contact-team-no-slogan-20261112.png')}

#contact.footer-contact-v24{margin-top:0}

/* Preserve TOP wrapping after the legacy typography reset. */
#contact{overflow-wrap:normal}
@media(max-width:700px){#contact #footer-consult-title{word-break:keep-all}}
