/* ==========================================================================
   DENBA EXPERIENCE KUMAMOTO — Architectural Wellness & Spatial Conditioning
   Target: https://cosanostra.jp/denba/
   Namespace: denba_assets/css/denba_style.css
   Design Philosophy: "Quiet Field, Living Water" (静けさに、触れる)
   ========================================================================== */

:root {
  /* Color Palette — Warm Alabaster Washi, Sumi Ink, Aso Spring Teal & Hinoki */
  --bg-canvas: #F6F4EE;
  --bg-surface: #FFFFFF;
  --bg-subtle: #ECE8DE;
  --bg-tint-teal: #EBF2F4;
  --bg-deep: #152329;
  --bg-deep-elevated: #1D2F37;

  --ink-primary: #182227;
  --ink-secondary: #435058;
  --ink-muted: #68767E;
  --ink-on-dark: #F4F2EC;
  --ink-on-dark-muted: #B8C5CB;

  --accent-teal: #1E5668;
  --accent-teal-hover: #153F4D;
  --accent-teal-soft: #3B7D92;
  --accent-hinoki: #8C6D46;
  --accent-hinoki-light: #DFC9A6;
  --accent-safety: #8E3B2E;
  --accent-safety-bg: #FCF6F4;
  --accent-safety-border: #DFB9B2;

  --border-hairline: rgba(24, 34, 39, 0.10);
  --border-strong: rgba(24, 34, 39, 0.18);
  --border-on-dark: rgba(244, 242, 236, 0.14);

  /* Typography */
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", Georgia, serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;

  /* Spacing & Layout */
  --container-max: 1160px;
  --container-narrow: 840px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-soft: 0 12px 36px rgba(21, 35, 41, 0.06);
  --shadow-elevated: 0 20px 50px rgba(21, 35, 41, 0.10);
  --transition-smooth: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Accessibility Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.85;
  color: var(--ink-primary);
  background-color: var(--bg-canvas);
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: color var(--transition-smooth), opacity var(--transition-smooth);
}

a:hover {
  color: var(--accent-teal-hover);
}

:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--bg-deep);
  color: var(--ink-on-dark);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section--surface {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.section--subtle {
  background-color: var(--bg-subtle);
}

.section--deep {
  background-color: var(--bg-deep);
  color: var(--ink-on-dark);
}

/* Editorial Section Headings */
.section-header {
  max-width: 760px;
  margin-bottom: 3.5rem;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-hinoki);
  margin-bottom: 0.9rem;
}

.section--deep .eyebrow {
  color: var(--accent-hinoki-light);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background-color: currentColor;
}

.section-header--center .eyebrow::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background-color: currentColor;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.03em;
  color: var(--ink-primary);
  margin-bottom: 1.15rem;
}

.section--deep .section-title {
  color: var(--ink-on-dark);
}

.section-lead {
  font-size: 1.02rem;
  color: var(--ink-secondary);
  line-height: 1.9;
}

.section--deep .section-lead {
  color: var(--ink-on-dark-muted);
}

/* Provenance Badge (Distinguishing AI conceptual visuals vs Reference visuals vs Blueprints) */
.provenance-caption {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.65rem;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.provenance-tag {
  display: inline-block;
  flex-shrink: 0;
  padding: 0.12rem 0.48rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 4px;
  background: rgba(24, 34, 39, 0.07);
  color: var(--ink-secondary);
}

.section--deep .provenance-caption {
  color: var(--ink-on-dark-muted);
}

.section--deep .provenance-tag {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink-on-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition-smooth), background-color var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth), color var(--transition-smooth);
  text-decoration: none;
}

.btn--primary {
  background-color: var(--accent-teal);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(30, 86, 104, 0.22);
}

.btn--primary:hover {
  background-color: var(--accent-teal-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(30, 86, 104, 0.28);
}

.btn--light {
  background-color: var(--accent-hinoki-light);
  color: var(--bg-deep);
}

.btn--light:hover {
  background-color: #EAD8BC;
  color: var(--bg-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--ink-primary);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  background-color: rgba(24, 34, 39, 0.04);
  color: var(--ink-primary);
  border-color: var(--ink-primary);
}

.btn--sm {
  padding: 0.62rem 1.2rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   00. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(246, 244, 238, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-primary);
}

.brand-link:hover {
  color: var(--ink-primary);
}

.brand-emblem {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-top: 0.15rem;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.desktop-nav a.nav-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-secondary);
  padding: 0.35rem 0;
  position: relative;
  white-space: nowrap;
}

.desktop-nav a.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent-teal);
  transition: width var(--transition-smooth);
}

.desktop-nav a.nav-item:hover {
  color: var(--ink-primary);
}

