/* =========================================
   ARCADIA — Global Styles
   ========================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Noto+Sans+JP:wght@300;400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --bg:       #0a0a0f;
  --bg-alt:   #12121f;
  --accent:   #c9a96e;
  --text:     #f0ece4;
  --text-sub: #8a8698;
  --border:   rgba(201,169,110,0.15);
  --overlay:  rgba(10,10,15,0.55);
  --max-w:    1200px;
  --nav-h:    72px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography Helpers ── */
.serif { font-family: 'Cormorant Garamond', serif; }
.accent { color: var(--accent); }
.text-sub { color: var(--text-sub); }

/* ── Section Label (EN) ── */
.section-en {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 16px;
  display: block;
}

/* ── Section Heading (JP) ── */
.section-heading {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--text);
}

/* ── Section Subtext ── */
.section-body {
  font-size: 0.9rem;
  line-height: 2.2;
  max-width: 640px;
  margin: 32px auto 0;
  text-align: center;
  color: var(--text-sub);
}

/* ── Fade-in Animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   NAVIGATION
   ========================================= */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
#nav.scrolled {
  background: var(--bg);
  padding: 14px 40px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.nav-logo {
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* ── Hamburger ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  padding: 4px;
}

/* ── Mobile Drawer ── */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 280px;
  background: var(--bg);
  padding: 80px 40px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}
.nav-drawer a:hover { color: var(--accent); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.nav-overlay.active { opacity: 1; pointer-events: all; }

.drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-sub);
  font-size: 1.5rem;
  line-height: 1;
}

/* =========================================
   HERO — Cinematic Dark
   ========================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0a0a0f;
  z-index: 0;
  overflow: hidden;
}

/* スライドショー：各スライド画像 */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active {
  opacity: 1;
}

/* 暗幕オーバーレイ（スライドより上） */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,0.52);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}

.hero-logo {
  width: 180px;
  margin: 0 auto 24px;
  opacity: 0.85;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.35em;
  color: var(--accent);
  font-weight: 300;
  line-height: 1.2;
}

.hero-catch {
  font-size: clamp(0.75rem, 1.8vw, 1rem);
  letter-spacing: 0.15em;
  color: var(--text);
  font-weight: 300;
  margin-top: 24px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: scrollBounce 2s ease-in-out infinite;
  opacity: 0;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
}
@keyframes scrollBounce {
  0%   { opacity: 0; transform: translateX(-50%) translateY(0); }
  30%  { opacity: 1; }
  50%  { transform: translateX(-50%) translateY(10px); }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(0); }
}

/* Page Sub-hero */
.page-hero {
  position: relative;
  height: 40vh;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,0.65);
}
.page-hero-title {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  letter-spacing: 0.3em;
  color: var(--accent);
  font-weight: 300;
}

/* =========================================
   CONCEPT SECTION
   ========================================= */
.concept-section {
  background: var(--bg-alt);
  padding: 120px 40px;
}
.concept-inner { max-width: var(--max-w); margin: 0 auto; }

/* =========================================
   CAST SECTION
   ========================================= */
.cast-section {
  background: var(--bg);
  padding: 100px 0;
}

.section-header {
  text-align: center;
  padding: 0 40px;
  margin-bottom: 60px;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.cast-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-alt);
}

.cast-card-link {
  display: block;
  width: 100%;
  height: 100%;
}

.cast-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.cast-card:hover img {
  transform: scale(1.03);
  filter: brightness(1.1);
}

.cast-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(10,10,15,0.85) 100%);
  pointer-events: none;
}

.cast-card-name {
  position: absolute;
  bottom: 28px;
  left: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text);
  pointer-events: none;
}

.cast-card-catch {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-size: 0.65rem;
  color: var(--text-sub);
  pointer-events: none;
}

.cast-card.hidden { display: none; }

/* VIEW MORE Button */
.btn-outline {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 12px 40px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--bg);
}

/* =========================================
   GALLERY SECTION
   ========================================= */
.gallery-section {
  background: var(--bg);
  padding: 100px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 4px;
  width: 100%;
  overflow: hidden;
}

.gallery-cell {
  position: relative;
  overflow: hidden;
}
.gallery-cell:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-cell:hover img { transform: scale(1.04); }

.gallery-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  background: rgba(10,10,15,0.7);
  padding: 4px 12px;
  backdrop-filter: blur(4px);
}

/* =========================================
   ACCESS SECTION
   ========================================= */
.access-section {
  background: var(--bg-alt);
  padding: 80px 40px;
}

.access-inner {
  display: flex;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.access-map {
  flex: 1;
  min-width: 0;
}
.access-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  filter: grayscale(0.8) brightness(0.7) contrast(1.2);
}

.access-info {
  flex: 0 0 340px;
}

.access-info dl {}
.access-info dt {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.access-info dd {
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.8;
}

.sns-links {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  align-items: center;
}
.sns-links a {
  color: var(--text-sub);
  transition: color 0.2s;
}
.sns-links a:hover { color: var(--accent); }
.sns-links svg { width: 20px; height: 20px; }

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--bg);
  padding: 20px 40px;
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-sub);
  letter-spacing: 0.1em;
}

