/**
 * 注意：此檔案包含自定義樣式，請勿在系統更新時覆蓋
 * Note: This file contains custom styles, do not overwrite during system updates
 * 最後更新 / Last updated: 2025-04-16
 */
/* 全局|header|header-template2 */
.header-template2 {
    &.header--unfixed {
        position: relative;
    }
    .header__inner {
        padding: 0 !important;
        .nav {
            .nav__name {
                padding: 12px 30px 14px;
                &:after {
                    height: 3px;
                    background: linear-gradient(267deg, #1a237e 5%, #2735ba 4%, #27b7ff 30%, #fff 41%, #ff7300 72%, #2989d8 89%, #2735ba) !important;
                }
            }
        }
        .hamburger {
            width: 48px;
        }
        .hamburger--on {
            width: 30px;
        }
    }
}
@media (min-width: 992px) {
    .header-template2 {
        .header__inner {
            .nav {
                .nav__name {
                    &:hover {
                        opacity: 1;
                    }
                }
                .nav__layer {
                    width: max-content;
                    min-width: 200px;
                    top: 54px;
                    .nav__item {
                        .nav__name {
                            &:hover {
                                padding-left: 30px;
                                font-weight: 400;
                            }
                        }
                    }
                }
            }

        }
    }
}
@media (max-width: 991px) {
    .header-template2 {
        .header__inner {
            .logo {
                .logo__img {
                    padding: 10px;
                    border-radius: 0;
                    border: none;
                    box-shadow: none;
                }
            }
        }
    }
}

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

/* 首頁|banner|左右鍵 */
.ind-banner .swiper-button-next::after, .ind-banner .swiper-button-prev::after {
    content: "\e912";
    transform: rotate(90deg);
}
.ind-banner .swiper-button-next::after {
    transform: rotate(-90deg);
}
@media (max-width: 375px) {
    .ind-banner .swiper-button-prev {
        left: 0;
    }
    .ind-banner .swiper-button-next {
        right: 0;
    }
}

/* 首頁|banner|bullet */
.ind-banner .swiper-pagination .swiper-pagination-bullet{
    width: 30px;
    height: 6px;
    border-radius: 10px;
    transition: all 500ms ease-in-out;
}
.ind-banner .swiper-pagination .swiper-pagination-bullet-active {
    width: 12px;
    height: 12px;
    border-radius: 20px;
}

/* 全局|footer|set */
.footer-common-editor1-template2 {
    .footer__block {
        padding: 0 0 1rem;
    }
    .footer__logo {
        padding: 2rem 0 30px;
        margin-bottom: 30px;
        p {
            max-width: 900px;
        }
    }
    .footer__social, .footer__info {
        .title {
            text-orientation: inherit;
        }
    }
    .footer__social {
        width: 25%;
    }
    .footer__info {
        width: 75%;
        ul {
            width: unset;
            flex: 1;
            li {
                &.company {
                    padding-left: 0;
                    font-size: 16px;
                    font-weight: 500;
                    &:before {
                        display: none;
                    }
                }
                &.name {
                    &:before {
                        content: "\e936";
                    }
                }
            }
        }
    }
}
@media (max-width: 768px) {
    .footer-common-editor1-template2 {
        .footer__social, .footer__info {
            width: 100%;
            flex-direction: column;
            .title {
                width: 100%;
                padding-left: 0;
                writing-mode: inherit;
                &:after {
                    display: none;
                }
            }
        }
        .footer__info {
            padding-top: 20px;
            margin-top: 20px;
            border-top: 1px #bababa solid;
        }
    }
}
@media (max-width: 480px) {
    .footer-common-editor1-template2 {
        .footer__info {
            padding-top: 0;
            margin-top: 0;
            border-top: none;
        }
    }
}
.footer-template2 {
    .footer-common-copy {
        height: 44px;
        padding: 7px 0;
        .social {
            width: 100px;
        }
        .copy {
            width: calc(100% - 100px);
            display: grid;
            grid-template-columns: 1fr 165px 105px;
            text-align: left;
            align-items: center;
            span {
                margin-left: 0;
            }
        }
    }
}
@media (max-width: 600px) {
    .footer-template2 {
        padding-bottom: 0;
        .footer-common-copy {
            .social, .copy {
                width: 100%;
            }
            .copy {
                display: block;
                text-align: center;
                span {
                    margin-left: 10px;
                }
            }
        }
    }
}


/* 全局|gdpr|set */
.advbox {
    .btnset {
        color: #fff;
        background-color: #123456;
        border-color: #123456;
    }
}

/* 全局|--|set */
.ind-category {
    .product {
        justify-content: center;
    }
}
.main--line {
    border-color: #1f2d3d;
}
.btnset {
    border-radius: 3px;
}
.breadcrumb-box, .accordion-menu > li {
    border-color: #536273;
}
.accordion-menu > li > a.active {
    border-radius: 4px;
    padding: 10px 15px;
}
.inner > .title span::before {
    display: none;
}
.form__control {
    color: #fff;
    border-color: #666;
    background-color: #43434361;
}
.banner .main-h1 {
    text-shadow: 0 0 0 transparent, -0.5px -0.5px 0 rgb(0 0 0 / 60%), 0.5px -0.5px 0 rgb(0 0 0 / 60%), 1.5px -0.5px 0 rgb(0 0 0 / 60%), -0.5px 0.5px 0 rgb(0 0 0 / 60%), 0.5px 0.5px 0 rgb(0 0 0 / 60%), 1.5px 0.5px 0 rgb(0 0 0 / 60%), -0.5px 1.5px 0 rgb(0 0 0 / 60%), 0.5px 1.5px 0 rgb(0 0 0 / 60%), 1.5px 1.5px 0 rgb(0 0 0 / 60%);
}
@media (min-width: 992px) {
    .banner img {
        aspect-ratio: 6 / 1;
        object-fit: cover;
    }
}


/* others */
.index-h1 {
    padding: 0 15px;
    transform: translateY(90px);
    .index-h1__setting {
        padding: 6px 10px;
        font-weight: 300;
        font-style: italic;
        text-align: right;
        text-shadow: 0 0 0 transparent, -0.5px -0.5px 0 rgb(0 0 0 / 60%), 0.5px -0.5px 0 rgb(0 0 0 / 60%), 1.5px -0.5px 0 rgb(0 0 0 / 60%), -0.5px 0.5px 0 rgb(0 0 0 / 60%), 0.5px 0.5px 0 rgb(0 0 0 / 60%), 1.5px 0.5px 0 rgb(0 0 0 / 60%), -0.5px 1.5px 0 rgb(0 0 0 / 60%), 0.5px 1.5px 0 rgb(0 0 0 / 60%), 1.5px 1.5px 0 rgb(0 0 0 / 60%);
    }
}
@media (max-width: 768px) {
    .index-h1 {
        .wrapper {
            padding: 0 25px;
        }
        .index-h1__setting {
            padding: 6px 0;
            text-align: left;
        }
    }
}
@media (max-width: 600px) {
    .index-h1 {
        .index-h1__setting {
            padding: 0;
            line-height: 32px;
        }
    }
}
@media (max-width: 480px) {
    .index-h1 {
        .wrapper {
            padding: 0;
        }
    }
}
@media (max-width: 480px) {
    .index-h1 {
        transform: translateY(80px);
        .index-h1__setting {
            line-height: 25px;
        }
    }
}
.ind-category, .ind-news {
    color: #000000;
    a {
        color: #164D84 !important;
        &:hover {
            color: #000000 !important;
        }
    }
    > .title {
        color: #000000 !important;
    }
}
.ind-category, .ind-product, .ind-news, .index-editor-template27 {
    .p-text {
        max-width: 800px;
        margin: auto !important;
        text-align: center;
    }
}
.ind-product {
    > .title {
        color: #FF8A00 !important;
    }
}
.ind-news {
    .news {
        .news__item {
            .info {
                .date {
                    color: #164D84 !important;
                }
            }
        }
    }
}
.index-editor-template123 {
    .wrapper {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(2, minmax(140px, auto));
        gap: 15px;
        margin: 0 auto 30px;
        background-color: #fff;
        padding: 6px;
        .card {
            min-height: 250px;
            background-color: #1b4e85;
            color: #ffffff;
            padding: 30px;
            flex-direction: column;
            justify-content: flex-start;
            box-sizing: border-box;
            position: relative;
            overflow: hidden;
            .title {
                font-weight: 600;
                letter-spacing: 1px;
                z-index: 1;
            }
            .value {
                margin-top: 20px;
                font-weight: 900;
                line-height: 1;
                z-index: 1;
                span {
                    margin-left: 5px;
                    font-weight: 400;
                    font-size: 16px;
                }
            }
            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                position: absolute;
                top: 0;
                left: 0;
            }
        }
        .card--one {
            grid-column: span 4;
            grid-row: span 2;
        }
        .card--two {
            grid-column: span 5;
        }
        .card--three {
            grid-column: span 3;
        }
        .card--four {
            grid-column: span 3;
        }
        .card--five {
            grid-column: span 5;
        }
    }
}
@media (max-width: 600px) {
    .index-editor-template123 {
        .wrapper {
            grid-template-columns: 1fr;
            grid-template-rows: auto;
            .card {
                grid-column: 1/-1;
                grid-row: auto;
            }
        }
    }
}

