@charset "utf-8";/*這段一定要加否則中文會變亂碼*/

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}


※※※【 CSS3選取器常用語法 】※※※

結構性偽類選擇器：
規則：在父元素中所有子元素的順序，所有父元素中的子元素皆會被選取。

:nth-child(n)       第幾個子元素
:nth-child(odd)     選中奇數列的子元素=:nth-child(2n+1)
:nth-child(even)    選中偶數列的子元素=:nth-child(2n)
:nth-child(n+5)     第5個開始之後的全部子元素
:nth-child(-n+3)    前3個子元素
:last-child         最後一個子元素

----------------------------------------------------

規則：根據元素的標籤類型(tag name)，來選擇父元素中的第幾個同類型子元素被選取。

:nth-of-type(n)     第幾個同標籤的元素
:nth-of-type(odd)   選中奇數列的同標籤子元素=:nth-of-type(2n+1)
:nth-of-type(even)  選中偶數列的同標籤子元素=:nth-of-type(2n)
:nth-of-type(n+5)   第5個開始之後的全部同標籤子元素
:nth-of-type(-n+3)  前3個同標籤子元素
:last-of-type       最後一個同標籤子元素

----------------------------------------------------

【 grid容器的欄位常用於排版設定大小的方式 】:

minmax(最小值, 最大值)

例： minmax(min(90px, 100%), 1fr)
翻譯：
欄位最小寬度為 90px 和 100% 之間的較小值，如果容器小於 90px，則會改取 100% 讓欄位撐滿整行。
1fr是剩餘空間的比例，在空間允許時，讓這1個欄位平均分配剩餘寬度。

----------------------------------------------------

例： grid-template-columns: repeat(auto-fit, minmax(min((n)px, 100%), 1fr));
翻譯：
每個欄位寬度 至少 min((n)px, 100%)（也就是最多不超過 (n)px ，如果太窄就撐滿一行100%）。
每個欄位最大可擴展到 1fr(平均分配剩餘空間)。
欄位數量會依容器大小自動調整，剛好填滿一整行(auto-fit)。

----------------------------------------------------

【 clip-path: 用來裁切該元素的顯示區域 】

clip-path:circle(50% at 50% 50%);                           圓形裁切( 半徑50%  圓心在中間 )
clip-path: ellipse(60% 40% at 50% 50%);                     橢圓形裁切( x軸半徑60%  y軸半徑 40% 圓心在中間 )
clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)      多邊形裁切(較常用)(甚麼都沒切)
clip-path: inset(20px 30px 40px 10px);                      矩形內縮裁切(少用)(從上右下左分別裁切)
clip-path: none;                                            甚麼都沒切

polygon() 使用的座標系統：

1.左上角 2.右上角 3.右下角 4.左下角 (按順序)

(0%,0%) ─────────── (100%,0%)
   │                    │
   │                    │
   │                    │
(0%,100%) ─────── (100%,100%)



