/* ==========================================
   EARTH MATE — Rooftop Space / Kyoto Fushimi
   ========================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ライトテーマ */
  --black:      #ffffff;   /* ページ背景 */
  --dark:       #f8f6f2;   /* セクション背景 */
  --charcoal:   #f0ede8;   /* カード背景 */
  --white:      #111111;   /* 本文テキスト */
  --off-white:  #f0ede8;
  --warm:       #111111;   /* アクセント */
  --warm-dim:   rgba(17,17,17,0.6);
  --gray:       #888888;
  --gray-light: rgba(0,0,0,0.12);

  --font-en:  'Bebas Neue', 'Arial Black', sans-serif;
  --font-sub: 'Jost', 'Noto Sans JP', sans-serif;
  --font-jp:  'Noto Sans JP', sans-serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --trans: 0.4s var(--ease);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sub);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ==========================================
   INTRO SCREEN
   ========================================== */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s var(--ease);
}
.intro-screen.hide {
  opacity: 0;
  pointer-events: none;
}
.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.intro-logo {
  height: 110px;
  width: auto;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.intro-logo.show {
  opacity: 1;
  transform: translateY(0);
}
.intro-logo-fallback {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  letter-spacing: 0.2em;
  color: #ffffff;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  display: none;
}
.intro-logo-fallback.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   LAYOUT
   ========================================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 64px 0; }

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  transition: background var(--trans), padding var(--trans), box-shadow var(--trans);
}
.header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  box-shadow: 0 1px 24px rgba(0,0,0,0.08);
}
/* メニューオープン時はヘッダー背景を消してオーバーレイのみ表示 */
.header.menu-open {
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

.header-logo img {
  height: 80px;
  width: auto;
}

/* ロゴ画像はそのまま（透過PNGのため白背景では見えにくい場合あり） */
.header-logo .logo-text {
  font-family: var(--font-en);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--white);
}

.header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  z-index: 150;
}
.header-nav.open {
  opacity: 1;
  pointer-events: auto;
}
.header-nav li { width: 100%; text-align: center; }
.header-nav a {
  display: block;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #ffffff !important;
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-weight: 300;
}
.header-nav li:last-child a { border-bottom: none; }
.nav-cta { border: none !important; padding: 20px 0 !important; }

/* ==========================================
   HERO（写真背景→テキストは白のまま）
   ========================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease);
}
.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.22);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
/* eyebrow前のラインは削除 */
.hero-eyebrow::before { display: none; }

.hero-sub {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.85;
  letter-spacing: 0.06em;
  margin: 0;
}

.hero-logo-img {
  display: block;
  height: clamp(120px, 26vw, 300px);
  width: auto;
  object-fit: contain;
}

.hero-logo-sm {
  height: 52px;
  width: auto;
  display: block;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==========================================
   HERO — 新レイアウト (左下・右上配置)
   ========================================== */

/* 左下：ロケーションラベル + キャッチコピー + TEL */
.hero-bottom-left {
  position: absolute;
  bottom: 80px;
  left: 24px;
  right: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-location-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
  text-shadow: 0 1px 10px rgba(0,0,0,0.8);
}

.hero-catch-main {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.72;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.85), 0 4px 40px rgba(0,0,0,0.5);
}

/* 右上：コピーテキスト (スマホ統一のため非表示) */
.hero-top-right {
  display: none;
}

.hero-copy-right {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: clamp(0.78rem, 1.25vw, 1.02rem);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 2.3;
  letter-spacing: 0.2em;
  text-shadow: 0 1px 10px rgba(0,0,0,0.8);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: 50px;
  transition: all var(--trans);
}

/* ヒーロー上のボタン：白ボタン */
.hero .btn-warm {
  background: #ffffff;
  color: #111111;
}
.hero .btn-warm:hover {
  background: rgba(255,255,255,0.85);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,255,255,0.2);
}

/* 通常セクションのボタン：黒ボタン */
.btn-warm {
  background: var(--warm);
  color: #ffffff;
}
.btn-warm:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(0,0,0,0.3);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

/* ==========================================
   SCROLL TICKER
   ========================================== */
.ticker {
  background: var(--charcoal);
  overflow: hidden;
  padding: 12px 0;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}
