/* ===========================
   LUCEY header - 完全版
   (デスクトップは既存を維持、モバイルのみ上書き)
   =========================== */

/* --- デスクトップ（既存の元スタイル） --- */
.lucey-header {
  background: linear-gradient(90deg,#000 0%,#1a1a1a 35%,#3a3a3a 70%,#5a5a5a 100%);
  color: #fff;
  height: 90px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 1;
  transform: none;
  width: 100%;
}

.lucey-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.lucey-logo {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .18em;
  font-size: 20px;
  margin: 0;
}

.lucey-nav { display: flex; gap: 18px; }
.lucey-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .06em;
  opacity: .85;
  transition: opacity .2s ease, transform .2s ease;
}
.lucey-nav a:hover { opacity: 1; transform: translateY(-2px); }

/* ===========================
   ハンバーガー基本（共通）
   =========================== */
/* デフォルトは非表示（デスクトップ） */
.lucey-hamburger {
  display: none;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* 重要: 縦に3本積むため flex-direction: column を明示 */
.lucey-hamburger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 各線（必ず block / 固定サイズ） */
.lucey-hamburger .hamb-line {
  display: block;
  width: 20px;        /* 線の長さ */
  height: 2px;        /* 線の太さ */
  background: currentColor;
  margin: 4px 0;      /* 上下の間隔で縦に積まれる */
  border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease;
}

/* ハンバーガー開閉アニメ（共通） */
.lucey-hamburger.is-open .hamb-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lucey-hamburger.is-open .hamb-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.lucey-hamburger.is-open .hamb-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===========================
   モバイルナビ（共通定義）
   =========================== */
.lucey-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
  backdrop-filter: blur(6px);
}
.lucey-mobile-nav[aria-hidden="false"] { display: flex; }

