/* 
  隴丞叙・ｲ・ｻ陞ｳ閾･莨宣墓ｺｷ螟夂ｹ晏ｸ吶・郢晢ｽｫ隴・ｽｰ陞ｳ・ｿ - StyleSheet
  Extreme Clean White Theme (Premium & Bright)
*/

:root {
  /* Color Palette — 落ち着いた茶系ベース */
  --primary-color: #2d2621;
  --primary-light: #5c5047;
  --accent-color: #00A08E; /* User requested Teal/Emerald Green */
  --accent-hover: #007D6F;
  --accent-light: #e0f5f3;
  
  --bg-color: #ffffff; /* Pure White */
  --bg-gray: #f8f6f4; /* Subtle warm gray for sections */
  --bg-dark: #221d19; /* Deep brown (footer base tone) */
  /* セクション帯・フッター：落ち着いた茶系＋薄いグラデーション */
  --band-gradient: linear-gradient(
    155deg,
    #2d2621 0%,
    #3a322c 24%,
    #4a3f37 48%,
    #5a5047 68%,
    #322b26 100%
  );
  --band-shadow: rgba(36, 30, 26, 0.34);
  --band-accent-soft: #d4c9be;
  --footer-gradient: linear-gradient(
    180deg,
    #38302a 0%,
    #2d2621 38%,
    #252019 72%,
    #1c1815 100%
  );
  --contact-gradient: linear-gradient(
    160deg,
    #221c18 0%,
    #2d2621 26%,
    #3d352f 48%,
    #4a3f37 68%,
    #5a5047 82%,
    #2a231e 100%
  );
  
  --text-main: #3f3a36;
  --text-muted: #6e6862;
  --text-light: #ffffff;
  
  /* Typography */
  --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
  --font-serif: 'Cinzel', 'Noto Serif JP', serif;
  
  /* Spacing & Layout */
  --max-width: 1200px;
  --header-height: 80px;
  /* フローティングヘッダー（top 24px + 高さ 76px）の下にFV本文が入る余白 */
  --hero-header-safe: calc(24px + 76px + 20px);
  --section-padding-y: 120px;
  
  /* Shared values */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-lg: 16px;
  --border-radius-md: 8px;
  
  /* Delicate Shadows */
  --shadow-sm: 0 4px 12px rgba(45, 38, 33, 0.04);
  --shadow-md: 0 10px 30px rgba(45, 38, 33, 0.06);
  --shadow-float: 0 20px 40px rgba(11, 142, 98, 0.1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #fafaf7;
  overflow-x: hidden;
}

/* 固定ヘッダー分のアンカーずらし（#pricing 等） */
main section[id],
.hero#home {
  scroll-margin-top: calc(24px + 76px + 12px);
}

/* Aurora Canvas BG用スタイル */
#aurora-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

body {
  font-family: var(--font-sans);
  position: relative;
  /* 縦スリットCanvasが背景を担う */
  background-color: transparent;
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: visible;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



/* =============================================
 * コンテンツセクション — ストライプ背景の上で
 * コンテンツを自然に読ませるための軽いグラスレイヤー
 * ============================================= */
.news,
.outline,
.pricing,
.flow,
.usecases,
.faq {
  position: relative;
  z-index: 1;
}

/* セクション帯（ダーク帯タイトル）—ストライプ背景になじませる */
.section-intro-band {
  position: relative;
  z-index: 1;
}

body > main,
body > .footer {
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 500;
  color: var(--primary-color);
  letter-spacing: 0.03em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.text-accent {
  color: var(--accent-color);
}

.text-center { text-align: center; }
.mt-xl { margin-top: 5rem; }

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 900px;
}

.section-padding {
  padding: 80px 0; /* Reduced padding for seamless look */
  position: relative;
}

.bg-gray {
  /* 郢ｧ・ｻ郢ｧ・ｯ郢ｧ・ｷ郢晢ｽｧ郢晢ｽｳ鬮｢阮吶鍛ody郢ｧ・ｰ郢晢ｽｩ郢昴・繝ｻ郢ｧ・ｷ郢晢ｽｧ郢晢ｽｳ郢ｧ蟶昴・隴・ｽｭ邵ｺ蜉ｱ竊醍ｸｺ繝ｻ・育ｸｺ繝ｻﾂ荵励・邵ｺ・ｫ驍ｨ・ｱ闕ｳﾂ */
  background-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 40px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  letter-spacing: 0.05em;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(11, 142, 98, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 142, 98, 0.3);
}

/* 施設概要：平面図PDFボタン */
.floorplan-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.floorplan-btn {
  gap: 10px;
  padding: 14px 34px;
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid rgba(45, 38, 33, 0.25);
  font-weight: 600;
}

.floorplan-btn:hover {
  color: var(--text-light);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(45, 38, 33, 0.18);
}

.floorplan-btn .floorplan-icon {
  flex-shrink: 0;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid rgba(45, 38, 33, 0.2);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.05rem;
}

.cta-btn .arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.cta-btn:hover .arrow {
  transform: translateX(5px);
}

/* Header - Premium Floating Glass Pill */
.header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1400px;
  height: 76px;
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 100px;
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 30px rgba(45, 38, 33, 0.08);
}

.header.scrolled {
  top: 12px;
  width: calc(100% - 24px);
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 40px rgba(45, 38, 33, 0.12);
}

.header.hide-up {
  transform: translate(-50%, -150%);
}

.header-inner {
  height: 100%;
  padding: 0 24px; /* Slightly reduced for extra breathing room */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.logo-main {
  font-family:
    'Hiragino Kaku Gothic ProN',
    'Hiragino Sans',
    'Hiragino Kaku Gothic Pro',
    'メイリオ',
    Meiryo,
    sans-serif;
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--accent-color);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 8px; /* Tighter gap to cleanly accommodate 6 items */
  flex-wrap: nowrap;
  margin-left: auto; /* ロゴ左・ナビ＋CTAを右寄せ */
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.05em;
  padding: 8px 12px; /* Tighter symmetrical padding */
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  white-space: nowrap; /* Critically enforces 1 line */
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background: var(--primary-color); /* Elegant dark pill hover */
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 30px;
}

.nav-links a:hover {
  color: white;
}

.nav-links a:hover::before {
  transform: scaleY(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ヘッダーお問い合わせCTA — エメラルド背景上を白い光が横に抜ける */
.header-actions .btn-primary.cta-btn.header-cta-kiran {
  position: relative;
  overflow: hidden;
  animation: header-cta-badge-kiran 8.5s ease-in-out infinite;
}

.header-actions .btn-primary.cta-btn.header-cta-kiran .cta-btn-label,
.header-actions .btn-primary.cta-btn.header-cta-kiran .arrow {
  position: relative;
  z-index: 3;
}

.header-actions .btn-primary.cta-btn.header-cta-kiran::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -25%;
  left: -45%;
  width: 58%;
  height: 150%;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 28%,
    rgba(255, 255, 255, 0.12) 42%,
    rgba(255, 255, 255, 0.38) 48%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(255, 255, 255, 0.4) 52%,
    rgba(255, 255, 255, 0.14) 60%,
    rgba(255, 255, 255, 0) 72%,
    transparent 100%
  );
  transform: skewX(-16deg) translateX(-120%);
  opacity: 0;
  animation: header-cta-sheen-kiran 8.5s ease-in-out infinite;
}

