.logo-text a {
  font-family: var(--font-mincho);
  color : var(--color-deep-orange);
  display: block;
  width: fit-content;
  margin : 10px auto;
  font-weight: 900;
}
footer .logo-text a {
  margin : 10px auto 60px;
}
.logo-text span{
  display: block;
}
.logo-text span.logo-text-desc{
  font-size: 10px;
}
.logo-text span.logo-text-main {
  line-height: 1.5;
}

/* =====================================================
   Header (header.php 用)
===================================================== */

/* ラッパー */
#site-header {
  background: rgb(var(--color-sandybrown-rgb), 0.9); /* #f47200 + 透明度0.9 */
  width: 100%;
  position: relative;
  z-index: 100;
}

/* 横並びの基本レイアウト */
#site-header .header-inner {
  display: flex;
    align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  padding: 0 15px;
}

/* ロゴ（テキストロゴ前提。画像ロゴでもOK） */
.header-logo, .header-nav {
    padding : 14px 0;
    display: flex;
    align-items: center;
}
.header-nav {
  margin-left: auto;
}
.header-logo img {
  display: block;
  height: 50px;
  width: auto;
}

/* ================================
   ヘッダーナビゲーション ホバーアニメーション
   既存のCSSに追加
================================ */

/* メニュー */
.header-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-nav li { 
  margin: 0;
  position: relative; /* 追加: 子要素の絶対配置のため */
}

.header-nav a {
  display: inline-block;
  position: relative; /* 追加: 子要素の絶対配置のため */
  color: var(--color-black);
  font-weight: 500;
  padding: 6px 0;
  text-decoration: none;
  transition: color .2s ease;
  font-size: 11px;
  font-family: var(--font-mincho);
  overflow: hidden; /* 追加: アニメーション時のはみ出しを防ぐ */
  min-height: 2em; /* 追加: テキストが消えても高さを保つ */
}

.header-nav a:hover,
.header-nav a:focus {
  /* color: var(--color-blue1); */
  outline: none;
}

.header-nav a:focus-visible {
  outline: 2px solid var(--color-lightblue);
  outline-offset: 2px;
}

/* 現在ページの強調（WPのクラスに対応） */
.header-nav .current-menu-item > a,
.header-nav .current_page_item > a {
  color: var(--color-blue1);
  font-weight: 700;
}

/* ================================
   ホバーアニメーション
================================ */

/* メインテキスト（英語） */
.header-nav .main-text {
  display: block;
  transition: opacity 0.3s ease;
}

/* ホバーテキスト（日本語） */
.header-nav .hover-text {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%); /* 中央に固定 */
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

/* ホバー時のアニメーション */
.header-nav a:hover .main-text,
.header-nav a:focus .main-text {
  opacity: 0;
}

.header-nav a:hover .hover-text,
.header-nav a:focus .hover-text {
  opacity: 1;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .header-nav ul {
    gap: 16px;
  }

  .header-nav a {
    font-size: 10px;
  }
}

@media screen and (max-width: 480px) {
  /* スマホではホバーアニメーションを無効化 */
  .header-nav a {
    min-height: auto;
    overflow: visible;
  }

  .header-nav .main-text {
    opacity: 1 !important;
    transform: none !important;
  }

  .header-nav .hover-text {
    position: static;
    opacity: 0.6;
    transform: none;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
    pointer-events: auto;
  }
}



/* 予約ボタン */
a.reserve-btn {
  display: inline-flex;                 /* ← 中央寄せはこれでOK */
  align-items: center;
  justify-content: center;

  position: relative;
  background: var(--color-vivid-orange);
  color: var(--color-white)!important;

  font-family: var(--font-mincho);
  font-size: 0.7em;
  font-weight: bold;

  padding: 10px 16px;
  min-height: 44px;                     /* タップ領域を確保 */
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;

    transition:
    opacity 0.35s ease-in-out,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease-in-out;
}
a.reserve-btn.sp {
margin-top: 30px;
border-radius: 10px;
}
a.reserve-btn:hover {
  opacity: .95;
  filter: brightness(1.03);
}

a.reserve-btn:active {
  transform: translateY(1px);
}

a.reserve-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-vivid-orange) 35%, white);
  outline-offset: 2px;
}

/* =====================================================
   Responsive
===================================================== */
@media (max-width: 900px) {
  #site-header .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .header-logo { text-align: center; }

  .header-nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  a.reserve-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .header-logo .site-title { font-size: 18px; }
  .header-nav ul { gap: 10px 14px; }
  a.reserve-btn { max-width: 280px; }
}

/* =====================================================
   Footer (footer.php 用)
===================================================== */

#site-footer {
  background: var(--color-sandybrown);
  border-top: 1px solid #e7e9f1;
  text-align: center;
  padding: 50px 0 20px;
  position: relative;
  width: 100%;
}

/* -------------------------------
   フッターナビ
-------------------------------- */
.footer-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.footer-nav li {
  margin: 0;
}

.footer-nav a {
  color: var(--color-dark-gray);
  font-weight: 500;
  text-decoration: none;
  transition: color .3s ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-blue1);
  outline: none;
}

/* -------------------------------
   コピーライト
-------------------------------- */
.copyright {
  font-size: 0.8em;
  font-family: var(--font-mincho);
  margin-bottom: 10px;
}
/* -------------------------------
   ページトップボタン（少し小さめ）
-------------------------------- */
.to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  width: 48px;   /* ← 56px → 48px に縮小 */
  height: 48px;  /* ← 同上 */
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

