@charset "utf-8";


/*反白顏色*/
::-moz-selection{  background-color: #8C6A3C;  color: #fff;}
::selection{  background-color: #8C6A3C;  color: #fff;}

:root {
    --MainColor: #D4AF37;  
    --SubColor: #F7F4EF; 
    --AccentColor: #8C6A3C;
    --FontColor: #2C2218; 
    --FontSubColor: #7A6D63;  
    --BgColor: #EEE7DC; 
    --LogoColor: #f9c256; 
    --LogoSubColor: #3e3a39; 
    --LogoEnColor: #231815; 

    /* 字體設定 */
    --SFontEN: 'Montserrat', sans-serif; 
    --SFontTitle: 'Noto Serif TC', serif;  
    --SFont: 'Noto Sans TC', sans-serif; 
    --FontTitleEN: 'Cinzel', serif; 

    /* 字級設定 */
    --f75: clamp(48px, 5.2vw, 75px);
    --f54: clamp(36px, 3.75vw, 54px);
    --f48: clamp(32px, 3.33vw, 48px);
    --f42: clamp(28px, 2.9vw, 42px);
    --f40: clamp(26px, 2.78vw, 40px);
    --f36: clamp(24px, 2.5vw, 36px);
    --f32: clamp(22px, 2.22vw, 32px);
    --f30: clamp(20px, 2.08vw, 30px);
    --f28: clamp(18px, 1.94vw, 28px);
    --f24: clamp(16px, 1.67vw, 24px);
    --f22: clamp(15px, 1.53vw, 22px);
    --f20: clamp(14px, 1.39vw, 20px);
    --f18: clamp(14px, 1.25vw, 18px);
    --f17: clamp(13px, 1.18vw, 17px);
    --f16: clamp(12px, 1.11vw, 16px);

    --pd80: clamp(40px, 5vw + 1rem, 80px); 
    --pd100: clamp(50px, 7vw + 1rem, 100px);
    --pd180: min(max(13vw, 50px), 180px);
    --pd200: min(max(14vw, 60px), 200px);

    --header-transition: background 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                        backdrop-filter 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                        -webkit-backdrop-filter 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-smooth: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-ease: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}


* {font-family: var(--SFont);}
body {
    background: var(--BgColor);
    background-image: url(https://pic03.eapple.com.tw/keyskilltree/bg.jpg);
    letter-spacing: 0.1rem;
    font-size: var(--f16);
    color: var(--FontColor);
}
.main_part {
    width: 95%;
    max-width: 1600px;
    padding: var(--pd80) 20px;
}

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}
CSS3選取器語法 :nth-child(n) 
*/

/*★★★卷軸設定↓↓↓↓↓↓↓↓↓↓↓↓*/
/* 捲軸寬度及高度 */
::-webkit-scrollbar {
    background: #F7F4EF;
    width: 7px;
}

::-webkit-scrollbar-button {
    display: none;
    background: #F7F4EF;
    border-radius: 0;
}
::-webkit-scrollbar-track-piece {    background: #F7F4EF;}

/* 滑桿顏色 */
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #8C6A3C;
}

/* 滑桿滑鼠滑入時的顏色 */
::-webkit-scrollbar-thumb:hover {    background: var(--MainColor); }

/* 軌道背景底色 */
::-webkit-scrollbar-track {    box-shadow: transparent;}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/

.header_area {
    /* position: fixed; */
    background: transparent;
    padding: 0;
    /* transition: var(--header-transition); */
    background: var(--BgColor);
}
.header_area.sticky {
    /*background: #c28b38d6;
    -webkit-backdrop-filter: blur(30px) brightness(115%);
    backdrop-filter: blur(30px) brightness(115%);*/
    background: var(--BgColor);
}
.main_header_area .container {    max-width: 1600px;}


/*
.pageIndex .header_area {
    animation: header_show 3s both;
    animation-delay: 3s;
}
@keyframes header_show {
0% {    opacity: 0;}
100% {    opacity: 1;}
}
*/


/*上方選單右邊設定 臉書/LINE/電話/信箱
.tp_links a:before {寬高大小設定}
.tp_links a.me_tp_fb {}
.tp_links a.me_tp_fb:before {背景換圖/建議.SVG}
.tp_links a.me_tp_line {}
.tp_links a.me_tp_line:before {背景換圖/建議.SVG}
.tp_links a.me_tp_call {}
.tp_links a.me_tp_call:before {背景換圖/建議.SVG}
.tp_links a.me_tp_mail {}
.tp_links a.me_tp_mail:before {背景換圖/建議.SVG}
*/
.tp_links {display: none;}
.me_tp_features {    display: none;}


/*浮動按鈕-展開*/
.info_fix_links {    display: flex !important;}
.linksBtn {    display: none;}
a.info_fix_default.info_fix_mail  {    display: none;}


.info_fix_links a{
    width: 60px;
    height: 60px;
    font-size: 18px;
    color: var(--SubColor);
    transition: filter 0.3s ease;
    background: transparent;
}
.info_fix_links a i:before {
    content: "";
    background: url(https://pic03.eapple.com.tw/keyskilltree/fri_icon-01.png) no-repeat center / contain;
    width: 60px;
    height: 60px;
    position: absolute;
    transform: translate(-50%, -50%);
}
.info_fix a.info_fix_fb .fa-facebook-f:before {
    background: url(https://pic03.eapple.com.tw/keyskilltree/fri_icon-03.png) no-repeat center / contain;
}
.info_fix a.info_fix_line .fa-line:before {
    background: url(https://pic03.eapple.com.tw/keyskilltree/fri_icon-02.png) no-repeat center / contain;
}


.info_fix a.info_fix_yt .fa-youtube:before {
    background: url(https://pic03.eapple.com.tw/keyskilltree/fri_icon-04.png) no-repeat center / contain;
}

/*電腦LOGO
.nav-brand {}
*/
.nav-header {    max-width: 80px; transition: var(--transition-ease);}

/*第一層*/
.stellarnav > ul > li:before {
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0;
    right: -8px;
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}
.stellarnav > ul > li:after {
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: -webkit-linear-gradient(top, rgba(205, 205, 205, 0) 0%, rgb(226 216 199) 100%);
    background: linear-gradient(to top, rgba(205, 205, 205, 0) 0%, rgb(226 216 199) 100%);
}


.stellarnav > ul > li > a {
    position: relative;
    transition: color 0.4s ease, text-shadow 0.4s ease;
    color: var(--FontColor);
    padding: 0 25px;
    letter-spacing: 0.1rem;
    padding-top: 65px; 
    height: fit-content;
    margin: 0;
    display: inline-block;
}
.stellarnav > ul > li:hover > a {color: var(--MainColor);}


.stellarnav > ul > li > a:before {
    content: "";
    width: 100%;
    height: 55px;
    position: absolute;
    top: 15px;
    left: 0;
    animation: magicFloat 3.5s ease-in-out infinite;
    transition: filter 0.4s ease, transform 0.4s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.stellarnav > ul > li:hover > a:before {
    transition: filter 0.4s ease, transform 0.4s ease;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.8)) 
            drop-shadow(0 0 18px rgba(194, 139, 56, 0.5))
            brightness(1.15);
    animation: magicFloatHover 2s ease-in-out infinite;
}

.stellarnav > ul > li:nth-of-type(1) > a:before {
    content: "";
    background: url(https://pic03.eapple.com.tw/keyskilltree/icon-01.png) no-repeat;
    background-size: contain;
    background-position: center;
}
.stellarnav > ul > li:nth-of-type(2) > a:before  {
    content: "";
    background: url(https://pic03.eapple.com.tw/keyskilltree/icon-02.png) no-repeat;
    background-size: contain;
    background-position: center;
}
.stellarnav > ul > li:nth-of-type(3) > a:before  {
    content: "";
    background: url(https://pic03.eapple.com.tw/keyskilltree/icon-03.png) no-repeat;
    background-size: contain;
    background-position: center;
}
.stellarnav > ul > li:nth-of-type(4) > a:before  {
    content: "";
    background: url(https://pic03.eapple.com.tw/keyskilltree/icon-04.png) no-repeat;
    background-size: contain;
    background-position: center;
}
.stellarnav > ul > li:nth-of-type(5) > a:before  {
    content: "";
    background: url(https://pic03.eapple.com.tw/keyskilltree/icon-05.png) no-repeat;
    background-size: contain;
    background-position: center;
}
.stellarnav > ul > li:nth-of-type(6) > a:before  {
    content: "";
    background: url(https://pic03.eapple.com.tw/keyskilltree/icon-06.png) no-repeat;
    background-size: contain;
    background-position: center;
}

.stellarnav > ul > li:nth-of-type(7) > a:before  {
    content: "";
    background: url(https://pic03.eapple.com.tw/keyskilltree/icon-07.png) no-repeat;
    background-size: contain;
    background-position: center;
}

/* --------------------------------------------------
    Keyframes 
-------------------------------------------------- */
@keyframes magicFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes magicFloatHover {
    0%, 100% {
        transform: translateY(-6px) scale(1.05);
    }
    50% {
        transform: translateY(-11px) scale(1.08);
    }
}


/*下拉線條箭頭
.stellarnav li.has-sub>a:after {
    position: absolute;
    top: 38%;
    right: 5px;
    height: 7px;
    width: 7px;
    display: block;
    border-style: solid;
    border-width: 0 1px 1px 0;
    border-color: transparent var(--MainColor) var(--MainColor) transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.stellarnav li.has-sub:hover  >a:after { border-color: transparent var(--MainColor) var(---MainColor) transparent; }

*/


/*第二層
.stellarnav ul ul {    background: var(--MainCOlor);}
.stellarnav li li {    border: none;}
.stellarnav li li > a, .stellarnav li li.has-sub > a {
    padding: 9px 10px;
    transition: all 0.3s;
    border-left: 1px solid transparent;
    color: var(--MainCOlor);
}
.stellarnav li li:hover > a, .stellarnav li li.has-sub:hover > a {
    color: var(--bg);
    padding-left: 15px;
    background: var(--MainCOlor);
}
*/


/*下拉第二層箭頭
.stellarnav li li.has-sub > a:after {
    position: absolute;
    top: 38%;
    right: 5px;
    height: 7px;
    width: 7px;
    display: block;
    border-style: solid;
    border-width: 0 1px 1px 0;
    border-color: transparent var(--MainCOlor) var(--MainCOlor) transparent;
    -webkit-transform: rotate(315deg);
    transform: rotate(315deg);
}
*/

/* 商品下拉超過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;}
/* 主分類超過30個但次分類直接顯示 
.stellarnav.desktop li.bigMenu>ul{grid-gap: 10px;}
.stellarnav.desktop li.bigMenu li{border: 0;}
.stellarnav.desktop li.bigMenu>ul>li>a{border: 1px solid #ddd;}
.stellarnav.desktop li.bigMenu ul ul{display: block !important; position: relative; top: 0; background: unset; border: 0;}
.stellarnav.desktop li.bigMenu ul ul li{border: 0;}
 主分類超過30個但次分類直接顯示-結束 */

/* 商品下拉超過30個--結束 */


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*footer*/
.footer {
    background: var(--MainColor);
    position: relative;
    padding-top: var(--pd100);
    background-image: url(https://pic03.eapple.com.tw/keyskilltree/footer.jpg);
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.footer_info {
    grid-template-columns: 200px 1fr;
    grid-gap: 20px 50px;
    padding-right: 60px;
}
.box_link {display: none;}

.footer_logo {
    max-width: 150px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 10px rgba(249, 194, 86, 0.7)) drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

.footer_logo > a {
    background: url(https://pic03.eapple.com.tw/keyskilltree/logo-bs.png) no-repeat;
    display: inline-block;
    width: 100%;
    height: 160px;
    background-size: contain;
    background-position: top right;
}
.footer_logo img {    display: none;}

.footer_info ul {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
}

.footer_info li:nth-child(1) {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 15px 50px;
    margin-bottom: 15px;
    border-radius: 50px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 12px rgba(212, 175, 55, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    justify-content: space-between;
}

.footer_info li:nth-child(1)::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg, 
        transparent 60%, 
        rgba(212, 175, 55, 0.3) 78%, 
        #f9c256 92%, 
        #ffffff 100%
    );
    
    z-index: -2;
    animation: barRotateLegacy 5s linear infinite;
}

.footer_info li:nth-child(1)::after {
    content: "";
    position: absolute;
    inset: 1.5px; 
    border-radius: 50px;
    
    background: linear-gradient(135deg, rgba(20, 21, 28, 0.85), rgba(10, 10, 15, 0.9));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.25),
        inset 0 -2px 8px rgba(0, 0, 0, 0.6);
        
    z-index: -1;
    transition: background 0.3s ease;
}

.footer_info li:nth-child(1):hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 28px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(249, 194, 86, 0.4),
        0 0 35px rgba(212, 175, 55, 0.2);
}

.footer_info li:nth-child(1):hover::before {    animation-duration: 2s; }

.footer_info li p, .footer_info li p a {
    color: var(--BgColor, #f5ebd9);
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.08rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-decoration: none;
}
.footer_info li p a:hover {
    color: #f9c256;
    text-shadow: 0 0 8px rgba(249, 194, 86, 0.7);
}

/* --------------------------------------------------
    footer聯絡資訊
-------------------------------------------------- */
@keyframes barRotateLegacy {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.footer_menu {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.footer_menu a:first-child {    display: none;}

@property --border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}
.footer_menu a {
    background: linear-gradient(#12131abf, #12131a) padding-box, conic-gradient(from var(--border-angle), transparent 70%, rgba(212, 175, 55, 0.3) 80%, #f9c256 95%, #ffffff 100%) border-box;
    padding: 15px 20px;
    padding-top: 90px;
    backdrop-filter: blur(8px);
    border: 1.5px solid transparent;
    border-radius: 10px;
    color: #fff;
    margin: 0;
    position: relative;
    display: inline-block;
    animation: borderRotate 4s linear infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    width: max-content;
    margin-bottom: 10px;
}
.footer_menu a:hover {
    color: var(var(--BgColor), #EEE7DC);
    transform: translateY(-10px);
    animation-duration: 1.8s; 
    box-shadow: 0 10px 25px -5px rgba(249, 194, 86, 0.3),
                0 0 15px rgba(249, 194, 86, 0.2);
    background: #f9c2569e;
    transform: translateY(-10px);
}
.footer_menu a {    border: 1px solid rgba(238, 231, 220, 0.13);}

.footer_menu a:hover:before {
    filter: drop-shadow(0 0 10px rgba(249, 194, 86, 0.8)) brightness(1.2);
}

@keyframes borderRotate {
    0% {        --border-angle: 0deg;    }
    100% {        --border-angle: 360deg;    }
}

@keyframes magicFloat {
    0%, 100% {        transform: translateY(0);    }
    50% {        transform: translateY(-6px);    }
}

.footer_menu a::after {
    content: "";
    position: absolute;
    inset: 1px; 
    background: rgba(15, 15, 20, 0.65); 
    backdrop-filter: blur(8px);
    border-radius: 9px; 
    z-index: -1; 
    transition: background 0.3s ease;
}

.footer_menu a:before {
    content: "";
    width: 100%;
    height: 60px;
    position: absolute;
    top: 20px;
    left: 0;
    animation: magicFloat 3.5s ease-in-out infinite;
    transition: filter 0.4s ease, transform 0.4s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.footer_menu a:nth-of-type(2):before {
    background: url(https://pic03.eapple.com.tw/keyskilltree/icon-01.png) no-repeat;
    background-size: contain;
    background-position: center;
}
.footer_menu a:nth-of-type(3):before  {
    background: url(https://pic03.eapple.com.tw/keyskilltree/icon-02.png) no-repeat;
    background-size: contain;
    background-position: center;
}
.footer_menu a:nth-of-type(4):before  {
    background: url(https://pic03.eapple.com.tw/keyskilltree/icon-03.png) no-repeat;
    background-size: contain;
    background-position: center;
}
.footer_menu a:nth-of-type(5):before  {
    background: url(https://pic03.eapple.com.tw/keyskilltree/icon-04.png) no-repeat;
    background-size: contain;
    background-position: center;
}
.footer_menu a:nth-of-type(6):before  {
    background: url(https://pic03.eapple.com.tw/keyskilltree/icon-05.png) no-repeat;
    background-size: contain;
    background-position: center;
}
.footer_menu a:nth-of-type(7):before  {
    background: url(https://pic03.eapple.com.tw/keyskilltree/icon-06.png) no-repeat;
    background-size: contain;
    background-position: center;
}

.footer_menu a:nth-of-type(8):before  {
    background: url(https://pic03.eapple.com.tw/keyskilltree/icon-07.png) no-repeat;
    background-size: contain;
    background-position: center;
}

.copy {
    padding: 30px 20px;
    backdrop-filter: blur(5px);
    margin: auto;
    margin-top: var(--pd80);
    border-top: 1px solid #cfdace0d;
    color: var(--MainColor);
}
.copy a {    color: var(--MainColor);}
.privacyLinks a+a {    border-left: 1px solid var(--MainColor);}


@media screen and (max-width: 1024px) {
.footer_info {
    grid-template-columns: 1fr;
    padding-left: 60px;
}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*聯絡我們*/
.contact_form li.last cite {    background: #d3af79;}



/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 by shint at 2023.1.5  */
.product_page .main_part { max-width:1500px;}
/* .product_info_page .main_part { max-width:1200px;} */

.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; letter-spacing: 1px; /*border-right: 1px solid #ccc;*/min-height: 30vw;}
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_menu_list { 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;}
@media screen and (max-width: 1200px) {
}
@media screen and (max-width: 980px) {
}
@media screen and (max-width: 768px) {
.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;}
}
@media screen and (max-width: 600px) {
}



/*相關推薦*/
.prod_related {
    --News-Bg: #F7F2EC;
    --MainColor: #4C6152;
    position: relative;
    background-color: var(--News-Bg, #f3f3f3);
    padding: var(--pd80) 20px;
    overflow: hidden;
}

.prod_related h6 span:before {
    font-size: var(--f30);
    color: var(--MainColor);
}
.related_list li a {
    background: #ffffff;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}


/* = = = 大圖-分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*預設解除背景輪播*/
#content_main { 
    margin:0;
    background: var(--BgColor);
    background-image: url(https://pic03.eapple.com.tw/keyskilltree/bg.jpg);
}
.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;}
}

/*例如大圖第一張的after:
.bannerindex .swiper-slide[data-swiper-slide-index="0"]:after
*大圖的指定名稱是從0開始，5張大圖的畫最後一張是4
[data-swiper-slide-index="0"]
[data-swiper-slide-index="1"]
[data-swiper-slide-index="2"]
[data-swiper-slide-index="3"]
[data-swiper-slide-index="4"]*/

/* .swiper-slide img { height:auto;} */


.pageIndex .bannerindex .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pageIndex .bannerindex .swiper-slide a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* --------------------------------------------------
    左側：文字 (a::before)
-------------------------------------------------- */
.pageIndex .bannerindex .swiper-slide a::before {
    content: "";
    position: absolute;
    left: clamp(30px, 12vw, 300px);
    top: 46%;
    width: clamp(180px, 33vw, 600px);
    aspect-ratio: 600 / 220;

    background-image: 
        linear-gradient(
            115deg, 
            transparent 0%, 
            transparent 35%, 
            rgba(255, 255, 255, 0.95) 48%, 
            rgba(255, 223, 138, 1) 50%, 
            rgba(255, 255, 255, 0.95) 52%, 
            transparent 65%, 
            transparent 100%
        ),
        url(https://pic03.eapple.com.tw/keyskilltree/00_cover-text.png);
    
    background-repeat: no-repeat;
    background-size: 300% 100%, contain;
    background-position: -150% 0, center;

    -webkit-mask-image: url(https://pic03.eapple.com.tw/keyskilltree/00_cover-text.png);
    mask-image: url(https://pic03.eapple.com.tw/keyskilltree/00_cover-text.png);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;

    z-index: 1001;
    pointer-events: none;
    will-change: transform, opacity, background-position, filter;

    animation: 
        textSlideIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards,
        textShine 6s ease-in-out 1.2s infinite,
        textGlow 4s ease-in-out infinite alternate;
}

/* --------------------------------------------------
    右側：三層疊加（圓、符號、鑰匙）
-------------------------------------------------- */
.pageIndex .bannerindex .swiper-slide.swiper-slide:before, .pageIndex .bannerindex .swiper-slide.swiper-slide:after, .pageIndex .bannerindex .swiper-slide a::after {
    content: "";
    position: absolute;
    right: clamp(30px, 25vw, 500px);
    top: 50%;
    width: clamp(200px, 42vw, 750px);
    aspect-ratio: 1 / 1;
    pointer-events: none;
    will-change: transform, opacity, filter;
}

/* 【中】符號 (:before)  */
.pageIndex .bannerindex .swiper-slide.swiper-slide:before {
    background-image: url('https://pic03.eapple.com.tw/keyskilltree/00_cover-icon02.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    
    z-index: 5;
    animation: pulseGlowCenter 4s ease-in-out infinite alternate;
}

/* 【下】圓 (:after)  */
.pageIndex .bannerindex .swiper-slide.swiper-slide:after {
    background-image: url('https://pic03.eapple.com.tw/keyskilltree/00_cover-run.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    
    z-index: 2;
    animation: magicRotate 25s linear infinite;
}

/* 【上】鑰匙 (a::after)  */
.pageIndex .bannerindex .swiper-slide a::after {
    background-image: url('https://pic03.eapple.com.tw/keyskilltree/00_cover-icon01.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    
    opacity: 1;
    z-index: 10;
    animation: pulseGlowTop 3.2s ease-in-out infinite alternate;
}

/* --------------------------------------------------
    動畫 Keyframes
-------------------------------------------------- */

/* 左側文字 */
@keyframes textSlideIn {
    0% {
        opacity: 0;        transform: translate(-50px, -50%);    }
    100% {        opacity: 1;        transform: translate(0, -50%);    }
}

@keyframes textShine {
    0% {        background-position: -150% 0, center;    }
    40% {        background-position: 150% 0, center;     }
    100% {        background-position: 150% 0, center;     }
}

@keyframes textGlow {
    0% {
        filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.2));
    }
    100% {
        filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.6)) 
                drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    }
}

/* 下層：圓形持續旋轉  */
@keyframes magicRotate {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* 中層：符號 */
@keyframes pulseGlowCenter {
    0% {
        transform: translateY(-50%) scale(0.96);
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3)) brightness(0.95);
    }
    100% {
        transform: translateY(-50%) scale(1.03);
        filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.7)) 
                drop-shadow(0 0 45px rgba(194, 139, 56, 0.4)) brightness(1.1);
    }
}

/* 上層：鑰匙 */
@keyframes pulseGlowTop {
    0% {
        transform: translateY(-50%) scale(0.98);
        filter: drop-shadow(0 0 12px rgba(255, 223, 138, 0.4)) brightness(1);
    }
    100% {
        transform: translateY(-50%) scale(1.04);
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8)) 
                drop-shadow(0 0 50px rgba(212, 175, 55, 0.6)) 
                drop-shadow(0 0 75px rgba(140, 106, 60, 0.3)) brightness(1.2);
    }
}

/* --------------------------------------------------
    RWD 響應式
-------------------------------------------------- */

/* 手機裝置 (≤ 768px)  */
@media (max-width: 768px) {
    .pageIndex .bannerindex .swiper-slide.swiper-slide:before, .pageIndex .bannerindex .swiper-slide.swiper-slide:after, .pageIndex .bannerindex .swiper-slide a::after {
        right: clamp(30px, 25vw, 300px);
    }
}

    @keyframes textSlideInMobile {
        0% {
            opacity: 0;
            transform: translate(-50%, -65%);
        }
        100% {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }

    @keyframes magicRotate {
        0% { transform: translate(50%, -50%) rotate(0deg); }
        100% { transform: translate(50%, -50%) rotate(360deg); }
    }
    @keyframes pulseGlowCenter {
        0% { transform: translate(50%, -50%) scale(0.95); }
        100% { transform: translate(50%, -50%) scale(1.03); }
    }
    @keyframes pulseGlowTop {
        0% { transform: translate(50%, -50%) scale(0.97); }
        100% { transform: translate(50%, -50%) scale(1.04); }
    }


/*切換鈕*/
.bannerindex {--swiper-pagination-color: var(--MainColor);}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    width: 100%;
    transform: translateY(-50%);
}
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 5px;
    width: 20px;
    height: 5px;
    border-radius: 2px;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner {}
.banner h5 {}
.banner.banA {}
.banner.banB {}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.subbox_item { width:100%;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本分類全版面 ( 限制最寬2000px
.work_page .main_part { max-width:2000px;}
.work_page .show_content { padding:0; width:100%;}
.work_page .show-list .item { width:33%; display:inline-block; float:none; margin:0; padding:0;}
@media screen and (max-width: 768px) {
.work_page .show-list .item { width:49%;}
}
@media screen and (max-width: 570px) {
.work_page .show-list .item { width:100%;}
}
.work_page .show-list .item a { max-width:100%;}
.work_page .show-list .show_pic { height:auto; line-height:0;}
.work_page .show-list .show_pic img { max-width:100%; max-height:100%;}
.work_page .show-list .show_name { position:absolute; top:50%; right:10%; width:80%; height:auto; line-height:160%; font-size: 20px; color: #FFFFFF !important; border: solid 1px #fff; text-align: center; margin: -20px 0 0 -120px; padding:5px 20px; transition:all ease-in .3s; opacity:0;}
.work_page .show-list .item:hover .show_name {opacity:1;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本列表
.work_info_page .main_part { max-width:2000px;}
.work_info_page .show_content { padding:0; width:100%;}
.work_info_page .subalbum-menu { text-align:center;}
.work_info_page .subalbum-menu h2 { float:none;}
.work_info_page .pic-list .item { margin:0; padding:10px; width:49%; float:none; display:inline-block;}
@media screen and (max-width: 768px) {
.work_info_page .pic-list .item { width:100%;}
}
.work_info_page .pic-list .show_pic { height:auto; line-height:0;}
.work_info_page .pic-list .show_pic img { max-width:100%; max-height:100%;}
.work_info_page .pic-list .item a { max-width:100%; pointer-events: none; cursor: default; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */





@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {}
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:60px;}
}

@media screen and (max-width: 600px) { 
}



@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+TC:wght@100..900&family=Noto+Serif+TC:wght@200..900&display=swap');
