/* =====================
   RESET / BASE
===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --bg: #0b1220;
  --fg: #ffffff;
  --muted: rgba(255,255,255,0.72);
  --gold: #f3e09a;
  --gold2: #e6d48a;
  --card: rgba(255,255,255,0.06);
  --card2: rgba(0,0,0,0.22);
  --stroke: rgba(255,255,255,0.16);
  --shadow: 0 18px 60px rgba(0,0,0,0.45);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
}

/* 共通 */
.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section{
  padding: 88px 0;
}

.section-head{
  text-align: center;
  margin-bottom: 34px;
}

.section-head h2{
  font-size: 1.35rem;
  letter-spacing: 0.32em;
  opacity: 0.95;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

.section-sub{
  margin-top: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  opacity: 0.85;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
  border: 1px solid var(--stroke);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

/* =====================
   HERO
===================== */
.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/flyer.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.55) 55%,
    rgba(0,0,0,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 24px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* TITLE */
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: 0.14em;
  margin-bottom: 28px;

  text-shadow:
    0 3px 8px rgba(0,0,0,0.65),
    0 14px 36px rgba(0,0,0,0.45),
    0 30px 80px rgba(0,0,0,0.35);
}

/* タイトル下ラベル */
.countdown-label-hero {
  margin-bottom: 14px;
  font-size: 1.6rem;
  letter-spacing: 0.45em;
  color: var(--gold2);
  opacity: 0.95;

  text-shadow:
    0 2px 6px rgba(0,0,0,0.65),
    0 6px 18px rgba(0,0,0,0.45);
}

/* HERO COUNTDOWN */
.hero-countdown {
  display: flex;
  gap: clamp(20px, 4vw, 40px);
  align-items: flex-end;

  padding: 14px 22px;
  margin-bottom: 30px;

  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
}

.hero-countdown .unit { text-align: center; }

.hero-countdown b {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: clamp(3.8rem, 9vw, 5.8rem);
  font-weight: 500;
  line-height: 0.95;
  color: var(--gold);
  min-width: 2.4ch;

  text-shadow:
    0 3px 8px rgba(0,0,0,0.75),
    0 12px 30px rgba(0,0,0,0.55);
}

.hero-countdown span {
  display: block;
  margin-top: 6px;
  font-size: 1.0rem;
  letter-spacing: 0.35em;
  opacity: 0.85;
}

/* COPY */
.hero-copy {
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  margin-bottom: 26px;

  text-shadow:
    0 2px 6px rgba(0,0,0,0.55),
    0 8px 22px rgba(0,0,0,0.4);
}

/* CTA + NAV */
.hero-actions{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-cta {
  padding: 14px 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.65);
  color: #ffffff;
  text-decoration: none;
  transition: 0.25s ease;
}

.hero-cta:hover {
  background: #ffffff;
  color: #020617;
}

.hero-nav{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-nav a{
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: rgba(255,255,255,0.86);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.18);
  transition: 0.22s ease;
}
.hero-nav a:hover{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.30);
}

/* =====================
   INFO（中央に整える）
===================== */
.info-card{
  max-width: 920px;
  margin: 0 auto;           /* ← これが「ページの中心に」 */
  padding: 28px 26px;
}

.info-card p{
  color: rgba(255,255,255,0.90);
  margin-bottom: 14px;
}

.info-card strong{
  color: #ffffff;
}

.info-meta{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);

  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.meta{
  display: grid;
  grid-template-columns: 8.5ch 1fr;
  gap: 12px;
  align-items: baseline;
}

.meta .k{
  color: rgba(255,255,255,0.70);
  letter-spacing: 0.18em;
  font-size: 0.92rem;
}

.meta .v{
  color: rgba(255,255,255,0.92);
}

.text-link{
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(243,224,154,0.35);
}
.text-link:hover{
  border-bottom-color: rgba(243,224,154,0.75);
}

/* =====================
   FAQ（折りたたみ）
===================== */
.faq-list{
  max-width: 920px;
  margin: 0 auto;           /* 中央寄せ */
  display: grid;
  gap: 14px;
}

.faq-item{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  overflow: hidden;
}

.faq-item summary{
  cursor: pointer;
  list-style: none;
  padding: 18px 18px;
  font-size: 1.02rem;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.92);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-item summary::after{
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid rgba(255,255,255,0.75);
  border-bottom: 2px solid rgba(255,255,255,0.75);
  transform: rotate(45deg);
  transition: transform 0.22s ease;
  flex: 0 0 auto;
  opacity: 0.9;
}

.faq-item[open] summary::after{
  transform: rotate(-135deg);
}

.faq-body{
  padding: 0 18px 18px 18px;
  color: rgba(255,255,255,0.84);
}

.faq-body p{ margin-top: 10px; }

/* =====================
   GALLERY
===================== */
.gallery-grid {
  margin: 0 auto;
  max-width: 1100px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.gallery-grid div {
  height: 320px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;

  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.8s ease, transform 0.8s ease;
  border: 1px solid rgba(255,255,255,0.10);
}

.gallery-grid div.is-visible {
  opacity: 1;
  transform: none;
}

.gallery-empty{
  grid-column: 1 / -1;
  text-align: center;
  padding: 18px 0;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.14em;
}

/* =====================
   LIGHTBOX
===================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}
.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 8px;
}

/* =====================
   FOOTER
===================== */
.site-footer{
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.70);
  text-align: center;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 768px) {
  .section{ padding: 72px 0; }

  .gallery-grid { grid-template-columns: 1fr; }

  .meta{
    grid-template-columns: 7.5ch 1fr;
  }
}

