/**
 * 注意：此檔案包含自定義樣式，請勿在系統更新時覆蓋
 * Note: This file contains custom styles, do not overwrite during system updates
 * 最後更新 / Last updated: 2025-04-16
 */

/* 全局|header|箭頭樣式 */
.nav__btn::after{
    font-family: "icomoon";
    content: "\f105";
    font-size: 20px;
    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;
        transform: rotate(0deg);
    }
}
.nav__btn-icon{
    display: none;
}

/* 全局|header|set */
.header-template4 {
    &.header--unfixed {
        background: linear-gradient(to bottom,  rgba(0,0,0,0.75) 0%,rgba(0,0,0,0.35) 65%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        transition: all 500ms ease-in-out;
        .nav__name.active, .nav__name.active:hover {
            color: #2b8dfe !important;
        }
    }
    &.header--fixed {
        box-shadow: none;
        .nav__name.active, .nav__name.active:hover {
            color: #0a4aff !important;
        }
    }
    .nav {
        .nav__name.active {
            font-weight: 600;
        }
        .nav__layer {
            width: max-content;
            min-width: 200px;
            .nav__item {
                .nav__name {
                    &:hover {
                        padding-left: 25px;
                        font-weight: normal;
                    }
                }
            }
        }
    }
}
@media (max-width: 991px) {
    .header-template4 {
        &.header--unfixed {
            .nav__name.active, .nav__name.active:hover {
                color: #2b8dfe !important;
            }
        }
        .nav__box, .nav__box--turnover .nav__layer {
            background-color: #00134a !important;
        }
        .nav {
            .nav__layer {
                width: 100%;
                .nav__item {
                    .nav__name {
                        height: auto;
                    }
                }
            }
        }
        .nav__name {
            padding: 10px 15px;
        }
        .nav__btn::after {
            color: #fff !important;
        }
    }
}

/* 全局|gdpr|位置變更 */
@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: #c6cbcf;
        border-color: #c6cbcf;
    }

}


/* other */
.banner {
    &:after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,.3);
    }
    .main-h1 {
        z-index: 1;
    }
}
.banner .main-h1 {
    text-shadow: none;
}
.ind-section h2 span {
    font-weight: bold;
}
@media (max-width: 991px) {
    .sort_1.footer-common-editor1-template9 a.contact-btn {
        width: 200px;
        margin: 0 0 30px;
    }
    .footer-common-editor1-template9 .footer-common-editor1-template9-item:nth-last-child(1) {
        padding-left: 0;
    }
}
html[lang="ja"], html[lang="en"] {
    .sort_1.index-editor-template31 .index-editor-template31-items .index-editor-template31-item .name {
        font-size: 23px;
    }
}
@media (max-width: 1280px) {
    html[lang="ja"] {
        .sort_1.index-editor-template31 .index-editor-template31-items .index-editor-template31-item .name {
            font-size: 22px;
        }
    }
}
.sort_1.index-editor-template31 .index-editor-template31-items .index-editor-template31-item .name {
    background: #0808081c !important;
}
@media (max-width: 991px) {
    html[lang="ja"], html[lang="en"] {
        .sort_1.index-editor-template31 .index-editor-template31-items .index-editor-template31-item .name {
            font-size: 24px;
        }
    }
}
@media (max-width: 375px) {
    html[lang="ja"], html[lang="en"] {
        .sort_1.index-editor-template31 .index-editor-template31-items .index-editor-template31-item .name {
            font-size: 20px;
        }
    }
}
.index-editor-template32 .index-editor-template32-item a span {
    text-align: center;
}
.pdt-link {
    padding: 0 20px;
    i {
        margin-right: 10px;
    }
}