/**
 * 注意：此檔案包含自定義樣式，請勿在系統更新時覆蓋
 * Note: This file contains custom styles, do not overwrite during system updates
 * 最後更新 / Last updated: 2025-04-16
 */
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');

/* 全局|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);
    color: #fff;
}
.header--unfixed .nav__layer .nav__btn::after {
    color: #fff !important;
}
@media screen and (max-width:991px) {
    .nav__btn::after{
        font-family: "icomoon";
        content: "\f105";
        font-size: 20px;
        transform: rotate(0deg);
        color: #fff;
    }
}
.nav__btn-icon{
    display: none;
}

/* 全局|header|主選單 */
.nav__item, .nav__item-div {
    >.nav__name {
        background-color: transparent;
    }
}
.nav__name.active {
    font-weight: 600;
}
.nav__name::after, .nav__name.active::after, .nav__name:hover::after {
    display: none;
}
.nav__layer {
    .nav__name {
        &:hover {
            color: #fff !important;
            font-weight: 400 !important;
        }
    }
}


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

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

/* other */
.main {
    background-image: url("../images/main-bg.webp");
    background-attachment: fixed;
    background-size: cover;
}
.ind-banner__text {
    padding-top: 30px;
    .title {
        text-transform: uppercase;
        font-size: 68px;
        line-height: 36px;
        font-weight: 700;
        letter-spacing: .12rem;
        padding: 0 0 20px;
        border-bottom: 3px #FFC000 solid;
    }
    p {
        font-size: 24px;
        font-weight: bold;
    }
    .btnbox {
        padding-top: 20px;
        .btnset--primary {
            color: #fff;
            background-color: transparent;
            border-color: #fff;
            border-radius: 30px;
            &:hover {
                color: #fff;
                background-color: #595959;
                border-color: #595959;
            }
        }
    }
}
@media (max-width: 991px) {
    .ind-banner__text {
        .title {
            font-size: 45px;
        }
        p {
            span {
                font-size: 28px !important;
            }
        }
    }
}
@media (max-width: 480px) {
    .ind-banner__text {
        .title {
            font-size: 36px;
        }
        p {
            span {
                font-size: 24px !important;
            }
        }
    }
}
.banner {
    .main-h1 {
        z-index: 1;
        text-shadow: none;
        text-transform: uppercase;
        font-weight: 700;
        font-family: "Libre Franklin","微軟正黑體", sans-serif;
        /*background: linear-gradient(to right, rgb(9 40 123 / 47%) 0%, rgba(0, 0, 0, 0) 90%, rgba(0, 0, 0, 0) 100%);*/
    }
    picture {
        position: relative;
        &:after {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            content: '';
            background-color: rgb(0 0 0 / 50%);
        }
    }
}
.index-h1-template1 {
    padding: 20px;
}
.index-h1__setting {
    font-weight: 100;
}
.btnset {
    border-radius: 6px;
}
.sort_1.index-editor-template1 {
    padding: 0;
    .wrapper {
        max-width: none;
    }
    .about-block {
        .text {
            padding: 20px 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .btnset {
            width: 120px !important;
        }
    }
}
@media (max-width: 768px) {
    .sort_1.index-editor-template1 {
        .about-block {
            .text {
                padding: 20px 40px;
            }
        }
    }
}
@media (max-width: 480px) {
    .sort_1.index-editor-template1 {
        .about-block {
            .text {
                padding: 20px;
            }
        }
    }
}
.index-editor-template7 .certification-p {
    max-width: 800px;
    padding: 15px 0;
    &:before, &:after {
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
}
.index-editor-template7 .certification .cert__item {
    width: calc(25% - 30px);
    margin: 0 15px;
    background-color: #fff;
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
    .index-editor-template7 .certification .cert__item {
        width: calc(50% - 30px);
        margin-bottom: 30px;
    }
}
@media (max-width: 480px) {
    .index-editor-template7 .certification .cert__item {
        width: calc(100% - 30px);
        margin-bottom: 30px;
        &:last-child {
            margin-bottom: 0;
        }
    }
}
.sort_1.index-editor-template59 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    .coldefault6 {
        margin-bottom: 0;
    }
    .img {
        padding-right: 50px;
    }
    .text {
        display: flex;
        align-items: center;
        .item {
            padding-top: 0;
            background-color: rgba(255,255,255,.65);
            /*border-color: rgba(98,152,62,.35) !important;*/
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            .dec {
                margin-top: 7px;
                /*font-size: 13px !important;*/
                line-height: 20px;
            }
        }
    }
}
@media (max-width: 1440px) {
    .sort_1.index-editor-template59 {
        padding-left: 60px !important;
        padding-right: 60px !important;
    }
}
@media (max-width: 1366px) {
    .sort_1.index-editor-template59 {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}
@media (max-width: 768px) {
    .sort_1.index-editor-template59 {
        .img {
            padding-right: 0;
        }
    }
}
@media (max-width: 480px) {
    .sort_1.index-editor-template59 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
.ind-above, .ind-middle, .ind-sec-middle, .ind-category {
    z-index: 0;
    position: relative;
    /*&:after {*/
    /*    width: 100%;*/
    /*    height: 100%;*/
    /*    position: absolute;*/
    /*    left: 0;*/
    /*    top: 0;*/
    /*    content: "";*/
    /*    background-color: rgba(255, 255, 255, 0.2);*/
    /*    z-index: -1;*/
    /*}*/
}
.ind-middle {
    &:after {
        background-color: rgba(255, 255, 255, 0.2);
    }
}
.inner > .title span::before {
    content: "\e908";
}
.main {
    .sidebar {
        display: none;
    }
    .inner {
        width: 100%;
    }
}
.footer-common-editor1-template1 {
    .footer__logo {
        .cert {
            margin-top: 20px;
            img {
                width: auto;
                height: auto;
                max-width: 70px;
                max-height: 70px;
                margin-right: 10px;
                display: inline-block;
                vertical-align: middle;
                &:last-child {
                    margin-right: 0;
                }
            }
        }
    }
    .footer__social, .footer__info {
        .title {
            font-weight: 700;
            color: #E6AF00;
        }
    }
}
@media (max-width: 991px) {
    .footer-common-editor1-template1 {
        .footer__logo {
            .cert {
                img {
                    max-width: 60px;
                    max-height: 60px;
                }
            }
        }
    }
}
.page-pdt {
    .product {
        &.item-row-3 {
            .product__item {
                width: 25%;
            }
        }
    }
}
@media (max-width: 991px) {
    .page-pdt {
        .product {
            &.item-row-3 {
                .product__item {
                    width: 33.3333333333%;
                }
            }
        }
    }
}
@media (max-width: 768px) {
    .page-pdt {
        .product {
            &.item-row-3 {
                .product__item {
                    width: 50%;
                }
            }
        }
    }
}
@media (max-width: 600px) {
    .page-pdt {
        .product {
            &.item-row-3 {
                .product__item {
                    width: 100%;
                }
            }
        }
    }
}
.news--list {
    .news__item {
        background-color: rgba(255,255,255,.25);
    }
}


.ind-banner__text .title {
    border-bottom: 0;
    .title-text, p {
        font-family: "Libre Franklin","微軟正黑體", sans-serif;
        font-optical-sizing: auto;
        font-weight: 700;
        letter-spacing: 0;
    }
}     

.ind-banner__text .title-dec {
    width: 100%;
    height: 3px;
    background-color: #FFC000;
}

.mySwiper .title-text,
.mySwiper .ind-banner__text p,
.mySwiper .btnbox {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}

.mySwiper .title-dec {
  display: inline-block;
  width: 100%;              /* 視覺寬度依需求調整 */
  height: 5px;
  background: #ffde59;       /* 黃色底線 */
  transform-origin: 50% 50%; /* 從中心向兩側擴散 */
  transform: scaleX(0);
  will-change: transform;
}

/* ====== 定義關鍵影格 ====== */
@keyframes flyInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes underlineGrow {
  from { transform: scaleX(0) translateY(-5px); }
  to   { transform: scaleX(1) translateY(0px); }
}

/* ====== 觸發時機：當前 .swiper-slide-active ====== */
/* 1) 大標先進場 */
.mySwiper .swiper-slide-active .title-text {
  animation: flyInUp 0.5s ease-out both;
}

/* 2) 大標之後，黃色底線由中心擴散（延遲 0.4s） */
.mySwiper .swiper-slide-active .title-dec {
  animation: underlineGrow 0.1s ease-in-out 0.4s both;
}

/* 3) 文字逐段飛入：用 nth-child 做簡單 stagger */
.mySwiper .swiper-slide-active .ind-banner__text p:nth-child(1) {
  animation: flyInUp 0.5s ease-out 0.5s both;
}
.mySwiper .swiper-slide-active .ind-banner__text p:nth-child(2) {
  animation: flyInUp 0.5s ease-out 0.58s both;
}
.mySwiper .swiper-slide-active .ind-banner__text p:nth-child(3) {
  animation: flyInUp 0.5s ease-out 0.66s both;
}
.mySwiper .swiper-slide-active .ind-banner__text p:nth-child(4) {
  animation: flyInUp 0.5s ease-out 0.74s both;
}
/* 視需要可再加到第 5、6 段… */

/* 4) 按鈕最後飛入（延遲對齊在文字後） */
.mySwiper .swiper-slide-active .btnbox {
  animation: flyInUp 0.45s ease-out 0.9s both;
}

/* ====== 無障礙：使用者偏好減少動效時，關閉動畫 ====== */
@media (prefers-reduced-motion: reduce) {
  .mySwiper .title-text,
  .mySwiper .ind-banner__text p,
  .mySwiper .btnbox {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .mySwiper .title-dec {
    animation: none !important;
    transform: none;
  }
}

/* 內頁h1 */
.inner-h1 {
    margin: 30px 0;
    padding: 0 15px;
    font-size: 2.25rem;
    line-height: 2.5rem;
    color: #607d9c;
}

.basic {
    width: 75%;
    margin: 0 auto;
    .basic__info {
        .model {
            border: none;
        }
    }
}
@media (max-width: 991px) {
    .basic {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .basic {
        .basic__info {
            .title, .model {
                padding: 7px 0;
            }
        }
    }
}

.pro-details {
    margin-top: 10px;
    .title {
        padding-left: 20px;
        margin-bottom: 0;
        color: #333333 !important;
    }
    .webeditor {
        margin-left: 20px;
        border-radius: 6px;
        background-color: #ffffff80;
        table {
            max-width: 100%;
        }
    }
}
@media (max-width: 768px) {
    .pro-details {
        .webeditor {
            margin-left: 0;
        }
    }
}
@media (max-width: 600px) {
    .pro-details {
        .webeditor {
            table {
                width: 100% !important;
            }
        }
    }
}
.pro-block {
    &.inquiry {
        .title {
            h3 {
                font-weight: 600;
            }
        }
    }
}
.webeditor table {
    max-width: unset;
}
.inquirycart {
    background-color: #ffffffa6;
}
.breadcrumb-box {
    border-bottom: none;
}
.download__item .btnset {
    z-index: 1;
}
.pdt-webeditor {
    overflow-x: auto;
    overflow-y: hidden;
}
@media (max-width: 768px) {
    .pdt-webeditor {
        .inner-wrapper {
            min-width: 650px;
        }
    }
}

@media (max-width: 480px) {
    .pro-block {
        > .title {
            &:before, &:after {
                width: 10%;
            }
        }
    }
}