@keyframes header-cta-badge-kiran {
  0%,
  84%,
  100% {
    box-shadow: 0 4px 15px rgba(11, 142, 98, 0.2);
  }
  86% {
    box-shadow:
      0 4px 18px rgba(11, 142, 98, 0.28),
      0 0 22px rgba(255, 255, 255, 0.28),
      0 0 10px rgba(255, 255, 255, 0.18);
  }
  89% {
    box-shadow: 0 4px 15px rgba(11, 142, 98, 0.2);
  }
}

@keyframes header-cta-sheen-kiran {
  0%,
  83%,
  100% {
    opacity: 0;
    transform: skewX(-16deg) translateX(-120%);
  }
  85% {
    opacity: 0.68;
    transform: skewX(-16deg) translateX(-15%);
  }
  88% {
    opacity: 0.45;
    transform: skewX(-16deg) translateX(145%);
  }
  90% {
    opacity: 0;
    transform: skewX(-16deg) translateX(200%);
  }
}

@media (max-width: 1280px) {
  .header-actions {
    display: none;
  }
}

/* ナビ8項目対応：ヘッダー幅に収まらなくなる中間幅で余白と文字を詰める
   （769px 未満はハンバーガーメニューに切り替わるため対象外）
   ※ index.html のナビ項目を減らした場合は、この2ブロックの要否を再確認すること */
@media (min-width: 769px) and (max-width: 1100px) {
  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    padding: 8px 7px;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .nav-links {
    gap: 0;
  }

  .nav-links a {
    font-size: 0.78rem;
    letter-spacing: 0;
    padding: 8px 5px;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  position: absolute;
  height: 1.5px;
  width: 100%;
  background: var(--primary-color);
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-toggle span:nth-child(1) { top: 0px; }
.mobile-menu-toggle span:nth-child(2) { top: 9px; }
.mobile-menu-toggle span:nth-child(3) { top: 18px; }

/* Hero Section with Swiper */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: transparent; /* Changed to let it blend perfectly */
  padding-top: var(--hero-header-safe);
  padding-bottom: clamp(100px, 14vh, 128px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: -5vh; /* Pull concept section up gently */
  z-index: 2; /* keep above concept */
  box-sizing: border-box;
}

/* Remove the solid white before block to allow total blending */
.hero::before {
  content: none;
}

.hero-swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* Beautiful sweeping sharp ellipse curve mask */
  clip-path: ellipse(75% 100% at 50% 0%);
}

.swiper-slide {
  height: 100%;
  position: relative;
}

.slide-bg {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  /* Add scale animation via CSS when swiper active class is added */
  transform: scale(1.05);
  transition: transform 6s linear;
}

.slide-bg::after {
  content: none;
}

.swiper-slide-active .slide-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* slide-bg 側の青系グラデと重ねすぎないよう、下方向だけ軽く明るくする程度に留める */
  background: linear-gradient(180deg, transparent 0%, transparent 55%, rgba(255, 255, 255, 0.14) 100%);
  pointer-events: none;
  z-index: 1; /* Above slider, below content */
  /* Replicate seamless mask on overlay */
  clip-path: ellipse(75% 100% at 50% 0%);
}

/* Custom Pagination styles to dot */
.swiper-pagination {
  bottom: clamp(22px, 4vh, 40px) !important;
  z-index: 10 !important;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(45, 38, 33, 0.3) !important;
  opacity: 1 !important;
  margin: 0 6px !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--accent-color) !important;
  width: 24px;
  border-radius: 5px;
}

/* Floating Promo Badge (Premium Brand Edition) */
.hero-promo-badge {
  position: absolute;
  top: clamp(60px, 10vh, 120px);
  right: 0;
  z-index: 30;
  width: min(340px, 100%);
  animation: promo-badge-float 6s ease-in-out infinite;
  perspective: 1500px;
  /* a要素化（仮予約フォームへのリンク）に伴うリセット */
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.promo-badge-content {
  background: linear-gradient(145deg, rgba(62, 49, 41, 0.45) 0%, rgba(32, 26, 22, 0.55) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 40px;
  padding: 45px 35px;
  box-shadow: 
    0 40px 100px -20px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  color: #fff;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative;
}

.hero-promo-badge:hover .promo-badge-content {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(196, 164, 132, 0.5);
  box-shadow: 0 50px 110px -20px rgba(0, 0, 0, 0.8);
}

.promo-badge-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(196, 164, 132, 0.15),
    transparent
  );
  transform: skewX(-25deg);
  animation: promo-shimmer 6s infinite linear;
}

.promo-tag {
  display: inline-block;
  background: #C4A484; /* Bronze / Gold Tone */
  color: #26201C;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 8px 20px;
  border-radius: 50px;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.promo-main-text {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 18px;
  letter-spacing: 0.1em;
  font-family: var(--font-serif);
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.promo-sub-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.promo-link-hint {
  display: inline-block;
  margin: 18px 0 0;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #26201C;
  background: #C4A484;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease, transform 0.3s ease;
}

.promo-link-hint .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.hero-promo-badge:hover .promo-link-hint {
  background: #d4b494;
}

.hero-promo-badge:hover .promo-link-hint .arrow {
  transform: translateX(4px);
}

@keyframes promo-badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
}

@keyframes promo-shimmer {
  0% { left: -150%; }
  100% { left: 150%; }
}

@media (max-width: 991px) {
  .hero-promo-badge {
    position: relative;
    top: 0;
    right: 0;
    margin: 10px auto 40px;
    width: 100%;
    max-width: 360px;
    animation: none;
  }
  
  .promo-badge-content {
    padding: 40px 30px;
  }
  
  .promo-main-text {
    font-size: 1.7rem;
  }
}

.hero-content {
  position: relative;
  z-index: 25;
  isolation: isolate;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(12px, 2.2vh, 28px) clamp(20px, 5vw, 52px) 0;
  flex: 0 1 auto;
  align-self: stretch;
}

.hero-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2.6vh, 26px);
  width: 100%;
  max-width: min(50rem, 100%);
}

.hero-sub-wrapper {
  margin-bottom: 0;
}

  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 0.14em;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.72) inset;
  border: 1px solid rgba(255, 255, 255, 0.65);
  animation: hero-sub-badge-kiran 8.5s ease-in-out infinite;
}

