/* トップのヘッダー・フッターの意匠を下層へ引き継ぐ。本文へは適用しない。 */
:where(body>header,body>footer){--main: #9B4A2F;--cream: #F7EFE0;--green: #7B9B5A;--gold: #C8943C;--ink: #2F211B;--muted: #75675F;--paper: #FBF6EB;--white: #FFFFFF;--line: rgba(47, 33, 27, .16);--shadow: 0 28px 70px rgba(47, 33, 27, .18);}
:where(body>header,body>footer) .btn{ word-break: auto-phrase; text-wrap: balance; }
:where(body>header,body>footer) .btn{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 48px;
      padding: 12px 22px;
      border-radius: 999px;
      border: 1px solid currentColor;
      font-weight: 800;
      transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
    }
:where(body>header,body>footer) .btn:hover{ transform: translateY(-2px); }
:where(body>header,body>footer) .btn-primary{ background: var(--main); color: var(--white); box-shadow: 0 16px 30px -18px var(--main); }
:where(body>header,body>footer) .btn-secondary{ background: rgba(255,255,255,.68); color: var(--main); }
body>header.c-hd{
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 50;
      color: var(--ink);
      transition: background .35s ease, box-shadow .35s ease, color .35s ease;
    }
:where(body>header,body>footer) .c-hd__inner{
      width: min(1240px, calc(100% - 44px));
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
      padding: 22px 0;
      transition: padding .35s ease;
    }
:where(body>header,body>footer) .c-hd__brand{ display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; }
:where(body>header,body>footer) .c-hd__brand img{ width: 42px; height: 42px; object-fit: contain; }
:where(body>header,body>footer) .c-hd__nav{ display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; }
:where(body>header,body>footer) .c-hd__nav a{ position: relative; }
:where(body>header,body>footer) .c-hd__nav a::after{ content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: currentColor; transition: width .25s ease; }
:where(body>header,body>footer) .c-hd__nav a:not(.c-hd__cta):hover::after{ width: 100%; }
:where(body>header,body>footer) .c-hd__cta{
      background: var(--main);
      color: var(--white);
      padding: 11px 22px;
      border-radius: 999px;
      font-weight: 800;
      box-shadow: 0 14px 28px -18px var(--main);
      transition: transform .2s ease;
    }
:where(body>header,body>footer) .c-hd__cta:hover{ transform: translateY(-2px); }
body>header.c-hd.is-solid{
      background: rgba(247, 239, 224, .94);
      backdrop-filter: blur(12px);
      color: var(--ink);
      box-shadow: 0 6px 24px -16px rgba(47, 33, 27, .5);
      border-bottom: 1px solid var(--line);
    }
body>header.c-hd.is-solid .c-hd__brand,body>header.c-hd.is-solid .c-hd__nav a{ color: var(--ink); }
body>header.c-hd.is-solid .c-hd__cta{ color: var(--white); }
body>header.c-hd.is-solid .c-hd__inner{ padding: 14px 0; }
:where(body>header,body>footer) .c-reasons__title .mk{ color: var(--main); }
:where(body>header,body>footer) .c-feat__title .mk{ color: var(--main); }
:where(body>header,body>footer) .c-msg__pname .nm{ font-family: Georgia, "Yu Mincho", serif; font-size: 22px; font-weight: 700; margin-top: 4px; }
:where(body>header,body>footer) .c-voice__title .mk{ background: linear-gradient(transparent 60%, rgba(155,74,47,.2) 60%); }
:where(body>header,body>footer) .c-price__title .mk{ color: var(--main); }
:where(body>header,body>footer) .c-price__plan .btn{ width: 100%; }
:where(body>header,body>footer) .c-price__plan--reco .btn{ background: var(--white); color: var(--main); border-color: var(--white); }
:where(body>header,body>footer) .c-proc__title .mk{ color: var(--main); }
:where(body>header,body>footer) .c-faq .btn-secondary{ background: var(--white); color: var(--main); }
:where(body>header,body>footer) .c-cta__actions .btn{ width: 100%; }
body>footer.c-ft{ background: var(--ink); color: var(--cream); }
:where(body>header,body>footer) .c-ft__cta{
      position: relative; width: 100%; padding: 70px 0;
      border-bottom: 1px solid rgba(247,239,224,.14); overflow: hidden;
    }
:where(body>header,body>footer) .c-ft__cta::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(155,74,47,.14) 0%, rgba(155,74,47,0) 46%), radial-gradient(760px 460px at 88% -30%, rgba(155,74,47,.38), transparent 68%), radial-gradient(620px 420px at 6% 130%, rgba(200,148,60,.16), transparent 64%); pointer-events: none; }
:where(body>header,body>footer) .c-ft__cta-in{ position: relative; z-index: 1; width: min(1240px, calc(100% - 44px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
:where(body>header,body>footer) .c-ft__cta h2{ position: relative; font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif; font-weight: 700; font-size: clamp(1.5rem, 3.8vw, 2.6rem); line-height: 1.35; margin: 0; }
:where(body>header,body>footer) .c-ft__cta h2 .mk{ color: var(--gold); }
:where(body>header,body>footer) .c-ft__btns{ position: relative; display: flex; gap: 14px; flex-wrap: wrap; }
:where(body>header,body>footer) .c-ft__btns .btn{ white-space: nowrap; }
:where(body>header,body>footer) .c-ft__btns .btn-secondary{ background: rgba(255,255,255,.1); color: var(--cream); border-color: rgba(255,255,255,.5); }
:where(body>header,body>footer) .c-ft__info{ width: min(1240px, calc(100% - 44px)); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 54px 0; }
:where(body>header,body>footer) .c-ft__nap .nm{ display: flex; align-items: center; gap: 12px; font-family: Georgia, "Yu Mincho", serif; font-weight: 700; font-size: 22px; }
:where(body>header,body>footer) .c-ft__nap .nm img{ width: 38px; height: 38px; object-fit: contain; }
:where(body>header,body>footer) .c-ft__nap p{ color: rgba(247,239,224,.7); font-size: 14px; line-height: 1.9; margin: 14px 0 0; }
:where(body>header,body>footer) .c-ft__col h4{ font-family: Georgia, serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
:where(body>header,body>footer) .c-ft__col a{ display: block; color: var(--cream); font-size: 14px; padding: 6px 0; opacity: .85; }
:where(body>header,body>footer) .c-ft__col a:hover{ opacity: 1; color: var(--gold); }
:where(body>header,body>footer) .c-ft__cp{ border-top: 1px solid rgba(247,239,224,.14); }
:where(body>header,body>footer) .c-ft__cp-in{ width: min(1240px, calc(100% - 44px)); margin: 0 auto; padding: 20px 0; font-family: Georgia, serif; font-size: 12px; color: rgba(247,239,224,.6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 820px){:where(body>header,body>footer) .c-ft__cta-in{ grid-template-columns: 1fr; }
:where(body>header,body>footer) .c-ft__info{ grid-template-columns: 1fr; gap: 30px; }}
@media (max-width: 768px){:where(body>header,body>footer) .c-hd__nav a:not(.c-hd__cta){ display: none; }
:where(body>header,body>footer) .c-fv__actions .btn{ width: 100%; }}
: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}
: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}}