@charset "utf-8";

/* スワイパー　基本
---------------------------------------------------- */
.swiper-wrapper img {margin: 0 auto;}
.swiper-wrap {
    position: relative;
    overflow: hidden;
    margin: 0 calc(50% - 50vw);
    max-width: 100vw;

}
.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);
    }
}

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

/* スライド画像のアニメーション
---------------------------------------------------- */
.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-family: serif;
    font-weight: bold;
    font-size: 3vw;
    color: #fff;
    text-shadow: 2px 2px 8px #000;
    transform: translate(-50%, -50%);
}

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

/* タブレット～PC
---------------------------------------------------- */
/* タブレット～PC */
@media print, screen and (min-width: 768px) {
  .swiper-wrapper,
  .slide-img {
    height: 100vh;
  }
  .slide-img img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position:18% 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 {
  position: relative;
}

/* 1
---------------------------------------------------- */
@media only screen and (max-width: 767px)  {
#mainimage h2{
  position: absolute;
  z-index: 5;  
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 自身の幅と高さの半分だけ戻す */
  margin: 0;
  width: 300px;
  transition-duration: 300ms;  
	}	
}
@media print, screen and (min-width: 768px){
#mainimage h2{
  position: absolute;
  z-index: 5;  
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: 500px;
  transition-duration: 300ms;  
	}	
}
@media print, screen and (min-width: 1200px){
#mainimage h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: 750px;
  }
}

/* --- メインタイトル 動き --- */
.title01 {
  opacity: 0;
}

.title01.show {
  animation: fadeUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    margin-top: 30px;
  }
  100% {
    opacity: 1;
    margin-top: 0;
  }
}

/* スクロール
---------------------------------------------------- */
.mainscroll {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
}
.mainscroll a {
    display: block;
    position: relative;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    letter-spacing: .2em;
    text-decoration: none;
    padding-bottom: 150px;
    text-align: center;
}
.mainscroll a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 120px;
    background: #fff;
    transform: translateX(-50%);
    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%;
    }
}