.ticker-inner {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  width: max-content;
}
.ticker-item {
  font-family: var(--font-en);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  padding: 0 32px;
  white-space: nowrap;
}
.ticker-item::after {
  content: '';
  margin-left: 0;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================
   SECTION HEADER
   ========================================== */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 16px;
}
.sec-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--warm);
}
.sec-title {
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.0;
  margin-bottom: 20px;
}
.sec-desc {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.95;
  max-width: 520px;
  margin-bottom: 0;
}

/* ==========================================
   03 ABOUT — スペック一覧
   ========================================== */
.about { background: var(--dark); }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.spec-card {
  background: var(--charcoal);
  padding: 32px 16px;
  text-align: center;
  transition: background var(--trans), transform var(--trans);
  cursor: default;
  border: 1px solid rgba(0,0,0,0.06);
}
.spec-card:hover {
  background: #e8e5e0;
  transform: translateY(-4px);
}

.spec-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: rgba(0,0,0,0.35);
  transition: color var(--trans);
}
.spec-card:hover .spec-icon { color: var(--warm); }
.spec-icon svg {
  width: 100%;
  height: 100%;
}

.spec-num {
  font-family: var(--font-en);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--white);
}
.spec-num span {
  font-size: 1rem;
  letter-spacing: 0;
  opacity: 0.7;
}

.spec-label {
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  line-height: 1.5;
}

/* ==========================================
   04 利用シーン
   ========================================== */
.scenes { background: var(--black); padding-bottom: 0; }

/* ===== Scene → Gallery ブリッジ動画 ===== */
.scene-bridge {
  position: relative;
  width: 100%;
  height: 55vh;
  overflow: hidden;
  background: #080808;
  display: block;
  line-height: 0;
  font-size: 0;
}
.scene-bridge-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scenes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin-top: 60px;
}

.scene-card {
  position: relative;
  overflow: hidden;
  cursor: default;
}
.scene-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.scene-card:hover img { transform: scale(1.05); }

.scene-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.82) 0%, rgba(8,8,8,0.08) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
}

.scene-num {
  position: absolute;
  top: 20px;
  right: 24px;           /* 01・03: 右上 */
  font-family: var(--font-en);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  line-height: 1;
  text-shadow: none;
}
/* zigzag: 全サイズ共通 */
.scene-card:nth-child(2) .scene-num {
  right: auto;
  left: 24px;
}
.scene-card:nth-child(2) .scene-overlay {
  align-items: flex-end;
}
.scene-card:nth-child(2) .scene-title,
.scene-card:nth-child(2) .scene-desc {
  text-align: right;
}

.scene-title {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin-bottom: 16px;
  color: #ffffff;
}

.scene-desc {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* ==========================================
   05 GALLERY — fan-tilt card carousel (glamp-element Room style)
   ========================================== */
.gallery {
  position: relative;
  background: #080808;
  padding: 0 0 48px;
  overflow: hidden;
}

/* 動画背景 */
.gallery-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  pointer-events: none;
}

.gallery-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4,4,4,0.35);
  pointer-events: none;
}

/* ロゴエリア */
.gallery-logo-area {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 0 16px;
}
.gallery-logo-img {
  height: 140px;
  width: auto;
  opacity: 0.60;
  display: inline-block;
}

/* ファンカードステージ */
.gallery-stage {
  position: relative;
  z-index: 2;
  height: 380px;
  margin: 0 auto;
  max-width: 1200px;
}

/* カード共通 */
.gallery-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56vw;
  margin-left: -28vw;
  margin-top: -125px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  overflow: hidden;
  cursor: pointer;
  transform-origin: center;
  will-change: transform, opacity;
  transition: transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.5s ease, box-shadow 0.4s ease;
}

/* カード画像エリア */
.gallery-card-img {
  width: 100%;
  height: 50vw;
  overflow: hidden;
}
.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gallery-card.active .gallery-card-img img {
  transform: scale(1.03);
}

