.navbar {
  position: sticky;
  top: 0;
  background-color: #1f1f1f;
  padding: 10px 0;
  text-align: center;
  z-index: 1000;
}

.navbar a {
  color: white;
  margin: 0 20px;
  text-decoration: none;
  font-size: 18px;
}

.navbar a:hover {
  text-decoration: underline;
}

h1 {
    margin: 0;
    font-size: 48px;
    background-color: #1f1f1f;
    color: #ffffff;
    padding: 0;
}
h2 {
    font-size: 24px;
    background-color: #1f1f1f;
    color: #ffffff;
    padding: 8px 14px;
}
p {
    color: #ffffff;
    padding: 14px 14px 14px 14px;
}

.live-info {
  display: flex;
  justify-content: space-around;
  background: #f8f8f8;
  padding: 1em;
  border-radius: 8px;
  font-family: 'Helvetica Neue', sans-serif;
  margin-bottom: 2em;
}

.info-block {
  text-align: center;
}

.label {
  display: block;
  font-weight: bold;
  color: #727272;
  margin-bottom: 0.3em;
}

.value {
  font-size: 1.1em;
  color: white;
}

.program-table {
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 1rem;
  text-align: center;
  width: 80%;
  max-width: 600px;
  color: white;
}

.program-table td {
  padding: 0.5em 1em;
  border-bottom: 1px solid #ccc;
}

.subtle {
  color: #888; /* グレーで目立たなくする */
  font-size: 0.9em; /* 少し小さく */
  font-style: italic; /* お好みで */
}

.section-label {
  font-weight: bold;
  background-color: #737373;
}

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #303030;
}

.band-card {
  background-color: #1f1f1f;
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
  width: 300px;
  text-align: center;
  color: white;
  position: relative;
}

.band-image {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.player-bar {
  background-color: #444;
  height: 8px;
  border-radius: 4px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.player-bar .progress {
  background-color: #00ffcc;
  width: 60%;
  height: 100%;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 10px 0;
}

.controls i {
  font-size: 30px;
  cursor: pointer;
  cursor: pointer;
  color: white;
  transition: transform 0.2s ease;
}

.controls i:hover {
  transform: scale(1.2);
}

.controls .play {
  font-size: 28px;
}

#song-title {
  min-height: 150px; /* 高さはお好みで調整可能 */
  color: rgb(182, 182, 182);
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: pre-line;
}

#band-name {
  font-size: 22px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 0px;
  color: white;
}

/*アニメーション用*/
.image-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.band-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 1;
}

.band-image.slide-out-left {
  transform: translateX(-100%);
  opacity: 0;
}

.band-image.slide-out-right {
  transform: translateX(100%);
  opacity: 0;
}

.band-image.slide-in-left {
  transform: translateX(-100%);
  opacity: 0;
}

.band-image.slide-in-right {
  transform: translateX(100%);
  opacity: 0;
}

.band-image.active {
  transform: translateX(0);
  opacity: 1;
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.band-image.slide-in-left {
  animation: slideInFromLeft 0.4s forwards;
}

.band-image.slide-in-right {
  animation: slideInFromRight 0.4s forwards;
}
