/* トップのヘッダー・フッターの意匠を下層へ引き継ぐ。本文へは適用しない。 */
:where(body>header,body>footer){--mist:#eef0ec;--mist-2:#e3e7e1;--paper:#f7f8f5;--white:#fdfdfc;--ink:#23292a;--ink-soft:#39423f;--teal:#4e7a72;--teal-d:#3a5d56;--teal-bg:#e8eeec;--muted:#6c7672;--line:rgba(35,41,42,.14);--line-soft:rgba(35,41,42,.08);--serif:'Noto Serif JP',serif;--sans:'Zen Kaku Gothic New',sans-serif;--mono:'Space Grotesk',monospace;}
:where(body>header,body>footer) .btn{word-break:auto-phrase;text-wrap:balance;}
:where(body>header,body>footer) .serif{font-family:var(--serif);}
:where(body>header,body>footer) .mono{font-family:var(--mono);letter-spacing:.04em;}
body>header.hd{position:sticky;top:0;z-index:50;background:rgba(253,253,252,.92);backdrop-filter:blur(10px);box-shadow:0 2px 18px -12px rgba(35,41,42,.5);}
body>header.hd .hd-in{max-width:1240px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 28px;}
body>header.hd .logo{display:flex;align-items:center;gap:12px;text-decoration:none;}
body>header.hd .logo .lg-img{height:44px;width:auto;display:block;mix-blend-mode:multiply;}
body>header.hd .logo .mk{width:42px;height:42px;border-radius:50%;background:var(--ink);color:var(--mist);display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-weight:600;font-size:19px;flex:none;}
body>header.hd .logo .nm{font-family:var(--serif);font-weight:600;font-size:20px;letter-spacing:.08em;line-height:1.2;color:var(--ink);}
body>header.hd .logo .nm small{display:block;font-size:10px;color:var(--muted);font-family:var(--sans);font-weight:500;letter-spacing:.16em;}
body>header.hd nav{display:flex;gap:22px;}
body>header.hd nav a{color:var(--ink);text-decoration:none;font-size:13.5px;font-weight:700;white-space:nowrap;}
body>header.hd nav a:hover{color:var(--teal);}
body>header.hd .stat{display:flex;align-items:center;gap:9px;border:1.5px solid var(--teal);border-radius:999px;padding:6px 15px;background:var(--teal-bg);white-space:nowrap;}
body>header.hd .stat .pulse{position:relative;width:9px;height:9px;border-radius:50%;background:var(--teal);flex:none;}
body>header.hd .stat .pulse::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:2px solid var(--teal);opacity:.6;animation:hd-pl 1.8s ease-out infinite;}
body>header.hd .stat b{font-size:12.5px;color:var(--teal-d);}
body>header.hd .stat small{font-family:var(--mono);font-size:9.5px;letter-spacing:.14em;color:var(--muted);}
body>header.hd .convs{display:flex;align-items:center;gap:10px;}
body>header.hd .tel{display:inline-flex;flex-direction:column;align-items:center;text-decoration:none;border:1.5px solid var(--ink);color:var(--ink);border-radius:10px;padding:7px 15px;line-height:1.25;}
body>header.hd .tel .num{font-family:var(--mono);font-weight:700;font-size:16px;}
body>header.hd .tel small{font-size:9.5px;}
body>header.hd .btn-r{display:inline-flex;flex-direction:column;align-items:center;background:var(--teal);color:#fff;border-radius:10px;padding:7px 19px;text-decoration:none;line-height:1.3;box-shadow:0 8px 16px -8px rgba(78,122,114,.6);}
body>header.hd .btn-r b{font-size:14px;letter-spacing:.06em;}
body>header.hd .btn-r small{font-size:9.5px;opacity:.85;}
body>header.hd .btn-r:hover{filter:brightness(1.06);}
@media(max-width:1160px){body>header.hd nav{display:none;}}
@media(max-width:640px){body>header.hd .stat small{display:none;}
body>header.hd .tel{display:none;}
body>header.hd .hd-in{padding:10px 14px;gap:10px;}
body>header.hd .logo .nm{font-size:17px;}
body>header.hd .logo .lg-img{height:34px;}
body>header.hd .logo .nm small{display:none;}}
@media(max-width:400px){body>header.hd .logo .mk{display:none;}
body>header.hd .stat{padding:6px 10px;}}
@media(prefers-reduced-motion:reduce){body>header.hd .stat .pulse::after{animation:none;}}
:where(body>header,body>footer) .fv60 .cta{display:inline-block;margin-top:32px;padding:16px 44px;background:var(--ink);color:var(--mist);font-weight:700;letter-spacing:.18em;text-decoration:none;white-space:nowrap;}
:where(body>header,body>footer) .c-intro .in{width:min(1080px,calc(100% - 48px));margin:0 auto;}
:where(body>header,body>footer) .c-msg .in{width:min(1080px,calc(100% - 48px));margin:0 auto;}
:where(body>header,body>footer) .c-msg .pname .nm{font-family:var(--serif);font-size:22px;font-weight:600;margin-top:6px;color:var(--ink);}
:where(body>header,body>footer) .c-rsn .in{width:min(1180px,calc(100% - 48px));margin:0 auto;}
:where(body>header,body>footer) .c-rsn .num{position:absolute;top:12px;left:14px;z-index:2;font-family:var(--serif);font-size:28px;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.35);}
:where(body>header,body>footer) .c-ftr .in{width:min(1180px,calc(100% - 48px));margin:0 auto;}
:where(body>header,body>footer) .c-svc .in{width:min(1180px,calc(100% - 48px));margin:0 auto;}
:where(body>header,body>footer) .c-vs .in{width:min(1080px,calc(100% - 48px));margin:0 auto;}
:where(body>header,body>footer) .c-vo .in{width:min(1140px,calc(100% - 48px));margin:0 auto;}
:where(body>header,body>footer) .c-prc .in{width:min(1080px,calc(100% - 48px));margin:0 auto;}
:where(body>header,body>footer) .c-prx .in{width:min(1080px,calc(100% - 48px));margin:0 auto;}
:where(body>header,body>footer) .c-prx .nm{font-family:var(--serif);font-weight:600;font-size:clamp(18px,2.2vw,22px);letter-spacing:.16em;margin:8px 0 14px;color:inherit;}
:where(body>header,body>footer) .c-prx .tag .card .nm{color:var(--ink);}
:where(body>header,body>footer) .c-prx .tag.d .card .nm{color:var(--mist);}
:where(body>header,body>footer) .c-faq .in{width:min(1100px,calc(100% - 48px));margin:0 auto;}
:where(body>header,body>footer) .c-nws .in{width:min(880px,calc(100% - 48px));margin:0 auto;}
:where(body>header,body>footer) .c-cta .in{position:relative;z-index:2;width:min(1180px,calc(100% - 48px));margin:0 auto;padding:96px 0;color:#fff;}
:where(body>header,body>footer) .c-cta .sub{color:rgba(255,255,255,.88);font-size:14.5px;margin:0 0 34px;max-width:32em;}
:where(body>header,body>footer) .c-cta .btn{display:inline-flex;align-items:center;gap:20px;background:#fff;color:var(--ink);font-weight:700;font-size:16px;padding:8px 8px 8px 30px;border-radius:99px;text-decoration:none;transition:transform .2s;}
:where(body>header,body>footer) .c-cta .btn .c{width:46px;height:46px;border-radius:50%;background:var(--teal);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;}
:where(body>header,body>footer) .c-cta .btn:hover{transform:translateY(-2px);}
@media(max-width:760px){:where(body>header,body>footer) .c-cta .in{padding:72px 0;}}
body>footer.ft .cta{position:relative;background:linear-gradient(120deg,var(--teal),#32524c);color:#fff;overflow:hidden;}
body>footer.ft .cta::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.1) 1px,transparent 1px);background-size:24px 24px;opacity:.5;-webkit-mask-image:linear-gradient(120deg,#000,transparent 70%);mask-image:linear-gradient(120deg,#000,transparent 70%);}
body>footer.ft .cta .in{position:relative;max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.4fr auto;gap:30px;align-items:center;padding:64px 32px;}
body>footer.ft .cta .lbl{font-family:var(--mono);font-size:12px;letter-spacing:.24em;opacity:.8;}
body>footer.ft .cta h2{font-family:var(--serif);font-weight:600;font-size:clamp(25px,4vw,42px);margin:10px 0 0;line-height:1.5;}
body>footer.ft .cta .sub{font-size:13.5px;opacity:.88;margin-top:12px;}
body>footer.ft .actions{display:flex;flex-direction:column;gap:14px;}
body>footer.ft .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:#fff;color:var(--teal-d);font-weight:700;font-size:15px;padding:18px 36px;border-radius:10px;text-decoration:none;transition:.2s;}
body>footer.ft .btn:hover{transform:translateY(-2px);}
body>footer.ft .telno{text-align:center;font-family:var(--mono);font-weight:700;font-size:21px;}
body>footer.ft .telno small{display:block;font-family:var(--sans);font-weight:400;font-size:11px;opacity:.8;letter-spacing:.04em;}
body>footer.ft .info{background:#181e1d;color:var(--mist);}
body>footer.ft .info .in{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.2fr 2fr;gap:40px;padding:48px 32px 30px;}
body>footer.ft .brand .nm{font-family:var(--serif);font-weight:700;font-size:25px;}
body>footer.ft .brand .nm small{font-family:var(--mono);font-size:10px;letter-spacing:.3em;display:block;margin-top:6px;color:#8b9994;font-weight:500;}
body>footer.ft .brand p{color:#8b9994;font-size:13px;max-width:24em;margin:14px 0 0;line-height:1.9;}
body>footer.ft .cols{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
body>footer.ft .col h4{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#9fc4bb;margin:0 0 12px;}
body>footer.ft .col a{display:block;color:var(--mist);text-decoration:none;font-size:13px;padding:5px 0;opacity:.85;}
body>footer.ft .col a:hover{opacity:1;color:#9fc4bb;}
body>footer.ft .bottom{border-top:1px solid rgba(255,255,255,.12);}
body>footer.ft .bottom .in2{max-width:1180px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:18px 32px;flex-wrap:wrap;gap:8px;}
body>footer.ft .cp{font-family:var(--mono);font-size:11.5px;color:#8b9994;}
body>footer.ft .legal{display:flex;gap:18px;}
body>footer.ft .legal a{color:#8b9994;text-decoration:none;font-size:12px;}
body>footer.ft .rights{margin:0 auto;max-width:1180px;padding:0 32px 20px;font-size:11px;line-height:1.7;opacity:.5;text-align:center;color:#8b9994;}
@media(max-width:820px){body>footer.ft .cta .in{grid-template-columns:1fr;}
body>footer.ft .info .in{grid-template-columns:1fr;gap:28px;}
body>footer.ft .cols{grid-template-columns:1fr 1fr;}}
: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}}