/* スワイパー　基本
---------------------------------------------------- */
.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: 100vh;
    }
    .slide-img > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

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

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

/* メインテキスト
---------------------------------------------------- */
/* 初期状態 */
.title01,
.title02 {
    position: absolute;
    transform: translate(-50%, -50%) translateY(60px); /* 要素の中心点を基準に画面中央に置く、さらに初期位置が60px下になる */
    z-index: 2;
    opacity: 0;
    color: #fff;
    text-align: center;
    transition: opacity 1s ease, transform 0.7s ease;
    max-width: 90vw;   /* ← ビューポートの90%までOK */
    white-space: nowrap; /* ← 折り返し防止 */
}
.title01 img{max-width: 80vw;}

/* 表示状態 */
.title01.show,
.title02.show {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

/* メインテキスト　その1
---------------------------------------------------- */
.title01 {
  top: 40%;
  left: 50%;
}

/* メインテキスト　その２
---------------------------------------------------- */
.title02 {
  top: 47%;
  left: 50%;
  font-size: 16px;
  line-height: 36px;
  letter-spacing: 5px;
}

@media print, screen and (min-width: 768px) {
    .title02 {
        font-size: 18px;
        line-height: 38px;
    }
}