@charset "UTF-8";
.mv_wrap {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  background-color: rgba(0,0,0,.8);
}
/* slide */
.mv_inner {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.mv_inner.sp {
  display: none;
}
.mv_left {
  width: 33.3333%;
  height: 100vh;
  overflow: hidden;
}
.mv_cnt {
  width: 33.3333%;
  height: 100vh;
  overflow: hidden;
}
.mv_right {
  width: 33.3333%;
  height: 100vh;
  overflow: hidden;
}
.mv_slide {
  position: relative;
  width: 100%;
}
.mv_item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}
.mv_img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transform: scale(1.2) translateY(0);
}
.mv_left .mv_img{
  clip-path: polygon(0% 100%,100% 100%,100% 100%,0% 100%);
}
.mv_right .mv_img{
  clip-path: polygon(0% 100%,100% 100%,100% 100%,0% 100%);
}
.mv_cnt .mv_img{
  clip-path: polygon(0% 0%,100% 0%,0% 0%,0% 100%);
}

.mv_left .mv_item.before .mv_img {
  position: relative;
  z-index: 2;
  clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
  animation-name: mvSlide_before_right;
  animation-duration: 7.5s;
  animation-fill-mode: forwards;
  transition-timing-function: linear;
}
.mv_left .mv_item.active .mv_img {
  position: relative;
  z-index: 3;
  animation-name: mvSlide_right;
  animation-duration: 3s;
  transition-timing-function: linear;
}

.mv_right .mv_item.before .mv_img {
  position: relative;
  z-index: 2;
  clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
  animation-name: mvbefore_right;
  animation-duration: 5s;
  animation-fill-mode: forwards;
  transition-timing-function: linear;
}
.mv_right .mv_item.active .mv_img {
  position: relative;
  z-index: 3;
  animation-name: mvSlide_right;
  animation-duration: 3s;
  transition-timing-function: linear;
}
.mv_cnt .mv_item.before .mv_img {
  position: relative;
  z-index: 2;
  clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
  animation-name: mvSlide_before_cnt;
  animation-duration: 7.5s;
  animation-fill-mode: forwards;
  transition-timing-function: linear;
}
.mv_cnt .mv_item.active .mv_img {
  position: relative;
  z-index: 3;
  animation-name: mvSlide_left;
  animation-duration: 3s;
  transition-timing-function: linear;
}


@keyframes mvSlide_left {
  0% {
    clip-path: polygon(0% 0%,100% 0%,100% 0%,0% 0%);
    transform: scale(1.2) translateY(0);
  }
  50% {
    clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
  }
  100% {
    clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
    transform: scale(1.2) translateY(30px);
  }
}
@keyframes mvSlide_before_cnt {
  0% {
    transform: scale(1.2) translateY(30px);
  }
  100% {
    transform: scale(1.2) translateY(100px);
  }
}
@keyframes mvSlide_left_sp {
  0% {
    clip-path: polygon(0% 0%,0% 0%,0% 100%,0% 100%);
    transform: scale(1.2) translateX(0);
  }
  50% {
    clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
  }
  100% {
    clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
    transform: scale(1.2) translateX(30px);
  }
}
@keyframes mvSlide_before_cnt_sp {
  0% {
    transform: scale(1.2) translateX(30px);
  }
  100% {
    transform: scale(1.2) translateX(100px);
  }
}

@keyframes mvSlide_right {
  0% {
    clip-path: polygon(0% 100%,100% 100%,100% 100%,0% 100%);
    transform: scale(1.2) translateY(70px);
  }
  50% {
    clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
  }
  100% {
    clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
    transform: scale(1.2) translateY(0px);
  }
}
@keyframes mvSlide_before_right {
  0% {
    transform: scale(1.2) translateY(0px);
  }
  100% {
    transform: scale(1.2) translateY(-30px);
  }
}
@keyframes mvSlide_right_sp {
  0% {
    clip-path: polygon(100% 0%,100% 0%,100% 100%,100% 100%);
    transform: scale(1.2) translateX(70px);
  }
  50% {
    clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
  }
  100% {
    clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
    transform: scale(1.2) translateX(0px);
  }
}
@keyframes mvSlide_before_right_sp {
  0% {
    transform: scale(1.2) translateX(0px);
  }
  100% {
    transform: scale(1.2) translateX(-30px);
  }
}

@media screen and (max-width: 768px) {
  /* slide */
  .mv_inner {
    width: 100%;
    display: block;
    /* justify-content: flex-start;
    align-items: center; */
  }
  .mv_inner.pc {
    display: none;
  }
  .mv_inner.sp {
    display: block;
  }
  .mv_top {
    width: 100%;
    height: 50vh;
    overflow: hidden;
  }
  .mv_btm {
    width: 100%;
    height: 50vh;
    overflow: hidden;
  }
  .mv_slide {
    position: relative;
    width: 100%;
  }
  .mv_item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
  }
  .mv_img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    position: relative;
    z-index: 1;
    transform: scale(1.2) translateY(0);
    clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
  }
  
  .mv_top .mv_item.before .mv_img {
    position: relative;
    z-index: 2;
    clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
    animation-name: mvSlide_before_top_sp;
    animation-duration: 7.5s;
    animation-fill-mode: forwards;
    transition-timing-function: linear;
  }
  .mv_top .mv_item.active .mv_img {
    position: relative;
    z-index: 3;
    animation-name: mvSlide_top_sp;
    animation-duration: 3s;
    transition-timing-function: linear;
  }
  
  .mv_btm .mv_item.before .mv_img {
    position: relative;
    z-index: 2;
    clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
    animation-name: mvSlide_before_btm_sp;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    transition-timing-function: linear;
  }
  .mv_btm .mv_item.active .mv_img {
    position: relative;
    z-index: 3;
    animation-name: mvSlide_btm_sp;
    animation-duration: 3s;
    transition-timing-function: linear;
  }
  
  @keyframes mvSlide_top_sp {
    0% {
      clip-path: polygon(0% 0%,0% 0%,0% 100%,0% 100%);
      transform: scale(1.2) translateX(0);
    }
    50% {
      clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
    }
    100% {
      clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
      transform: scale(1.2) translateX(30px);
    }
  }
  @keyframes mvSlide_before_top_sp {
    0% {
      transform: scale(1.2) translateX(30px);
    }
    100% {
      transform: scale(1.2) translateX(100px);
    }
  }
  
  @keyframes mvSlide_btm_sp {
    0% {
      clip-path: polygon(100% 0%,100% 0%,100% 100%,100% 100%);
      transform: scale(1.2) translateX(70px);
    }
    50% {
      clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
    }
    100% {
      clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%);
      transform: scale(1.2) translateX(0px);
    }
  }
  @keyframes mvSlide_before_btm_sp {
    0% {
      transform: scale(1.2) translateX(0px);
    }
    100% {
      transform: scale(1.2) translateX(-30px);
    }
  }  
}