.hero-sub::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -20%;
  left: -40%;
  width: 55%;
  height: 140%;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(0, 160, 142, 0) 30%,
    rgba(0, 175, 158, 0.28) 44%,
    rgba(0, 200, 180, 0.52) 49%,
    rgba(160, 245, 232, 0.45) 50%,
    rgba(0, 190, 172, 0.48) 51%,
    rgba(0, 165, 150, 0.22) 58%,
    rgba(0, 160, 142, 0) 70%,
    transparent 100%
  );
  transform: skewX(-16deg) translateX(-120%);
  opacity: 0;
  animation: hero-sub-sheen-kiran 8.5s ease-in-out infinite;
}

.hero-sub-date {
  position: relative;
  z-index: 1;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.hero-sub-highlight {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-color);
}

@keyframes hero-sub-badge-kiran {
  0%,
  84%,
  100% {
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.72) inset;
    border-color: rgba(255, 255, 255, 0.65);
  }
  86% {
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.12),
      0 0 28px rgba(0, 160, 142, 0.32),
      0 0 12px rgba(0, 210, 190, 0.22),
      0 0 0 1px rgba(255, 255, 255, 0.72) inset;
    border-color: rgba(0, 160, 142, 0.45);
  }
  89% {
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.72) inset;
    border-color: rgba(255, 255, 255, 0.65);
  }
}

@keyframes hero-sub-sheen-kiran {
  0%,
  83%,
  100% {
    opacity: 0;
    transform: skewX(-16deg) translateX(-120%);
  }
  85% {
    opacity: 0.72;
    transform: skewX(-16deg) translateX(-20%);
  }
  88% {
    opacity: 0.48;
    transform: skewX(-16deg) translateX(140%);
  }
  90% {
    opacity: 0;
    transform: skewX(-16deg) translateX(200%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sub {
    animation: none;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.72) inset;
  }

  .hero-sub::after {
    display: none;
  }

  .header-actions .btn-primary.cta-btn.header-cta-kiran {
    animation: none;
    box-shadow: 0 4px 15px rgba(11, 142, 98, 0.2);
  }

  .header-actions .btn-primary.cta-btn.header-cta-kiran::after {
    display: none;
  }
}

.hero-title {
  font-size: clamp(1.5rem, 3.2vw, 2.0rem);
  line-height: 1.5;
  margin: 0;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.025em;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.9),
    0 1px 3px rgba(0, 0, 0, 0.65),
    0 6px 32px rgba(45, 38, 33, 0.55);
}

.hero-title .block {
  display: block;
}

.hero-title-brand {
  position: relative;
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  font-feature-settings: "palt" 1;
  line-height: 1.3;
  letter-spacing: 0.045em;
  margin-top: clamp(0.28em, 1.4vh, 0.4em);
  margin-bottom: 0;
  padding-bottom: 0.42em;
  text-rendering: optimizeLegibility;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.hero-title-brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(4.75rem, 38%);
  height: 2px;
  border-radius: 999px;
  background: var(--accent-color);
  pointer-events: none;
}

.hero-title-line {
  font-weight: 400;
  letter-spacing: 0.04em;
  max-width: 100%;
}

.hero-title-line-lead {
  max-width: min(22em, 100%);
  line-height: 1.48;
  font-family: 'Noto Sans JP', var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.032em;
  font-size: 1.06em;
}

.hero-title-bang {
  display: inline-block;
  font-size: 1.12em;
  letter-spacing: 0.14em;
  margin-left: 0.04em;
}

.hero-title .text-accent {
  font-weight: 700;
  font-size: 1.08em;
  color: #d2faf3;
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(0, 160, 142, 0.55),
    0 2px 5px rgba(0, 0, 0, 0.55);
}

/* FV グランドオープン カウントダウン */
.hero-countdown {
  position: relative;
  margin: clamp(2px, 0.6vh, 8px) 0 0;
  width: 100%;
  max-width: min(36rem, 100%);
  isolation: isolate;
}

.hero-countdown-glow {
  position: absolute;
  inset: -20% -10% -14% -10%;
  background:
    radial-gradient(ellipse 75% 55% at 45% 0%, rgba(0, 160, 142, 0.24), transparent 62%),
    radial-gradient(ellipse 45% 40% at 90% 95%, rgba(45, 38, 33, 0.1), transparent 58%);
  filter: blur(26px);
  z-index: 0;
  pointer-events: none;
}

.hero-countdown-frame {
  position: relative;
  z-index: 1;
  padding: 14px 16px 12px;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-countdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-countdown-eyebrow {
  font-family: var(--font-serif);
  font-size: 0.58rem;
  letter-spacing: 0.45em;
  color: #7ee8d8;
  font-weight: 600;
  flex-shrink: 0;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.45);
}

.hero-countdown-header-line {
  flex: 1;
  min-width: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 160, 142, 0.45), transparent);
}

.hero-countdown-digits {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 6px 4px;
}

.hero-countdown-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1 1 18%;
  min-width: 64px;
  max-width: 102px;
  padding: 9px 4px 7px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  position: relative;
}

.hero-countdown-cell::after {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 160, 142, 0.6), transparent);
  opacity: 0.8;
}

.hero-countdown-num {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
  font-weight: 600;
  line-height: 1;
  color: var(--primary-color);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.22s ease;
}

.hero-countdown-num.is-tick {
  transform: scale(1.05);
  color: var(--accent-color);
}

.hero-countdown-label {
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(45, 38, 33, 0.58);
  letter-spacing: 0.18em;
}

.hero-countdown-label-en {
  font-size: 0.46rem;
  letter-spacing: 0.22em;
  color: rgba(45, 38, 33, 0.42);
  text-transform: uppercase;
}

.hero-countdown-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0.88;
  width: 10px;
  flex-shrink: 0;
  align-self: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  animation: hero-cd-sep-pulse 4.5s ease-in-out infinite;
}

.hero-countdown-sep::after {
  content: ":";
  line-height: 1;
}

@keyframes hero-cd-sep-pulse {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

.hero-countdown-foot {
  margin-top: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.96);
  text-align: center;
  line-height: 1.45;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.55),
    0 1px 4px rgba(0, 0, 0, 0.45),
    0 4px 20px rgba(45, 38, 33, 0.4);
}

.hero-countdown-complete {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-align: center;
  color: var(--accent-color);
  font-weight: 600;
}

.hero-countdown.is-complete .hero-countdown-digits,
.hero-countdown.is-complete .hero-countdown-foot {
  display: none;
}

.hero-countdown.is-complete .hero-countdown-complete {
  display: block !important;
  margin-top: 0;
}

