@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Serif+TC:wght@200..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/*反白顏色*/
::-moz-selection{  background-color: #232323;  color: #fff;}
::selection{  background-color: #232323;  color: #fff;}

:root {
    --MainColor: #5C4636;
    --SubColor:#8B9674;
    --SubColor02:#C2A691;
    --SubColor03:#EAD1A6;
    --BgColor:#FAF8F5;
    --FontColor:#433E3A;

    --SFont:"Noto Sans TC", sans-serif;
    --SFontEN: "Playfair Display", serif;
    --TitleFont:"Noto Serif TC", 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(18px, 1.67vw, 24px);
    --f22: clamp(18px, 1.53vw, 22px);
    --f20: clamp(16px, 1.39vw, 20px);
    --f18: clamp(16px, 1.25vw, 18px);
    --f17: clamp(15px, 1.18vw, 17px);
    --f16: clamp(15px, 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: "Playfair Display", "Noto Serif Tc", serif;}
body {
    background: var(--BgColor);
    letter-spacing: 0.1rem;
    font-size: var(--f17);
    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: #E4E9EA;
    width: 7px;
}

::-webkit-scrollbar-button {
    display: none;
    background: #E4E9EA;
    border-radius: 0;
}
::-webkit-scrollbar-track-piece {    background: #E4E9EA;}

/* 滑桿顏色 */
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #9CB0A1;
}

/* 滑桿滑鼠滑入時的顏色 */
::-webkit-scrollbar-thumb:hover {    background: var(--MainColor); }

/* 軌道背景底色 */
::-webkit-scrollbar-track {    box-shadow: transparent;}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/
.header_area {
    position: fixed;
    background: transparent;
    transition: var(--header-transition);
    padding: 0;
}
.header_area.sticky {    background: transparent;}
.main_header_area .container {    max-width: 95%;}
.main_header_area {position: relative; padding: 0; transition: var(--header-transition);}
.header_area.sticky .main_header_area:before {
    content: "";
    position: absolute;
    transition: all 0.9s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    height: 130px;
    background: linear-gradient( to bottom, rgba(247, 243, 238, 1) 0%, rgba(247, 243, 238, 0) 100% );
}


/*上方選單右邊設定 臉書/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}

/*浮動按鈕-展開
.info_fix_links {    display: flex !important;}
.linksBtn {    display: none;}
a.info_fix_default.info_fix_mail  {    display: none;}
*/


/*電腦LOGO
.nav-brand {}
*/
.nav-header {
    max-width: 220px;
    padding-top: 10px;
}
.pageIndex .header_area.sticky .nav-header {
    opacity: 1;
}
.pageIndex .header_area .nav-header {
    opacity: 0;
}

/*第一層
.stellarnav > ul > li {    padding: 15px 0;}
.stellarnav > ul > li > a {
    transition: all 0.3s;
    padding: 0 15px;
    color: var(--MainColor);
    font-size: 14px;
    letter-spacing: 0.1rem;
}
.stellarnav > ul > li:hover > a {color: var(--SubColor);}
.stellarnav li.has-sub:hover  >a:after { border-color: transparent var(--MainColor) var(---MainColor) transparent; }
*/


/*下拉線條箭頭
.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 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(--BgColor);
    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 {
    padding: 70px 0 0;
    background: var(--MainColor);
    position: relative;
    padding-top: var(--pd80);
}
.footer_info {
    grid-template-columns: 200px 1fr;
    grid-gap: 20px 50px;
    padding-right: 235px;
}


.copy {
    padding: 30px 20px;
    backdrop-filter: blur(5px);
    /* max-width: 1400px; */
    margin: auto;
    margin-top: 25px;
    border-top: 1px solid #cfdace0d;
    color: var(--MainColor);
}
.copy a {
    color: var(--MainColor);
}
.privacyLinks a+a {
    border-left: 1px solid var(--MainColor);
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*聯絡我們*/
.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;}
.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.swiper-slide:before, 
.pageIndex .bannerindex .swiper-slide.swiper-slide:after {
    content: ""; position: absolute;  z-index: 999; pointer-events: none;
}

.pageIndex .bannerindex .swiper-slide:nth-child(1).swiper-slide:before{}
.pageIndex .bannerindex .swiper-slide:nth-child(1).swiper-slide:after {}

.pageIndex .bannerindex .swiper-slide:nth-child(1).swiper-slide-active:before {  }    
.pageIndex .bannerindex .swiper-slide:nth-child(1).swiper-slide-active:after {  }
*/


/*切換鈕*/
.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 {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*影音專區*/
.video-layer-two li a {
    position: relative;
    border: 1px var(--MainColor) solid;
    background: transparent;
    color: var(--FontColor);
    font-weight: bold;
    letter-spacing: 0.1rem;
}
.video-layer-two li:hover a {    background: var(--MainColor); color: #ffffff;}
.video-list .vidTitle {color: var(--FontColor);}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.subbox_item { width:100%;}
.blog_subbox {    grid-template-columns: repeat(3, 1fr);}
.subbox_item a {    grid-template-columns: 1fr;}
*/

/*文章-側邊欄*/
h5.blog_le_t, h2.blog_le_t {    color: var(--TitleColor);}
.blog_le .accordion {    border: 1px solid var(--MainColor);}

.blog_le .accordion>li:hover {        background: var(--MainColor) !important;    }
.blog_le .accordion>li:hover .link a {        color: #fff !important;    }


/*文章內層*/
/*文章內層封面
.articel_mainPic img{display: none;}*/

.blog_category_title, h1.blog_category_title {
    color: var(--TitleColor);
    font-family: var(--TitleFont);
    font-weight: bold;
    font-size: var(--f36);
}

.blog_back a.article_btn_back {    background: var(--MainColor);}
.blog_back a.article_btn_prev {    background: var(--SubColor);}
.blog_back a.article_btn_next {    background: var(--SubColor);}

/*文章標籤
.news_tags {    flex-wrap: wrap;}*/


/*文章-相關推薦*/
.news_related {
    background: #f3f3f3;
    padding: 25px 15px;
}
.news_related h6 span:before {
    font-size: 24px;
    color: #6d7980;
}
.lastPage {    color: #fff;    background: #ADA17E;}


@media screen and (max-width: 1024px) {
.blog_subbox {    grid-template-columns: repeat(2, 1fr);}
}

@media screen and (max-width: 600px) {
.blog_subbox {    grid-template-columns: 1fr;}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本分類全版面 ( 限制最寬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;}
*/

.pic-list .item a img {    transition: .4s ease;}
.pic-list .item a:hover img {
    transform: scale(1.05);
    transition: .4s ease;
    filter: grayscale(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;}



/*漢堡選單*/

.stellarnav.mobile.left > ul {    border: none;}
.stellarnav.mobile.left > ul, .stellarnav.mobile.left-fade > ul {
    left: unset;
    right: 0;
    border: none;
    background: var(--BgColor);
    box-shadow: 0 0 14px 0px #83776b40;
}

.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu, .stellarnav.mobile.left-fade .close-menu {
    background: var(--AccentColor);
    color: #fff;
}
.stellarnav .icon-close:before, .stellarnav .icon-close:after {    border-bottom: solid 2px #ffffff;}
.stellarnav a.dd-toggle .icon-plus:before, .stellarnav a.dd-toggle .icon-plus:after {    border-bottom: solid 2px var(--MainColor);}/*下拉關掉*/
.stellarnav.mobile li.open {    background: var(--bgcolor);}/*下拉*/

ul.show-list, .pic-list {    grid-template-columns: repeat(2, 1fr);}

}

@media screen and (max-width: 600px) { 
    ul.show-list, .pic-list {    grid-template-columns: 1fr;}

    /*聯絡我們表單*/
    .contact_form li {    grid-gap: 0;}
    .contact_form li .form__label {    background: transparent;}
}




