/*=============================================================
  SM Prisoner - ヘッダースタイル
  プレフィックス: smp-  /  BEM命名
  レイアウト: 左=ロゴ+営業情報 / 右=ナビ+CTA
=============================================================*/

/* ─────────────────────────────────────────────
   カラートークン（ヘッダースコープ）
───────────────────────────────────────────── */
:root {
  --smp-bg: #ffffff;
  --smp-text: #111111;
  --smp-text-sub: #666666;
  --smp-gold: #b38b2d;
  --smp-red: #7b0000;
  --smp-border: rgba(0, 0, 0, 0.08);
  --smp-font-en: "Raleway", "Noto Sans JP", sans-serif;
  --smp-font-ja: "Noto Sans JP", sans-serif;
}

/* ─────────────────────────────────────────────
   0. body padding（固定ヘッダー分）
───────────────────────────────────────────── */
body {
  padding-top: 120px;
  
}

/* ─────────────────────────────────────────────
   1. ヘッダー本体
───────────────────────────────────────────── */
.smp-hdr {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: var(--smp-bg);
  border-bottom: 1px solid var(--smp-border);
  z-index: 10000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.smp-hdr__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

/* ─────────────────────────────────────────────
   2. LEFT : ロゴ + 営業情報
───────────────────────────────────────────── */
.smp-hdr__left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.smp-hdr__logo {
  display: flex !important;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.smp-hdr__logo img {
  display: block;
  height: 70px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* 営業情報リスト */
.smp-hdr__info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 1px solid var(--smp-border);
  padding-left: 20px;
}

.smp-hdr__info li {
  font-family: var(--smp-font-ja);
  font-size: 11px;
  line-height: 1.6;
  color: var(--smp-text-sub);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.smp-hdr__info li:first-child {
  color: var(--smp-text);
  font-weight: 600;
  font-size: 12px;
}

/* ─────────────────────────────────────────────
   3. RIGHT : ナビ + CTA
───────────────────────────────────────────── */
.smp-hdr__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}

/* ─────────────────────────────────────────────
   4. PC グローバルナビ
───────────────────────────────────────────── */
.smp-hdr__nav {
  width: 100%;
}

.smp-gnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.smp-gnav > li {
  position: relative;
}

.smp-gnav > li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: var(--smp-border);
}

.smp-gnav > li > a {
  display: inline-flex !important;
  align-items: center;
  padding: 6px 14px;
  font-family: var(--smp-font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smp-text);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition:
    color 0.2s ease,
    background 0.2s ease;
  position: relative;
}

/* hover下線アニメ */
.smp-gnav > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--smp-gold);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.smp-gnav > li > a:hover,
.smp-gnav > li > a:focus {
  color: var(--smp-gold);
  opacity: 1;
}

.smp-gnav > li > a:hover::after,
.smp-gnav > li > a:focus::after {
  width: 80%;
}

/* ドロップダウン矢印 */
.smp-gnav > li.menu-item-has-children > a > span.caret,
.smp-gnav > li.menu-item-has-children > a::before {
  content: "▾";
  margin-left: 4px;
  font-size: 9px;
}

/* sub-menu */
.smp-gnav .sub-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  background: var(--smp-bg);
  border-top: 2px solid var(--smp-gold);
  border: 1px solid var(--smp-border);
  border-top: 2px solid var(--smp-gold);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition:
    opacity 0.2s,
    visibility 0.2s,
    transform 0.2s;
  transform: translateY(-4px);
}

.smp-gnav > li.menu-item-has-children:hover > .sub-menu,
.smp-gnav > li.menu-item-has-children:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.smp-gnav .sub-menu li > a {
  display: block !important;
  padding: 10px 18px;
  font-family: var(--smp-font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--smp-text);
  white-space: nowrap;
  transition:
    background 0.15s,
    color 0.15s;
}

.smp-gnav .sub-menu li > a:hover {
  background: rgba(179, 139, 45, 0.08);
  color: var(--smp-gold);
  opacity: 1;
}

