@charset "UTF-8";

:root {
  --gold-bright: #F3E0B8;
  --gold-main: #C8A96E;
  --gold-deep: #8C6C32;
  --navy-deep: #070F1E;
}

body {
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: #FAF8F5;
  top: 0 !important;
}

/* 固定ヘッダー分のスクロール位置補正（セクション内サブ見出しへのジャンプにも対応） */
section[id],
div[id] {
  scroll-margin-top: 118px;
}


/* =====================================================================
   ✨ 最上部ゴールド・スクロールプログレスバー
===================================================================== */
#scrollProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  z-index: 70;
  pointer-events: none;
  background: linear-gradient(90deg, #8C6C32 0%, #F5E6C8 55%, #C8A96E 100%);
  box-shadow: 0 0 12px rgba(200, 169, 110, 0.75);
  transition: width 0.08s linear;
}

/* =====================================================================
   🧭 ヘッダー・サブメニュー（PCドロップダウン＆スマホアコーディオン）
===================================================================== */
header.is-scrolled {
  box-shadow: 0 16px 40px -12px rgba(4, 9, 20, 0.65);
  border-bottom-color: rgba(200, 169, 110, 0.45);
}

header nav[aria-label="メインナビゲーション"] .nav-trigger.active-nav {
  color: #EBD2A0 !important;
}
header nav[aria-label="メインナビゲーション"] .nav-trigger.active-nav::after {
  width: 100% !important;
}

/* PCドロップダウンパネル */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 245px;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dropdown-arrow {
  transition: transform 0.22s ease;
}
.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown:focus-within .nav-dropdown-arrow,
.nav-dropdown.is-open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

/* サブメニュー本体：高級すりガラス調（スケルトン＋視認性確保） */
header .nav-dropdown-menu > div {
  background: linear-gradient(
    155deg,
    rgba(13, 27, 51, 0.66) 0%,
    rgba(7, 15, 30, 0.56) 100%
  );
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(235, 210, 160, 0.45);
  box-shadow:
    0 24px 48px -12px rgba(4, 9, 20, 0.55),
    inset 0 1px 0 rgba(255, 245, 220, 0.35),
    inset 0 0 24px rgba(200, 169, 110, 0.08);
  padding-top: 6px;
  padding-bottom: 6px;
}
header .nav-dropdown-menu a {
  display: block;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  text-shadow:
    0 1px 3px rgba(4, 9, 20, 0.9),
    0 0 10px rgba(4, 9, 20, 0.55);
  border-bottom: 1px solid rgba(255, 245, 220, 0.14);
  transition: background 0.22s ease, color 0.22s ease, padding-left 0.22s ease;
}
header .nav-dropdown-menu a:last-child {
  border-bottom: none;
}
header .nav-dropdown-menu a:hover,
header .nav-dropdown-menu a:focus {
  background: linear-gradient(
    90deg,
    rgba(200, 169, 110, 0.36) 0%,
    rgba(200, 169, 110, 0.12) 100%
  );
  color: #FFF4DC;
  padding-left: 22px;
}

/* スマホドロワー内サブメニュー（アコーディオン） */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-accordion.is-open .mobile-submenu {
  max-height: 360px;
}
.mobile-accordion.is-open .mobile-accordion-arrow {
  transform: rotate(180deg);
}

