@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC&display=swap');

/* ============================================
   基礎樣式
   ============================================ */
*{
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}
html{
    font-size:16px;
    height: 100%;
    margin: 0;
    overflow: hidden;
}
body{
    margin:0 auto;
    padding:0;
    font-size:100%;
    font-weight:400;
    font-family:'Noto Sans TC',sans-serif;
    line-height:1.8;
    letter-spacing:1px;
    background-color:#0c0c0c;
}
a{
    color:#fff;
    text-decoration:none;
}
a:hover{
    opacity:.9;
    -webkit-transition:all .2s ease;
    -o-transition:all .2s ease;
    transition:all .2s ease;
}
img{
    max-width:100%;
    height:auto;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
}
h1{
    font-size:2rem;
    font-weight:600;
    padding-bottom:1rem;
}
p{
    font-size:18px;
}
p span{
    display:inline-block;
    vertical-align:middle;
}

/* ============================================
   Navbar (#navbar)
   ============================================ */
.progress-container{
    width:100%;
    height:8px;
    background:#e8e8e8;
    display: none; /* 預設隱藏，section1 出現後才顯示 */
}
.progress-container.visible {
    display: block;
}
.progress-bar{
    height:8px;
    background:rgb(14 193 233 / 90%);
    width:0%;
}
.head_group{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    z-index: 999;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(8px);
    transition: transform 0.35s ease, opacity 0.35s ease;
    padding: 10px 10%;
    box-sizing: border-box;
    display:flex;
    justify-content:space-between;
}
.head_group .head-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    width: 100%;
    position: relative;
    flex-wrap: nowrap;
}
.head_group .logobox {
    flex: 0 0 auto;
}
.logobox{
    padding-top:2px;
}
.logobox span{
    display:none;
}
.icon-cnalogo{
    fill:#fff;
    width:50px;
    height:50px;
    margin:0 auto;
    vertical-align:middle;
}
.head_group .sharebox {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}
.sharebox{
    display:flex;
    justify-content:center;
}
.sharebox div{
    cursor:pointer;
    display:inline-block;
}
.sharebox div:nth-child(1){
    padding-right:24px;
}
.sharebox div:nth-child(2){
    padding-right:24px;
}
.head_group .sharebox > div {
    display: flex;
}
.head_group .sharebox a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background .2s ease, transform .2s ease;
}
.head_group .sharebox a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
.head_group .sharebox svg {
    width: 28px;
    height: 28px;
}
.fb-btn{
    width:30px;
    height:40px;
}
.line-btn{
    width:30px;
    height:40px;
}
.twitter-btn{
    width:30px;
    height:40px;
}
.head_group.head-hidden-on-first {
    display: none !important;
}
.head_group.head-hidden {
    transform: translateY(-120%);
    opacity: 0;
}
.head_group .hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 10;
}
.head_group .hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all .3s ease;
}
.head_group .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.head_group .hamburger.active span:nth-child(2) {
    opacity: 0;
}
.head_group .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
.head_group .sharebox-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(12px);
    padding: 16px;
    border-radius: 8px;
    margin-top: 8px;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
    z-index: 1000;
}
.head_group .sharebox-menu.active {
    display: flex;
}
.head_group .sharebox-menu a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.head_group .sharebox-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}
.head_group .sharebox-menu a svg {
    width: 28px;
    height: 28px;
    display: block;
}

/* ============================================
   Nav Dropdown Menu
   ============================================ */
.head_group .nav-dropdown {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.head_group .nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all .2s ease;
    white-space: nowrap;
}
.head_group .nav-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}
.head_group .nav-dropdown-toggle.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}
.head_group .nav-dropdown-toggle .dropdown-arrow {
    transition: transform .2s ease;
    width: 12px;
    height: 12px;
}
.head_group .nav-dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}
.head_group .nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 160px;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.head_group .nav-dropdown-menu.active {
    display: block;
}
.head_group .nav-dropdown-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 10px 20px;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: background .2s ease, color .2s ease;
}
.head_group .nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffc96c;
}

/* ============================================
   Fullpage Container
   ============================================ */
.fullpage-container {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    background: #0c0c0c;
}

/* ============================================
   Sections (.fp-section)
   ============================================ */