補充：
可搭配 SVG 使用，clip-path: url(#myClip) ;引用 SVG 定義的裁切路徑，能做更複雜形狀。

----------------------------------------------------

【 動畫效果設定說明 】

animation: 動畫名稱 幾秒s [linear(動畫速度保持均勻) or steps(在固定時間內切成n等分逐步進行)] infinite(無限次循環) alternate(動畫結束時會反向播放呈現來回移動的狀態);
一定要要搭配 @keyframes 動畫名稱 { ... } 使用。



















/* 滾動條-------------------- */

/* 捲軸寬度及高度 */
::-webkit-scrollbar {
    width: 6px;
    /*右側捲軸寬度*/
    height: 0px;
    /*下方捲軸高度*/
}

/* 軌道背景底色 */
::-webkit-scrollbar-track {
    background-color: #底色;
}

/* 滑桿顏色 */
::-webkit-scrollbar-thumb {
    background-color: #滑桿顏色;
    border-radius: 3px;
}

/* 滑桿滑鼠滑入時的顏色 */
::-webkit-scrollbar-thumb:hover {
    background: #滑桿顏色;
}

/*反白顏色*/
::-moz-selection {
    background-color:#底色;
    color: #ffffff;
}

::selection {
    background-color:#底色;
    color: #;
}

/* 網站全域ROOT設定------------------ */
:root {
  --color1: #f7eeeb; /*輔助色系1*/
  --color2: #132b50; /*輔助色系2*/
  --color3: #0c2130; /*輔助色系3*/
  --color4: #c79976; /*輔助色系4*/  
  --color5: #e5c09c; /*輔助色系5*/ 
  --color6: #282828; /*輔助色系6*/ 
  --font-en: 'Cormorant Garamond',sans-serif;/*英文字型設定*/
  --font-ch: 'Noto Serif TC',sans-serif;/*中文字型設定*/
}


/* 字型崁入-中文:Noto Serif TC + 英文:Cormorant Garamond ---- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Noto+Serif+TC:wght@200..900&display=swap');
/* = = = 分隔線 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */
/* 大圖01 */
.bannerindex .swiper-fade .swiper-slide:nth-child(1):before {
    content: "";
    background-image: url(https://pic03.eapple.com.tw/chenxi/text-01.png);
    display: block;
    height: 100%;
    width: 100%;
    max-width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 9999;
    top: 0;
    left:0;
    position: absolute;
}
/* 大圖02 */
.bannerindex .swiper-fade .swiper-slide:nth-child(2):before {
    content: "";
    background-image: url(https://pic03.eapple.com.tw/chenxi/text-02.png);
    display: block;
    height: 100%;
    width: 100%;
    max-width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 9999;
    top: 0;
    left:0;
    position: absolute;
}

/* header */
.header_area {
    background: var(--color1);
    padding: 10px 20px;
    border-bottom: 1px solid #eadad5;
}
.header_area.sticky {
    background: var(--color1);
}
.main_header_area .container {
    max-width: 1600px;
    transition: .4s;
}
.navigation {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    grid-gap: 0 30px;
}
.nav-header {
    position: absolute;
    width: 140px;
    grid-row: none;
    top: -60px;
}

.nav-brand img {
    max-width: 100%;
    border: 1px solid #eadad5;
    border-radius: 50%;
    background: #fff;
}

.me_tp_features {
    order: 3;
}
.tp_links a {
    color: var(--color4);
    font-weight: 500;
    margin: 0 3px;
}
.stellarnav {
    grid-column: 2 / 2;
    order: 2;
}

.stellarnav > ul > li > a {
    letter-spacing: 1px;
    margin: 0 15px;
    color: var(--color3);
    font-weight: 600;
    height: 65px;
    line-height: 70px;
    font-family: var(--font-ch);
}
.stellarnav > ul > li > a:before {
    content: "";
    position: absolute;
    width: 0;
    top: 95%;
    height: 1px;
    background: #e4bbb2;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, -5px);
    transition: .4s;
}
.stellarnav > ul > li.has-sub > a {
    padding-right: 14px;
}
.stellarnav > ul > li > a:hover:before {
    transition: .4s;
    width: 100%;
}
.stellarnav li.has-sub > a:after {
    margin-left: 8px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--color4);
}
/* 下拉選單 */
.stellarnav ul ul {
    padding-top: 11px;
    background: transparent;
    transform: translateX(-50%);
    left: 50%;
}
.stellarnav li li {
    background: #fffffff0;
    border: 1px solid #eadad5;
    border-top-color: transparent;
    transition: .4s;
}
.stellarnav li li:hover {
    background: #eadad5f7;
    transition: .4s;
}
.stellarnav li li a {
    padding: 12px 10px;
    font-size: 15px;
    color: var(--color2);
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
}

















/*上方選單解除滑動固定
.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 {}
*/

/* fix links-------------------------------------- */
/*
崁入其他連結放置後台之語法:
<a class="info_fix_default info_fix_名稱" href="連結" target="_blank(在新分頁中打開)">
<img src="https://pic03.eapple.com.tw/資料夾名稱/圖片名稱.svg" /></a> 
<!--名稱-->
*/
.info_fix_links {
    display: flex !important;
}
.linksBtn {
    display: none;
}
.info_fix_links a {
    font-size: 1.3em;
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    background: var(--color4);
}



/* footer-------------------------------------- */
.footer {
    background: #32496c;
    padding: 40px 0 0;
}
.footer .center {
    max-width: 900px;
}
.footer_info {
    grid-gap: 0 15px;
    padding-right: 0;
    grid-template-columns: 160px 1fr;
}
.footer_logo {
    max-width: 150px;
}
.box_link {
    display: none;
}
.footer_info li p, .footer_info li p a {
    color: #fff;
    line-height: 190%;
    letter-spacing: 1.5px;
}
.footer_info li p a {
    transition: .4s;
}
.footer_info li p a:hover {
    color: #97a4b9;
    transition: .4s;
}
.footer_menu a {
    font-family: var(--font-ch);
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    padding: 9px 11px;
    background: #f2d7cf;
    color: var(--color2);
    border: 0;
    border-radius: 8px;
    margin: 0 8px 0 0;
    transition: .4s;
}
.footer_menu a:hover {
    background: #dbb99f;
    color: var(--color3);
    transition: .4s;
}
.copy {
    margin-top: 35px;
    border-top: 0;
    background: var(--color2);
    color: #4f607a;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 10px 0;
}
.copy a {
    color: #4f607a;
}
.privacyLinks a+a {
    border-left: 1px solid #4f607a;
}









/* 商品下拉超過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個--結束 */

/* = = = 分隔線 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */


/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 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; width: 220px; letter-spacing: 1px; /*border-right: 1px solid #ccc;*/min-height: 30vw;}
.product_page .products-list,
.product-wrapper { width: calc(100% - 270px);}
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-layer-two { 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;}
}