/* モバイルメニューボタンのタップ安定化＆ドロワー内スクロール対応 */
#mobileMenuBtn {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
#mobileMenuBtn * {
  pointer-events: none;
}
#mobileMenu {
  background: linear-gradient(
    180deg,
    rgba(10, 21, 40, 0.84) 0%,
    rgba(7, 15, 30, 0.88) 100%
  );
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  max-height: calc(100vh - 112px);
  max-height: calc(100dvh - 112px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* =====================================================================
   ✨ スクロールリビール ＆ 時間差（スタッガー）エフェクト
===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(3px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* カード個別の時間差登場 */
.stagger-item {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) var(--stagger-delay, 0ms),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) var(--stagger-delay, 0ms),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.stagger-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* =====================================================================
   ✨ 高級ブランド・グラデーション ＆ キラッと光る演出
===================================================================== */
.navy-grad {
  position: relative;
  background:
    radial-gradient(circle at 88% 12%, rgba(200, 169, 110, 0.16) 0%, transparent 46%),
    radial-gradient(circle at 12% 88%, rgba(52, 92, 148, 0.18) 0%, transparent 48%),
    linear-gradient(145deg, #060D1A 0%, #0D1B33 55%, #162947 100%);
}

/* ネイビーパネル内の繊細な光の瞬き（本文の背面に配置） */
.navy-grad.luxury-sparkle {
  overflow: hidden;
}
.navy-grad.luxury-sparkle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(255, 240, 204, 0.55) 0px, transparent 2px),
    radial-gradient(circle at 76% 18%, rgba(255, 240, 204, 0.45) 0px, transparent 1.8px),
    radial-gradient(circle at 84% 72%, rgba(200, 169, 110, 0.50) 0px, transparent 2px),
    radial-gradient(circle at 28% 82%, rgba(255, 240, 204, 0.38) 0px, transparent 1.5px);
  animation: luxuryTwinkle 5.5s ease-in-out infinite alternate;
  z-index: 0;
}
.navy-grad.luxury-sparkle > :not(.absolute) {
  position: relative;
  z-index: 1;
}

@keyframes luxuryTwinkle {
  0% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.85; }
  100% { opacity: 0.35; transform: scale(1.015); }
}

.teal-grad {
  background: linear-gradient(135deg, #C7A35E 0%, #9E7C3E 52%, #846429 100%);
}

/* ゴールドボタンの「キラッ」と走るシマー光沢（モバイルメニューボタンは除外してタップを安定化） */
a.teal-grad,
button.teal-grad:not(#mobileMenuBtn) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
a.teal-grad::after,
button.teal-grad:not(#mobileMenuBtn)::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -130%;
  width: 55%;
  height: 140%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 252, 240, 0.42) 50%,
    transparent 100%
  );
  transform: skewX(-24deg);
  pointer-events: none;
  animation: goldShimmer 5.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
a.teal-grad:hover::after,
button.teal-grad:not(#mobileMenuBtn):hover::after {
  animation: none;
  left: 145%;
  transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes goldShimmer {
  0%, 72% { left: -130%; }
  100% { left: 145%; }
}

/* セクション見出し下のゴールドライン（中央の発光効果なし・シンプル表示） */
.gold-line-grad {
  position: relative;
  background: linear-gradient(90deg, transparent 0%, #C8A96E 50%, transparent 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}
.reveal.is-visible .gold-line-grad {
  transform: scaleX(1);
}

.soft-mesh {
  background-color: #FAF8F5;
  background-image:
    radial-gradient(at 10% 15%, rgba(200, 169, 110, 0.11) 0px, transparent 50%),
    radial-gradient(at 90% 85%, rgba(13, 27, 51, 0.06) 0px, transparent 50%);
}

/* =====================================================================
   ✨ カードのスポットライト追従 ＆ 上質な浮き上がり
===================================================================== */
.luxury-card {
  position: relative;
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) var(--stagger-delay, 0ms),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) var(--stagger-delay, 0ms),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.luxury-card:not(.luxury-sparkle)::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    340px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(200, 169, 110, 0.14),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}
@media (hover: hover) {
  .luxury-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 169, 110, 0.75) !important;
    box-shadow: 0 26px 54px -16px rgba(7, 15, 30, 0.16), 0 0 0 1px rgba(200, 169, 110, 0.25);
    transition:
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.35s ease,
      border-color 0.35s ease;
  }
  .luxury-card:not(.luxury-sparkle):hover::before {
    opacity: 1;
  }
}

/* 比較バーのスクロール伸長エフェクト */
.bar-animate {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.25s cubic-bezier(0.16, 1, 0.3, 1) var(--bar-delay, 0ms);
}
.bar-animate.bar-filled {
  transform: scaleX(1);
}

/* ヒーローの初期ふわっと登場演出 */
#hero .animate-fade-in > .grid > div:first-child > * {
  animation: heroElegantIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
