/**
 * 注意：此檔案包含自定義樣式，請勿在系統更新時覆蓋
 * Note: This file contains custom styles, do not overwrite during system updates
 * 最後更新 / Last updated: 2025-04-16
 */
/* 全局|html|font */
/*html lang["en"] {*/
/*}*/
html {
    /*font-family: "Noto Sans TC", "PingFang TC", "微軟正黑體", Arial, sans-serif;*/
    font-family: Calibri, "微軟正黑體", Arial, sans-serif;
}

/* 全局|wrapper|寬度調整 */
.wrapper {
    max-width: 1170px;
    &.wrapper--fluid {
        max-width: 100%;
    }
}

/* 全局|gdpr|位置變更 */
@media screen and (min-width:991px) {
    .advbox{
        max-width: 400px;
        left: 15px;
        bottom: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cookies-btn,.advbox .btnset{
        width: 100%;
        margin: 8px auto;
        text-align: center;
    }
    .advbox .btnset{
        padding: 9px 40px 10px 30px !important;
        margin-bottom: 2px;
        color: #fff;
        background-color: #a50034;
        border-color: #a50034;
    }
}

/* 全局|header、footer|wrapper */
.header {
    .wrapper {
        max-width: 100%;
        padding: 0 32px;
    }
}
@media (max-width: 1280px) {
    .header {
        .wrapper {
            padding: 0 10px;
        }
    }
}

/* 全局|header|logo */
.header-template4 {
    &.header--unfixed {
        .logo__img {
            position: relative;
            &:before {
                width: 150px;
                height: 49px;
                position: absolute;
                left: 0;
                top: 0;
                content: "";
                background-image: url("../images/logo-w.png");
                background-repeat: no-repeat;
                background-size: 150px auto;
            }
        }
    }
}

/* 全局|header|箭頭樣式 */
.nav__btn::after{
    width: 6px;
    height: 16px;
    font-family: "icomoon";
    content: "\f105";
    font-size: 16px;
    transform: rotate(90deg);
    display: flex;
    align-items: center;
}

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

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


/* 全局|header|set */
.header-template4 {
    transition: all 500ms ease-in-out;
    .nav__name {
        &:hover, &.active {
            color: #F2A900 !important;
        }
    }
    .topblock {
        display: none;
    }
    .nav__name {
        width: auto;
        margin: 0;
    }
    .header__search-icon {
        width: 26px;
        height: 26px;
        font-size: 14px;
        transition: all 500ms ease-in-out;
    }
    /*&.header--unfixed {*/
    /*    .header__search-icon {*/
    /*        i {*/
    /*            color: #000 !important;*/
    /*        }*/
    /*    }*/
    /*}*/
    .nav__layer {
        min-width: 200px;
        width: max-content;
        .nav__name {
            &:hover {
                padding-left: 25px;
                font-weight: 400;
            }
        }
    }
}
@media (max-width: 1520px) {
    .header-template4 {
        .nav__name {
            padding: 20px 25px;
        }
        .nav__item-div {
            >.nav__btn {
                right: 0;
            }
        }
    }
}
@media (max-width: 1470px) {
    .header-template4 {
        .nav__name {
            padding: 20px 16px;
        }
    }
}
@media (max-width: 1440px) {
    .header-template4 {
        .nav__item-div {
            >.nav__btn {
                right: -3px;
            }
        }
    }
}
@media (max-width: 1366px) {
    .header-template4 {
        .nav__name {
            padding: 20px 11px;
        }
    }
}
@media (max-width: 991px) {
    .header-template4 {
        &.header--fixed {
            .nav__box {
                height: 100vh;
            }
        }
        .header__inner {
            padding: 10px 20px !important;
        }
        .nav__layer {
            width: 100%;
            height: 100vh;
        }
        .nav__name {
            padding: 10px 15px;
            &.active, &:hover {
                color: #fff !important;
            }
        }
        .header__search--on {
            .header__search-icon {
                background-color: transparent;
            }
        }
    }
}

/* 全局|footer|set */
.footer-common-editor1-template1 {
    .footer__social, .footer__info {
        .title {
            padding-bottom: 10px;
            position: relative;
            &:before, &:after {
                height: 2px;
                position: absolute;
                left: 0;
                bottom: 0;
                content: "";
            }
            &:before {
                width: 50px;
                background-color: #F2A900;
                z-index: 1;
            }
            &:after {
                width: 100%;
                max-width: 300px;
                background-color: #444;
            }
        }
    }
}
@media (max-width: 480px) {
    .footer-common-editor1-template1 {
        .footer__social, .footer__info {
            .title {
                &:after {
                    max-width: none;
                }
            }
        }
    }
}


/* 首頁|banner|文字區塊 */
.ind-banner__text {
    width: 50%;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    .title {
        font-weight: 700;
        text-align: left;
    }
    p {
        text-align: left;
    }
    .btnbox {
        text-align: left;
        .btnset {
            margin-top: 10px;
            background-color: transparent;
            border-color: #fff;
            &:hover {
                background-color: #fff;
                color: #000;
            }
        }
    }
}
@media (max-width: 1440px) {
    .ind-banner__text {
        width: 70%;
    }
}
@media (max-width: 991px) {
    .ind-banner__text {
        width: 100%;
        p {
            margin: 15px 0;
        }
    }
}
@media (max-width: 480px) {
    .ind-banner__text {
        .title {
            font-size: 2.2rem;
            line-height: 3.25rem;
        }
    }
}

/* 首頁|banner|左右鍵 */
.ind-banner .swiper-button-next::after, .ind-banner .swiper-button-prev::after {
    content: "\e939";
    transform: rotate(90deg);
    font-size: 36px;
    text-shadow: none;
}
.ind-banner .swiper-button-next::after {
    transform: rotate(-90deg);
}
@media (max-width: 480px) {
    .ind-banner {
        .swiper-button-next, .swiper-button-prev {
            top: -moz-calc(40% - 23px);
            top: -webkit-calc(40% - 23px);
            top: calc(40% - 23px);
        }
    }
}

/* 首頁|banner|bullet */
.ind-banner {
    .swiper-pagination {
        .swiper-pagination-bullet {
            width: 9px;
            height: 9px;
            transition: all 500ms ease-in-out;
        }
        .swiper-pagination-bullet-active {
            width: 17px;
            height: 17px;
            border: 3px solid #fff;
            background-color: transparent !important;
        }
    }
}


/* other */
.index-h1 {
    padding-top: 40px;
    position: relative;
    z-index: 0;
    &:after {
        width: 100%;
        height: 150vh;
        position: absolute;
        left: 0;
        top: 0;
        content: "";
        background-image: url("../images/main-bg.webp");
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center -80px;
        z-index: -1;
    }
}
@media (max-width: 768px) {
    .index-h1 {
        &:after {
            background-size: cover;
            background-position: center top;
        }
    }
}
.index-h1__setting {
    font-weight: 300;
}
.banner {
    .main-h1 {
        text-shadow: none;
        z-index: 1;
    }
    picture {
        &:after {
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            background-color: rgb(0 0 0 / 35%);
            content: "";
        }
    }
}
.ind-section {
    z-index: 1;
    h2 {
        text-transform: uppercase;
        font-size: 3rem;
        span {
            font-weight: 700;
        }
    }
}
@media (max-width: 600px) {
    .ind-section {
        h2 {
            font-size: 2.6rem;
        }
    }
}
.ind-category {
    margin-bottom: 40px;
    h2 {
        margin-bottom: 60px;
    }
    .wrapper {
        box-shadow: 0 0 7px rgba(0, 0, 0, 0.35);
    }
    .product {
        margin: 0;
        .product__item {
            background-color: #a50034;
            .img {
                display: none;
            }
            .text {
                a {
                    color: #fff;
                    font-size: 16px;
                    &:hover {
                        color: #f2a900;
                    }
                }
            }
        }
        &:first-child {
            .product__item {
                padding-bottom: 0;
            }
        }
        &:last-child {
            .product__item {
                padding-top: 0;
            }
        }
    }
}
@media (max-width: 768px) {
    .ind-category {
        .product {
            .product__item {
                width: 100%;
                padding: 0 10px !important;
            }
            &:first-child {
                .product__item {
                    &:first-child {
                        padding-top: 20px !important;
                    }
                }
            }
            &:last-child {
                .product__item {
                    &:last-child {
                        padding-bottom: 20px !important;
                    }
                }
            }
        }
    }
}
.news {
    .news__item {
        .info {
            h3 {
                font-weight: 700;
            }
            .date {
                color: #777;
            }
            .description {
                color: #555;
            }
            .btnset {
                width: auto;
                padding: 0;
                background-color: transparent;
                color: #F2A900;
                border: none;
                text-align: left;
                font-size: 18px;
                text-transform: uppercase;
                i {
                    margin-left: 5px;
                }
                &:hover {
                    transform: translateX(2px);
                    color: #a50034;
                }
            }
        }
    }
}
.ind-news {
    padding-top: 60px;
    padding-bottom: 60px;
    .news {
        .news__item {
            position: relative;
            z-index: 0;
            &:after {
                width: 94%;
                height: 94%;
                position: absolute;
                top: 50%;
                left: 50%;
                background-color: #fff;
                border-radius: 6px;
                border: 1px #eee solid;
                transform: translate(-50%, -50%);
                content: "";
                z-index: -1;
                transition: all 500ms ease-in-out;
            }
            &:hover {
                &:after {
                    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
                }
            }
        }
    }
}
.index-editor-template3 {
    padding: 80px 0 60px;
    .choose {
        padding: 0 !important;
        > .title {
            width: 100%;
            padding: 0;
            font-size: 3rem;
            color: #606060;
            &:before, &:after {
                display: none;
            }
            span {
                text-align: center;
                font-weight: 700;
                color: #fff;
            }
        }
    }
    .choose-icon {
        .icondiv {
            width: calc(1 / 4 * 100% - 10px);
            height: 200px;
            margin: 0 5px 10px;
            border: none;
            box-shadow: none !important;
            border-radius: 8px;
            transition: all 500ms ease-in-out;
            img {
                max-width: none;
                mix-blend-mode: multiply;
                transition: all 500ms ease-in-out;
            }
            &:hover {
                background-color: #F3F3F3 !important;
                box-shadow: 0 0 4px rgba(0,0,0,.12) !important;
                img {
                    transform: rotate(360deg);
                }
            }
        }
    }
}
@media (max-width: 991px) {
    .index-editor-template3 {
        .choose {
            padding: 0 20px !important;
        }
        .choose-icon {
            .icondiv {
                width: calc(1 / 2 * 100% - 10px);
            }
        }
    }
}
@media (max-width: 600px) {
    .index-editor-template3 {
        .choose {
            > .title {
                font-size: 2.6rem;
            }
        }
        .choose-icon {
            .icondiv {
                width: 100%;
                height: auto;
                margin: 0 0 20px;
                &:last-child {
                    margin-bottom: 0;
                }
            }
        }
    }
}
.ind-below {
    z-index: 0;
    &:after {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background-color: #7855045c;
        content: "";
        z-index: -1;
    }
}
.index-editor-template52 {
    padding-bottom: 60px;
    .title {
        margin-bottom: 30px;
        font-size: 3rem;
        color: #606060;
        text-align: center;
        span {
            font-weight: 700;
        }
    }
    .service-wrap {
        flex-wrap: wrap;
        .item {
            flex: none;
            width: 33.33333333333333333%;
            margin: 0;
            padding: 2rem;
            .service-icon {
                transition: all 500ms ease-in-out;
                &:before, &:after {
                    width: 15px !important;
                    height: 50px !important;
                    margin-top: -25px !important;
                }
                &:before {
                    left: calc(50% - 28px) !important;
                }
                &:after {
                    right: calc(50% - 28px) !important;
                }
                .inner {
                    width: 36px;
                    img {
                        width: 100%;
                        height: auto;
                    }
                }
            }
            .txt {
                padding-left: 90px;
                p {
                    margin: .5rem 0;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 3;
                    box-sizing:border-box;
                }
            }
            &:hover {
                .service-icon {
                    transform: scale(1.05);
                }
            }
        }
    }
}
@media (max-width: 991px) {
    .index-editor-template52 {
        .service-wrap {
            display: flex;
            .item {
                width: 50%;
            }
        }
    }
}
@media (max-width: 600px) {
    .index-editor-template52 {
        .title {
            font-size: 2.6rem;
        }
        .service-wrap {
            display: flex;
            .item {
                width: 100%;
            }
        }
    }
}
.index-editor-template61 {
    padding: 100px 40px;
    color: #fff;
    .title {
        font-size: 4rem;
        line-height: 7rem;
        font-weight: 700;
    }
    .c_b {
        i {
            margin-left: 20px;
        }
        &:hover {
            transform: translateX(5px);
        }
    }
}
@media (max-width: 600px) {
    .index-editor-template61 {
        padding: 60px 40px;
        .title {
            font-size: 3.2rem;
            line-height: 6rem;
        }
        .index-editor-template61-content {
            .main-title {
                font-size: 24px !important;
            }
        }
    }
}
.ind-brandbox {
    .title {
        font-size: 3rem;
        color: #606060;
        text-align: center;
        span {
            font-weight: 700;
        }
    }
}
@media (max-width: 600px) {
    .ind-brandbox {
        .title {
            margin-bottom: 30px;
            font-size: 2.6rem;
        }
    }
}
.ind-brand {
    margin: 50px 0 90px;
    .brand {
       .brand__item {
           display: flex;
           justify-content: center;
           align-items: center;
           img {
               width: auto;
               opacity: .7;
               transition: all 500ms ease-in-out;
           }
           &:hover {
               img {
                   opacity: 1;
                   transform: scale(1.05);
               }
           }
       }
    }
    .swiper-button-next, .swiper-button-prev {
        display: none;
    }
}
.inner > .title span::before {
    display: none;
    /*content: "\e925";*/
    /*transform: rotate(0deg);*/
    /*vertical-align: bottom;*/
}
/* sidebar */
.sidebar {
    .title--sidebar {
        margin: 0 15px;
        padding: 0 0 10px;
        position: relative;
        &:before, &:after {
            height: 2px;
            position: absolute;
            left: 0;
            bottom: 0;
            content: "";
        }
        &:before {
            width: 50px;
            background-color: #F2A900;
            z-index: 1;
        }
        &:after {
            width: 100%;
            background-color: #999;
        }
    }
}
.accordion-menu {
    box-shadow: none;
    > li {
        border-bottom: 1px solid #e2e2e2;
        a {
            padding: 15px 0;
            &:before {
                display: none;
            }
            &.active {
                color: #F2A900 !important;
                background-color: transparent !important;
            }
            &:hover {
                padding-left: 5px;
            }
        }
    }
}

/* about */
.index-editor-template25 {
    padding-top: 10px;
    .title {
        padding-left: 30px;
        margin-bottom: 30px;
        font-weight: 700;
    }
    .time-line-group {
        width: 100%;
        .content {
            width: 100%;
            padding-left: 75px;
            .date {
                font-size: 16px;
            }
            .des {
                font-size: 18px;
            }
        }
        &:after {
            width: 4px;
            left: 30px;
        }
    }
}

@media (max-width: 1440px) {
    .index-editor-template25 {
        .time-line-groups {
            padding: 0;
        }
    }
}
.sort_2.index-editor-template3 {
    padding-top: 0;
    .choose-icon {
        margin-top: 0;
    }
}
.sort_2.index-editor-template52 {
    & .service-wrap {
        .item {
            width: 50%;
        }
    }
}
@media (max-width: 768px) {
    .sort_2.index-editor-template52 {
        & .service-wrap {
            .item {
                width: 100%;
            }
        }
    }
}

/* Application */
.index-editor-template18 {
    .wrapper {
        margin-bottom: 20px;
        .about-block {
            .text {
                padding: 15px 30px;
            }
        }
    }
}

/* news */
.news--list {
    .news__item {
        width: calc(50% - 20px);
        margin: 0 10px 20px;
        background-color: #f8f8f8;
        border-bottom: none;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0);
        transition: all 500ms ease-in-out;
        .info {
            padding-left: 0;
            padding-top: 20px;
            h3 {
                .title {
                    color: #000;
                    font-weight: 700;
                }
            }
        }
        &:hover {
            box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
        }
    }
}

