body,
html {
    width: 100%;
    margin: 0;
    padding: 0;
}


/*頁面*/

.main {
    width: 100%;
    min-height: 49vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.main>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: img-ani 7s ease;
    animation-fill-mode: forwards;
}

@keyframes img-ani {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.bg {
    width: 92vw;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 7vw;
}

.banner {
    width: 130vw;
    height: auto;
    position: absolute;
    left: 10vw;
    top: 10.6vw;
    z-index: 9;
}

.banner .swiper-container .swiper-slide {
    width: 33.3333333333333% !important;
    height: 32.5vw;
    box-sizing: border-box;
    cursor: pointer;
}

.banner-img {
    width: 94%;
    height: 91%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* transition: all 0.1s linear; */
}

.banner .swiper-slide.swiper-slide-next .banner-img,
.banner .swiper-slide.swiper-slide-next+.swiper-slide .banner-img,
.banner .swiper-slide.swiper-slide-duplicate.swiper-slide-duplicate-active .banner-img,
.banner .swiper-slide.swiper-slide-duplicate-prev .banner-img,
.banner .swiper-slide.swiper-slide-duplicate-next .banner-img,
.banner .swiper-slide.swiper-slide-duplicate.swiper-slide-duplicate-prev .banner-img,
.banner .swiper-slide.swiper-slide-duplicate.swiper-slide-duplicate-next .banner-img {
    width: 41%;
    height: 51%;
    position: absolute;
    left: 19%;
    top: 70%;
}

.banner .swiper-slide.swiper-slide-next+.swiper-slide .banner-img,
.banner .swiper-slide.swiper-slide-duplicate-prev .banner-img,
.banner .swiper-slide.swiper-slide-duplicate.swiper-slide-duplicate-prev .banner-img {
    left: -38.3%;
}

.swiper-pagination {
    width: fit-content;
    position: absolute;
    left: 11vw;
    top: 9.6vw;
}

.swiper-pagination-bullet {
    background-image: url(../img/02-1/dot2.png);
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    width: 1.5vw;
    height: 1.5vw;
    margin-left: 0.5vw !important;
    margin-right: 0.5vw !important;
    opacity: 1;
    border: none;
    background-color: transparent;
    border-radius: 0;
}

.swiper-pagination-bullet-active {
    background-image: url(../img/02-1/dot1.png);
    background-color: transparent;
}

.banner .swiper-button-prev {
    width: 2vw !important;
    height: 1.8vw !important;
    left: -23vw;
    top: 29vw;
    z-index: 998 !important;
    background-image: url(../img/02/arrow-l.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    transition: all 0.3s ease;
}

.banner .swiper-button-prev:hover {
    background-image: url(../img/02/arrow-l-h.png);
}

.banner .swiper-button-next {
    width: 2vw !important;
    height: 1.8vw !important;
    right: auto;
    left: -20.5vw;
    top: 29vw;
    z-index: 998 !important;
    background-image: url(../img/02/arrow-r.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    transition: all 0.3s ease;
}

.banner .swiper-button-next:hover {
    background-image: url(../img/02/arrow-r-h.png);
}

.swiper-pagination-progressbar {
    width: 11vw;
    height: 0.15vw;
    left: -34.8vw;
    top: 28.6vw;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #fcc91a;
}

.swiper-pagination-progressbar {
    background: #fff;
}

.all-num {
    position: absolute;
    left: 50vw;
    top: 10.4vw;
    color: #fff;
    font-family: "Futura-Std-Book";
    font-size: 0.8vw;
    letter-spacing: 0.1vw;
    font-weight: 500;
    z-index: 999;
}

.prev-num {
    position: relative;
    display: inline-block;
    margin: 0 -4px 0 0;
}

.next-num {
    position: relative;
    display: inline-block;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.txt {
    width: 32vw;
    position: absolute;
    left: 56.5vw;
    top: 12vw;
    z-index: 999;
}

.txt h1 {
    font-size: 0.85vw;
    letter-spacing: 0.02vw;
    line-height: 1.4vw;
    margin: 0 0 0.5vw 0;
    font-family: "Futura-Std-Book";
    font-weight: normal;
    color: #ead1a9;
}

.txt h2 {
    font-size: 1.4vw;
    letter-spacing: 0.1vw;
    margin: 0 0 1.7vw 0;
    font-weight: normal;
    font-family: 'Noto Sans JP', sans-serif;
    color: #ead1a9;
}

.h4-b {
    height: 6.4vw;
    overflow: auto;
    padding-right: 1vw;
    position: relative;
}

.txt h4 {
    width: 100%;
    font-size: 1vw;
    letter-spacing: 0.1vw;
    line-height: 1.6vw;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    box-sizing: border-box;
    color: #fff;
    text-align: justify;
    text-justify: inter-ideograph;
}

.h4-line::after {
    content: "";
    position: absolute;
    right: 0.5%;
    bottom: 0;
    width: 1px;
    height: 52%;
    background-color: #fff;
    z-index: -1;
}


/* 滾動條的設定 */

.h4-b::-webkit-scrollbar {
    width: 0.4vw;
    background-color: transparent;
}

.h4-b::-webkit-scrollbar-thumb {
    background-color: #404040;
    cursor: pointer;
}


/* this will style the thumb, ignoring the track*/

.back {
    width: 4.1vw;
    position: absolute;
    z-index: 9;
    right: 5vw;
    top: 43.3vw;
    transition: all 0.5s linear;
}

.back:hover {
    opacity: 0.7;
}

.prev {
    width: 4.1vw;
    position: absolute;
    z-index: 9;
    left: 46.3vw;
    top: 43.8vw;
    transition: all 0.5s linear;
}

.prev:hover {
    opacity: 0.7;
}

.next {
    width: 4.1vw;
    position: absolute;
    z-index: 9;
    right: 41.3vw;
    top: 43.8vw;
    transition: all 0.5s linear;
}

.next:hover {
    opacity: 0.7;
}
