a:hover {
  opacity: 1;
}

.movie_section {
  position: relative;
}

.movie_section::before {
  content: '';
  aspect-ratio: 84/257.7;
  width: calc(84 * var(--window-width));
  height: calc(257.7 * var(--window-width));
  background: url(../img/movie/sec_title_movie.svg) center center / cover no-repeat;
  position: absolute;
  top: 0;
  left: 0;
}

.movie_page {
  padding: 65px 0 150px;
  background-color: #C9C9C9;
}

.movie_page .main_head_mv {
  margin-bottom: 100px;
  background: url(../img/movie/head_mv.jpg) top center / auto 100% no-repeat;
}

.movie_page .movie_list {
  display: flex;
  flex-wrap: wrap;
  gap: min(calc(60 * var(--window-width)), 60px);
}

.movie_page .movie_list .movie_container {
  width: min(calc(480 * var(--window-width)), 480px);
  height: auto;
}

.movie_page .movie_list .movie_container .title {
  font-size: 15px;
  font-weight: bold;
  margin-top: 20px;
}

.movie_page .movie_list .movie_container .date {
  font-size: 15px;
  margin-top: 10px;
}

.movie_page .movie_list .movie_item {
  width: min(calc(480 * var(--window-width)), 480px);
  height: min(calc(270 * var(--window-width)), 270px);
  cursor: pointer;
  position: relative;
}

.movie_page .movie_list .movie_item::before {
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.movie_page .movie_list .movie_item:hover:before {
  opacity: 1;
}

.movie_page .movie_list .movie_item:hover::after {
  content: '';
  width: min(calc(40 * var(--window-width)), 40px);
  height: min(calc(40 * var(--window-width)), 40px);
  background: url(../img/icon_open_in_new.svg) center center / 50% no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}


@media screen and (max-width: 800px) {
  .movie_section .inner_wrapper {
    width: calc(290 * var(--window-width));
    margin: auto;
  }
  .movie_section::before {
    width: auto;
    height: calc(129.7 * var(--window-width));
  }

  .movie_page {
    padding: 40px 0 80px;
  }

  .movie_page .movie_list .movie_item:hover::after {
    width: min(calc(30 * var(--window-width)), 30px);
    height: min(calc(30 * var(--window-width)), 30px);
  }

  .movie_page .main_head_mv {
    aspect-ratio: 390/220;
    margin-bottom: 50px;
    background: url(../img/movie/head_mv_sp.jpg) top center / auto 100% no-repeat;
  }
}