@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* 商品下拉超過30個變大 */
.stellarnav.desktop li.bigMenu>ul{display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); left: 0; width: 100%; position: fixed; padding: 20px;}
.stellarnav.desktop li.bigMenu ul ul{top: 100%; left: 0; width: 100%; background: #efefef; height: auto; max-height: 300px; overflow: auto;}
.stellarnav.desktop li.bigMenu ul ul li{margin: 0;} 
.stellarnav.hasBigMenu li.bigMenu li.has-sub > a:after{border-left: 6px solid transparent; border-bottom:unset; border-right: 6px solid transparent; border-top: 6px solid #898989; right: 5px;}
/* 主分類超過30個但次分類直接顯示 
.stellarnav.desktop li.bigMenu>ul{grid-gap: 10px;}
.stellarnav.desktop li.bigMenu li{border: 0;}
.stellarnav.desktop li.bigMenu>ul>li>a{border: 1px solid #ddd;}
.stellarnav.desktop li.bigMenu ul ul{display: block !important; position: relative; top: 0; background: unset; border: 0;}
.stellarnav.desktop li.bigMenu ul ul li{border: 0;}
 主分類超過30個但次分類直接顯示-結束 */

/* 商品下拉超過30個--結束 */


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* 2025.12.26 中間放大*/
.BannerHome02 .swiper-slide-active img { transform: scale(1);}
.BannerHome02 .swiperBan02 .swiper-slide img { transition: transform 5s ease-out; will-change: transform; transform: scale(1);}
.BannerHome02 .swiperBan02 .swiper-slide-active img { transform: scale(1.06);}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/* 捲軸寬度及高度 */

::-webkit-scrollbar {
    background: #ffffff;
    width: 6px;
}

/* 捲軸兩側頂端的按鈕 */

::-webkit-scrollbar-button {
    display: none;
}

/* 滑桿顏色 */

::-webkit-scrollbar-thumb {
    background-color: #0E5C40;
    border-radius: 0px;
    transition: all 0.3s;
}

/* 軌道背景底色 */

::-webkit-scrollbar-track {
    background-color: #ffffff;
}

.path p,
.path p a {
    display: none;
}

/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/

:root {
    --MainColor: #0E5C40; /*網站主要色系*/
    --mainColor: #0E5C40;
    --SubColor: #1D7B57; /*網站輔助色系1*/
    --SubColor2: #ffffff; /*網站輔助色系2*/
    --color:#202020;
    --SFont:"Noto Sans TC", sans-serif;/*黑體*/
    --SFontE:"Racing Sans One", sans-serif;/*特殊字體*/
    --SFontE2:"Outfit", sans-serif;/*特殊字體*/
}
#content,#content_main {
    background:#FFF;
    background-attachment: fixed;
    background-repeat: repeat;
}


body.blog_in_page {
    font-size: var(--f16);
    letter-spacing: 1px;
    color: #fff;
}




/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;}
.swiper-slide img {
    height: auto;
    animation: none !important;
    transform: none;
}

@media screen and (max-width: 768px) {
    .bannerindex {
        position: relative;
        height: auto;
    }

    .swiper-banner {
        position: relative;
        margin: 0;
        height: 100%;
    }
    .navigation {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;

}
}

/*------------------------------------------------*/
/* 小東西 */
/*------------------------------------------------*/
.pageIndex #content_main{z-index: 0;}
.path { display: none;}
.edit_part { padding:0px;}
.contact_editbox {padding: 0;}
.other_select_page ul.page{display: none;}
.me_tp_features{display: none;}
.sb_marquee {display: none;}


/*------------------------------------------------*/
/* 大圖 */
/*------------------------------------------------*/

/* 基礎容器 */
.pageIndex .swiper-banner .swiper-slide,
.pageIndex .swiper-banner .swiper-slide a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 原始底圖 */
.pageIndex .swiper-banner .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    animation: none !important;
    transform: none !important;
}

/* 偽元素基礎 */
.pageIndex .swiper-banner .swiper-slide a::before,
.pageIndex .swiper-banner .swiper-slide a::after {
    content: "";
    position: absolute;
    display: block;
    pointer-events: none;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
}

/* 下層動態圖 */
.pageIndex .swiper-banner .swiper-slide a::after {
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-size: contain;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    will-change: transform;
}

/* 上層圖 */
.pageIndex .swiper-banner .swiper-slide a::before {
    inset: 0;
    z-index: 3;
    background-size: cover;
    will-change: transform, opacity;
}