/* ─────────────────────────────────────────────
   5. PC CTA ボタン群
───────────────────────────────────────────── */
.smp-hdr__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.smp-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 3px;
  font-family: var(--smp-font-en);
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.15s,
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
  line-height: 1.2;
}

.smp-btn:hover,
.smp-btn:focus {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* WEB予約（主役） */
.smp-btn--reserve {
  background: var(--smp-red);
  color: #fff !important;
  font-size: 12px;
  padding: 10px 20px;
  border: 2px solid var(--smp-red);
}

.smp-btn--reserve:hover {
  background: transparent;
  color: var(--smp-red) !important;
  opacity: 1;
}

/* LINE */
.smp-btn--line {
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 4px;
  overflow: hidden;
}

.smp-btn--line img {
  display: block;
  height: 34px;
  width: auto;
  object-fit: contain;
}

/* ─────────────────────────────────────────────
   6. SP : ハンバーガー & ドロワー
───────────────────────────────────────────── */
.smp-hdr__sp {
  display: none;
}

/* ハンバーガーボタン */
.smp-sp-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
  flex-shrink: 0;
}

.smp-sp-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--smp-text);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-origin: center;
}

.smp-sp-btn.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.smp-sp-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.smp-sp-btn.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* オーバーレイ */
.smp-sp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9996;
  cursor: pointer;
}

.smp-sp-overlay.is-open {
  display: block;
}

/* ドロワー */
.smp-sp-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 86vw;
  height: 100%;
  background: var(--smp-bg);
  z-index: 9997;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.smp-sp-drawer.is-open {
  right: 0;
}

.smp-sp-drawer__inner {
  padding: 72px 0 40px;
}

/* SP ナビ */
.smp-sp-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.smp-sp-nav li {
  border-bottom: 1px solid var(--smp-border);
}

.smp-sp-nav li > a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 15px 24px;
  font-family: var(--smp-font-ja);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--smp-text);
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
}

.smp-sp-nav li > a:hover {
  background: rgba(179, 139, 45, 0.06);
  color: var(--smp-gold);
  opacity: 1;
}

.smp-sp-nav__en {
  font-family: var(--smp-font-en);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--smp-text-sub);
  text-transform: uppercase;
}

/* SP CTA */
.smp-sp-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px 12px;
}

.smp-sp-cta .smp-btn--reserve {
  font-size: 14px;
  padding: 14px 20px;
  text-align: center;
  border-radius: 3px;
}

.smp-sp-cta .smp-btn--line {
  display: flex !important;
  justify-content: center;
}

.smp-sp-cta .smp-btn--line img {
  height: 44px;
}

/* SP TEL */
.smp-sp-tel {
  padding: 16px 24px 24px;
  text-align: center;
  border-top: 1px solid var(--smp-border);
}

.smp-sp-tel a {
  display: block !important;
  font-family: var(--smp-font-en);
  font-size: 20px;
  font-weight: 700;
  color: var(--smp-text);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.smp-sp-tel a:hover {
  color: var(--smp-gold);
  opacity: 1;
}

.smp-sp-tel p {
  font-size: 11px;
  color: var(--smp-text-sub);
  margin-top: 4px;
}

/* ─────────────────────────────────────────────
   7. レスポンシブ (992px以下)
───────────────────────────────────────────── */
@media (max-width: 992px) {
  .smp-hdr {
    height: 64px;
  }

  body {
    padding-top: 64px;
  }

  .smp-hdr__logo img {
    height: 46px;
  }

  .smp-hdr__info,
  .smp-hdr__nav,
  .smp-hdr__cta {
    display: none;
  }

  .smp-hdr__right {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 12px;
  }

  .smp-hdr__sp {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .smp-hdr__inner {
    padding: 0 16px;
  }
}

/* ─────────────────────────────────────────────
   8. フォーカスリング
───────────────────────────────────────────── */
.smp-hdr a:focus-visible,
.smp-sp-btn:focus-visible {
  outline: 2px solid var(--smp-gold);
  outline-offset: 2px;
}
