@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;}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 by shint at 2023.1.5  */
.product_page .main_part { max-width:1500px;}
/* .product_info_page .main_part { max-width:1200px;} */

.product_page .show_content,
.product_info_page .show_content { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; align-content: flex-start;}
.product_page .product_menu_list { position: relative; width: 220px; letter-spacing: 1px; /*border-right: 1px solid #ccc;*/min-height: 30vw;}
.product_page .products-list,
.product-wrapper { width: calc(100% - 270px);}
ul.page { width: 100%;}

.product-layer-two li ul { position:static; margin-top:5px; /*display:block !important;*/ width:100%; margin-left:0;}
.product-layer-two li:hover ul { border: none !important; /*display:block !important;*/}
.product-layer-two li li { display: block; padding:0; transition:all ease .3s;}
.product-layer-two li li a{ padding:5px 10px;}
.product-layer-two li li:hover > a { background:#fff; color:#ad925e;}
.product-layer-two > li { width:100%; max-width:100%; padding:0; text-align:left; border-bottom:1px dotted #ccc; padding-bottom: 5px;}
.product-layer-two > li ul > li + li { margin-top:5px;}

.product_info_page .product_menu_list { display: none;} 
.product_info_page .products-list,
.product-wrapper { width: 100%;}

.product-layer-two li li:hover{ margin-left: 15px;}
.product-layer-two li li > a:before { content: ""; position: absolute; width: 12px; height: 8px; background: transparent; left: 0; margin-left: -20px; top: 50%; margin-top: -4px; clip-path: polygon(0 0, 100% 50% , 0 100%);}
.product-layer-two li li:hover > a:before { background:#ad925e;}

.product_info_page .half_box { width: 100%; float: none; padding-right: 0;}
.product_info_page .half_box li.btn_blankTop { margin-top: 50px; justify-content: space-between; display: flex;}
.product_info_page .half_box li.btn_blankTop input { width: calc(50% - 10px); background-image: none; padding: 0; text-align: center;}

@media screen and (max-width: 768px) {
.product_menu_list,
.products-list,
.product-wrapper { width: 100%;}
.product-layer-two { margin-right: 0; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-gap: 5px;}
.product_page .product-layer-two,
.product_page .products-list { width: 100%; border-right: none;}
.product_page .product_menu_list>h5{display: block;}
.product_page .show_content > a { order: 1;}
.product_page ul.products-list { order: 2;}
.product_page ul.page { order: 3;}
.product_page .product_menu_list {width: 100%; order: 0; min-height: unset;}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 
/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*開場logo的樹、文字動畫*/
.bannerindex::before {
    content: "";
    display: block;
    background-image: 
    url(https://pic03.eapple.com.tw/sianganlife/logo-word.png),
    url(https://pic03.eapple.com.tw/sianganlife/logo-tree.svg);
    background-repeat: no-repeat, no-repeat;
    background-position: center 37%, center 37%; 
    background-size:280px auto, 280px auto; 
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: 10001;
    pointer-events: none;
    animation: banner-tree-and-word 4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes banner-tree-and-word {
    0% { opacity: 0;background-position: center 75%, center 10%;}
    32%, 60% { opacity: 1; background-position: center 52%, center 39%;}
    100% { opacity: 0; visibility: hidden; background-position: center 65%, center 27%;pointer-events: none; }	
}

/*開場背景動畫*/
.bannerindex::after {
	content: "";
    display: block;
	background: url(https://pic03.eapple.com.tw/sianganlife/bg.jpg)no-repeat 50% center;
	background-size: cover;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	z-index: 10000;
    pointer-events: none;
	animation-delay: 3s;
	animation: banner-bg3 4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

#content_main {z-index: 0;}
.pageIndex .header_area {
	opacity: 0;
    animation:down 0.5s forwards;
    animation-delay: 3.8s;
    transition: all 0.3s;
}
.pageIndex #to_top, .pageIndex .footer, .pageIndex .info_fix {
	opacity: 0;
	animation:header 1.5s forwards;
	animation-delay: 3.3s;
	transition: all 0.5s;
}

@media screen and (max-width:768px){
.pageIndex .header_area, .pageIndex #bottom_menu {
	opacity: 0;
	animation:header 1.5s forwards;
	animation-delay: 3.3s;
    transition: all 0.5s;}
}
@keyframes banner-bg3 {
   	0% { opacity: 1;transform:translate(-50%, -50%) scale(1.2);filter: blur(6px);}
	80% { opacity: 1; filter: blur(0px);}
    100% { opacity: 0; transform:translate(-50%, -50%) scale(1);filter: blur(6px);}
}
@keyframes header {
	0% {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes down {
    0% {opacity: 0;transform: translateY(-20px);}
    100% {opacity: 1;transform: translateY(0);}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*HEADER*/
.me_tp_features {display: none;}
.header_area {
background: #fff;
position:sticky;
animation: down 1.5s forwards;
animation-delay: 4s;
transition: all 0.5s;
padding: 0px 30px;
}
.navigation {
width: 100%;
position: relative;
padding: 0;
display: flex;
align-items: center;
grid-gap: 0 20px;
max-width: 1800px;
 margin: 0 auto;
}
.navigation .nav-header {
    width: 100px;
    flex-shrink: 0;
}
.main_header_area .container { max-width: 1800px;}
.main_header_area {position: relative;}
.header_area.sticky .main_header_area {background: transparent;}
.stellarnav .menu-toggle span.bars span {width: 16px;height: 1px;}
.header_area .main_header_area::after {
content: "";
position: absolute;
height: 100%;
top: 0px;
left: 0%;
background: rgb(255 255 255 / 90%);
transition: all 1s;}
.header_area.sticky {background: rgba(255, 255, 255, 0.9);}
.header_area.sticky .stellarnav > ul > li > a {color: #000000 !important;}

@media screen and (max-width: 1024px) {
.navigation {display: flex;justify-content: flex-start;}
.nav-header {max-width: 100%;}
.nav-header {margin-top: 25px;}
.header_area .nav-brand {max-width: 200px;margin-bottom: 2px;transition: .5s;}
.stellarnav > ul > li > a {margin: 5px 1vw 10px;}
.header_area {background: none;border-bottom: none;background-color: #fff;position: sticky;top: 0;z-index: 999;}
.main_header_area { background: none;}
}

@media screen and (max-width: 768px) {
.nav-header {text-align: left;line-height: 0px;justify-content: flex-start;margin: 13px 0px;}
.header_area {padding: 0px;}
.stellarnav .menu-toggle span.bars span {background: #fff;}
.stellarnav .menu-toggle:after {color: #fff;}
.header_area.sticky .stellarnav .menu-toggle span.bars span {background: #292c2d !important;}
.header_area.sticky .stellarnav .menu-toggle:after {color: #292c2d !important;}
.stellarnav .menu-toggle {padding: 10px 8px;}
.navigation {height:100%;}
.stellarnav .menu-toggle:after{display: none;}
.stellarnav .menu-toggle span.bars span {background: #000000;}
.stellarnav li li:hover > a, .stellarnav li li.has-sub:hover > a {padding: 15px !important;}
.stellarnav.mobile > ul > li > a.dd-toggle {
padding: 6px;position: absolute;text-align: center;z-index: 999;}}
.stellarnav li li a.dd-toggle .icon-plus:before, .stellarnav li li a.dd-toggle .icon-plus:after {
content: '';
display: block;
width: 12px;
height: 0px;
top: 50%;
border-bottom: solid 3px #FFFFFF;
position: absolute;}
.stellarnav.mobile > ul > li > a {border-bottom: unset;margin: 3px 0px;}

@media screen and (max-width: 320px) {
.header_area .nav-brand {max-width: 140px;}
.stellarnav .menu-toggle {padding: 2px 15px;}}

/*LOGO*/
.nav-header {max-width: 90%;margin: 10px 0px;}

@media screen and (max-width:500px) {
.header_area .nav-brand {max-width:125px;}
}

/*下拉選單*/
.stellarnav ul li:not(:hover) > ul {opacity: 0;visibility: hidden;}
.stellarnav > ul > li > a {color: #000000;margin: 25px 1vw 25px;padding: 0px 5px;letter-spacing: 1.5px;}
.me_tp_features {display: none;}
.stellarnav > ul > li > a {position: relative;}
.stellarnav > ul > li > a::after {
content: '';
position: absolute;
bottom: 2px;
left: 30%;
width: 35%;
height: 1px;
background-color: #000000;
transform: scaleX(0);
transform-origin: center;
transition: transform 0.4s ease;}
.stellarnav > ul > li:hover > a::after {transform: scaleX(1);}
.stellarnav > ul > li.has-sub > a {position: relative; padding-right:8px;}
.stellarnav > ul > li.has-sub > a:after {border: none;margin-left: 0;top: auto;
right: auto;content: '';position:absolute;bottom: 2px;left: 0;width: 100%;height: 1px;background-color: #fff;
transform: scaleX(0);transform-origin: center;transition: transform 0.4s ease;}
.stellarnav li li.has-sub > a:after, .stellarnav li.drop-left li.has-sub > a:after {
height: 8px;
width: 8px;
display: block;
border-style: solid;
border-width: 0 1px 1px 0;
border-color: transparent #FFF #FFF transparent !important;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-transition: border .2s;
transition: border .2s;
margin: 0px;
top: 18px !important;
right: 15px;}
.stellarnav.stellarnav li.drop-left li.has-sub > a::after {transform: rotate(135deg);-webkit-transform: rotate(135deg);}
.stellarnav > ul > li:hover > ul > li:hover > ul {background: #333;}
.stellarnav li a {letter-spacing: 1px;margin: 0;}
.stellarnav li li > a, .stellarnav li li.has-sub > a {padding: 10px 15px;transition: all 0.5s;color: #fff;border-bottom: 1px solid rgb(255 255 255 / 15%);}
.stellarnav ul ul {background: #666;}
.stellarnav li li {border: none;}
.stellarnav li li:hover > a, .stellarnav li li.has-sub:hover > a {background: #333;padding-left: 20px;}
.stellarnav > ul > li.has-sub:hover > a:after {transform: scaleX(1);}


@media screen and (max-width: 1024px) {
.stellarnav > ul > li > a {margin: 2px 1vw 10px;color: #000000;}}

@media screen and (max-width:768px) {
.stellarnav.mobile > ul > li > a {color: #666;}
.stellarnav.mobile.left > ul {
max-width: 100%;
padding: 10px;
background: rgba(255, 255, 255, 0.95);}}
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu {background: none;}
.stellarnav.mobile {
height: 100%;
display: inline-flex;
justify-content: center;
align-items: center;}
.stellarnav.mobile li li.has-sub a {padding: 15px;}
.stellarnav li li:hover > a, .stellarnav li li.has-sub:hover > a {background: #666;}
.stellarnav.mobile ul {background: #666;}
.stellarnav > ul > li:hover > ul > li:hover > ul {background: #888;}
.stellarnav.mobile li.open li.open {padding: 0px 0px;background: #666;}
.stellarnav.mobile li.open {padding:0px;}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*FOOTER*/
.footer {
    padding: 30px 0 0;
    font-size: 14px;
    background: rgba(230, 230, 230, 0.3);
    position: relative;
    z-index: 99;
}
.footer .center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-direction: column;
}
.footer_logo {
    display: inline-block;
    vertical-align: top;
    max-width: 210px;
    margin: 0;
}
.footer_info {
    width: 100%;
    padding: 35px 35px 0;
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 40px;
    align-items: center;
    justify-content: center;
}
.footer_info ul {
    width: auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-direction: column;
    gap: 30px;
}
.footer_info li {
    display: flex;
    padding: 0;
    flex-direction: column;
}
.footer_info li p {
    line-height: 175%;
    letter-spacing: 1px;
    color: #000000;
    font-size: 14px;
}
.footer_info li p a {
    color: #000000;
}
.footer_info li p.add   { order: 1; }
.footer_info li p.taxid { order: 2; }
.footer_info li p.tel   { order: 3; }
.footer_info li p.fax   { order: 4; }
.footer_info li p.mail  { order: 5; }
.footer_info li p.line  { order: 6; }

.footer_menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.footer_menu a {
    display: inline-block;
    border: unset;
    border-right: 1px solid #444;
    background: unset;
    padding: 0;
    padding-right: 15px;
    margin: 0;
    margin-right: 15px;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 100%;
    color: #000000;
    transition: .2s all;
}
.footer_menu a:hover {
    background: unset;
    color: #888888;
}
.copy {
    text-align: center;
    padding: 0 35px;
    font-size: 13px;
    color: #4b4a48;
    border-top: unset;
    margin-top: 0;
    margin: 20px 0;
}
.copy a:hover {
    color: #ec881e;
}
.box_link a {
    display: none;
}
.footer_menu a:nth-of-type(1) {
    display: none;
}
.footer_menu a:nth-of-type(9) {
    border-right:unset;
}

/* --- 浮動按鈕 --- */
.info_fix_links {
    width: 50px;
    display: block !important;
}
.linksBtn {display: none;}

.info_fix_links a {
    display: flex;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 10px;
    transition: .3s;
    background: #ccda00;
    margin-bottom: 5px;
    color: #000000;
    font-size: 1.6em;
    justify-content: center;
    align-items: center;
    align-content: center;
    line-height: 1;
}
.info_fix_links a:hover {
    background: #b0ba1a;
}
.info_fix_links a{
    transition: 1s cubic-bezier(0, 0, 0.85, 1.02);    
}
.info_fix_links a:hover {
    transition: 1s ; 
    transform: rotateY(360deg);    
}


@media screen and (max-width: 1300px) {
    .footer_logo {
        max-width: 150px;
    }
}

@media screen and (max-width: 1024px) {
    .footer_info ul {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: flex-start;
    }
    .footer_menu {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}
.accordion li .link a {
    cursor: pointer;
    display: block;
    padding: 10px 15px;
    color: #333;
    background: #ffffff;
    font-size: 14px;
    font-weight: 400;
    position: relative;
}
.blog_le .accordion > li:hover .link a, .blog_le .accordion > li.on_this_category .link a {
    color: #333 !important;
    background: #dfdfdf9c;
}

@media screen and (max-width: 768px) {
    .footer_logo {
        max-width: 100px;
    }
    .footer_info {
        padding: 40px;
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 20px 0;
        align-items: center;
    }
    .footer_menu {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

}

@media screen and (max-width: 570px) {
    
    .footer_info li:nth-child(1) {
        grid-template-columns: 1fr;
        gap: 0px;
    }

}









/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*內頁BANNER 設定*/
.banner {}
.banner h5 {}
.banner.banA {}
.banner.banB {}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

@media screen and (max-width: 768px) {
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:60px;}
}

@media screen and (max-width: 600px) { 
}




