/* トップのヘッダー・フッターの意匠を下層へ引き継ぐ。本文へは適用しない。 */
:where(body>header,body>footer){--main:#1F3A5F;--main-deep:#162B47;--navy2:#10203A;--green:#7FA663;--green-deep:#5F8347;--gold:#C9A646;--gold-deep:#A8883A;--bg:#F6F8F4;--soft:#EAF0E7;--paper:#FFFFFF;--ink:#1A2A3E;--body:#41505E;--muted:#7C8893;--line:rgba(31,58,95,.16);--line-soft:rgba(31,58,95,.08);--line-white:rgba(255,255,255,.16);}
body>header.site-header{position:sticky; top:0; z-index:50; background:rgba(246,248,244,.96); backdrop-filter:blur(10px); border-bottom:1px solid var(--line);}
:where(body>header,body>footer) .hd-util{border-bottom:1px solid var(--line-soft);}
:where(body>header,body>footer) .hd-util .in{width:min(1300px,calc(100% - 40px)); margin:0 auto; display:flex; justify-content:flex-end; align-items:center; gap:22px; padding:7px 0; font-size:12px;}
:where(body>header,body>footer) .hd-util a{color:var(--muted); display:inline-flex; align-items:center; gap:6px;}
:where(body>header,body>footer) .hd-util a:hover{color:var(--main);}
:where(body>header,body>footer) .hd-main{width:min(1300px,calc(100% - 40px)); margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:13px 0;}
:where(body>header,body>footer) .hd-logo img{height:46px; width:auto;}
:where(body>header,body>footer) .hd-nav{display:flex; align-items:center; gap:24px;}
:where(body>header,body>footer) .hd-nav a{font-size:14.5px; font-weight:500; color:var(--ink); position:relative; white-space:nowrap;}
:where(body>header,body>footer) .hd-nav a::after{content:""; position:absolute; left:0; bottom:-18px; height:3px; width:0; background:var(--main); transition:width .25s ease;}
:where(body>header,body>footer) .hd-nav a:hover{color:var(--main);}
:where(body>header,body>footer) .hd-nav a:hover::after{width:100%;}
:where(body>header,body>footer) .hd-tools{display:flex; align-items:center; gap:10px;}
:where(body>header,body>footer) .hd-tools .tel{font-family:"Space Grotesk",monospace; font-weight:700; font-size:15px; color:var(--main); white-space:nowrap;}
:where(body>header,body>footer) .hd-cta{background:var(--main); color:#fff; font-weight:700; font-size:13px; padding:12px 20px; border-radius:6px; white-space:nowrap;}
:where(body>header,body>footer) .hd-cta:hover{background:var(--main-deep);}
body>footer.footer{background:var(--navy2); color:rgba(255,255,255,.86); 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%);}
body>footer.footer .ft-top{position:relative; width:min(1200px,calc(100% - 56px)); margin:0 auto; display:grid; grid-template-columns:1.3fr 2fr; gap:50px; padding:78px 0 48px;}
body>footer.footer .brand img{height:44px; width:auto; filter:brightness(0) invert(1); opacity:.92;}
body>footer.footer .brand .nm{font-family:"Shippori Mincho",serif; font-weight:700; font-size:24px; color:#fff; margin-top:14px;}
body>footer.footer .brand p{color:rgba(255,255,255,.66); font-size:14px; max-width:26em; margin:14px 0 10px; line-height:1.9;}
body>footer.footer .brand .tel{font-family:"Space Grotesk",monospace; color:#fff; font-weight:700; font-size:18px; margin-top:6px;}
body>footer.footer .sns{display:flex; gap:12px; margin-top:18px;}
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;}
body>footer.footer .sns a:hover{background:var(--gold); color:var(--navy2); border-color:var(--gold);}
body>footer.footer .sns svg{width:18px; height:18px; fill:currentColor;}
body>footer.footer .cols{display:grid; grid-template-columns:repeat(3,1fr); gap:30px;}
body>footer.footer .col h4{font-family:"Space Grotesk",monospace; font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); margin:0 0 14px;}
body>footer.footer .col a{display:block; color:#fff; font-size:14px; padding:7px 0; opacity:.85; transition:.2s ease;}
body>footer.footer .col a:hover{opacity:1; padding-left:6px; color:var(--gold);}
body>footer.footer .ft-bottom{position:relative; border-top:1px solid var(--line-white);}
body>footer.footer .ft-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;}
body>footer.footer .ft-bottom .cp{font-family:"Space Grotesk",monospace; font-size:12px; color:rgba(255,255,255,.55);}
body>footer.footer .ft-bottom .legal{display:flex; gap:22px; flex-wrap:wrap;}
body>footer.footer .ft-bottom .legal a{color:rgba(255,255,255,.55); font-size:12px;}
body>footer.footer .ft-bottom .legal a:hover{color:#fff;}
@media(max-width:820px){body>footer.footer .ft-top{grid-template-columns:1fr; gap:36px;}
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) .hd-util{display:none;}
:where(body>header,body>footer) .hd-tools .tel{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}}