.fp-section {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    color: #fff;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.fp-section::before {
    content: '';
    position: absolute;
    top: 0px;
    right: 40px;
    width: 280px;
    height: 220px;
    background-image: url('../img/title2025.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    display: none;
}
/* 電腦版：每一 Section 的 title2025.svg 距離上方 36px */
@media (min-width: 64.0625rem) {
    .fp-section::before {
        display: block;
        top: 36px;
    }
}
/* Section1 背景 title2025.svg 與其他 section 一樣顯示 */
/* 確保 section13-20 都有背景 title2025.svg（僅電腦版） */
@media (min-width: 64.0625rem) {
    .fp-section#section13::before,
    .fp-section#section14::before,
    .fp-section#section15::before,
    .fp-section#section16::before,
    .fp-section#section17::before,
    .fp-section#section18::before,
    .fp-section#section19::before,
    .fp-section#section20::before {
        display: block;
    }
}
.fp-section .section-inner {
    max-width: 960px;
    width: 100%;
}
.fp-section h2 {
    margin: 0 0 16px;
    font-size: 32px;
    letter-spacing: 1px;
}
.fp-section p {
    margin: 0 0 24px;
    line-height: 1.8;
    color: #e8e8e8;
}


/* title-img positioning for first section */
/* 手機版第一屏：隱藏 title-img */
.fp-section#intro .title-img,
.fp-section#section1 .title-img {
    display: none;
}
/* Hide title-img on other sections */
.fp-section:not(#intro):not(#section1) .title-img {
    display: none;
}
/* 電腦版第一屏：顯示 title2025.svg，跟手機版一樣位置，但偏手機一屏高度中間偏下 */
@media (min-width: 64.0625rem) {
    .fp-section#intro .section-inner {
        position: relative;
    }
    .fp-section#intro .title-img {
        display: block;
        position: absolute;
        top: calc(50vh + 80px);
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }
    .fp-section#intro .title-img img {
        width: 280px;
        height: auto;
    }
    /* section1 保持隱藏 */
    .fp-section#section1 .title-img {
        display: none;
    }
    /* 高度較矮的電腦版：調整 title-img 和 page-overlay 避免遮擋 */
    @media (min-width: 64.0625rem) and (max-height: 900px) {
        .fp-section#intro .title-img {
            top: calc(50vh + 40px); /* 減少垂直偏移 */
        }
        .fp-section#intro .title-img img {
            width: 220px; /* 縮小圖片尺寸 */
        }
        .fp-section#intro .page-overlay {
            top: -80px; /* 調整 page-overlay 位置，避免遮擋 */
        }
    }
    /* 高度更矮的電腦版：進一步調整 */
    @media (min-width: 64.0625rem) and (max-height: 800px) {
        .fp-section#intro .title-img {
            top: calc(50vh + 20px); /* 進一步減少垂直偏移 */
        }
        .fp-section#intro .title-img img {
            width: 180px; /* 進一步縮小圖片尺寸 */
        }
        .fp-section#intro .page-overlay {
            top: -60px; /* 進一步調整 page-overlay 位置 */
        }
    }
}

/* ============================================
   Hero Slider
   ============================================ */
.mainvisual-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}
/* 電腦版第一屏：在底圖上添加從下方藍黑色到上方0%的漸層 */
@media (min-width: 64.0625rem) {
    .fp-section#intro .mainvisual-slider::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        background: linear-gradient(to top, rgb(4, 8, 16) 0%, rgba(17, 24, 39, 0.8) 35%, rgba(11, 18, 32, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
        z-index: 2;
        pointer-events: none;
    }
}
.kv-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}
.kv-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.kv-slide.active {
    opacity: 1;
    z-index: 1;
}

/* ============================================
   Page Overlay
   ============================================ */
.page-overlay {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    padding: 24px 32px;
    position: relative;
    z-index: 10;
}
 .page-overlay img{
    width: 30%;
    margin: 0 auto;
 }
@media (min-width: 64.0625rem) {
    .fp-section#intro .page-overlay {
        position: absolute;
        left: 0;
        right: 0;
        top: -250px;
        width: 100%;
        margin: 0;
        z-index: 10;
    }
}
.page-overlay .wrap{
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.page-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 24px;
    justify-content: center;
}
.page-buttons a {
    padding: 4px 20px;
    background: rgba(255, 201, 108, 0.3);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: all .2s ease;
    border: 1px solid rgba(255, 201, 108, 0.3);
}
.page-buttons a:hover {
    background: rgba(255, 201, 108, 0.5);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 201, 108, 0.2);
    border-color: rgba(255, 201, 108, 0.5);
}
.page-buttons a.active {
    background: #ffc96c;
    color: #0b0b0b;
    border-color: #ffc96c;
}
.page-buttons a.active:hover {
    background: #ffd98a;
    box-shadow: 0 10px 25px rgba(255, 201, 108, 0.4);
}

