@charset "utf-8";
/*瑤天慈惠堂*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200..900&display=swap');



/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 
.swiper-slide img { height:auto;} 
.me_tp_features{display: none;}
.path{display: none;}

/*背景*/
#content_main{
    background: #fdf7f6;
    z-index: 0;
}
#content{
    background: #fdf7f6;
    z-index: 0;
}


/*反白顏色*/
body {
    overflow: overlay;
}
&::-webkit-scrollbar {
    background: #fff;
    width: 7px;
}
&::-webkit-scrollbar-button {
    display: none;
    background: #fff;
    border-radius: 0;
}
&::-webkit-scrollbar-track-piece {
    background: #fff;
}
&::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #e9a6a6;
}
&::-webkit-scrollbar-track {
    box-shadow: transparent;
}

/*開場*/
div#page:before {
    content: "";
    display: block;
    background-image: url(https://pic03.eapple.com.tw/yaotian0812/opening.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center  top;
    width: 100%;
    height: 100%;
    max-width: 2000px;
    max-height: 1000px;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
    animation: spin  4s forwards;
}
@keyframes spin{
  0% {
    
        opacity: 0;
  }
    60% {
       
       
       opacity: 1;
  }
  100% {
      
       opacity: 0;
  }
}

/*大圖*/
.swiper-banner .swiper-slide{
    position: relative;
}
/* 文字1 */
.swiper-banner .swiper-slide:nth-child(1)::after {
    content: "";
    position: absolute;
    bottom: 10%;
    left: 27%;
    width: 100%;
    height: 100%;
    max-width: 885px;
    max-height: 98px;
    background-image: url(https://pic03.eapple.com.tw/yaotian0812/big_text01.png);
    background-size: contain;
    background-repeat: no-repeat;
    animation: fade-in-bottom 5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
/* 文字1  */
@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(100px);
            transform: translateY(100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

/* 文字2  */
.swiper-banner .swiper-slide:nth-child(2)::after {
    content: "";
    position: absolute;
    bottom: 16%;
    left: 6%;
    width: 100%;
    height: 100%;
    max-width: 1840px;
    max-height: 596px;
    background-image: url(https://pic03.eapple.com.tw/yaotian0812/big_text02.png);
    background-size: contain;
    background-repeat: no-repeat;
     animation: fade-in-top 8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
/* 文字2  */
@keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-100px);
            transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}


.pageIndex .header_area {
    position: fixed;
    z-index: 2;
    width: 100%;
    background-color: #FDF7F9;
    padding: 0.4% 0;
}
.pageIndex .header_area.sticky{
    background-color: #FDF7F9;
    z-index: 2;
    padding: 0.4% 0;
}
.main_header_area{
    background: transparent;
}
.stellarnav > ul > li > a {
    color: #222222;
    font-family: "Noto Serif TC", serif;
    font-weight: 600;
    letter-spacing: 1px;
}
.stellarnav > ul > li > a:hover,.stellarnav > ul > li > a b:hover{
    color: #b02a4f;
}
.stellarnav > ul > li > a b{
    color: #222222;
    font-family: "Noto Serif TC", serif;
    font-weight: 600;
    letter-spacing: 1px;
}
.stellarnav li.has-sub > a:after{
    border-top: none;
}
.main_header_area .container{
    max-width: 86%;
    width: 100%;
}
.nav-brand{
    width: 100%;
}








/*內頁BANNER 設定*/
.banner {
    background-color: #fff4f6;
    background-image: none;
}
.banner h5 {
    color: #cb9aad;
    font-weight: 500;
}
.banner.banA {}
.banner.banB {}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}




/* 商品下拉超過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;}
.product_page .main_part { max-width:1500px;}
.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-layer-two { 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;}


/*聯絡我們*/
.contact_content .information_left{
    display: none;
}
.contact_form li .form__label {
    display: inline-block;
    width: 100%;
    text-align: left;
    margin-left: 0;
    padding-right: 10px;
    vertical-align: top;
}
.contact_form li {
    display: block;
    padding: 0 0 10px 0;
    padding-left: 0;
}
.contact_content .information_right {
    width: 100%;
    padding-left: 0;
}
.contact_form li .form__label{
    font-size: 17px;
}
.contact_form li .form__label{
    display: flex;
}
.red{
    order: 2;
}


/*頁腳*/
.box_link{
    display: none;
}
.footer{
    background-image: url(https://pic03.eapple.com.tw/yaotian0812/footer.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #fbe6eb;  
    height: 400px;
    z-index: 1;
}
.footer .center{
    width: 100%;
    max-width: 84%;
}
.footer_logo{
    width: 28%;
    margin: 0;
}
.footer_info {
    padding: 0;
    display: flex;
    align-items: center;
}
.footer_menu a{
    border:none;
    background: transparent;
    color: #a6435c;
}
.footer_menu a:hover {
    background: transparent;
    color: #bd7a8b;
}
.footer_menu {
    background-color: #f6c6d2;
    text-align: center;
    padding: 1% 0;
    border-radius: 30px;
}
.footer_info ul{
    width: calc(100% - 30%);
}
.footer_menu a{
    padding: 5px 30px;
}
.footer_info ul{
    padding: 4% 0 0 0;
}
.footer_info li p{
    color: #222;
    font-size: 16px;
}
.footer_info li p  a{
    color: #222;
    font-size: 16px;
}
.copy{
    border-top: none;
    color: #222;
}
.copy a{
     color: #222;
}




@media screen and (max-width: 1280px) {
.swiper-banner .swiper-slide:nth-child(1)::after{
    background-size: 68%;
}
.swiper-banner .swiper-slide:nth-child(2)::after{
    background-size: 14%;
    bottom: 0;
    max-height: 68vh;
}


/*頁腳*/
.footer_info {
    padding: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.footer_info ul {
    width: 100%;
    max-width: 84%;
}
.footer_menu a{
    padding: 5px 16px;
}


}
@media screen and (max-width:1024px) {
.pageIndex .header_area,.pageIndex .header_area.sticky{
    position: relative;
}
.swiper-banner .swiper-slide:nth-child(1)::after{
    background-size: 60%;
}

/*頁腳*/
.footer_info ul {
    width: 100%;
    max-width: 100%;
}

}
@media screen and (max-width: 980px) {
.swiper-banner .swiper-slide:nth-child(2)::after {
    background-size: 14%;
    bottom: -37px;
    max-height: 50vh;
}


/*頁腳*/
.footer_logo {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}


}
@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {display: block; }
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:60px;}
.bannerindex { padding:0; margin:0;}
.main_header_area .container{ max-width: 100%; width: 100%;}
.swiper-pagination{display: none;}  
div#page:before{
   display: none;
}

/*換手機版大圖*/
.swiper-slide img{display: none;}
.swiper-banner{ height:90vh; padding:0;}
.swiper-wrapper .swiper-slide:nth-child(1)::after {
   display: none;
}
.swiper-wrapper .swiper-slide:nth-child(1)::before {
   display: none;
}

.swiper-wrapper .swiper-slide:nth-child(2)::after {
    display: none;
}
.swiper-wrapper .swiper-slide:nth-child(2)::before {
   display: none;
}
.swiper-slide:nth-child(1) { background-image: url(https://pic03.eapple.com.tw/yaotian0812/phone768-1.jpg); background-repeat:no-repeat;background-size: cover;background-position: top center;height: auto;}
.swiper-slide:nth-child(2) { background-image: url(https://pic03.eapple.com.tw/yaotian0812/phone768-2.jpg); background-repeat:no-repeat;background-size: cover;background-position: top center;height: auto;}

/*產品*/
.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;}

/*頁腳*/
.footer_menu{
    background-color: transparent;
}
.footer_info ul{
    width: 100%;
}
.footer_menu a{
    background: #ecc8c8ad;
    width: 47%;
}
.footer_info {
    padding: 0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}
.footer{
    height: auto;
}





}
@media screen and (max-width: 480px) {
/*大圖*/    
/*換手機版大圖*/
.swiper-slide img{display: none;}
.swiper-banner{ height:56vh; padding:0;}
.swiper-slide:nth-child(1) { background-image: url(https://pic03.eapple.com.tw/yaotian0812/phone480-1.jpg); background-repeat:no-repeat;background-size: cover;background-position: top center;height: auto;}
.swiper-slide:nth-child(2) { background-image: url(https://pic03.eapple.com.tw/yaotian0812/phone480-2.jpg); background-repeat:no-repeat;background-size: cover;background-position: top center;height: auto;}

.nav-brand {
    width: 72%;
}


}

