

.pageIndex::after {
    content: '';
    display: block;
    width: 20vw;
    min-width: 200px;
    min-height: 200px;
    position: fixed;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    pointer-events: none;
    background-image: url(https://pic03.eapple.com.tw/kaixidesign/logo01.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: bounceJelloFloat 4s ease forwards;
}

@keyframes bounceJelloFloat {
       0% {
        opacity: 0;transform: translateY(-50%) scale(1, 0);
    }
	
	5% {
        opacity: 0.5;
    }
     8% {
   	transform:translateY(-50%) scale(1, 1);
	 }
    50% {
        opacity: 1;
    }
	
	100% {
        opacity: 0;}
}

.pageIndex::before {
    content: '';
    pointer-events: none;
    display: block;
    width: 100%;
    height: 100%;
   /* background-image: url(https://pic03.eapple.com.tw/fluffin/bg01.jpg);*/
	background-color:#2d3649;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    
    animation: bodybg 4s ease forwards; 
}

@keyframes bodybg {
    0%   { opacity: 1; filter: blur(0); }
    10%  { opacity: 1; filter: blur(0); } 
    88%  { opacity: 1; filter: blur(0); }
    100% { opacity: 0; filter: blur(25px); } 
}


}







#content_main {
    width: 100%;
    position: relative;
    margin-top: 100vh;
    background: url(https://pic03.eapple.com.tw/hengyistone/bg.jpg);
    background-attachment: fixed;
}

#to_top {
    border-radius: 0;
    background: rgb(79 78 78 / 83%);
    border: 1.5px solid;
    border-image-source: linear-gradient(135deg, #ffee93 0%, #7a6c55 100%);
    border-image-slice: 1;
    border-radius: 0;
    width: 50px;
    height: 50px;
    color: #ffffff;
    transition: all 0.3s ease;
    left: auto;
    right:20px;
    bottom: 50px;
}
#to_top:hover {border:none; background: linear-gradient(135deg, #ddd0af 0%, #e8c58c 100%);color: #fff;}


::-webkit-scrollbar {
    background: #fff2ab;
    width: 5px;
}


::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: linear-gradient(135deg, #2a4163 0%, #6b6b6b 100%);
}


::-webkit-scrollbar-thumb:hover {    background: #496788; }

::-webkit-scrollbar-track {   background: #ffefbf; }


/*header*/

.tp_links {
    display: inline-block;
    display: none;
}



.main_header_area .container {    max-width: 94%;}


.header_area {
  position: fixed;
  width: 100%;
}



.header_area.sticky {backdrop-filter: blur(10px);box-shadow: 0 0 15px rgb(255 231 160 / 80%);transition: all 1s ease;height: 90px;background-color: #181c2fa6;}
.header_area {position: fixed;background:linear-gradient(
    to bottom,
    rgb(38 38 38 / 10%),
    rgb(225 206 153 / 0%)
);padding: 0;top: 0;transition: all 1s ease;}

.main_header_area::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 20px; 

    background: linear-gradient(
        to right,
        rgb(255 255 255 / 86%),
        rgb(150 124 50),
        rgb(255 238 161),
        rgb(155 139 31)
    );

    background-size: 200% 100%;
    animation: flow 2.5s linear infinite;

   
    filter: blur(25px);

   
    border-radius: 50px;
    pointer-events: none;
    z-index: 1;
}

@keyframes flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.nav-header {max-width: 300px;/* opacity: 0; */transition: all 1s ease;/* filter: contrast(0) brightness(100); */}
.sticky .nav-header {
        opacity: 1;
        transition: all 1s ease;
        filter: none;
        max-width: 240px;
        padding: -3px 0 0; 
        filter: drop-shadow(0 0 7px rgb(255 239 191 / 60%));
        
}

.main_header_area .container {max-width: 90%;}
.navigation { align-items: center;}
.navigation {
    width: 100%;
    position: relative;
    padding: 0;
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-gap: 0 20px;
}

.stellarnav {
    position: relative;
    width: 100%;
    z-index: 9900;
    line-height: normal;
    margin-top: 30px;
}

.stellarnav > ul > li:hover > a::before {
    transform: translateX(-20%) scale(2);
}




.path p, .path p a {
    display:none;
}


.stellarnav>ul>li>a {
    padding: 0px 5px;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    font-size: 16px;
    line-height: 40px;
    height: 40px;
    cursor: pointer;
    text-align: center;
    font-weight: 400;
    transition: all 0.5s;
    font-family: noto sans-serif;
}
.stellarnav > ul > li:hover > a{
    color: #ffffff;
    transition: .5s cubic-bezier(0.77, 0, 0.65, 0.99);
    transform: translateY(-10px);
    transition: 0.6s ease;
    
}

.stellarnav > ul > li:before {
    content: ''; display: block; position: absolute; transform: translate(-50%, -50%); transition: 0.5s ease;z-index: -1; opacity: 0;
    top: 60%;left: 50%;width: 0%;height: 7%; 
    background: linear-gradient(
    to right,
    rgb(225 206 153),
    rgb(225 206 153 / 0%)
); clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);}

.stellarnav > ul > li:hover:before { opacity: 1; width: 90%; transition: 0.5s ease;}

.stellarnav li.has-sub > a:after {display:none}

.stellarnav li li {  
    border: none;
}



.stellarnav.desktop li li>a,
.stellarnav.desktop li li.has-sub>a {
    padding: 8px 9px;
    transition: all 0.3s;
    color: #998b74;
    font-size: 13px;
    letter-spacing: 1px;
    text-align: center;
	background:#ffedba;
}



.stellarnav.desktop li li:hover>a,
.stellarnav.desktop li li.has-sub:hover>a {
    background: #b59850;
    color: #fff;
}



.me_tp_features a {display: none;}
.me_tp_features {
    margin-bottom: 0;
    display: block;
    position: fixed;
    top: 30px;
    right: 150px;
    transition: all 0.85s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 35%;
}
.pageIndex .header_area.sticky .me_tp_features {    right: 150px; opacity: 1;}
.pageIndex .header_area .me_tp_features {    right: 30px; opacity: 0;}





.bannerindex .swiper-wrapper:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(https://pic03.eapple.com.tw/kaixidesign/line.png);
    width: 100%;
    max-width: 100%;
    height: 0;
    padding-bottom: 45%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 99999;
    animation: wave-reveal 9s cubic-bezier(0.2, 0, 0.2, 1) infinite;
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.2));

}


