@charset "utf-8";

/* スワイパー　基本
---------------------------------------------------- */
.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;
	}
}

/* 小型モバイル（0px 〜 500px） */
@media only screen and (max-width: 500px) {
.swiper-wrap {
  margin: 58px auto 0; /* pxは上余白 */
  width: calc(100% - 20px); /* pxは左右同じ余白合計 */
  max-width: 100vw;
  max-height: 100vh;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
	}
}

/* 大型モバイル（501px 〜 767px） */
@media only screen and (min-width: 501px) and (max-width: 767px) {
.swiper-wrap {
  margin: 75px auto 0; /* pxは上余白 */
  width: calc(100% - 20px); /* pxは左右同じ余白合計 */
  max-width: 100vw;
  max-height: 100vh;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
	}
}

@media print, screen and (min-width: 768px) {
.swiper-wrap {
  margin:80px auto 0; /* pxは上余白 */
  width: calc(100% - 35px); /* pxは左右同じ余白合計 */
  max-width: 100vw;
  max-height: 100vh;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  }
}
@media print, screen and (min-width: 992px) {
.swiper-wrap {
  margin:80px auto 0; /* pxは上余白 */
  width: calc(100% - 35px); /* pxは左右同じ余白合計 */
  max-width: 100vw;
  max-height: 100vh;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  }
}
@media print, screen and (min-width: 1200px) {
.swiper-wrap {
  margin:70px auto 0; /* pxは上余白 */
  }
}
@media print, screen and (min-width: 1600px) {
.swiper-wrap {
  margin: 70px auto 0; /* pxは上余白 */
  width: calc(100% - 35px); /* pxは左右同じ余白合計 */
  max-width: 100vw;
  max-height: 100vh;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  }
}
@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%);
}

@media only screen and (max-width: 767px)  {
.swiper-wrapper,
.slide-img { height:67vh;}
.slide-img > img {
    object-fit: cover;
    object-position: right center;
    width: 100%;
    height: 100%;
	}
}

@media print, screen and (min-width: 768px){
.swiper-wrapper,
.slide-img { height: 70vh;}
.slide-img img{
	object-fit: cover;
	width: 100vw;  
	height:100vh;
	}
}

@media print, screen and (min-width: 992px){
.swiper-wrapper,
.slide-img { height: 100vh;}
.slide-img img{
	object-fit: cover;
	width: 100vw;  
	height:100vh;
	}
}

/* ----------------------------------------------------
  #mainimage
---------------------------------------------------- */
#mainimage{
  background-image: url("../images/bg_main.jpg");
  padding-top: 10px;
  padding-bottom: 10px;  
}
@media print, screen and (min-width: 768px) {
#mainimage{
  padding-top: 20px;
  padding-bottom: 20px;
  }
}
@media print, screen and (min-width: 1200px) {
#mainimage{
  padding-top: 30px;
  padding-bottom: 30px;
  }
}

/* h2
---------------------------------------------------- */
#mainimage h2{
  position: absolute;
	z-index: 5;
	top: 38%;
	left: 5%;
	right:5%;
  font-size: 26px;
  line-height: 36px;
  text-align: center;
  color: #fff;
	}
#mainimage h2 span{
  display: inline-block;
  padding-top: 10px;
  font-size: 17px;
  line-height: 27px;  
	}

@media print, screen and (min-width: 768px){
#mainimage h2{
  position: absolute;
	z-index: 5;
	top: 40%;
	left: 5%;
	right:5%;
  font-size: 32px;
  line-height: 42px;
  text-align: left;
	}
#mainimage h2 span{
  padding-top: 10px;
  font-size: 20px;
  line-height: 35px;
	}
}

@media print, screen and (min-width: 992px){
#mainimage h2{
	top: 40%;
	left: 5%;
	right:5%;
  font-size: 35px;
  line-height: 45px; 
	}
#mainimage h2 span{
  font-size: 20px;
  line-height: 35px;
	}
}

@media print, screen and (min-width: 1200px){
#mainimage h2{
	top: 40%;
	left: 5%;
	right:5%;
  font-size: 35px;
	}
#mainimage h2 span{
  font-size: 22px;
  line-height: 37px;  
	}  
}

@media print, screen and (min-width: 1400px){
#mainimage h2{
  font-size: 40px;
	}
#mainimage h2 span{
  padding-top: 15px;
  font-size: 25px;
  line-height: 39px;  
	}  
}

/* スクロール
---------------------------------------------------- */
.mainscroll {
    position: absolute;
    bottom: 0%;
    left:47%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    z-index: 1;
}

.mainscroll a {
    display: inline-block;
    position: absolute;
    bottom: 0;
    z-index: 100;
    padding: 10px 10px 170px;
    overflow: hidden;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    letter-spacing: .2em;
    text-decoration: none;
}

.mainscroll a::after {
    content: '';
    position: absolute;
    bottom: 0%;
    left: 50%;
    width: 1px;
    height: 150px;
    background: #fff;
}

.mainscroll a::after {
    animation: sdl 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }

    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }

    50.1% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }

    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}

.swiper-button-next,
.swiper-button-prev{z-index: 200!important; position: absolute!important;}