@charset "utf-8";

/* スワイパー　基本
---------------------------------------------------- */
.swiper-wrapper img {margin: 0 auto;}
.swiper-wrap {
    position: relative;
    overflow: hidden;
    margin: 0 calc(50% - 50vw);
    max-width: 100vw;
}
#mainimage {
    position:relative;
}
.swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 0 !important;
}
@media print, screen and (min-width: 1200px) {
    .swiper-container-horizontal > .swiper-pagination-bullets,
    .swiper-pagination-custom,
    .swiper-pagination-fraction {
        bottom: 10px !important;
    }
}
.swiper-button-next,
.swiper-button-prev {
    position: absolute !important;
    z-index: 200 !important;
}
@keyframes zoom-in {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* モバイル
---------------------------------------------------- */
@media only screen and (max-width: 767px) {
.swiper-wrapper,
.slide-img {
  height: 90vh;
  }
.slide-img > img {
    object-fit: cover;
    object-position: 50% center; 
    width: 100%;
    height: 100%;
	}
}

/* タブレット～PC
---------------------------------------------------- */
/* タブレット～PC */
@media print, screen and (min-width: 768px) {
  .swiper-wrapper,
  .slide-img {
    height: 95vh;
  }
  .slide-img img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: 45% center;
  }
}

/* PC　小画面
---------------------------------------------------- */
@media print, screen and (min-width: 1200px) {
    .swiper-wrapper,
    .slide-img {
    height: 100vh;
    }
    .slide-img img {
        height: 100vh;
        object-position:0% center;
    }  
}

/* PC　大画面
---------------------------------------------------- */
@media print, screen and (min-width: 1400px) {
    .swiper-wrapper,
    .slide-img {
        height: 100vh;
    }
    .slide-img img {
        height: 100vh;
        object-position:0% center;
    }
}

/* #mainimage
---------------------------------------------------- */
#mainimage {position: relative;}

@media only screen and (max-width: 767px)  {
#mainimage h2{
  position: absolute;
	z-index: 100;
	top: 30%;
	left: 5%;
	right: 5%;  
	}
#mainimage h2 img{
  width: 400px;
	}  
}

@media print, screen and (min-width: 768px){
#mainimage h2{
  position: absolute;
	z-index: 100;
	top: 36%;
	left: 5%;
	right:20%;
	}
#mainimage h2 img{
  width: 480px;
	}  
}

@media print, screen and (min-width: 992px){
#mainimage h2{
	top: 33%;
	left: 5%;
	right:50%;
	}
#mainimage h2 img{
  width: 550px;
	}  
}

@media print, screen and (min-width: 1200px){
#mainimage h2{
	top: 24%;
	left: 5%;
	right:50%;
	}
#mainimage h2 img{
  width: 665px;
	} 
}