/* = = = 分隔線 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */
/* 聯絡我們 */
.contact_content {
    display: none;
}
/*內頁BANNER設定--------*/
.banner {
    min-height: 300px;
    background: url(https://pic03.eapple.com.tw/chenxi/banner.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
}
.banner h5 {
    color: var(--color2);
    font-family: var(--font-ch);
    font-size: 30px;
    letter-spacing: 2px;
    font-weight: 650;
    padding: 8px 4%;
    padding-bottom: 15px;
    border: 1px solid #e8d3c4;
    background: #ffffffba;
}
.banner h5:after {
    display: block;
    text-align: center;
    font-family: var(--font-en);
    color: var(--color4);
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1.6;
    height: 18px;
}
.banner.banA {}
.banner.banB h5:after {
    content: 'SERVICES';
}
.banner.banC h5:after {
    content: 'CONTACT';
}
.banner.banD {}
.banner.banE {}
.article_a .banner.banblog h5:after {
    content: 'ARTICLE';
}
.article_b .banner.banblog h5:after {
    content: 'NEWS';
}

/* = = = 分隔線 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */
.main_part {
    max-width: 1400px;
}

/*文章設定*/
h5.blog_le_t {
    display: none;
}
.blog_search {
    margin-bottom: 20px;
}
.blog_search input[type=search] {
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #c5b9ad;
}
.blog_search input[type=submit] {
    filter: grayscale(1);
}
.blog_le .accordion {
    border-radius: 0;
    background: #eee1d5;
    border: 1px solid #fff;
}
.blog_le .accordion li {
    transition: .3s;    
}
.accordion li+li .link {
    border-top: 1px solid #fff;
}
.accordion li .link a {
    font-family: var(--font-en), var(--font-ch);
    font-size: 15px;
    color: var(--color3);
    font-weight: 600;
    letter-spacing: 1px;
    padding: 13px;
    transition: .3s;
}
.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category {
    background: #b19390 !important;
    transition: .3s;
}
.blog_le .accordion > li:hover .link a, .blog_le .accordion > li.on_this_category .link a {
    color: #ffffff !important;
    transition: .3s;
}
h4.blog_category_title {
    padding: 0;
    margin-bottom: 0;
}
.blog_subbox {
    grid-template-columns: 1fr;
}
.subbox_item {
    background: #ffffff;
    padding: 20px;
    border: 1px solid #dfd4cc;
        transition: .3s;
}
.subbox_item:hover {
    box-shadow: 1px 1px 10px 0px #f3ece7;
    transition: .3s;
}
.subbox_item a {
    grid-gap: 25px;
}
.blog_list_ri {
    font-family: 'Albert Sans', 'Noto Sans TC';
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog_list_ri h5 {
    font-family: var(--font-en), var(--font-ch);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color2);
}
.blog_list_ri em {
    font-size: 12px;
    letter-spacing: .5px;
    margin-top: 10px;
    color: #d0beb0;
}
.blog_list_ri p {
    font-weight: 400;
    font-size: 14px;
    line-height: 210%;
    letter-spacing: .5px;
    -webkit-line-clamp: 2;
    margin-top: 5px;
    color: #444;
}
.subbox_item a:before {
    content: 'READ MORE.';
    font-family: var(--font-en);
    bottom: 0;
    right: 0;
    color: #B8778D;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .5px;
}
.subbox_item a:after {
    border: 0;
}
/* 文章內頁 */
h4.blog_category_title {
    color: var(--color3);
    font-size: 26px;
    font-family: var(--font-en), var(--font-ch);
    font-weight: 600;
    letter-spacing: 1px;
}
.blog_in_page .edit {
    min-height: 30vh;
}
.articel_mainPic img {
    display: none;
}
.blog_box_edit * {
    font-size: 15px;
    letter-spacing: .5px;
    line-height: 240%;
}
.blog_back a.article_btn_prev {
    background: #999;
}
.blog_back a.article_btn_back {
    background: var(--color2);
}
.blog_back a.article_btn_next {
    background: #999;
}
.news_related {
    display: none;
}

/* 熱銷品-文章b設定 */
.article_b .blog_subbox {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
.article_b .subbox_item a {
    grid-template-columns: none;
}
/* end */
/* = = = 分隔線 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */


/*相本分類全版面 ( 限制最寬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 {display: block; }*/
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:60px;}
}

@media screen and (max-width: 600px) { 
}




