@charset "UTF-8";

/* 共通 */

.sp_wrap {
  width: 100%;
  overflow: hidden;
}

.sp_wrap::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .sp_wrap::before {
  background-image: url(../img/bg.webp);
}

.no-webp .sp_wrap::before {
  background-image: url(../img/bg.jpg);
}

.sp_header {
  position: relative;
  width: 100%;
  background-color: #000;
}

.sp_header_image {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  line-height: 0;
}

.sp_content {
  width: 90%;
  max-width: 1000px;
  margin: 9rem auto 5rem;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.6);
}

.sp_inner {
  position: relative;
  max-width: 1000px;
  width: 100%;
}

.image_box {
  width: 100%;
  line-height: 0;
  vertical-align: bottom;
}

.image_box:last-child {
  width: 100%;
  margin: 0;
}

@keyframes sp_fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.sp_fadein {
  opacity: 0;
  animation-name: sp_fadein;
  animation-duration: .8s;
  animation-delay: 0.6s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

@media screen and (min-width: 1px) and (max-width: 750px) {
  
  .webp .sp_wrap::before {
    background-image: url(../img/sp_bg.webp);
  }
  
  .no-webp .sp_wrap::before {
    background-image: url(../img/sp_bg.jpg);
  }

  .sp_header {
    padding: 50px 0 0;
  }
  
  .sp_content {
    width: 100%;
    margin: 3.3rem auto 0;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
  }
  
  .webp .sp_content {
    background-image: url(../img/sp_bg_frame.webp);
  }
  
  .no-webp .sp_content {
    background-image: url(../img/sp_bg_frame.jpg);
  }
  
  .sp_inner {
    width: 100%;
    padding: 0;
  }
  
  .image_box {
    margin: 0;
  }
  
}

@media screen and (min-width: 751px) and (max-width: 1024px) {}

@media screen and (min-width: 1025px) {

  .sp_display {
    display: none;
  }

  .alpha a {
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }

  .alpha a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: 'alpha(opacity=70)';
  }

  a.btn_over img {
    -webkit-transition: -weblit-transform 0.3s;
    -o-transition: -o-transform 0.3s;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
  }

  a.btn_over img:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
  }

}