/**
 * 注意：此檔案包含自定義樣式，請勿在系統更新時覆蓋
 * Note: This file contains custom styles, do not overwrite during system updates
 * 最後更新 / Last updated: 2025-04-16
 */
/* 全局|header|set */
.header-template1 {
    border-bottom: 2px solid #00884e;
    /*.header__inner {*/
    /*    padding-top: 10px !important;*/
    /*    padding-bottom: 10px !important;*/
    /*}*/
    .nav {
        .nav-item-faq {
            display: none;
        }
    }
    .topblock {
        .left-info {
            text-align: right;
        }
    }
}

@media (min-width: 992px) {
    .header-template1 {
        .nav {
            .nav-item-news {
                > .nav__btn {
                    display: none;
                }
            }
            .nav__name {
                padding: 20px;
                &:after {
                    display: none;
                }
            }
            .nav__layer {
                .nav__item {
                    .nav__name {
                        padding: 7px 25px;
                    }
                    .nav__layer {
                        top: 7px;
                    }
                }
            }
        }
    }
}

/* 全局│header│nav hover選單 background color */
@media (min-width: 992px) {
    .header-template1 {
        .nav {
            .nav__name {
                &.active {
                    font-weight: 600;
                    &:hover {
                        font-weight: 600;
                    }
                }
            }
            .nav__item--on {
                .nav__layer {
                    .nav__name {
                        &:hover {
                            background-color: #8DC21F;
                            color: #FFFFFF;
                            opacity: 1;
                        }
                        &:hover + .nav__btn::after {
                            color: #FFFFFF;
                        }
                    }
                    .nav__item--on {
                        .nav__name {
                            background-color: #8DC21F;
                            color: #FFFFFF;
                            + .nav__btn::after {
                                color: #FFFFFF;
                            }
                        }
                        .nav__layer {
                            .nav__name {
                                background-color: initial;
                                color: #00884F;
                                &:hover {
                                    background-color: #8DC21F;
                                    color: #FFFFFF;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}


/* 全局|header|箭頭樣式 */
.nav__item {
    .nav__item-div {
        .nav__btn {
            right: 5px;
        }
    }
}
.nav__btn::after{
    font-family: "icomoon";
    content: "\f105";
    font-size: 18px;
    color: #00884F;
    transform: rotate(90deg);
}

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

.nav__btn-icon{
    display: none;
}
@media (max-width: 991px) {
    .nav__btn::after{
        color: #FFFFFF;
        transform: rotate(0deg);
    }
    .nav__layer .nav__btn::after{
        color: #FFFFFF !important;
    }
}

/* 全局|footer|set */
.footer-template2 {
    .footer-common-copy {
        .wrapper {
            .social, .copy {
                width: 100%;
            }
            .copy {
                margin-bottom: 20px;
                text-align: center;
            }
        }
    }
}
.footer-common-editor1-template5 {
    .footer__block {
        padding-bottom: 0;
        .footer__logo {
            margin-bottom: 0;
            padding-bottom: 0;
            img {
                max-width: 100px;
                height: auto;
                margin: 0 auto 20px;
            }
            span {
                color: #00884e;
                font-weight: 600;
                display: block;
            }
        }
        .footer__info {
            padding-bottom: 0;
            margin-bottom: 0;
            border-bottom: none;
            ul {
                li {
                    margin: 0 7px;
                    display: inline-block;
                    &.add {
                        display: block;
                    }
                }
            }
        }
    }
}
.footer-common-editor2-template4 {
    /*background: linear-gradient(115deg, #2e8800, #04ab01 60%, #52cf50);*/
    position: relative;
    overflow: hidden;
    z-index: 0;
    .bg-img {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        &:after {
            width: 100%;
            height: 100%;
            background-color: #125d3d87;
            position: absolute;
            top: 0;
            left: 0;
            content: "";
        }
    }
    .footer-common-editor2-template4-content {
        padding: 60px 0;
        flex-direction: column;
        .footer-title {
            padding-bottom: 0;
        }
        p {
            max-width: 600px;
            text-align: center;
        }
        .contact-links {
            margin-top: 20px;
            .contact-link {
                border-radius: 6px;
            }
        }
    }
}
.footer-common-editor2-template2 {
    background-color: #00884e;
    border-top: 1px #FFFFFF solid;
}

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

/* 全局|--|set */
.btnset {
    border-radius: 6px;
}
.inner > .title {
    color: #00884F !important;
}
.inner > .title span::before {
    display: none;
}
/* 隱藏側邊欄 */
.page-ab, .page-pdt, .page-news {
    .wrapper {
        &.row {
            .sidebar {
                display: none;
            }
            .inner {
                width: 100%;
            }
        }
    }
}
.product__item .img {
    border-radius: 20px;
    overflow: hidden;
}
.product__item .img img, .news__item .img img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}




/* index */
.ind-banner__text {
    max-width: 560px;
}
@media (max-width: 991px) {
    .ind-banner__text {
        max-width: none;
    }
}
.index-h1__setting {
    font-weight: 300;
}

.ind-category, .ind-product, .ind-news {
    > .title {
        font-weight: 600;
        span {
            position: relative;
            &:after {
                width: 48px;
                height: 3px;
                position: absolute;
                left: 50%;
                bottom: -15px;
                transform: translateX(-50%);
                background-color: #8dc21f;
                content: "";
            }
        }
    }
}
.ind-news {
    .news {
        .news__item {
            .img, .info {
                border: 1px #c4e9ff solid;
                transition: all 500ms ease-in-out;
            }
            .img {
                margin-bottom: 0;
                border-radius: 20px 20px 0 0;
                border-width: 1px 1px 0;
                overflow: hidden;
            }
            .info {
                padding: 20px;
                background-color: #FFFFFF;
                border-radius: 0 0 20px 20px;
                border-width: 0 1px 1px;
                overflow: hidden;
            }
            &:hover {
                .img, .info {
                    border-color: #2299dd;
                }
            }
        }
    }
}
.sort_1.index-editor-template1 {
    .about-block {
        .text {
            padding: 0 60px 0 0;
            flex-direction: column;
            justify-content: center;
            .title--sm {
                margin-bottom: 20px;
                span {
                    padding: 6px 20px;
                    margin-bottom: 20px;
                    border-radius: 50px;
                    border: 1px #8DC21F solid;
                    color: #00884F;
                    font-size: 16px;
                    line-height: 20px;
                }
            }
            .title--lg {
                font-size: 36px;
            }
            .btnbox {
                padding-bottom: 0;
                text-align: left;
                .btnset {
                    width: 160px;
                    i {
                        margin-left: 10px;
                        transition: all 500ms ease-in-out;
                    }
                    &:hover {
                        i {
                            margin-left: 15px;
                        }
                    }
                }
            }
        }
        .img {
            filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.2));
            .img-inner {
                /*aspect-ratio: 1 / 1;*/
                /* 將 SVG 轉為 base64 作為 Mask 遮罩 (套用在外層容器) */
                -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjM0MCAyMTAgNzgwIDYxMCI+PHBhdGggZD0iTTkwMC43LDIxMmgtMzM3LjVjLTE2LjIsMC0zMS4yLDguMi00MCwyMS44bC0xNjQuMSwyNTQuN2MtMTAuMSwxNS43LTEwLjEsMzUuOCwwLDUxLjVsMTY0LjEsMjU0LjdjOC44LDEzLjYsMjMuOCwyMS44LDQwLDIxLjhoMzM3LjVjMTYuMiwwLDMxLjItOC4yLDQwLTIxLjhsMTY0LjEtMjU0LjdjMTAuMS0xNS43LDEwLjEtMzUuOCwwLTUxLjVsLTE2NC4xLTI1NC43Yy04LjgtMTMuNi0yMy44LTIxLjgtNDAtMjEuOFoiLz48L3N2Zz4=");
                mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjM0MCAyMTAgNzgwIDYxMCI+PHBhdGggZD0iTTkwMC43LDIxMmgtMzM3LjVjLTE2LjIsMC0zMS4yLDguMi00MCwyMS44bC0xNjQuMSwyNTQuN2MtMTAuMSwxNS43LTEwLjEsMzUuOCwwLDUxLjVsMTY0LjEsMjU0LjdjOC44LDEzLjYsMjMuOCwyMS44LDQwLDIxLjhoMzM3LjVjMTYuMiwwLDMxLjItOC4yLDQwLTIxLjhsMTY0LjEtMjU0LjdjMTAuMS0xNS43LDEwLjEtMzUuOCwwLTUxLjVsLTE2NC4xLTI1NC43Yy04LjgtMTMuNi0yMy44LTIxLjgtNDAtMjEuOFoiLz48L3N2Zz4=");
                /* 讓遮罩完整顯示並置中 */
                -webkit-mask-size: 100% 100%;
                mask-size: 100% 100%;
                -webkit-mask-repeat: no-repeat;
                mask-repeat: no-repeat;
                -webkit-mask-position: center;
                mask-position: center;
                transform: translateY(20px);
                position: relative;
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
        }
    }
    &.about-fuise {
        .about-block {
            .img {
                .img-inner {
                    transform: translateY(0);
                }
            }
            .text {
                padding: 0 0 0 60px;
                .title--sm {
                    text-transform: uppercase;
                    color: #8dc21f;
                }
            }
            .btnbox {
                padding: 10px 0 40px;
            }
            .data {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 1rem;
                .counter-box {
                    padding: 20px;
                    border-radius: 10px;
                    background-color: #f5ffdf;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    .counter-div {
                        margin-bottom: 7px;
                        span {
                            margin: 0 3px;
                            font-weight: 700;
                            color: #00884e;
                        }
                    }
                    .counter {
                        font-size: 30px;
                        font-weight: 700;
                        color: #00884e;
                    }
                    .dec {
                        font-size: 14px;
                        line-height: 18px;
                        text-align: center;
                        color: #777777;
                    }
                }
            }
        }
    }
}
@media (max-width: 991px) {
    .sort_1.index-editor-template1 {
        .about-block {
            .img {
                .img-inner {
                    transform: translateY(0);
                }
            }
            .text {
                padding-right: 30px;
                .title--sm {
                    span {
                        display: block;
                    }
                }
                .title--lg {
                    font-size: 26px;
                }
            }
        }
        &.about-fuise {
            .about-block {
                .text {
                    padding-left: 30px;
                }
            }
        }
    }
}
@media (max-width: 768px) {
    .sort_1.index-editor-template1 {
        .about-block {
            .text {
                padding-right: 0;
                margin-bottom: 30px;
                .title--sm {
                    margin-bottom: 0;
                }
                .btnbox {
                    padding-top: 10px;
                }
            }
        }
        &.about-fuise {
            .about-block {
                .text {
                    padding-left: 0;
                    margin-top: 50px;
                }
            }
        }
    }
}
@media (max-width: 600px) {
    .sort_1.index-editor-template1 {
        &.about-fuise {
            .about-block {
                .data {
                    grid-template-columns: 1fr;
                }
            }
        }
    }
}

.why-Fuise {
    padding: 60px 0;
    .wrapper {
        > .title {
            margin-bottom: 60px;
            color: #00884e;
            font-weight: 600;
            text-align: center;
            span {
                position: relative;
                &:after {
                    width: 48px;
                    height: 3px;
                    position: absolute;
                    left: 50%;
                    bottom: -15px;
                    transform: translateX(-50%);
                    background-color: #8dc21f;
                    content: "";
                }
            }
        }
    }
}
@media (max-width: 1480px) {
    .why-Fuise {
        padding: 60px;
    }
}
@media (max-width: 1366px) {
    .why-Fuise {
        padding: 60px 40px;
    }
}
@media (max-width: 480px) {
    .why-Fuise {
        padding: 60px 20px;
    }
}

.gallery {
    padding: 60px 0;
    .wrapper {
        > .title {
            margin-bottom: 60px;
            color: #00884e;
            font-weight: 600;
            text-align: center;
            span {
                position: relative;
                &:after {
                    width: 48px;
                    height: 3px;
                    position: absolute;
                    left: 50%;
                    bottom: -15px;
                    transform: translateX(-50%);
                    background-color: #8dc21f;
                    content: "";
                }
            }
        }
        .product {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            .product__item {
                padding: 0;
                .img {
                    border-radius: 20px;
                    box-shadow: 0 0 12px #00000020;
                    overflow: hidden;
                    img {
                        aspect-ratio: 4 / 3;
                    }
                }
                .text {
                    color: #00884e;
                }
            }
        }
    }
}
@media (max-width: 1480px) {
    .gallery {
        padding: 60px;
    }
}
@media (max-width: 1366px) {
    .gallery {
        padding: 60px 40px;
    }
}
@media (max-width: 768px) {
    .gallery {
        .wrapper {
            .product {
                grid-template-columns: repeat(2, 1fr);
            }
        }
    }
}
@media (max-width: 480px) {
    .gallery {
        padding: 60px 20px;
        .wrapper {
            .product {
                grid-template-columns: 1fr;
                .product__item {
                    .img {
                        img {
                            aspect-ratio: 4 / 3;
                        }
                    }
                }
            }
        }
    }
}

.grid {
    display: grid;
    gap: 2rem;
}
.g2 {
    grid-template-columns: repeat(2,1fr);
}
@media (max-width: 480px) {
    .g2 {
        grid-template-columns: 1fr;
    }
}
.g3 {
    grid-template-columns: repeat(3,1fr);
}
@media (max-width: 768px) {
    .g3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
.g4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 768px) {
    .g4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .g4 {
        grid-template-columns: 1fr;
    }
}
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s,transform .6s
}

.reveal.in {
    opacity: 1;
    transform: none
}
.feat {
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    /*border-top: 4px solid #8dc21f;*/
    box-shadow: 0 6px 24px rgba(0,60,140,.08);
}

.feat .ico {
    width: 46px;
    height: 46px;
    color: #00884e;
    margin-right: .7rem;
    display: inline-block;
}

.feat h3 {
    color: #00884e;
    margin-bottom: .3rem;
    display: inline-block;
}

.feat p {
    margin: 10px 0 0;
    color: #5c6b7a;
    font-size: .94rem;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.split img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,60,140,.12);
}

.eyebrow {
    color: #8dc21f;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-size: .82rem;
    font-weight: 500;
    margin-bottom: .3rem
}
@media (max-width: 991px) {
    .g3 {
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width: 480px) {
    .g3 {
        grid-template-columns: 1fr;
    }
}



/* product */
.basic {
    .basic__img {
        .swiperalbum__large, .swiperalbum__small {
            .swiper-slide {
                aspect-ratio: 4 / 3;

                img {
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    left: 0;
                }
            }
        }
    }
}
.swiperalbum__small {
    .sv-unmute-btn {
        display: none !important;
    }
}


/* news */
.news--list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    .news__item {
        padding: 0;
        margin-bottom: 0;
        border-bottom: none;
        .img, .info {
            width: 100%;
        }
        .info {
            padding: 20px;
            background-color: #f5ffdf;
            .title {
                height: 60px;
                color: #00884F !important;
            }
            .description {
                height: 96px;
            }
            .btnset {
                margin: 20px auto 0;
            }
        }
    }
}
@media (max-width: 991px) {
    .news--list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .news--list {
        grid-template-columns: 1fr;
        .news__item {
            .info {
                .title {
                    height: auto;
                }
                .description {
                    height: auto;
                }
            }
        }
    }
}

/* contact */
.page-contact {
    .contact-block--custom {
        .inner {
            .contact-page-block {
                > .title {
                    color: #00884F !important;
                }
            }
        }
    }
}






