﻿:root {
    --color-green: #00af9a;
}

.banner-wrapper ul,
.banner-wrapper li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.banner-wrapper img {
    width: 100%;
    border-radius: 10px;
}

.banner-wrapper .swiper {
    overflow: visible;
}

.banner-wrapper {
    margin: 0 auto;
    position: relative;
}

    .banner-wrapper .swiper-container {
        width: 100%;
        position: relative;
    }

    .banner-wrapper .swiper-slide {
        transform: scale(1);
        opacity: 1;
        background-color: #fff;
        transition-property: transform, opacity;
        transition-duration: 0.3s;
    }

    .banner-wrapper .swiper-container .swiper-slide a:hover {
        opacity: 0.7;
    }

@media only screen and (max-width: 950px) {
    .banner-wrapper img {
        border-radius: 0;
    }
}

@media only screen and (max-width: 750px) {
    .banner-wrapper .swiper-container .swiper-slide {
        transition-duration: 0.8s;
    }
}

/*手機取消hover效果*/
@media only screen and (max-width: 576px) {
    .banner-wrapper .swiper-container .swiper-slide a:hover {
        opacity: 1;
    }
}

.banner-wrapper .swiper-container .swiper-slide-prev, .banner-wrapper .swiper-container .swiper-slide-next {
    transform: scale(0.7);
    opacity: 1;
    background-color: #fff;
    transition-property: transform, opacity;
    transition-duration: 0.3s;
}

.banner-wrapper .swiper-container .swiper-slide.swiper-slide-next img,
.banner-wrapper .swiper-container .swiper-slide.swiper-slide-prev img {
    opacity: 0.4;
}

@media only screen and (max-width: 750px) {
    .banner-wrapper .swiper-container .swiper-slide.swiper-slide-next,
    .banner-wrapper .swiper-container .swiper-slide.swiper-slide-prev {
        transition-duration: 0.7s;
        transition-delay: 0.2s;
    }
}

.banner-wrapper .swiper-container .swiper-slide.swiper-slide-prev {
    right: -50px;
}

.banner-wrapper .swiper-container .swiper-slide.swiper-slide-next {
    left: -50px;
}

@media only screen and (max-width: 750px) {
    .banner-wrapper .swiper-container .swiper-slide.swiper-slide-next {
        left: 0;
    }

    .banner-wrapper .swiper-container .swiper-slide.swiper-slide-prev {
        right: 0;
    }
}

/*------ .swiper-pagination-bullet ------開始 */
#app .banner-wrapper .swiper-pagination-bullet {
    display: inline-block;
    opacity: 1;
    background-color: #d2d2d2;
    border-radius: 50%;
    width: min(1.5555555556vw, 14px);
    height: min(1.5555555556vw, 14px);
    cursor: pointer;
    display: inline-block;
}

    #app .banner-wrapper .swiper-pagination-bullet + .swiper-pagination-bullet {
        margin-left: 15px;
    }

#app .banner-wrapper .swiper-pagination {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
}

@media only screen and (max-width: 750px) {
    #app .banner-wrapper .swiper-pagination {
        bottom: -8vw;
        width: calc(100% - 20.2666666666vw);
    }

    #app .banner-wrapper .swiper-pagination-bullet {
        width: 2.666666666vw;
        height: 2.666666666vw;
    }
}

#app .banner-wrapper .swiper-pagination-bullet-active {
    background: var(--color-green);
}
/* ------.swiper-pagination-bullet------ 結束 */

/* ------箭頭 開始 ------*/
.banner-wrapper .swiper-button-prev,
.banner-wrapper .swiper-button-next {
    border-radius: 50%;
    width: min(7.77777777vw, 70px);
    height: min(7.77777777vw, 70px);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.09);
    cursor: pointer;
}

@media only screen and (max-width: 750px) {
    .banner-wrapper .swiper-button-prev,
    .banner-wrapper .swiper-button-next {
        bottom: -10.1333333333vw !important;
        width: 10.1333333333vw;
        height: 10.1333333333vw;
    }
}

.banner-wrapper .swiper-button-prev {
    left: -100px;
}

    .banner-wrapper .swiper-button-next:after,
    .banner-wrapper .swiper-button-prev:after {
        font-size: 28px;
        font-weight: bold;
        color: var(--color-green);
    }

.banner-wrapper .swiper-button-next {
    right: -100px;
}

@media only screen and (max-width: 1200px) {
    .banner-wrapper .swiper-button-prev,
    .banner-wrapper .swiper-button-next {
        top: auto;
        bottom: max(-7.777777777vw, -70px);
        border-radius: 10px;
    }

    .banner-wrapper .swiper-button-prev {
        top: 50%;
        left: 0;
    }

    .banner-wrapper .swiper-button-next {
        top: 50%;
        right: 0;
    }
}

@media only screen and (max-width: 950px) {
    .banner-wrapper .swiper-button-prev, .banner-wrapper .swiper-button-next {
        border-radius: 0;
    }
}

/* ------箭頭 結束------ */