.hero-countdown.is-complete .hero-countdown-header {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

@media (max-width: 520px) {
  .hero-countdown-sep {
    display: none;
  }

  .hero-countdown-cell {
    flex: 1 1 calc(50% - 6px);
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-countdown-sep {
    animation: none;
    opacity: 0.88;
  }

  .hero-countdown-num {
    transition: none;
  }

  .hero-cta-wrapper {
    opacity: 1;
    transform: none;
  }
}

.hero-cta-wrapper {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  max-width: min(36rem, 100%);
  opacity: 0;
  transform: translateY(28px);
  margin-top: clamp(10px, 1.8vh, 22px);
}

.hero-content .btn-large {
  padding: clamp(14px, 1.9vw, 18px) clamp(26px, 4.2vw, 44px);
  font-size: clamp(0.9rem, 1.25vw, 1.06rem);
  font-weight: 600;
  letter-spacing: 0.055em;
  min-height: 50px;
  border-radius: 999px;
}

.glow-effect {
  box-shadow: 0 0 20px rgba(0, 160, 142, 0.4), inset 0 0 0 1px rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.glow-effect::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.scroll-wrapper {
  position: absolute;
  bottom: clamp(56px, 9vh, 92px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  height: 88px;
  width: 50px;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.scroll-indicator span {
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(248, 250, 252, 0.92);
  font-family: var(--font-serif);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.42);
  position: relative;
  overflow: hidden;
}

.scroll-line::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--primary-color);
  animation: scrollDown 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* Sections Global */
.section-badge {
  font-family: var(--font-serif);
  color: var(--accent-color);
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-badge::before {
  content: '';
  width: 30px;
  height: 1px;
  background-color: var(--accent-color);
}

.section-badge.center {
  justify-content: center;
}

.section-badge.center::before, .section-badge.center::after {
  content: '';
  width: 30px;
  height: 1px;
  background-color: var(--accent-color);
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 400;
}

.section-title .text-accent {
  font-weight: 600;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 60px;
}

.news {
  position: relative;
  z-index: 1;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: left;
}

.news-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.news-item:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.news-link {
  display: flex;
  align-items: center;
  padding: 24px 16px;
  text-decoration: none;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.news-item:hover .news-link {
  transform: translateX(8px);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 200px;
  flex-shrink: 0;
}

.news-date {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.news-category {
  font-size: 0.85rem;
  padding: 4px 12px;
  background-color: var(--accent-color);
  color: #fff;
  border-radius: 40px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.news-title {
  flex-grow: 1;
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
}

.news-arrow {
  color: var(--accent-color);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.news-item:hover .news-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .news-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 12px;
  }
  
  .news-meta {
    min-width: auto;
  }
  
  .news-arrow {
    display: none;
  }
}

/* Features Section */
/* Features Section - Dynamic Diagonal 1 Column */
.features {
  padding: 0; /* Override section padding for full bleed */
  background: transparent;
  position: relative;
  z-index: 1;
}

/* ADVANTAGE 帯と特長ブロックの間の隙間をなくす */
.features .section-intro-band {
  margin-bottom: 0;
  padding-bottom: 28px;
}

.features .adv-feature-scroll-container {
  margin-top: 0;
}

/* 各セクション見出し帯：茶系ベースのさりげないグラデーション・左上角丸 */
.section-intro-band {
  width: 100%;
  margin: 0 0 40px;
  padding: 72px 0 60px;
  border-top-left-radius: 96px;
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.06) inset,
    0 16px 40px var(--band-shadow);
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: var(--band-gradient);
}

.section-intro-band .section-header {
  margin: 0;
}

.section-intro-band .section-title {
  color: #ffffff;
}

.section-intro-band .section-title .text-accent {
  color: var(--band-accent-soft);
}

.section-intro-band .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.section-intro-band .section-badge {
  color: var(--band-accent-soft);
}

.section-intro-band .section-badge::before,
.section-intro-band .section-badge.center::before,
.section-intro-band .section-badge.center::after {
  background-color: var(--band-accent-soft);
}

/* ========================================================= */
/* ADVANCED FEATURE CARDS（縦並び・静的表示）
/* ========================================================= */

.adv-feature-scroll-container {
  width: 100%;
  max-width: 100%;
  overflow: visible;
  position: relative;
  background-color: #2d2621;
  padding: clamp(40px, 8vw, 72px) 0 56px;
}

.adv-feature-list {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}

.adv-feature-card {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.adv-feature-image-wrapper {
  position: relative;
  width: 100%;
  height: min(52vw, 420px);
  min-height: 220px;
  z-index: 0;
  overflow: hidden;
}

.adv-feature-image-wrapper::after {
  content: none;
}

.adv-feature-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
}

.adv-feature-number-bg {
  position: absolute;
  bottom: -8%;
  right: -2%;
  font-size: clamp(4rem, 18vw, 10rem);
  font-family: var(--font-serif);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.12);
  line-height: 0.8;
  z-index: 1;
  pointer-events: none;
}

.adv-feature-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 32px) clamp(32px, 5vw, 44px);
  color: white;
}

.adv-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.adv-feature-tags .tag {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(45, 38, 33, 0.14);
  color: #2d2621;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.adv-feature-title {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.3;
  font-weight: 700;
  color: white;
  margin-bottom: 30px;
  text-wrap: balance;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.adv-feature-text-wrap {
  max-width: 600px;
}

.adv-feature-text {
  display: inline;
  margin: 0;
  padding: 0.05em 0.16em;
  font-size: 1.28rem;
  line-height: 1.85;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.97);
  border-radius: 3px;
  background: rgba(45, 38, 33, 0.025);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Mobile adjustments */
@media (max-width: 992px) {
  .adv-feature-image-wrapper {
    height: min(62vw, 320px);
    min-height: 200px;
  }

  .adv-feature-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .adv-feature-number-bg {
    font-size: clamp(3.5rem, 42vw, 8rem);
    bottom: -5%;
  }
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.tag {
  background: rgba(0, 160, 142, 0.85); /* New accent color base */
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  backdrop-filter: blur(5px);
}

.feature-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 24px;
  color: white;
  line-height: 1.4;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.feature-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Premium CTA Upscale */
.cta-upscale-wrapper {
  padding: 56px 0 48px;
  background: transparent;
}

/* 特長ブロック直後のCTAは詰めて、次セクションとの空きを減らす */
.adv-feature-scroll-container + .cta-upscale-wrapper {
  padding-top: 32px;
  padding-bottom: 40px;
}

.features + #outline {
  margin-top: 0;
}

.cta-upscale {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 480px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 40px 80px rgba(0,0,0,0.1);
  padding: 60px 40px;
  width: 90%;
}

.cta-upscale-bg {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.65) saturate(1.1);
  z-index: 0;
}

.cta-upscale-content {
  position: relative;
  z-index: 1;
  text-align: center;
  background: rgba(10, 25, 48, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 60px 80px;
  border-radius: 30px;
}

.cta-subtitle {
  display: inline-block;
  color: var(--accent-light);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  margin-bottom: 20px;
  font-family: var(--font-serif);
}

.cta-title {
  color: white;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
}

.cta-action-group {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-upscale {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-upscale .cta-icon {
  width: 24px;
  height: 24px;
}

.btn-upscale.primary {
  background: var(--accent-color);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 160, 142, 0.4);
}

.btn-upscale.primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 160, 142, 0.6);
  background: #00bfa5;
}

.btn-upscale.outline {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-upscale.outline:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Modern Outline Block */
.outline-modern {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 50px;
}

.outline-row {
  display: flex;
  align-items: stretch;
  gap: 60px;
}

.outline-row.reverse {
  flex-direction: row-reverse;
}

.outline-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.outline-image-frame {
  position: relative;
  isolation: isolate;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 300px;
}

.outline-image::before,
.outline-image::after {
  content: none;
}

.outline-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: none;
  mix-blend-mode: normal;
}

.outline-image-frame:hover img {
  transform: scale(1.05);
}

.outline-image-note {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: right;
}

.outline-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.outline-details .modern-title {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35em;
}

.outline-details .modern-title .en {
  margin-left: 0;
}

.modern-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  border-bottom: 2px solid var(--accent-light);
  padding-bottom: 15px;
}

.modern-title .en {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--accent-color);
  margin-left: 10px;
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
}