.lucey-mobile-inner {
  width: min(360px, 86vw);
  height: 100%;
  background: #0b0b0b;
  color: #fff;
  padding: 28px 20px;
  box-sizing: border-box;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ===========================
   モバイル専用（900px 以下）
   =========================== */
@media (max-width: 900px) {

  /* 横ナビを隠す（モバイルのみ） */
  .lucey-nav { display: none !important; }

  /* ハンバーガーを表示（左側に置く想定） */
  .lucey-hamburger {
    display: inline-flex !important;
    color: #fff;               /* 白にする */
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    margin: 0;
    border-radius: 8px;
    flex-direction: column;    /* 確実に縦積み */
  }
  .lucey-hamburger .hamb-line { background: #fff; }

  /* ヘッダー内の並びを明示してロゴを中央に固定 */
  .lucey-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px;
  }

  /* 左ブロック（ハンバーガー + SNS） */
  .lucey-left {
    display: flex;
    align-items: center;
    gap: 8px;
    order: 1;
    flex: 0 0 auto;
  }

  /* ロゴを中央に見せるために flex:1 を与える */
  .lucey-logo {
    order: 2;
    flex: 1 1 auto;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin: 0;
  }

  /* 右側（もしあれば）を右端に */
  .lucey-nav { order: 3; flex: 0 0 auto; }

  /* アイコン色を白で強制（既存スタイルに負ける場合） */
  .lucey-left a, .lucey-left svg { color: #fff !important; fill: #fff !important; stroke: #fff !important; }

  /* ヘッダー背景（モバイル） */
  .lucey-header { background: #0b0b0b; border-bottom: 1px solid rgba(255,255,255,0.04); height: auto; }

  /* main の余白確保（フッターが隠れないように） */
  main { padding-bottom: 100px; }
}

/* ===========================
   デスクトップ復帰（念のため）
   =========================== */
@media (min-width: 901px) {
  .lucey-hamburger { display: none !important; }
  .lucey-mobile-nav { display: none !important; }
  .lucey-header { background: linear-gradient(90deg,#000 0%,#1a1a1a 35%,#3a3a3a 70%,#5a5a5a 100%); }
  .lucey-logo { color: #fff; text-align: left; flex: 0 0 auto; }
}

/* ===========================
   フッター視認性確保
   =========================== */
.footer {
  position: relative;
  z-index: 30; /* オーバーレイより低く、通常表示されるように */
  background: linear-gradient(90deg,#0b0b0b 0%, #111 100%);
  color: #fff;
  padding: 40px 20px;
  box-sizing: border-box;
}

.footer p, .footer a, .footer small {
  color: #fff !important;
  opacity: 1 !important;
}

/* aria-hidden が true のときは確実に非表示 */
.lucey-mobile-nav[aria-hidden="true"] { display: none !important; pointer-events: none; }
/* ===== ハンバーガーメニュー内（パネル）スタイルのみ ===== */

.lucey-mobile-inner {
  width: min(360px, 86vw);
  height: 100%;
  background: linear-gradient(180deg,#0b0b0b 0%, #0f0f0f 100%);
  color: #fff;
  padding: 28px 20px;
  box-sizing: border-box;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  -webkit-overflow-scrolling: touch;
}

/* 閉じるボタン（右上） */
.lucey-mobile-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  align-self: flex-end;
  cursor: pointer;
  padding: 6px;
}

/* リンクリスト */
.lucey-mobile-links {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lucey-mobile-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 10px;
  border-radius: 10px;
  transition: background .14s ease, transform .12s ease;
}
.lucey-mobile-links a:hover,
.lucey-mobile-links a:focus {
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
  outline: none;
}

/* CTA ボタン群 */
.lucey-mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.lucey-mobile-cta .btn-reserve,
.lucey-mobile-cta .btn-contact {
  display: inline-block;
  text-align: center;
  padding: 12px 14px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 700;
  box-sizing: border-box;
}
.lucey-mobile-cta .btn-reserve {
  background: #fff;
  color: #0b0b0b;
}
.lucey-mobile-cta .btn-contact {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}

/* SNS / フッター寄せ */
.lucey-mobile-social {
  display: flex;
  gap: 12px;
  margin-top: auto; /* 常に下に寄せる */
}
.lucey-mobile-social a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  text-decoration: none;
}

/* アクセシビリティ: フォーカス時の見た目 */
.lucey-mobile-links a:focus,
.lucey-mobile-cta a:focus,
.lucey-mobile-close:focus,
.lucey-mobile-social a:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
}

/* パネル内のスクロールバー（軽く目立たせる） */
.lucey-mobile-inner::-webkit-scrollbar { width: 8px; }
.lucey-mobile-inner::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 8px; }

/* モバイル幅での微調整（必要なら） */
@media (max-width: 420px) {
  .lucey-mobile-inner { padding: 20px 14px; }
  .lucey-mobile-links a { font-size: 15px; padding: 10px 8px; }
  .lucey-mobile-cta .btn-reserve, .lucey-mobile-cta .btn-contact { padding: 10px 12px; }
}

/* ===========================
   洗練されたモダンフッターデザイン
   =========================== */
.footer {
  position: relative;
  z-index: 30;
  background: #0b0b0b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 70px 24px 35px;
  box-sizing: border-box;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
  gap: 45px;
  margin-bottom: 50px;
}

/* レスポンシブ: 900px以下（タブレット等） */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
}

/* レスポンシブ: 550px以下（スマホ） */
@media (max-width: 550px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* 各ブロックのタイトル */
.footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #777;
  margin: 0 0 20px 0;
  text-transform: uppercase;
}

/* 左側ブランドエリア */
.footer-brand .footer-logo {
  color: #fff !important;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 12px;
  opacity: 1 !important;
}

.footer-brand-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

/* SNSアイコンリンク */
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.04);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  opacity: 0.8 !important;
}
.footer-socials a:hover {
  background: #fff;
  color: #0b0b0b !important;
  transform: translateY(-2px);
  opacity: 1 !important;
}

/* ナビゲーションリンク */
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li {
  margin-bottom: 12px;
}
.footer-nav a {
  color: #bbb !important;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 600;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
  opacity: 0.85 !important;
}
.footer-nav a:hover {
  color: #fff !important;
  padding-left: 5px;
  opacity: 1 !important;
}

/* テキスト情報全般 */
.footer-text {
  font-size: 13px;
  color: #ccc;
  line-height: 1.6;
  margin: 0 0 10px 0;
}
.footer-text.font-bold {
  font-weight: 700;
  color: #fff;
  font-size: 14px;
}
.footer-text-sub {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

/* フッター最下部（コピーライト等） */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom .copy {
  font-size: 11px;
  color: #555;
  letter-spacing: 0.04em;
  margin: 0;
}
.footer-admin {
  font-size: 11px;
  color: #333 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-admin:hover {
  color: #777 !important;
}