/* トップのヘッダー・フッターの意匠を下層へ引き継ぐ。本文へは適用しない。 */
:where(body>header,body>footer){--white: #FFFFFF;--bg: #FAF8F4;--gold: #D8C28E;--rose: #C98B8B;--text: #2E2926;--body: #4F4742;--note: #8A7D72;--line: rgba(216, 194, 142, .58);--soft: rgba(201, 139, 139, .12);--max: 1120px;}
:where(body>header,body>footer) .btn{ word-break: auto-phrase; text-wrap: balance; }
body>header.site-header{
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(216, 194, 142, .36);
  backdrop-filter: blur(18px);
}
:where(body>header,body>footer) .hd-util{ border-bottom: 1px solid rgba(216, 194, 142, .3); }
:where(body>header,body>footer) .hd-util-inner{
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
}
:where(body>header,body>footer) .hd-util-links{ display: flex; gap: 20px; }
:where(body>header,body>footer) .hd-util a{ color: var(--note); font-size: 12px; letter-spacing: .02em; }
:where(body>header,body>footer) .hd-util a:hover{ color: var(--rose); }
:where(body>header,body>footer) .hd-util-right{ display: flex; gap: 16px; align-items: center; }
:where(body>header,body>footer) .hd-sns{ display: flex; gap: 14px; }
:where(body>header,body>footer) .hd-sns a{ color: var(--note); font-size: 12px; }
:where(body>header,body>footer) .hd-sns a:hover{ color: var(--rose); }
:where(body>header,body>footer) .header-inner{
  width: min(1280px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 0;
}
:where(body>header,body>footer) .brand img{ width: 222px; }
:where(body>header,body>footer) .nav{
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--text);
  font-size: 15px;
}
:where(body>header,body>footer) .nav > a{ font-weight: 700; position: relative; }
:where(body>header,body>footer) .nav > a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  height: 2px;
  width: 0;
  background: var(--rose);
  transition: width .25s ease;
}
:where(body>header,body>footer) .nav > a:hover::after{ width: 100%; }
:where(body>header,body>footer) .nav a[aria-current="page"]{ color: var(--rose); }
:where(body>header,body>footer) .nav a[aria-current="page"]::after{ width: 100%; }
:where(body>header,body>footer) .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--text);
  background: var(--white);
  font-weight: 700;
  line-height: 1.35;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
:where(body>header,body>footer) .btn:hover{ transform: translateY(-2px); border-color: var(--rose); }
:where(body>header,body>footer) .btn.primary{ background: var(--text); color: var(--white); border-color: var(--text); }
:where(body>header,body>footer) .btn.rose{ background: var(--rose); color: var(--white); border-color: var(--rose); }
:where(body>header,body>footer) .nav .btn::after{ display: none; }
body>footer.site-footer{ background: var(--text); color: rgba(255, 255, 255, .74); padding: 64px 0 36px; }
:where(body>header,body>footer) .footer-inner{ width: min(880px, calc(100% - 40px)); margin: 0 auto; text-align: center; }
:where(body>header,body>footer) .footer-mark{ width: 230px; padding: 12px; background: rgba(255, 255, 255, .94); border-radius: 8px; margin: 0 auto 22px; }
:where(body>header,body>footer) .footer-intro{ max-width: 40em; margin: 0 auto 26px; color: rgba(255, 255, 255, .74); }
:where(body>header,body>footer) .footer-nav{ display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin: 26px 0; font-size: 14px; }
:where(body>header,body>footer) .footer-nav a:hover{ color: var(--gold); }
:where(body>header,body>footer) .footer-info{ display: grid; gap: 6px; justify-items: center; margin: 0 0 26px; font-size: 13px; color: rgba(255, 255, 255, .6); }
:where(body>header,body>footer) .footer-sns{ display: flex; gap: 18px; justify-content: center; margin-bottom: 28px; font-size: 13px; }
:where(body>header,body>footer) .footer-sns a:hover{ color: var(--gold); }
:where(body>header,body>footer) .copyright{ font-size: 12px; color: rgba(255, 255, 255, .52); border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 24px; }
@media (max-width: 960px){:where(body>header,body>footer) .nav > a:not(.btn){ display: none; }
:where(body>header,body>footer) .hd-util-links{ display: none; }}
@media (max-width: 768px){:where(body>header,body>footer) .header-inner{ min-height: 64px; }
:where(body>header,body>footer) .brand img{ width: 176px; }
:where(body>header,body>footer) .nav .btn{ min-height: 42px; padding: 10px 14px; font-size: 13px; }}