/* HERO COUNTDOWN – スマホ縦最適化 */
@media (max-width: 430px) {
  .hero-countdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    padding: 14px 18px;
  }
}

/* =====================
   Scroll reveal（浮かび上がり）
===================== */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity 900ms ease, transform 900ms ease, filter 900ms ease;
  will-change: opacity, transform, filter;
}
.reveal.is-visible{
  opacity: 1;
  transform: none;
  filter: none;
}

/* 見出しの格を上げる（“太字タイトル”） */
.section-title{
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

/* =====================
   INFO（枠なし・余白で魅せる）
===================== */
.section.info{
  /* セクション自体をうっすらリッチにする（枠ではなく空気感） */
  background:
    radial-gradient(1200px 400px at 50% 0%,
      rgba(243,224,154,0.08) 0%,
      rgba(243,224,154,0.00) 60%),
    linear-gradient(180deg, rgba(255,255,255,0.00), rgba(255,255,255,0.02));
}

.info-body{
  max-width: 860px;
  margin: 0 auto;
  padding-top: 10px;
}

.info-lead,
.info-text{
  font-weight: 300; /* “細字” */
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.88);
}

.info-lead strong{
  font-weight: 700;
  color: rgba(255,255,255,0.98);
}

.info-text{
  margin-top: 14px;
}

.info-meta{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid;
  gap: 10px;
}

.meta{
  display: grid;
  grid-template-columns: 8.5ch 1fr;
  gap: 12px;
  align-items: baseline;
}

.meta .k{
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.18em;
  font-size: 0.92rem;
}

.meta .v{
  color: rgba(255,255,255,0.92);
}

/* =====================
   FAQ（全体折りたたみ）
===================== */
.faq-block{
  max-width: 920px;
  margin: 0 auto;

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.42);
  overflow: hidden;
}

.faq-block summary{
  cursor: pointer;
  list-style: none;
  padding: 18px 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  font-size: 1.02rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.92);
}

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

.faq-block summary::after{
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid rgba(255,255,255,0.75);
  border-bottom: 2px solid rgba(255,255,255,0.75);
  transform: rotate(45deg);
  transition: transform 0.22s ease;
  opacity: 0.9;
  flex: 0 0 auto;
}

.faq-block[open] summary::after{
  transform: rotate(-135deg);
}

.faq-inner{
  padding: 0 18px 18px 18px;
  color: rgba(255,255,255,0.84);
}

.faq-dl{
  margin-top: 10px;
}

.faq-dl dt{
  margin-top: 14px;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.92);
}

.faq-dl dd{
  margin-top: 8px;
  margin-left: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  font-weight: 300;
  color: rgba(255,255,255,0.84);
}

.faq-dl dt:first-child{ margin-top: 0; }
.faq-dl dd:last-child{ border-bottom: none; padding-bottom: 0; }

@media (max-width: 768px){
  .meta{ grid-template-columns: 7.5ch 1fr; }
}

:root{
  /* 追加：上品な金（強すぎない） */
  --champagne: rgba(243,224,154,0.88);   /* 本文用：淡い金 */
  --champagne-strong: rgba(243,224,154,0.98); /* 強調用 */
}

/* INFO本文を“細字＋金”へ */
.info-lead,
.info-text{
  font-weight: 300;           /* 細字 */
  letter-spacing: 0.05em;
  color: var(--champagne);
  text-shadow: 0 1px 10px rgba(0,0,0,0.35); /* 背景写真/暗部での視認性を確保 */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 強調（作品名・固有名詞）は少しだけ強く */
.info-lead strong{
  font-weight: 600;
  color: var(--champagne-strong);
}

/* メタ情報は本文より一段落とす（うるさくしない） */
.info-meta{
  border-top: 1px solid rgba(243,224,154,0.18);
}

.meta .k{
  color: rgba(243,224,154,0.65);
}

.meta .v{
  color: rgba(243,224,154,0.90);
}

/* リンクは“金そのまま”だと紛れるので下線で差別化 */
.text-link{
  color: var(--champagne-strong);
  border-bottom: 1px solid rgba(243,224,154,0.35);
}
.text-link:hover{
  border-bottom-color: rgba(243,224,154,0.75);
}

:root{
  --font-ui: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif-jp: "Noto Serif JP", serif;
  --font-display: "Playfair Display", serif;
}

/* 全体のUIはすっきりしたゴシック */
body{
  font-family: var(--font-ui);
}

/* タイトルは今まで通り（より明確に指定） */
.hero h1{
  font-family: var(--font-display);
}

/* 公演概要の本文を“おしゃれな明朝”へ */
.info-lead,
.info-text,
.info-meta .v{
  font-family: var(--font-serif-jp);
  font-weight: 300; /* 細め */
  letter-spacing: 0.06em;
}

/* 公演概要のラベル類はUIフォントに残す（情報の整理が効く） */
.info-meta .k{
  font-family: var(--font-ui);
}

/* FAQは読みやすさ優先でUIフォントのまま */
.faq-block,
.faq-block summary,
.faq-dl dt,
.faq-dl dd{
  font-family: var(--font-ui);
}

.hero-thanks{
  margin: 18px 0 26px;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  letter-spacing: 0.22em;
  line-height: 1.6;
  color: var(--champagne-strong);
  text-align: center;
  text-shadow:
    0 2px 6px rgba(0,0,0,0.65),
    0 10px 28px rgba(0,0,0,0.45);
}

.hero-cta--disabled{
  opacity: 0.6;
  border-color: rgba(255,255,255,0.35);
  cursor: default;
}

.gallery-grid div{
  cursor: pointer;
}