@keyframes wave-reveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0); 
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0); 
  }
}

/*
.bannerindex .swiper-wrapper:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(https://pic03.eapple.com.tw/kaixidesign/line-1.png);
    width: 100%;
    max-width: 100%;
    height: 0;
    padding-bottom: 45%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 99999;
    animation: wave-reveal 5s cubic-bezier(0.2, 0, 0.2, 1) infinite;
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.2));

}


@keyframes wave-reveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0); 
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0); 
  }
}
*/


.pageIndex .swiper-slide.swiper-slide-active:nth-child(1):before {
	content: "";                 
    position: absolute;          
	background: url(https://pic03.eapple.com.tw/kaixidesign/text1-1.png);
	background-size: contain;
	background-repeat: no-repeat;
	top: 55%;
	left: 55%;
	width: 100% !important;
	height: 100% !important;
	background-position: left;
	transform: translate(-50%, -50%);
	padding-bottom: calc(100% / 1 * 0.12);
	 z-index: 9999;
	animation: banner-bg 2s forwards cubic-bezier(0.73, 0.08, 0.11, 0.99);
	 
}


.pageIndex .swiper-slide.swiper-slide-active:nth-child(1):after {
	content: "";                 
    position: absolute;         
	background: url(https://pic03.eapple.com.tw/kaixidesign/text1-2.png);
	background-size: contain;
	background-repeat: no-repeat;
	top: 55%;
	left: 55%;
	width: 100% !important;
	height: 100% !important;
	background-position: left;
	transform: translate(-50%, -50%);
	padding-bottom: calc(100% / 1 * 0.12);
	z-index: 9999;
	opacity: 0; 
	animation: banner-bg 2s cubic-bezier(0.73, 0.08, 0.11, 0.99) 1s forwards;
	
}



.pageIndex .swiper-slide.swiper-slide-active:nth-child(2):before {
	content: "";                 
    position: absolute;          
	background: url(https://pic03.eapple.com.tw/kaixidesign/text2-1.png);
	background-size: contain;
	background-repeat: no-repeat;
	top: 55%;
	left: 55%;
	width: 100% !important;
	height: 100% !important;
	background-position: left;
	transform: translate(-50%, -50%);
	padding-bottom: calc(100% / 1 * 0.12);
	 z-index: 9999;
	animation: banner-bg 2s forwards cubic-bezier(0.73, 0.08, 0.11, 0.99);
	 
}


.pageIndex .swiper-slide.swiper-slide-active:nth-child(2):after {
	content: "";                 
    position: absolute;         
	background: url(https://pic03.eapple.com.tw/kaixidesign/text2-2.png);
	background-size: contain;
	background-repeat: no-repeat;
	top: 55%;
	left: 55%;
	width: 100% !important;
	height: 100% !important;
	background-position: left;
	transform: translate(-50%, -50%);
	padding-bottom: calc(100% / 1 * 0.12);
	z-index: 9999;
	opacity: 0; 
	animation: banner-bg 2s cubic-bezier(0.73, 0.08, 0.11, 0.99) 1s forwards;
	
}






@keyframes banner-bg {
    0% {
        transform: translate(-50%, -45%);
        opacity: 0;
    }

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













/*footer*/
.footer {
    border-top: 1px solid #d4bd82;
    padding: 50px 0 0px;
    background: linear-gradient(135deg, #323746 0%, #14182a 100%);
    position: relative;
    box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.5);
}
.footer .center {    max-width: 1400px;}
.box_link {
    width: 100%;
    display: flex;
    max-width: max-content;
    left: 0;
    top: 97px;
    gap: 10px;
    flex-direction: row;
}
.box_link a {
    display: flex;
    height: 35px;
    width: 45px;
    font-size: 14px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #2617173d;
    position: relative;
    border-radius: 0px;
    border: 1px solid rgb(255 255 255 / 10%);
    color: #ffffff;
    transition: all 0.2s ease-in-out;
    top: 0;
}
.box_link a:hover {
    color: #e0ce96;
    top: 2px;
    transform: scale(0.98);
    box-shadow: 2px 2px 4px #a6a38061, -1px -1px 3px rgba(229, 178, 164, 0.2);
   
}


.bannerindex {
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.swiper-banner .swiper-wrapper,
.swiper-banner .swiper-slide {
    width: 100%;
    height: auto;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
}

/* 分頁圓點固定壓在 banner 上面 */
.bannerindex > .swiper-pagination {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: auto;
    z-index: 10;
}

@media screen and (max-width: 768px) {
    .bannerindex > .swiper-pagination {
        bottom: 12px;
    }
}

@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}
@media screen and (max-width: 768px) {
 .bannerindex {
  position: relative;
  height: 0;
  padding-bottom: 47%
 }

 .bannerindex .swiper-banner {
  left: 0;
  margin: 0;
 }

 .bannerindex .swiper-banner .swiper-slide img {
  height: auto;
 } 
}
.footer_info ul {
    display: flex;
    gap: 9vw;
    justify-content: flex-end;
    /* flex-direction: row-reverse; */
}
.footer_info li {
    padding: 0;
    position: relative;
}

.footer_info li:before {
    display: block;
    margin-bottom: 23px;
    margin-left: 0px;
    width: 100%;
    text-align: left;
    font-weight: 500;
    font-style: normal;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 1px;
    color: #e2ce96;
}

.footer_info li:nth-child(1):before {    content: "INFORMATION";}
.footer_info li:nth-child(2):before {    content: "RELATED LINK"; margin-left:10px;}

.footer_logo img {
    max-width: 100%;
    margin-left: -20px;
}

.footer_info li p.line {    order: 6;}
.footer_info li p.tel {
    order: 3;
  
}
.footer_info li p.fax {
    order: 4;
    padding-top: 10px;
}
.footer_info li p.taxid {    order: 5;}
.footer_info li p.mail {
    grid-column: span 2;
    order: 7;
}
.footer_info li p.add {
    grid-column: span 2;
    order: 1;
    /* border-bottom: 1px solid #b76e79; */
    padding-bottom: 10px;
    position: relative;
}


.footer_info li p, .footer_info li p a {
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
}
.footer_info li p:hover, .footer_info li p:hover  a {
    color: #ffffff;
    text-decoration: none;
}

.footer_menu a:first-child { display: none; }
.footer_menu {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    box-sizing: border-box;
    /* padding-top: 10px; */
    /* margin-left: 10px; */
}
.footer_menu a {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    background: #191d2e00;
    border: 0px solid rgba(200, 147, 135, 0.1);
    color: rgb(255 255 255 / 73%);
    padding: 8px 10px;
    border-radius: 0px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    white-space: nowrap;
}

.footer_menu a:hover{
    color: #fff3cf;
 background: #191d2e00;
 box-shadow: 2px 2px 4px #a6a38061, -1px -1px 3px rgba(229, 178, 164, 0.2);
}

.footer_info {
    padding: 0;
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-gap: 20px;
    padding-right: 150px;
    padding-bottom: 20px;
}

.copy {
    position: relative;
    background: linear-gradient(to right, #f3e7c4 0%,#786a53 100%);
    border-top: none;
    color: #4a34345c;
    padding: 5px 0;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-align: center;
}
@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定
#bottom_menu {display: block; } */
.footer.with_shopping_mode { padding:30px 0 50px; }
#to_top { bottom:60px;}
#bottom_menu li:first-child:nth-last-child(2), #bottom_menu li:first-child:nth-last-child(2) ~ li {
    width: 50%;
    display: block;
    float: left;
}
.footer_info {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 50px 60px 0 20px;
}
.box_link {
    right: 0;
    margin: auto;
    left: 0;
}
.footer_info li+li {     margin-top: 0;            }
	  }