/* 字體 */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Noto+Serif+TC:wght@200;300;400;500;600;700;900&display=swap");

.Times-New-Roman {
    font-family: "Times New Roman";
    font-weight: 300;
}

body,
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #fff;
    --vw-base: calc(100vw / 1920);
    font-family: "Noto Sans TC";
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

img {
    width: 100%;
    height: 100%;
    display: block;
}


/*LOADING START*/
.loading {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999999;
    background-color: #f4f4f4;
}

.la-square-loader,
.la-square-loader>div {
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.la-square-loader {
    display: block;
    font-size: 0;
    color: #070707;
}

.la-square-loader.la-dark {
    color: #070707;
}

.la-square-loader>div {
    display: inline-block;
    float: none;
    background-color: currentColor;
    border: 0 solid currentColor;
}

.la-square-loader {
    width: 32px;
    height: 32px;
}

.la-square-loader>div {
    width: 100%;
    height: 100%;
    background: transparent;
    border-width: 2px;
    border-radius: 0;
    -webkit-animation: square-loader 3s infinite ease;
    -moz-animation: square-loader 3s infinite ease;
    -o-animation: square-loader 3s infinite ease;
    animation: square-loader 3s infinite ease;
}

.la-square-loader>div:after {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    content: "";
    background-color: currentColor;
    -webkit-animation: square-loader-inner 3s infinite ease-in;
    -moz-animation: square-loader-inner 3s infinite ease-in;
    -o-animation: square-loader-inner 3s infinite ease-in;
    animation: square-loader-inner 3s infinite ease-in;
}

.la-square-loader.la-sm {
    width: 16px;
    height: 16px;
}

.la-square-loader.la-sm>div {
    border-width: 1px;
}

.la-square-loader.la-2x {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.la-square-loader.la-2x>div {
    border-width: 2px;
}

.la-square-loader.la-3x {
    width: 96px;
    height: 96px;
}

.la-square-loader.la-3x>div {
    border-width: 6px;
}


/*
 * Animations
 */
@-webkit-keyframes square-loader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    25% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    75% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes square-loader {
    0% {
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    25% {
        -moz-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    50% {
        -moz-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    75% {
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }

    100% {
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes square-loader {
    0% {
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    25% {
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    50% {
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    75% {
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }

    100% {
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes square-loader {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    25% {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    50% {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    75% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes square-loader-inner {
    0% {
        height: 0;
    }

    25% {
        height: 0;
    }

    50% {
        height: 100%;
    }

    75% {
        height: 100%;
    }

    100% {
        height: 0;
    }
}

@-moz-keyframes square-loader-inner {
    0% {
        height: 0;
    }

    25% {
        height: 0;
    }

    50% {
        height: 100%;
    }

    75% {
        height: 100%;
    }

    100% {
        height: 0;
    }
}

@-o-keyframes square-loader-inner {
    0% {
        height: 0;
    }

    25% {
        height: 0;
    }

    50% {
        height: 100%;
    }

    75% {
        height: 100%;
    }

    100% {
        height: 0;
    }
}

@keyframes square-loader-inner {
    0% {
        height: 0;
    }

    25% {
        height: 0;
    }

    50% {
        height: 100%;
    }

    75% {
        height: 100%;
    }

    100% {
        height: 0;
    }
}

/*LOADING END*/
.all {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    opacity: 0;
}


.opacity {
    opacity: 0;
    transition: all 0.3s linear;
}

.opacity1 {
    opacity: 1;
    transition: all 0.3s linear;
}


.main-top {
    width: 100%;
    height: calc(370*var(--vw-base));
    margin: 0 auto;
    position: relative;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-top-txt-AL {
    width: 15vw;
    position: relative;
    display: inline-block;
}

.main-top-txt-AL .main-top-txt-st {
    width: 100%;
    position: absolute;
    left: 0vw;
    top: 0vw;
}

.main-top-txt-AL .main-top-txt-st>img {
    width: 100%;
    object-fit: cover;
}

.main-top-title {
    width: auto;
    position: relative;
    display: inline-block;
    text-align: left;
    padding-left: 3vw;
    padding-top: 4.5vw;
}

.main-top-title .t1 {
    color: #000;
    font-size: calc(20* var(--vw-base));
    font-family: "Noto Sans TC";
    line-height: calc(40* var(--vw-base));
    letter-spacing: 0em;
}

.main-top-title .t2 {
    color: #000;
    font-size: calc(50 * var(--vw-base));
    font-family: "Noto Serif TC";
    font-weight: 400;
    line-height: calc(70 * var(--vw-base));
    letter-spacing: 0em;
    font-weight: 600;

}

.m-btn {
    width: 10vw;
    display: block;
    position: absolute;
    right: 3vw;
    top: 11.5vw;
    /* margin: 2vw 0 0 65.5vw; */
    line-height: 2vw;
    background-color: rgba(0, 0, 0, 0);
    font-family: "Aller";
    font-weight: 300 !important;
    font-size: calc(20 * var(--vw-base));
    color: #000 !important;
    box-sizing: border-box;
    border-radius: 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    cursor: pointer;
    border-radius: 0 0 0 20px;
    transition: all .35s ease-in-out;
    border: 1px solid #000;
    padding: 0 1vw 0 2vw;
}

.m-btn img {
    width: 1vw;
    /* height: 1vw; */
    object-fit: contain;
    position: absolute;
    left: 1.2vw;
    top: 0vw;
    filter: brightness(0);
    transition: all .35s ease-in-out;
}

.m-btn:hover {
    background-color: rgba(0, 0, 0, 1);
    color: #fff !important;
}

.m-btn:hover img {
    filter: brightness(1);
}


.swiper-pagination-bullet {
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    width: 0.7vw;
    height: 0.7vw;
    margin: 0 1vw 0 0 !important;
    opacity: 1;
    border: none;
    background-color: transparent;
    border-radius: 0;
    background-image: url("../img/showcase/dot-be.png");
    background-repeat: no-repeat;
    background-position: center center;
}

.swiper-pagination-bullet-active {
    background-color: transparent;
    background-image: url("../img/showcase/dot-af.png");
    background-repeat: no-repeat;
    background-position: center center;
    width: 0.7vw;
    height: 0.7vw;
    margin: 0 1vw 0 0 !important;
}



.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pic-txt {
    position: absolute;
    left: calc(35*var(--vw-base));
    bottom: 0.4vw;
    color: #fff;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: calc(15* var(--vw-base));
    letter-spacing: 0.1vw;
    font-weight: 300;
    filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.5));

}

.pic-txt.right {
    position: absolute;
    right: 1vw;
    left: auto;
    bottom: 0.8vw;
    color: #fff;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: calc(20* var(--vw-base));
    letter-spacing: 0.1vw;
    font-weight: 300;
    filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.5));

}




/*全部*/
.main1 {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    /*box-shadow: 0 0.3vw 1vw rgba(0, 0, 0, 0.4);*/
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main1-pic {
    width: calc(1358*var(--vw-base));
    height: calc(843*var(--vw-base));
    overflow: hidden;
    position: relative;
}

.main1-pic 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);
    }
}

.main2 {
    position: relative;
    width: 100%;
    height: calc(700*var(--vw-base));
    display: flex;
    align-items: center;
    justify-content: center;
}

.m2-box {
    width: calc(664*var(--vw-base));
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    box-sizing: border-box;
    padding-left: calc(32*var(--vw-base));
}

.m2-subtitle {
    position: relative;
    color: #000;
    font-size: calc(20 * var(--vw-base));
    font-family: "Noto Serif TC";
    line-height: calc(40 * var(--vw-base));
    letter-spacing: 0.05em;
    font-weight: 600;
    padding: 0;
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
}

.m2-title {
    position: relative;
    margin-top: calc(6 * var(--vw-base));
    color: #000;
    font-size: calc(30 * var(--vw-base));
    font-family: "Noto Serif TC";
    line-height: calc(40 * var(--vw-base));
    letter-spacing: 0.05em;
    font-weight: 600;
    padding: 0;
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
}

.m2-txt {
    position: relative;
    margin-top: calc(20 * var(--vw-base));
    color: #000;
    font-size: calc(20 * var(--vw-base));
    font-family: "Noto Sans TC";
    font-weight: 300;
    line-height: calc(40 * var(--vw-base));
    letter-spacing: 0.05em;
    padding: 0;
    text-align: justify;
    opacity: 0;
    transform: translateY(30px);
}

.m2-line {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 0%;
    background-color: #000;
    transition: all 1.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.m2-line.active {
    height: calc(100% - 20*var(--vw-base));
}

/* .line-ani {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000;
    animation: line-ani 2s ease;
    animation-fill-mode: forwards;
} */


.m2-dot {
    display: inline-block;
    margin: 0 calc(-3*var(--vw-base));
}

/*頁面5*/
.main5 {
    width: 100%;
    position: relative;
    background-color: #fff;
    /* padding-bottom: 5vw; */
}

.bg5-txt-AL {
    width: 24vw;
    position: relative;
    margin: 6vw auto 9vw auto;
    z-index: 9;
}

.bg5-txt-AL .bg5-txt-st {
    width: 100%;
    position: absolute;
    left: 0vw;
    bottom: 0vw;
}

.bg5-txt-st>img {
    width: 100%;
    object-fit: cover;
}

.main5 .t1 {
    color: #000;
    font-size: calc(30 * var(--vw-base));
    font-family: "Noto Serif TC";
    line-height: calc(50 * var(--vw-base));
    letter-spacing: 0em;
    font-weight: 600;
    padding: 0;
    text-align: center;
    padding-top: 3vw;
}

.main5 .gallery-top {
    width: 100%;
    margin: 3vw auto 1vw auto;
    padding: 0;
    position: relative;
    transition: 0.3s;
}

.main5 .gallery-top a {
    display: block;
    color: #000
}

.main5 .gallery-top .swiper-slide {
    width: calc(714*var(--vw-base));
    box-sizing: border-box;
    padding: 0vw calc(21.5*var(--vw-base));
    opacity: 1;
    float: left;
    position: relative;
    transition: all 0.3s ease;
    margin: 0vw;

}

.main5 .gallery-top .swiper-slide.swiper-slide-active {
    transform: scale(1);
}

.main5 .swiper-slide .slide-img-pic {
    width: 100%;
    overflow: hidden;
    position: relative;
    align-items: center;
    overflow: hidden;
    transition: all 1s ease-in-out;
    /* filter: grayscale(1); */
}

.main5 .gallery-top .swiper-slide.swiper-slide-active .slide-img-pic {
    filter: grayscale(0);
    transition: all 0.5s ease-in-out;
}

.main5 .swiper-slide .slide-img-pic:before {
    position: relative;
    content: "";
    display: block;
    padding-top: 56.32%;
    transition: all 0.5s ease-in-out;
}

.main5 .swiper-slide .slide-img-pic img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 0;
    object-fit: cover;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.35s ease-out;
    transition: all 0.5s ease-in-out;

}

.main5 .control-bar {
    width: 100%;
    margin: 3vw auto;
    position: relative;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;

}

.main5 .control-bar .swiper-button-prev {
    background-image: url(../img/showcase/showcase-detail-arrow-l.png);
    width: 2.5vw !important;
    height: 2.7vw !important;
    z-index: 9999 !important;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    position: relative;
    margin-top: 0vw;
}

.main5 .control-bar .swiper-button-next {
    background-image: url(../img/showcase/showcase-detail-arrow-r.png);
    width: 2.5vw !important;
    height: 2.7vw !important;
    z-index: 9999 !important;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    position: relative;
    margin-top: 0vw;
}

.main5 .control-bar .swiper-pagination {
    position: relative;
    text-align: center;
    z-index: 10;
    margin: 0 2vw;
    width: 31.5vw; /* PC版 約原本7個的長度 (7 * 4.5vw) */
    display: flex;
    justify-content: center;
    align-items: center;
}

.main5 .control-bar .swiper-pagination-bullet {
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    width: auto; /* 改為自動寬度以支援 flex 均分 */
    flex: 1;     /* 均分該長度 */
    height: 1.2vw;
    margin: 0 !important;
    opacity: 1;
    border: none;
    background-color: transparent;
    border-radius: 0;
    background-image: url("../img/showcase/main5-dot-be.png");
    background-repeat: no-repeat;
    background-position: center center;
}

.main5 .control-bar .swiper-pagination-bullet-active {
    background-color: transparent;
    background-image: url("../img/showcase/main5-dot-af.png");
    background-repeat: no-repeat;
    background-position: center center;
    width: auto; /* 改為自動寬度以支援 flex 均分 */
    flex: 1;     /* 均分該長度 */
    height: 1.2vw;
    margin: 0 !important;
}

.main5-txt {
    text-align: center;
}


/*main6*/
.main6 {
    width: 100%;
    position: relative;
    background-color: #fff;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 10vw 0 8vw 0;
}






.m6-link-box {
    position: absolute;
    left: calc(260*var(--vw-base));
    top: calc(96*var(--vw-base));
    display: flex;
    align-items: center;
    gap: calc(81*var(--vw-base));
}

.m6-link {
    position: relative;
}

.m6-btn {
    position: relative;

    width: calc(155*var(--vw-base));
    display: inline-block;
    line-height: 2vw;
    background-color: rgba(0, 0, 0, 0);
    font-family: "Noto Sans TC";
    font-weight: 300 !important;
    font-size: calc(20 * var(--vw-base));
    color: #000 !important;
    box-sizing: border-box;
    border-radius: 0;
    letter-spacing: 0.05vw;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    cursor: pointer;
    border-radius: 0 calc(18*var(--vw-base)) 0 0px;
    transition: all .35s ease-in-out;
    border: 1px solid #000;
    padding: 0 0vw 0 1vw;
    /* margin: 1vw 2vw 0 0; */
}

.m6-btn img {
    width: 1vw;
    /* height: 1vw; */
    object-fit: contain;
    position: absolute;
    right: 0.9vw;
    top: 0vw;
    filter: brightness(0);
    transition: all .35s ease-in-out;
    /*水平翻轉*/
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);

}

.m6-link:hover .m6-btn {
    background-color: rgba(0, 0, 0, 1);
    color: #fff !important;
}

.m6-link:hover .m6-btn img {
    filter: brightness(1);
}

.m6-link-fb {
    position: absolute;
    left: calc(-50*var(--vw-base));
    top: 0;
    width: calc(40*var(--vw-base));
    height: calc(40*var(--vw-base));
    background-image: url(../img/showcase/fb.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}


.m6-link-web {
    position: absolute;
    left: calc(-44*var(--vw-base));
    top: calc(4*var(--vw-base));
    width: calc(34*var(--vw-base));
    height: calc(32*var(--vw-base));
    background-image: url(../img/showcase/web.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}





















.m6-info-box {
    position: relative;
    width: calc(1442*var(--vw-base));
    min-height: calc(528*var(--vw-base));
    display: flex;
    flex-direction: column;
    align-items: start;
    box-sizing: border-box;
    /* padding-left: calc(32*var(--vw-base)); */
}

.m6-info-box-line1 {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #000;
    transform-origin: top;
}

.m6-info-box-line2 {
    position: absolute;
    left: calc(774*var(--vw-base));
    top: calc(88*var(--vw-base)*2);
    width: 1px;
    height: calc(100% - 88*var(--vw-base)*2);
    background-color: #000;
    transform-origin: top;
}

.m6-info {
    position: relative;
    width: calc(749*var(--vw-base));
    height: calc(88*var(--vw-base));
    display: flex;
    justify-content: start;
    align-items: center;
    font-family: "Noto Serif TC";
    font-size: calc(20*var(--vw-base));
    line-height: calc(40*var(--vw-base));
    font-weight: 600;
    color: #000;
    letter-spacing: 0.05em;
    box-sizing: border-box;
    padding-left: calc(18*var(--vw-base));
}

.m6-info-box .m6-info:first-of-type {
    width: 100%;
}


.m6-info-title {
    position: relative;
    width: calc(176*var(--vw-base));
    text-align: start;
}

.m6-info-line {
    position: absolute;
    left: calc(18*var(--vw-base));
    bottom: 0;
    width: calc(100% - 18*var(--vw-base));
    height: 1px;
    background-color: #000;
    transform-origin: left;
}

.m6-contact-box {
    position: absolute;
    right: 0;
    bottom: calc(264*var(--vw-base));
    width: calc(638*var(--vw-base));
    height: calc(88*var(--vw-base));
    display: flex;
    justify-content: end;
    align-items: start;
    gap: calc(81*var(--vw-base));
}

.m6-contact {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: calc(5*var(--vw-base));
}

.m6-contact-loc::before {
    content: "";
    position: absolute;
    left: calc(-35*var(--vw-base));
    top: calc(5*var(--vw-base));
    width: calc(21*var(--vw-base));
    height: calc(31*var(--vw-base));
    background-image: url(../img/showcase/location.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.m6-contact-phone::before {
    content: "";
    position: absolute;
    left: calc(-30*var(--vw-base));
    top: calc(7*var(--vw-base));
    width: calc(21*var(--vw-base));
    height: calc(31*var(--vw-base));
    background-image: url(../img/showcase/tel.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.m6-contact-title {
    position: relative;
    font-family: "Noto Serif TC";
    font-size: calc(20*var(--vw-base));
    line-height: calc(30*var(--vw-base));
    font-weight: 600;
    color: #000;
    letter-spacing: 0.05em;
}

.m6-contact-txt {
    font-family: "Noto Sans TC";
    font-size: calc(20*var(--vw-base));
    line-height: calc(30*var(--vw-base));
    font-weight: 300;
    color: #000;
    letter-spacing: 0.05em;
}

.m6-contact-line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
    transform-origin: left;
}



















.m6-logo {
    position: absolute;
    width: 30vw;
    right: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.bg6-txt-AL {
    width: 24vw;
    position: relative;
    z-index: 9;
    margin: 1vw 0vw 0vw 0;
}

.bg6-txt-AL .bg6-txt-st {
    width: 100%;
    position: absolute;
    left: 0vw;
    top: 0vw;
}

.bg6-txt-AL .bg6-txt-st1 {
    width: 100%;
    position: relative;
}

.bg6-txt-AL .bg6-txt-st>img {
    width: 100%;
    object-fit: cover;
}

.m6-logo .t1 {
    text-align: right;
    color: #000;
    width: 100%;
    padding: 0;
    margin: 0;
    display: block;
    font-size: calc(30* var(--vw-base));
    font-family: "Noto Serif TC";
    font-weight: 600;
    line-height: calc(50* var(--vw-base));
}

/* m6 動態初始狀態 */
.m6-link-box {
    opacity: 0;
    transform: translateY(30px);
}

.m6-info-line,
.m6-contact-line {
    transform: scaleX(0);
}

.m6-info-box-line1,
.m6-info-box-line2 {
    transform: scaleY(0);
}

.m6-info-title,
.m6-info-txt,
.m6-contact {
    opacity: 0;
    transform: translateY(15px);
}

/* m6-logo 初始狀態（取代 AOS） */
.m6-logo .t1 {
    opacity: 0;
    transform: translateY(30px);
}

.bg6-txt-st {
    opacity: 0;
}


.bg6-txt-st:nth-child(odd) {
    transform: translateX(30px);
}

.bg6-txt-st:nth-child(even) {
    transform: translateX(-30px);
}

/* =====================================================
   ✅ M5 Lightbox (大輪播)
   ===================================================== */
#m5Lightbox {
    position: fixed;
    inset: 0;
    background-color: #2e2e2e;
    z-index: 10000;
    display: none;
    clip-path: inset(100% 0 0 0);
    /* 初始裁切在底部 */
    opacity: 0;
    pointer-events: none;
}

#m5Lightbox.m5-is-open {
    display: block;
    pointer-events: auto;
}

/* 內容淡入容器 */
.m5-lb-content {
    opacity: 0;
    width: 100%;
    height: 100%;
}

/* 右上角控制鈕 */
.m5-lb-top-controls {
    position: absolute;
    top: calc(30 * var(--vw-base));
    right: calc(40 * var(--vw-base));
    display: flex;
    gap: calc(25 * var(--vw-base));
    z-index: 100;
}

.m5-lb-icon {
    width: calc(32 * var(--vw-base));
    height: calc(32 * var(--vw-base));
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m5-lb-icon:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.m5-lb-icon svg {
    width: 80%;
    height: 80%;
    fill: #fff;
}

/* 輪播本體 */
.m5-lb-swiper {
    width: 100%;
    height: 100%;
}

.m5-lb-img-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(1163 * var(--vw-base));
    height: calc(801 * var(--vw-base));
    /* margin: calc(50 * var(--vw-base)) auto 0; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m5-lb-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.m5-lb-img-wrap iframe {
    width: 100%;
    height: 100%;
}

.m5-lb-caption {
    position: absolute;
    left: 50%;
    bottom: 1vw;
    transform: translateX(-50%);
    color: #fff;
    font-family: "Noto Sans TC", sans-serif;
    font-size: calc(20 * var(--vw-base));
    line-height: 1.5;
    text-align: center;
    z-index: 999;
}

.m5-lb-caption::before {
    content: '';
    position: absolute;
    bottom: -1vw;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 5vw;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.6) 0%,
            /* 底部最深，稍微調降透明度 */
            rgba(0, 0, 0, 0.42) 20%,
            rgba(0, 0, 0, 0.25) 40%,
            rgba(0, 0, 0, 0.12) 60%,
            rgba(0, 0, 0, 0.03) 80%,
            rgba(0, 0, 0, 0) 100%
            /* 頂部完全透明 */
        );
    z-index: -1;
    pointer-events: none;
}

/* 側邊箭頭 */
.m5-lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(36 * var(--vw-base));
    height: calc(43 * var(--vw-base));
    cursor: pointer;
    z-index: 50;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.m5-lb-prev {
    left: calc(40 * var(--vw-base));
    background-image: url(../img/arrow-l-w.png);
}

.m5-lb-next {
    right: calc(40 * var(--vw-base));
    background-image: url(../img/arrow-r-w.png);
}

/* 自動播放圖示狀態 */
.m5-lb-icon-play .icon-pause {
    display: none;
}

.m5-lb-icon-play.is-playing .icon-play {
    display: none;
}

.m5-lb-icon-play.is-playing .icon-pause {
    display: block;
}

/* 放大按鈕狀態 */
.m5-lb-icon-zoom.active {
    opacity: 0.5;
    transform: scale(0.9);
}