/**
 * 注意：此檔案包含自定義樣式，請勿在系統更新時覆蓋
 * Note: This file contains custom styles, do not overwrite during system updates
 * 最後更新 / Last updated: 2025-04-16
 */
/* 全局|gdpr|位置變更 */
/*.advbox{*/
/*    background: #8a7358 !important;*/
/*}*/
@media screen and (min-width:991px) {
    .advbox{
        max-width: 400px;
        left: 16px;
        bottom: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cookies-btn,.advbox .btnset{
        width: 100%;
        margin: 8px auto;
        text-align: center;
    }

    .advbox .btnset:hover{
        background: #383838;
    }

}

/* 全局|header|set */
.header-template4 {
    &.header--unfixed {
        background: linear-gradient(to bottom, rgb(0 0 0 / 43%) 0%, rgba(255, 255, 255, 0) 100%);
        .nav__item {
            .nav__name {
                &.active {
                    color: #28364F !important;
                }
            }
            .nav__name.active + .nav__btn::after {
                color: #28364F;
            }
        }
    }
    &.header--fixed {
        background: linear-gradient(to bottom, rgb(0 0 0 / 0%) 0%, rgb(210 210 210 / 63%) 100%) #FFFFFF;
        border-bottom: 1px #ffffff solid;
        .nav__item {
            .nav__name.active + .nav__btn::after {
                color: #28364F;
            }
        }
    }
    .nav__item {
        .nav__name {
            &.active {
                font-weight: 600 !important;
            }
        }
    }
    .nav-item-news {
        > .nav__btn {
            display: none;
        }
    }
    .nav__layer {
        width: max-content;
        min-width: 200px;
        .nav__item {
            .nav__name {
                &:hover {
                    padding-left: 25px;
                    font-weight: 400;
                }
            }
        }
    }
    .header__search-form--on {
        .header__search-btn {
            background-color: #2d3b53;
            color: #FFFFFF;
        }
    }
}
@media (max-width: 991px) {
    .header-template4 {
        &.header--unfixed {
            .nav__item {
                .nav__name {
                    &.active {
                        color: #FFFFFF !important;
                    }
                }
            }
        }
        .nav__layer {
            width: 100%;
        }
    }
}
@media (min-width: 992px) {
    :lang(ja) {
        .header-template4 {
            .nav__name {
                padding: 20px 17px;
                font-size: 16px;
            }
            .nav__btn {
                right: 4px;
            }
        }
    }
}


/* 全局|header|箭頭樣式 */
.nav__btn::after{
    font-family: "icomoon";
    content: "\f105";
    font-size: 20px;
    color: #939393;
    transform: rotate(90deg);
}

.nav__layer .nav__btn::after{
    font-family: "icomoon";
    content: "\f105";
    font-size: 20px;
    transform: rotate(0deg);
}

@media screen and (max-width:991px) {
    .nav__btn::after{
        font-family: "icomoon";
        content: "\f105";
        font-size: 20px;
        color: #FFFFFF !important;
        transform: rotate(0deg);
    }
}
.nav__btn-icon{
    display: none;
}

/* 首頁|列表標題|字體粗度 */
section .title.title--lg{
    font-weight: bold;
}

/* 首頁|banner|箭頭大小 */
.ind-banner .swiper-button-next::after, .ind-banner .swiper-button-prev::after{
    font-size: 24px;
}

/* 全局|footer|set */
.footer-common-editor1-template1 {
    .footer__logo {
        padding-right: 3rem;
    }
    .footer__info {
        padding-left: 3rem;
        ul {
            width: 50%;
            .title {
                margin-bottom: 0;
                padding: 0 0 15px;
                font-size: 16px;
                font-weight: 600;
                color: #28364F;
                position: relative;
                &:after {
                    width: 40px;
                    height: 2px;
                    position: absolute;
                    left: 0;
                    bottom: 12px;
                    background-color: #28364F;
                    content: "";
                }
            }
        }
    }
}
@media (max-width: 768px) {
    .footer-common-editor1-template1 {
        .footer__logo {
            padding-right: 0;
        }
        .footer__info {
            padding-left: 0;
        }
    }
}
@media (max-width: 600px) {
    .footer-common-editor1-template1 {
        .footer__info {
            ul {
                width: 100%;
                &:last-child {
                    margin-top: 20px;
                }
            }
        }
    }
}
.footer-common-editor2-template5 {
    .footer-common-editor2-template5-pic {
        height: 200px;
        position: inherit;
    }
    .footer-common-editor2-template5-content {
        margin-left: 0;
        align-content: center;
    }
}
@media (max-width: 768px) {
    .footer-common-editor2-template5 {
        .footer-common-editor2-template5-pic {
            height: 170px;
        }
    }
}

/* others */
.index-h1__setting {
    font-weight: 300;
}
.index-editor-template25 {
    .time-line-groups {
        .title {
            font-weight: 700;
        }
    }
}
@media (max-width: 480px) {
    .index-editor-template17 {
        .index-editor-template17-title {
            font-size: 24px;
        }
    }
}
.inner > .title span::before {
    display: none;
}
.news--list {
    .news__item {
        background-color: #f1f1f1;
    }
}
.contact-block__info {
    .contact-editor-template1 {
        &:last-child {
            margin-top: 40px;
            padding-top: 30px !important;
            border-top: 1px #999999 dashed;
        }
    }
}


