/* コンサートシリーズ専用スタイル */

/* セクション全体のスタイル */
.concert-series-section {
  width: 100%;
  padding: 80px 3%;
  overflow: hidden;
}

.concert-series-container {
  margin: 0 auto;
  padding: 80px 120px;
  background-color: #dee6f0; 
  border-radius: 20px;
}

/* セクションタイトルスタイル */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.section-title-en {
  font-family: "BIZ UDPGothic", sans-serif !important;
  font-size: 16px;
  color: var(--color-label-blue); /* 青色 - 画像に合わせて */
  margin-bottom: 8px;
  font-weight: 700;
}

.section-title-ja {
  font-size: 40px;
  font-weight: 700;
  color: #002C6C; /* ブランドカラー */
  margin: 0;
  position: relative;
  display: inline-block;
  letter-spacing: 0.05em;
}

/* コンテンツコンテナ */
.concert-content-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: stretch; /* 高さを揃えるために追加 */
}

/* テキストコンテンツ部分 */
.concert-text-content {
  flex: 0 0 35%;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
}

.concert-title {
  font-size: 28px;
  font-weight: bold;
  color: #002C6C;
  margin-bottom: 20px;
  line-height: 1.4;
}

.concert-description {
  font-size: 16px;
  line-height: 1.8;
  color: #000000;
  margin-bottom: 30px;
  flex-grow: 1; /* テキストが少ない場合でもボタンを下に配置 */
}

/* ボタンエリアのクラス名修正 */
.concert-series-more {
  margin-top: auto; /* テキストエリアの下部に配置 */
}

/* イメージスライダー部分 */
.concert-image-slider {
  flex: 0 0 60%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.image-slider-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-slider-track {
  display: flex;
  width: fit-content;
  animation: scrollImages 20s linear infinite;
}

/* スライド停止のためのアニメーション一時停止 */
.image-slider-container:hover .image-slider-track {
  animation-play-state: paused;
}

/* 画像スライド */
.image-slide {
  position: relative;
  margin-right: 10px;
  overflow: hidden;
  border-radius: 5px;
  /* height: 350px; を削除または以下のように変更 */
  height: auto; /* 画像比率に応じて自動調整 */
  min-height: 250px; /* 最低限の高さを確保 */
  max-height: 400px; /* 最大高さの制限（必要に応じて） */
  display: flex;
  justify-content: center;
}

.image-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像比率を維持しながら領域を埋める */
  display: block;
  position: relative;
}

/* スライダーアニメーション */
@keyframes scrollImages {
  0% {
    transform: translateX(0);
  }
  100% {
    /* オリジナルのスライド分だけ移動（クローン開始位置まで） */
    transform: translateX(-50%);
  }
}

@media screen and (min-width: 769px) {
  .image-slide {
    width:350px !important;
  }
}

@media screen and (max-width: 1100px) {
  .concert-title {
    font-size: 22px;
    margin-bottom: 15px;
  }
  
  .concert-description {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

/* モバイル対応（768px以下） */
@media screen and (max-width: 768px) {
  /* セクション全体のスタイル調整 */
  .concert-series-section {
    padding: 80px 0 80px;
  }
  
  .concert-series-container {
    padding: 60px 0;
    margin: 0 15px;
  }
  
  /* セクションタイトル調整 */
  .section-title-wrapper {
    margin-bottom: 30px;
  }
  
  .section-title-en {
    font-size: 16px;
  }
  
  .section-title-ja {
    font-size: 28px;
  }
  
  /* コンテンツを縦並びに変更 */
  .concert-content-container {
    flex-direction: column;
    gap: 25px;
  }
  
  /* 画像スライダーを上部に配置 */
  .concert-content-container {
    display: flex;
    flex-direction: column-reverse;
  }
  
  /* テキストコンテンツ幅調整 */
  .concert-text-content {
    flex: 0 0 100%;
    padding-top: 0;
    padding: 0 20px;
  }
  
  /* 画像スライダー調整 */
  .concert-image-slider {
    flex: 0 0 100%;
    margin-bottom: 10px;
  }
  
  /* 画像サイズの調整 - 1枚大きく表示し次の画像が少し見える */
  .image-slide {
    width: 85%; /* JavaScriptで動的に設定される値と合わせる */
    margin-right: 5px;
  }
}