@font-face {
    font-family: 'SST-Roman';
    src: url('fonts/SST-Roman.woff') format("woff"),
        url('fonts/SST-Roman.otf') format("truetype");
}

@font-face {
    font-family: 'SSTPro-Light';
    src: url('fonts/SSTPro-Light.woff') format("woff"),
        url('fonts/SSTPro-Light.otf') format("truetype");
}

@font-face {
    font-family: 'SSTPRO-BOLD';
    src: url('fonts/SSTPRO-BOLD.woff') format("woff"),
        url('fonts/SSTPRO-BOLD.otf') format("truetype");
}

@font-face {
    font-family: 'SourceHanSansTWHK-Light';
    src: url('fonts/SourceHanSansTWHK-Light.woff') format("woff"),
        url('fonts/SourceHanSansTWHK-Light.otf') format("truetype");
}

html,
body {
    font-family: 'SSTPro-Light', 'SourceHanSansTWHK-Light', '微軟正黑體';
}

.bannerBox {
    position: relative;
    width: 100%;
    height: 100vh;
    /* 高度等於螢幕高度 */
    overflow: hidden;
}

.logo {
    position: absolute;
    left: 50px;
    top: 40px;
    width: 200px;
}

.bannerBox .banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 圖片裁切填滿容器 */
    display: block;
    object-position: center bottom;
}

.bannerBox .sub {
    position: absolute;
    left: 80px;
    bottom: 120px;
    width: 50%;
}

.bannerBox .sub_m {
    display: none;
}

/*三個錨點按鈕*/
.bannerBox .nav-button-group {
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

html {
    scroll-behavior: smooth;
}

sup {
    vertical-align: super;
    font-size: smaller;
}

.nav-button-group {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-sizing: border-box;
}

.divider {
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom,
            rgba(120, 120, 120, 0) 0%,
            rgba(120, 120, 120, 0.75) 20%,
            rgba(120, 120, 120, 0.75) 80%,
            rgba(120, 120, 120, 0) 100%);
    flex: 0 0 1px;
}

