.sp-nav {
  display: none;
}

@media screen and (max-width: 767px) {
  .sp-nav {
    --sp-nav-navy: #1a294d;
    --sp-nav-gold: #b8a480;
    --sp-nav-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --sp-nav-serif: "Noto Serif JP", "游明朝", YuMincho, "Hiragino Mincho ProN", "MS P明朝", serif;
    display: block;
    font-family: var(--sp-nav-sans);
  }
  :where(.sp-nav) *,
  :where(.sp-nav) *::before,
  :where(.sp-nav) *::after {
    box-sizing: border-box;
  }
  :where(.sp-nav) :where(ul, dl, dt, dd, p, li) {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  :where(.sp-nav) a {
    color: inherit;
    text-decoration: none;
  }
  .sp-nav img {
    display: block;
    width: auto;
    max-width: none;
    height: auto;
  }

  body {
    padding-bottom: 72px;
  }
  html.is-sp-nav-open,
  html.is-sp-nav-open body {
    overflow: hidden;
  }
  /* チャットウィジェットはインラインstyleで最大値のz-indexを持つため、ドロワー表示中のみ下げる */
  html.is-sp-nav-open .dai--root {
    z-index: 9999 !important;
  }

  /* 下層：既存ロゴの位置にロゴを重ねる（既存ロゴは場所だけ残して非表示） */
  .sub__hdr > a {
    visibility: hidden;
  }
  .sp-nav__header {
    position: fixed;
    top: 16px;
    left: calc(50% - 25px);
    z-index: 9000;
    transform: translateX(-50%);
  }
  .sp-nav__header-logo {
    display: block;
  }
  .sp-nav__header-bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 8999;
    width: 100%;
    height: 84px;
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .sp-nav.is-scrolled .sp-nav__header-bg {
    opacity: 1;
    visibility: visible;
  }
  .sp-nav__header-logo img {
    width: 241px;
    height: auto;
  }

  /* ハンバーガーボタン */
  .sp-nav__toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10002;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .sp-nav__toggle-lines span {
    position: absolute;
    left: 11px;
    width: 28px;
    height: 2px;
    background: var(--sp-nav-gold);
    transition: transform 0.3s, opacity 0.3s, top 0.3s;
  }
  .sp-nav__toggle-lines span:nth-child(1) {
    top: 9px;
  }
  .sp-nav__toggle-lines span:nth-child(2) {
    top: 19px;
  }
  .sp-nav__toggle-lines span:nth-child(3) {
    top: 29px;
  }
  .sp-nav__toggle-txt {
    position: absolute;
    top: 36px;
    left: 0;
    width: 100%;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 9.55px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    text-align: center;
    color: var(--sp-nav-gold);
  }
  .sp-nav__toggle[aria-expanded="true"] .sp-nav__toggle-lines span:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
  }
  .sp-nav__toggle[aria-expanded="true"] .sp-nav__toggle-lines span:nth-child(2) {
    opacity: 0;
  }
  .sp-nav__toggle[aria-expanded="true"] .sp-nav__toggle-lines span:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
  }

  /* ドロワー */
  .sp-nav__overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  html.is-sp-nav-open .sp-nav__overlay {
    opacity: 1;
    visibility: visible;
  }
  .sp-nav__drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    width: 100%;
    max-width: 390px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: rgba(244, 244, 244, 0.8);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .sp-nav__drawer.is-open {
    opacity: 1;
    visibility: visible;
  }
  .sp-nav__drawer-inner {
    position: relative;
    padding: 96px 24px 104px;
  }
  .sp-nav__drawer-logo {
    position: absolute;
    top: 18px;
    left: calc(50% - 139px);
  }
  .sp-nav__drawer-logo img {
    width: 241px;
    height: auto;
  }

  .sp-nav__hours {
    max-width: 342px;
    margin: 0 auto;
    padding: 0 16px;
    border-radius: 5px;
    background: #fff;
    color: var(--sp-nav-navy);
  }
  .sp-nav__hours-row {
    display: flex;
    align-items: center;
    height: 39px;
    padding-left: 8px;
  }
  .sp-nav__hours-label {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    width: 104px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--sp-nav-gold);
  }
  .sp-nav__hours-label span {
    color: inherit;
  }

  .sp-nav__hours-label img {
    width: 16px;
    height: auto;
  }
  .sp-nav__hours-label-close {
    letter-spacing: 0.55em;
  }
  .sp-nav__hours-time {
    font-family: "Inter", "Helvetica Neue", Arial, var(--sp-nav-sans);
    font-size: 14px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
  .sp-nav__hours-close {
    font-size: 13px;
    font-weight: 350;
    line-height: 1;
    letter-spacing: 0.04em;
  }
  .sp-nav__hours .sp-nav__hours-divider {
    width: 100%;
    height: 2px;
  }

  .sp-nav__quick {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 304px;
    margin: 24px auto 0;
  }
  .sp-nav__quick-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 20px 0 12px;
    border-radius: 8px;
    color: #fff;
  }
  .sp-nav__quick-link--reserve {
    height: 64px;
    background: var(--sp-nav-navy);
  }
  .sp-nav__quick-link--line {
    border: 2px solid var(--sp-nav-navy);
    background: #fff;
    color: var(--sp-nav-navy);
  }
  .sp-nav__quick-link--tel {
    background: var(--sp-nav-gold);
  }
  .sp-nav__quick-link--access {
    background: #777;
  }
  .sp-nav__quick-left {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .sp-nav__quick-left > img {
    width: 40px;
    height: 40px;
  }
  .sp-nav__quick-txt {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .sp-nav__quick-ttl {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .sp-nav__quick-link--reserve .sp-nav__quick-ttl {
    font-size: 22px;
    letter-spacing: 0.07em;
  }
  .sp-nav__quick-ttl-sm {
    font-size: 20px;
  }
  .sp-nav__quick-link--tel .sp-nav__quick-ttl {
    font-family: "Barlow", var(--sp-nav-sans);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 0.04em;
  }
  .sp-nav__quick-sub {
    font-family: var(--sp-nav-serif);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .sp-nav__quick-link--reserve .sp-nav__quick-sub,
  .sp-nav__quick-link--line .sp-nav__quick-sub {
    letter-spacing: 0.04em;
  }
  .sp-nav__quick-arrow {
    flex-shrink: 0;
  }

  .sp-nav__bnr {
    display: block;
    max-width: 342px;
    margin: 32px auto 0;
  }
  .sp-nav__bnr img {
    width: 100%;
    height: auto;
  }

  .sp-nav__ttl {
    max-width: 342px;
    margin: 50px auto 30px;
    background: url(/unit/images/sp-nav/title-line.svg) no-repeat center / 100% 1px;
    font-family: var(--sp-nav-serif);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.08em;
    text-align: center;
    color: var(--sp-nav-navy);
  }

  .sp-nav__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 160px));
    justify-content: center;
    gap: 16px;
  }
  .sp-nav__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: 104px;
    padding: 8px 0 14px;
    border-radius: 12px;
    background: #fff;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.12));
    color: #1b2a51;
  }
  .sp-nav__card--blue {
    background: #e6edf3;
  }
  .sp-nav__card--2line {
    gap: 7px;
    padding: 4px 0 8px;
  }
  .sp-nav__card img {
    width: 72px;
    height: auto;
  }
  .sp-nav__card-txt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 5px;
    font-family: var(--sp-nav-serif);
    font-size: 17px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.08em;
    text-align: center;
    white-space: nowrap;
  }
  .sp-nav__card-txt::after {
    content: "";
    flex-shrink: 0;
    width: 5px;
    height: 11px;
    background: url(/unit/images/sp-nav/grid-arrow.svg) no-repeat center / contain;
  }
  .sp-nav__card-txt--narrow {
    letter-spacing: 0.04em;
  }
  .sp-nav__card-txt--tight {
    letter-spacing: -0.02em;
  }
  .sp-nav__card--2line .sp-nav__card-txt {
    padding-bottom: 0;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .sp-nav__list {
    max-width: 342px;
    margin: 0 auto;
  }
  .sp-nav__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 0 20px 0 16px;
    border: 0;
    border-bottom: 1px solid #fff;
    border-radius: 0;
    background: #7888a0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.08em;
    text-align: left;
    color: #fff;
    cursor: pointer;
  }
  .sp-nav__list > li:last-child .sp-nav__item {
    border-bottom: 0;
  }
  .sp-nav__item-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .sp-nav__item-left img {
    flex-shrink: 0;
  }

  .sp-nav__acc-btn {
    padding-right: 18px;
  }
  .sp-nav__acc-icon {
    position: relative;
    width: 14px;
    height: 14px;
  }
  .sp-nav__acc-icon::before,
  .sp-nav__acc-icon::after {
    content: "";
    position: absolute;
    top: 6.5px;
    left: 0;
    width: 14px;
    height: 1px;
    background: #fff;
    transition: transform 0.3s;
  }
  .sp-nav__acc-icon::after {
    transform: rotate(90deg);
  }
  .sp-nav__acc-btn[aria-expanded="true"] .sp-nav__acc-icon::after {
    transform: rotate(0deg);
  }
  .sp-nav__sub-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 20px 0 24px;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.08em;
    color: #666;
  }

  /* 画面下フローティングボタン */
  .sp-nav__float {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10001;
    display: flex;
    gap: 6px;
    width: 100%;
    height: 72px;
    padding: 4px 6px;
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }
  .sp-nav__float > li {
    flex: 1 1 0;
    min-width: 0;
  }
  .sp-nav__float-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 64px;
    padding-top: 6px;
    overflow: hidden;
    border-radius: 3px;
    color: #fff;
  }
  .sp-nav__float-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 36px;
    background: url(/unit/images/sp-nav/float-gloss.svg) no-repeat center / 100% 100%;
    pointer-events: none;
  }
  .sp-nav__float-btn--tel {
    background: var(--sp-nav-gold);
  }
  .sp-nav__float-btn--web {
    background: #455876;
  }
  .sp-nav__float-btn--map {
    background: #777;
  }
  .sp-nav__float-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
  }
  .sp-nav__float-btn--tel .sp-nav__float-icon img {
    width: 17.5px;
    height: 24px;
  }
  .sp-nav__float-btn--web .sp-nav__float-icon img {
    width: 22px;
    height: auto;
  }
  .sp-nav__float-btn--map .sp-nav__float-icon img {
    width: 19px;
    height: 26px;
  }
  .sp-nav__float-txt {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    white-space: nowrap;
    color: #fff;
  }
  .sp-nav__float-txt--en {
    letter-spacing: 0.02em;
  }
  .sp-nav__float-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 12px;
    border-radius: 3px;
    background: #fff;
    font-size: 9px;
    letter-spacing: 0.03em;
    color: #455876;
  }
}

@media screen and (max-width: 374px) {
  .sp-nav__header-logo img {
    width: 210px;
  }
  .sp-nav__hours {
    padding: 0 8px;
  }
  .sp-nav__hours-label {
    width: 92px;
  }
  .sp-nav__hours-time {
    font-size: 13px;
    letter-spacing: 0.02em;
  }
  .sp-nav__float-txt {
    letter-spacing: 0.02em;
  }
}
