/* =========================================
   HATTEN — Dark Professional (Corporate Base)
   ========================================= */
:root {
  --bg: #1a1d20;
  --bg-deep: #141618;
  --surface: rgba(255,255,255,0.04);
  --card-bg: rgba(255,255,255,0.03);
  --card-border: rgba(119,146,47,0.15);
  --card-border-hover: rgba(119,146,47,0.35);
  --card-hover: rgba(119,146,47,0.06);
  --text: rgba(230,235,225,0.9);
  --text-dim: rgba(230,235,225,0.55);
  --text-muted: rgba(230,235,225,0.28);
  --white: #ffffff;
  --accent: #77922f;
  --accent-light: #8fa83a;
  --accent-glow: rgba(119,146,47,0.3);
  --base: #2c3338;
  --gradient: linear-gradient(135deg, #77922f, #8fa83a, #a4b84d);
  --border: rgba(255,255,255,0.08);
  --max-w: 1120px;
  --max-w-wide: 1200px;
  --hdr-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-en: 'Inter', -apple-system, sans-serif;
  --font-jp: 'Noto Sans JP', -apple-system, sans-serif;
}

/* ── 背景エフェクト ── */
/* bg-area ラッパー */
.bg-area { position: relative; overflow: hidden; }
.bg-effects { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

/* Orb グロー */
.bg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.25; transition: opacity 1.5s ease;
  animation: orbFloat 28s ease-in-out infinite;
}
.bg-orb--1 { width: 550px; height: 550px; background: var(--accent); top: -12%; right: -10%; animation-delay: 0s; }
.bg-orb--2 { width: 400px; height: 400px; background: #3d5218; bottom: 5%; left: -8%; animation-delay: -10s; }
.bg-orb--3 { width: 300px; height: 300px; background: #8fa83a; top: 50%; left: 40%; opacity: 0.08; animation-delay: -18s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(35px, -25px) scale(1.06); }
  66% { transform: translate(-25px, 20px) scale(0.94); }
}

/* グリッドライン（パースペクティブ付き） */
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(119,146,47,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119,146,47,0.07) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(600px) rotateX(25deg);
  transform-origin: center 70%;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  animation: gridPulse 8s ease-in-out infinite;
  transition: opacity 1.5s ease;
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ノイズテクスチャ */
.bg-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.4;
}

/* パーティクル Canvas */
#particle-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* シティ Canvas */
#city-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 20px); }
body { font-family: var(--font-jp); font-weight: 400; color: var(--text); line-height: 1.7; background: var(--bg-deep); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent-light); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--white); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--max-w-wide); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-size: 0.9rem; font-weight: 500; font-family: var(--font-jp); cursor: pointer; border: none; transition: all var(--ease); text-decoration: none; }
.btn .lucide { width: 16px; height: 16px; }
.btn-primary {
  background: var(--gradient); color: var(--bg-deep);
  box-shadow: 0 4px 20px var(--accent-glow), 0 0 0 0 rgba(119,146,47,0);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: -2px;
  background: var(--gradient); border-radius: inherit;
  filter: blur(12px); opacity: 0; transition: opacity var(--ease); z-index: -1;
}
.btn-primary:hover { box-shadow: 0 8px 40px rgba(119,146,47,0.5); transform: translateY(-2px); color: var(--bg-deep); }
.btn-primary:hover::before { opacity: 0.6; }
.btn-ghost { background: transparent; color: var(--text-dim); border: 1px solid var(--card-border); }
.btn-ghost:hover { background: rgba(119,146,47,0.08); border-color: var(--card-border-hover); color: var(--white); }
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }

/* ── Card ── */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: all var(--ease); overflow: hidden;
}
.card:hover {
  background: var(--card-hover);
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(119,146,47,0.08), 0 20px 60px rgba(0,0,0,0.25);
}