.nav-btn {
    min-width: 190px;
    height: 60px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    color: #ffffff;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 1;
    box-sizing: border-box;
    background: linear-gradient(to bottom, #777777 0%, #727272 40%, #6f6cc7 100%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.35),
        inset 0 -2px 0 rgba(255, 255, 255, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-btn:hover {
    transform: translateY(-1px);
}

.anchor-section {
    min-height: 600px;
    padding: 80px 0px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .nav-button-group {
        gap: 14px;
        padding: 20px 12px;
    }

    .nav-btn {
        min-width: auto;
        flex: 1;
        height: 48px;
        padding: 0 5px;
        font-size: 16px;
        letter-spacing: 1px;
    }

    .divider {
        height: 42px;
    }
}

/*三個錨點按鈕end*/
.sec_tt {
    margin: auto;
    width: 300px;
    display: table;
}

.secTT {
    font-size: 34px;
    text-align: center;
    letter-spacing: 12px;
    margin-bottom: 50px;
    line-height: 1.5;
}

.secTT span {
    border-left: 1px solid #333;
    margin-right: 25px;
}

.secTT02 {
    letter-spacing: 3px;
    line-height: 1.2;
    font-family: 'SST-Roman';
}

.secTT02 span {
    font-size: 25px;
    letter-spacing: 1px;
    margin-right: 0;
    border-left: none;
}

/*電視後漸層背景*/

.video-glow-wrap {
    position: relative;
    width: min(1120px, calc(100% - 48px));
    margin: 60px auto;
}

.video-glow-wrap::before {
    content: "";
    position: absolute;
    inset: -20px;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center,
            rgba(255, 237, 102, 0.92) 0%,
            rgba(255, 237, 102, 0.58) 16%,
            rgba(255, 237, 102, 0.16) 33%,
            rgba(255, 237, 102, 0) 50%),
        linear-gradient(to bottom,
            #efc58d 0%,
            #ead79e 24%,
            #ccebf2 56%,
            #7dc3df 77%,
            #a4dade 100%);
    filter: blur(5px);
    box-shadow:
        0 0 20px rgba(255, 218, 145, 0.18),
        0 0 34px rgba(117, 197, 223, 0.14);
}

.video-box {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.sec3_m {
    display: none;
}

@media (max-width: 768px) {
    .video-glow-wrap {
        width: calc(100% - 32px);
        margin: 36px auto;
    }

    .video-glow-wrap::before {
        inset: -12px;
        filter: blur(12px);
    }

    .secTT02 span {
        font-size: 20px;
    }
}

/*影片後漸層背景end*/
/*區塊漸層背景*/
.soft-fade-box {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    background: linear-gradient(to bottom,
            #b9a492 0px,
            #ddd3cb 60px,
            #F2F2F2 200px,
            #F2F2F2 calc(100% - 200px),
            #ccb5a3 calc(100% - 60px),
            #b59b84 100%);

    -webkit-mask-image: linear-gradient(to bottom,
            transparent 0px,
            rgba(0, 0, 0, 0.18) 20px,
            rgba(0, 0, 0, 0.45) 50px,
            rgba(0, 0, 0, 0.82) 100px,
            rgba(0, 0, 0, 1) 140px,
            rgba(0, 0, 0, 1) calc(100% - 140px),
            rgba(0, 0, 0, 0.82) calc(100% - 100px),
            rgba(0, 0, 0, 0.45) calc(100% - 50px),
            rgba(0, 0, 0, 0.18) calc(100% - 20px),
            transparent 100%);
    mask-image: linear-gradient(to bottom,
            transparent 0px,
            rgba(0, 0, 0, 0.18) 20px,
            rgba(0, 0, 0, 0.45) 50px,
            rgba(0, 0, 0, 0.82) 100px,
            rgba(0, 0, 0, 1) 140px,
            rgba(0, 0, 0, 1) calc(100% - 140px),
            rgba(0, 0, 0, 0.82) calc(100% - 100px),
            rgba(0, 0, 0, 0.45) calc(100% - 50px),
            rgba(0, 0, 0, 0.18) calc(100% - 20px),
            transparent 100%);
}

/*區塊漸層背景end*/
.sec2img {
    width: 100%;
}

.partition {
    width: 80%;
    margin: auto;
    display: table;
    padding: 50px 0 30px 0;
}

.linepar {
    border-bottom: 1px solid #1a1a1a;
    width: 80%;
    display: table;
    margin: 30px auto;
}

#opening-event {
    padding: 0px 0px;
    margin-top: -40px;
    position: relative;
    background-image: url(../img/sec3bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    overflow-x: hidden;
}

img.dec01 {
    position: absolute;
    right: 150px;
    top: -10px;
    width: 350px;
}

img.dec02 {
    position: absolute;
    left: 150px;
    top: -10px;
    width: 300px;
}

img.dec03 {
    position: absolute;
    right: -150px;
    top: 30%;
    width: 300px;
}

img.dec04 {
    position: absolute;
    left: -130px;
    top: 50%;
    width: 300px;
}

img.dec05 {
    position: absolute;
    right: -130px;
    top: 85%;
    width: 300px;
}

img.dec06 {
    position: absolute;
    left: -150px;
    top: 90%;
    width: 300px;
}

.sec3img {
    width: 80%;
    margin: auto;
    display: table;
}







.footerBox {
    width: 100%;
    display: table;
    margin: 0 auto 20px auto;
}

/* 外層：左右兩塊水平置中 */
.footer-wrap {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

/* 左邊：兩行文字 */
.footer-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* 讓兩行文字都在左區塊中置中 */
    text-align: center;
    gap: 4px;
    min-width: 0;
}

.footer-line1,
.footer-line2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 18px;
    color: #222;
    line-height: 1.4;
}

/* 第一行比較短 */
.footer-line1 {
    font-size: 13px;
    font-weight: 500;
}

/* 第二行比較長 */
.footer-line2 {
    font-size: 13px;
}

.footer-line1 span,
.footer-line2 span {
    white-space: nowrap;
    letter-spacing: 0px;
    font-weight: bold;
}

/* 右邊：單純圖片 */
.footer-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    /* 圖片會對齊左邊兩行文字整體的中線 */
    justify-content: center;
}

.footer-right img {
    display: block;
    height: 42px;
    width: 300px;
    object-fit: contain;
}

/* 平板 */
@media (max-width: 992px) {
    .footer-wrap {
        gap: 20px;
    }

    .footer-line1 {
        font-size: 13px;
    }

    .footer-line2 {
        font-size: 11px;
        gap: 6px 12px;
    }

    .footer-right img {
        height: 38px;
    }
}

/* 手機 */
@media (max-width: 768px) {
    .footer-wrap {
        flex-direction: column;
        gap: 10px;
    }

    .footer-left {
        width: 100%;
    }

    .footer-line1,
    .footer-line2 {
        width: 100%;
    }

    .footer-line1 span,
    .footer-line2 span {
        white-space: normal;
    }

    .footer-line1 {
        font-size: 12px;
    }

    .footer-line2 {
        font-size: 12px;
        line-height: 1.3;
    }

    .footer-right img {
        height: auto;
        max-width: 220px;
    }
}

@media (max-width: 650px) {
    .secTT02 span {
        font-size: 15px;
    }
}


























ul.footerBar li {
    font-family: 'SSTPro-Light', 'SourceHanSansTWHK-Light', '微軟正黑體';
}

@media screen and (max-width: 1500px) {
    .logo {
        left: 35px;
        top: 25px;
        width: 140px;
    }


    .footerBox {
        width: 90%;
    }
}

@media screen and (max-width: 1200px) {
    .video-glow-wrap {
        width: 80%;
    }

    .anchor-section {
        padding: 80px 0px 0px 0px;
    }

    img.dec01 {
        right: 80px;
        width: 300px;
    }

    img.dec02 {
        left: 30px;
        width: 250px;
    }

    img.dec03 {
        right: -120px;
        width: 230px;
    }

    img.dec04 {
        left: -90px;
        width: 220px;
    }

    img.dec05 {
        right: -75px;
        width: 180px;
    }

    img.dec06 {
        left: -75px;
        width: 180px;
    }
}

@media screen and (max-width: 992px) {
    .logo {
        left: 30px;
        top: 25px;
        width: 110px;
    }

    .bannerBox .sub {
        left: 25px;
    }



}

@media screen and (max-width: 750px) {
    .logo {
        left: 24px;
        top: 18px;
        width: 90px;
    }

    .video-glow-wrap {
        width: 90%;
    }


    .bannerBox .sub {
        bottom: 100px;
        width: 75%;
    }

    .secTT {
        font-size: 24px;
        letter-spacing: 3px;
    }

    .anchor-section {
        padding: 25px 0px 0px 0px;
        overflow-x: hidden;
    }

    .soft-fade-box {
        background: linear-gradient(to bottom, #b9a492 0px, #c8b19e 60px, #F2F2F2 200px, #F2F2F2 calc(100% - 200px), #ccb5a3 calc(100% - 60px), #b59b84 100%);
    }

    .sec2img {
        width: 106%;
        margin-left: -3%;
    }

    img.dec01 {
        right: 20px;
        width: 230px;
    }

    img.dec02 {
        left: 15px;
        width: 160px;
        top: 0;
    }

    .sec3img {
        width: 90%;
    }

    img.dec03 {
        right: -77px;
        width: 125px;
    }

    img.dec04 {
        left: -90px;
        width: 150px;
    }

    img.dec05 {
        right: -70px;
        width: 120px;
    }

    img.dec06 {
        left: -70px;
        width: 120px;
    }

    .sec3img {
        display: none;
    }

    .sec3_m {
        display: block;
        width: 90%;
        margin: auto;
    }

    #opening-event .secTT {
        margin-bottom: 30px;
    }

    .sec_tt {
        width: 230px;
    }



}

@media screen and (max-width: 600px) {
    .logo {
        left: 18px;
        top: 14px;
        width: 74px;
    }

    .soft-fade-box {
        padding-top: 10px;
    }

    .secTT {
        font-size: 22px;
        letter-spacing: 2px;
    }

    img.dec01 {
        right: 10px;
        width: 180px;
    }

    img.dec02 {
        width: 130px;
    }

    #opening-event .secTT {
        margin-bottom: 15px;
    }

    .sec_tt {
        width: 230px;
    }


}

@media screen and (max-width: 500px) {
    .bannerBox .sub {
        width: 80%;
        bottom: 120px;
    }

    .bannerBox .nav-button-group {
        bottom: 15px;
    }

    .secTT {
        letter-spacing: 2px;
        line-height: 1.4;
        padding: 0 10px;
    }

    img.dec01 {
        width: 130px;
    }

    img.dec02 {
        width: 110px;
    }

    img.dec03 {
        right: -55px;
        width: 100px;
    }

    img.dec04 {
        left: -80px;
        width: 130px;
    }

    img.dec05,
    img.dec06 {
        display: none;
    }

    .footer-line1 span,
    .footer-line2 span {
        font-weight: 400;
    }

    .partition {
        padding: 15px 0 10px 0;
    }

    .linepar {
        margin: 10px auto;
    }

    .sec2img04 {
        margin-top: -20px
    }

    .soft-fade-box {
        padding-bottom: 30px;
    }

    .footer-line1,
    .footer-line2 {
        font-size: 11px;
    }

    .secTT {
        font-size: 19px;
        letter-spacing: 1px;
    }
}

@media screen and (max-width: 450px) {
    .logo {
        left: 15px;
        top: 13px;
        width: 65px;
    }

}

@media screen and (max-width: 400px) {
    .logo {
        left: 14px;
        top: 10px;
        width: 59px;
    }


}