/* カード本文 */
.gallery-card-body {
  padding: 16px 20px 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.gallery-card-num {
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: rgba(17,17,17,0.30);
  flex-shrink: 0;
}
.gallery-card-name {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 0.84rem;
  font-weight: 300;
  color: rgba(17,17,17,0.75);
  letter-spacing: 0.06em;
  line-height: 1.5;
}

/* ===== ステートクラス ===== */

/* アクティブ (中央・正面) */
.gallery-card.active {
  transform: translateX(0) rotate(0deg) scale(1);
  z-index: 5;
  opacity: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  cursor: default;
}

/* 左隣 */
.gallery-card.prev-1 {
  transform: translateX(-34vw) rotate(-13deg) scale(0.85);
  z-index: 3;
  opacity: 0.85;
}
/* 右隣 */
.gallery-card.next-1 {
  transform: translateX(34vw) rotate(13deg) scale(0.85);
  z-index: 3;
  opacity: 0.85;
}

/* 左2枚目 */
.gallery-card.prev-2 {
  transform: translateX(-60vw) rotate(-22deg) scale(0.70);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}
/* 右2枚目 */
.gallery-card.next-2 {
  transform: translateX(60vw) rotate(22deg) scale(0.70);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

/* 非表示 */
.gallery-card.far-left {
  transform: translateX(-80vw) rotate(-28deg) scale(0.55);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}
.gallery-card.far-right {
  transform: translateX(80vw) rotate(28deg) scale(0.55);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

/* ナビゲーション（white on dark video bg） */
.gallery-nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}

.gallery-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.28);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans), border-color var(--trans);
  color: #ffffff;
}
.gallery-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.65);
}
.gallery-btn svg { width: 18px; height: 18px; }
.gallery-btn:disabled { opacity: 0.2; cursor: not-allowed; }
.gallery-btn:disabled:hover {
  background: transparent;
  border-color: rgba(255,255,255,0.28);
}
.gallery-count {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.38);
  min-width: 64px;
  text-align: center;
}

/* ==========================================
   06 料金概要
   ========================================== */
.plan { background: var(--dark); }

/* 料金カード 3列 */
/* plan-overview (index.html トップ表示用) */
.plan-overview {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid var(--gray-light);
  margin-top: 64px;
}
.plan-item {
  flex: 1;
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.plan-divider {
  width: 100%;
  height: 1px;
  background: var(--gray-light);
  flex-shrink: 0;
}
.plan-num {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gray);
}
.plan-big {
  font-family: var(--font-en);
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--white);
  line-height: 1;
}
.plan-unit {
  font-size: 0.72rem;
  color: var(--gray);
  margin-top: -4px;
}
.plan-text {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.7;
  margin-top: 4px;
}

/* plan-cards (detail.html 詳細ページ用) */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-light);
  margin-top: 40px;
  border: 1px solid var(--gray-light);
}
.plan-card {
  background: var(--charcoal);
  padding: 52px 36px 48px;
  text-align: center;
  position: relative;
  transition: background var(--trans);
}
.plan-card:hover { background: var(--dark); }
.plan-card-badge {
  font-family: var(--font-sub);
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
  display: block;
}
.plan-card-price {
  font-family: var(--font-en);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.plan-card-price-unit {
  font-family: var(--font-jp);
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.08em;
  margin-bottom: 36px;
  display: block;
}
.plan-card-divider {
  width: 24px;
  height: 1px;
  background: var(--gray-light);
  margin: 0 auto 32px;
}
.plan-card-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan-card-specs li {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.6);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.plan-card-specs li strong {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 400;
}
.plan-card-note {
  font-family: var(--font-jp);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--white);
}

/* stagger animation */
.plan-card:nth-child(1) { transition-delay: 0ms; }
.plan-card:nth-child(2) { transition-delay: 80ms; }
.plan-card:nth-child(3) { transition-delay: 160ms; }
.plan-card.reveal:nth-child(1) { transition-delay: 0ms; }
.plan-card.reveal:nth-child(2) { transition-delay: 120ms; }
.plan-card.reveal:nth-child(3) { transition-delay: 240ms; }

.plan-all-note {
  margin-top: 40px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.plan-all-note::before,
.plan-all-note::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--gray-light);
}

.plan-cta {
  margin-top: 48px;
  text-align: center;
}

