@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/

/* 全域變數 */

:root {
    /* 顏色 */
    --main-color: #E8DED2;
    --sub1-color: color-mix(in srgb, var(--main-color) 75%, black);
    --sub2-color: color-mix(in srgb, var(--main-color) 25%, white);
    --sub3-color: color-mix(in srgb, var(--main-color) 3%, white);
    --ac-color: #1F1A17;
    --f1-color: #B9B1A8;
    --f2-color: #918A7F;
    --f3-color: #f6f6f6;
    --f4-color: #EFE6D8;
    --bg-color: white;

    /* 字型 */
    --font: "Noto Serif CJK TC", sans-serif;
    --sfont: "Noto Serif CJK TC","Cinzel", sans-serif;

    /*變化*/
    --tr: ease-out 0.5s;
    /*圓角*/
    --br: 0px;
}


/* 文字設定 */

body {
    letter-spacing: .15rem;
    font: normal 16px/1.5 var(--font);
    color: var(--ac-color);
}

/* 填空欄提示字 */
input::placeholder {
    letter-spacing: .15rem;
    font: normal 14px/1.5 var(--font);
    color: color-mix(in srgb, var(--f1-color) 30%, white);
}

/* 客戶編輯區文字 */
.blog_box_edit *,
.promotions_page .edit *,
.edit {
    letter-spacing: .1rem;
    line-height: 200%;
    font-family: var(--font);
}


/* 反白顏色 */
::-moz-selection {
    color: var(--bg-color);
    background: var(--f1-color);
}

::selection {
    color: var(--bg-color);
    background: var(--f1-color);
}


/* 通用設定 */
.edit_part {
    padding: 0;
}
/* 滾動條 -------------------- */
/* 捲軸寬度及高度 */
::-webkit-scrollbar {
    width: 8px;
    /*右側捲軸寬度*/
    height: 0px;
    /*下方捲軸高度*/
}

/* 軌道背景底色 */
::-webkit-scrollbar-track {
    background-color: var(--bg-color);
}

/* 滑桿顏色 */
::-webkit-scrollbar-thumb {
    background-color: var(--f2-color);
}

/* 滑桿滑鼠滑入時的顏色 */
::-webkit-scrollbar-thumb:hover {
    background: var(--f1-color);
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* 大範圍設定 */

/* ＝＝＝ 【【  版型設定(基本) ↓↓↓  】】 ＝＝＝ */

/*背景顏色*/
#content_main,
#content {
    z-index: 1;
    background-color: #FFF;
}

/* RWD ↓↓↓ ~~~~~~~~~~~~~~~ */
@media screen and (max-width: 768px) {
    .show_content {
        padding: 10px 0 20px;
    }
}

@media screen and (max-width: 600px) {
    .main_part {
        padding: 10px 20px;
    }
}

/* ＝＝＝ 【【  版型設定(基本) ↓↓↓  】】 ＝＝＝ */

/* 麵包屑 -------------------- */
/* 隱藏 */
.path p,
.path p a {
    display: none;
}

/* 頁碼 -------------------- */
.page li a {
    color: var(--f1-color);
}

.page strong,
.page a:hover {
    background: var(--f1-color);
    color: var(--bg-color);
}

/* ＝＝＝ 【【  客製更動處 ↓↓↓  】】 ＝＝＝ */

.main_part {
    padding: 10px 20px 50px;
}



/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*OP*/
.pageIndex .bannerindex::before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: transparent;
    backdrop-filter: grayscale(.2)  blur(5px);
    z-index: 1000000000000010000000;
    animation: action-bg 4.3s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    pointer-events: none;
}

.pageIndex .bannerindex::after{
    content: "";
    display: block;
    background-image: url(https://pic03.eapple.com.tw/liangcheng/banner-05.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10000000000;
    transform: translate(-50%,-50%) ;
    pointer-events: none;
    animation: action-logo 2s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
}

.swiper-wrapper {
    transform: scale(0.8);
    animation: action-banner 3s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards ;
}

@keyframes action-bg {
    0%{        backdrop-filter: grayscale(.2)  blur(7px);    }
    100%{        backdrop-filter: grayscale(0)  blur(0px);    }
}

@keyframes action-banner {
    0%{        transform: scale(1.2);    }
    100%{        transform: scale(1);    }
}

@keyframes action-logo {
    0%{        opacity: 0;    }
    50%{        opacity: 1;    }
    100%{        opacity: 0;    }
}


/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}



/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/* = = = 預設解除背景輪播 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */

#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;}
}