.modern-table th, .modern-table td {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-align: left;
}

.outline-details .modern-table th,
.outline-details .modern-table td {
  text-align: center;
}

.modern-table th {
  width: 30%;
  font-weight: 600;
  color: var(--primary-color);
}

.modern-table tr:last-child th,
.modern-table tr:last-child td {
  border-bottom: none;
}

/* Split Layout Configurations */
.split-modern {
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  padding: 60px;
  border: 1px solid rgba(0,0,0,0.05);
}

.layout-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.layout-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  border: 1px solid rgba(255,255,255,0.5);
}

.layout-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.layout-img {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.layout-img-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.layout-img-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.layout-card:hover .layout-img-photo img {
  transform: scale(1.05);
}

.layout-img-note {
  margin: 0;
  padding: 0 4px;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--text-muted);
  text-align: right;
}

.layout-caption {
  padding: 24px;
  text-align: center;
}

.layout-caption h4 {
  color: var(--primary-color);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.layout-caption p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .layout-gallery {
    grid-template-columns: 1fr;
  }
}

/* Pricing Section */
/* =============================================
 * テーブル横スクロールヒント
 * CSS scroll-shadow + スワイプアイコン（スマホトレンド対応）
 * ============================================= */
.scroll-hint-wrapper {
  position: relative;
}

/* スクロール可能な右端を示すフェードオーバーレイ（スマホのみ） */
@media (max-width: 768px) {
  .scroll-hint-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 56px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.92));
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
  }

  /* スワイプインジケーターラベル */
  .scroll-hint-wrapper::before {
    content: "← スワイプ →";
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    white-space: nowrap;
    z-index: 3;
    pointer-events: none;
  }

  /* ラベル表示のためにwrapper下に余白追加 */
  .scroll-hint-wrapper {
    margin-bottom: 32px !important;
  }

  /* スクロール済みになったらフェードを消す（JSで .is-scrolled 付与） */
  .scroll-hint-wrapper.is-scrolled::after {
    opacity: 0;
  }
}

.pricing-table-wrapper {
  overflow-x: auto;
  margin-top: 50px;
  box-shadow: var(--shadow-sm);
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* スムーズなモバイルスクロール */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: none;
}

.pricing-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}

.pricing-table.pricing-table--basic {
  min-width: 920px;
  /* 料金3列（本番日・準備撤去日・時間外延長）を等幅にする */
  table-layout: fixed;
}

.pricing-table--basic .col-hall-name {
  width: 20%;
}

.pricing-table--basic .col-hall-area {
  width: 14%;
}

.pricing-table--basic .col-price {
  width: 22%;
}

.pricing-gold-heading,
.pricing-section-heading {
  font-family: var(--font-sans);
  font-size: clamp(1.12rem, 1.45vw, 1.32rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #a67c52;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(166, 124, 82, 0.55);
  text-align: left;
}

.pricing-section-heading {
  margin-top: 36px;
  width: 100%;
  box-sizing: border-box;
}

.pricing-table thead th small.pricing-th-time-range {
  display: block;
  margin-top: 4px;
  line-height: 1.35;
}

.pricing-footnotes {
  margin: 20px 0 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--text-muted);
  text-align: left;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-footnotes li + li {
  margin-top: 6px;
}


.pricing-cancel-block {
  margin-top: 56px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-cancel-table-wrap {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(45, 38, 33, 0.08);
  background: #fff;
}

.pricing-cancel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.65;
}

.pricing-cancel-table tbody tr + tr {
  border-top: 1px solid rgba(45, 38, 33, 0.06);
}

.pricing-cancel-table th {
  width: 38%;
  text-align: center;
  vertical-align: middle;
  padding: 18px 14px;
  font-weight: 600;
  color: var(--primary-color);
  background: rgba(45, 38, 33, 0.045);
  border-right: 1px dashed rgba(45, 38, 33, 0.14);
}

.pricing-cancel-table td {
  text-align: left;
  vertical-align: middle;
  padding: 18px 20px;
  color: var(--text-main);
  background: #fff;
}

.pricing-cancel-note {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1.65;
}

.pricing-ancillary-block {
  margin-top: 52px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-ancillary-inner {
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(45, 38, 33, 0.08);
  background: rgba(255, 255, 255, 0.95);
  padding: 28px 22px;
  text-align: center;
}

.pricing-ancillary-placeholder {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.pricing-table th, .pricing-table td {
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
  vertical-align: middle;
}

.pricing-table thead th {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.pricing-table thead th small {
  display: block;
  font-size: 0.8em;
  font-weight: normal;
  opacity: 0.8;
  margin-top: 4px;
}

.pricing-table .empty-th {
  background: rgba(255,255,255,0.5);
  border-top-color: transparent;
  border-left-color: transparent;
}

.pricing-table .vertical-label {
  background: rgba(45, 38, 33, 0.04);
  color: var(--primary-color);
  font-weight: 600;
  width: 80px;
}

.pricing-table .hall-name {
  background: rgba(0, 160, 142, 0.05);
  font-weight: 600;
  color: var(--primary-color);
}

.pricing-table .hall-area {
  color: var(--text-muted);
  font-size: 0.9em;
}

.pricing-table .price {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 500;
}

.pricing-table tbody tr:hover {
  background: rgba(0,0,0,0.02);
}

/* Flow Section (Reservation Timeline) */
.flow {
  position: relative;
  z-index: 1;
}

.timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 160, 142, 0) 0%, rgba(0, 160, 142, 0.4) 10%, rgba(0, 160, 142, 0.4) 90%, rgba(0, 160, 142, 0) 100%);
  transform: translateX(-50%);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-left: 50%;
  margin-bottom: 60px;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-left: 0;
  padding-right: 50%;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  background: var(--bg-color);
  border: 3px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  box-shadow: 0 0 20px rgba(0, 160, 142, 0.2);
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-marker {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 0 30px rgba(0, 160, 142, 0.5);
  transform: translate(-50%, -50%) scale(1.1);
}

.timeline-content {
  width: 88%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-light));
  opacity: 0;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

.timeline-item:hover .timeline-content::before {
  opacity: 1;
}

.timeline-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.8;
}