.plan-note {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

/* ==========================================
   07 ACCESS
   ========================================== */
.access { background: var(--black); }

.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 60px;
}
.access-info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.access-row {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-light);
}
.access-row:last-child { border-bottom: none; padding-bottom: 0; }
.access-row-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: border-color var(--trans), background var(--trans);
}
.access-row:hover .access-row-icon {
  border-color: var(--warm);
  background: rgba(0,0,0,0.03);
}
.access-row-icon svg {
  width: 18px;
  height: 18px;
  color: var(--warm);
  flex-shrink: 0;
}
/* アクセスアイコン個別カラー */
.access-row:nth-child(1) .access-row-icon { border-color: rgba(217,119,6,0.3); }
.access-row:nth-child(1) .access-row-icon svg { color: #d97706; }
.access-row:nth-child(2) .access-row-icon { border-color: rgba(37,99,235,0.3); }
.access-row:nth-child(2) .access-row-icon svg { color: #2563eb; }
.access-row:nth-child(3) .access-row-icon { border-color: rgba(22,163,74,0.3); }
.access-row:nth-child(3) .access-row-icon svg { color: #16a34a; }
.access-row:nth-child(4) .access-row-icon { border-color: rgba(220,38,38,0.3); }
.access-row:nth-child(4) .access-row-icon svg { color: #dc2626; }
.access-row-body h4 {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 8px;
}
.access-row-body p {
  font-size: 0.9rem;
  color: rgba(0,0,0,0.65);
  line-height: 1.85;
}

.map-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
}
.map-header svg { width: 12px; height: 12px; flex-shrink: 0; }

.map-box {
  filter: grayscale(80%) contrast(1.0);
  transition: filter var(--trans);
}
.map-box:hover { filter: grayscale(20%); }
.map-box iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

/* ==========================================
   08 CTA PHONE
   ========================================== */
.cta-phone-sec {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  text-align: center;
}
.cta-phone-sec::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: clamp(8rem, 20vw, 18rem);
  color: rgba(0,0,0,0.04);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
}
.cta-phone-sec .sec-label,
.cta-phone-sec .sec-title,
.cta-phone-sec .sec-desc {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.cta-phone-sec .sec-label { justify-content: center; }
.cta-phone-sec .sec-label::before { display: none; }
.phone-big {
  font-family: var(--font-en);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  letter-spacing: 0.06em;
  color: var(--warm);
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin: 32px 0 16px;
  transition: color var(--trans);
}
.phone-big:hover { color: rgba(0,0,0,0.55); }
.cta-hours {
  font-size: 0.82rem;
  color: var(--gray);
  letter-spacing: 0.12em;
}
.cta-sub {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.12em;
  margin: 0 auto 40px;
  text-align: center;
  display: block;
}

/* ==========================================
   09 FOOTER（コントラストのため濃いグレー）
   ========================================== */
.footer {
  background: #1a1a1a;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 52px 20px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.footer-logo img { height: 88px; width: auto; }

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-info-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.85;
}
.footer-info-label {
  font-size: 0.62rem !important;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35) !important;
  margin-bottom: 10px;
}

.footer-nav {
  display: flex;
  gap: 16px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color var(--trans);
}
.footer-nav a:hover { color: #ffffff; }

/* SNSリンク */
.footer-sns {
  display: flex;
  gap: 28px;
  align-items: center;
}
.sns-link {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.4);
  transition: color var(--trans);
}
.sns-link:hover { color: #ffffff; }
.sns-link svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}


.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
}

/* TELボタン: 右下固定 */
.hero-btn-tel {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 200;
  width: auto !important;
  padding: 14px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  justify-content: center;
}

/* ==========================================
   SCROLL REVEAL
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 方向付きreveal */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* スケールアップreveal */
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* sec-title レタースペーシング演出 */
.sec-title {
  transition: letter-spacing 1.0s var(--ease);
}
.sec-title.visible {
  letter-spacing: 0.05em;
}

/* parallax hero */
.hero-parallax {
  will-change: transform;
}

/* ==========================================
   HAMBURGER
   ========================================== */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 200;
}
/* バー3本のみ (ラベルを除外) */
.hamburger > span:not(.hamburger-label) {
  display: block;
  width: 44px;
  height: 2.5px;
  background: #ffffff;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.header.scrolled .hamburger > span:not(.hamburger-label) { background: #111111; }
.hamburger.open > span:nth-child(1) { transform: translateY(12px) rotate(45deg); }
.hamburger.open > span:nth-child(2) { opacity: 0; }
.hamburger.open > span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }

.hamburger-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
  margin-top: 4px;
  user-select: none;
  transition: color var(--trans);
  /* ラベルがバーに見えないようにリセット */
  height: auto !important;
  width: auto !important;
  background: none !important;
}
.header.scrolled .hamburger-label { color: #111111; }

/* ==========================================
   PROMO BANNER (Hero後・About前)
   ========================================== */
.promo-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 17vh;
  cursor: default;
}

.promo-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 写真背景（動画の代替）*/
.promo-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.promo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.25);
}

