@keyframes mvAnimation {
    0%{
        left: 0;
        width: 140%;
    }
    50%{
        left: -40%;
        width: 140%;
    }
    60%{
        left: -40%;
        width: 140%;
    }
    100%{
        left: 0;
        width: 100%;
    }
}
@keyframes mvAnimationSP {
    0%{
        left: 0;
        width: 400%;
    }
    60%{
        left: -300%;
        width: 400%;
    }
    70%{
        left: -300%;
        width: 400%;
    }
    100%{
        left: -120%;
        width: 300%;
    }
}

#banner {
  position: fixed;
  right: 60px;
  bottom: 60px;
  z-index: 10;
  box-shadow: 4px 4px 24px rgba(0, 0, 0, 0.15);
  transition: 500ms all ease-in;
}
#banner.hide{
  opacity: 0;
  right: -340px;
}
#banner > div {
  position: absolute;
  right: -8px;
  top: -8px;
}
#banner > div a {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #D3B673;
}
#banner > div a::before,
#banner > div a::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1px;
  background: #000;
}
#banner > div a::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
#banner > div a::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
#banner > p {
  margin: 0;
}
#banner > p a {
  display: flex;
  align-items: center;
  width: 280px;
  padding: 20px;
  background: #fff;
  font-weight: 500;
  line-height: 2.5;
}
#banner > p a:hover {
  opacity: 1;
}
#banner > p a img {
  width: 80px;
  flex-shrink: 0;
}
#banner > p a > span {
  padding-left: 20px;
  padding-bottom: 5px;
  color: #222222;
  line-height: 1;
}
#banner > p a > span > span {
  margin-bottom: 5px;
  padding-left: 3px;
  color: #D3B572;
  font-size: 40px;
  font-weight: 600;
}

.swiper-slide{
  height: 100vh;
  background-color: #fff;
}

.swiper-slide > div {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 120%;
  background: url(..../images/index/kv-01.jpg) 50% 50% no-repeat;
  background-size: cover;
  transform: translate(-45%, -50%);
  transition: all 8000ms linear 1000ms;
}

.swiper-slide.swiper-slide-active > div{
  transform: translate(-55%, -50%);
  transition: all 8000ms linear;
}

.main-img > span.title {
  z-index: 10;
}


@media screen and (min-width: 813px){
  .main-img {
    position: relative;
    height: 100vh;
  }
  .main-img .kv.pc-only{
    position: absolute;
    left: 0;
    top: 50%;
    width: 140%;
    max-width: 9999px;
    height: auto;
    transform: translate(0, -50%);
  }
  .main-img.active .kv.pc-only{
    animation: mvAnimation 4000ms ease-in-out 500ms forwards;
  }
}


@media screen and (max-width: 812px){
  .main-img {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  .main-img .kv.sp-only{
    position: absolute;
    left: 0;
    top: 50%;
    width: 400%;
    max-width: 99999px;
    height: auto;
    transform: translate(0, -50%);
  }
  .main-img.active .kv.sp-only{
    animation: mvAnimationSP 6000ms ease-in-out 500ms forwards;
  }

  #banner {
    right: 23px;
    bottom: 23px;
  }
  #banner.hide{
    right: -263px;
  }    
  #banner > p a {
    width: 240px;
    padding: 15px 20px;
  }

  #banner > p a img {
    width: 56px;
  }
  #banner > p a > span > span {
    font-size: 34px;
  }

}
  