.index-editor-template2 {
    .about-block {
        .img {
            &:before, &:after {
                display: none;
            }
            img {
                border-radius: 25px;
            }
        }
        .text {
            .btnbox {
                .btnset {
                    padding: 10px 30px 10px 20px !important;
                    border: none;
                    border-radius: 6px;
                    clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%);
                    position: relative;
                    &:before {
                        position: absolute;
                        right: 0;
                        top: 0;
                        width: 20%;
                        height: 100%;
                        background-color: #ffd18a;
                        clip-path: polygon(55% 0, 100% 0%, 55% 100%, 0% 100%);
                        content: "";
                        z-index: 1;
                        transition: all 500ms ease-in-out;
                    }
                    &:hover {
                        &:before {
                            right: -10px;
                            background-color: #d0d0d0;
                        }
                    }
                }
            }
        }
    }
}
.index-editor-template2 .about-block .img img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.product__item .img img, .news__item .img img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.index-editor-template27 {
    .wrapper {
        gap: 20px;
        .h2, .p-text {
            width: 100%;
            padding: 0 20px;
        }
        .p-text {
            margin: 0;
        }
        .h2 {
            padding-bottom: 10px;
            text-align: center;
            position: relative;
            &:after {
                width: 60px;
                height: 1px;
                background-color: #B9BCBF;
                content: '';
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
            }
        }
        .index-editor-template27-item {
            width: calc(50% - 10px);
            margin: 0;
        }
    }
}
@media (max-width: 768px) {
    .index-editor-template27 {
        .wrapper {
            .index-editor-template27-item {
                width: 100%;
            }
        }
    }
}
.index-editor-template7 {
    color: #fff;
    .certification-p {
        max-width: 900px;
    }
    .certification {
        .cert {
            padding: 30px 20px;
            background-color: #FFFFFF15;
            .cert__item {
                width: calc(1 / 5 * 100% - 0px);
                img {
                    width: 100%;
                    max-height: 353px;
                    height: 100%;
                }
            }
        }
    }
}
@media (max-width: 768px) {
    .index-editor-template7 {
        .certification {
            .cert__item {
                width: calc(1 / 2 * 100% - 0px);
            }
        }
    }
}
.index-editor-template6 {
    padding: 110px 0;
    .slogan-box {
        .img {
            a {
                margin: 0 16px;
                svg {
                    width: 100px;
                    height: 100px;
                    background-color: #FFFFFF;
                    border-radius: 50%;
                }
            }
        }
    }
}
.contact-editor-template2 li i:before {
    z-index: 1;
}
.pro-block > .title i {
    color: #FF8A00 !important;
}
.news--list {
    .news__item {
        .info {
            .title {
                color: #FFFFFF !important;
                &:hover {
                    color: #38AEEA !important;
                }
            }
        }
        border-color: #536273;
        border-radius: 0;
        box-shadow: none;
    }
}