/* ── Header ── */
.site-header { position: fixed; top: 0; left: 0; width: 100%; height: var(--hdr-h); z-index: 1000; transition: all var(--ease); }
.site-header.scrolled { background: rgba(20,22,24,0.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.header-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-main { font-family: var(--font-en); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.15em; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-sub { font-family: var(--font-en); font-size: 0.75rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.12em; border-left: 1px solid var(--border); padding-left: 12px; }
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a { font-size: 0.82rem; font-weight: 500; color: var(--text-dim); letter-spacing: 0.06em; transition: color var(--ease); text-decoration: none; }
.main-nav a:hover { color: var(--white); }
.nav-cta { background: var(--gradient) !important; color: var(--bg-deep) !important; padding: 8px 22px; border-radius: 50px; font-size: 0.8rem !important; font-weight: 600; }
.nav-cta:hover { box-shadow: 0 4px 20px var(--accent-glow); }
.nav-contact-sp { display: none; }
.menu-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; width: 32px; }
.menu-toggle span { display: block; width: 100%; height: 1.5px; background: var(--white); border-radius: 2px; transition: all var(--ease); transform-origin: center; }
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(2.5px, 2.5px); }
.menu-toggle.open span:nth-child(2) { transform: rotate(-45deg) translate(2.5px, -2.5px); }

/* ── Hero ── */
.hero { position: relative; z-index: 2; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: calc(var(--hdr-h) + 60px) 24px 80px; text-align: center; overflow: hidden; background: var(--bg-deep); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,22,24,0.5) 0%, rgba(20,22,24,0.3) 40%, rgba(20,22,24,0.7) 80%, rgba(20,22,24,1) 100%); }
.hero-content { position: relative; z-index: 5; max-width: 700px; }
.hero-logo { max-width: 280px; height: auto; margin: 0 auto; }
.hero-label { font-family: var(--font-en); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.3em; color: var(--accent-light); margin-bottom: 20px; }
.hero-catch { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; line-height: 1.15; color: var(--white); margin-bottom: 20px; letter-spacing: 0.06em; }
.hero-sub { font-size: clamp(0.9rem, 1.8vw, 1.1rem); font-weight: 300; color: var(--text-dim); line-height: 1.8; margin-bottom: 28px; }
.hero-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 500; color: var(--accent-light); padding: 7px 18px; border-radius: 50px; background: rgba(119,146,47,0.1); border: 1px solid rgba(119,146,47,0.25); backdrop-filter: blur(8px); box-shadow: 0 0 12px rgba(119,146,47,0.1); transition: all var(--ease); }
.hero-badge:hover { background: rgba(119,146,47,0.2); box-shadow: 0 0 24px rgba(119,146,47,0.2); }
.hero-badge .lucide { width: 14px; height: 14px; }

/* ── Photo Slide ── */
.photo-slide { position: relative; z-index: 2; overflow: hidden; background: var(--bg-deep); }
.slide-track { display: flex; gap: 12px; animation: slideScroll 40s linear infinite; width: max-content; }
.slide-track img { height: 220px; width: auto; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; cursor: pointer; transition: opacity 0.2s; }
.slide-track img:hover { opacity: 0.85; }
@keyframes slideScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.photo-slide:hover .slide-track { animation-play-state: paused; }

/* ── Section common ── */
section { position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label { font-family: var(--font-en); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.25em; margin-bottom: 12px; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--white); }
.section-desc { font-size: 0.92rem; color: var(--text-dim); margin-top: 12px; font-weight: 300; }

/* ── Concept ── */
/* セクション背景: 薄い半透明で bg-area の色変化を透かす */
.concept { padding: 120px 0; background: rgba(0,0,0,0.15); }
.concept .section-title { font-size: clamp(1.4rem, 3vw, 2rem); }
.concept-body { max-width: 700px; margin: 0 auto; text-align: center; }
.concept-body p { font-size: 0.95rem; font-weight: 300; color: var(--text-dim); line-height: 2.2; margin-bottom: 20px; }
.concept-body p:last-child { margin-bottom: 0; }
.hide-sp { display: inline; }

/* ── Features ── */
.features { padding: 120px 0; background: rgba(0,0,0,0.1); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: var(--bg-deep); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 36px 28px; transition: all var(--ease); }
.feature-card:hover { background: var(--card-hover); border-color: var(--card-border-hover); transform: translateY(-4px); box-shadow: 0 0 30px rgba(119,146,47,0.08), 0 12px 32px rgba(0,0,0,0.2); }
.feature-icon { width: 48px; height: 48px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--gradient); color: var(--bg-deep); box-shadow: 0 4px 16px var(--accent-glow); }
.feature-icon .lucide { width: 22px; height: 22px; }
.feature-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.feature-card p { font-size: 0.82rem; font-weight: 300; color: var(--text-dim); line-height: 1.8; }

