/* Common footer matching the TOP reference. Scoped reset prevents legacy page styles. */
#shared-site-footer,#shared-site-footer *:not(svg):not(svg *){all:revert;box-sizing:border-box}
#shared-site-footer svg,#shared-site-footer svg *{box-sizing:border-box}
#shared-site-footer{display:block;font-family:Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;letter-spacing:normal;text-align:left;width:auto;position:relative}
#shared-site-footer *{font-family:inherit;letter-spacing:normal}
#shared-site-footer [hidden]{display:none!important}
#shared-site-footer.footer-v24{padding:58px max(6vw,24px) 24px;background:#fff;color:#153c33;font-size:12px;line-height:1.8}
#shared-site-footer .footer-v24-main,#shared-site-footer .footer-v24-bottom{max-width:1280px;margin:auto}
#shared-site-footer .footer-v24-main{display:grid;grid-template-columns:240px minmax(0,1fr);gap:64px}
#shared-site-footer .footer-v24-logo{display:block;width:180px;margin-bottom:22px}
#shared-site-footer .footer-v24-logo img{display:block;width:100%;height:auto;filter:none}
#shared-site-footer .footer-v24-name{margin:0 0 4px;font-size:12px;font-weight:600}
#shared-site-footer.footer-v24 address{font-style:normal;color:#65756c;font-size:11px;line-height:2.1}
#shared-site-footer.footer-v24 a{color:inherit;text-decoration:none}
#shared-site-footer.footer-v24 a:hover{color:#987523;text-decoration:underline;text-underline-offset:4px}
#shared-site-footer .footer-v24-social{display:inline-flex;gap:8px;align-items:center;margin-top:18px}
#shared-site-footer .footer-v24-social svg{width:20px;height:20px}
#shared-site-footer .footer-v24-social span{font-size:11px}
#shared-site-footer .footer-v24-nav{display:grid;grid-template-columns:1.25fr 1fr 1fr .8fr;gap:28px}
#shared-site-footer .footer-nav-column h2{font-size:12px;line-height:1.5;margin:0 0 18px;font-weight:700;letter-spacing:.02em}
#shared-site-footer .footer-nav-column>a{display:block;font-size:11px;margin:0 0 10px;line-height:1.9}
#shared-site-footer .footer-v24-policies{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px 24px;margin:32px 0 24px;font-size:10px;color:#65756c}
#shared-site-footer .footer-v24-certs{display:flex;flex-wrap:wrap;align-items:center;gap:22px;justify-content:flex-end;border-bottom:1px solid #e7ebe7;padding:0 0 22px;margin-bottom:22px}
#shared-site-footer .footer-v24-certs img{height:70px;width:auto;max-width:100%;object-fit:contain;background:#fff;padding:5px;flex:0 0 auto}
#shared-site-footer .footer-v24-utility{display:flex;align-items:center;gap:24px;justify-content:space-between;color:#65756c;font-size:10px}
#shared-site-footer .footer-v24-utility small{margin-right:auto}
#shared-site-footer .footer-v24-utility button{border:1px solid #cdd7d0;background:#fff;color:#345247;padding:8px 14px;font:inherit;cursor:pointer}
#shared-site-footer .footer-v24-top{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #cdd7d0;font-size:20px}
#shared-site-footer.footer-v24 a:focus-visible,#shared-site-footer.footer-v24 button:focus-visible{outline:3px solid #d1b16a;outline-offset:5px}
@media(max-width:1000px){#shared-site-footer .footer-v24-main{grid-template-columns:190px 1fr;gap:32px}
#shared-site-footer .footer-v24-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
}
@media(max-width:700px){#shared-site-footer.footer-v24{padding:40px 24px 24px}
#shared-site-footer .footer-v24-main{grid-template-columns:1fr;gap:34px}
#shared-site-footer .footer-v24-nav{gap:24px 18px}
#shared-site-footer .footer-v24-policies{justify-content:flex-start;margin-top:28px;gap:10px 18px}
#shared-site-footer .footer-v24-certs{gap:16px;margin-inline:-10px}
#shared-site-footer .footer-v24-utility{flex-wrap:wrap;gap:14px}
#shared-site-footer .footer-v24-utility small{flex:1 1 100%}
#shared-site-footer .footer-v24-top{margin-left:auto}
}
#shared-site-footer .footer-v24-certs{flex-wrap:wrap;row-gap:14px}
#shared-site-footer .footer-v24-certs img{height:70px;max-width:300px}
#shared-site-footer .footer-v24-certs img[src*="cert-tokyo23-100"]{background:#123c33;padding:6px 14px;box-sizing:content-box;height:58px}
@media(max-width:700px){#shared-site-footer .footer-v24-certs{justify-content:center;gap:16px}
#shared-site-footer .footer-v24-certs img{height:56px;max-width:262px}
#shared-site-footer .footer-v24-certs img[src*="cert-tokyo23-100"]{height:46px;padding:5px 10px;max-width:240px}
}

#shared-site-footer .footer-nav-column h2{color:inherit}

/* Keep the existing mobile badge grouping centred through the 800px breakpoint. */
@media(max-width:800px){#shared-site-footer .footer-v24-certs{justify-content:center}}