/* ============================================
   Section Media
   ============================================ */
.section-media {
    margin: 0 auto 20px;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
}
.section-media img {
    width: 100%;
    max-height: 60vh;
    border-radius: 4px;
    display: block;
    object-fit: cover;
}
/* 電腦版：圖片維持比例縮放，不裁切 */
@media (min-width: 64.0625rem) {
    .section-media img {
        object-fit: contain;
    }
}

/* ============================================
   Section Slider
   ============================================ */
.section-slider {
    position: relative;
    margin: 0 auto 20px;
    max-height: 65vh;
    overflow: hidden;
    border-radius: 6px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
}
.section-slider .slide-list {
    display: flex;
    transition: transform 0.6s ease;
    transform: translateX(0);
}
.section-slider img {
    width: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}
/* 電腦版：slider 圖片維持比例縮放，不裁切 */
@media (min-width: 64.0625rem) {
    .section-slider img {
        object-fit: contain;
    }
}
.slider-nav {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}
.slider-btn {
    pointer-events: auto;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    margin: 0 16px;
    transition: background .2s ease, transform .2s ease;
    font-size: 52px;
    font-weight: bold;
    line-height: 1;
}
.slider-btn:hover {
    background: rgba(14,165,233,0.6);
    transform: translateY(-2px);
}
.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.slider-dot.active {
    background: rgba(255,255,255,0.9);
    transform: scale(1.2);
}

/* ============================================
   Figcaption
   ============================================ */
