/* Shared header and footer, matched to the current homepage. */
.legal-hero{padding-top:56px}.legal-body>.container{width:calc(100% - 40px);margin-inline:auto}
@media(max-width:650px){.legal-hero{padding:38px 0}.legal-body{padding:35px 0 55px}.legal-body p,.legal-body li{overflow-wrap:anywhere}}
.header,.original-footer{color:#f4f7fb;font-family:'Noto Sans JP',Meiryo,sans-serif;font-weight:400;line-height:1.85;letter-spacing:normal}
.header *,.original-footer *{box-sizing:border-box}
.header a,.original-footer a{text-decoration:none;color:inherit}
.header a:focus-visible,.header button:focus-visible,.original-footer a:focus-visible{outline:3px solid #dba549;outline-offset:5px}
.header{height:76px;padding:0 24px;display:flex;align-items:center;border-bottom:1px solid #36526b;background:#12263cf7;backdrop-filter:blur(16px);position:sticky;top:0;z-index:100;gap:20px}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;width:100%;max-width:1180px;height:100%;margin:auto}
.header .brand,.original-footer .brand{display:flex;align-items:center;gap:10px;font-family:'Noto Sans JP',Meiryo,sans-serif;font-weight:900;line-height:1;white-space:nowrap;flex-shrink:0}
.header .brand-icon,.original-footer .brand-icon{display:block;width:44px;height:44px;object-fit:contain;max-width:100%}
.header .brand-word,.original-footer .brand-word{font:900 27px/1 'Noto Sans JP',Meiryo,sans-serif;letter-spacing:-.04em;display:inline;margin:0}
.header .brand b,.original-footer .brand b{background:linear-gradient(135deg,#fda4af,#fb7185,#e11d48);background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 5px #fb718540)}
.header .brand i,.original-footer .brand i{font-style:normal;background:linear-gradient(135deg,#bae6fd,#38bdf8,#0ea5e9);background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 5px #38bdf840)}
.header nav{display:flex;align-items:center;flex:1;justify-content:space-between;gap:24px;font-size:13px;font-weight:700}
.header-links{display:flex;align-items:center;gap:24px;margin:auto}
.header-links a{color:#c8d6e5;font-size:13px;font-weight:500;white-space:nowrap}.header-links a:hover{color:white}
.header-actions{display:flex;align-items:center;gap:12px}
.header .header-actions .nav-login{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border:1px solid #50809d;border-radius:7px;padding:8px 15px;min-height:40px;color:#edf5fc;font-size:12px}
.header .button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #27c96b;border-radius:7px;gap:7px;white-space:nowrap;padding:8px 15px;min-height:40px;background:#008a3b;color:white;font-size:12px;font-weight:900;line-height:1.85;transition:background .2s,transform .2s}
.header .button:hover{background:#007d35;transform:translateY(-2px)}.header-actions svg,.original-footer .footer-socials svg{width:23px;height:23px;flex-shrink:0;color:white}
.header .menu-toggle{display:none;font:inherit;border:0;background:transparent;color:white;cursor:pointer}
.original-footer{padding:44px 0 30px;background:#132940;border-top:1px solid #37556f}
.original-footer .wrap{max-width:1120px;width:calc(100% - 96px);margin-inline:auto}
.original-footer-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:90px;margin-bottom:46px}
.original-footer-brand>.brand{display:inline-flex}.original-footer-brand>p{font-size:13px;color:#bdd0e3;line-height:1.9;margin:17px 0 21px}
.original-footer .footer-socials{display:flex;gap:12px;align-items:center}
.original-footer .footer-socials a{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:7px 16px;font-size:12px;font-weight:700;border-radius:7px}
.original-footer .footer-socials .footer-line{border:1px solid #27c96b;background:#008a3b;color:white}.original-footer .footer-socials .footer-discord{background:#2e4268;border:1px solid #63749c;color:#c4cbff}.original-footer .footer-socials a:hover{filter:brightness(1.2)}
.original-footer .footer-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 30px;align-content:start;padding-top:12px}
.original-footer .footer-navigation a{font-size:13px;color:#bdd0e3}.original-footer .footer-navigation a:hover{color:#ffdc7e}
.original-footer .footer-bottom{display:flex;justify-content:space-between;gap:24px;padding-top:24px;border-top:1px solid #36516a;font-size:11px;color:#9bb4c9;text-align:left;margin:0}
.original-footer .footer-bottom small{font-size:11px}.original-footer .footer-bottom>div{display:flex;gap:24px}
@media(min-width:801px) and (max-width:1150px){.header-inner{gap:20px}.header .brand .brand-word{font-size:23px}.header .brand .brand-icon{width:35px;height:35px}.header-links{gap:14px}.header-links a{font-size:11px}.header nav{gap:16px}.header-actions{gap:8px}.header .header-actions .nav-login{padding:8px 10px;font-size:11px}.header .header-actions .button{font-size:11px}.header-actions svg{width:19px;height:19px}}
@media(max-width:1100px){.original-footer .wrap{width:calc(100% - 64px)}}
@media(max-width:800px){
 .header{height:72px;padding-inline:20px}.header-inner{gap:10px}.header .brand .brand-word{font-size:25px}.header .brand .brand-icon{width:38px;height:38px}
 .header .menu-toggle{display:flex;gap:22px;align-items:center;margin-left:auto;padding:10px 0;font-size:12px;font-weight:700}.header .menu-toggle span{font-size:22px}
 .header nav{display:none;position:absolute;top:72px;left:0;right:0;padding:23px;border-bottom:1px solid #31445b;flex-direction:column;align-items:stretch;gap:22px;max-height:calc(100dvh - 72px);overflow:auto;background:#1a334c}.header nav.open{display:flex}
 .header-links{flex-direction:column;align-items:stretch;margin:0;gap:0}.header-links a{font-size:14px;padding:13px 4px;border-bottom:1px solid #3e5c76}.header-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.header .header-actions .button,.header .header-actions .nav-login{font-size:13px}
 .original-footer{padding:44px 0 45px}.original-footer .wrap{width:calc(100% - 40px)}.original-footer-grid{gap:35px;grid-template-columns:1fr 1fr}.original-footer .footer-navigation{gap:15px 18px}.original-footer .footer-navigation a{font-size:12px}.original-footer .brand .brand-word{font-size:25px}.original-footer .footer-bottom{flex-direction:column;gap:14px}.original-footer .footer-bottom>div{flex-wrap:wrap;gap:10px 20px}
}
@media(max-width:650px){
 .header{height:64px}.header nav{top:64px;max-height:calc(100dvh - 64px)}.header .brand .brand-word{font-size:23px}.header .brand .brand-icon{width:34px;height:34px}
 .original-footer{padding-top:32px}.original-footer .wrap{width:calc(100% - 36px)}.original-footer-grid{grid-template-columns:1fr;gap:33px;margin-bottom:34px}.original-footer-brand>p{font-size:12px}.original-footer .footer-navigation{gap:16px 20px;padding-top:0}.original-footer .footer-navigation a{font-size:13px}.original-footer .footer-bottom{gap:16px}.original-footer .footer-bottom>div{gap:12px;font-size:10px}
}
@media(max-width:350px){.header{padding-inline:16px}.header .brand .brand-word{font-size:21px}.header .brand{gap:6px}.header .menu-toggle{gap:10px}}
@media(prefers-reduced-motion:reduce){.header .button{transition:none}}
