@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/

body {
    overflow-x: hidden;
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/
.main_header_area .container {
    width: 90%;
}

.pageIndex .header_area,
.pageIndex .header_area.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.main_header_area {
    background: none;
    position: relative;
}

.me_tp_features {
    display: none;
}

.pageIndex .main_header_area:before {
    transform: translateY(-100%);
}

.header_area.sticky .main_header_area:before,
.main_header_area:before {
    content: '';
    background: #fff;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: translateY(0);
    transition: all ease 0.8s;
}

.pageIndex .nav-header {
    filter: drop-shadow(0px 0px 10px #666);
    left: 50%;
    padding: 24px 0;
    transform: translateX(-50%);
}

.header_area.sticky .nav-header,
.nav-header {
    padding: 12px 0;
    filter: none;
    left: 0;
    transform: translateX(0);
    transition: all ease 0.8s;
}

.pageIndex .nav-brand {
    width: 160px;
}

.header_area.sticky .nav-brand,
.nav-brand {
    width: 100px;
    transition: all ease 0.8s;
}

.pageIndex .navigation {
    padding: 0;
}

.header_area.sticky .navigation,
.navigation {
    padding: 20px 0;
    transition: all ease 0.8s;
}

.stellarnav li.has-sub>a:after {
    content: none;
}

.stellarnav ul {
    font-family: 'Noto Serif Display', 'Noto Serif TC', serif;
    font-weight: 500;
}

.stellarnav>ul>li>a {
    padding: 0 2px;
    color: #444;
    font-size: 15px;
    margin: 0 12px;
    letter-spacing: .5px;
}

.stellarnav>ul>li>a b:last-of-type {
    letter-spacing: 1px;
}

.pageIndex .stellarnav {
    transform: translateY(-105%);
}

.header_area.sticky .stellarnav,
.stellarnav {
    width: 50%;
    margin-left: auto;
    transform: translateY(0);
    transition: all ease 0.8s;
}

/*下拉*/
.stellarnav>ul>li>ul {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

.stellarnav li {
    text-align: center;
}

.stellarnav li li a,
.stellarnav li li.has-sub>a,
.stellarnav.mobile li li.has-sub a {
    padding: 8px 10px;
    color: #666;
    font-size: 14px;
    letter-spacing: .5px;
    transition: all ease 0.4s;
}

.stellarnav li li a:hover,
.stellarnav li li.has-sub:hover>a,
.stellarnav.mobile li li.has-sub:hover a {
    color: #b58a60;
}

.stellarnav ul>li:first-of-type>ul {
    width: 240px;
}

.stellarnav ul ul ul {
    left: 100%;
}






/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


.other_select_page .promotion_title,
.other_select_page .other_promotion,
.other_select_page .page {
    display: none;
}

body.pageIndex:before {
    content: ' ';
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(https://pic03.eapple.com.tw/wdspatial/bgbg.jpg) center/cover no-repeat;
}

#content_main {
    background: none;
}

.main_part {
    width: 90%;
    max-width: 1400px;
    padding: 40px 0;
}

.show_content {
    padding: 0;
}

.show_content:before,
.show_content:after {
    content: none;
}

/*預設解除背景輪播*/
#content_main {
    margin: 0;
}

.bannerindex {
    position: static;
    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;
    }
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner,
.path {
    display: none;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*購物車總覽*/
.product-layer-two li a {
    border: none;
    background: #f0f0f0;
    padding: 2px 4px;
    font-size: 14px;
    color: #999;
    font-family: "Noto Serif TC", sans-serif !important;

}

.product-layer-two li.active a {
    font-weight: 500;
    border: none;
    color: #000;
}

.product-layer-two {
    margin: 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    gap: 10px;
}

.product-layer-two li {
    margin: 0;
    display: block;
}

.products-list .item {
    width: 100%;
    display: block;
    padding: 0;
    margin: 0;
}

.products-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.products-list:before,
.products-list:after {
    content: none;
}

.products-list .pic {
    width: 100%;
    height: auto;
    overflow: hidden;
    aspect-ratio: 29/21;
    padding-bottom: 0;
}

.products-list .pic img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: all ease 0.4s;
}

.products-list .more {
    display: none;
}

.products-list .name {
    line-height: 1.6;
    padding-bottom: 2px;
    text-overflow: ellipsis;
    color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -100%);
    text-align: center;
    letter-spacing: 1px;
    font-size: 18px;
    margin: 0;
    height: auto;
    font-family: 'Noto Serif Display', 'Noto Serif TC', serif;
    font-weight: bold;
    max-width: calc(100% - 40px);
    width: max-content;
    border-bottom: 1px solid #fff;
    transition: all ease 0.4s;
}

.products-list .item:hover .name {
    border-color: transparent;
}

.products-list .style0 {
    color: #fff;
    font-family: 'Noto Serif Display', 'Noto Serif TC', serif;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 500;
    width: 100%;
    padding: 4px 20px 0;
    line-height: 1.6;
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 0%);
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all ease 0.4s;
}

.products-list .item:hover .style0 {
    opacity: 1;
}

