/* トップのヘッダー・フッターの意匠を下層へ引き継ぐ。本文へは適用しない。 */
:where(body>header,body>footer){--ink:#121212;--ink2:#0A0A0A;--steel:#1A1A1A;--steel2:#222426;--silver:#C9CDD2;--silver2:#8C9298;--red:#D32F2F;--red-deep:#B0211B;--red-soft:#E5564F;--bg:#F4F5F6;--soft:#E8EAEC;--paper:#FFFFFF;--body:#33373A;--muted:#787E84;--line:rgba(18,18,18,.16);--line-soft:rgba(18,18,18,.08);--line-white:rgba(255,255,255,.14);}
body>header.site-header{position:sticky; top:0; z-index:50; background:rgba(18,18,18,.94); backdrop-filter:blur(12px); border-bottom:1px solid rgba(201,205,210,.16);}
body>header.site-header .hd-util{border-bottom:1px solid rgba(201,205,210,.1);}
body>header.site-header .hd-util-in{width:min(1320px,calc(100% - 40px)); margin:0 auto; display:flex; justify-content:flex-end; align-items:center; gap:22px; padding:7px 0; font-size:12px;}
body>header.site-header .hd-util-in a{color:rgba(201,205,210,.72); display:inline-flex; align-items:center; gap:6px; letter-spacing:.04em;}
body>header.site-header .hd-util-in a:hover{color:var(--red-soft);}
body>header.site-header .hd-util-in .tel{font-family:"Space Grotesk",monospace; color:#fff; font-weight:700; letter-spacing:.06em;}
body>header.site-header .hd-main{width:min(1320px,calc(100% - 40px)); margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:14px 0;}
body>header.site-header .hd-logo{display:inline-flex; align-items:center; background:#fff; padding:6px 14px; border-radius:8px;}
body>header.site-header .hd-logo img{height:38px; width:auto; display:block;}
body>header.site-header .hd-nav{display:flex; align-items:center; gap:24px;}
body>header.site-header .hd-nav a{position:relative; font-size:14px; font-weight:500; color:rgba(255,255,255,.85); letter-spacing:.02em; white-space:nowrap; padding:6px 0;}
body>header.site-header .hd-nav a::after{content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0; background:var(--red); transition:width .25s ease;}
body>header.site-header .hd-nav a:hover{color:#fff;}
body>header.site-header .hd-nav a:hover::after{width:100%;}
body>header.site-header .hd-tools{display:flex; align-items:center; gap:14px;}
body>header.site-header .hd-cta{background:var(--red); color:#fff; font-weight:700; font-size:12.5px; padding:12px 22px; white-space:nowrap;}
body>header.site-header .hd-cta:hover{background:var(--red-deep);}
@media(max-width:1100px){body>header.site-header .hd-nav{display:none;}}
body>footer.footer{background:var(--ink2); color:rgba(255,255,255,.72); position:relative; overflow:hidden;}
body>footer.footer::before{content:""; position:absolute; inset:0; pointer-events:none; opacity:.5; background-image:radial-gradient(rgba(255,255,255,.06) 1px,transparent 1px); background-size:26px 26px; -webkit-mask-image:linear-gradient(180deg,#000,transparent 60%); mask-image:linear-gradient(180deg,#000,transparent 60%);}
:where(body>header,body>footer) .footer__top{position:relative; width:min(1200px,calc(100% - 56px)); margin:0 auto; display:grid; grid-template-columns:1.3fr 2fr; gap:50px; padding:80px 0 50px;}
:where(body>header,body>footer) .footer__brand .nm{font-family:"Zen Kaku Gothic New",sans-serif; font-weight:700; font-size:28px; letter-spacing:.02em; color:#fff;}
:where(body>header,body>footer) .footer__brand p{color:rgba(255,255,255,.58); font-size:14px; max-width:26em; margin:18px 0 24px; line-height:1.9;}
:where(body>header,body>footer) .footer__brand .tel{font-family:"Space Grotesk",monospace; color:#fff; font-weight:700; font-size:18px;}
:where(body>header,body>footer) .footer__sns{display:flex; gap:12px; margin-top:18px;}
:where(body>header,body>footer) .footer__sns a{width:40px; height:40px; border:1px solid var(--line-white); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; transition:.2s ease;}
:where(body>header,body>footer) .footer__sns a:hover{background:var(--red); color:#fff; border-color:var(--red);}
:where(body>header,body>footer) .footer__sns svg{width:18px; height:18px; fill:currentColor;}
:where(body>header,body>footer) .footer__cols{display:grid; grid-template-columns:repeat(3,1fr); gap:30px;}
:where(body>header,body>footer) .footer__col h4{font-family:"Space Grotesk",monospace; font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--red-soft); margin:0 0 16px;}
:where(body>header,body>footer) .footer__col a{display:block; color:#fff; text-decoration:none; font-size:14px; padding:7px 0; opacity:.85; transition:.2s ease;}
:where(body>header,body>footer) .footer__col a:hover{opacity:1; padding-left:6px; color:var(--red-soft);}
:where(body>header,body>footer) .footer__bottom{position:relative; border-top:1px solid var(--line-white);}
:where(body>header,body>footer) .footer__bottom .in{width:min(1200px,calc(100% - 56px)); margin:0 auto; display:flex; justify-content:space-between; align-items:center; padding:22px 0; flex-wrap:wrap; gap:12px;}
:where(body>header,body>footer) .footer__bottom .cp{font-family:"Space Grotesk",monospace; font-size:12px; color:rgba(255,255,255,.5); letter-spacing:.04em;}
:where(body>header,body>footer) .footer__bottom .legal{display:flex; gap:22px;}
:where(body>header,body>footer) .footer__bottom .legal a{color:rgba(255,255,255,.5); text-decoration:none; font-size:12px;}
:where(body>header,body>footer) .footer__bottom .legal a:hover{color:#fff;}
@media(max-width:820px){:where(body>header,body>footer) .footer__top{grid-template-columns:1fr; gap:36px;}
:where(body>header,body>footer) .footer__cols{grid-template-columns:1fr 1fr;}}
@media (max-width:768px){:where(body>header,body>footer) .hd-nav{display:none;}}
:where(body>header,body>footer) .z-mobile-toggle{display:none;position:absolute;right:16px;top:50%;transform:translateY(-50%);z-index:10002;width:48px;height:48px;border:1px solid currentColor;border-radius:50%;background:var(--paper,#fff);color:var(--ink,#111);cursor:pointer;align-items:center;justify-content:center}
:where(body>header,body>footer) .z-mobile-toggle span,:where(body>header,body>footer) .z-mobile-toggle::before,:where(body>header,body>footer) .z-mobile-toggle::after{content:"";position:absolute;width:22px;height:2px;background:currentColor;transition:transform .3s ease,opacity .3s ease}
:where(body>header,body>footer) .z-mobile-toggle::before{transform:translateY(-7px)}
:where(body>header,body>footer) .z-mobile-toggle::after{transform:translateY(7px)}
@media(max-width:900px){body>header{position:relative;padding-right:62px!important}
:where(body>header,body>footer) .z-mobile-toggle{display:flex}
body>header nav{display:none!important}
body.z-mobile-open header{z-index:10000}
body.z-mobile-open header nav{display:flex!important;position:fixed!important;inset:0!important;z-index:10000!important;background:var(--paper,#fff)!important;color:var(--ink,#111)!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;padding:88px 24px 32px!important;overflow:auto!important}
body.z-mobile-open header nav a{display:block!important;width:min(100%,420px)!important;padding:15px 8px!important;border-bottom:1px solid rgba(80,80,80,.18)!important;color:inherit!important;text-align:center!important;font-size:16px!important}
body.z-mobile-open .z-mobile-toggle{position:fixed;color:var(--ink,#111);background:var(--paper,#fff)}
body.z-mobile-open .z-mobile-toggle span{opacity:0}
body.z-mobile-open .z-mobile-toggle::before{transform:rotate(45deg)}
body.z-mobile-open .z-mobile-toggle::after{transform:rotate(-45deg)}}
@media(prefers-reduced-motion:reduce){:where(body>header,body>footer) .z-mobile-toggle span,:where(body>header,body>footer) .z-mobile-toggle::before,:where(body>header,body>footer) .z-mobile-toggle::after{transition:none}}