/*logo*/
.pageIndex .nav-header {
    max-width: 400px;
    margin-top: 20px;
    filter: invert(100%) brightness(1000%);
    animation: flip-in-hor-top 1s cubic-bezier(.55,.085,.68,.53) both;
}

.pageIndex .header_area.sticky .nav-header {
    width: 300px;
    margin-top: 0px;
    filter: none;
    pointer-events: all;
}

@keyframes flip-in-hor-top {
    0% {
        transform: rotateX(70deg);
        opacity: 0.5;
        transform-origin: top;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
        transform-origin: top;
    }
}


  

/*header*/
.me_tp_features {
display: none;
}



.stellarnav ul {
    text-align: center;
    padding: 35px 0px 15px;
    transition: .5s ease-in-out;
}

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

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


.pageIndex .stellarnav ul {
    opacity: 1;
    pointer-events: none;
    
}

.pageIndex .header_area.sticky .stellarnav ul {
    opacity: 1;
    transition: .5s ease-in-out;
    pointer-events: all;
    padding: 0px 0px 5px;
}

.header_area {
    padding: 25px 10px 0px;
    position: sticky;
    background: #fff;
    box-shadow: 0 0 15px #ece9dd99;
}
.pageIndex .header_area {
    padding: 0px;
    position: fixed;
    background: transparent;
    box-shadow: none;
}

.header_area.sticky {
    padding:20px;
    background: #ffffff;
}

.pageIndex .header_area.sticky {
    padding:50px;
    background: #ffffff00;
}

.main_header_area {
    position: relative;
    z-index: 10;
}

.pageIndex .main_header_area::after {
    content: "";
    position: absolute;
    top: 0%;
    left: 50%;
    width: 100%;
    height: 100%;
    z-index: -1;
    box-shadow: 1px 1px 25px rgb(0 0 0 / 6%);
    transform: translateX(-50%) !important;
}

.pageIndex .main_header_area::after {
    background: #31231673;
    animation:.5s ease-in-out
    width: 100%;
    
}

.pageIndex .header_area.sticky .main_header_area::after {
    opacity: 1;
    background: #ffffff;
    box-shadow: 1px 1px 25px rgb(0 0 0 / 6%);
    animation: scale-in-ver-top 1.2s cubic-bezier(.25,.46,.45,.94) both;
    border-radius: 100px;
    width:60%;
}





@keyframes scale-in-ver-top {
    0% {
        transform: translateY(-30px) scaleY(0); 
        transform-origin: 100% 0%;
        opacity: 0;
    }
    100% {
        transform: translateY(0) scaleY(1); 
        transform-origin: 100% 0%;
        opacity: 1;
    }
}



.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.pageIndex .header_area.sticky .navigation{
    padding-top: 15px;
    transition: all 1s;
}




.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: 15px;
    color: #ffffff;
    font-family: noto sans tc;
    font-weight: 700;
}

.pageIndex .header_area.sticky .stellarnav > ul > li > a {
    margin: 10px 20px 0;
    letter-spacing: 2px;
    font-size: 15px;
    color: #726137;
    font-family: noto sans tc;
    font-weight: 700;
}

.pageIndex .header_area.sticky .stellarnav > ul > li > a:hover {
    color: #bd983b;
}


.stellarnav > ul > li > a b:nth-of-type(2) {
    font-size: 12px;
    color:#835f4e;
}

.stellarnav > ul > li:after {
    content: '';
    position: absolute;
    left: 50%;
    top: -66%;
    width: 26px;
    height: 26px;
    background-image: url(https://pic03.eapple.com.tw//);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.4s;
    transform: translate(-50%, -50%);
}


.stellarnav > ul > li:hover:after {
    top: -24%;
    opacity: 1;
    transition: all 1s;
    animation: spin 2.5s linear infinite;

}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}




.stellarnav li li {    border: none;}
.pageIndex .header_area.sticky .stellarnav ul ul {padding: 0px;letter-spacing: 1px;}
.stellarnav ul ul {padding: 0px;letter-spacing: 1px;}
.stellarnav li li > a, .stellarnav li li.has-sub > a {
    padding: 15px 10px;
    transition: all 0.3s;
    color: #444;
    font-size: 15px;
    background: #fff;
}

.stellarnav li li:hover > a, .stellarnav li li.has-sub:hover > a {
    border: none;
    margin-left: 10px;
    color:#b8a162;
    font-weight: 600;
    font-family:noto sans tc;
    }



.stellarnav > ul > li:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: #f5f2e7;
  border-radius: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s ease-out;
}

.stellarnav > ul > li:hover:before {
  transform: translate(-50%, -50%) scale(2);
}


/* 動畫 */
.stellarnav>ul>li {
    width: 120px;
    text-align: center;
    padding: 20px 0;
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.73, 0.08, 0.11, 0.99);
}

.pageIndex .stellarnav>ul>li {
    padding: 0px 0;
    opacity: 0;
}






.pageIndex .stellarnav>ul>li:nth-of-type(1) {
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 1s;
}

.pageIndex .stellarnav>ul>li:nth-of-type(2) {
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 1.1s;
}

.pageIndex .stellarnav>ul>li:nth-of-type(3) {
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 1.2s;
}

.pageIndex .stellarnav>ul>li:nth-of-type(4) {
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 1.3s;
}

.pageIndex .stellarnav>ul>li:nth-of-type(5) {
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay:1.4s;
}

.pageIndex .stellarnav>ul>li:nth-of-type(6) {
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 1.5s;
}

.pageIndex .stellarnav>ul>li:nth-of-type(7) {
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay:1.6s;
}


@keyframes nav-down {
    0% {
        opacity: 0;
        transform: translate(0, -20px);
    }

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