/* メインビジュアル */
.mv {
  position: relative;
  width: 100vw;
  height: 75vh;
  overflow: hidden;
}
.mv::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 62%);
  backdrop-filter: blur(8px);
  z-index: 1;
}
.bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hook_txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.lottie-animation {
  width: 70%; /* 必要に応じて調整 */
  height: auto;
  animation: fadeInLottie 0.5s ease-out 10s forwards;
  margin: 0 auto 4em;
}
@keyframes fadeInLottie {
  to {
    opacity: 1;
  }
}
.hook_txt p {
  font-size: 1.4rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 4.6s ease, transform 2.6s ease;
}
.hook_txt p.show {
  opacity: 1;
  transform: translateY(0);
}

/* カルーセル部分 */
.carouselBox {
  padding: 7em 0em;
  background-color: #dce9ed;
  overflow: hidden;
}
.carousel_read {
  padding: 0 2em;
}
.carouselBox h3 {
  line-height: 1.8;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 3em;
  font-size: 1.4rem;
}
.carouselWrapper {
  overflow: hidden;
  position: relative;
}
.carouselLineup {
  display: flex;
  gap: 3rem;
  animation: scrollCarousel 20s linear infinite;
}
.carouselLineup li {
  flex-shrink: 0;
}
.imageContainer {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 10px;
}
.imageContainer img {
  width: 800px;
  height: auto;
  display: block;
  transition: all 0.4s ease;
}
.imageContainer .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 暗くする */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.imageContainer:hover img {
  transform: scale(1.05);
}
.imageContainer:hover .overlay {
  opacity: 1;
}
@keyframes scrollCarousel {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
.carouselLineup:hover {
  animation-play-state: paused;
}

/* タブレット */
@media screen and (max-width: 768px) {
  .hook_txt p {
    font-size: 1.6rem;
  }
.carouselBox h3 {
    line-height: 1.5;
    font-size: 1.5rem;
}
.imageContainer img {
    width: 580px;
}
}

/* スマホ */
@media screen and (max-width: 480px) {
.hook_txt {
    width: 80%;
}
.hook_txt p {
  font-size: 1.3rem;
}
.carouselBox h3 {
    line-height: 1.8;
    font-size: 1.3rem;
}
.imageContainer img {
    width: 300px;
 }

}