.timeline-desc p {
  margin-bottom: 0;
}

.timeline-desc p + p {
  margin-top: 12px;
}

.timeline-desc .timeline-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.timeline-desc .highlight {
  display: inline-block;
  background: rgba(0, 160, 142, 0.08);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 160, 142, 0.2);
}

.timeline-desc .timeline-cta-wrap {
  margin-top: 20px;
}

.timeline-desc .timeline-cta {
  text-decoration: none;
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  border-left: 2px solid var(--accent-light);
  padding-left: 16px;
}

.timeline-list li {
  margin-bottom: 8px;
}

.timeline-list li:last-child {
  margin-bottom: 0;
}

.timeline-list .badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-gray);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .timeline-wrapper {
    padding: 20px 0;
  }
  .timeline-line {
    left: 28px;
  }
  .timeline-item, .timeline-item:nth-child(odd) {
    padding-left: 80px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline-marker {
    left: 28px;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
  .timeline-content {
    width: 100%;
    padding: 24px;
  }
}

/* Use Cases Section */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin-top: 50px;
}

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

@media (min-width: 992px) {
  .usecase-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 280px;
  }
  
  .usecase-item:nth-child(1) { grid-column: span 7; }
  .usecase-item:nth-child(2) { grid-column: span 5; }
  .usecase-item:nth-child(3) { grid-column: span 5; }
  .usecase-item:nth-child(4) { grid-column: span 7; }
}

.usecase-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease;
  height: 100%;
  min-height: 250px;
}

.usecase-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-float);
}

.usecase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  filter: none;
}

.usecase-item:hover img {
  transform: scale(1.05);
}

.usecase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 30px 30px;
  background: none;
  color: white;
  pointer-events: none;
}

.usecase-overlay h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.92),
    0 2px 8px rgba(0, 0, 0, 0.65),
    0 0 24px rgba(0, 0, 0, 0.45);
}

.usecase-overlay p {
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
  opacity: 1;
  color: rgba(255, 255, 255, 0.98);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.92),
    0 2px 10px rgba(0, 0, 0, 0.62),
    0 0 18px rgba(0, 0, 0, 0.42);
}

/* Premium FAQ Section */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 60px;
  overflow: visible;
}

@media (min-width: 992px) {
  .faq-container {
    flex-direction: row;
    align-items: flex-start;
  }
}

.faq-sidebar {
  flex: 0 0 280px;
  align-self: flex-start;
  z-index: 6;
}

/* PC: ScrollTrigger で pin（main.js）。CSS sticky は併用しない */
@media (min-width: 992px) {
  .faq-sidebar {
    position: relative;
  }
}

@media (max-width: 991px) {
  .faq-sidebar {
    position: static;
    flex: none;
    width: 100%;
  }
}

.faq-sidebar-title {
  color: var(--accent-light);
  font-family: var(--font-serif);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.faq-categories {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-categories li {
  padding: 16px 24px;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
}

.faq-categories li:hover {
  background: rgba(0, 160, 142, 0.05);
  color: var(--primary-color);
  transform: translateX(5px);
}

.faq-categories li.active {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-sm);
  transform: translateX(5px);
  border-color: transparent;
}

.faq-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.6);
  overflow: hidden;
  transition: box-shadow 0.4s ease;
}

.faq-item:hover {
  box-shadow: 0 15px 30px rgba(0,0,0,0.08); /* Heavy depth on hover */
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-sans);
}

.faq-q-mark {
  font-family: var(--font-serif);
  color: var(--accent-color);
  font-size: 1.8rem;
  font-weight: 600;
  margin-right: 24px;
  flex-shrink: 0;
}

.faq-q-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-color);
  flex: 1;
  padding-right: 20px;
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-toggle-icon::before, .faq-toggle-icon::after {
  content: '';
  position: absolute;
  background: var(--primary-color);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-toggle-icon::before {
  top: 11px;
  left: 0;
  width: 24px;
  height: 2px;
}

.faq-toggle-icon::after {
  top: 0;
  left: 11px;
  width: 2px;
  height: 24px;
}

.faq-item.active .faq-toggle-icon::after {
  transform: rotate(90deg) scale(0);
}

/* Accordion Smooth Height using CSS Grid !! Pure Magic */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  display: flex;
  padding: 0 40px 0; /* Add bottom padding in transition natively */
}

.faq-item.active .faq-answer-inner {
  padding-bottom: 30px; /* Only apply padding when active for proper collapse */
}

.faq-a-mark {
  font-family: var(--font-serif);
  color: #e8e1da;
  font-size: 1.6rem;
  font-weight: 600;
  margin-right: 24px;
  flex-shrink: 0;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  padding-top: 3px;
  margin: 0;
}

