.hero-copy-shell.section-shell {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #050f23;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 72svh, 760px);
  display: flex;
  align-items: center;
}

/* Slideshow */
.hero-ss {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-ss-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}

.hero-ss-slide.is-active {
  opacity: 1;
}

/* コピー可読性確保のための暗幕(スクリム) */
.hero-copy-shell.section-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(5, 15, 35, 0.35) 0%, rgba(5, 15, 35, 0.55) 100%),
    radial-gradient(ellipse at center, rgba(5, 15, 35, 0.15) 0%, rgba(5, 15, 35, 0.6) 100%);
}

.hero-kv::before {
  content: "";
  position: absolute;
  inset: -18% 20% 30% -10%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.5), transparent 60%);
  filter: blur(8px);
  animation: kvGlowSweep 14s ease-in-out infinite;
  pointer-events: none;
}

.hero-visual img {
  width: auto;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1600 / 1068;
  max-height: calc(100vh - 180px);
  box-shadow: 0 20px 40px rgba(8, 35, 52, 0.18);
  margin :0 auto;
  align-self: center;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 12% -20px 12%;
  height: 22px;
  filter: blur(16px);
  background: rgba(14, 106, 169, 0.36);
  z-index: -1;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1360px, 94vw);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 110px) clamp(20px, 5vw, 80px) clamp(52px, 6vw, 80px);
  color: #fff;
  text-align: center;
}

.hero-copy::before {
  display: none;
}

.hero-keymessage {
  margin: 0 0 28px;
}

.hero-keymessage img {
  display: block;
  width: min(640px, 100%);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 4px 28px rgba(0, 0, 0, 0.55));
}

.hero-lead {
  margin: 0 auto;
  max-width: 52ch;
  font-size: clamp(0.92rem, 1.45vw, 1.12rem);
  line-height: 2;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 2px 14px rgba(0, 0, 0, 0.7);
}

.hero-lead strong {
  color: #ffd36b;
  font-weight: var(--fw-bold);
}

.hero-lead ruby {
  ruby-align: center;
}

.hero-lead rt {
  font-size: 0.5em;
  font-weight: var(--fw-medium);
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.next-live-card[hidden] {
  display: none;
}

/* MEMBER等の他セクションと横幅を揃える。中の各カードは幅100%で親に合わせる */
.live-cards {
  width: min(var(--max), 96vw);
  margin: 0 auto;
}

.live-cards > .next-live-card {
  width: 100%;
  margin: 28px 0;
}

/* PCでは次回配信/前回OAを2カラムで並べ、高さを揃える。どちらか一方しか無い時は1カラムに戻す */
@media (min-width: 921px) {
  .live-cards:has(#next-live:not([hidden])):has(#previous-live:not([hidden])) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

}

.next-live-body {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 28px);
}

.next-live-thumb {
  flex-shrink: 0;
  width: 260px;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 14px;
  /* サムネはニコ生の番組サムネ(16:9)と配信者アイコン(1:1)の両方があり得るため、
     切り抜かずに全体を収める */
  object-fit: contain;
  background: var(--slate-100, #f1f5f9);
}

.next-live-info {
  min-width: 0;
}

.next-live-when {
  margin: 0 0 4px;
  color: var(--sky-700);
  font-weight: var(--fw-bold);
  font-size: 1.05rem;
}

/* 配信中は青(次回予告)から赤(ON AIR)へ切り替え、アイコンを点滅させて視認性を上げる */
.next-live-card.is-on-air #next-live-icon {
  color: #ff3b30;
  animation: onAirPulse 1.4s ease-in-out infinite;
}

.next-live-card.is-on-air #next-live-label {
  color: #ff3b30;
}

.next-live-card.is-on-air .next-live-when {
  color: #ff3b30;
}

@keyframes onAirPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.next-live-title {
  margin: 0 0 16px;
  color: var(--slate-800, #1e293b);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.next-live-note {
  margin: 12px 0 0;
  color: var(--slate-600, #475569);
  font-size: 0.82rem;
  line-height: 1.5;
}

.next-live-note a {
  color: var(--sky-700);
  font-weight: var(--fw-semibold);
}

.next-live-desc {
  margin: 0 0 16px;
  color: var(--slate-600, #475569);
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.next-live-desc[hidden] {
  display: none;
}

.next-live-info .cta {
  gap: 8px;
}

.cta.is-disabled {
  cursor: default;
  opacity: 0.58;
  pointer-events: none;
}

@media (max-width: 720px) {
  .next-live-body {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .next-live-thumb {
    width: min(280px, 100%);
  }
}

@media (min-width: 721px) {
  .hero-copy {
    display: flex;
    align-items: center;
    gap: clamp(32px, 4vw, 64px);
    text-align: left;
  }

  .hero-keymessage {
    flex: 0 0 auto;
    margin: 0;
  }

  .hero-keymessage img {
    width: clamp(360px, 38vw, 560px);
    margin: 0;
  }

  .hero-lead {
    margin: 0;
    flex: 1 1 auto;
  }
}

@media (max-width: 720px) {
  .hero-kv.section-shell {
    width: 96vw;
    padding: 8px;
  }

  .hero-visual img {
    border-radius: 16px;
  }

  .hero-copy-shell.section-shell {
    min-height: clamp(420px, 78svh, 560px);
  }

  .hero-copy {
    padding: 36px 20px 36px;
    text-align: center;
  }

  .hero-lead {
    font-size: 0.9rem;
    line-height: 1.8;
    text-align: left;
  }

  .hero-lead br {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero-kv.section-shell {
    width: 97vw;
  }

  .hero-copy-shell.section-shell {
    min-height: 440px;
  }


  .time-range {
    row-gap: 4px;
  }
}
