/* top.css - 公開版TOPだけの装飾。site.css / home.css はローカル版からのコピーなので変更せず、ここで上書きする。 */
.page-home { --stage-muted: rgba(255, 255, 255, 0.8); --gold: #e9c47e; --gold-2: #f7e3b8; --stage-pad: max(var(--gutter), calc((100% - 1760px) / 2 + var(--gutter))); }

/* ---------- ステージ（説明＋注目公演） ---------- */
.stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(18px, 4.5vw, 52px) 0 calc(clamp(18px, 3vw, 40px) + 12px);
  color: #fff;
  background:
    radial-gradient(70% 55% at 88% -5%, rgba(233, 196, 126, 0.3), transparent 70%),
    radial-gradient(55% 60% at -5% 35%, rgba(110, 132, 255, 0.28), transparent 70%),
    radial-gradient(60% 40% at 50% 100%, rgba(176, 120, 220, 0.22), transparent 70%),
    linear-gradient(170deg, #0b1330 0%, #16255a 52%, #22357c 100%);
}
/* 下端をゆるい弧にして、明るい本文へつなぐ */
.stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: -1;
  height: clamp(18px, 3vw, 40px);
  background: var(--bg);
  clip-path: ellipse(72% 100% at 50% 100%);
}
.stage a:focus-visible,
.stage button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; box-shadow: none; }

.stage__deco { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.stage__staff {
  position: absolute;
  left: -10%;
  right: -10%;
  top: clamp(36px, 8vw, 110px);
  height: 65px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 100% 16px;
  transform: rotate(-4deg);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%, #000 80%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40%, #000 80%, transparent 100%);
}
.stage__note {
  position: absolute;
  color: var(--gold);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(30px, 5vw, 76px);
  line-height: 1;
  opacity: 0.22;
}
.stage__note--1 { right: 7%; top: 9%; rotate: -12deg; }
.stage__note--2 { right: 21%; top: 30%; font-size: clamp(20px, 3vw, 46px); opacity: 0.15; }
.stage__note--3 { right: 3%; top: 44%; opacity: 0.12; }
.stage__note--4 { left: 52%; top: 5%; font-size: clamp(18px, 2.4vw, 34px); opacity: 0.14; }
@media (prefers-reduced-motion: no-preference) {
  .stage__note { animation: stage-float 8s ease-in-out infinite alternate; }
  .stage__note--2 { animation-delay: -2s; }
  .stage__note--3 { animation-delay: -5s; }
  .stage__note--4 { animation-delay: -3.5s; }
}
@keyframes stage-float { to { translate: 0 -12px; } }

.stage__intro { position: relative; }
.stage__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--gold);
  font-size: clamp(11px, 1.2vw, 12px);
  font-weight: 700;
  letter-spacing: 0.18em;
}
.stage__eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.stage__title {
  margin: 0;
  font-size: clamp(25px, 6.4vw, 54px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.stage__title span,
.stage__title em { display: inline-block; }
.stage__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-2) 0%, var(--gold) 55%, #dc9c52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stage__lead { max-width: 44em; margin: 10px 0 0; color: var(--stage-muted); font-size: clamp(13px, 1.5vw, 16px); line-height: 1.75; }

.stage__stats { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 14px 0 0; }
.stage__stats > div { padding: 0 clamp(14px, 2vw, 26px); border-left: 1px solid rgba(255, 255, 255, 0.2); }
.stage__stats > div:first-child { padding-left: 0; border-left: 0; }
.stage__stats dt { color: var(--stage-muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; }
.stage__stats dd {
  margin: 3px 0 0;
  font-family: var(--font-num), var(--font);
  font-size: clamp(18px, 2.6vw, 30px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stage__stats small { margin-left: 3px; color: var(--stage-muted); font-family: var(--font); font-size: 12px; font-weight: 700; }

.stage__links {
  display: flex;
  gap: 8px;
  margin: 14px calc(var(--gutter) * -1) 0;
  padding: 2px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.stage__links::-webkit-scrollbar { display: none; }
.stage__links a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 15px 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.stage__links a:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--gold); }
.stage__links svg,
.stage__scope svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.stage__links svg { width: 17px; height: 17px; color: var(--gold); }
@media (min-width: 980px) {
  /* PCは件数と探し方ボタンを1行に並べ、注目公演を上へ寄せる */
  .stage__meta { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 40px; margin-top: 22px; }
  .stage__stats,
  .stage__links { margin: 0; }
  .stage__links { flex-wrap: wrap; padding: 0; overflow: visible; }
}

.stage__picks { margin-top: clamp(18px, 3.5vw, 44px); }
.stage__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; margin-bottom: 10px; }
.stage__h2 { margin: 0; font-size: clamp(18px, 2.4vw, 24px); font-weight: 800; letter-spacing: 0.02em; }
.stage__scope {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  margin: 0;
  padding: 3px 11px 3px 8px;
  border-radius: 999px;
  background: rgba(233, 196, 126, 0.15);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
}
.stage__scope svg { width: 14px; height: 14px; }
.stage__scope span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage__more { color: var(--gold-2); font-size: 13px; font-weight: 700; white-space: nowrap; }
.stage__more:hover { text-decoration: underline; }
@media (min-width: 720px) {
  .stage__head { display: flex; flex-wrap: wrap; }
  .stage__more { margin-left: auto; }
}

/* ---------- 注目公演カルーセル ---------- */
.showcase { position: relative; }
.showcase__track {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 6px var(--stage-pad) 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--stage-pad);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.showcase__track::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { .showcase__track { cursor: grab; } }
.showcase__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.showcase__track.is-dragging .showcase__slide { pointer-events: none; }

.showcase__slide {
  position: relative;
  flex: 0 0 calc(100% - 30px);
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(4, 9, 30, 0.45), 0 2px 6px rgba(4, 9, 30, 0.25);
  scroll-snap-align: start;
  -webkit-user-drag: none;
  transition: transform 0.2s ease;
}
.showcase__slide:has(.showcase__title a:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (hover: hover) { .showcase__slide:hover { transform: translateY(-3px); } }
@media (min-width: 640px) { .showcase__slide { flex-basis: min(78%, 640px); } }
@media (min-width: 980px) { .showcase__track { gap: 20px; } .showcase__slide { flex-basis: calc((100% - 20px) / 2); } }
@media (min-width: 1500px) { .showcase__slide { flex-basis: calc((100% - 40px) / 3); } }

/* ポスターは切り取らず全体を見せ、余白は同じ画像のぼかしで埋める */
.showcase__poster {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, hsl(var(--hue, 210) 45% 72%), hsl(calc(var(--hue, 210) + 40) 40% 52%));
}
.showcase__poster::before { content: ""; display: block; padding-top: 138%; }
.showcase__backdrop,
.showcase__img { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-user-drag: none; }
.showcase__backdrop { object-fit: cover; transform: scale(1.25); filter: blur(16px) saturate(1.2) brightness(0.92); }
.showcase__img { object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28)); }
.showcase__noimg { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, 0.85); font-size: 56px; }

