/*=====================
WORKS詳細ページ動画用
2024.11.15
=====================*/
/*==================================
モーダルウィンドウ
==================================*/
.mv_modal_wrap {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: none;
}

.mv_modal_wrap .mv_modal_bg {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0,0,0,0.98);
  top: 0;
  left: 0;
  z-index: 0;
  transition: backdrop-filter 0.5s;
}

.mv_modal_wrap.-open .mv_modal_bg {
  backdrop-filter: blur(16px);
}

.mv_modal_wrap .mv_modal_close {
  width: 60px;
  height: 60px;
  position: absolute;
  top: -80px;
  right: 30px;
  z-index: 1;
  cursor: pointer;
  transition: all 0.3s;
}
@media screen and (max-width: 767px) {
  .mv_modal_wrap .mv_modal_close {
    width: 30px;
    height: 30px;
    top: -50px;
    right: 15px;
  }
}

.mv_modal_wrap .mv_modal_close::before {
  content: "";
  width: 100%;
  height: 2px;
  background-color: #FFF;
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  left: 50%;
}
.mv_modal_wrap .mv_modal_close:after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: #FFF;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 50%;
}

.mv_modal_wrap .mv_modal_close:hover {
  opacity: 0.7;
}

.mv_modal_wrap .mv_modal_box {
  width: 100%;
  height: 100%;
  max-width: 1000px;
  max-height: 667px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .mv_modal_wrap .mv_modal_box {
    max-width: 90%;
    max-height: 50vw;
  }
}

.mv_modal_wrap .mv_modal_box .yt_player,
.mv_modal_wrap .mv_modal_box .mp4_player {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.mv_modal_wrap .mv_modal_box .yt_player iframe,
.mv_modal_wrap .mv_modal_box .mp4_player video {
  width: 100%;
  height: 100%;
}

/* スライダー */
.works_galler_area .thumbnail .-mov figure {
  transition: all 0.5s;
  position: relative;
  cursor: pointer;
}

.works_galler_area .thumbnail .-mov figure:hover {
  opacity: 0.7;
}

.works_galler_area .thumbnail .-mov.-playbtn figure::before {
  content: "";
  width: 60px;
  height: 60px;
  background-image: url(../images/movie_btn.png);
  background-position: center;
  background-repeat:no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