/* ── Slim footer for inner pages ── */
.footer-slim {
  background: var(--bg);
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* =========================================
   SYSTEM PAGE
   ========================================= */
.system-section {
  background: var(--bg);
  padding: 100px 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.price-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 40px 32px;
}

.price-card-title {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.price-card-subtitle {
  font-size: 0.7rem;
  color: var(--text-sub);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.price-card-badge {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 2px 8px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.price-rows { margin-bottom: 20px; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 12px 0;
}
.price-row dt {
  font-size: 0.85rem;
  color: var(--text-sub);
}
.price-row dd {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}
.price-row dd small {
  font-size: 0.7rem;
  color: var(--text-sub);
  margin-left: 2px;
}

.price-note {
  font-size: 0.7rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Budget Note */
.budget-section {
  background: var(--bg-alt);
  padding: 60px 40px;
  text-align: center;
}
.budget-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--accent);
  letter-spacing: 0.1em;
  margin: 16px 0 8px;
}

/* Payment */
.payment-section {
  background: var(--bg);
  padding: 60px 40px;
  text-align: center;
}
.payment-brands {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.payment-brand {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 10px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-sub);
  font-family: 'Cormorant Garamond', serif;
}

/* =========================================
   RECRUIT PAGE
   ========================================= */
.recruit-hero-section {
  position: relative;
  padding: 160px 40px 120px;
  text-align: center;
  overflow: hidden;
}
.recruit-hero-bg {
  position: absolute;
  inset: 0;
  /* background-imageはJSで動的設定 */
  background-color: #0a0a0f;
  background-size: cover;
  background-position: center;
}
.recruit-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,0.75);
}
.recruit-hero-content {
  position: relative;
  z-index: 1;
}
.recruit-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  font-weight: 300;
}
.recruit-hero-sub {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 2;
  max-width: 600px;
  margin: 0 auto 40px;
}
.btn-filled {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 16px 56px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  border: none;
  transition: opacity 0.3s;
  text-transform: uppercase;
}
.btn-filled:hover { opacity: 0.85; }

.cast-recruit-section {
  background: var(--bg-alt);
  padding: 100px 40px;
}
.recruit-content-inner {
  max-width: 900px;
  margin: 0 auto;
}

.salary-highlight {
  text-align: center;
  margin: 40px 0;
}
.salary-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  letter-spacing: 0.05em;
}
.salary-label {
  font-size: 0.75rem;
  color: var(--text-sub);
  letter-spacing: 0.15em;
  margin-top: 8px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}
.feature-tag {
  border: 1px solid var(--border);
  padding: 8px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-sub);
}

.staff-recruit-section {
  background: var(--bg);
  padding: 100px 40px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 48px auto 0;
}
.staff-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
}
.staff-position {
  font-size: 0.75rem;
  color: var(--text-sub);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.staff-salary {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.benefits-section {
  background: var(--bg-alt);
  padding: 80px 40px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 40px auto 0;
}
.benefit-item {
  text-align: center;
  padding: 24px 16px;
  border: 1px solid var(--border);
}
.benefit-icon {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.benefit-text {
  font-size: 0.75rem;
  color: var(--text-sub);
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.contact-cta-section {
  background: var(--bg);
  padding: 80px 40px;
  text-align: center;
}
.contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.btn-cta-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg);
  padding: 16px 40px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border: none;
  transition: opacity 0.3s;
}
.btn-cta-tel:hover { opacity: 0.85; }
.btn-cta-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #06c755;
  color: #fff;
  padding: 16px 40px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border: none;
  transition: opacity 0.3s;
}
.btn-cta-line:hover { opacity: 0.85; }

/* =========================================
   RESPONSIVE — Mobile (≤767px)
   ========================================= */
@media (max-width: 767px) {
  /* Nav */
  #nav { padding: 16px 20px; }
  #nav.scrolled { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  /* Hero */
  .hero-title { font-size: clamp(1.8rem, 8vw, 3rem); }
  .hero-catch { font-size: clamp(0.65rem, 3vw, 0.85rem); letter-spacing: 0.05em; }


  /* Concept */
  .concept-section { padding: 80px 24px; }

  /* Cast Grid */
  .cast-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 16px;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-cell:first-child {
    grid-column: 1;
    grid-row: auto;
  }
  .gallery-cell { height: 240px; }

  /* Access */
  .access-section { padding: 60px 20px; }
  .access-inner {
    flex-direction: column;
    gap: 40px;
  }
  .access-info { flex: none; }

  /* Price Grid */
  .price-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  /* Staff Grid */
  .staff-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  /* Benefits Grid */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Recruit */
  .recruit-hero-section { padding: 120px 20px 80px; }
  .cast-recruit-section { padding: 60px 20px; }
  .staff-recruit-section { padding: 60px 20px; }
  .benefits-section { padding: 60px 20px; }
  .contact-cta-section { padding: 60px 20px; }

  /* System */
  .system-section { padding: 60px 0; }
  .budget-section { padding: 40px 20px; }
  .payment-section { padding: 40px 20px; }

  /* Footer */
  footer { padding: 20px; }
  .footer-slim { padding: 24px 20px; }

  /* Section headers */
  .section-header { padding: 0 20px; }
}

/* =========================================
   UTILITY
   ========================================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