@media (max-width: 600px) {
    .news--list {
        .news__item {
            width: calc(100% - 20px);
        }
    }
}


/* contact */
.page-contact {
    .contact-block__form {
        .form-webeditor {
            width: 80%;
            padding: 0 !important;
            margin: 0 auto;
        }
        .form {
            width: 80%;
            margin: 0 auto;
        }
    }
    .contact-block__info {
        padding-left: 0;
        margin-top: 30px;
        .webeditor {
            padding: 0 15px !important;
        }
    }
}
@media (max-width: 991px) {
    .page-contact {
        .contact-block__form {
            .form-webeditor, .form {
                width: 100%;
            }
        }
    }
}
.contact-editor-template2 {
    padding: 70px 30px !important;
    border: none;
    background-color: #f0f0f0;
    &:before {
        display: none;
    }
    li {
        width: 25%;
        margin-bottom: 0;
        i {
            &:before {
                transform: translateX(-2px) translateY(-2px);
                z-index: 1;
            }
            &:after {
                border: none;
                background-color: #fff;
            }
        }
    }
}
@media (max-width: 768px) {
    .contact-editor-template2 {
        li {
            width: 50%;
            margin: 15px 0;
        }
    }
}
@media (max-width: 480px) {
    .contact-editor-template2 {
        margin-top: 40px !important;
        li {
            width: 100%;
            margin: 15px 0;
        }
    }
}

