/* スライドショー

====================================================*/
#mainVisual .swiper-wrap {
    width: 100vw;
    height: 80vh;
}

#mainVisual .swiper {
    height: 80vh;
    background-color: #F2F5F7;
}

#mainVisual .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100vw;
    height: 80vh;
}

#mainVisual .swiper-slide a {
    display: block;
    width: 100vw;
    height: 80vh;
}
#mainVisual .swiper-slide span.img-pc,
#mainVisual .swiper-slide span.img-sp{
    height: 100%;
	text-align:center;
}
#mainVisual .swiper-slide img {
    height: 100%;
    width: auto;
	max-width:inherit !important;
}
@media screen and (max-width:786px) {
    #mainVisual .swiper-slide img {
        /*height: auto;*/
    }
}
#mainVisual .swiper-slide span.curtain {
    top: 0;
    bottom: 0;
    left: 0;
    left: 0;
    position: absolute;
    z-index: 12;
    height: 100%;
    background: #fff;
    display: block;
}

@supports (-webkit-touch-callout: none) {
    #mainVisual .swiper-wrap,
    #mainVisual .swiper-slide,
    #mainVisual .swiper-slide img{
        height: -webkit-fill-available;
    }
}
/*  */

/* prev / next */
#mainVisual .swiper-button-next,
#mainVisual .swiper-button-prev {
    color: #fff !important;
}

#mainVisual .swiper-button-prev::after,
#mainVisual .swiper-button-next::after {
    text-shadow: 0 0px 5px rgba(0, 0, 0, .5);
}

@media screen and (max-width:786px) {

    #mainVisual .swiper-button-next,
    #mainVisual .swiper-button-prev {
        display: none;
    }
}




/* 下部プログレスバー */

#mainVisual .swiper-pagination-wrap {
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    z-index: 10;
    /* bottom: var(--swiper-pagination-bottom, 22px); */
    bottom: 50px;
    top: var(--swiper-pagination-top, auto);
    left: 50%;
    transform: translateX(-50%) translate3d(0, 0, 0);
    /* max-width: 1432px; */
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 24px;
    padding-left: 32px;
}



#mainVisual .swiper-pagination {
    position: relative !important;
    display: flex;
    justify-content: center;
}

#mainVisual .swiper-pagination-bullets.swiper-pagination-horizontal {
    display: flex;
    justify-content: space-between;
    /* max-width: 1050px; */
    padding-left: 40px;
}


#mainVisual .swiper-pagination-bullet {
    background: #fff !important;
    position: relative;
    box-shadow: 0 0px 3px rgba(0, 0, 0, .5);

    border-radius: 0 !important;
    height: 2px !important;
    /* width: 100% !important; */
    width: calc(100% - 20px);
    /* background-color: rgba(255, 255, 255, .2) !important; */
    background-color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    display: flex;
    align-items: center;
    margin-right: 16px;
}

#mainVisual .swiper-pagination-bullet::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 100%;
    box-shadow: 0 0px 3px rgba(0, 0, 0, .5);
    background-color: rgba(255, 255, 255, 0.5);
    margin-left: -20px;
}

.swiper-pagination-bullet-active.swiper-pagination-bullet::before {
    background-color: #fff !important;
}

#mainVisual .swiper-pagination-bullet-active>span {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: 2px;
    display: block;
    background-color: #fff;
}

#mainVisual .swiper-horizontal>.swiper-pagination-bullets,
#mainVisual .swiper-pagination-bullets.swiper-pagination-horizontal,
#mainVisual .swiper-pagination-custom,
#mainVisual .swiper-pagination-fraction {
    top: 0 !important;
    bottom: inherit !important;
}


#mainVisual .swiper-pagination-bullet-active {
    background-color: rgba(255, 255, 255, .2) !important;
    opacity: 1 !important;
}




/* 停止/再生ボタン */
#mainVisual .swiper .stopbtn {
    cursor: pointer;
    position: absolute;
    left: 16px;
    z-index: 100;
    /* border: 2px solid #fff; */
    width: 26px;
    height: 26px;
    opacity: 0.8;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 0 3px rgba(0, 0, 0, .5);
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, .8));
}

#mainVisual .swiper .stopbtn:hover {
    opacity: 1;
}

#mainVisual .swiper .stopbtn.stop::before,
#mainVisual .swiper .stopbtn.stop::after {
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 2px;
    height: 14px;
    box-sizing: border-box;
    background-color: currentColor;
    content: "";
    border-radius: 14px;
}

#mainVisual .swiper .stopbtn.stop::before {
    left: 40%;
}

#mainVisual .swiper .stopbtn.stop::after {
    left: 60%;
}

#mainVisual .swiper .stopbtn.start:before {
    content: "▶";
    font-size: 14px;
}


#mainVisual .scroll {
    writing-mode: vertical-rl;
    color: #FFF;
    font-family: 'Lucida Grande';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    text-shadow: 0 0 3px rgba(0, 0, 0, .5);
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, .8));
    display: flex;
    align-items: center;
    cursor: pointer;
}

#mainVisual .scroll::after {
    content: '';
    width: 2px;
    height: 52px;
    background-color: #fff;
    margin-top: 6px;
    margin-bottom: -52px;
}


/* スマホ用画像 : 非表示 */
.img-sp {
    display: none;
}

@media screen and (max-width:786px) {
    #mainVisual .swiper-pagination,
    #mainVisual .stopbtn {
        display: none !important;
    }
    #mainVisual .swiper-pagination-wrap{
        justify-content:end;
    }
    .img-sp {
        display: flex;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

    .img-pc {
        display: none;
    }

    #mainVisual .swiper-pagination-bullet {
        width: 35px !important;
    }

    #mainVisual .swiper-pagination-bullet[aria-current="true"]::after,
    #mainVisual .swiper-pagination-bullet::before,
    #mainVisual .swiper-pagination-bullet::after {
        width: 35px;
    }

    @keyframes progress {
        0% {
            width: 0;
        }

        100% {
            width: 35px;
        }
    }
}

@media screen and (max-width:380px) {
    #mainVisual .swiper-pagination-bullet {
        width: 25px !important;
    }

    #mainVisual .swiper-pagination-bullet[aria-current="true"]::after,
    #mainVisual .swiper-pagination-bullet::before,
    #mainVisual .swiper-pagination-bullet::after {
        width: 25px;
    }

    @keyframes progress {
        0% {
            width: 0;
        }

        100% {
            width: 25px;
        }
    }
}


@media screen and (max-width:786px) {
    .single-swiper .swiper-wrapper {
        flex-direction: column;
    }
}