@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n)

*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/


/*上方選單右邊設定 臉書/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}
*/


/*電腦LOGO
.nav-brand {}
*/

/*手機LOGO
.nav-brand-m {}
*/

/* 商品下拉超過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個--結束 */


/* ========================================
   全站變數
======================================== */
:root{
    /* 色票：奶油白／淺奶茶／暖奶茶／霧金棕／深咖啡 */
    --qy_cream:#f8f5f0;
    --qy_milk_light:#e9ded0;
    --qy_milk:#c8ae91;
    --qy_gold:#a78961;
    --qy_ink:#473d34;
}


/* ========================================
   大圖
======================================== */

/* 初始：模糊＋透明 */
.swiper-banner .swiper-slide img {
    width: 100%;
    height: auto;
    filter: blur(12px);
    opacity: 0;
    transform: scale(1.03);  /* 微縮放讓模糊更自然 */
    transition: 
        filter 1.2s ease,
        opacity 1.2s ease,
        transform 1.2s ease;
}

/* 進場的 active 圖片：清晰＋淡入 */
.swiper-banner .swiper-slide.swiper-slide-active img {
    filter: blur(0px);
    opacity: 1;
    transform: scale(1);
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = = = = = */


/* =========================================
   1. 動畫設定
========================================= */

/* 第一層：由下淡入 */
@keyframes bannerLayerIn1 {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 第二層：淡入＋輕微放大 */
@keyframes bannerLayerIn2 {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =========================================
   2. Banner 基本設定
========================================= */

.pageIndex .swiper-wrapper .swiper-slide {
    position: relative;
    overflow: hidden;
}

/* PNG 圖層共用設定 */
.pageIndex .swiper-wrapper .swiper-slide::before,
.pageIndex .swiper-wrapper .swiper-slide::after {
    content: "";
    display: block;
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;

    opacity: 0;
    z-index: 5;

    pointer-events: none;
    will-change: opacity, transform;
}


/* =========================================
   3. 第一張輪播 Banner
========================================= */

/* 第一層 text1-1.png */
.pageIndex .swiper-wrapper .swiper-slide:nth-child(1)::before {
    background-image: url("https://pic03.eapple.com.tw/udllab/text1-1.png");
}

/* 第二層 text1-2.png */
.pageIndex .swiper-wrapper .swiper-slide:nth-child(1)::after {
    background-image: url("https://pic03.eapple.com.tw/udllab/text1-2.png");
}


/* =========================================
   4. 第二張輪播 Banner
========================================= */

/* 第一層 text2-1.png */
.pageIndex .swiper-wrapper .swiper-slide:nth-child(2)::before {
    background-image: url("https://pic03.eapple.com.tw/udllab/text2-1.png");
}

/* 第二層 text2-2.png */
.pageIndex .swiper-wrapper .swiper-slide:nth-child(2)::after {
    background-image: url("https://pic03.eapple.com.tw/udllab/text2-2.png");
}


/* =========================================
   5. Swiper 輪播動畫觸發
========================================= */

/* 第一層先出現 */
.pageIndex .swiper-wrapper .swiper-slide-active::before {
    animation: bannerLayerIn1 1.3s ease-out 0.2s both;
}

/* 第二層延遲出現 */
.pageIndex .swiper-wrapper .swiper-slide-active::after {
    animation: bannerLayerIn2 1.5s ease-out 0.8s both;
}


/* =========================================
   6. RWD 等比例顯示
========================================= */

@media screen and (max-width: 1440px) {
    .pageIndex .swiper-wrapper .swiper-slide::before,
    .pageIndex .swiper-wrapper .swiper-slide::after {
        background-size: 100% 100%;
    }
}

@media screen and (max-width: 1024px) {
    .pageIndex .swiper-wrapper .swiper-slide::before,
    .pageIndex .swiper-wrapper .swiper-slide::after {
        background-position: center center;
    }
}

@media screen and (max-width: 768px) {
    .bannerindex {
        padding: 0;
        margin: 0;
    }

    .pageIndex .swiper-wrapper .swiper-slide::before,
    .pageIndex .swiper-wrapper .swiper-slide::after {
        width: 100%;
        height: 100%;
        background-size: 100% 100%;
    }
}

@media screen and (max-width: 600px) {
    .pageIndex .swiper-wrapper .swiper-slide::before,
    .pageIndex .swiper-wrapper .swiper-slide::after {
        background-position: center center;
    }
}

@media screen and (max-width: 360px) {
    .pageIndex .swiper-wrapper .swiper-slide::before,
    .pageIndex .swiper-wrapper .swiper-slide::after {
        background-size: 100% 100%;
    }
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = = = = = */

/* ========================================
   Header
======================================== */
/* Header 用比全站更亮的暖白，疊在大圖上不發灰也不偏黃（只在 Header 範圍內覆蓋，Footer 等其他區塊不受影響） */
.header_area{
    --qy_cream:#fcfaf6;
    padding:0;
    background:var(--qy_cream);
    transition:box-shadow .6s cubic-bezier(.7,0,.2,1);
}
/* 實色底板：下拉時由中間往左右展開（放 ::before，避免影響手機選單） */
.header_area::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:#F6F9FA;
    transform:scaleX(0);
    transform-origin:center;
    transition:transform .8s cubic-bezier(.7,0,.2,1);
}
/* 底部細線 */
.header_area::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:0;
    width:100%;
    height:1px;
    background:var(--qy_milk_light);
    transform:translateX(-50%);
    transition:width .9s cubic-bezier(.7,0,.2,1) .15s;
}
.header_area.sticky{
    background:var(--qy_cream);
    box-shadow:0 6px 24px rgba(71,61,52,.1);
}
.header_area.sticky::before{
    transform:scaleX(1);
}

/* 首頁：下拉前疊在大圖上，用暖白當底（透明度低，背後的灰綠天空不會透出來） */
.pageIndex .header_area{
    position:fixed;
    top:0;
    left:0;
    background:rgb(255 255 255 / 30%);
    backdrop-filter: blur(10px);
}
.pageIndex .header_area::after{
    width:0;
    background:rgb(84 181 208 / 30%);
}
/* 首頁下拉後：實色展開＋金線畫出＋高度縮小 */
.pageIndex .header_area.sticky{
    background:#F6F9FA;
}
.pageIndex .header_area.sticky::after{
    width:100%;
}
.pageIndex .header_area.sticky .navigation{
    padding:12px 0;
}
.pageIndex .header_area.sticky .nav-brand img{
    height:48px;
}

/* === 版面 === */
.main_header_area .container{
    max-width:88%;
    padding:0 30px;
}
.navigation{
    grid-template-columns:auto 1fr;
    align-items:center;
    gap:0 40px;
    padding:14px 0;
    transition:padding .6s cubic-bezier(.7,0,.2,1);
}

/* === Logo === */
/* Logo 只佔一列，讓選單和 Logo 垂直置中 */
.nav-header{
    grid-row:1;
    max-width:none;
    width:auto;
}
.nav-brand img{
    display:block;
    width:auto;
    height:60px;
    transition:opacity .4s,height .6s cubic-bezier(.7,0,.2,1);
}
.nav-brand:hover img{
    opacity:.75;
}

/* === 社群按鈕 === */
/* Header 不顯示社群按鈕（Footer 已有） */
.me_tp_features{
    display:none;
}

/* === 主選單 === */
/* 手機切回桌機時 JS 會在 ul 留下 inline display:block，需用 !important 蓋過 */
.stellarnav.desktop > ul{
    display:flex !important;
    justify-content:flex-end;
    align-items:center;
    flex-wrap:wrap;
}
.stellarnav.desktop > ul > li{
    position:relative;
    padding:12px 0;
}

/* 模板結構：a 裡有兩個 <b>（中文、英文），hover 時往上翻 40px 換成英文 */
.stellarnav.desktop > ul > li > a:not(.dd-toggle){
    height:40px;
    margin:0;
    padding:0 32px;

    font-size:15px;
    font-weight:700;
    letter-spacing:.12em;
    line-height:40px;
    color:#405A68;

    /* 只裁上下，讓較長的英文可以超出左右，項目寬度只跟中文走 */
    overflow:visible;
    clip-path:inset(0 -80px);
}

.stellarnav li.has-sub > a:after {
    display: none;
}


/* === 聯絡我們按鈕 === */
/* 依賴後台選單順序：最後一項（目前是「聯絡我們」）做成按鈕，順序變動要確認 */
.stellarnav.desktop > ul > li:last-child{
    margin-left:24px;
    padding:9px 0;
}

.stellarnav.desktop > ul > li:last-child::before{
    content: "";
    display: block;
    width: 1px;
    height: 20px;
    background-color: rgb(84 181 208 / 30%);
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translate(0, -50%);
}

.stellarnav.desktop > ul > li:last-child > a:not(.dd-toggle){
    display:block;
    height:46px;
    padding:0 32px;
    border-radius:30px;
    background:#168B45;
    font-weight:700;
    line-height:46px;
    color:#fff;

    overflow:hidden;
    clip-path:none;
    transition:box-shadow .5s cubic-bezier(.7,0,.2,1),transform .5s cubic-bezier(.7,0,.2,1);
}
.stellarnav.desktop > ul > li:last-child > a:not(.dd-toggle) b{
    height:46px;
    line-height:46px;
}
/* 按鈕不翻英文：隱藏英文、中文不位移 */
.stellarnav.desktop > ul > li:last-child > a:not(.dd-toggle) b + b{
    color:#fff;
}

/* hover：霧金棕由下往上填滿、按鈕微浮（同 Footer 社群按鈕） */
.stellarnav.desktop > ul > li:last-child:hover > a:not(.dd-toggle){
    box-shadow:inset 0 -46px 0 0 #285B48;
    transform:translateY(-2px);
}
/*.stellarnav.desktop > ul > li:last-child::before,
.stellarnav.desktop > ul > li:last-child::after{
    display:none;
}*/

/* 模板把 <b> 設成 normal，粗體要寫在 b 上才有效 */
.stellarnav.desktop > ul > li > a:not(.dd-toggle) b{
    height:40px;
    font-weight:700;
    line-height:40px;
    transition:transform .6s cubic-bezier(.7,0,.2,1);
}
/* 英文：金色、小字、置中疊在中文正下方 */
.stellarnav.desktop > ul > li > a:not(.dd-toggle) b + b{
    position:absolute;
    top:40px;
    left:50%;
    width:max-content;

    font-family:Georgia,"Times New Roman",serif;
    font-size:12px;
    font-weight:400;
    letter-spacing:.12em;
    color:#168B45;

    transform:translateX(-50%);
}
.stellarnav.desktop > ul > li:hover > a:not(.dd-toggle) b{
    transform:translateY(-40px);
}
.stellarnav.desktop > ul > li:hover > a:not(.dd-toggle) b + b{
    transform:translate(-50%,-40px);
}

/* === 下拉選單 === */
.stellarnav.desktop ul ul{
    width:200px;
    padding:10px 0;
    background:#ffffff;
    border-top:1px solid rgb(84 181 208 / 30%);
    box-shadow:0 18px 40px rgba(71,61,52,.12);
    animation:qy_dropdown .45s cubic-bezier(.7,0,.2,1);
}
.stellarnav.desktop ul ul ul{
    left:200px;
    top:-11px;
}
.stellarnav.desktop li.drop-left ul ul{
    right:200px;
}
.stellarnav.desktop li li{
    border:0;
}
.stellarnav.desktop li li > a,
.stellarnav.desktop li li.has-sub > a{
    position:relative;
    padding:10px 24px;

    font-size:14px;
    letter-spacing:.1em;
    color:var(--qy_ink);
    background:transparent;
    transition:padding .45s cubic-bezier(.7,0,.2,1),color .45s;
}
/* 左側細線滑入 */
.stellarnav.desktop li li > a::before{
    content:"";
    position:absolute;
    top:50%;
    left:24px;
    width:0;
    height:1px;
    background:var(--qy_gold);
    transition:width .45s cubic-bezier(.7,0,.2,1);
}
.stellarnav.desktop li li:hover > a,
.stellarnav.desktop li li > a:hover{
    padding-left:44px;
    color:var(--qy_gold);
    background:transparent;
}
.stellarnav.desktop li li:hover > a::before{
    width:12px;
}
.stellarnav.desktop li li.has-sub > a::after{
    border-left-color:var(--qy_milk);
}

@keyframes qy_dropdown{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* === 手機選單 === */
.bodyMobile .navigation{
    align-items:center;
    padding:10px 0;
}
/* 漢堡鈕回到 flex 排版，和 Logo 垂直置中 */
.stellarnav.mobile{
    position:static;
}

/* === 漢堡鈕 === */
.stellarnav.mobile .menu-toggle{
    width:44px;
    height:44px;
    padding:0;
}
.stellarnav.mobile .menu-toggle:after{
    display:none;
}
.stellarnav.mobile .menu-toggle span.bars{
    top:0;
}
/* 三條不等長細線，右側對齊 */
.stellarnav.mobile .menu-toggle span.bars span{
    width:26px;
    height:1.5px;
    margin:0 0 7px auto;
    background:var(--qy_ink);
    transition:width .45s cubic-bezier(.7,0,.2,1),background .3s;
}
.stellarnav.mobile .menu-toggle span.bars span:nth-child(2){
    width:18px;
    background:var(--qy_gold);
    transition-delay:.06s;
}
.stellarnav.mobile .menu-toggle span.bars span:last-child{
    width:10px;
    margin-bottom:0;
    transition-delay:.12s;
}
/* hover：三條線依序錯開、長短互換，並轉成霧金棕 */
.stellarnav.mobile .menu-toggle:hover span.bars span{
    width:12px;
    background:var(--qy_gold);
}
.stellarnav.mobile .menu-toggle:hover span.bars span:nth-child(2){
    width:26px;
}
.stellarnav.mobile .menu-toggle:hover span.bars span:last-child{
    width:20px;
}

/* === 手機選單面板（左側滑出、深色） === */
.stellarnav.mobile.left-fade > ul{
    width:85%;
    max-width:320px;
    padding:0 0 60px;
    background:var(--qy_ink);
    border:0;
    /* 第一層陰影當作右側頁面的暗色遮罩 */
    box-shadow:0 0 0 100vmax rgba(43,36,30,.45),10px 0 40px rgba(0,0,0,.25);
    counter-reset:qy_menu;
}
/* 面板上方 Logo（HTML 無法加，用背景圖；換 Logo 時要同步改網址） */
.stellarnav.mobile.left-fade > ul::before{
    content:"";
    display:block;
    height:76px;
    margin:0 24px 16px;
    border-bottom:1px solid rgba(248,245,240,.12);
    background:url(https://www.workband.com.tw/store_image/qiyi2025/G179482347249.webp) left center / auto 42px no-repeat;
    filter:brightness(0) invert(1);
    opacity:.95;
}
/* 下方大型 Logo 浮水印，填補空白 */
.stellarnav.mobile.left-fade > ul::after{
    content:"";
    position:absolute;
    right:-30px;
    bottom:40px;
    width:240px;
    height:120px;
    background:url(https://www.workband.com.tw/store_image/qiyi2025/G179482347249.webp) right center / contain no-repeat;
    filter:brightness(0) invert(1);
    opacity:.05;
    pointer-events:none;
}

/* === 關閉鈕 === */
.stellarnav.mobile.left-fade .close-menu{
    position:absolute;
    top:16px;
    right:24px;
    display:flex;
    justify-content:center;
    align-items:center;
    width:44px;
    height:44px;
    padding:0;
    border:1px solid rgba(200,174,145,.5);
    border-radius:50%;
    background:transparent;

    /* 隱藏 Close 文字，只留叉叉 */
    font-size:0;
    color:transparent;
    letter-spacing:0;
    transition:background .4s,border-color .4s;
}
.stellarnav.mobile .icon-close{
    width:16px;
    height:16px;
    transition:transform .5s cubic-bezier(.7,0,.2,1);
}
.stellarnav.mobile .icon-close:before,
.stellarnav.mobile .icon-close:after{
    left:0;
    width:16px;
    border-bottom:1.5px solid var(--qy_cream);
}
.stellarnav.mobile.left-fade .close-menu:hover{
    background:var(--qy_gold);
    border-color:var(--qy_gold);
}
.stellarnav.mobile.left-fade .close-menu:hover .icon-close{
    transform:rotate(90deg);
}

/* === 選單項目 === */
.stellarnav.mobile > ul > li{
    margin:0 24px;
    padding:0;
    border-bottom:1px solid rgba(248,245,240,.12);
    counter-increment:qy_menu;
}
/* 打開時由下往上依序淡入 */
.stellarnav.mobile.active > ul > li{
    animation:qy_menu_in .6s cubic-bezier(.7,0,.2,1) both;
}
.stellarnav.mobile.active > ul > li:nth-of-type(1){ animation-delay:.08s; }
.stellarnav.mobile.active > ul > li:nth-of-type(2){ animation-delay:.14s; }
.stellarnav.mobile.active > ul > li:nth-of-type(3){ animation-delay:.2s; }
.stellarnav.mobile.active > ul > li:nth-of-type(4){ animation-delay:.26s; }
.stellarnav.mobile.active > ul > li:nth-of-type(5){ animation-delay:.32s; }
.stellarnav.mobile.active > ul > li:nth-of-type(6){ animation-delay:.38s; }
@keyframes qy_menu_in{
    from{
        opacity:0;
        transform:translateY(16px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
.stellarnav.mobile li a{
    border-bottom:0;
}
.stellarnav.mobile > ul > li > a:not(.dd-toggle){
    position:relative;
    margin:0;
    padding:18px 32px 18px 40px;
    color:var(--qy_cream);
}
/* 左側編號 01、02… */
.stellarnav.mobile > ul > li > a:not(.dd-toggle)::before{
    content:counter(qy_menu,decimal-leading-zero);
    position:absolute;
    top:21px;
    left:0;

    font-family:Georgia,"Times New Roman",serif;
    font-size:12px;
    letter-spacing:.05em;
    color:var(--qy_gold);
}
/* 右側細箭頭 */
.stellarnav.mobile > ul > li:not(.has-sub) > a:not(.dd-toggle)::after{
    content:"";
    position:absolute;
    top:50%;
    right:6px;
    width:8px;
    height:8px;
    border-top:1.5px solid var(--qy_milk);
    border-right:1.5px solid var(--qy_milk);
    transform:translateY(-50%) rotate(45deg);
    transition:right .4s cubic-bezier(.7,0,.2,1),border-color .4s;
}
/* 中文在上、英文小字在下 */
.stellarnav.mobile > ul > li > a:not(.dd-toggle) b{
    display:block;

    font-size:16px;
    font-weight:700;
    letter-spacing:.12em;
    transition:color .3s;
}
.stellarnav.mobile > ul > li > a:not(.dd-toggle) b + b{
    margin-top:4px;

    font-family:Georgia,"Times New Roman",serif;
    font-size:10px;
    font-weight:400;
    letter-spacing:.18em;
    color:var(--qy_milk);
    word-break:normal;
}
/* 點按：文字變金、箭頭右移 */
.stellarnav.mobile > ul > li > a:not(.dd-toggle):hover b:first-child,
.stellarnav.mobile > ul > li.open > a:not(.dd-toggle) b:first-child{
    color:var(--qy_milk);
}
.stellarnav.mobile > ul > li:not(.has-sub) > a:not(.dd-toggle):hover::after{
    right:0;
    border-color:var(--qy_gold);
}

/* === 手機選單：聯絡我們按鈕（最後一項） === */
.stellarnav.mobile > ul > li:last-child{
    margin:32px 24px 0;
    border-bottom:0;
}
.stellarnav.mobile > ul > li:last-child > a:not(.dd-toggle){
    padding:15px 20px;
    border-radius:3px;
    background:var(--qy_gold);
    text-align:center;
    color:#fff;
    transition:background .4s;
}
.stellarnav.mobile > ul > li:last-child > a:not(.dd-toggle):hover{
    background:var(--qy_milk);
}
.stellarnav.mobile > ul > li:last-child > a:not(.dd-toggle)::before,
.stellarnav.mobile > ul > li:last-child > a:not(.dd-toggle)::after{
    display:none;
}
.stellarnav.mobile > ul > li:last-child > a:not(.dd-toggle) b:first-child{
    color:#fff;
}
.stellarnav.mobile > ul > li:last-child > a:not(.dd-toggle) b + b{
    color:rgba(255,255,255,.8);
}

/* 選單打開時，隱藏右下浮動按鈕與 TOP，避免蓋在選單上 */
body:has(.stellarnav.mobile.active) .info_fix,
body:has(.stellarnav.mobile.active) #to_top{
    display:none !important;
}

/* === 子選單 === */
.stellarnav.mobile ul ul{
    background:rgba(233,222,208,.5);
}
.stellarnav.mobile li li > a:not(.dd-toggle){
    padding:12px 24px 12px 44px;
    font-size:14px;
    color:var(--qy_ink);
}
.stellarnav.mobile a.dd-toggle .icon-plus:before,
.stellarnav.mobile a.dd-toggle .icon-plus:after{
    border-bottom-color:var(--qy_gold);
}


/* ========================================
   Header RWD
======================================== */
@media screen and (max-width:1024px){
    /* 平板：蓋掉模板的直排，維持 Logo 左、選單右 */
    .navigation{
        display:grid;
        grid-template-columns:auto 1fr;
        align-items:center;
        gap:0 30px;
        padding:12px 0;
    }
    .stellarnav.desktop > ul > li > a:not(.dd-toggle){
        padding:0 22px;
        font-size:14px;
    }
    .stellarnav.desktop > ul > li:hover::before,
    .stellarnav.desktop > ul > li.active::before{
        width:calc(100% - 44px);
    }
    .nav-brand img{
        height:54px;
    }
}
@media screen and (max-width:768px){
    /* 手機：首頁 Header 不疊在大圖上，改實色、不縮高度 */
    .pageIndex .header_area,
    .pageIndex .header_area.sticky{
        position:sticky;
        background:var(--qy_cream);
    }
    .pageIndex .header_area::after{
        width:100%;
        background:rgb(84 181 208 / 30%);
    }
    .pageIndex .header_area.sticky .navigation{
        padding:10px 0;
    }
    .main_header_area .container{
        padding:0 16px;
    }
    .bodyMobile .navigation{
        display:flex;
        flex-direction:row;
        justify-content:space-between;
    }
    .nav-brand img,
    .pageIndex .header_area.sticky .nav-brand img{
        height:46px;
    }
}
@media screen and (max-width:425px){
    .nav-brand img,
    .pageIndex .header_area.sticky .nav-brand img{
        height:40px;
    }
    .stellarnav.mobile .menu-toggle{
        width:40px;
        height:40px;
    }
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 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) {
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設解除背景輪播*/
#content_main { margin:0;}
.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;}
}


/* ========================================
   首頁大圖輪播
======================================== */
/* === 切換按鈕：點點改成橫線 === */
/* 可點範圍 16px 高，畫面上只顯示中間 3px 的線；白線加淡陰影，壓在照片上也看得清楚 */
.bannerindex .swiper-pagination-bullet{
    width:32px;
    height:16px;
    margin:0 4px;
    border-radius:0;
    background:linear-gradient(#fff,#fff) center / 100% 3px no-repeat;
    filter:drop-shadow(0 1px 2px rgba(80, 80, 80, 0.35));
    opacity:.7;
    transition:width .5s cubic-bezier(.7,0,.2,1),opacity .4s;
}
/* 目前這張：拉長、換霧金棕 */
.bannerindex .swiper-pagination-bullet-active{
    width:56px;
    background-image:linear-gradient(#168B45,#6CB029);
    opacity:1;
}
.bannerindex .swiper-pagination-bullet:hover{
    opacity:.7;
}
.bannerindex .swiper-pagination-bullet-active:hover{
    opacity:1;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*內頁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; } 取消連結被點擊效果
*/


/* ========================================
   Footer
======================================== */

/* === Footer 版面 === */

.footer {    padding: 50px 0 0;    background: #168b45; border-top: 1px solid #e4e4e4; border:none;}
.footer .center {   max-width: 80%;}
.footer_info {
    grid-template-columns: 1fr 300px;
    padding: 0;
    justify-items: end;
}

/* 深色底上 Logo 轉白 */
.footer_logo {    order: 2; max-width: 250px;}

.footer_logo img{
    display:block;
    filter:brightness(0) invert(1);
    opacity:.92;
    transition:opacity .4s;
}
.footer_logo a:hover img{
    opacity:1;
}

/* === Footer 社群 === */
.box_link {
    flex-direction: row;
    max-width: 100%;
    position: relative;
    order: 2;
    justify-content: flex-start;
    display: none;
}
.box_link a {
    border: none;
    background: transparent;
    font-size: 15px;
}

/* === Footer 聯絡資訊＋選單 === */
.footer_info ul {    display: flex;    flex-direction: column-reverse;}
.footer_info li:nth-child(2) {    padding-left: 0;      padding-bottom: 30px; }
.footer_info li p, .footer_info li p a { font-weight: 600; color: #ffffff;  line-height: 2em;}

/* 欄位小標：依賴後台順序（第 1 欄聯絡資訊、第 2 欄選單），順序變動要一起改 */


/* === Footer 選單 === */
.footer_info li:nth-child(1){ display: flex; flex-direction: column; color: #444444;}

.footer_menu a {
    background: transparent;
    border: none;    
    margin: 0 9px;
    transition: all .3s;
    position: relative;
    font-weight: 800;
	font-size: 15px;
    color: #ffffff;
}
.footer ul > li:first-child p a:hover {
    color: #F1D46B;
}

.footer_info li p.add::before {
    content: "地址 ｜";
}
.footer_info li p.mail::before {
    content: "信箱 ｜";
}
.footer_info li p.tel::before {
    content: "電話 ｜";
}
.footer_info li p.phone:before {
    content: "手機 ｜";
}
.footer_info li p.line::before {
    content: "Line ID ｜";
}

.footer_menu a:nth-child(1){ display:none;}
.footer_menu a:nth-child(2){ margin: 0px 9px 0px 0px;}
.footer_menu a:hover {
    background: transparent;
    color: #F1D46B;
}

/* === Copyright === */
.copy {
    margin-top: 34px;
    font-size: 11px;
    padding: 20px;
	color: #EAF4ED;
	border-top: 1px rgb(84 181 208 / 30%) solid;
}
.copy a {
    color: #EAF4ED;
    font-size: 11px;
}
.copy a:hover {
    color: #F1D46B;
}
.total_view {
    color: #EAF4ED;
    font-size: 11px;
}

/* ========================================
   Footer RWD
======================================== */
@media screen and (max-width: 768px) {

.footer_info {    grid-template-columns: 1fr;    justify-items: center;}
.footer_info ul {    order: 2;}
.footer_info li:nth-child(1) {
    padding: 20px 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.footer_info li:nth-child(2) {    text-align: center;}
.footer_logo{ max-width: 170px;}
.footer_info li:nth-child(1):after{ font-size: 17px;}
.footer_menu a {  font-weight: 400;margin: 3px 9px;}
.footer_info li+li {  margin-top: 30px; }
.copy {  margin-top: 10px;}

}


@media (max-width:750px) {

    .footer_info {    grid-template-columns: 1fr;    justify-items: center;}
    .footer_info li:nth-child(1) {
    order: 1;
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0; gap: 2px;}
	    
        
}
@media (max-width:450px) {
.footer_info li p, .footer_info li p a { font-size: 12px;}
.footer_info li:nth-child(1):before{ font-size: 12px;}
.footer_menu a {  margin: 3px 9px;  font-weight: 400; font-size: 13px;}
.copy a, .copy  { font-size: 8px;}
.total_view {  font-size: 8px;}
}


/* ========================================
   回到頂部按鈕
======================================== */
/* 電腦版：和右側浮動按鈕同款（貼齊右側、56px 方形、深咖啡底、頂端金線） */
#to_top{
    left:auto;
    right:0;
    bottom:24px;
    width:56px;
    height:56px;
    padding-top:14px;
    border-top:3px solid#168B45;
    border-radius:4px 0 0 4px;
    background:#F6F9FA;
    box-shadow:-6px 10px 30px rgba(43,36,30,.25);

    font-size:9px;
    font-weight:700;
    letter-spacing:.15em;
    line-height:1;
    color:#405A68;

    transition:background .35s,color .35s;
}
/* 箭頭 */
#to_top i.top{
    width:16px;
    height:10px;
    margin-bottom:5px;
    transition:transform .4s cubic-bezier(.7,0,.2,1);
}
#to_top i.top::before,
#to_top i.top::after{
    height:10px;
    background:#405A68;
    transition:background .35s;
}
#to_top:hover{
    background:#168B45;
    color:#fff;
}
#to_top:hover i.top{
    transform:translateY(-3px);
}
#to_top:hover i.top::before,
#to_top:hover i.top::after{
    background:#fff;
}


/* ========================================
   回到頂部按鈕 RWD
======================================== */
@media screen and (max-width:768px){
    /* 手機：同款方形，縮小並避開底部按鈕列 */
    #to_top{
        bottom:68px;
        width:48px;
        height:48px;
        padding-top:11px;
    }
    #to_top i.top{
        margin-bottom:4px;
    }
}


/* ========================================
   浮動聯絡按鈕
======================================== */
/* 隱藏燈泡開關，聯絡按鈕常駐顯示 */
.info_fix .linksBtn{
    display:none !important;
}
/* 貼齊右側、垂直置中 */
.info_fix{
    top:50%;
    right:0;
    bottom:auto;
    width:auto;
    transform:translateY(-50%);
}
/* 模板會在 #info_fix_links 寫 inline display:none，需用 !important 蓋過 */
.info_fix #info_fix_links{
    display:flex !important;
}
.info_fix_links{
    position:relative;
    width:56px;
    padding:3px 0 0;
    gap:0;
    border-radius:4px 0 0 4px;
    background:#F6F9FA;
    box-shadow:-6px 10px 30px rgb(139 139 139 / 25%);
}

.info_fix_links a i {
    color: #405A68;
}

/* 頂端霧金棕細線 */
.info_fix_links::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:3px;
    border-radius:4px 0 0 0;
    background:#168B45;
}

/* === 按鈕 === */
.info_fix_links a.info_fix_default{
    position:relative;
    width:56px;
    height:56px;
    margin:0;
    border-radius:0;
    border-bottom:1px solid rgba(248,245,240,.1);
    background:transparent;
    overflow:visible;

    font-size:17px;
    color:var(--qy_cream);
    transition:background .35s,color .35s;
}
/* 不顯示 Email；IG 成為最後一顆，收底線、加圓角 */
.info_fix_links a.info_fix_mail{
    display:none;
}
.info_fix_links a.info_fix_ig{
    border-bottom:0;
    border-radius:0 0 0 4px;
}
/* 排列順序 */
.info_fix_links a.info_fix_phone{ order:1; }
.info_fix_links a.info_fix_line{ order:2; }
.info_fix_links a.info_fix_fb{ order:3; }
.info_fix_links a.info_fix_ig{ order:4; }

/* hover 時往左滑出的文字標籤 */
.info_fix_links a.info_fix_default::after{
    position:absolute;
    top:0;
    right:100%;
    height:56px;
    padding:0 18px;
    border-radius:4px 0 0 4px;
    background:#F6F9FA;

    font-size:13px;
    font-weight:700;
    letter-spacing:.15em;
    line-height:56px;
    white-space:nowrap;
    color:#fff;

    opacity:0;
    transform:translateX(12px);
    pointer-events:none;
    transition:opacity .35s,transform .45s cubic-bezier(.7,0,.2,1);
}
.info_fix_links a.info_fix_tel::after{ content:"電話"; }
.info_fix_links a.info_fix_phone::after{ content:"手機"; }
.info_fix_links a.info_fix_line::after{ content:"LINE"; }
.info_fix_links a.info_fix_fb::after{ content:"Facebook"; }
.info_fix_links a.info_fix_ig::after{ content:"Instagram"; }

.info_fix_links a.info_fix_default:hover{
    background:#F6F9FA;
}
.info_fix_links a.info_fix_default:hover::after{
    opacity:1;
    transform:translateX(0);
    color: #405A68;
}


/* ========================================
   浮動聯絡按鈕 RWD
======================================== */
@media screen and (max-width:768px){
    /* 手機已有底部按鈕列，隱藏右側浮動按鈕 */
    .info_fix{
        display:none !important;
    }
}


/* ========================================
   手機底部按鈕列
======================================== */
/* 模板只在 768px 以下顯示 #bottom_menu */
#bottom_menu{
    background:var(--qy_ink);
    border-top:2px solid var(--qy_gold);
    box-shadow:0 -6px 20px rgba(43,36,30,.18);
}
#bottom_menu li{
    border-right:1px solid rgba(248,245,240,.1);
}
#bottom_menu li:last-child{
    border-right:0;
}
#bottom_menu li a{
    padding:9px 4px 7px;
    color:var(--qy_cream);
    transition:background .3s;
}
#bottom_menu li a i{
    margin-bottom:2px;
    font-size:17px;
    color:var(--qy_milk);
    transition:transform .3s cubic-bezier(.7,0,.2,1),color .3s;
}
#bottom_menu li a em{
    font-size:11px;
    letter-spacing:.12em;
}
/* 點按回饋：底色變亮、圖示上跳 */
#bottom_menu li a:active{
    background:rgba(167,137,97,.25);
}
#bottom_menu li a:active i{
    color:#fff;
    transform:translateY(-3px);
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {}
/* 只留底部空間給下方按鈕，上方距離交給 Footer RWD */
.footer.with_shopping_mode { padding-bottom:70px; }
}

@media screen and (max-width: 600px) {
}