figcaption{
    font-family: "Noto Sans TC";
    font-size:16px;
    color:#fff;
    width:100%;
    margin-bottom: 16px;
}
figcaption span{
    font-family: "Noto Sans TC";
    color:#8d8a8a;
    font-size:14px;
}
/* Section1 figcaption 電腦版寬度限制 */
@media (min-width: 64.0625rem) {
    .fp-section#section1 figcaption {
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
   Inline Share
   ============================================ */
.inline-share {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    margin-left: 0;
    padding-left: 0;
}
.inline-share a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 4px;
    border: none;
    border-radius: 8px;
    transition: background .2s ease, color .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.inline-share a:first-child {
    padding-left: 0;
    margin-left: 0;
}
.inline-share a:hover {
    background: rgba(255,255,255,.12);
}
.inline-share a svg {
    width: 20px;
    height: 20px;
    display: block;
}
.inline-share .fb-btn {
    width: 28px;
    height: 28px;
}
.inline-share .line-btn {
    width: 28px;
    height: 28px;
}
.inline-share .twitter-btn {
    width: 28px;
    height: 28px;
}
/* 最後一個 section 的 inline-share 避免被 page-navigation 遮擋 */
.fp-section:last-of-type .inline-share {
    position: relative;
    z-index: 999;
    margin-bottom: 80px; /* 為 page-navigation 預留空間 */
}
/* 當 page-navigation 可見時，確保最後一個 section 有足夠的底部空間 */
.fp-section:last-of-type {
    padding-bottom: 100px;
}

/* ============================================
   背景類別
   ============================================ */
.bg1 { background: radial-gradient(circle at 20% 20%, rgba(14,165,233,.25), transparent 35%), linear-gradient(135deg, #111827 0%, #0b1220 50%, #0d0d0d 100%); }
.bg2 { background: radial-gradient(circle at 80% 10%, rgba(94,234,212,.2), transparent 30%), linear-gradient(135deg, #0b1220 0%, #0f172a 60%, #111827 100%); }
.bg3 { background: radial-gradient(circle at 10% 70%, rgba(239,68,68,.25), transparent 40%), linear-gradient(135deg, #0f172a 0%, #0b1220 50%, #0d0d0d 100%); }
.bg4 { background: radial-gradient(circle at 85% 75%, rgba(234,179,8,.25), transparent 35%), linear-gradient(135deg, #0b1220 0%, #0f172a 60%, #111827 100%); }
.bg5 { background: radial-gradient(circle at 50% 30%, rgba(139,92,246,.25), transparent 40%), linear-gradient(135deg, #0d0d0d 0%, #111827 50%, #0b1220 100%); }
.bg6 { background: radial-gradient(circle at 70% 60%, rgba(236,72,153,.25), transparent 35%), linear-gradient(135deg, #0f172a 0%, #0d0d0d 60%, #111827 100%); }

/* ============================================
   Footer
   ============================================ */
.footer-spacer {
    height: 80px;
    width: 100%;
}
footer{
    font-size:14px;
    color:#fff;
    text-align:center;
    margin-top: 0;
    padding: 16px 24px;
    background: rgba(19, 22, 32, 0.7);
    backdrop-filter: blur(8px);
    color: #e8e8e8;   
    border-top: 1px solid rgba(255,255,255,0.1);
    scroll-snap-align: none;
    min-height: auto;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.35s ease, opacity 0.35s ease;
}
footer.footer-visible {
    opacity: 1;
    transform: translateY(0);
}
footer p {
    margin: 0;
    font-size: 14px;
}

/* ============================================
   Go Top Button
   ============================================ */
#goTop {
    position: fixed;
    right: 24px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgb(14 193 233 / 90%);
    color: #0b0b0b;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: none;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, opacity .2s ease;
    z-index: 998;
}
#goTop:hover {
    transform: translateY(-3px);
}

/* ============================================
   Page Navigation Buttons
   ============================================ */
.page-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 16px 24px;
    background: rgba(19, 22, 32, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 997;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.35s ease, opacity 0.35s ease;
}
.page-navigation.nav-visible {
    opacity: 1;
    transform: translateY(0);
    bottom: 60px;
}
.page-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 20px;
    background: rgba(255, 201, 108, 0.3);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid rgba(255, 201, 108, 0.3);
    font-size: 16px;
    font-weight: 700;
    font-family: 'Noto Sans TC', sans-serif;
    transition: all .2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.page-nav-btn:hover {
    background: rgba(255, 201, 108, 0.5);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 201, 108, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 201, 108, 0.2);
}
.page-nav-btn:active {
    transform: translateY(0);
}
.page-nav-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.page-nav-btn.prev svg {
    transform: rotate(180deg);
}
@media (max-width: 64rem) {
    .page-navigation {
        padding: 12px 16px;
        gap: 12px;
    }
    .page-nav-btn {
        padding: 4px 16px;
        font-size: 14px;
    }
    .page-nav-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   Media Queries - 按照尺寸從大到小排列
   ============================================ */

/* ============================================
   Media Queries - 手機版整合
   ============================================ */

/* max-width: 64rem (1024px) - 手機版主要設定 */
@media (max-width:64rem){
    h1{
        font-size:1.375rem;
    }
    figcaption{
        width:100%;
    }
    .fp-section {
        padding: 0px 16px 0px;
    }
    .fp-section::before {
        display: none;
    }
    /* 手機版第一屏：隱藏 title-img（與電腦版一致） */
    .fp-section#intro .title-img {
        display: none;
    }
    /* Mobile: section1 也隱藏 title-img */
    .fp-section#section1 .title-img {
        display: none;
    }
    .head_group .head-inner {
        padding: 0 16px;
    }
    .head_group .nav-dropdown {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .head_group .nav-dropdown-toggle {
        padding: 6px 12px;
        font-size: 14px;
    }
    .head_group .nav-dropdown-menu {
        min-width: 140px;
    }
    .head_group .nav-dropdown-menu a {
        padding: 8px 16px;
        font-size: 14px;
    }
    .head_group .sharebox {
        display: none;
    }
    .head_group .hamburger {
        display: flex;
    }
    .head_group .sharebox-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(17, 24, 39, 0.95);
        backdrop-filter: blur(12px);
        padding: 16px;
        border-radius: 8px;
        margin-top: 8px;
        flex-direction: row;
        gap: 12px;
        min-width: auto;
        z-index: 1000;
    }
    .head_group .sharebox-menu.active {
        display: flex;
    }
    .fp-section#intro .page-overlay {
        position: absolute;
        bottom: 100px;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        z-index: 10;
    }
    /* iPad 版：添加漸層效果並調整位置 */
    @media (min-width: 48rem) and (max-width: 64rem) {
        .fp-section#intro .mainvisual-slider::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100%;
            background: linear-gradient(to top, rgb(4, 8, 16) 0%, rgba(17, 24, 39, 0.8) 35%, rgba(11, 18, 32, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
            z-index: 2;
            pointer-events: none;
        }
        .fp-section#intro .page-overlay {
            bottom: 120px;
        }
        .fp-section#intro .scrollBlock {
            bottom: 60px;
        }
    }
    .page-overlay img {
        width: 54%;
    }
    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 28px;
        margin: 0 12px;
    }
    .page-buttons a {
        padding: 4px 16px;
    }
    footer{
        margin-top:2rem;
    }
    .section-inner p {
        text-align: left;
    }
    /* Scroll Hint 手機版設定 */
    .scrollBlock {
        bottom: 40px;
    }
    .scroll-arrow {
        width: 8px;
        height: 8px;
    }
    .scroll-text {
        font-size: 13px;
    }
}

/* max-width: 50rem (800px) */
@media (max-width:50rem){
    h1{
        font-size:2rem;
    }
    figcaption{
        font-size:16px;
    }
    figcaption span{
        font-size:14px;
    }
    .kv-slide img {
        display: none;
    }
}

/* max-width: 40rem (640px) */
@media (max-width:40rem){
    h1{
        font-size:1.375rem;
        padding-bottom: 0.5rem;
    }
    .icon-cnalogo{
        width:40px;
        height:40px;
    }
    .fb-btn{
        width:30px;
        height:40px;
    }
    .line-btn{
        width:30px;
        height:40px;
    }
    .twitter-btn{
        width:30px;
        height:40px;
    }
    .logobox{
        padding-top:2px;
    }
    .head_group{
        height: 60px;
        padding: 10px 4%;
    }
    .head_group .head-inner {
        padding: 0 12px;
    }
    .head_group .nav-dropdown {
        margin: 0 6px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .head_group .nav-dropdown-toggle {
        padding: 5px 10px;
        font-size: 13px;
    }
    .head_group .nav-dropdown-menu {
        left: 50%;
        transform: translateX(-50%);
        min-width: 120px;
    }
    .head_group .nav-dropdown-menu a {
        padding: 8px 14px;
        font-size: 13px;
    }
    .head_group .sharebox{
        display: none;
    }
    .head_group .sharebox div{
        padding:0;
    }
    .head_group .hamburger {
        display: flex;
    }
    .head_group .sharebox-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(17, 24, 39, 0.95);
        backdrop-filter: blur(12px);
        padding: 16px;
        border-radius: 8px;
        margin-top: 8px;
        flex-direction: row;
        gap: 12px;
        min-width: auto;
        z-index: 1000;
    }
    .head_group .sharebox-menu.active {
        display: flex;
    }
    .fp-section#section1 .section-inner {
        padding-bottom: 0px;
    }
    .fp-section p {
        line-height: 1.5;
    }
    .section-inner p {
        text-align: left;
    }
    .logobox span{
        display:none;
    }
    .page-overlay {
        padding: 12px 16px 20px;
    }
    .page-overlay .wrap{
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
}

/* max-width: 37.5rem (600px) */
@media (max-width:37.5rem){
    p{
        font-size:16px;
    }
    .fb-btn{
        width:26px;
        height:26px;
    }
    .line-btn{
        width:26px;
        height:26px;
    }
    .twitter-btn{
        width:26px;
        height:26px;
    }
}

/* max-width: 20rem (320px) */
@media (max-width:20rem){
    h1{
        font-size:1.25rem;
    }
    p{
        font-size:14px;
    }
}

/* ============================================
   Scroll Hint (滾動提示)
   ============================================ */
.scrollBlock {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.scrollbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.scrollhint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: scrollHint 2s ease-in-out infinite;
}
.scroll-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: lowercase;
    font-family: 'Noto Sans TC', sans-serif;
}
.scroll-arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid rgba(255, 255, 255, 0.9);
    transform: rotate(45deg);
    animation: scrollArrow 2s ease-in-out infinite;
}
@keyframes scrollHint {
    0% {
        opacity: 0.4;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(8px);
    }
    100% {
        opacity: 0.4;
        transform: translateY(0);
    }
}
@keyframes scrollArrow {
    0% {
        opacity: 0.4;
        transform: rotate(45deg) translateY(0);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) translateY(6px);
    }
    100% {
        opacity: 0.4;
        transform: rotate(45deg) translateY(0);
    }
}
@media (min-width: 64.0625rem) {
    .fp-section#intro .scrollBlock {
        bottom: 40px;
    }
}