.products-list .item:hover .pic img {
    filter: none;
    transform: scale(1.08);
}

.page li:hover a {
    opacity: 1;
}

.page li a {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
}

.products-list .pic:before {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    inset: 0;
    content: "";
    background: radial-gradient(hsla(54deg, 100%, 87%, 0) 0%, hsla(54deg, 70%, 90%, 0.35) 55%, hsla(8deg, 79%, 90%, 0.35) 70%, hsla(8deg, 79%, 90%, 0) 80%, hsla(8deg, 79%, 90%, 0) 100%);
    opacity: 0;
    transition: 200ms;
    transform: translate3d(0%, 0%, 0) scale(5);
    z-index: 9;
    filter: grayscale(1);
}

.products-list .item:hover .pic:before {
    opacity: 1;
    animation: move-light 1850ms forwards, move-light-opacity 1850ms forwards;
}

@keyframes move-light {
    0% {
        transform: translate3d(-250%, -250%, 0) scale(4.5)
    }

    100% {
        transform: translate3d(0%, 0%, 0) scale(5)
    }
}

@keyframes move-light-opacity {
    60% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

.product-layer-two li ul {
    min-width: 160px;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*文章*/
h5.blog_le_t,
.blog_search {
    display: none;
}

.blog_le .accordion {
    border-radius: 0;
}

.accordion li .link,
.accordion li:last-of-type {
    border-bottom: none;
}

.accordion li {
    border-bottom: 1px solid #ccc;
    transition: all 0.2s ease;
}

.blog_le .accordion>li:hover,
.blog_le .accordion>li.open:hover,
.blog_le .accordion>li.on_this_category:hover {
    background: #b58a60 !important;
}

.blog_le .accordion>li:hover .link a,
.blog_le .accordion>li.open:hover .link i,
.blog_le .accordion>li.on_this_category.open:hover .link a,
.blog_le .accordion>li.on_this_category:hover .link a,
.blog_le .accordion>li.on_this_category:hover .link i {
    color: #fff !important;
}

.blog_le .accordion>li.open,
.blog_le .accordion>li.on_this_category {
    background: #ece2d7 !important;
}

.blog_le .accordion>li.open .link i,
.blog_le .accordion>li.on_this_category .link a,
.blog_le .accordion>li.on_this_category .link i {
    color: #444 !important;
}

.accordion li .link a {
    color: #444;
    font-weight: 500;
}

.submenu {
    background: #fff;
}

.submenu a {
    font-family: 'Noto Sans TC';
    color: #444;
    letter-spacing: 0px;
    font-weight: 400;
    padding: 12px 12px 12px 32px;
    border-left: #fff 0 solid;
    transition: all .15s;
}

.submenu a:before {
    font-weight: var(--fa-style, 900);
}

.submenu a:hover {
    background: #fbf9f7;
    color: #444;
    border-left: #fbf9f7 4px solid;
}

.submenu a:before {
    left: 10px;
    font-family: var(--fa-style-family, "Font Awesome 6 Free")
}

.blog_page h4.blog_category_title {
    display: none;
}

.blog_le,
.blog_ri {
    padding: 0;
}

.blog_box {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.blog_ri {
    width: calc(100% - 280px);
}

.blog_subbox {
    display: flex;
    flex-flow: column wrap;
    gap: 40px;
}

.blog_subbox:before {
    content: none;
}

.subbox_item {
    width: 100%;
    margin: 0;
    border-bottom: none;
    box-shadow: 0 0 10px #0000000c;
    background: #fff;
}

.subbox_item:nth-child(even) .blog_list_le {
    order: 1;
}

.subbox_item a {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.blog_list_le {
    width: 56%;
    padding: 0;
    height: auto;
    aspect-ratio: 11/6;
    overflow: hidden;
    position: relative;
}

.blog_list_le img {
    min-width: 100%;
    display: block;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s;
}

.subbox_item:hover .blog_list_le img {
    transform: scale(1.05);
}

.blog_list_ri {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    padding: 0 48px;
    width: 44%;
    position: relative;
}

.blog_list_ri h5 {
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 18px;
    font-family: 'Noto Serif Display', 'Noto Serif TC', serif;
    color: #222;
}

.blog_list_ri em {
    order: 1;
    font-weight: 400;
    margin: 0;
    font-size: 12px;
    position: relative;
    color: #444;
}

.blog_list_ri em:after {
    content: '+ READ MORE';
    font-family: 'Noto Serif Display';
    letter-spacing: 0.4px;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: all 0.4s;
    font-weight: 600;
}

.subbox_item:hover .blog_list_ri em:after {
    letter-spacing: 1.6px;
}

.blog_list_ri p {
    line-height: 160%;
    margin: 24px 0 32px;
    color: #999;
    -webkit-line-clamp: 2;
    letter-spacing: 0.4px;
    font-size: 14px;
}

.subbox_item a:before,
.subbox_item a:after {
    content: none;
}

/*內頁*/
.blog_back {
    width: 100%;
    margin: 20px 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
}

h4.blog_category_title {
    color: #222;
    font-family: 'Noto Serif TC';
    letter-spacing: 2px;
    font-size: 24px;
    padding: 0;
    margin-bottom: 30px;
}

.blog_box_edit * {
    line-height: 180%;
}

.blog_box_edit {
    color: #666;
    font-size: 15px;
}

.blog_back a {
    font-size: 14px;
    display: block;
    width: 100%;
    font-weight: 500;
}

.blog_back a.article_btn_back {
    background: #b58a60;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*footer
.copy,
.footer_info {
    display: none;
}
.footer:before {
    content: "";
    position: absolute;
    width: 101%;
    height: 101%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(https://pic03.eapple.com.tw/wdspatial/footer.png)center / cover no-repeat;
}
*/

.footer {
    background: #fff;
    border-top: 1px solid #ccc;
}

@media screen and (max-width: 1200px) {
    .blog_list_ri {
        padding: 0 24px;
    }

    .blog_list_le,
    .blog_list_ri {
        width: 50%;
    }

    .blog_list_ri p {
        margin: 8px 0 12px;
    }
}

@media screen and (max-width: 1024px) {

    .pageIndex .header_area {
        position: relative;
    }

    .pageIndex .main_header_area:before {
        transform: translateY(0);
    }

    .pageIndex .nav-header,
    .header_area.sticky .nav-header,
    .nav-header {
        filter: none;
        text-align: left;
        padding: 10px 0 4px;
        transform: translateX(0);
    }

    .pageIndex .nav-brand {
        width: 100px;
    }

    .pageIndex .navigation,
    .header_area.sticky .navigation,
    .navigation {
        padding: 0;
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        justify-content: space-between;
    }

    .pageIndex .stellarnav {
        transform: translateY(0);
    }

    .stellarnav>ul>li:last-of-type>a {
        margin-right: 0;
    }

    .stellarnav ul {
        text-align: right;
    }
}

@media screen and (max-width: 960px) {

    .blog_list_le,
    .blog_list_ri {
        width: 100%;
    }

    .blog_list_ri {
        padding: 18px 24px 24px;
    }

    .subbox_item:nth-child(even) .blog_list_le {
        order: 0;
    }

    .products-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {

    /* 開啟手機板下方按鈕所需設定 */
    #bottom_menu {
        display: none;
    }

    #to_top {
        bottom: 10px;
    }

    .pageIndex .navigation,
    .header_area.sticky .navigation,
    .navigation {
        justify-content: center;
    }

    .pageIndex .nav-header,
    .header_area.sticky .nav-header,
    .nav-header {
        text-align: center;
    }

    .main_header_area .container {
        width: 100%;
    }

    .stellarnav .menu-toggle {
        padding: 12px 10px;
    }

    .pageIndex .stellarnav,
    .header_area.sticky .stellarnav,
    .stellarnav,
    .stellarnav.mobile {
        width: auto;
        margin-left: 0;
        transform: none;
    }

    .stellarnav.mobile.active {
        z-index: 124;
    }

    .stellarnav ul>li:first-of-type>ul {
        width: auto;
    }

    .stellarnav li {
        text-align: left;
    }

    .stellarnav.mobile>ul {
        border-top: none;
    }

    .stellarnav.mobile.right .close-menu,
    .stellarnav.mobile.left .close-menu {
        background: #b58a60;
        color: #fff;
        font-family: 'Abril Fatface';
    }

    .stellarnav .icon-close:after,
    .stellarnav .icon-close:before {
        border-color: #fff;
    }

    .stellarnav>ul>li>a {
        display: block;
        margin: 0 4px;
    }

    .stellarnav.mobile>ul>li>a {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .stellarnav.mobile>ul>li>a.dd-toggle {
        padding: 9px 14px;
    }

    .stellarnav.mobile>ul>li.open>a.dd-toggle {
        margin-top: 6px;
    }

    .stellarnav li li a,
    .stellarnav li li.has-sub>a,
    .stellarnav.mobile li li.has-sub a {
        padding: 8px 12px;
    }

    .stellarnav.mobile li.open {
        background: #fbf9f7;
    }

    .blog_le {
        display: none
    }

    .blog_ri {
        width: 100%;
    }

    .blog_subbox {
        gap: 24px;
    }

    .blog_list_ri {
        padding: 18px 20px 24px;
    }

    .blog_list_le {
        aspect-ratio: 5 / 3;
    }

    h4.blog_category_title {
        font-size: 20px;
    }

    .blog_back {
        margin: 40px 0 0;
    }

    .products-list {
        grid-template-columns: 1fr;
    }

    .products-list .name {
        font-size: 16px;
        font-weight: 600;
        border-color: rgba(255, 255, 255, .7);
    }

    .products-list .style0 {
        opacity: 1;
        font-size: 13px;
    }

    .product-layer-two {
        gap: 4px 16px;
    }

    .product-layer-two li a {
        font-size: 13px;
        padding: 0 2px;
    }

    .product-layer-two {
        justify-content: center;
    }

    .blog_list_ri h5 {
        letter-spacing: 1px;
        font-size: 17px;
    }
}