#hero .animate-fade-in > .grid > div:first-child > *:nth-child(1) { animation-delay: 0.05s; }
#hero .animate-fade-in > .grid > div:first-child > *:nth-child(2) { animation-delay: 0.14s; }
#hero .animate-fade-in > .grid > div:first-child > *:nth-child(3) { animation-delay: 0.22s; }
#hero .animate-fade-in > .grid > div:first-child > *:nth-child(4) { animation-delay: 0.30s; }
#hero .animate-fade-in > .grid > div:first-child > *:nth-child(5) { animation-delay: 0.38s; }
#hero .animate-fade-in > .grid > div:first-child > *:nth-child(6) { animation-delay: 0.45s; }
#hero .animate-fade-in > .grid > div:last-child {
  animation: heroElegantIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

@keyframes heroElegantIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQ ＆ 掲示事項アコーディオン */
.faq-item,
.notice-item {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.active,
.notice-item.active {
  border-color: rgba(200, 169, 110, 0.8);
  box-shadow: 0 14px 30px -14px rgba(7, 15, 30, 0.12);
}
.faq-icon,
.notice-icon {
  line-height: 1;
  display: inline-block;
}
.faq-content,
.notice-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-content {
  max-height: 800px;
}
.notice-item.active .notice-content {
  max-height: 2000px;
}
.faq-item.active .faq-icon,
.notice-item.active .notice-icon {
  transform: rotate(45deg);
}

/* PC用 右下トップ戻る */
#pcBackToTop.show-btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 🎨 スライドショー背景上の文字用：多層テキストシャドウ */
.hero-title-shadow {
  text-shadow:
    0 1px 2px rgba(7, 15, 30, 0.95),
    0 3px 10px rgba(7, 15, 30, 0.85),
    0 8px 28px rgba(7, 15, 30, 0.70);
}

.hero-text-shadow {
  text-shadow:
    0 1px 2px rgba(7, 15, 30, 0.95),
    0 2px 8px rgba(7, 15, 30, 0.85),
    0 4px 18px rgba(7, 15, 30, 0.65);
}

/* 🎨 スライドショー専用：アートフィルター（極薄ノイズ） */
.art-overlay {
  position: absolute;
  inset: 0;
  z-index: 13;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.025'/%3E%3C/svg%3E");
}

/* 📱💻 スライドショーコンテナのレスポンシブ設計 */
.slideshow-viewport {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 72vh;
  min-height: 600px;
  max-height: 760px;
  overflow: hidden;
  will-change: transform;
}
@media (min-width: 1024px) {
  .slideshow-viewport {
    inset: 0;
    height: 100%;
    min-height: 100%;
    max-height: none;
    transform: translate3d(0, 0, 0) scale(1.08);
  }
}

.slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.5s ease-in-out, transform 7.5s ease-out;
  transform: scale(1.0);
}
@media (min-width: 1024px) {
  .slide-item {
    transform: scale(1.02);
  }
}

.slide-item.active {
  opacity: 1;
  z-index: 10;
  transform: scale(1.05);
}
@media (min-width: 1024px) {
  .slide-item.active {
    transform: scale(1.07);
  }
}

/* 📱 スマホ・タブレット用：下スクロール時にヘッダーを隠す制御 */
@media (max-width: 1023px) {
  header.header-hidden {
    transform: translateY(-100%);
  }
}

/* 動きを抑える設定のユーザー配慮 */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .stagger-item,
  .gold-line-grad,
  .bar-animate,
  .slideshow-viewport {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
  a.teal-grad::after,
  button.teal-grad::after,
  .navy-grad.luxury-sparkle::before {
    animation: none !important;
  }
}

/* 🖨️ 印刷用スタイル */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  header,
  footer,
  #pcBackToTop,
  #scrollProgressBar,
  nav[aria-label="モバイル固定メニュー"] {
    display: none !important;
  }

  main {
    padding-top: 0 !important;
  }
  body {
    padding-bottom: 0 !important;
    background-color: #FAF8F5 !important;
  }

  .reveal,
  .reveal.is-visible,
  .stagger-item,
  .stagger-item.is-visible,
  .bar-animate,
  .gold-line-grad {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }

  /* 印刷時は掲示事項の中身をすべて展開 */
  .notice-content {
    max-height: none !important;
    overflow: visible !important;
  }

  * {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  #access iframe {
    display: block !important;
    width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    visibility: visible !important;
    opacity: 1 !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
}