.to-top.is-show {
  opacity: 1;
  pointer-events: auto;
}

.to-top.is-show:hover {
  opacity: .7;
}

/* 白い矢印（中央配置は維持） */
.to-top::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 10px;   /* ← 12px → 10px */
  height: 10px;  /* ← 同上 */
  border-left: 3px solid #fff;
  border-top: 3px solid #fff;
}
/* =====================================================
   Responsive
===================================================== */

@media (max-width: 900px) {
  .footer-nav ul {
    gap: 16px;
  }
}

@media (max-width: 500px) {
  #site-footer {
    padding: 30px 0 15px;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .to-top {
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}

/* -------------------------------
   WEB予約ボタン（固定表示）
-------------------------------- */
a.fixed-reserve {
  position: fixed;
  right: 0;
  bottom: 70px; /* ← トップボタンより上に配置 */
  background: linear-gradient(90deg, #f47c13 0%, #ffc74d 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  padding: 0.8em 1.6em;
  text-decoration: none;
  /* box-shadow: 0 3px 10px rgba(0,0,0,0.25); */
  z-index: 190;
  transition: opacity .3s ease, transform .3s ease;
  opacity: 0.95;
}

a.fixed-reserve:hover {
  opacity: 1;             /* 少し明るく */
  transform: translateY(-2px); /* ほんの少し浮く */
}

/* -------------------------------
   固定電話ボタン（右端中央）
-------------------------------- */
.fixed-call {
  position: fixed;
  right: 15px;           /* 画面右端から少し内側 */
  top: 50%;              /* 縦中央 */
  transform: translateY(-50%); /* 真ん中に正確に配置 */
  width: 45px;
  height: 45px;
  background: #7bee85;   /* ライン風グリーン */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  z-index: 190;
  opacity: 0.7;
  transition: opacity .3s ease, transform .3s ease;
}

.fixed-call img {
  width: 28px;
  height: auto;
}

.fixed-call:hover {
  opacity: 0.8;
  transform: translateY(-50%) scale(1.05); /* 少し浮くアニメーション */
}


@media (max-width: 768px) {
  .fixed-call {
    top : unset;
    bottom: 5em;
    left : 2.5%;
    transform: none;
  }
  a.fixed-reserve {
    right : unset;
    left : 2.5%;
    bottom: 2%;
    width: 95%;
    text-align: center;
  }
}

/* ================================
   ハンバーガーメニュー
   既存のクラス名を保持
================================ */

/* ハンバーガーボタン（右上、黒背景） */
.hamburger-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #000;
  border: none;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.3s ease;
}

.hamburger-btn:hover {
  background: #333;
}

/* ハンバーガーの線 */
.hamburger-line {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 開いた状態（×マーク） */
.hamburger-btn.is-active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* オーバーレイ（背景を暗くする） */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ================================
   既存のヘッダーナビを改造
   （右から広がるパネルに変更）
================================ */

/* デフォルトでは非表示 */
.header-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 80vw;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 80px 30px 30px;
  margin-left: 0; /* 既存のmargin-left: autoを上書き */
}

/* 開いた状態 */
.header-nav.is-open {
  right: 0;
}

/* ================================
   メニュー項目（縦並び）
================================ */

.header-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav li {
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
  position: static; /* 既存のposition: relativeを上書き */
}

.header-nav li:last-child {
  border-bottom: none;
}

.header-nav a {
  display: block;
  padding: 20px 0;
  text-decoration: none;
  color: #333;
  transition: color 0.2s ease, background 0.2s ease;
  position: static; /* 既存のposition: relativeを上書き */
  overflow: visible; /* 既存のoverflow: hiddenを上書き */
  min-height: auto; /* 既存のmin-height: 2emを上書き */
}

.header-nav a:hover {
  color: #666;
  background: rgba(0, 0, 0, 0.02);
}

/* メインテキスト（英語、大きめ） */
.header-nav .main-text {
  display: block;
  /* font-size: 16px; */
  font-weight: 600;
  font-family: var(--font-mincho);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  opacity: 1; /* 既存のopacityアニメーションを無効化 */
  transition: none; /* 既存のtransitionを無効化 */
}

/* サブテキスト（日本語、小さめ） */
.header-nav .sub-text {
  display: block;
  font-size: 12px;
  font-weight: 400;
  position: static; /* 既存のposition: absoluteを上書き */
  opacity: 1; /* 既存のopacityアニメーションを無効化 */
  transform: none; /* 既存のtransformを無効化 */
  transition: none; /* 既存のtransitionを無効化 */
  pointer-events: auto; /* 既存のpointer-events: noneを上書き */
  white-space: normal; /* 既存のwhite-space: nowrapを上書き */
}

/* 既存のホバーアニメーションを無効化 */
.header-nav a:hover .main-text,
.header-nav a:focus .main-text {
  opacity: 1;
}

.header-nav a:hover .sub-text,
.header-nav a:focus .sub-text {
  opacity: 1;
}

/* ================================
   レスポンシブ対応
================================ */
@media screen and (max-width: 768px) {
  .header-nav {
      flex-direction: column;
      align-items: flex-start
  }
  .header-nav ul {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .hamburger-btn {
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
  }

  .header-nav {
    width: 280px;
    padding: 70px 20px 20px;
  }

  .header-nav .main-text {
    font-size: 14px;
  }

  .header-nav .sub-text {
    font-size: 11px;
  }
}