/*小東西*/
#bottom_menu li a em,#bottom_menu li a i  {    color: #918A7F;
}

/* RWD ↓↓↓ ~~~~~~~~~~~~~~~ */
@media screen and (max-width: 768px) {
    .bannerindex {
        padding: 0;
        margin: 0;
    }
}


/* = = = 大圖 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*大圖1*/

.swiper-slide {
    position: relative;
}

.pageIndex .swiper-slide:nth-child(1)::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(https://pic03.eapple.com.tw/liangcheng/banner-03.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10000;

    animation: banner-bg-zoom-slow 5.5s both cubic-bezier(0.25, 0.1, 0.25, 1);
    animation-delay: 0.3s;
}



@keyframes banner-bg-zoom-slow {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    100% {
        transform: scale(1.06);
        opacity: 1;
    }
}




/*大圖2*/
.pageIndex .swiper-slide:nth-child(2)::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(https://pic03.eapple.com.tw/liangcheng/banner-04.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10000;

    animation: banner-bg-up 3s both cubic-bezier(0.22, 0.61, 0.36, 1);
    animation-delay: 3.2s;
}


@keyframes banner-bg-up {
    0% {
        transform: translateY(60px) scale(1.05);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}




/*切換鈕置左*/
.bannerindex {
    --swiper-pagination-color: var(--bg-color);
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: auto;
    top: 50%;
    left: 2vw;
    width: 25px;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 5px 10px;
    width: 5px;
    height: 15px;
    border-radius: 2px;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* HEADER */

/*上方選單解除滑動固定
.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 {}
*/

/* ＝＝＝ 【【  xx 無預設區塊 xx  】】 ＝＝＝ */

/* ＝＝＝ 【【  版型設定(基本) ↓↓↓  】】 ＝＝＝ */
/* 布局 */
.header_area,
.header_area.sticky {
    background: var(--bg-color);

}

.main_header_area .container {
    max-width: 1600px;
}

.navigation {
    display: flex;
    align-items: center;
}

/* +++ 複選單(購物車/社群icon/多語系) -------------------- */
.me_tp_features {
    display: none;
}

/* +++ logo -------------------- */

/*logo大小*/
.nav-header {
    max-width: 250px;
}

.nav-brand img {
    display: block;
}

@media screen and (max-width: 768px) {
.nav-brand {
    height: 40px; /* 容器高度 */
}

.nav-brand img {
content: url("https://pic03.eapple.com.tw/liangcheng/logo-05.png");
max-height: 100%; /* 高度不超過容器 */
 width: auto;      /* 自動調整寬度 */
padding-top: 5px;}

.nav-header {
width: 50vw;}
}

/* +++ 主選單 -------------------- */

/* 主選單文字樣式 */
.stellarnav>ul>li>a,
.stellarnav>ul>li>a b {
    color: #FFF;
    font-family: var(--sfont);
    letter-spacing: .2rem;
    margin: 0;
    /*蓋預設*/
    font-size: 14px;
    font-weight: 100;
}

.stellarnav>ul>li:hover a {
    color: var(--f2-color);
    transition: var(--tr);
}

/* 翻轉後文字 */
.stellarnav>ul>li>a b:nth-child(2) {
    font: normal 14px/40px var(--sfont);
    letter-spacing: .05rem;
}

.stellarnav > ul > li > a:hover b {
    color: #fff;
}


/* 按鈕間距+高度 */
.stellarnav>ul>li {
    padding: 0px 1rem;
}

/* 隱藏三下拉角形 */
.stellarnav li.has-sub>a:after {
    display: none;
}

.stellarnav>ul>li.has-sub>a {
    padding-right: unset;
}

/* +++ 下拉區塊 -------------------- */
/* 整個下拉的外框 */
.stellarnav ul ul {
    border: solid 1px var(--f3-color);
    width: 180px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: rgba(0 0 0/5%) 0px 2px 8px 0px;
}

/*----------*/
.stellarnav li.has-sub li {
    border: none;
    border-bottom: solid 1px var(--f3-color);
    background: var(--bg-color);
}

.stellarnav li.has-sub li:last-of-type {
    border-bottom: none;
}

.stellarnav li.has-sub li:hover {
    background: var(--f3-color);
    transition: var(--tr);
}

/* 下拉選單文字 */
.stellarnav li.has-sub li a,
.stellarnav.mobile li li.has-sub a {
    font-size: 13px;
    padding: .75rem 1rem;
    color: var(--f1-color);
}

/* RWD ↓↓↓ ~~~~~~~~~~~~~~~ */

@media screen and (max-width: 1024px) {
    .nav-header {
        width: 40vw;
    }

    .stellarnav>ul>li {
        padding: 5px 5px 0px;
    }

    .stellarnav>ul>li>a {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .nav-header {
        min-width: 100px;
    }
}

/* ＝＝＝ 【【  客製更動處 ↓↓↓  】】 ＝＝＝ */

/* logo大小 */
.nav-header {
    max-width: 350px;
}

/* 寬度 */
.main_header_area .container {
    max-width: 1400px;
}

/* 下滑變化 */
/* 首頁 Header：先完全消失 3 秒，再出現 */
.pageIndex .header_area {
    opacity: 0;                 /* 一開始完全看不到 */
    position: absolute;
    top: -50px;

    animation: header-in 2s ease forwards;
    animation-delay: 3s;        /* ⭐ 關鍵：延遲 3 秒才開始動畫 */

    background: #ffffff5c;
    backdrop-filter: blur(13px);
}

/* 出現動畫 */
@keyframes header-in {
    from {
        opacity: 0;
        top: -50px;
    }
    to {
        opacity: 1;
        top: 0;
    }
}

/* Sticky 狀態 */
.pageIndex .header_area.sticky {
    position: sticky;
}
/* 平板以下關閉首頁 Header 動畫 */
@media (max-width: 768px) {
    .pageIndex .header_area {
        animation: none !important;   /* 關掉動畫 */
        opacity: 1 !important;        /* 直接顯示 */
        top: 0 !important;
        position: relative;           /* 避免 absolute 影響版面 */
        backdrop-filter: none;        /* 視需要，可拿掉效能負擔 */
        background: #fff;             /* 視需求 */
    }
}



/* 隱藏次選單 */
.stellarnav ul ul {
    display: none!important;
}

/* RWD ↓↓↓ ~~~~~~~~~~~~~~~ */

@media screen and (max-width: 1024px) {
    .header_area{
        padding-bottom: 0px;
    }
}
@media screen and (max-width: 768px) {
    .header_area{
        padding-bottom: 10px;
    }

    .pageIndex .header_area {
        background: var(--bg-color);
        opacity: 1;
        top: 0px;
        position: sticky;
    }

}
@media screen and (max-width: 480px) {}

/* =============== ▲ HEADER ▲ =============== */

/* =============== ▼ 漢堡選單 ▼ =============== */

/* ＝＝＝ 【【  版型設定(基本) ↓↓↓  】】 ＝＝＝ */
@media screen and (max-width: 768px) {

    /* 三 按鈕 ---------- */
    .stellarnav.mobile {
        top: 0px;
    }

    /*三改色*/
    .stellarnav .menu-toggle span.bars span {
        background: var(--f1-color);
    }

    /*隱藏-menu文字樣式*/
    .stellarnav .menu-toggle:after {
        color: var(--f1-color);
        display: none;
    }

    /*打開後 close表頭*/
    .stellarnav.mobile.left .close-menu {
        background: var(--bg-color);
    }

    /*隱藏-close文字*/
    .stellarnav.mobile .close-menu {
        position: relative;
        color: transparent;
    }

    .stellarnav.mobile .close-menu>* {
        display: none;
    }

    .stellarnav.mobile .close-menu:before {
        content: "×";
        position: absolute;
        right: 10px;
        top: 10px;
        color: var(--f1-color);
        font-size: 12px;
    }

    /*選單底色*/
    .stellarnav.mobile.left>ul {
        background: var(--bg-color);
        max-width: 350px;
        /*選單寬度*/
        height: 100vh;
    }

    /*主選單按鈕 ---------- */
    .stellarnav.mobile>ul>li,
    .stellarnav.mobile li.open {
        padding: 0px;
        /*蓋預設*/
        border-bottom: 1px solid var(--f3-color);
    }

    /*選單文字*/
    .stellarnav.mobile>ul>li>a {
        text-overflow: ellipsis;
        padding: 20px 1.5rem;
        /*按鈕高度*/
        display: flex;
        flex-direction: column;
    }

    /*文字*/
    .stellarnav.mobile>ul>li>a b {
        vertical-align: middle;
    }

    .stellarnav>ul>li>a b:nth-of-type(2) {
        color: var(--ac-color);
        font-size: 12px;
        line-height: 1.5rem;
    }

    /*隱藏-偽元素*/
    .stellarnav>ul>li:before {
        display: none;
    }

    /*下拉+號 ---------- */
    .stellarnav.mobile>ul>li>a.dd-toggle {
        padding: 20px 0px;
        /*= 按鈕高度*/
    }

    /*+號顏色*/
    .stellarnav a.dd-toggle .icon-plus:before,
    .stellarnav a.dd-toggle .icon-plus:after {
        border-bottom: solid 1px var(--f2-color);
    }

    /*+號展開區塊 ---------- */
    /*下拉區塊-外層*/
    .stellarnav.mobile li.open,
    .stellarnav.mobile li.open li.open {
        background: transparent;
        padding: 0px;
        /*蓋預設 3px*/
    }

    .stellarnav.mobile ul ul {
        background: transparent;
        border-radius: unset;
        padding-left: .5rem;
        box-shadow: none;
    }
}

@media only screen and (max-width: 570px) {
    .stellarnav .menu-toggle {
        padding: 10px;
        /*蓋預設*/
    }
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* footer */
/*footer -------------------- */

/*FOOTER*/
.footer {
    padding: 50px 0 0;
    font-size: 14px;
    background: #212121;
}

.footer .center {
    max-width: 90%;
}

.footer_info {
    display: flex;
    grid-gap: 30px;
    padding-right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 10px;
}

.footer_logo {
    max-width: 250px;
    order: 1;
}

.footer_logo img {
    filter: brightness(1);
}

.footer_info ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    order: 2;
    padding-left: 5px;
}

.footer_info li {
    padding: 0;
}

.footer_info li p {
    line-height: 180%;
    letter-spacing: 0.1em;
    color: var(--f3-color);
    font-weight: 100;
}

.footer_info li p a {
    color: var(--f3-color);
    
}

/*選單*/
.footer_menu a {
    padding: 0;
    border: unset;
    margin: 0 15px 5px 0;
    color: var(--f2-color);
    background: unset;
    transition: 0.5s ease;
    font-size: 12px;
}

.footer_menu a:hover {
    background: unset;
    color: var(--bg-color);
}

/* 隱藏-回首頁 */
.footer_menu a:nth-of-type(1) {
    /* display: none; */
}

.double_key {
    text-align: center;
    margin: 0px;
    position: relative;
    order: 4;
}

.box_link {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 60%;
    max-width: 100%;
    order: 3;
    z-index: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    max-height: 100%;
    display: none;
}

.box_link a {
    display: block;
    width: auto;
    border: unset;
    border-radius: 0;
    padding: 0 0 0 20px;
    font-size: 20px;
    margin: 0;
    color: var(--f2-color);
    transition: 0.5s ease;
}

.box_link a:hover {
    color: var(--f1-color);
}

@media screen and (max-width: 768px) {
    .footer_logo {
        max-width: 150px;
    }

    .footer_info {
        padding: 0;
    }

    .footer_info ul {
        padding-bottom: 30px;
    }

    .footer_info li+li {
        margin-top: 0;
    }

}

@media screen and (max-width: 600px) {
    .footer {
        font-size: 14px;
        padding: 60px 0 0;
    }

    .footer_info {
        padding: 0;
        grid-gap: 20px;
    }

    .footer_logo {
        max-width: 125px;
    }

    .footer_menu a {
        margin: 0 10px 5px 0;
    }

    .box_link {
        display: none;
    }

}

@media screen and (max-width: 450px) {
    .footer_info li p {
        letter-spacing: 0.05em;
    }

    .footer_menu a {
        font-size: 12px;
        margin: 0 5px 5px 0;
    }
}

/*COPY*/
.copy {
    position: relative;
    width: 90%;
    margin: 0 auto;
    padding: 0 0 100px;
    border-top: unset;
    text-align: left;
    display: flex;
    justify-content: flex-start;
}

/* 隱藏資訊 */
.footer_info li p.taxid {    display: none;}

/* 順序調整 */
.footer_info li:nth-child(1) {
    display: flex;
    flex-direction: column;
}
.footer_info li p.tel{
    order: 1;
}
.footer_info li p.mail{
    order: 2;
}
.footer_info li p.add2{
    order: 3;  
}
.footer_info li p.add{
    order: 4;
}


/* RWD ↓↓↓ ~~~~~~~~~~~~~~~ */
@media screen and (max-width: 1024px) {}
@media screen and (max-width: 768px) {
    .copy {
        padding-bottom: 30px;
    }
}
@media screen and (max-width: 480px) {}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* 商品下拉超過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個--結束 */

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */



/*聯絡頁*/
.contact_content .information_right {
width: calc(100% - 340px);}

.list_before.info li {
    padding-left: 40px;
}
 @media screen and (max-width: 768px) {   
    .contact_content .information_right { width: 100%;}
}