.desktop-nav a.nav-item:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.48rem 0.95rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-primary);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}

.mobile-nav-drawer {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-strong);
  padding: 1.25rem 1.5rem 1.75rem;
  box-shadow: var(--shadow-soft);
}

.mobile-nav-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.78rem 0.5rem;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--ink-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ==========================================================================
   01. HERO — FIRST VIEW
   ========================================================================== */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero-bg-rings {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 760px;
  height: 760px;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-teal);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(21, 35, 41, 0.04);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-teal);
  box-shadow: 0 0 0 4px rgba(30, 86, 104, 0.16);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.62rem, 3.05vw, 2.48rem);
  font-weight: 500;
  line-height: 1.44;
  letter-spacing: 0.02em;
  color: var(--ink-primary);
  margin-bottom: 1.35rem;
}

.hero-title-em {
  color: var(--accent-teal);
}

.hero-lead {
  font-size: 1.04rem;
  line-height: 1.92;
  color: var(--ink-secondary);
  margin-bottom: 1.85rem;
}

.hero-pillars {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}

.hero-pillars li {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--ink-primary);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--border-hairline);
  padding: 0.6rem 0.95rem;
  border-radius: var(--radius-sm);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-hinoki);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-visual-wrap {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-hairline);
  background-color: var(--bg-subtle);
  aspect-ratio: 16 / 11;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(21, 35, 41, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink-on-dark);
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.floating-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-hinoki-light);
  display: block;
}

.floating-main {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  margin-top: 0.15rem;
}

.floating-wave-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* ==========================================================================
   02. ORIGIN & CREDIBILITY
   ========================================================================== */
.origin-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.origin-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-hairline);
  background: var(--bg-subtle);
}

.origin-image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.origin-story p {
  margin-bottom: 1.25rem;
  color: var(--ink-secondary);
}

.origin-story strong {
  color: var(--ink-primary);
  font-weight: 600;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.fact-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.35rem;
}

.fact-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent-teal);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.fact-number span {
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 0.15rem;
}

.fact-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 0.45rem;
}

.fact-desc {
  font-size: 0.82rem;
  line-height: 1.68;
  color: var(--ink-muted);
}

.editorial-clarification {
  margin-top: 2rem;
  padding: 1.35rem 1.6rem;
  background-color: var(--bg-tint-teal);
  border-left: 3px solid var(--accent-teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--ink-secondary);
}

.editorial-clarification strong {
  color: var(--ink-primary);
}

/* ==========================================================================
   03. SPATIAL MECHANISM & INTERACTIVE SIMULATOR
   ========================================================================== */
.mechanism-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.mech-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.6rem;
  box-shadow: var(--shadow-soft);
}

.mech-step {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-hinoki);
  margin-bottom: 0.65rem;
  display: block;
}

.mech-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  color: var(--ink-primary);
}

.mech-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-secondary);
}

/* Interactive Spatial Field Simulator */
.simulator-box {
  background: var(--bg-deep);
  color: var(--ink-on-dark);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-on-dark);
}

.simulator-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-on-dark);
}

.simulator-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink-on-dark);
  margin-top: 0.25rem;
}

.power-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(223, 201, 166, 0.45);
  background: rgba(223, 201, 166, 0.14);
  color: var(--ink-on-dark);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-smooth);
}

.power-toggle-btn[aria-pressed="false"] {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--ink-on-dark-muted);
}

.power-led {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5EEAD4;
  box-shadow: 0 0 10px #5EEAD4;
}

.power-toggle-btn[aria-pressed="false"] .power-led {
  background: #64748B;
  box-shadow: none;
}

.simulator-body {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2rem;
  align-items: center;
}

.canvas-stage {
  position: relative;
  background: #101B20;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: crosshair;
  touch-action: manipulation;
}

.canvas-stage canvas {
  width: 100%;
  height: 100%;
}

.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.preset-group-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-on-dark-muted);
}

.preset-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.preset-btn {
  text-align: left;
  padding: 0.72rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink-on-dark);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

.preset-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.preset-btn.is-active {
  background: rgba(94, 234, 212, 0.13);
  border-color: #5EEAD4;
}

.checker-readout {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
}

.checker-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5EEAD4;
  margin-bottom: 0.45rem;
}

.checker-status-badge.is-outside {
  color: #FCD34D;
}

.checker-status-badge.is-off {
  color: #94A3B8;
}

.checker-desc {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--ink-on-dark-muted);
}

.simulator-footer-note {
  margin-top: 1.35rem;
  font-size: 0.78rem;
  color: var(--ink-on-dark-muted);
  line-height: 1.65;
}

