@charset "utf-8";
.preload-img {
  display: none;
}
#mv {
  width: 100vw;
  padding: 0;
}
.is-sp #mv {
  position: static;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
}
#mv.hide {
  z-index: 1;
}
.mv-wrap {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.is-sp .mv-wrap {
  min-width: initial;
}
@media screen and (max-width: 750px) { /*sp*/
  .mv-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 0;
  }
  .mv-inner.mv-slide {
    height: 100vh; /*koko*/
  }
  .mv-inner.mv-slide.show {
    /*height: 40vh;*/ /*koko*/
	  height: 56.25%;
  }
  .mv-inner.mv-loading {
    height: 100vh;
  }
}
@media screen and (min-width: 751px) { /*pc+tb*/
  .mv-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 0;
  }
}
.mv-loading {
  height: 100vh;
  opacity: 0;
  transition: opacity 1s;
  display: -webkit-flex; /* Safari */
  display: flex;
  -webkit-justify-content: center; /* Safari */
  justify-content: center;
}
.mv-loading.show {
  opacity: 1;
  background: #fff;
  z-index: 1000;
}
.mv-loading-inner {
  position: relative;
  width: 500px;
  height: 100vh;
}
.mv-loading img {
  position: absolute;
  /*top: 0;
  bottom: 0;*/
  top: 40%;
  margin: auto;
}
.mv-loading.hide2, .mv-loading.hide2 > mv-inner {
  display: none;
}
@media screen and (min-width:751px) and (max-width:1240px) { /* iPad */
  .mv-inner.mv-slide.show {
    /*height: 50vh;*/ /*koko*/
	height: 56.25%;
  }
.mv-loading-inner {
    position: relative;
    width: 200px;
    height: 100vh;
}
.mv-loading img {
	width: 200px;
    position: absolute;
    top: 40%;
    margin: auto;
}
}
  @media screen and (max-width: 750px) {
    .mv-loading-inner {
      width: 60vw;
    }
    .mv-loading img {
      width: 100%;
      top: 35%;
    }
  }
  .mv-loading-inner::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1, 1);
    transform-origin: right center;
    transition-property: transform;
    transition-duration: 1.5s;
  }
  .mv-loading .mv-loading-inner.close::after {
    transform: scale(0, 1);
  }
  .mv-logo {
    z-index: 1;
    opacity: 0;
    transition: opacity 1s;
  }
  .mv-logo.show {
    opacity: 1;
  }
  .mv-logo img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
  }
  .is-sp .mv-logo img {
    /*width: 84.5%;
  top: auto;
  bottom: 27px;*/
  }
  @media screen and (max-width: 750px) { /*sp*/
    .mv-slide {
      opacity: 0;
      transition: opacity 2s;
      box-sizing: border-box;
      position: relative;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      width: 100vw;
    }
    .logoimg {
      animation: fadein-keyframes 2s ease 0s 1 forwards;
    }
  }
  @media screen and (min-width: 751px) { /*pc+tb*/
    .mv-slide {
      opacity: 0;
      transition: opacity 2s;
      box-sizing: border-box;
      position: relative;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      height: 100vh;
      width: 100vw;
    }
  }
  .mv-slide.show {
    opacity: 1;
  }
  #contents {
    position: relative;
    z-index: 997;
    opacity: 0;
  }
  #contents.show {
    display: block;
    opacity: 1;
  }
  .scroll-fade {
    opacity: 0;
    transform: translateY(40px);
    transition-property: all;
    transition-duration: 2s;
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  }
  .scroll-fade.show {
    opacity: 1;
    transform: translateY(0);
  }
  .fadeout {
    animation: fadein-keyframes 3s ease 0s 1 forwards;
  }
  @keyframes fadein-keyframes {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  /************slider**************************/
#vegasSlider {
  background-size: cover;
  width: 100%;
  /*padding-bottom: 56.25%;*/
  padding-bottom: 70%;
  height: 0px;
  background-position: left top;
  background-image: url("../img/slide/top/top3-sp.jpg");
  background-repeat: no-repeat;
  overflow: hidden;
}
  @media screen and (max-width: 748px) { /*sp*/
    #vegasSlider {
      width: 100%;
/*padding-bottom: 56.25%;*/
padding-bottom:70%;
height:0px;              /*高さはpaddingで指定するためheightは0に*/
    background-image: url("../img/slide/top/top3-sp.jpg");
    }
  }
@media screen and (min-width:749px) and (max-width:1240px) { /* iPad */
    #vegasSlider {
      width: 100%;
padding-bottom: 65%; 
height:0px; 
/*margin-top:51px;*/
    background-image: url("../img/slide/top/top3-tb.jpg");
  background-position: top center;
    }
}
 @media screen and (min-width: 1241px) and (max-width:1430px) { /*pc*/
    #vegasSlider {
      width: 100%;
      /*height: 100vh;*/
    padding-bottom: 60%;
    height:0px;
    background-image: url("../img/slide/top/top3-tb.jpg");
    background-position: center top;
    }
     .mv-slide.show{
         height: 100%;
     }
  }
 @media screen and (min-width: 1431px) { /*pc*/
    #vegasSlider {
      width: 100%;
      height: 100vh;
      padding-bottom:0;
      background-position: center top;
      background-image: url("../img/slide/top/top3-pc.jpg");
      overflow: hidden;
    }
  }