@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-wrapper .swiper-slide:nth-child(2)::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(https://pic03.eapple.com.tw/mellowxuan/banner-04.png);
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10000;
}
.pageIndex .swiper-slide.swiper-slide-active:nth-child(2):before { animation: slide-in-bottom 2.5s; animation-fill-mode: both;}

@keyframes bgin{
    0%{opacity: 0; transform: translateY(100px);}
    100%{opacity: 1;
        transform:scale(1) translateY(0);
        background-size: cover;}
}



.swiper-slide.swiper-slide-active:nth-child(2):before{
    -webkit-animation: slide-in-bottom 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s both;
	        animation: slide-in-bottom 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s both;
}
@-webkit-keyframes slide-in-bottom {
    0% {
      -webkit-transform: translateY(100px);
              transform: translateY(100px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-bottom {
    0% {
      -webkit-transform: translateY(100px);
              transform: translateY(100px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }


@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}



.swiper-slide.swiper-slide-active:nth-child(1):after  {   
    background: url(https://pic03.eapple.com.tw/mellowxuan/banner-03.png); animation: bg 2s;animation-fill-mode: both;}

@keyframes bg{
    0%{opacity: 0;width: 80vw;}
    100%{opacity: 1;width: 35vw;}
}
.pageIndex .swiper-wrapper .swiper-slide:nth-child(1)::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(https://pic03.eapple.com.tw/mellowxuan/banner-03.png);
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10000;
}
.pageIndex .swiper-slide.swiper-slide-active:nth-child(1):before { animation: slide-in-bottom 2.5s; animation-fill-mode: both;}

@keyframes bgin{
    0%{opacity: 0; transform: translateX(100px);}
    100%{opacity: 1;
        transform:scale(1) translateX(0);
        background-size: cover;}
}


@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}


/*all*/
.main_part { max-width: 1400px;}


/*------------------------------------------------*/
/* header */
/*------------------------------------------------*/
/*logo*/

.nav-header {
    width: 170px;
    transition: .4s ease-in-out;
}

.header_area.sticky .nav-header {
    transition: .4s ease-in-out;
}

.header_area.sticky .nav-header {
    width: 170px;
    filter: none;
    margin-top: 0px;
    pointer-events: all;
    opacity: 1;
}

.nav-header {
    pointer-events: none;
    opacity: 0;
}

.navigation {
    padding-top: 14px; 
    grid-template-columns: 100px 1fr;
    transition: .5s;
}

.header_area.sticky .navigation {
    transition: .5s;
    transition-delay: .5s;
    transform: scale(1)
}
.header_area {
    padding: 25px 10px 15px;
    position: fixed;
    background: transparent;
    box-shadow: none;
}

.header_area.sticky {
    padding: 25px 0px;
    background: transparent;
}

.main_header_area {
    position: relative;
    z-index: 10;
}

.main_header_area::after {
    content: "";
    position: absolute;
    top: 0%;
    left: 50%;
    width: 90%;
    height: 130px;
    z-index: -1;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    background: #ffffff;
    border-radius: 100px;
    border: 6px solid #0E5C40;
    opacity: 0;
    transition: transform 1s ease-in-out, opacity .5s ease-in-out;
}

.header_area.sticky .main_header_area::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

.main_header_area .container {
    max-width: 80%;
}

/*rwd*/
@media screen and ( max-width:1400px) {
    .nav-header {
        width: 140px;
    }
    .header_area.sticky .nav-header {
        width: 140px;
    }
}

@media only screen and (max-width: 1200px) {
    .main_header_area::after {
        top: -2%;
        width: 95%;
        height: 150px;
    }
}
    
@media screen and (max-width: 1024px) {
    .navigation {
        flex-direction: row;}

    .stellarnav>ul>li>a {
        margin: 0px 8px;
    }
    .header_area.sticky {
        padding: 15px 0px;
    }
    .header_area.sticky .stellarnav>ul {
    padding-bottom: 50px;
}
}
    
@media only screen and (max-width: 768px) {
    .nav-brand { display: flex; align-items: center;}
    .navigation {
    transform: none;        
    flex-direction: column;
}
    .header_area.sticky .navigation {
    transform: none;
}

    .header_area {position: absolute;}
    .header_area.sticky {position: sticky;}
    .header_area.sticky .nav-header {
        width: 100px;
    }
    .main_header_area::after {
        width: 98%;
        height: 80px;
        border-radius: 500px;
        border: 3px solid #0e5c40;
    }    
}

@media screen and (max-width: 600px) {
    .header_area.sticky .stellarnav .menu-toggle {
        opacity: 1;
        pointer-events: all;
        padding: 30px 0px 0px 23px;
        transition: all 1.5s;
    }
    .main_header_area::after {
        height: 80px;
    }
    .header_area.sticky .nav-header {
        width: 120px;
    }
    .header_area.sticky .navigation {
        padding-top: 10px;
    }
}

@media screen and (max-width: 480px) {
    .header_area.sticky .nav-header {
        margin-left: 25px;
    }
    .header_area.sticky {
        padding: 10px 0px;
    }
}


/*------------------------------------------------*/
/* 主選單 */
/*------------------------------------------------*/
.stellarnav ul {
    text-align: center;
    padding: 10px 0px 10px;
    transition: .5s ease-in-out;
}

.stellarnav ul {
    opacity: 0;
    pointer-events: none;
}

.header_area.sticky .stellarnav>ul {
    opacity: 1;
    pointer-events: all;
}


/*HEADER-ICON*/
.stellarnav li.has-sub>a:after {
    display: none;
}

.stellarnav>ul>li.has-sub>a {
    padding-right: 0px
}

.stellarnav>ul>li>a {
    margin: 0 20px;
    letter-spacing: 2px;
    font-size: 16px;
    color: #0E5C40;
    padding: 50px 0px 30px;
}

.stellarnav>ul>li:after {
    content: '';
    position: absolute;
    right: 0px;
    bottom: 8px;
    width: 1px;
    height: 15px;
    border-left: 2px #0E5C40 dotted;
}

.stellarnav>ul>li:nth-last-child(1):after {
    display: none
}

.stellarnav>ul>li>a:not(.dd-toggle):before {
    content: '';
    position: absolute;
    left: 50%;
    top: 36%;
    width: 42px;
    height: 42px;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 1;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%) scaleX(1);
}

.stellarnav>ul>li>a:hover:before {
    animation: sticker-bounce 0.8s ease-out;
}

@keyframes sticker-bounce {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    25% {
        transform: translate(-50%, -65%) scale(1.1);
    }
    50% {
        transform: translate(-50%, -48%) scale(0.97);
    }
    65% {
        transform: translate(-50%, -54%) scale(1.03);
    }
    80% {
        transform: translate(-50%, -49%) scale(0.99);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

.stellarnav>ul>li:nth-of-type(1)>a:not(.dd-toggle):before {
    background: url(https://pic03.eapple.com.tw/mellowxuan/icon01.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.stellarnav>ul>li:nth-of-type(2)>a:not(.dd-toggle):before {
    background: url(https://pic03.eapple.com.tw/mellowxuan/icon02.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 46px;
    height: 44px;
}

.stellarnav>ul>li:nth-of-type(3)>a:not(.dd-toggle):before {
    background: url(https://pic03.eapple.com.tw/mellowxuan/icon03.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 50px;
    height: 51px;
}

.stellarnav>ul>li:nth-of-type(4)>a:not(.dd-toggle):before {
    background: url(https://pic03.eapple.com.tw/mellowxuan/icon04.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 47px;
    height: 45px;
}

.stellarnav>ul>li:nth-of-type(5)>a:not(.dd-toggle):before {
    background: url(https://pic03.eapple.com.tw/mellowxuan/icon05.svg);
    background-size: contain;
    background-repeat: no-repeat;
}


/*第一層*/

.stellarnav.desktop ul ul {
    opacity: 0;
    display: block !important;
    pointer-events: none;
    transition: .5s;
    left: 50%;
    transform: translate(-50%, -30px);
    padding: 0px;
    background: #fff;
    border: 5px solid #f9f1da;
    border-radius: 20px;
}

/*hover*/
.stellarnav.desktop ul li.has-sub:hover>ul {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, 0px);
}

.stellarnav.desktop ul ul::after {
    content: "";
    position: absolute;
    top: -26px;
    left: 16px;
    border-width: 11px;
    border-style: solid;
    border-color: transparent transparent #f9f1da transparent;
}

.stellarnav.desktop ul ul ul:after {
    display: none;
}

.stellarnav.desktop li li {
    background: transparent;
    border: 3px solid #0E5C40;
    font-size: 14px;
}

.stellarnav.desktop li li a {
    color: #5b5046;
    font-size: 14px;
    padding: 13px 10px;
    transition: .5s;
    letter-spacing: 1.2px;
}

.stellarnav.desktop li li:nth-of-type(1) a:hover {
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
}

.stellarnav.desktop li li:nth-last-of-type(1) a:hover {
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
}

.stellarnav.desktop li li a:hover {
    background: #f9f1da;
    transition: .5s;
}


/*次選單*/
.stellarnav.desktop ul ul ul {
    position: absolute;
    left: 100%;
    top: 0;
    padding-top: 0px;
    transform: translate(-20px, 0);
    opacity: 0 !important;
    pointer-events: none;
    transition: .5s;
}

/*hover*/
.stellarnav.desktop ul ul li.has-sub:hover>ul {
    opacity: 1 !important;
    pointer-events: all;
    transition: .5s;
    transform: translate(0, 0);
}

/*第二層*/
.stellarnav.desktop li li {
    border: none;
}

@media screen and ( max-width:1400px) {
    .stellarnav>ul>li>a {
        margin: 0 15px;
        font-size: 14px;
    }
}

@media screen and (max-width: 1200px) {
    .stellarnav ul {
        text-align: center;
    }
    .stellarnav>ul>li>a {
        margin: 0px 12px;
    }
}

@media screen and (max-width: 1024px) {
    .stellarnav>ul>li>a {
        margin: 0px 8px;
    }
    .header_area.sticky .stellarnav>ul {
    padding-bottom: 50px;
}
}

@media screen and (max-width: 768px) {
    .header_area.sticky .stellarnav ul {
        opacity: 1;
        pointer-events: all;
    }
    .stellarnav.mobile.right .close-menu,
    .stellarnav.mobile.left .close-menu {
        font-size: 0px;
    }

    .stellarnav .menu-toggle {
        opacity: 0;
        pointer-events: none;
        transition: all .5s;
    }
    .header_area.sticky .stellarnav .menu-toggle {
        opacity: 1;
        pointer-events: all;
        padding: 30px 0px 30px 60px;
        transition: all 1.5s;
    }

    .stellarnav.mobile>ul>li {
        border-bottom: 1px #ffe7e0 solid;
    }
    /*按鈕*/
    .stellarnav .menu-toggle span.bars span {
        background: #0E5C40;
    }
    .stellarnav .menu-toggle:after {
        display: none;
    }
    .stellarnav.mobile>ul>li>a.dd-toggle {
        top: 25px;
    }
    .stellarnav.mobile>ul>li>ul>li a.dd-toggle {
        top: 10px;
    }
    .stellarnav a.dd-toggle .icon-plus {
        width: 20px;
        height: 20px;
        border: 1px solid #0E5C40;
        border-radius: 50%;
        position: relative;
        background: #fff;
    }
    .stellarnav a.dd-toggle .icon-plus:before,
    .stellarnav a.dd-toggle .icon-plus:after {
        content: '';
        position: absolute;
        background: #0E5C40;
        left: 50%;
        top: 50%;
        border: none;
    }
    .stellarnav a.dd-toggle .icon-plus:before {
        display: none;
    }
    .stellarnav a.dd-toggle .icon-plus:after {
        content: '✦';
        border: none;
        font-size: 18px;
        z-index: 999;
        transform: none;
        left: unset;
        right: 5px;
        top: -1px;
        color: #0E5C40;
    }
    .stellarnav.mobile li.open a.dd-toggle .icon-plus:after {
        top: -1px;
    }
    /*次選單按鈕*/
    .stellarnav.mobile li.open li a.dd-toggle .icon-plus:after {
        top: -6.5px;
    }
    /*close***********/
    .stellarnav .icon-close:after {
        border: 1px solid #ffffff;
        width: 20px;
        height: 20px;
        border-radius: 100%;
        right: 10px;
        background: #fff;
    }
    .stellarnav .icon-close:before {
        content: 'Ｘ';
        border: none;
        font-size: 12px;
        z-index: 999;
        transform: none;
        right: 14px;
        top: 7px;
        color: #0E5C40;
        font-weight: bolder;
    }
    .stellarnav .close-menu {
        background: #0E5C40;
    }

    .header_area.sticky .stellarnav .close-menu {
        padding: 40px 10px;
        background: #0E5C40;
        position: relative;
        margin-bottom: 10px;
    }


    /*主選單*/
    .stellarnav ul {
        opacity: 1;
        pointer-events: all;
    }
    .stellarnav.mobile>ul>li>a {
        padding: 30px 5px 30px 70px;
    }
    .stellarnav>ul>li>a:not(.dd-toggle):before {
        left: 30px;
        top: 50%;
        width: 41px;
        height: 41px;
    }
    .stellarnav.mobile.left>ul {
        max-width: 100%;
        padding: 0px;
        background: #FFFBF5;
        top: -1px;
    }
    .stellarnav>ul>li:after {
        display: none;
    }
    .stellarnav.mobile>ul>li:nth-of-type(5)>a.dd-toggle {
        display: none;
    }
    .stellarnav.mobile>ul>li>a {
        transform: translateY(70px);
        transition: all .5s;
        opacity: 0;
    }
    .stellarnav.left.mobile.active>ul>li>a {
        transform: translate(0px);
        transition: all .7s;
        opacity: 1;
    }
    .stellarnav.left.mobile.active>ul>li:nth-of-type(2)>a {
        transition-delay: .1s;
    }
    .stellarnav.left.mobile.active>ul>li:nth-of-type(3)>a {
        transition-delay: .4s;
    }
    .stellarnav.left.mobile.active>ul>li:nth-of-type(4)>a {
        transition-delay: .7s;
    }
    .stellarnav.left.mobile.active>ul>li:nth-of-type(5)>a {
        transition-delay: 1s;
    }
    .stellarnav.left.mobile.active>ul>li:nth-of-type(6)>a {
        transition-delay: 1.2s;
    }
    .stellarnav.left.mobile.active>ul>li:nth-of-type(7)>a {
        transition-delay: 1.5s;
    }
    /*選單*/
    .stellarnav.mobile li.open {
        background: #0E5C40;
        padding: 20px;
        padding-top: 0px;
    }
    .stellarnav>ul>li.drop-left>ul {
        background: #fff;
        padding: 10px 0;
    }
    .stellarnav.mobile li.open li a:not(.dd-toggle) {
        padding: 10px 0px 10px 40px;
        border-bottom: none;
        transition: .6s;
        font-size: 14px;
        color: #5b5046;
        letter-spacing: 1px;
    }
    .stellarnav.mobile li.open li a:not(.dd-toggle):before {
        content: '►';
        position: absolute;
        color: #0E5C40;
        font-size: 11px;
        transform: translateY(-50%);
        transition: all .5s;
        opacity: 1;
        top: 50%;
        left: 20px;
    }
    .stellarnav li li {
        border: none;
    }
    .stellarnav.mobile li.open li.open li {
        margin-left: 30px;
        transition: .6s;
    }
    .stellarnav.mobile li.open li li a:not(.dd-toggle) {
        border-left: 1pt solid #0E5C40;
    }
    .stellarnav.mobile li.open li a:before {
        opacity: 0;
    }
    .stellarnav.mobile li.open li.open li a:before {
        display: none;
    }
    .stellarnav.mobile ul ul {
        box-shadow: 5px 5px 0px #ffe9af;
        border-radius: 15px;
        padding: 0px;
    }
    /*選單-次分類*/
    .stellarnav.mobile ul ul ul {
        box-shadow: none;
    }
    .stellarnav.mobile li.open li.open {
        background: #ffffff;
        padding: 0px;
    }
    .stellarnav.mobile li.open li li a:not(.dd-toggle) {
        padding: 10px 0px 10px 20px;
    }
    /*#bottom_menu*/
}

@media screen and (max-width: 600px) {
    .header_area.sticky .stellarnav .menu-toggle {
        opacity: 1;
        pointer-events: all;
        padding: 30px 0px 0px 23px;
        transition: all 1.5s;
    }
}



/*------------------------------------------------*/
/* FOOTER */
/*------------------------------------------------*/

.footer {
    position: relative;
    z-index: 1;
    padding: 1000px 0 0px;
    overflow: hidden;
    background-color: #ffffff;
}


.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(https://pic03.eapple.com.tw/mellowxuan/footer.jpg) no-repeat center bottom;
    background-size: 100% auto; /* 👉 關鍵 */
    z-index: -2;
}



/* 解鎖容器 */
.footer .center {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
}

/* 內容區 */
.footer_info {
    display: none;
}

/* footer menu */
.footer_menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

/* 文字 */
.footer_menu a {
    text-align: center;
    padding: 5px;
}

/* copyright */
.copy {
    text-align: center;
    padding: 15px 10px;
    font-size: 13px;
    color: #0e5c40;
    border-top: 1px solid rgba(14,92,64,0.3);
    margin-top: 40px;
    position: relative;
}

.copy a {
    color: #0e5c40;
}
/*------------------------------------------------*/
/* 文章 */
/*------------------------------------------------*/


