@charset "UTF-8";

body.modal-open {
  overflow: hidden; /* スクロールを無効にする */
}

#movie {
  background-color: #f5f9fa;
  padding-top: 1rem;
  padding-bottom: 60px;
  overflow-x: hidden;
}
@media screen and (min-width: 1024px) {
  #movie {
    padding-bottom: 80px;
    overflow-x: auto;
  }
}
#movie .btn.btn-primary {
  margin: 0 auto;
}
#movie h1.top-title {
  margin: 30px 0 30px;
}
@media screen and (min-width: 1024px) {
  #movie h1.top-title {
    margin: 54px 0 57px;
  }
}
.l-movie__noticeText {
  font-size: 16px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 20px;
  margin-top: -6px;
}
@media screen and (min-width: 1024px) {
  .l-movie__noticeText {
    margin-bottom: 30px;
    margin-top: -30px;
  }
}

.l-movie__button {
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  background: #0E6B82;
  transform: none;
}
@media screen and (min-width: 1024px) {
  .l-movie__button {
    width: 38px;
    height: 38px;
    top: 35%;
  }
}
.l-movie__buttonPrev {
  left: -45px;
}
@media screen and (min-width: 1024px) {
  .l-movie__buttonPrev {
    left: -26px;
  }
}
.l-movie__buttonPrev::before {
  content: "";
  position: absolute;
  left: 29%;
  width: 0;
  height: 0;
  border-top: 6.5px solid transparent;
  border-bottom: 6.5px solid transparent;
  border-right: 11px solid #FFF;
}
@media screen and (min-width: 1024px) {
  .l-movie__buttonPrev::before {
    left: 30%;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 13px solid #FFF;
  }
}
.l-movie__buttonNext {
  right: -45px;
  left: auto;
}
@media screen and (min-width: 1024px) {
  .l-movie__buttonNext {
    right: -26px;
  }
}
.l-movie__buttonNext::before {
  content: "";
  position: absolute;
  left: 37%;
  width: 0;
  height: 0;
  border-top: 6.5px solid transparent;
  border-bottom: 6.5px solid transparent;
  border-left: 11px solid #FFF;
}
@media screen and (min-width: 1024px) {
  .l-movie__buttonNext::before {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid #FFF;
    left: 38%;
  }
}
.l-movie__wrap {
  width: 100%;
  max-width: 1080px;
  padding: 0 16px;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}
@media screen and (min-width: 430px) {
  .l-movie__wrap {
    width: 300px;
  }
}
@media screen and (min-width: 1024px) {
  .l-movie__wrap {
    padding: 0;
    width: 100%;
    max-width: 1140px;
  }
}
.l-movie__wrap .splide {
  width: 255px;
  margin-bottom: 40px;
}
@media screen and (min-width: 1024px) {
  .l-movie__wrap .splide {
    margin-bottom: 0;
    width: 300px;
    width: 100%;
  }
}
.l-movie__wrap .splide__slide {
  padding-top: 0;
}
.l-movie__list {
  margin-top: 10px;
  margin-bottom: 60px;
}
@media screen and (min-width: 1024px) {
  .l-movie__list {
    margin-bottom: 78px;
  }
}
.l-movie__item {
  width: 255px;
  padding: 0 2px 0;
  height: -moz-fit-content;
  height: fit-content;
}
@media screen and (min-width: 430px) {
  .l-movie__item {
    width: 285px;
  }
}
@media screen and (min-width: 1024px) {
  .l-movie__item {
    width: 486px;
    transition: box-shadow 400ms ease, background-color 400ms ease, z-index 400ms ease, transform 400ms ease;
    padding: 0 30px 30px;
    margin-bottom: 45px;
  }
  .l-movie__item:hover {
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.16);
    background-color: #F4F8F9;
  }
}
.l-movie__item .wistia_embed {
  pointer-events: none;
}
.l-movie__itemTitle {
  font-size: 23px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  margin: 0 0 10px;
  line-height: 1;
}
@media screen and (min-width: 1024px) {
  .l-movie__itemTitle {
    font-size: 25px;
    text-align: left;
  }
}
.l-movie__itemText {
  font-weight: 700;
  font-size: 110%;
  line-height: 1.6;
  margin: 0;
}
.l-movie__itemTime {
  font-size: 80%;
  margin-top: 5px;
}
.l-movieModal {
  width: 100%;
  height: 100%;
  z-index: 10001;
  pointer-events: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transition: 0.2s;
}
.l-movieModal.is-show {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.l-movieModal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 22px;
  background: rgba(51, 51, 51, 0.75);
}
.l-movieModal__content {
  width: calc(100% - 70px);
  max-width: 360px;
  max-height: calc(100vh - 50px);
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #FFF;
}
@media screen and (min-width: 1024px) {
  .l-movieModal__content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 840px;
  }
}
@media screen and (min-width: 1366px) {
  .l-movieModal__content {
    max-width: 76.5625vw;
  }
}
.l-movieModal__close {
  position: absolute;
  z-index: 1;
  top: -23px;
  right: -23px;
  width: 46px;
  height: 46px;
  background: #0E6B82;
  border-radius: 50%;
  border: none;
}
@media screen and (min-width: 1024px) {
  .l-movieModal__close {
    top: -30px;
    right: -30px;
    width: 60px;
    height: 60px;
  }
}
.l-movieModal__close:before {
  content: "×";
  font-weight: 900;
  font-size: 28px;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 1024px) {
  .l-movieModal__close:before {
    content: "×";
    font-weight: 900;
    font-size: 30px;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
.l-movieModal__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.recommend_movie .wistia_responsive_padding{
  pointer-events: none;
}
.movie_list .wistia_responsive_padding{
  pointer-events: none;
}
/* 2025年4月 動画一覧ページ用追加 */
@media screen and (min-width: 1024px) {
  .recommend_movie:hover{
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.16);
    background-color: #F4F8F9;
  }
  ul.movie_list li:hover{
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.16);
    background-color: #F4F8F9;
  }
  ul.movie_list li .wistia_responsive_padding{
    pointer-events: none;
  }
  ul.movie_list{
    padding-left: 0px;
  }
  ul.movie_list li{
    margin-right: 0;
    margin-bottom: 30px;
    width: calc(100% / 3);
    padding: 0 30px 30px;

  }
  .recommend_movie{
    padding-left: 30px;
    padding-right: 30px;
    width: calc(40% + 60px);
  }
}
