/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

.swiper-container {
    width: 100%;
    margin: 0 auto 120px;
    overflow: hidden;
}
@media screen and (max-width: 979px) {
    .swiper-container {
        margin: 0 auto 60px;
    }
}
.swiper-slide {
    height: auto;
}
.gallery-thumbs {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    /*padding: 10px 0;*/
    margin: 20px 0 30px;
}
.gallery-thumbs .swiper-slide {
    opacity: 0.4;
}
.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #fff;
}
.box {
    /*    height: 100%;*/
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: stretch;
        -ms-flex-pack: stretch;
            justify-content: stretch;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.box img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}


.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 4px;
    background: #fff;
}

.swiper-pagination {
    text-align: right !important;
    margin: 0 0px 20px -60px;
}

@media screen and (max-width: 767px) {
    .swiper-pagination {
        text-align: right !important;
        margin: 0 0px 20px -30px;
    }
}


.swiper-wrapper{
    height: 100%;
}

.progressbar {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: #ddd;
    overflow: hidden;
    z-index: 999;
}

.progressbar_in {
    display: block;
    height: 100%;
    width: 0%;
    background-color: #01738a;
    transition: width linear;
}





.swiper-slide video {
    width: 100%; /* 横幅をスライド幅に合わせる */
    height: 100%; /* 高さをスライド高さに合わせる */
    object-fit: cover; /* トリミングしてビデオを全体に収める */
    object-position: center; /* ビデオの中央を表示 */
}

.swiper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 黒の不透明度30% */
    z-index: 1; /* swiper-wrapperよりも前面に表示 */
}

.swiper-wrapper {
    position: relative;
    z-index: 0; /* オーバーレイの下に表示 */
}




.swiper-button-box{
    position: absolute;
    top: -50px;
    right: 110px;
}
@media screen and (max-width: 979px) {
    .swiper-button-box{
        top: -60px;
    }
}
@media screen and (max-width: 767px) {
    .swiper-button-box{
        top: -55px;
    }
}
.swiper-button-prev{
    left: 0px !important;
    width: 50px !important;
    height: 50px !important;
    background: none !important;
    border-radius:100px;
    border: 1px solid #000;
}
.swiper-button-next{
    left: 60px !important;
    width: 50px !important;
    height: 50px !important;
    background: none !important;
    border-radius:100px;
    border: 1px solid #000;    
}
@media screen and (max-width: 767px) {
    .swiper-button-prev{
        width: 45px !important;
        height: 45px !important;
    }
    .swiper-button-next{
        left: 60px !important;
        width: 45px !important;
        height: 45px !important;
    }
}
.swiper-button-prev::after,
.swiper-button-next::after {
    display: none !important;  /* デフォルトの矢印を非表示 */
}
.swiper-button-prev::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -5px 0 0 -2px;
}
.swiper-button-next::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -5px 0 0 -8px;
}

@media screen and (max-width: 767px) {
    .swiper-button-prev::before {
        width: 10px;
        height: 10px;
        top: 50%;
        left: 50%;
        margin: -5px 0 0 -2px;
    }
    .swiper-button-next::before {
        width: 10px;
        height: 10px;
        top: 50%;
        left: 50%;
        margin: -5px 0 0 -8px;
    }    
}


/* 画像スライド用のアニメーション設定 */
.swiper-slide[data-slide-type="image"] img {
    transition: transform 10s linear; /* 5秒かけて変化 */
    transform: scale(1); /* 初期状態 */
}

.swiper-slide[data-slide-type="image"].swiper-slide-active img {
    transform: scale(1.3); /* アクティブ時に1.1倍に拡大 */
}

/* アニメーションをリセット */
.swiper-slide[data-slide-type="image"]:not(.swiper-slide-active) img {
    transform: scale(1);
    transition: none;
}