.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/scottcstudio/logo.png);
    background-size: contain !important;
    background-repeat: no-repeat;
    background-position: center !important;
    
    /* 改成 50% 是標準置中起點 */
    top: 50%;
    left: 50%;
    /* 使用 -50% 偏移回自身中心 */
    transform: translate(-50%, -50%);
    
    z-index: 100000000;
    animation: logo-one 3s cubic-bezier(0.75, -0.5, 0.26, 1.55) forwards;
    opacity: 0;
    filter: drop-shadow(2px 2px 3px #fff);
}

@keyframes logo-one {
    0% {
        opacity: 0;
        /* 每一段都必須保持 translate(-50%, -50%) 才能維持置中 */
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        filter: blur(0px);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    70% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
        filter: blur(0px);
    }
    90% {
        opacity: 0.8;
        filter: blur(5px);
        transform: translate(-50%, -50%) rotate(360deg) scale(1.5);
    }
    100% {
        opacity: 0;
        filter: blur(15px);
        transform: translate(-50%, -50%) rotate(360deg) scale(2);
    }
}

.pageIndex::before{
    position: fixed;
    content: "";
    pointer-events: none;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #eee4db;
    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% {
    
    opacity: 1;
   
  }

   80% {
    
    opacity: 1;
   
  }

  100% {
    opacity:0;
    
  }
}



::-webkit-scrollbar {    width: 4px;}
::-webkit-scrollbar-track {    box-shadow: inset 0 0 8px #9ccebb;}
::-webkit-scrollbar-thumb {    background-color: #b19982;border-radius: 4px;}








.me_tp_features {display: none;}
.main_header_area .container { max-width: 1400px; margin: auto;}
.pageIndex .header_area {position: fixed;background: #ffffff00;width: 100%;transition: all 0.5s;top: 0px;height: 90px;}

.header_area.sticky {
  background: #ffffffde;
  position: sticky;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 5px;
  }



header.header_area .nav-header:before {
    content: "";
    background: #eee4db;
    width: 200px;
    height: 135px;
    z-index: -2;
    position: absolute;
    border-radius: 0 0 30px 30px;
    transition: all 0.6s ease;
}

.nav-brand {
    display: block;
    max-width: 100%;
    margin: -3px auto;
    z-index: -2;
}

@media screen and (max-width: 768px) {
  body.pageIndex::after { width: 20%; }
 .stellarnav .menu-toggle { padding-top: 15px; }
 .bannerindex {padding-bottom:51%;}
}

@media screen and (max-width: 600px) {
    body.pageIndex::after { width: 25%; }
}

@media screen and (max-width: 450px) {
    body.pageIndex::after { width: 35%; }
}



.navigation {grid-template-columns: 120px 1fr;}

.stellarnav ul {
    margin: 0;
    padding: 0;
    text-align: right;
    margin-top: 8px;
}


.stellarnav > ul > li > a b {
    display: block;
    line-height: 40px;
    height: 40px;
    font-style: normal;
    font-weight: bold;
    font-family: "Noto Sans TC", sans-serif;
}



.stellarnav {
    position: relative;
    width: 100%;
    line-height: normal;
    margin-top: 26px;
}

.stellarnav > ul > li:hover > a::before {
    transform: translateX(-20%) scale(2);
}

.stellarnav>ul>li>a {
   
    color: #948883;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    font-size: 16px;
    line-height: 40px;
    height: 40px;
    cursor: pointer;
    text-align: center;
    font-weight: 100;
    font-family: "Noto Sans TC", sans-serif;
    letter-spacing:1px;
}
.stellarnav > ul > li:hover > a{
    color:  #bfac7e;
    transition: 0s cubic-bezier(0.77, 0, 0.65, 0.99);
    transform: translateY(-15px);
    transition: transform 0.2s ease;
     font-size: 15px;
}

.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: 2%;
    background: linear-gradient(to right, rgb(192 178 135), rgb(26 94 38 / 0%));
   
    }

.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: #9f917a;
    font-size: 13px;
    letter-spacing: 1px;
    text-align: center;
    background: #e3e3e3;
}



.stellarnav.desktop li li:hover>a,
.stellarnav.desktop li li.has-sub:hover>a {
    background: #c4b286;
    color: #fff;
}

.pageIndex .stellarnav > ul > li { opacity: 0; transform: translateY(-20px); animation: nav-down 1.8s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards; animation-delay: calc(0.11s * var(--i)); } .pageIndex .stellarnav > ul > li:nth-of-type(1) { --i: 1; } .pageIndex .stellarnav > ul > li:nth-of-type(2) { --i: 2; } .pageIndex .stellarnav > ul > li:nth-of-type(3) { --i: 3; } .pageIndex .stellarnav > ul > li:nth-of-type(4) { --i: 4; } .pageIndex .stellarnav > ul > li:nth-of-type(5) { --i: 5; } .pageIndex .stellarnav > ul > li:nth-of-type(6) { --i: 6; } .pageIndex .stellarnav > ul > li:nth-of-type(7) { --i: 7; } @keyframes nav-down { to { opacity: 1; transform: translateY(0); }}





.stellarnav > ul > li:nth-child(2) {
  margin: 0 25px;
}

.stellarnav > ul > li:nth-child(3) {
  margin: 0 25px;
}

.stellarnav > ul > li:nth-child(4) {
  margin: 0 20px;
}
.stellarnav > ul > li:nth-child(5) {
  margin: 0 10px;
}
.stellarnav > ul > li:nth-child(6) {
  margin: 0 10px;
}
.stellarnav > ul > li:nth-child(7) {
  margin: 0 10px;
}

.stellarnav > ul > li:nth-child(8) {
  margin: 0px 10px;
}

.stellarnav > ul > li:nth-child(9) {
  margin: 0px 20px;
}






.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%;
}

