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

/* スライド画像のアニメーション
---------------------------------------------------- */
.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: 70vh;}
.slide-img > img {
    object-fit: cover;
    object-position:0% 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; /* 表示位置 */
    }
}

/* メインテキスト
---------------------------------------------------- */
/* 初期状態 */
.title01,
.title02 {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s ease, transform 1s ease;
}

/* 表示状態 */
.title01.show,
.title02.show {
    opacity: 1;
    transform: translateX(0);
}

.title01 {
	background: rgba(153,231,226,0.9);
  padding:15px 20px 15px 20px;
}
.title02 {
	background: rgba(153,231,226,0.9);
  padding: 0 20px 20px 20px;
}

@media print, screen and (min-width: 768px) {
  .title01 {
	background: rgba(153,231,226,0.9);
    padding: 40px 40px 30px 40px;
  }
  .title02 {
	background: rgba(153,231,226,0.9);
    padding: 0 39px 40px 38px;
  }
}

/* メインテキスト　その1
---------------------------------------------------- */
@media only screen and (max-width: 767px) {
.title01 {
    font-family: "Cormorant Garamond", serif;
    position: absolute;
    z-index: 1;
    color: #222;
    width: 290px;  
    bottom: 134px;
    right:0px;
    font-size:28px;
    letter-spacing: 2px;
  }
}

@media print, screen and (min-width: 768px) {
    .title01 {
      font-family: "Cormorant Garamond", serif;
      position: absolute;
      z-index: 1;
      color: #222; 
      width: 400px;
      bottom: 266px;
      right:0px;
      font-size: 40px;
      letter-spacing: 3px;
    }
}

@media print, screen and (min-width: 992px) {
    .title01 {
        width: 450px;
        bottom:354px;
        right:0px;
        font-size: 50px;
    }
}

@media print, screen and (min-width: 1200px) {
    .title01 {
        width: 450px;
        bottom:354px;
        right:0px;
        font-size: 50px;
    }
}

@media print, screen and (min-width: 1400px) {
    .title01 {
        width: 550px;
        bottom:450px;
        right:130px;
        font-size: 70px;
    }
}


/* メインテキスト　その２
---------------------------------------------------- */
@media only screen and (max-width: 767px) {
.title02 {
    font-family: 'Noto serif JP', sans-serif;
    position: absolute;
    z-index: 1;
    color: #222;
    width: 290px;
    bottom: 30px;
    right:0px;
    font-size: 12.8px;
    line-height: 28px;
  }
}

@media print, screen and (min-width: 768px) {
    .title02 {
      font-family: 'Noto serif JP', sans-serif;
      position: absolute;
      z-index: 1;
      color: #222;
      width: 400px;      
      bottom: 130px;
      right:0px;
      font-size: 16px;
      line-height: 32px;
      letter-spacing: 2px;
    }
}

@media print, screen and (min-width: 992px) {
    .title02 {
      width: 450px;      
      bottom: 200px;
      right:0px;
      font-size: 18px;
      line-height: 38px;     
    }
}

@media print, screen and (min-width: 1200px) {
    .title02 {
      width: 450px;      
      bottom: 200px;
      right:0px;
      font-size: 18px;
      line-height: 38px;    
    }
}

@media print, screen and (min-width: 1400px) {
    .title02 {
      width: 550px;
      bottom:290px;
      right:130px;
      font-size: 19px;
      letter-spacing: 5px;       
      line-height: 40px;
    }
}

/* スクロール
---------------------------------------------------- */
.mainscroll {
    font-family: "Cormorant Garamond", serif;
    position: absolute;
    bottom: 0%;
    right:25%;
    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;
    padding: 10px 10px 160px;
    overflow: hidden;
    color: #222;
    font-size: 18px;
    line-height: 1;
    letter-spacing: .2em;
    text-decoration: none;
/*    writing-mode: vertical-lr;*/
    z-index: 1;  
}

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

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