﻿/* ==============================
   頂部 Header（透明狀態）
   ============================== */
.pch-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding-top: 10px;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    transition: background-color .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;
}

/* Logo 大小 */
.pch-logo {
    height: 4rem;
    width: 150px;
}

/* Menu 字型 */
.pch-nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333 !important;
}

.pch-header.fixed-top a.nav-link.pch-nav-link {
    color: #FFF !important;
}
    .pch-header.fixed-top a.nav-link.pch-nav-link::after {
        background: #FFF !important;
    }

.pch-header.fixed-top.scrolled a.nav-link.pch-nav-link {
    color: #000 !important;
}
    .pch-header.fixed-top.scrolled a.nav-link.pch-nav-link::after {
        background: #000 !important;
    }

.pch-header.fixed-top.scrolled2 a.nav-link.pch-nav-link {
    color: #000 !important;
}

    .pch-header.fixed-top.scrolled2 a.nav-link.pch-nav-link::after {
        background: #000 !important;
    }
/* ==============================
   滑動後 Header（白底＋陰影）
   ============================== */
    .pch-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
    position: fixed !important;
}

.pch-header.scrolled2 {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important; */
    position: fixed !important;
    border-bottom: 1px solid #f7f7f7;
}

        html, body {
            margin: 0 !important;
            padding: 0 !important;
            overflow-x: hidden !important;
        }

/* 分隔線：只有前面 4 個有，最後一個（會員登入）沒有 */
/*.navbar-nav .nav-item:not(:last-child) .nav-link {
    position: relative;
    padding-right: 18px;
}

    .navbar-nav .nav-item:not(:last-child) .nav-link::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        width: 1px;
        height: 16px;
        background: #000;
        transform: translateY(-50%);
    }*/

/* 先移除全部分隔線，避免干擾 */
/*.navbar-nav .nav-link::after {
    content: none !important;
}*/

/* 只對前 3 個 nav-item 加分隔線 */

.nav-link {
    font-size: 14pt;
    font-weight: 900;
}

.navbar-nav .nav-item:nth-child(-n+4) .nav-link {
    position: relative;
    padding-right: 16px;
}

    .navbar-nav .nav-item:nth-child(-n+4) .nav-link::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        width: 1px;
        height: 16px;
        background: #000;
        transform: translateY(-50%);
    }

#mainNav {
    font-size: 14pt;
    font-weight: 900;
}

/* 整體背景 */
.pch-footer {
    /*background: #f7f7f7;*/
    padding-top: 3rem;
    /*    padding-bottom: 2rem;
*/ margin-top: 3rem;
}

/* 內容限制寬度 */
.footer-container {
    max-width: 1320px; /* ★ 你要求的最大寬度 */
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

/* 左側區域 */
.footer-left {
    width: 350px;
}

.footer-logo {
    width: 160px;
    margin-bottom: 1.5rem;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    line-height: 1.9;
}

    .footer-menu a {
        color: #444;
        text-decoration: none;
        font-size: 0.95rem;
    }

        .footer-menu a:hover {
            color: #ff8c2a;
        }

.footer-help .help-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    display: block;
}

.help-phone {
    color: #ff6820;
    font-weight: 600;
    text-decoration: none;
}

/* 訂閱區域 */
.footer-right {
    flex: 1;
}

.footer-subscribe-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.footer-subscribe-desc {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-subscribe-box {
    display: flex;
    gap: 10px;
    margin-bottom: 1.2rem;
}

.footer-input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.footer-btn {
    padding: 10px 20px;
    background: #ff8c2a;
    border: none;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
}

    .footer-btn:hover {
        background: #ff9c45;
    }

/* 社群圖示 */
.footer-social {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    margin-top: auto;
    height: 65%;
}

    .footer-social a {
        display: inline-block;
    }

    .footer-social .social-icon {
        width: 28px; /* 可依需求調整 */
        height: 28px;
        object-fit: contain;
        transition: transform .2s ease, opacity .2s ease;
    }

        .footer-social .social-icon:hover {
            transform: scale(1.12); /* hover 效果 */
            opacity: 0.85;
        }

/* 最底部 */
.footer-bottom {
    max-width: 100%;
    margin: 2.5rem auto 0;
    padding: 1.5rem 0;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: center;
    color: #888;
    font-size: 0.95rem;
    background-color: #dddd;
}

.footer-bottom-links a {
    margin-left: 1.2rem;
    color: #666;
    text-decoration: none;
}

    .footer-bottom-links a:hover {
        color: #ff8c2a;
    }

/* 手機版 */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-right {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .footer-bottom-links a {
        margin: 0 0.6rem;
    }
}

.head-menu-icon {
    width: 30px;
}

.nav-item-user {
    padding-left: 2vw;
}

/*主視覺*/
.H-B-Title_1 {
    font-family: 'SourceHanSansTWHK-Medium' !important;
    font-weight: 400 !important;
    font-size: 30pt !important;
}

.H-B-Title_2 {
    font-family: 'Pano Bold' !important;
    font-weight: bold !important;
    font-size: 30pt !important;
}

.H-B-Title_3 {
    font-family: 'Pano Bold' !important;
    font-weight: bold !important;
    font-size: 30pt !important;
}

/*指定文字大小*/
.fs-9pt {
    font-size: 9pt;
}
/*宣告字型*/
@font-face {
    font-family: 'Pano Bold';
    src: url('../../fonts/Pano Bold.woff2') format('woff2'), url('../../fonts/Pano Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pano Trial Light';
    src: url('../../fonts/HW Pano Trial Light.woff2') format('woff2'), url('../../fonts/HW Pano Trial Light.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SourceHanSansTWHK-ExtraLight';
    src: url('../../fonts/SourceHanSansTWHK-ExtraLight.woff2') format('woff2'), url('../../fonts/SourceHanSansTWHK-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SourceHanSansTWHK-Light';
    src: url('../../fonts/SourceHanSansTWHK-Light.woff2') format('woff2'), url('../../fonts/SourceHanSansTWHK-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SourceHanSansTWHK-Regular';
    src: url('../../fonts/SourceHanSansTWHK-Regular.woff2') format('woff2'), url('../../fonts/SourceHanSansTWHK-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SourceHanSansTWHK-Normal';
    src: url('../../fonts/SourceHanSansTWHK-Normal.woff2') format('woff2'), url('../../fonts/SourceHanSansTWHK-Normal.woff') format('woff');
    font-weight: 450;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SourceHanSansTWHK-Medium';
    src: url('../../fonts/SourceHanSansTWHK-Medium.woff2') format('woff2'), url('../../fonts/SourceHanSansTWHK-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SourceHanSansTWHK-Bold';
    src: url('../../fonts/SourceHanSansTWHK-Bold.woff2') format('woff2'), url('../../fonts/SourceHanSansTWHK-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SourceHanSansTWHK-Heavy';
    src: url('../../fonts/SourceHanSansTWHK-Heavy.woff2') format('woff2'), url('../../fonts/SourceHanSansTWHK-Heavy.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'house';
    src: url('../../fonts/house.woff2') format('woff2'), url('../../fonts/house.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