.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;}
}



.pageIndex .swiper-slide.swiper-slide-active:nth-child(1):before {
    content: "";                  
    position: absolute;          
    background: url(https://pic03.eapple.com.tw/scottcstudio/en01.png);
    background-size: contain;
    background-repeat: no-repeat;
    top: 55%;
    left: 55%;
    width: 100% !important;
    height: 100% !important;
    background-position: left;
    z-index: 9999;
    animation: banner-left-to-right 1.2s forwards cubic-bezier(0.25, 1, 0.5, 1);
}


.pageIndex .swiper-slide.swiper-slide-active:nth-child(1):after {
    content: "";                  
    position: absolute;          
    background: url(https://pic03.eapple.com.tw/scottcstudio/ch01.png);
    background-size: contain;
    background-repeat: no-repeat;
    top: 55%;
    left: 55%;
    width: 100% !important;
    height: 100% !important;
    background-position: left;
    z-index: 9999;
    opacity: 0; 
  
    animation: banner-right-to-left 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}


.pageIndex .swiper-slide.swiper-slide-active:nth-child(2):before {
    content: "";                  
    position: absolute;          
    background: url(https://pic03.eapple.com.tw/scottcstudio/en02.png);
    background-size: contain;
    background-repeat: no-repeat;
    top: 55%;
    left: 55%;
    width: 100% !important;
    height: 100% !important;
    background-position: left;
    z-index: 9999;
    animation: banner-left-to-right 1.2s forwards cubic-bezier(0.25, 1, 0.5, 1);
}


.pageIndex .swiper-slide.swiper-slide-active:nth-child(2):after {
    content: "";                  
    position: absolute;          
    background: url(https://pic03.eapple.com.tw/scottcstudio/ch02.png);
    background-size: contain;
    background-repeat: no-repeat;
    top: 55%;
    left: 55%;
    width: 100% !important;
    height: 100% !important;
    background-position: left;
    z-index: 9999;
    opacity: 0; 
  
    animation: banner-right-to-left 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}





@keyframes banner-left-to-right {

    0% {
        opacity: 0;
        filter: blur(18px);
        transform:
        translate(-58%, -50%)
        scale(1.08);
    }

    40% {
        opacity: .5;
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform:
        translate(-50%, -50%)
        scale(1);
    }
}



@keyframes banner-right-to-left {

    0% {
        opacity: 0;
        filter: blur(18px);
        transform:
        translate(-42%, -50%)
        scale(1.08);
    }

    40% {
        opacity: .5;
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform:
        translate(-50%, -50%)
        scale(1);
    }
}



/*footer*/
.footer_info li p.taxid:before { content:'營業時間：';}
.footer_info {
    padding: 0;
    display: grid;
    grid-template-columns: 0px 1fr;
    grid-gap: 20px;
    padding-right: 110px;
}

.footer {
    padding: 80px 0 0;
	background: #eee4db;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: #ffceec;
}
.box_link{display: none;}
.footer_info ul {
    justify-content: space-between;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 0 20px;
	font-family: "Montserrat", sans-serif;
}
.footer_info li p:nth-child(1), .footer_menu {    padding-top: 10px;}
.footer_info li:nth-child(1):before, .footer_info li:nth-child(2):before {
    display: block;
    font-size: 20px;
    color: #845d3a;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffffff69;
    padding-left: 7px;
    font-weight: 500;
}
.footer_info li p, .footer_info li p a {
	
    color: #4f4f4f;
    padding-left: 7px;
    line-height: 220%;
    transition: all .5s;
	
}
.footer_info li p:hover, .footer_info li p a:hover { color: #a16f48;;}
.footer_info li:nth-child(1):before {    content: "CONTACT";}
.footer_info li:nth-child(2):before {    content: "RELATED LINK";}

.footer_menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-around;
    justify-items: start;
}
.footer_menu a {
    background: transparent;
    border: none;
    color: #616161;
    line-height: 220%;
    margin: 0;
    padding: 0 5px;
    position: relative;
	 color: #4f4f4f;
}
.footer_menu a:hover {
    background: transparent;
    color: #c39e63;
}
.footer_menu a:after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0;
    transition: all 1s;
    left: 0;
}
.footer_menu a:hover:after {    width: 100%;}

.copy {
    padding: 10px;
    backdrop-filter: blur(20px);
    border-top: 1px #ffffff57 solid;
    margin-top: 25px;
}
.copy, .copy a {
    color: #494949;
    opacity: .5;
}


/* --- 展開的聯絡鏈結面板 --- */
.info_fix_links {
    display: flex !important;
    position: absolute;
    right: 0;
    padding: 8px 15px;
    /* background: #bca89500; */
    border-radius: 30px;
    width: fit-content;
    flex-direction: row;
    opacity: 0;
    pointer-events: none;
    transform: scaleX(0.8);
    transform-origin: right center;
    transition: all 0.6s cubic-bezier(0.73, 0.08, 0.11, 0.99);
    /* box-shadow: 0 4px 15px rgba(0,0,0,0.15); */
}



.info_fix_links a:nth-of-type(3) .fa-phone-volume::before { 
	content: "";
    display: block;
    background-image: url(https://pic03.eapple.com.tw/scottcstudio/call-2.svg);
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(100);}

/* --- 主按鈕 (燈泡圖示圓圈) --- */
.linksBtn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
    background: #415B61;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
    position: relative; 
   animation: pulse-and-shine 3s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

/* --- 觸發展開效果 (Hover) --- */
.info_fix:hover .info_fix_links {
    opacity: 1;
    pointer-events: auto;
    right: 50px; 
     animation: panel-pulse 0.85s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
/* 縮放+閃光動畫 */
@keyframes pulse-and-shine {
  0% { transform: scale(1); }
    50% { transform: scale(1.08); } /* 緩慢放大到一半時間 */
    100% { transform: scale(1); }    /* 再緩慢縮回 */
}


@keyframes panel-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); } 
    100% { transform: scale(1); }
}
@keyframes scale-once {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); } 
}
.info_fix:hover .linksBtn {
    background: #ac9d90; 
    animation: none; 
    transform: rotate(15deg) scale(1.1); 
}



/* --- 個別社群按鈕 --- */
.info_fix_links a {
    color: #fff;
    margin: 0 8px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    position: relative;
}

.info_fix_links a:hover {
    background: #81705c;
    transform: translateY(-3px);
}
.info_fix_default info_fix_tel2{display:none;}
/* --- Tooltip 提示文字 --- */
.info_fix_default::before {
    content: attr(data-label);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 4px 10px;
    background: #c6b6a6;
    color: #fff;
    font-size: 11px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.info_fix_default:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- 社群顏色設定 --- */
.info_fix_fb:hover { color: #eee4db; }
.info_fix_line:hover { color: #eee4db;}
.info_fix_ig:hover { color: #eee4db; }
.info_fix_tel:hover { color: #eee4db; }
.info_fix_mail:hover { color: #eee4db; }


