/* HJJ Footer v6.7.6: overview grid and compact linked legal index */
#hjj-global-footer .hjj-footer-upper{display:grid;grid-template-columns:minmax(230px,.72fr) minmax(0,1.7fr);gap:56px}
#hjj-global-footer .hjj-footer-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:18px;padding-top:3px}
#hjj-global-footer .hjj-footer-overview-col{min-width:0}
#hjj-global-footer .hjj-footer-overview-col h3{color:#fff!important;font-size:12px!important;line-height:1.5;margin:0 0 11px;font-weight:750}
#hjj-global-footer .hjj-footer-overview-col p,#hjj-global-footer .hjj-footer-overview-col li{color:#c8dcea!important;font-size:11.5px!important;line-height:1.9!important;margin:0;font-weight:450}
#hjj-global-footer .hjj-footer-overview-col ul{padding:0;list-style:none;margin:0}
#hjj-global-footer .hjj-footer-policies{display:flex;align-items:center;flex-wrap:wrap;column-gap:23px;row-gap:12px;padding:20px 0 2px;margin-top:4px;border-top:1px solid rgba(200,229,246,.2)}
#hjj-global-footer .hjj-footer-policies a{color:#bfd4e4!important;font-size:11px!important;line-height:1.7!important;text-decoration:none!important;transition:color .2s ease}
#hjj-global-footer .hjj-footer-policies a:hover,#hjj-global-footer .hjj-footer-policies a:focus-visible{color:#65d2f6!important;text-decoration:underline!important}
@media(max-width:1120px){#hjj-global-footer .hjj-footer-upper{grid-template-columns:minmax(210px,.7fr) minmax(0,1.5fr);gap:34px}#hjj-global-footer .hjj-footer-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}}
@media(max-width:720px){#hjj-global-footer .hjj-footer-upper{grid-template-columns:1fr}#hjj-global-footer .hjj-footer-overview{grid-template-columns:repeat(2,minmax(0,1fr))}#hjj-global-footer .hjj-footer-policies{gap:12px 20px}}
@media(max-width:430px){#hjj-global-footer .hjj-footer-overview{grid-template-columns:1fr 1fr;gap:19px 14px}}
/* Standalone legal document */
.hjj-legal-page{min-height:100vh;background:#f4f8fb;color:#143b56;font-family:Inter,system-ui,-apple-system,'Noto Sans JP',sans-serif}
.hjj-legal-header{background:#0a2b47;color:#fff;padding:26px max(20px,calc((100% - 1040px)/2));display:flex;align-items:center;justify-content:space-between;gap:12px}
.hjj-legal-header a{color:#fff;text-decoration:none;font-weight:700}.hjj-legal-header a:hover{text-decoration:underline}
.hjj-legal-langs{display:flex;gap:9px}.hjj-legal-langs button{border:1px solid #9ebed1;border-radius:12px;background:transparent;color:#fff;padding:7px 13px;cursor:pointer}.hjj-legal-langs button.active{background:#fff;color:#0a2b47}
.hjj-legal-main{max-width:1040px;margin:0 auto;padding:60px 24px 110px}.hjj-legal-main h1{font-size:clamp(32px,5vw,53px);margin:0 0 12px}.hjj-legal-main>p{color:#5a748a;margin-bottom:42px}.hjj-legal-toc{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 42px}.hjj-legal-toc a{padding:10px 14px;color:#135a83;border:1px solid #c8dae5;border-radius:10px;text-decoration:none;background:#fff}
.hjj-legal-section{background:#fff;padding:28px 34px;border:1px solid #d7e5ed;border-radius:14px;margin:16px 0;scroll-margin-top:24px}.hjj-legal-section h2{margin:0 0 12px;font-size:22px}.hjj-legal-section p{margin:0;font-size:15px;line-height:2;color:#36586d}.hjj-legal-page [data-en],.hjj-legal-page [data-ja]{display:none}
.hjj-legal-page[data-lang=en] [data-en],.hjj-legal-page[data-lang=ja] [data-ja]{display:block}
@media(max-width:600px){.hjj-legal-section{padding:23px 19px}.hjj-legal-header{padding:18px}}