/* ==========================================================================
   04. PRIMARY VENUE — NAGAMINE EAST BASE (長嶺東 無料体験会)
   ========================================================================== */
.venue-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  background: var(--bg-canvas);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  box-shadow: var(--shadow-soft);
}

.venue-photo-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
}

.venue-photo-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.venue-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.venue-pill {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-teal);
  color: #FFFFFF;
}

.venue-pill--outline {
  background: var(--bg-surface);
  color: var(--ink-secondary);
  border: 1px solid var(--border-strong);
}

.venue-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.venue-summary {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  margin-bottom: 1.35rem;
}

.venue-dl {
  border-top: 1px solid var(--border-hairline);
  margin-bottom: 1.5rem;
}

.venue-dl-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0.85rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.89rem;
}

.venue-dl-row dt {
  font-weight: 600;
  color: var(--ink-primary);
}

.venue-dl-row dd {
  color: var(--ink-secondary);
  line-height: 1.65;
}

.venue-dl-row dd strong {
  color: var(--accent-teal);
}

/* Reassurance Promises */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem;
}

.promise-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.3rem;
}

.promise-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-teal);
  display: block;
  margin-bottom: 0.45rem;
}

.promise-card h4 {
  font-family: var(--font-serif);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.55rem;
  color: var(--ink-primary);
}

.promise-card p {
  font-size: 0.84rem;
  line-height: 1.72;
  color: var(--ink-secondary);
}

/* ==========================================================================
   05. THREE EXPERIENCE OPTIONS & SHORT-TERM RENTAL
   ========================================================================== */
.options-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.91fr 0.91fr;
  gap: 1.5rem;
  align-items: stretch;
}

.option-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
}

.option-card--featured {
  border: 2px solid var(--accent-teal);
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FA 100%);
}

.option-recommend-ribbon {
  display: inline-block;
  align-self: flex-start;
  background: var(--accent-teal);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.option-subribbon {
  display: inline-block;
  align-self: flex-start;
  background: var(--bg-subtle);
  color: var(--ink-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.option-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.option-card p {
  font-size: 0.89rem;
  color: var(--ink-secondary);
  line-height: 1.78;
  margin-bottom: 1.15rem;
}

.option-meta-list {
  list-style: none;
  border-top: 1px solid var(--border-hairline);
  padding-top: 0.95rem;
  margin-bottom: 1.4rem;
  font-size: 0.84rem;
  color: var(--ink-secondary);
  display: grid;
  gap: 0.4rem;
}

.option-meta-list li::before {
  content: "・";
  color: var(--accent-teal);
  font-weight: 700;
}

.rental-banner {
  margin-top: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--accent-hinoki);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.rental-banner-content {
  max-width: 740px;
}

.rental-banner h3 {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.rental-banner p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.75;
}

/* ==========================================================================
   06. PRODUCT ARCHITECTURE & OFFICIAL SPECS
   ========================================================================== */
.blueprint-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  margin-bottom: 2.5rem;
}

.blueprint-title-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.blueprint-title-row h3 {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
}

.blueprint-svg-wrap {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.spec-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 0.89rem;
}

.spec-table th,
.spec-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border-hairline);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}

.spec-table thead th {
  background: var(--bg-deep);
  color: var(--ink-on-dark);
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 1.15rem;
}

.spec-table thead th.is-popular {
  background: var(--accent-teal);
}

.spec-table tbody th {
  background: var(--bg-canvas);
  font-weight: 600;
  color: var(--ink-primary);
  width: 175px;
}

.spec-footnote {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.75;
}

/* ==========================================================================
   07. SAFETY, CONTRAINDICATIONS & FAQ
   ========================================================================== */
.safety-panel {
  background: var(--accent-safety-bg);
  border: 1px solid var(--accent-safety-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  margin-bottom: 3.5rem;
}

.safety-panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.safety-badge {
  background: var(--accent-safety);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.safety-panel-header h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.safety-item {
  background: #FFFFFF;
  border: 1px solid rgba(142, 59, 46, 0.16);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.35rem;
}

.safety-item h4 {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--accent-safety);
  margin-bottom: 0.45rem;
}

.safety-item p,
.safety-item ul {
  font-size: 0.86rem;
  color: var(--ink-secondary);
  line-height: 1.72;
}

.safety-item ul {
  padding-left: 1.2rem;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-smooth);
}

.faq-item[open] {
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-q-prefix {
  font-family: var(--font-serif);
  color: var(--accent-teal);
  font-weight: 600;
  margin-right: 0.65rem;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-canvas);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
  color: var(--accent-teal);
  transition: transform var(--transition-smooth);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--bg-tint-teal);
}