/* Our Partners */
.sort_2 {
    &.index-editor-template1 {
        .about-block {
            .img {
                position: relative;
                img {
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    left: 0;
                    top: 0;
                    object-fit: cover;
                }
            }
            .text {
                padding: 10px 0 0 30px;
            }
        }
        .wrapper {
            &:nth-child(even) {
                .about-block {
                    .text {
                        padding: 10px 30px 0 0;
                    }
                }
            }
        }
    }
}

@media (max-width: 768px) {
    .sort_2 {
        &.index-editor-template1 {
            .about-block {
                .img {
                    img {
                        position: relative;
                        height: auto;
                    }
                }
                .text {
                    padding: 15px 0 0 0;
                }
            }
            .wrapper {
                &:nth-child(even) {
                    .about-block {
                        .text {
                            padding: 15px 0 0 0;
                        }
                    }
                }
            }
        }
    }
}
@media (max-width: 600px) {
    .sort_2 {
        &.index-editor-template1 {
            padding: 0;
        }
    }
}

/* ESG */
.index-editor-template29 {
    padding: 30px 3vw;
    margin-bottom: 30px;
    .counter-box {
        .pic {
            display: none;
        }
        .unit {
            margin-left: 10px;
            font-size: 16px;
        }
    }
}
.esg--list {
    .news__item {
        width: 33.3333333%;
        padding: 0 15px 20px;
        .img {
            margin-bottom: 0;
        }
    }
}
@media (max-width: 768px) {
    .esg--list {
        .news__item {
            width: 50%;
        }
    }
}
@media (max-width: 600px) {
    .esg--list {
        .news__item {
            width: 100%;
        }
    }
}
.bank104 {
    & img {
        transition: all 500ms ease-in-out;
    }
}