/* ── Gallery ── */
.gallery { padding: 100px 0; background: rgba(0,0,0,0.18); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-grid .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.gallery-grid .gallery-item:nth-child(1) img { height: 100%; }

/* ── Price ── */
.price { padding: 120px 0; background: rgba(0,0,0,0.12); }
.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin: 0 auto; }
.price-card { background: var(--bg-deep); border-radius: var(--radius); padding: 40px 32px; border: 1px solid var(--card-border); display: flex; flex-direction: column; transition: all var(--ease); }
.price-card:hover { border-color: var(--card-border-hover); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
.price-card--main { border-color: var(--accent); position: relative; }
.price-card--main::before { content: 'おすすめ'; position: absolute; top: -12px; left: 24px; background: var(--gradient); color: var(--bg-deep); font-size: 0.68rem; font-weight: 700; padding: 4px 16px; border-radius: 50px; letter-spacing: 0.06em; }
.price-card-icon {
  width: 52px; height: 52px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: var(--gradient); color: var(--bg-deep);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.price-card-icon .lucide { width: 26px; height: 26px; }
.price-card-header { margin-bottom: 24px; }
.price-card-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.price-card-desc { font-size: 0.78rem; color: var(--text-dim); }
.price-card-price { margin-bottom: 28px; }
.price-amount { font-family: var(--font-en); font-size: 2.6rem; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.price-unit { font-size: 0.85rem; font-weight: 400; color: var(--text-dim); margin-left: 4px; }
.price-card-list { margin-bottom: 24px; flex-grow: 1; }
.price-card-list li { font-size: 0.82rem; color: var(--text-dim); padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.price-card-list .lucide { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.price-card-options { border-top: 1px solid var(--border); padding-top: 18px; margin-bottom: 18px; }
.price-option { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-dim); padding: 5px 0; }
.price-option span:last-child { font-family: var(--font-en); font-weight: 500; color: var(--text); }
.price-card-note { font-size: 0.72rem; color: var(--text-muted); }

/* ── Access ── */
.access { padding: 100px 0; background: rgba(0,0,0,0.15); }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.access-card { background: var(--bg-deep); border-radius: var(--radius); padding: 36px 32px; border: 1px solid var(--card-border); }
.access-card h3 { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.access-card h3 .lucide { width: 18px; height: 18px; color: var(--accent-light); }
.access-address { font-size: 0.95rem; color: var(--text); line-height: 1.8; margin-bottom: 16px; }
.access-hours { font-size: 0.8rem; color: var(--text-dim); display: flex; align-items: center; gap: 6px; margin-bottom: 24px; }
.access-hours .lucide { width: 14px; height: 14px; color: var(--accent); }
.access-stations { display: flex; flex-direction: column; gap: 10px; }
.access-stations li { font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; padding-left: 16px; position: relative; }
.access-stations li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--gradient); }
.access-stations li strong { color: var(--accent-light); font-weight: 600; }

/* ── Contact ── */
.contact { padding: 120px 0; background: rgba(0,0,0,0.18); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 640px; margin: 0 auto; }
.contact-item { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--bg-deep); border-radius: var(--radius); padding: 36px 24px; border: 1px solid var(--card-border); text-decoration: none; color: var(--text); transition: all var(--ease); }
.contact-item:hover { transform: translateY(-3px); border-color: var(--card-border-hover); box-shadow: 0 8px 24px rgba(0,0,0,0.2); color: var(--white); }
.contact-item .lucide { width: 24px; height: 24px; padding: 10px; box-sizing: content-box; border-radius: 12px; background: var(--gradient); color: var(--bg-deep); box-shadow: 0 4px 12px var(--accent-glow); }
.contact-label { font-family: var(--font-en); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.15em; color: var(--text-muted); }
.contact-value { font-family: var(--font-en); font-size: 1.05rem; font-weight: 500; color: var(--white); }
.contact-note { font-size: 0.68rem; color: var(--text-muted); }

/* ── Footer ── */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 40px 0; background: rgba(20,22,24,0.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.footer-logo { font-family: var(--font-en); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-corp { font-size: 0.68rem; color: var(--text-muted); margin-top: 2px; }
.footer-address { font-size: 0.65rem; color: var(--text-muted); margin-top: 4px; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { font-size: 0.72rem; color: var(--text-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent-light); }
.footer-legal { display: flex; gap: 24px; justify-content: center; margin-bottom: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.footer-legal a { font-size: 0.7rem; color: var(--text-muted); text-decoration: none; transition: color var(--ease); }
.footer-legal a:hover { color: var(--accent-light); }
.footer-bottom { text-align: center; }
.footer-bottom p { font-family: var(--font-en); font-size: 0.65rem; color: var(--text-muted); }

/* ── Lightbox ── */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-single img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); object-fit: contain; transform: scale(0.92); transition: transform 0.35s var(--ease); }
.lightbox.active.mode-single .lightbox-single img { transform: scale(1); }
.lightbox-close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; background: rgba(255,255,255,0.1); border: none; border-radius: 50%; color: #fff; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(255,255,255,0.1); border: none; border-radius: 50%; color: #fff; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-family: var(--font-en); font-size: 0.75rem; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; }

/* ライトボックス：グリッド一覧 / 個別 切替 */
.lightbox-grid { display: none; width: 92vw; max-width: 1120px; max-height: 86vh; overflow-y: auto; padding: 60px 14px 28px 6px; scrollbar-width: thin; scrollbar-color: rgba(143,168,58,0.4) transparent; }
.lightbox-grid::-webkit-scrollbar { width: 10px; }
.lightbox-grid::-webkit-scrollbar-track { background: transparent; }
.lightbox-grid::-webkit-scrollbar-thumb { background-color: rgba(119,146,47,0.45); border-radius: 8px; border: 3px solid transparent; background-clip: padding-box; }
.lightbox-grid::-webkit-scrollbar-thumb:hover { background-color: rgba(143,168,58,0.7); background-clip: padding-box; }
.lightbox.mode-grid .lightbox-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-content: start; }
.lightbox-single { display: none; align-items: center; justify-content: center; width: 100%; height: 100%; }
.lightbox.mode-single .lightbox-single { display: flex; }
.lightbox-thumb { border-radius: 6px; overflow: hidden; cursor: pointer; aspect-ratio: 3 / 2; background: rgba(255,255,255,0.06); }
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.lightbox-thumb:hover img { transform: scale(1.06); }
.lightbox-back { position: absolute; top: 20px; left: 24px; z-index: 2; background: rgba(255,255,255,0.1); border: none; border-radius: 22px; color: #fff; font-size: 0.85rem; padding: 8px 18px; cursor: pointer; transition: background 0.2s; }
.lightbox-back:hover { background: rgba(255,255,255,0.2); }

/* ギャラリー「すべて見る」ボタン */
.gallery-item--more { position: relative; }
.gallery-item--more .gallery-more { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: rgba(0,0,0,0.5); color: #fff; border: none; cursor: pointer; font-family: var(--font-jp); font-size: 1rem; font-weight: 500; letter-spacing: 0.02em; transition: background 0.25s; }
.gallery-item--more .gallery-more:hover { background: rgba(0,0,0,0.62); }
.gallery-item--more .gallery-more span { font-size: 0.8rem; opacity: 0.85; }

@media (max-width: 768px) {
  .lightbox.mode-grid .lightbox-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Legal Pages ── */
.legal-page { padding: calc(var(--hdr-h) + 60px) 0 80px; background: var(--bg); }
.legal-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--white); margin-bottom: 40px; text-align: center; }
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 1rem; font-weight: 600; color: var(--white); margin: 36px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.legal-content p { font-size: 0.88rem; font-weight: 300; color: var(--text-dim); line-height: 1.9; margin-bottom: 12px; }
.legal-table { margin-bottom: 20px; }
.legal-table th, .legal-table td { padding: 14px 20px; font-size: 0.85rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-table th { color: var(--text-muted); font-weight: 500; font-size: 0.8rem; white-space: nowrap; width: 140px; background: var(--bg-deep); }
.legal-table td { color: var(--text); font-weight: 300; }
.legal-table tr:last-child th, .legal-table tr:last-child td { border-bottom: none; }

/* ── Light Mode（日中スクロール時） ── */
.bg-area { transition: background-color 1.2s ease; }
.bg-area .section-title,
.bg-area .section-label,
.bg-area .section-desc,
.bg-area .feature-card,
.bg-area .feature-card h3,
.bg-area .feature-card p,
.bg-area .feature-icon,
.bg-area .gallery-item,
.bg-area .price-card,
.bg-area .price-card-header h3,
.bg-area .price-card-desc,
.bg-area .price-card-list li,
.bg-area .price-option,
.bg-area .price-option span:last-child,
.bg-area .price-card-note,
.bg-area .access-card,
.bg-area .access-card h3,
.bg-area .access-address,
.bg-area .access-hours,
.bg-area .access-stations li,
.bg-area .access-stations li strong,
.bg-area .contact-item,
.bg-area .contact-value,
.bg-area .contact-label,
.bg-area .contact-note,
.bg-area .concept-body p,
.bg-area .footer-logo,
.bg-area .footer-corp,
.bg-area .footer-address,
.bg-area .footer-nav a,
.bg-area .footer-legal a,
.bg-area .footer-bottom p {
  transition: color 1.2s ease, background 1.2s ease, border-color 1.2s ease, box-shadow 1.2s ease;
}
.bg-area.light-mode .bg-orb { opacity: 0; transition: opacity 1.5s ease; }
.bg-area.light-mode .bg-grid { opacity: 0; transition: opacity 1.5s ease; }
.bg-area.light-mode .section-title { color: var(--base); }
.bg-area.light-mode .section-label { -webkit-text-fill-color: initial; background: none; color: #4a6320; }
.bg-area.light-mode .section-desc { color: #555; }
.bg-area.light-mode .feature-card { background: rgba(255,255,255,0.7); border-color: rgba(0,0,0,0.1); }
.bg-area.light-mode .feature-card h3 { color: var(--base); }
.bg-area.light-mode .feature-card p { color: #555; }
.bg-area.light-mode .feature-icon { background: var(--gradient); color: #fff; }
.bg-area.light-mode .gallery-item { box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.bg-area.light-mode .price-card { background: rgba(255,255,255,0.7); border-color: rgba(0,0,0,0.1); }
.bg-area.light-mode .price-card--main { border-color: var(--accent); }
.bg-area.light-mode .price-card-header h3 { color: var(--base); }
.bg-area.light-mode .price-card-desc { color: #666; }
.bg-area.light-mode .price-card-list li { color: #555; }
.bg-area.light-mode .price-option { color: #666; }
.bg-area.light-mode .price-option span:last-child { color: var(--base); }
.bg-area.light-mode .price-card-note { color: #888; }
.bg-area.light-mode .access-card { background: rgba(255,255,255,0.7); border-color: rgba(0,0,0,0.1); }
.bg-area.light-mode .access-card h3 { color: var(--base); }
.bg-area.light-mode .access-address { color: var(--base); }
.bg-area.light-mode .access-hours { color: #555; }
.bg-area.light-mode .access-stations li { color: #555; }
.bg-area.light-mode .access-stations li strong { color: #4a6320; }
.bg-area.light-mode .contact-item { background: rgba(255,255,255,0.7); border-color: rgba(0,0,0,0.1); }
.bg-area.light-mode .contact-value { color: var(--base); }
.bg-area.light-mode .contact-label { color: #888; }
.bg-area.light-mode .contact-note { color: #999; }
.bg-area.light-mode .concept-body p { color: #555; }
.bg-area.light-mode .footer-logo { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bg-area.light-mode .footer-corp,
.bg-area.light-mode .footer-address { color: #888; }
.bg-area.light-mode .footer-nav a { color: #666; }
.bg-area.light-mode .footer-nav a:hover { color: var(--accent); }
.bg-area.light-mode .footer-legal a { color: #888; }
.bg-area.light-mode .footer-bottom p { color: #aaa; }

/* ── Fade-in ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.features-grid .fade-in:nth-child(2) { transition-delay: 0.08s; }
.features-grid .fade-in:nth-child(3) { transition-delay: 0.16s; }
.features-grid .fade-in:nth-child(4) { transition-delay: 0.24s; }
.features-grid .fade-in:nth-child(5) { transition-delay: 0.32s; }
.features-grid .fade-in:nth-child(6) { transition-delay: 0.4s; }
.contact-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .price-cards { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 768px) {
  :root { --hdr-h: 60px; }
  .menu-toggle { display: flex; }
  .main-nav { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: rgba(20,22,24,0.97); backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px); flex-direction: column; align-items: center; justify-content: center; gap: 0; transition: right var(--ease); }
  .main-nav.open { right: 0; }
  .main-nav a { font-size: 1.1rem; padding: 20px 0; color: var(--text-dim); }
  .main-nav .nav-cta { display: none; }
  .nav-contact-sp { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border); width: 100%; max-width: 280px; }
  .nav-contact-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-dim); text-decoration: none; justify-content: center; }
  .nav-contact-item .lucide { width: 18px; height: 18px; color: var(--accent); }
  .bg-orb { filter: blur(80px); opacity: 0.1; }
  .bg-orb--1 { width: 300px; height: 300px; }
  .bg-orb--2 { width: 250px; height: 250px; }
  .bg-orb--3 { width: 200px; height: 200px; }
  .bg-grid { display: none; }
  .hide-sp { display: none; }
  .hero { min-height: 85vh; }
  .hero-catch { font-size: 2rem; }
  .hero-badges { gap: 8px; }
  .hero-badge { font-size: 0.68rem; padding: 5px 12px; }
  .slide-track img { height: 160px; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .gallery-item:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
  .gallery-item img { height: 200px; }
  .gallery-grid .gallery-item:nth-child(1) img { height: 240px; }
  .access-grid { grid-template-columns: 1fr; }
  .access-card { padding: 28px 20px; }
  .contact-grid { grid-template-columns: 1fr; max-width: 320px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
  .section-header { margin-bottom: 40px; }
  .features, .gallery, .price, .access, .contact { padding: 80px 0; }
}