/*------------------------------------------------*/
/* 第一張 banner */
/* banner-03 旋轉 */
/* banner-04 淡入 */
/*------------------------------------------------*/
.pageIndex .swiper-banner .swiper-slide:nth-child(1) a::after {
    background-image: url(https://pic03.eapple.com.tw/jiazhencooking/banner-03.png);
}

.pageIndex .swiper-banner .swiper-slide:nth-child(1) a::before {
    background-image: url(https://pic03.eapple.com.tw/jiazhencooking/banner-04.png);
}

/*------------------------------------------------*/
/* 第二張 banner */
/* banner-05 浮動 */
/* banner-06 浮動 */
/*------------------------------------------------*/
.pageIndex .swiper-banner .swiper-slide:nth-child(2) a::after {
    background-image: url(https://pic03.eapple.com.tw/jiazhencooking/banner-05.png);
    width: 90%;
    height: 90%;
}

.pageIndex .swiper-banner .swiper-slide:nth-child(2) a::before {
    background-image: url(https://pic03.eapple.com.tw/jiazhencooking/banner-06.png);
}

/*------------------------------------------------*/
/* Active 動畫 */
/*------------------------------------------------*/

/* 第一張：原地旋轉 */
.pageIndex .swiper-banner .swiper-slide:nth-child(1).swiper-slide-active a::after {
    opacity: 1 !important;
    animation: bannerRotateLoop 12s linear infinite !important;
}

/* 第一張上層：淡入 */
.pageIndex .swiper-banner .swiper-slide:nth-child(1).swiper-slide-active a::before {
    animation: bannerFadeIn 1.5s ease forwards !important;
}

/* 第二張下層：柔和浮動 */
.pageIndex .swiper-banner .swiper-slide:nth-child(2).swiper-slide-active a::after {
    opacity: 1 !important;
    animation: bannerFloatLoop 5s ease-in-out infinite !important;
}

/* 第二張上層：先淡入，再浮動 */
.pageIndex .swiper-banner .swiper-slide:nth-child(2).swiper-slide-active a::before {
    opacity: 1 !important;
    animation:
        bannerFadeIn 1.2s ease forwards,
        bannerFloatTopLoop 6s ease-in-out 1.2s infinite;
}

/*------------------------------------------------*/
/* 動畫 */
/*------------------------------------------------*/

/* 第一張旋轉 */
@keyframes bannerRotateLoop {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 第二張下層浮動 */
@keyframes bannerFloatLoop {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -52%) scale(1.03);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 第二張上層浮動 */
@keyframes bannerFloatTopLoop {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -14px, 0) scale(1.02);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

/* 淡入 */
@keyframes bannerFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/*------------------------------------------------*/
/* 手機版 */
/*------------------------------------------------*/
@media screen and (max-width: 768px) {
    .pageIndex .swiper-banner .swiper-slide a::after {
        width: 100%;
        height: 100%;
    }

    .pageIndex .swiper-banner .swiper-slide:nth-child(2) a::after {
        width: 85%;
        height: 85%;
    }

    /* 手機版第二張上層浮動降低，避免太晃 */
    @keyframes bannerFloatTopLoop {
        0% {
            transform: translate3d(0, 0, 0) scale(1);
        }
        50% {
            transform: translate3d(0, -8px, 0) scale(1.01);
        }
        100% {
            transform: translate3d(0, 0, 0) scale(1);
        }
    }
}

/*all*/
.main_part { max-width: 1400px;}


/*------------------------------------------------*/
/* header */
/*------------------------------------------------*/
.header_area * {
    transition: cubic-bezier(0.4, -0.01, 0.58, 1) .6s;
}
.header_area {
    position: fixed;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%,rgba(0,0,0,0.5) 30%,rgba(0,0,0,0.3) 50%,rgba(0,0,0,0.1) 80%,rgba(0,0,0,0) 100%);
    padding-top: 30px;
    animation: fade-in 3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
@keyframes fade-in {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

.main_header_area .container {
    max-width: 1800px;
}



/* 下滑設定 */
.header_area.sticky * {
    transition: cubic-bezier(0.4, -0.01, 0.58, 1) .3s;
}
.header_area.sticky {
    background: transparent;
    border-bottom: 0;
    animation: appearence 2s 0.5s both;
    padding: 0;
}
.header_area.sticky .main_header_area .container {
    max-width: 100%;
}
.header_area.sticky .navigation {
    background: linear-gradient(
        to bottom,
        rgba(60, 45, 35, 0.35) 0%,
        rgba(60, 45, 35, 0.18) 15%,
        rgba(60, 45, 35, 0.08) 35%,
        rgba(60, 45, 35, 0) 100%
    ), 
    #cea76dc8;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    padding: 5px 5px 0px 25px;
}


@keyframes appearence {
    0% {
        transform: translateY(-100px);
        opacity: .3;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/*變上下排*/
.header_area.sticky .navigation {
    display: flex;
    flex-direction: column;
     align-items: center;
}



.header_area.sticky .stellarnav {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* 產品搜尋欄 */
.box_search input[type=text] {
    background: url(https://pic03.eapple.com.tw/coffee2/products_search.svg) no-repeat 9px center #fff;
}
input::placeholder {
    color: rgba(51, 51, 51, 0.5);
}
.box_search input[type=text]:focus {
    color: #333;
}
.tp_links {
    display: none;
} /* header聯絡按鈕--隱藏 */


/*logo*/
.header_area.sticky .nav-brand {
    height: auto; 
    width: 250px;
}


@media screen and (max-width: 1024px) {
    .header_area {
        position: sticky;
        background: 
        linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.7) 0%,
                rgba(0, 0, 0, 0.5) 10%,
                rgba(0, 0, 0, 0.3) 20%,
                rgba(0, 0, 0, 0.1) 40%,
                rgba(0, 0, 0, 0) 100%
            ),
            #1B7A56;
    
        animation: none;
        padding: 0px;
    }
    .header_area.sticky {
        animation: none;
    }
    .header_area.sticky .main_header_area .container {
        max-width: 1800px;
    }
    .me_tp_features {
        display: none;
    }
    .nav-brand img {
     opacity: 1;
    padding-bottom: 15px;
}
.header_area.sticky .navigation {
        background: 
        linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.7) 0%,
                rgba(0, 0, 0, 0.5) 10%,
                rgba(0, 0, 0, 0.3) 20%,
                rgba(0, 0, 0, 0.1) 40%,
                rgba(0, 0, 0, 0) 100%
            ),
            #1b7a56c7;
        }
}

@media screen and (max-width: 768px) {
    .header_area.sticky {
        background: var(--color2);
    }
    .header_area.sticky .navigation {
        padding: 0;
        backdrop-filter: unset;
    }
    .header_area {    
    padding-top: 0px;
    }
    .nav-brand img {
    padding-bottom: 0px;
    padding: 5px;
    }
    .nav-header {
    max-width: 80px;
    }

    
    .header_area.sticky .nav-brand {
    width: 90px;}

    } 
@media screen and (max-width: 550px) {
    .nav-header {
        max-width: 70px;
    }

.header_area.sticky .nav-header {
    max-width: 60px;
}

}


/*------------------------------------------------*/
/* menu */
/*------------------------------------------------*/
/* .stellarnav */
.header_area.sticky .stellarnav > ul {
    margin-top: 5px;
}
.stellarnav > ul > li > a {
    font-family: var(--Mainfont);
    font-size: 14px;
    text-transform: none;
    color: #fff;
    height: 65px;
    line-height: 50px;
    padding: 0 1vw;
    overflow: unset;
}
.stellarnav > ul > li+li > a::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 5px;
    width: 1px;
    height: 35px;
    border-left: solid 1px rgb(255 255 255 / 50%);
}
.stellarnav li.has-sub > a:after {
    display: none;
}
.stellarnav > ul > li > a b {
    height: auto;
    line-height: normal;
}
.stellarnav ul ul {
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    background: rgb(16 36 71 / 50%);
    background: rgb(8 10 39 / 60%);
    backdrop-filter: blur(3px);
    animation: scroll_01 .4s .2s;
    animation: scroll_01 .5s cubic-bezier(0.22, 0.37, 0.51, 0.87);
}
@keyframes scroll_01 {
    0% {opacity: 0; height: 0;}
    100% {opacity: 1; height: 100%;}
}
@keyframes scroll_01 {
    0% {opacity: 0; }
    100% {opacity: 1; }
}
.stellarnav li li {
    border: 0;
}
.stellarnav li li > a, 
.stellarnav li li.has-sub > a {
    text-align: center;
    padding: 8px 17px;
}
.stellarnav li li a {
    font-size: 13px;
    color: #fff;
}
.stellarnav ul ul ul {
    left: 150%;
}







/*------------------------------------------------*/
/* 主選單 */
/*------------------------------------------------*/
/* hover */
.stellarnav * {
    transition: var(--trans);
}

 /* 主選單一般變色 */
.stellarnav > ul > li > a:hover b {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
}
.stellarnav > ul > li.has-sub > a:hover:after,
.stellarnav > ul > li.has-sub:hover > a:after{
    border-top: 6px solid;
} /* 主選單三角形 */
.stellarnav li li:hover > a, 
.stellarnav li li > a:hover, 
.stellarnav.desktop li.has-sub li a:hover, 
.stellarnav.desktop li.has-sub li:hover > a   {
    background: #071735;
} /* 次分類一般變色 */
.stellarnav li li.has-sub > a:hover:after,
.stellarnav li li.has-sub:hover > a:after{
    border-left: 6px solid;
} /* 次分類三角形 */


@media screen and (max-width: 768px) {



    /* 漢堡鈕設定--開始 */
    .header_area.sticky .stellarnav {
    justify-content: unset;
    }
    .stellarnav.mobile {
        top: 30px;
    }
    .stellarnav .menu-toggle span.bars span {
        width: 38px;
        height: 1px;
        background: #fff;
        margin: 0 auto 10px;
    }

    .stellarnav .menu-toggle span.bars span:nth-child(3) {
        display: none;
    }
    .stellarnav .menu-toggle:after {
        display: none;
        color: #fff;
    }
    .stellarnav .icon-close:before.stellarnav, .icon-close:after  {border-bottom: solid 3px #fff;}

    .stellarnav.mobile.right .close-menu, 
    .stellarnav.mobile.left .close-menu {
        color: transparent;
        background: transparent;
        padding-top: 20px;
        padding-left: 15px;
    }
    .stellarnav .icon-close {
        display: block;
    }
    .stellarnav .icon-close:before, 
    .stellarnav .icon-close::after {
        width: 25px;
        border-bottom: solid 3px #fff;
    }
    /* 漢堡鈕設定--結束 */
    .stellarnav.mobile > ul > li > a {
    padding: 50px 43px 10px 10px;
    }


    .stellarnav .menu-toggle, .stellarnav .call-btn-mobile, .stellarnav .location-btn-mobile, .stellarnav .close-menu {
            padding-left: 50px;}

    /* --------選單設定--開始 */



    .stellarnav.mobile.right > ul, 
    .stellarnav.mobile.left > ul {
        border: 0;
        background: #1b7a56;
        box-shadow: 5px 5px 15px rgb(0 0 0 / 10%);
        margin-top: 0;
    }
    /* 叉叉按鈕換邊放--開始 */
    .stellarnav.mobile.right .close-menu, 
    .stellarnav.mobile.left .close-menu {
        position: relative;
        color: transparent;
        background: transparent;
        padding-top: 20px;
        padding-left: 15px;
    }
    .stellarnav .icon-close {
        position: static;
    }
    /* 叉叉按鈕換邊放--結束 */
    .stellarnav a.dd-toggle .icon-plus:before, 
    .stellarnav a.dd-toggle .icon-plus:after {
        border-bottom: solid 1px ;
    }
    .stellarnav.mobile li a {
        border: 0;
    }
.stellarnav.mobile > ul > li {
    border-bottom: 1px rgb(255 255 255 / 50%) solid;
}    
    .stellarnav.mobile > ul > li > a {
        font-size: 16px;
    }
.stellarnav.mobile li li > a,
.stellarnav.mobile li li.has-sub > a {
    text-align: left;
}    
    .stellarnav.mobile li li.has-sub a {
        padding: 10px 43px 10px 40px;
    }
    .stellarnav.mobile li li > a {
        font-size: 15px;
        padding: 10px 10px 10px 40px;
    }
    .stellarnav.mobile li.open {
        background: transparent;
        padding: 0;
    }
.stellarnav.mobile ul ul {
    left: auto;
    transform: translateX(0);
    background: transparent;
}
    .stellarnav.mobile li.open li.open {
        background: transparent;
        padding: 0;
    }
    .stellarnav.mobile li.open li.open > a {
        background: rgb(255 255 255 / 10%);
    }
    .stellarnav.mobile li.open li.open > a.dd-toggle {
        background: transparent;
    }
    .stellarnav.mobile li.open li.open > a.dd-toggle .icon-plus::before,
    .stellarnav.mobile li.open li.open > a.dd-toggle .icon-plus:after {
        border-bottom: solid 2px #1b7a56;
    } /* 次次分類展開後的+號顏色 */     
    .stellarnav.mobile ul ul ul {
        left: auto;
        background: transparent;
    }
.stellarnav.mobile li li li > a {
    opacity: .6;
}    
    /* --------選單設定--結束 */

    /* hover--開始 */
    .stellarnav.mobile a.dd-toggle:hover .icon-plus:before, 
    .stellarnav.mobile a.dd-toggle:hover .icon-plus:after {
        border-bottom: solid 1px #000;
    }
    .stellarnav li li:hover > a, 
    .stellarnav li li > a:hover, 
    .stellarnav.desktop li.has-sub li a:hover, 
    .stellarnav.desktop li.has-sub li:hover > a {
        background: transparent;
    } /* 次分類一般變色 */ /* hover--結束 */

    /*#bottom_menu*/
    #bottom_menu li a i,#bottom_menu li a em  {    color: #1b7a56;
}
}


@media screen and (max-width: 550px) {
    .stellarnav.mobile {
        top: 40px;
    }
}