.faq-answer {
  padding: 0 1.5rem 1.4rem 3.1rem;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--ink-secondary);
}

/* ==========================================================================
   08. RESERVATION & SMOOTHCONTACT EMBED
   ========================================================================== */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.flow-step-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.35rem;
}

.flow-step-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--accent-hinoki-light);
  display: block;
  margin-bottom: 0.4rem;
}

.flow-step-card h3 {
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--ink-on-dark);
  margin-bottom: 0.45rem;
}

.flow-step-card p {
  font-size: 0.84rem;
  color: var(--ink-on-dark-muted);
  line-height: 1.7;
}

/* Copy-Paste Helper Box */
.template-helper-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  margin-bottom: 2rem;
}

.template-helper-head {
  margin-bottom: 1rem;
}

.template-helper-head h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink-on-dark);
  margin-bottom: 0.3rem;
}

.template-helper-head p {
  font-size: 0.85rem;
  color: var(--ink-on-dark-muted);
}

.template-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.template-pill {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-on-dark);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth), color var(--transition-smooth);
}

.template-pill:hover {
  background: rgba(255, 255, 255, 0.12);
}

.template-pill.is-selected {
  background: var(--accent-hinoki-light);
  border-color: var(--accent-hinoki-light);
  color: var(--bg-deep);
  font-weight: 600;
}

.template-textarea {
  width: 100%;
  min-height: 132px;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(16, 27, 32, 0.85);
  color: var(--ink-on-dark);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.7;
  resize: vertical;
  margin-bottom: 0.85rem;
}

.template-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.copy-feedback {
  font-size: 0.84rem;
  color: #5EEAD4;
  min-height: 1.4em;
}

/* SmoothContact White Card Container (High Legibility Guaranteed) */
.form-embed-card {
  background: #FFFFFF;
  color: var(--ink-primary);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-elevated);
}

.form-embed-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-hairline);
}

.form-embed-header h3 {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  color: var(--ink-primary);
}

.form-notice-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-teal);
  background: var(--bg-tint-teal);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}

.sc-embed-wrapper {
  min-height: 420px;
}

.sc-embed iframe {
  width: 100% !important;
  border: none !important;
}

.form-fallback-bar {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   09. RELATED PROJECTS & FOOTER
   ========================================================================== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.related-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-soft);
}

.related-role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-hinoki);
}

.related-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-primary);
  line-height: 1.4;
}

.related-url {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  word-break: break-all;
}

.site-footer {
  background: #101B20;
  color: var(--ink-on-dark-muted);
  padding: 3.5rem 0 5.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink-on-dark);
  margin-bottom: 0.45rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
}

.footer-nav a {
  color: var(--ink-on-dark-muted);
}

.footer-nav a:hover {
  color: var(--ink-on-dark);
}

.footer-legal {
  padding-top: 1.5rem;
  font-size: 0.78rem;
  line-height: 1.75;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

/* Sticky Mobile Bottom Bar */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 990;
  background: rgba(21, 35, 41, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.mobile-sticky-cta.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.mobile-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mobile-sticky-text {
  color: var(--ink-on-dark);
  font-size: 0.76rem;
  line-height: 1.35;
}

.mobile-sticky-text strong {
  display: block;
  font-size: 0.84rem;
  color: var(--accent-hinoki-light);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Smartphone)
   ========================================================================== */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .hero-grid,
  .origin-layout,
  .venue-showcase,
  .simulator-body {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .fact-grid,
  .promise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .options-grid {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 64px;
  }
  .brand-emblem {
    width: 32px;
    height: 32px;
  }
  .brand-title {
    font-size: 0.9rem;
  }
  .brand-sub {
    font-size: 0.57rem;
  }
  .section {
    padding: 4.25rem 0;
  }
  .hero {
    padding: 2.2rem 0 3.75rem;
  }
  .hero-title {
    font-size: clamp(1.48rem, 6.1vw, 1.82rem);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-floating-card {
    position: static;
    margin-top: 0.75rem;
    background: var(--bg-deep);
  }
  .hero-frame {
    aspect-ratio: 16 / 10;
  }
  .fact-grid,
  .mechanism-points,
  .promise-grid,
  .safety-grid,
  .flow-steps,
  .related-grid {
    grid-template-columns: 1fr;
  }
  .venue-showcase,
  .simulator-box,
  .blueprint-card,
  .safety-panel,
  .template-helper-card,
  .form-embed-card {
    padding: 1.45rem 1.2rem;
  }
  .venue-dl-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .faq-answer {
    padding: 0 1.2rem 1.25rem 1.2rem;
  }
  .mobile-sticky-cta {
    display: block;
  }
  .site-footer {
    padding-bottom: 6.5rem;
  }
}