.showcase__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 13px 12px 12px 13px; }
.showcase__when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; }
.showcase__date { font-family: var(--font-num), var(--font); font-size: clamp(19px, 2vw, 24px); font-weight: 800; line-height: 1.15; letter-spacing: 0.01em; }
.showcase__date small { margin-left: 2px; font-family: var(--font); font-size: 0.6em; font-weight: 700; }
.showcase__date.is-sat small { color: #2f63c8; }
.showcase__date.is-sun small { color: #cf3f3a; }
.showcase__time { color: var(--ink-2); font-family: var(--font-num), var(--font); font-size: 12.5px; font-weight: 700; }
.showcase__badge { align-self: center; padding: 0 8px; border-radius: 999px; background: var(--accent-2); color: #fff; font-size: 11px; font-weight: 800; line-height: 1.7; }
.showcase__badge--next { background: #d98b1f; }
.showcase__countdown { min-height: 21px; margin: 0; }
.showcase__countdown .countdown { display: inline; padding: 2px 6px; border-radius: 6px; background: var(--accent-soft); font-size: 11px; line-height: 1.9; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (min-width: 640px) { .showcase__countdown .countdown { padding: 2px 8px; font-size: 11.5px; } }
.showcase__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 2px 0 0;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.showcase__title a { color: inherit; -webkit-user-drag: none; }
.showcase__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.showcase__title a:focus-visible { outline: 0; }
@media (hover: hover) { .showcase__slide:hover .showcase__title a { color: var(--accent); } }
.showcase__venue { overflow: hidden; margin: 0; color: var(--ink-2); font-size: 12.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.showcase__venue::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 2px; background: var(--gold); vertical-align: 2px; }
.showcase__line,
.showcase__copy {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.showcase__copy { color: var(--ink); font-size: 13px; font-weight: 700; }
.showcase__label { display: inline-block; margin-right: 6px; padding: 0 5px; border-radius: 4px; background: var(--surface-2); color: var(--muted); font-size: 10.5px; font-weight: 800; line-height: 1.7; vertical-align: 1px; }
.showcase__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: auto 0 0; padding-top: 6px; }
.showcase__distance { display: flex; min-width: 0; color: var(--accent); font-size: 12px; font-weight: 700; white-space: nowrap; }
.showcase__distance::before { content: "📍"; margin-right: 2px; font-size: 0.9em; }
/* 地名が長いときは地名だけを省略し、距離は必ず見せる */
.showcase__from { display: none; overflow: hidden; min-width: 0; text-overflow: ellipsis; }
.showcase__cta {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0;
  box-shadow: 0 4px 10px rgba(49, 95, 189, 0.3);
}
.showcase__cta::after { content: "›"; font-size: 20px; line-height: 1; transform: translate(1px, -1px); }
@media (min-width: 640px) {
  .showcase__body { gap: 7px; padding: 18px 18px 16px 20px; }
  .showcase__line { font-size: 13px; }
  .showcase__venue { font-size: 13.5px; }
  .showcase__cta { display: inline-flex; align-items: center; width: auto; height: auto; gap: 4px; padding: 7px 12px 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 800; }
  .showcase__cta::after { font-size: 16px; transform: none; }
}
@media (min-width: 1180px) { .showcase__from { display: block; } }

.showcase__nav { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 var(--gutter); }
.showcase__arrow {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.showcase__arrow:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.18); }
.showcase__dots { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; min-width: 0; }
.showcase__dot { position: relative; width: 20px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
.showcase__dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, background 0.2s ease;
}
.showcase__dot[aria-current]::before { width: 16px; background: var(--gold); }
@media (max-width: 719px) {
  .showcase__dot { width: 9px; height: 24px; }
  .showcase__dot::before { width: 5px; height: 5px; }
  .showcase__dot[aria-current]::before { width: 8px; }
}
.showcase__count { min-width: 4.2em; color: rgba(255, 255, 255, 0.7); font-family: var(--font-num), var(--font); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }

.showcase__empty { margin: 0 var(--stage-pad); padding: 28px 20px; border: 1px dashed rgba(255, 255, 255, 0.3); border-radius: 16px; color: var(--stage-muted); text-align: center; }

/* 読み込み中の枠（完成形と同じ骨組み） */
.showcase--loading .showcase__track { overflow: hidden; cursor: default; }
.showcase--loading .showcase__slide { background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.showcase--loading .showcase__poster { background: rgba(255, 255, 255, 0.08); }
.showcase--loading .showcase__body { gap: 12px; min-height: 300px; padding-top: 22px; }
.sk { display: block; height: 14px; border-radius: 6px; background: rgba(255, 255, 255, 0.16); }
.sk--s { width: 45%; height: 22px; }
.sk--m { width: 70%; }
@media (prefers-reduced-motion: no-preference) {
  .showcase--loading .showcase__slide { animation: showcase-pulse 1.3s ease-in-out infinite alternate; }
}
@keyframes showcase-pulse { from { opacity: 0.55; } to { opacity: 1; } }

/* ---------- 以降のセクション ---------- */
.page-home .row__title,
.page-home .discovery h2 { position: relative; padding-left: 14px; font-size: clamp(18px, 2.3vw, 24px); font-weight: 800; letter-spacing: 0.02em; }
.page-home .row__title::before,
.page-home .discovery h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold) 0%, #d9824e 50%, var(--accent) 100%);
}
.page-home .discovery h2 { margin: 0.5rem 0 0.6rem; }
.page-home .discovery h2 + p { color: var(--muted); font-size: 14px; }
.page-home .home-map { padding-top: clamp(16px, 3vw, 32px); }
.page-home .public-map--home { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-2); }

/* カテゴリ・作曲家: 名前を画像の上に重ねる */
.page-home .artwork-grid a { position: relative; border: 0; border-radius: 16px; box-shadow: var(--shadow-1); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.page-home .artwork-grid a:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.page-home .artwork-grid a > span:not(.artwork-placeholder) {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(10, 16, 40, 0.82));
  color: #fff;
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.page-home .artwork-grid small { color: rgba(255, 255, 255, 0.82); }
.page-home .artwork-placeholder { display: grid; place-items: center; color: #c9b48f; }
@media (max-width: 600px) {
  /* スマホは2列で縦に長くなるため、横スクロールの1行にする */
  .page-home .artwork-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 40%;
    gap: 10px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .page-home .artwork-grid::-webkit-scrollbar { display: none; }
  .page-home .artwork-grid li { scroll-snap-align: start; }
  .page-home .artwork-grid a > span:not(.artwork-placeholder) { font-size: 13px; }
}

.page-home .discovery-links a { border: 0; border-radius: 12px; box-shadow: var(--shadow-1); font-weight: 700; transition: box-shadow 0.15s ease, color 0.15s ease; }
.page-home .discovery-links a:hover { color: var(--accent); box-shadow: var(--shadow-2); }
.page-home .discovery-links span { padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
@media (max-width: 600px) {
  .page-home .discovery-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .page-home .discovery-links a { padding: 0.6rem 0.65rem; font-size: 14px; }
  .page-home .discovery-links span { padding: 0 6px; font-size: 11px; }
}

.page-home .concert-links > li { position: relative; overflow: hidden; padding: 16px 16px 14px 20px; border: 0; border-radius: 14px; box-shadow: var(--shadow-1); }
.page-home .concert-links > li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold), var(--accent)); }
.page-home .concert-links__date { color: var(--accent); font-family: var(--font-num), var(--font); font-size: 0.85rem; }
.page-home .concert-links h3 a:hover { color: var(--accent); }

.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.faq__item { padding: 18px 18px 16px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-1); }
.faq__item h3 { position: relative; margin: 0 0 8px; padding-left: 34px; font-size: 1rem; line-height: 1.6; }
.faq__item h3::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22357c, #0b1330);
  color: var(--gold);
  font-family: var(--font-num), var(--font);
  font-size: 13px;
  font-weight: 800;
}
.faq__item p { margin: 0; color: var(--ink-2); font-size: 0.92rem; line-height: 1.85; }
.faq__item a { color: var(--accent); text-decoration: underline; }