/* コンセプトテキスト */
.promo-concept {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
  margin: 0 auto;
}
.promo-catch {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.9;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.6s var(--ease), transform 1.6s var(--ease);
}
.promo-divider-line {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  margin: 0 auto 28px;
  opacity: 0;
  transition: opacity 1.4s var(--ease) 0.35s;
}
.promo-body {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: clamp(0.82rem, 1.5vw, 0.96rem);
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 2.3;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.6s var(--ease) 0.8s, transform 1.6s var(--ease) 0.8s;
}
.promo-banner.promo-visible .promo-catch {
  opacity: 1;
  transform: translateY(0);
}
.promo-banner.promo-visible .promo-divider-line {
  opacity: 1;
}
.promo-banner.promo-visible .promo-body {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   06 料金概要 — インフォグラフィック
   ========================================== */
.plan-infographic {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-top: 64px;
  position: relative;
}

.plan-info-card {
  flex: 1;
  background: var(--charcoal);
  border: 1px solid var(--gray-light);
  padding: 36px 32px 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: relative;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.plan-info-card:hover {
  background: #e8e5e0;
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  z-index: 1;
}

/* 横並び行 */
.plan-info-main-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-bottom: 16px;
}

.plan-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: rgba(0,0,0,0.3);
  transition: color var(--trans);
}
.plan-info-card:hover .plan-info-icon { color: var(--warm); }
.plan-info-icon svg { width: 100%; height: 100%; }

.plan-info-tag {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0;
}

.plan-info-value {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0;
  margin-left: auto;
}
.plan-info-value .unit {
  font-size: 0.55em;
  opacity: 0.65;
}

.plan-info-sub {
  font-size: 0.76rem;
  color: var(--gray);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.plan-info-bar {
  width: 100%;
  height: 3px;
  background: var(--gray-light);
  border-radius: 2px;
  margin: 16px 0;
  position: relative;
  overflow: hidden;
}
.plan-info-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--warm);
  transition: width 1.2s var(--ease);
  border-radius: 2px;
}
.plan-info-card.visible .plan-info-bar::after { width: 100%; }

.plan-info-desc {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.55);
  line-height: 1.65;
  margin-top: 4px;
}

.plan-info-connector {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  flex-shrink: 0;
  color: var(--gray);
  font-size: 1.2rem;
}

/* ==========================================
   RESPONSIVE — 全サイズ共通でスマホスタイルを採用
   (主要スタイルはベースに統合済み)
   ========================================== */

/* scenes セクションの下余白は常に 0 */
.section.scenes { padding-bottom: 0 !important; margin-bottom: 0; }

/* ==========================================
   RESPONSIVE — PC (769px以上) 補正
   ========================================== */
@media (min-width: 769px) {

  /* 料金インフォグラフィック: PC横並び */
  .plan-infographic { flex-direction: row; align-items: stretch; }
  .plan-info-connector { display: flex; }

  /* 利用シーン: 3列・正方形 */
  .scenes-grid { grid-template-columns: repeat(3, 1fr); }
  .scene-card img { height: auto; aspect-ratio: 1 / 1; }
  /* ジグザグ解除 (3列ではすべて同方向) */
  .scene-card:nth-child(2) .scene-num { right: 24px; left: auto; }
  .scene-card:nth-child(2) .scene-overlay { align-items: flex-start; }
  .scene-card:nth-child(2) .scene-title,
  .scene-card:nth-child(2) .scene-desc { text-align: left; }

  /* ギャラリー: px固定でカード名を表示 */
  .gallery-stage { height: 500px; }
  .gallery-card { width: 260px; margin-left: -130px; margin-top: -155px; }
  .gallery-card-img { height: 300px; }
  .gallery-card.prev-1 { transform: translateX(-180px) rotate(-13deg) scale(0.88); opacity: 0.85; }
  .gallery-card.next-1 { transform: translateX(180px) rotate(13deg) scale(0.88); opacity: 0.85; }
  .gallery-card.prev-2 { transform: translateX(-310px) rotate(-22deg) scale(0.74); opacity: 0.45; pointer-events: auto; }
  .gallery-card.next-2 { transform: translateX(310px) rotate(22deg) scale(0.74); opacity: 0.45; pointer-events: auto; }
  .gallery-card.far-left { transform: translateX(-460px) rotate(-30deg) scale(0.60); }
  .gallery-card.far-right { transform: translateX(460px) rotate(30deg) scale(0.60); }
}