/* Investor */
.investor-block {
    .years {
        margin-bottom: 20px;
        .form__group {
            .form__label {
                width: 150px;
                padding-bottom: 10px;
                align-items: center;
                .form__title {
                    font-size: 20px;
                    font-weight: 600;
                }
            }
            .form__field {
                width: calc(100% - 150px);
                .form__select {
                    width: 150px;
                    height: 40px;
                    font-size: 20px;
                }
            }
        }
    }
    .inv-table {
        overflow-x: auto;
        table {
            width: 100%;
            min-width: max-content;
            margin-bottom: 30px;
            border: 1px #e5e5e5 solid;
            border-width: 1px 0 0 1px;
            th, td {
                padding: 10px 15px;
                border: 1px #e5e5e5 solid;
                border-width: 0 1px 1px 0;
            }
            th {
                text-align: center;
                color: #FFFFFF;
                background-color: #5A5A5A;
            }
            td {
                a {
                    color: #F2A900;
                    display: block;
                    &:hover {
                        transform: translateX(2px);
                        color: #a50034;
                    }
                }
            }
            tr {
                &:nth-child(even) {
                    background-color: #efefef;
                }
            }
        }
    }
}
@media (max-width: 768px) {
    .investor-block {
        .years {
            .form__group {
                .form__field {
                    padding: 10px;
                }
            }
        }
    }
}

.video-container {
    position: relative;
    padding-top: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}


