::-webkit-scrollbar {    width: 6px;}
::-webkit-scrollbar-track {    box-shadow: inset 0 0 8px #F4F2E5;}
::-webkit-scrollbar-thumb {    background-color: #d6af50;border-radius: 4px;}



.path p, .path p a {
    text-align: right;
    line-height: 24px;
    font-size: 13px;
    color: #666;
    display: none;
}




/*進入網站動畫*/
.pageIndex::after{
    position: fixed;
    content: "";
    pointer-events: none;
    display: block;
    width: 100%;
    height: 0;
    padding-bottom:calc(100% / 1* 0.12);
    background: url(https://pic03.eapple.com.tw/yaoyunfuneral/logo1.png);
    background-size: contain!important;
    background-repeat: no-repeat;
    background-position: center!important;
    top: 45%;
    left: 0%;
    transform: translate(0%, -45%) ;
    z-index: 100000000;
   /* animation: logo 3s cubic-bezier(0.550, 0.085, 0.680, 0.530);*/
	animation: logo 5s cubic-bezier(0.75, -0.5, 0.26, 1.55) forwards;
    opacity: 0;
   filter:drop-shadow(2px 2px  3px #fff) ;
}

@keyframes logo {
   0%   { transform: translateY(50px);filter: blur(3px); opacity: 0; }
  15%  { transform: translateY(-50px);filter: blur(0); opacity: 1; }  
  30%  { transform: translateY(50px); }      
  50%  { transform: translateY(-100px); }   
  65%  { transform: translateY(5px); }   
  85%  { transform: translateY(-180px); }      
  100% { transform: translateY(-200px); filter:blur(6px);opacity: 0; }      
}


.pageIndex::before{
    position: fixed;
    content: "";
    pointer-events: none;
    display: block;
    width: 100%;
    height: 100%;
    
    background: url(https://pic03.eapple.com.tw/yaoyunfuneral/bg.jpg);
    background-size: cover!important;
    background-repeat: no-repeat;
    background-position: center top!important;
    top:50%;
    left: 50%;
    transform: translate(-50% , -50%);
    z-index: 100000000;
    animation: logo-bg 3s ease-in-out;
    opacity: 0;
   filter:drop-shadow(2px 2px  3px #fff) ;
   
}

@keyframes logo-bg {
  0% {
    transform: perspective(1000px) translateZ(0) translate(-50%, -50%);
    top: 50%;
    left: 50%;
    opacity: 1;
    filter: blur(0px);
  }

  60% {
    transform: perspective(1000px) translateZ(50px) translate(-50%, -50%);
    opacity: 0.8;
    filter: blur(1px);
  }

  100% {
    transform: perspective(1000px) translateZ(100px) translate(-50%, -50%) scale(1.1);
    top: 50%;
    left: 50%;
    opacity: 0;
    filter: blur(8px);
  }
}




.album_info_page .banner,.blog_in_page .banner,.car_page .banner,.album_class_page .banner, .product_info_page .banner,.other_page .banner, .product_page .banner,.blog_page .banner,.album_page .banner{ display: none;}


.bannerindex .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/yaoyunfuneral/text01.png);
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10000;
}

.bannerindex .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/yaoyunfuneral/text02.png);
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10000;
}

.bannerindex .swiper-wrapper .swiper-slide-active::before {
    transform-origin: 50% 80%;
    animation: bg-active-1 2.8s forwards cubic-bezier(0.73, 0.08, 0.11, 0.99);
	 animation: bg-active2 3.6s forwards cubic-bezier(0.73, 0.08, 0.11, 0.99);
}


@keyframes bg-active-1 {
    0% {
        opacity: 0;
        transform: translate(5%, 0);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}


@keyframes bg-active2 {
  0% {
    opacity: 0;
    filter: brightness(0.8) drop-shadow(0 0 0 rgba(255, 220, 146, 0.3));
  }

  25% {
    opacity: 0.7;
    filter: brightness(1.2) drop-shadow(0 0 6px rgba(255, 240, 190, 0.6));
  }

  50% {
    opacity: 1;
    filter: brightness(1.8) drop-shadow(0 0 12px rgba(255, 255, 255, 0.9));
  }

  75% {
    filter: brightness(1.4) drop-shadow(0 0 20px rgba(255, 245, 200, 0.8));
  }

  100% {
    opacity: 1;
    filter: brightness(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
  }
}





/* = = = = = = = header = = = = = = = =*/

.box_search{display:none;}
.me_tp_features {display:none;}






.header_area {
	background: linear-gradient(to bottom, rgb(255 206 143 / 73%) 0%, rgba(0, 0, 0, 0) 100%);
	padding: 10px 10px 0;
	position: absolute;
	backdrop-filter: blur(2px);
}

.header_area:after {
    content: "";
    position: absolute;
    display: block;
    width: 0%;
    height: 2px;
    background: linear-gradient(45deg, #9b7f3e, #e9d574);
    transform: translate(-20px, -1px);
    transition: .5s;
	
}
.header_area.sticky:after {
    width: 100.5%;
    transition: .5s;
}

@media screen and (max-width:768px) {
.header_area.sticky:after {
    width: 107%;
    transition: .5s;
}
}

.main_header_area .container {
    max-width: 1600px;}       


.header_area.sticky {
       position: sticky;
       transition: 0.3s ease-in-out;
       backdrop-filter: blur(9px);
       background: #e5c7b25e;
       border-bottom: 0px solid #fff;
}




@media screen and (max-width:768px) {
  
	

.header_area.sticky {
	 backdrop-filter: unset;
	 position: fixed;
	 padding-top: 10px;
}
    .nav-header {
        margin: auto;
        position: unset;
        transform: scale(1);
        filter: unset;
        /* padding-top: 10px; */
    }

}



@media screen and (max-width: 325px) {
    .nav-header {
        margin: auto;
        position: unset;
        transform: scale(1);
        filter: unset;
        width: 100px;
    }
}



/*logo*/
.nav-header {max-width: 200px;transition: 0.3s;}
.navigation {grid-template-columns: 300px 1fr;}
.nav-brand img {/* padding: 5px 0; */}
.header_area.sticky .nav-header {
    max-width: 200px;
    transition: 0.8s;
    z-index: 99;
}


.sticky .nav-header { transform: unset;   position: unset;transition: 0.3s ease-in-out;   max-width: 150px;}

.nav-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transform: scale(1.7);
    top: 50px;
    /* left: 30%; */
}





.nav-brand img {filter: drop-shadow(0 0 5px rgba(255, 255, 255, 1))  drop-shadow(0 0 10px rgba(255, 255, 255, 0.9))   drop-shadow(0 0 20px rgba(255, 255, 255, 0.7)) /* ç¬¬ä¸‰å±¤ */ drop-shadow(0 0 40px rgba(255, 255, 255, 0.5));}

.pageIndex .nav-header {
    opacity: 0;
    transform: translateY(-60px) scale(1.7);
    animation: logo-drop 1.5s ease-in-out forwards;
    animation-delay: 1.5s; 
}

@keyframes logo-drop {
    0% {
        opacity: 0;
        transform: translateY(-60px) scale(1.7);
    }
    60% {
        opacity: 1;
        transform: translateY(10px) scale(1.7);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1.7);
    }
}

@media screen and (max-width: 1024px) {
 .pageIndex .nav-header {
        margin: 0 auto;
        transform: scale(1);
        opacity: 1;
        width: 100px;
        animation: none;
        /* justify-content: center; */
        /* display: flex; */
        top: 1px;
}
}

.sticky .nav-header {
    animation: none;
    opacity: 1;
    transform: scale(1);
}


.stellarnav {margin-top: 30px;}
.stellarnav li a {
	font-size: 14px;
	color: #fff;
}
.stellarnav li li {
	border: none;
	background-color: rgb(255 255 255 / 0%);
	-webkit-backdrop-filter: saturate(180%) blur(5px);
	backdrop-filter: saturate(180%) blur(5px);
	transition: opacity .2s;
}
.stellarnav li li:hover {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.stellarnav ul ul {background: #ffffff00;}
.header_area.sticky .stellarnav li a {color: #6d4317;}
.header_area .stellarnav li a:hover {color: #b98910;}

.stellarnav > ul > li::before {
    content: "";
    position: absolute;
    width: 10px;          /* 圓球直徑 */
    height: 10px;
    background: #fff5cb;  /* 主色 */
    border-radius: 50%;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: 
        transform 0.6s ease, 
        opacity 0.6s ease, 
        box-shadow 0.6s ease;
    z-index: -1;
}

/* 滑鼠滑過時 — 小圓球發光並向上飛 */
.stellarnav > ul > li:hover::before {
    transform: translate(-50%, -250%);  /* 向上飛 */
    opacity: 1;
    box-shadow: 0 0 5px 5px rgb(255 248 217 / 80%); /* 發光效果 */
}


.stellarnav > ul > li { letter-spacing: 0.5px;}
.stellarnav > ul > li > a {color: #4b2712b3;font-size: 15px;font-family: noto sans tc;font-weight: 600;}
.stellarnav > ul > li > a b {
    color: #040404;
    letter-spacing: 2px;
    font-weight: bold;
    font-family: 'noto sans tc';
    font-size: 20px;
}

.stellarnav > ul > li > a:hover b {  color: #bebebe; }
.stellarnav > ul > li:hover { background: transparent;}

.stellarnav > ul > li.has-sub > a{padding-right: 17px !important;}
.stellarnav li.has-sub > a:after {border-top: 10px solid #48f9f2;right: -1%;}


.stellarnav ul ul {background: transparent; width: 150px; font-size: 14px;}
.stellarnav ul li:nth-of-type(4) ul {width: 210px;}
.stellarnav li li {border: none;}

.stellarnav li li a{color: #686868;transition: all 0.6s;text-align: center;background: #e9fafff7;backdrop-filter: blur(5px)}
.stellarnav li li:nth-child(even) a{background: #b4e7ffde;}
.stellarnav li li:hover a{color: white;background: #7dd1dca8;color: #ffffff;}
.stellarnav li li.has-sub:hover > a:after {border-left: 7px solid #fff;}
.stellarnav li li.has-sub > a:after{
	border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 7px solid #231815;}
	
	
.stellarnav > ul > li > a:hover b {
    color: #7ffbff;
    /* font-size: 20px; */
    padding-right: 15px;
}


#content_main { margin:0;}
.bannerindex { position:sticky; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 


@media screen and (max-width: 768px) {
.bannerindex {padding:0;margin:0;margin-top: 50px;.header_area {all: unset;filter: unset;
 };}
	.nav-header {animation: none; 
}



/*********************側邊/
@media screen and (max-width: 768px) {
/*menu*/
.stellarnav .menu-toggle:after {color: #ad901a;font-size: 9px;}
.stellarnav .menu-toggle span.bars span {background: #ad901a;}
.stellarnav .menu-toggle, .stellarnav .call-btn-mobile, .stellarnav .location-btn-mobile, .stellarnav .close-menu {  padding: 0;}
.stellarnav {margin-top: 0px;}
.stellarnav.mobile{left: 6px;top: 0px;}
.stellarnav.mobile > ul > li > a{ padding: 30px 43px 10px 10px;}
/*close*/
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu {background: #ffdaac82;color: #7b5e31;padding: 18px;}
.stellarnav .icon-close:before, .stellarnav .icon-close:after {border-bottom: solid 1px #455681; margin: 1.5px 1.5px 0 -5px;}


.stellarnav.mobile li a {border-bottom: none;}
.stellarnav.mobile.right > ul, .mobile.left > ul {  background: #ffffffe8; backdrop-filter: saturate(93%) blur(5px);}
.stellarnav.mobile > ul > li { border-bottom: 1px #ffffff29 solid;}
.stellarnav.mobile > ul > li:hover{background: #85434300;}
.stellarnav.mobile > ul > li > a:hover b { color: #6ac7ffa6;}
.stellarnav > ul > li.has-sub > a { padding-right: 0px !important;}


.stellarnav.mobile li li {
    display: block;
    border: 0px #b5d3ff00 solid;
    border-bottom-width: 0;
    background-color: #ffffffe6;
}

.stellarnav.mobile li a {
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    background-color: #8a5b5b00;
}


.stellarnav.mobile li li:nth-child(even) a{background: #ffffff45;}



.stellarnav.mobile li.open{ background: transparent;}
.stellarnav.mobile ul ul {margin: 0 15px 15px;}

.stellarnav li li:hover a {background: #2b738f94;}
.has-sub drop-left open.stellarnav li li a {background: #ffffff;}


.stellarnav a.dd-toggle .icon-plus:before, .stellarnav a.dd-toggle .icon-plus:after {  border-bottom: solid 1px #090e21;}
.stellarnav > ul > li > a{letter-spacing: 2px; margin: 0 5px;}
.stellarnav > ul > li > a b { color: #1b324b;  line-height: 200%;}
.stellarnav > ul > li.has-sub > a{/* padding: 10px; *//* padding-right: 10px; */}

}





/*footer*/
.footer_info li p.taxid:before { content:'LINE ID：';}
.footer_info li p.add2:before { content:'LINE ID：';}
.footer_info li p.tel:before {
    content: '24H專線：';
}
.footer_info li p.phone:before {
    content: '24H專線：';
}
.footer_info li p.fax:before {
    content: 'LINE ID：';
}
.footer_info {        grid-template-columns: 1fr; padding: 0 30px;}
.footer .center { max-width: 1500px;}
.footer_info ul {    grid-template-columns: 1fr 1fr;}
.box_link {        padding-left: 35px;        max-width: 900px;    }
.footer_info li:nth-child(2) {    padding-bottom: 20px;}
.footer {
    background: 
      position: relative;
    overflow: hidden;
    background: transparent;
    /* padding: 80px 0 60px; */
    background: linear-gradient(115deg, #fff2df, #d3b195);
}


.footer::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -50px;
  width: 200%;
  height: 100%;
  background: url(https://pic03.eapple.com.tw/yaoyunfuneral/clound.png) repeat-x;
  background-size: 50% auto;
  opacity: 0.4;
  animation: cloudMove1 60s linear infinite;
  pointer-events: none;
  z-index: -2;
}


.footer::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -50px;
  width: 200%;
  height: 100%;
  background: url(https://pic03.eapple.com.tw/yaoyunfuneral/clound.png) repeat-x;
  background-size: 35% auto;
  opacity: 0.7;
  animation: cloudMove2 30s linear infinite;
  pointer-events: none;
  z-index: -1;
}


@keyframes cloudMove1 {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}


@keyframes cloudMove2 {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

.footer_logo {padding-right: 0;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding-right: 20px;
	max-width: 210px;
}

.footer_info {
    display: grid;
    grid-template-columns: 370px 1fr 370px;
    gap: 20px 35px;
    padding: 0;
    max-width: 1500px;
    margin: auto;
    padding-bottom: 45px;
}

.footer_info ul {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 30px;
    align-items: baseline;
    width: 100%;
    max-width: 900px;
    margin: 0 0 0 auto;
    padding-top: 20px;
}

.footer_info li p, .footer_info li p a {    color: var(--SubColor02);}
.footer_info li {    padding: 0;}

.footer_info li:nth-child(1) {    padding-left: 20px;}

.footer_info li:nth-child(2) {
    border-right: solid 1px #ffffff00;
    padding-right: 25px;
    padding-bottom: 12px;
}
.footer_info li:nth-child(2) {    order: -1;}

.footer_menu a,
.footer_info li:nth-child(1)>p,
.footer_info li:nth-child(1) a {
    transition: all 0.3s;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    font-size: 13px;
    line-height: 26px;
    letter-spacing: 0;
    color: var(--SubColor02);
    padding: 0;
    letter-spacing: 0.1em;
    color: #7b6147;
    order: 99;
}

.footer_info li {
  display: flex;
  flex-direction: column; 
}
.footer_info li p.tel   { order:1; }
.footer_info li p.phone  { order: 2; }
.footer_info li p.taxid  { order: 3; }
.footer_info li p.add2   { order: 4; }
.footer_info li p.add  { order:5; }



.footer_menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.footer_menu a {
    margin: 0;
    text-align: left;
    padding: 5px;
    border: none;
    background: transparent;
    width: fit-content;
    transition: all 0.3s;
    color: #7b6147;
}

.footer_menu a:hover {
    background: transparent;
    color: var(--SubColor);
}

.footer_info li:before, .box_link:before {
    display: block;
    margin-bottom: 10px;
    width: 100%;
    text-align: left;
    font-weight: 500;
    font-style: normal;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 1px;
    color: var(--SubColor02);
    font-family: noto serif tc;
	font-weight:700;
	color:#87510b
	
}

#bottom_menu li a {
    line-height: 2;
    display: block;
    padding: 10px 5px 5px;
    display: none;
}

.box_link:before {    content: "media";}
.footer_info li:nth-child(1):before {    content: "information";}
.footer_info li:nth-child(2):before {    content: "about";}

.box_link {
    display: flex;
    flex-direction: row;
    max-width: 280px;
    width: 100%;
    justify-content: flex-start;
    padding: 0;
    margin: 0 auto;
    position: relative;
    order: 3;
    padding-top: 20px;
    align-items: flex-start;
    align-content: flex-start;
}

.box_link a {
    border: none;
    width: 45px;
    height: 45px;
    color: var(--SubColor02);
    padding: 11px;
    font-size: 18px;
    position: relative;
    background: transparent;
    transition: all 0.3s;
    overflow: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0px 5px 0;
    border-radius: 50%;
    border: 1px var(--SubColor02) solid;
}
.box_link a{  color: #fff;}
.box_link a:hover {
  
    color: #9b6931;
    border-color: var(--SubColor);
}

.copy {
    /* padding: 15px 0; */
    color: #ffffff45;
    margin: 0;
    border: none;
    background-color: #837a60;
}
.copy a {    color: #ffffff45;}

@media screen and (max-width: 768px) {
 
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {            /* display: block; */        }
.footer.with_shopping_mode {            padding: 30px 0 70px;        }
#to_top {            bottom: 60px;        }
#bottom_menu li:first-child:nth-last-child(2), #bottom_menu li:first-child:nth-last-child(2) ~ li {width: 33.33%;            display: block;            float: left;        }
.box_link {            padding-left: 0;        }
.footer_logo {            max-width: 140px;            padding-top: 30px;        }
.show-list {column-count:2;  /*欄數*/}

}

@media (max-width:1024px) {
/*footer*/
.footer_info {grid-template-columns: 1fr;padding: 0 30px;}
.footer_logo {
    padding-right: 0;
    text-align: center;
}
.footer_info ul {    grid-template-columns: 1fr 1fr;}
.box_link {        padding-left: 35px;        max-width: 900px;    }
.footer_info li:nth-child(2) {    padding-bottom: 20px;}
}


@media screen and (max-width: 768px) {
 
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {            /* display: block; */        }
.footer.with_shopping_mode {padding: 30px 0 0px;}
#to_top {            bottom: 60px;        }
#bottom_menu li:first-child:nth-last-child(2), #bottom_menu li:first-child:nth-last-child(2) ~ li {width: 33.33%;            display: block;            float: left;        }
.box_link {            padding-left: 0;        }
.footer_logo {            max-width: 140px;            padding-top: 30px;        }
.show-list {column-count:2;  /*欄數*/}

}

@media (max-width:600px) {

.footer_info ul {   grid-template-columns: 1fr;        gap: 5px;    }
.footer_logo {  max-width: 110px;   }
.footer_info li:nth-child(1) {            padding-left: 0;        }
.footer_info li:nth-child(2) {        order: 2;        padding-bottom: 0;        border-right: none;    }
.footer_menu {        grid-template-columns: 1fr 1fr 1fr;    }
.box_link {padding-top: 0;padding-bottom: 20px;}
.show-list {column-count:1;  /*欄數*/}
}

