@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: 60px auto 0;
    width: calc(100% - 30px);
    max-width: 100vw;
    height: 80vh;
    max-height: 100vh;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
  }

  .swiper-wrap .swiper-container-4 {
    height: 100%;
  }

  .swiper-wrap .swiper-wrapper {
    height: 100%;
  }

  .swiper-wrap .swiper-slide {
    height: 100%;
  }

  /* ↓ ここが今まで抜けていた */
  .swiper-wrap .slide-img {
    height: 100%;
  }

  .swiper-wrap .slide-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

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

@media print, screen and (min-width: 992px) {
.swiper-wrap {
  margin: 40px auto 0;
  width: calc(100% - 80px);
  max-height: 84vh;
  }
}

@media print, screen and (min-width: 1200px) {
.swiper-wrap {
  margin: 40px auto 0;
  }
}


@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 print, screen and (min-width: 768px){
.slide-img img{
	object-fit: cover;
	width: 100vw;  
	height:100vh;
	}
}

.bg_separate_01{
  margin-top: 30px;
  background:#0b986f;
  padding:1px 0 20px 0;
  }
@media print, screen and (min-width: 768px) {
.bg_separate_01{
  margin-top: 70px;
  background:#0b986f;
  padding:1px 0 40px 0;
  }
}

/* #mainimage h2
---------------------------------------------------- */
@media only screen and (max-width: 767px) {
#mainimage h2 {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 15%;
  transform: translateX(-50%);
  white-space: nowrap;
  width: 110px;
  transition-duration: 300ms;  
  }
}
@media print, screen and (min-width: 768px){
#mainimage h2{
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 25%;
  transform: translateX(-50%);
  white-space: nowrap;
  width: 110px;
  transition-duration: 300ms;  
	}	
}
@media print, screen and (min-width: 1200px){
#mainimage h2{
  left: 50%;
  top: 20%;
  width: 130px;
	}
}
@media print, screen and (min-width: 1600px){
#mainimage h2{
  left: 50%;
  top: 20%;
  width: 158px;
	}
}

/* #mainimage h3
---------------------------------------------------- */
@media only screen and (max-width: 767px)  {
#mainimage h3{
  position: absolute;
  z-index: 1;
  left: 50%;
	bottom: 10px;
  transform: translateX(-50%);
  white-space: nowrap;
  width: 350px;
  transition-duration: 300ms;  
	}	
}
@media print, screen and (min-width: 768px){
#mainimage h3{
  position: absolute;
	z-index: 1;  
	right:5%;
  left: 50%;
	bottom: 20px;
  transition-duration: 300ms;  
	}	
}
@media print, screen and (min-width: 1200px){
#mainimage h3{
	right:5%;
  left: 60%;
	bottom: 20px;
	}
}
@media print, screen and (min-width: 1600px){
#mainimage h3{
	right:5%;
  left: 68%;
	bottom: 8%;
	}
}