/* ========== CAST Section ========== */
.cast-section {
  background-color: var(--color-dark-2);
  padding: 80px 0 80px;
}

/* ヘッダー */
.cast-section__header {
  text-align: center;
  margin-bottom: 48px;
}

.cast-section__heading {
  font-family: var(--font-kozuka);
  font-size: 75px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.08em;
  line-height: 1;
}

.cast-section__subheading {
  font-family: "Noto Serif JP", serif;
  font-size: 23px;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.1em;
  margin-top: 12px;
}

/* 写真グリッド（横スクロール） */
@keyframes cast-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.cast-section__scroll-wrap {
  overflow: hidden;
  width: 100%;
}

.cast-section__grid {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  width: max-content;
  animation: cast-scroll 60s linear infinite;
}

.cast-section__item {
  flex: 1;
  height: 500px;
  overflow: hidden;
}

.cast-section__link {
  display: block;
  width: 100%;
  height: 100%;
}

.cast-section__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.cast-section__item:hover img {
  transform: scale(1.04);
}

/* フッターボタン（#707070 背景） */
.cast-section__footer .cta-btn--outline,
.cast-section__footer .cta-btn--fill {
  background-color: #707070;
  color: var(--color-white);
  border: none;
}

/* フッター */
.cast-section__footer {
  padding: 48px 0 0;
  display: flex;
  justify-content: center;
}

/* ========== Mobile ========== */
@media (max-width: 768px) {
  .cast-section {
    padding: 40px 0;
  }

  .cast-section__header {
    margin-bottom: 24px;
  }

  .cast-section__heading {
    font-size: 36px;
  }

  .cast-section__subheading {
    font-size: 16px;
  }

  .cast-section__grid {
    gap: 8px;
    animation-duration: 60s;
  }

  .cast-section__item {
    width: 200px;
    flex-shrink: 0;
    height: 280px;
  }

  .cast-section__footer {
    padding-left: 16px;
    padding-right: 16px;
  }
}
