.banner {
  position: relative;
  width: 400px;
  height: 280px;
  overflow: hidden;
  border-bottom: 3px solid #0ff;
  box-shadow: 0 0 20px #0ff;
  margin-bottom: 40px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: brightness(70%);
}

.slide.active {
  opacity: 1;
}

.neon-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0ff;
  font-size: 1.5rem;        /* 半分サイズ */
  font-weight: bold;
  text-align: center;
  letter-spacing: 2px;
  text-shadow:
    0 0 5px #0ff,
    0 0 10px #0ff,
    0 0 20px #0ff,
    0 0 40px #0ff,
    0 0 80px #0ff;
  animation: neonGlow 1.5s ease-in-out infinite alternate;
}

@keyframes neonGlow {
  from {
    text-shadow:
      0 0 5px #0ff,
      0 0 10px #0ff,
      0 0 20px #0ff,
      0 0 40px #0ff;
  }
  to {
    text-shadow:
      0 0 20px #0ff,
      0 0 40px #0ff,
      0 0 80px #0ff,
      0 0 100px #0ff;
  }
}

.banner a {
  position: absolute;
  inset: 0;
  z-index: 10;
}
