@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-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: 90vh;}
.slide-img > img {
    object-fit: cover;
    object-position:60% 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:60% 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;}

/* メインテキスト
---------------------------------------------------- */
.title_group {
  position: absolute;
  z-index: 1;
  left: 5%;
  right: 5%;
  bottom: 5%;
  display: flex;
  flex-direction: column; /* 縦並び */
  align-items: flex-start;
  gap: 20px;
}

.title01 {margin-right: auto;/* 左寄せ */}
.title02 {margin-left: auto; /* 右寄せ */}

.title01 {max-width: 500px;  transition-duration: 300ms;}   
.title02 {max-width: 500px;  transition-duration: 300ms;}

@media print, screen and (min-width: 768px) {
  .title_group {
    top: auto;
    bottom: 10%;
    left: 8%;
    right:8%;
    gap:40px;    
  }
  .title01 {max-width: 70%;}   
  .title02 {max-width: 60%;}
  
}
@media print, screen and (min-width: 992px) {
  .title_group {
    top: auto;
    bottom: 10%;
    left: 8%;
    right:8%;
    gap: 40px;    
  }
  .title01 {max-width: 65%;}   
  .title02 {max-width: 45%;}  
}

@media print, screen and (min-width: 1200px) {
  .title_group {
    top: auto;
    bottom: 20%;    
    left: 8%;
    right:8%;
    flex-direction: row;   /* 横並び */
    align-items: flex-end; /* 底揃え */
    gap:60px;     
  }
  .title02 {
    display: flex;
    justify-content: flex-end;
  }
}