@charset "utf-8";

/* mainimage
---------------------------------------------------- */
.swiper-wrapper img {
  margin: 0 auto;
}
.swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
  bottom: 0px !important;
}
@media print, screen and (min-width: 1200px) {
  .swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 10px !important;
  }
}

/* ====================================================
   スマホ
==================================================== */
@media only screen and (max-width: 767px) {
  .swiper-wrap {
    margin: 0px auto 0;
    width: 100%;
    max-width: 100vw;
    height: 90vh;
    position: relative;
    overflow: hidden;
    border-radius: 0;
  }
  .swiper-wrap .swiper, .swiper-wrap .swiper-container, .swiper-wrap .swiper-wrapper, .swiper-wrap .swiper-slide, .swiper-wrap .slide-img {
    height: 100% !important;
    width: 100% !important;
  }
  .swiper-wrap img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
  }
}

/* ====================================================
   タブレット・PC
==================================================== */
@media print, screen and (min-width: 768px) {
  .swiper-wrap {
    margin: 0 0 0 auto;
    width: calc(100% - 150px);
    max-width: 100vw;
    max-height: 65vh;
    position: relative;
    overflow: hidden;
    border-radius: 0;
  }
}
@media print, screen and (min-width: 1200px) {
  .swiper-wrap {
    width: calc(100% - 350px);
    max-width: 100vw;
    max-height: 100vh;
  }
}
@media print, screen and (min-width: 768px) {
  .slide-img img {
    object-fit: cover;
    width: 100%;
    height: 100vh;
  }
}

/* ====================================================
   アニメーション
==================================================== */
@keyframes zoom-in {
  0% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
.swiper-slide-active .slide-img, .swiper-slide-duplicate-active .slide-img, .swiper-slide-prev .slide-img {
  animation: zoom-in 10s linear 0s 1 normal both;
}
.slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 3vw;
  font-family: serif;
  font-weight: bold;
  text-shadow: 2px 2px 8px #000;
  color: #fff;
  transform: translate(-50%, -50%);
}

/* mainimage
---------------------------------------------------- */
#mainimage {
  position: relative;
  width: 100%;
  background: #111;
  /*  padding-bottom: 100px;*/  
}

/* mainimage h1
---------------------------------------------------- */
@media only screen and (max-width: 767px) {
  #mainimage h1 {
    position: absolute;
    z-index: 2; /* 最前面に */
    top: 50%;
    left: 20px;
    right: 20px;
    margin: 0;
  }
}
@media print, screen and (min-width: 768px) {
  #mainimage h1 {
    position: absolute;
    z-index: 2;
    top: 60%;
    left: 40px;
    width: 443px;
    transition-duration: 300ms;
  }
}
@media print, screen and (min-width: 992px) {
  #mainimage h1 {
    top: 65%;
    left: 40px;
    width: 500px;
  }
}
@media print, screen and (min-width: 1200px) {
  #mainimage h1 {
    top: 60%;
    left: 100px;
    width: 643px;
  }
}