/* Contact / EFO Form Section */
.contact {
  position: relative;
  z-index: 1;
  background: var(--contact-gradient);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.contact-layout {
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: flex-start;
}

.contact-left {
  flex: 0 0 350px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-right {
  flex: 1;
}

.contact-tel-box {
  background: transparent;
  border: 2px solid #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  color: #fff;
}

.contact-tel-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
}

.contact-tel-hours {
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.contact-tel-number {
  font-size: clamp(20px, 0.7rem + 1.4vw, 36px);
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.1;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-tel-number svg {
  width: 24px;
  height: 24px;
}

.contact-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-form-wrapper {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 64px 80px;
  max-width: 860px;
  max-height: min(78vh, 920px);
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.contact-form-wrapper::-webkit-scrollbar {
  width: 8px;
}

.contact-form-wrapper::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 0 12px 12px 0;
}

.contact-form-wrapper::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 4px;
}

.contact-form-wrapper::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* HubSpot フォーム：送信前の内容確認ステップ */
.hs-form.hs-flow--confirming .hs-form-field,
.hs-form.hs-flow--confirming .legal-consent-container,
.hs-form.hs-flow--confirming .hs_error_rollup,
.hs-form.hs-flow--confirming .actions {
  display: none !important;
}

.hs-form-confirm-panel {
  margin-top: 12px;
  padding: 28px 24px;
  border-radius: 12px;
  background: #f8faf9;
  border: 1px solid rgba(0, 160, 142, 0.22);
}

.hs-form-confirm-panel[hidden] {
  display: none !important;
}

.hs-form-confirm-lead {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 0 20px;
  line-height: 1.65;
  text-align: center;
}

.hs-form-confirm-dl {
  margin: 0 0 24px;
}

.hs-form-confirm-dl dt {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 14px;
  letter-spacing: 0.02em;
}

.hs-form-confirm-dl dt:first-child {
  margin-top: 0;
}

.hs-form-confirm-dl dd {
  margin: 6px 0 0;
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.hs-form-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.contact-form-wrapper .hs-form-confirm-actions .btn {
  min-width: 200px;
}

.efo-header {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
  position: relative;
}

.efo-header:has(.efo-flow-steps) {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.efo-header.efo-header-left {
  background: #faf8f6;
  border: 1px solid rgba(45, 38, 33, 0.1);
  border-radius: 14px;
  padding: 1.25rem 1.15rem 1.2rem;
  margin-bottom: 0;
  box-shadow: none;
}

.efo-flow-steps {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0;
  min-width: 0;
}

.efo-flow-steps .efo-step {
  flex-shrink: 0;
}

.efo-flow-horiz {
  flex: 1 1 0;
  min-width: 8px;
  height: 2px;
  background: #cfc7c0;
  border-radius: 1px;
  align-self: center;
}

.efo-flow-vert {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

.efo-flow-vert-line {
  display: block;
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, #cfc7c0 0%, rgba(207, 199, 192, 0.25) 100%);
  border-radius: 1px;
}

/* レール型ステッパー（左カラム・フォーム上 共通） */
.efo-header.efo-header--above-form {
  margin-bottom: 2.5rem;
  padding-bottom: 0.25rem;
}

.efo-header.efo-header--above-form .efo-flow-steps--rail {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.efo-flow-steps.efo-flow-steps--rail {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  --efo-dot: 34px;
  --efo-rail-x: 16px;
  gap: 0;
}

.efo-flow-steps.efo-flow-steps--rail::before {
  content: "";
  position: absolute;
  left: var(--efo-rail-x);
  top: calc(var(--efo-dot) * 0.5);
  bottom: calc(var(--efo-dot) * 0.5);
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: #d4c9be;
  pointer-events: none;
}

.efo-flow-steps--rail .efo-step {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.28rem 0;
  min-height: 2.65rem;
  list-style: none;
  z-index: 1;
  color: inherit;
}

.efo-flow-steps--rail .efo-step:first-child {
  padding-top: 0;
}

.efo-flow-steps--rail .efo-step:last-child {
  padding-bottom: 0;
}

.efo-step__num {
  flex-shrink: 0;
  width: var(--efo-dot);
  height: var(--efo-dot);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  border: 2px solid #e5ded8;
  background: #fff;
  color: #928b85;
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.efo-step__label {
  flex: 1;
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: #6b635c;
  transition: color 0.2s ease;
}

.efo-flow-steps--rail .efo-step.active .efo-step__num {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #fff;
  box-shadow: none;
}

.efo-flow-steps--rail .efo-step.active .efo-step__label {
  color: var(--primary-color);
  font-weight: 700;
}

@media (hover: hover) {
  .efo-flow-steps--rail .efo-step:not(.active):hover .efo-step__num {
    border-color: #cfc7c0;
    color: #6b635c;
    box-shadow: none;
  }

  .efo-flow-steps--rail .efo-step:not(.active):hover .efo-step__label {
    color: #5a534d;
  }
}

@media (prefers-reduced-motion: reduce) {
  .efo-step__num,
  .efo-step__label {
    transition: none;
  }
}

.efo-step {
  position: relative;
  z-index: 2;
  background: transparent;
  font-size: 16px;
  font-weight: bold;
  color: #ccc;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.efo-flow-steps:not(.efo-flow-steps--rail) .efo-step span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f2eeeb;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.efo-flow-steps:not(.efo-flow-steps--rail) .efo-step.active {
  color: #333;
}

.efo-flow-steps:not(.efo-flow-steps--rail) .efo-step.active span {
  background: #333;
  color: #ffffff;
}

.form-container {
  min-height: 400px; /* reserve space for iframe */
  padding: 0 20px;
}

.efo-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px dashed rgba(0,0,0,0.1);
  text-align: center;
}

.security-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
}

.security-text svg {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .contact-layout {
    flex-direction: column;
    gap: 32px;
  }
  .contact-left {
    flex: none;
    width: 100%;
    margin-bottom: 20px;
  }
  .contact-form-wrapper {
    padding: 28px 16px;
    /* スマホではmax-heightを解除して全体を表示（縦伸び防止） */
    max-height: none;
  }
  .efo-header {
    gap: 16px;
    margin-bottom: 32px;
  }
  .efo-header:has(.efo-flow-steps) {
    gap: 0;
  }
  .efo-flow-steps:not(.efo-flow-steps--rail) {
    flex-direction: column;
  }
  .efo-flow-horiz {
    flex: 0 0 auto;
    width: 2px;
    min-height: 14px;
    min-width: 0;
    max-width: 2px;
    height: auto;
  }
  .efo-flow-vert {
    margin-top: 6px;
  }
  .efo-flow-vert-line {
    height: 20px;
  }
  .efo-flow-steps:not(.efo-flow-steps--rail) .efo-step {
    font-size: 12px;
    gap: 4px;
    flex-direction: row;
  }
  .efo-flow-steps:not(.efo-flow-steps--rail) .efo-step span {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  .efo-flow-steps--rail {
    --efo-dot: 28px;
    --efo-rail-x: 13px;
  }
  .efo-flow-steps--rail .efo-step__label {
    font-size: 0.8125rem;
  }
  .form-container {
    padding: 0;
  }
}

/* Access Section */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.address {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--primary-color);
}

/* 交通アクセスのリード文（各線「新宿駅」より地下通路直結） */
.access-lead {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(45, 38, 33, 0.1);
}

.train-routes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.train-routes li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
}

/* バッジに代わる先頭のドット */
.train-routes li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--accent-color);
}

.route-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
  min-width: 90px;
  text-align: center;
  color: white;
}

.route-badge.jr { background: #87c040; }
.route-badge.metro { background: #f33036; }
.route-badge.oedo { background: #b6007a; }

.google-map-wrapper {
  width: 100%;
  height: 450px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.google-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer {
  background: var(--footer-gradient);
  color: #9ca3af;
  padding: 80px 0 30px;
}

.footer-top {
  display: block;
  margin-bottom: 40px;
}

/* フッター一行メニュー（明治安田ホール福岡を参考にしたシンプル構成） */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  padding: 28px 0;
  margin-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.footer-nav a:hover {
  color: var(--accent-color);
}

.footer-brand .logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-brand .footer-operator {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #9ca3af;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.link-col h4 {
  color: white;
  margin-bottom: 24px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.link-col ul {
  list-style: none;
}

.link-col li {
  margin-bottom: 12px;
}

.link-col a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a:hover {
  color: white;
}

/* Desktop Floating Sticky CTA（フラット・余白重視） */
.floating-cta-group {
  position: fixed;
  right: 28px;
  bottom: 36px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.floating-cta-group .floating-contact-btn {
  position: static;
}

.floating-contact-btn {
  position: fixed;
  right: 28px;
  bottom: 36px;
  z-index: 999;
  display: block;
  width: 92px;
  min-height: 100px;
  padding: 0;
  text-decoration: none;
  color: #fff;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, var(--accent-color) 0%, #009882 100%);
  box-shadow: 0 10px 28px rgba(0, 100, 90, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease, background 0.25s ease;
}

.floating-contact-btn__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px 16px;
  min-height: 100px;
  box-sizing: border-box;
}

.floating-contact-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 16px 36px rgba(0, 100, 90, 0.22);
}

.floating-contact-btn:hover .icon-wrap {
  background: rgba(255, 255, 255, 0.14);
}

.floating-contact-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.floating-contact-btn .icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.floating-contact-btn .text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.floating-contact-btn .text-line {
  display: block;
  line-height: 1.3;
  white-space: nowrap;
}

.floating-contact-btn .text-line--sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.88;
}

.floating-contact-btn .text-line--main {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* 仮予約ボタン（OPENINGバッジと同系のブロンズ色で差別化） */
.floating-reserve-btn {
  background: linear-gradient(145deg, #C4A484 0%, #a8875f 100%);
  color: #26201C;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 28px rgba(120, 90, 50, 0.25);
}

.floating-reserve-btn:hover {
  color: #26201C;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 36px rgba(120, 90, 50, 0.32);
}

.floating-reserve-btn .icon-wrap {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(38, 32, 28, 0.15);
}

.floating-reserve-btn:hover .icon-wrap {
  background: rgba(255, 255, 255, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .floating-contact-btn,
  .floating-contact-btn:hover {
    transform: none;
  }

  .floating-contact-btn .icon-wrap {
    transition: none;
  }
}

/* Mobile Fixed CTA */
.mobile-fixed-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.mobile-fixed-cta > a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.btn-tel {
  background: white;
  color: var(--primary-color);
}

.btn-reserve {
  background: #C4A484;
  color: #26201C;
}

.btn-contact {
  background: var(--accent-color);
  color: white;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .feature-list {
    padding: 0 16px;
    gap: 40px;
  }
  
  .feature-fullscreen {
    height: auto;
    min-height: 500px;
    border-radius: 40px !important; /* スマホでは角丸を少し小さく */
  }

  .feature-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 30px;
  }
  .feature-card.reverse {
    direction: ltr; /* Reset */
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding-y: 80px;
  }

  /* section-intro-band の角丸をスマホで縮小 */
  .section-intro-band {
    border-top-left-radius: 40px;
    padding: 48px 0 40px;
  }

  .header-actions {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    margin-left: 0;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px 24px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    visibility: hidden;
  }
  
  .nav-links.active {
    transform: translateY(0);
    visibility: visible;
  }

  /* スマホ等で縦長の楕円になるのを防ぎ、なだらかな曲線にする調整 */
  .hero-swiper, .hero-overlay {
    clip-path: ellipse(180% 100% at 50% 0%);
  }

  .hero-content {
    padding-left: clamp(16px, 4vw, 24px);
    padding-right: clamp(16px, 4vw, 24px);
  }

  .hero-cta-wrapper {
    max-width: 100%;
  }

  .hero-content .btn-large {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  
  .hero-title {
    font-size: clamp(1.3rem, 4.5vw, 1.6rem);
  }

  .hero-title-brand {
    font-size: clamp(2rem, 8vw, 2.6rem);
    letter-spacing: 0.04em;
    padding-bottom: 0.38em;
  }

  .hero-title-brand::after {
    width: min(4rem, 48%);
  }

  .hero-title-line-lead {
    max-width: 100%;
  }
  
  .feature-number {
    font-size: 4rem;
    top: -20px;
    left: 10px;
  }
  .feature-card.reverse .feature-number { left: 10px; right: auto; }
  
  .outline-table th, .outline-table td,
  .modern-table th, .modern-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }
  
  .outline-table th, .modern-table th {
    border-bottom: none;
    padding-bottom: 2px;
  }
  
  .outline-table td, .modern-table td {
    padding-top: 2px;
  }

  .outline-row, .outline-row.reverse {
    flex-direction: column;
    gap: 30px;
  }

  .outline-row.reverse {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
  }

  .outline-modern {
    gap: 50px;
  }

  .split-modern {
    padding: 30px 20px;
  }

  .cta-upscale {
    padding: 40px 20px;
  }

  .cta-action-group {
    flex-direction: column;
    gap: 16px;
  }

  .btn-upscale {
    justify-content: center;
  }

  .floating-cta-group {
    display: none;
  }

  .access-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .mobile-fixed-cta {
    display: flex;
  }
  
  body {
    padding-bottom: 60px;
  }

  /* FAQ padding縮小 */
  .faq-question {
    padding: 20px 24px;
  }
  .faq-answer-inner {
    padding: 0 24px 0;
  }
  .faq-item.active .faq-answer-inner {
    padding-bottom: 20px;
  }
  .faq-q-mark {
    font-size: 1.4rem;
    margin-right: 14px;
  }
  .faq-q-text {
    font-size: 1rem;
  }

  /* cta-upscale-content のpadding縮小 */
  .cta-upscale-content {
    padding: 40px 28px;
  }

  /* split-modern 内のテーブルラッパーの余白調整 */
  .split-modern {
    margin-bottom: 16px;
  }
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
}

/* FAQ 右カラムのみ：opacity のみ（親に transform を残さず sticky サイドバーを安定させる） */
.faq-content-reveal {
  opacity: 0;
}

/* =============================================
 * HubSpot Form Confirm Panel Styles
 * ============================================= */
.hs-form-confirm-panel {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 40px;
  margin-top: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
  animation: fadeIn 0.4s ease-out;
}

.hs-form-confirm-lead {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.hs-form-confirm-dl {
  width: 100%;
  border-top: 1px solid #e0e0e0;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: 35% 65%;
}

.hs-form-confirm-dl dt, 
.hs-form-confirm-dl dd {
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  float: none;
  clear: none;
  width: auto;
}

.hs-form-confirm-dl dt {
  font-weight: 700;
  background-color: #f8f8f8;
  color: var(--primary-light);
}

.hs-form-confirm-dl dd {
  color: var(--text-main);
  background-color: #fff;
}

.hs-form-confirm-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  grid-column: 1 / -1;
}

.hs-form-confirm-actions button {
  width: auto;
  min-width: 200px;
  margin: 0;
}

@media (max-width: 768px) {
  .hs-form-confirm-panel {
    padding: 24px 16px;
  }
  .hs-form-confirm-dl {
    grid-template-columns: 1fr;
  }
  .hs-form-confirm-dl dt, 
  .hs-form-confirm-dl dd {
    width: 100%;
    margin-left: 0;
  }
  .hs-form-confirm-dl dt {
    border-bottom: none;
    padding-bottom: 8px;
    background-color: transparent;
    padding-top: 24px;
  }
  .hs-form-confirm-dl dd {
    padding-top: 0;
  }
  .hs-form-confirm-actions {
    flex-direction: column;
  }
  .hs-form-confirm-actions button {
    width: 100%;
  }
}

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