/* 全ページで共用するSPのヘッダー、メニュー、CTA、フッター。 */
.sp-menu-toggle { display: none; }
.sp-menu:not([open]) { display: none; }
@media (max-width: 767px) {
  .contact h2.heading-xl { font-size: 22px; }
  .contact > .body-lg { font-size: 14px; }
  .header { height: 80px; padding: 12px 20px; justify-content: space-between; }
  .header .nav { display: none; }
  .header__logo { width: 100px; }
  .header__logo img { width: 100px; height: 56px; object-fit: contain; }
  .sp-menu-toggle, .sp-menu__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; flex-shrink: 0; }
  .sp-menu-toggle img, .sp-menu__close img { display: block; }
  .sp-menu { position: fixed; inset: 0; margin: 0; border: 0; padding: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; background: white; color: var(--c-ink); overflow-y: auto; }
  .sp-menu::backdrop { background: white; }
  html.sp-menu-open { overflow: hidden; }
  .sp-menu__header { height: 80px; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }
  .sp-menu__header a img { display: block; width: 100px; height: 56px; object-fit: contain; }
  .sp-menu__body { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 24px 20px; }
  .sp-menu__nav { width: 100%; }
  .sp-menu__nav a { display: flex; align-items: center; justify-content: space-between; height: 72px; border-bottom: 1px solid #e9e2d5; font-size: 18px; font-weight: 700; line-height: 1.5; }
  .sp-menu__contact { width: 100%; padding: 24px 20px; text-align: center; }
  .sp-menu__contact p { font-size: 18px; font-weight: 900; line-height: 1.5; }
  .sp-menu__contact a { display: flex; align-items: center; justify-content: center; min-height: 56px; margin-top: 16px; border-radius: 999px; background: var(--c-red); color: white; font-size: 18px; font-weight: 700; }
  .sp-menu__privacy { font-size: 12px; line-height: 1.5; }
  .sp-menu__tagline { color: var(--c-red); font-size: 13px; font-weight: 700; line-height: 1.5; }
  .footer { padding: 40px 20px; gap: 40px; }
  .footer__copy { gap: 8px; }
  .footer__copy > .note:last-child { width: auto; white-space: nowrap; letter-spacing: 0; }
  .contact__deco { left: calc(50% + 17px); right: auto; top: 99.3px; transform: translateX(-50%); width: 200px; height: 143px; }
  .header__logo { opacity: 1; }
  .contact { padding-inline: 20px; }
}
