@charset "utf-8";


/*網站全域設定/＝＝＝＝＝*/
/*
    #E1D9D0 /*網站主要色系
    #E1CAC5 /*網站輔助色系1
    #f9f6f4; /*網站輔助色系2*/

/*反白顏色*/
::-moz-selection{  background-color: #3A3A3A;  color: #fff;}
::selection{  background-color: #3A3A3A;  color: #fff;}
:root {
    --MainColor: #000;
    --SubColor:#FDF9EE;
    --SubColor02:#D6D1C8;
    --SubColor03:#6E5A47;
    --SFont:"Noto Sans TC", sans-serif;
    --SFontEN: "Euphoria Script", cursive;
    --TitleColor:#0F0F0F;
    --FontColor:#3A3A3A;
    --graycolor:#E6E6E6;
    --f54: 54px;
    --f48: 48px;
    --f42: 42px;
    --f40: 40px;
    --f36: 36px;
    --f32: 32px;
    --f28: 28px;
    --f24: 24px;
    --f22: 22px;
    --f20: 20px;
    --f18: 18px;
    --f17: 17px;
    --f16: 16px;
}

.path{display: none;}
/*頁碼
.page strong, .page a:hover {    background: var(--SubColor);}
.page li.activeN {    color: var(--SubColor);}
*/

/*★★★卷軸設定↓↓↓↓↓↓↓↓↓↓↓↓*/
/* 捲軸寬度及高度 */
::-webkit-scrollbar {    background: #FDF9EE;    width: 7px;}
::-webkit-scrollbar-button {
    display: none;
    background: #FDF9EE;
    border-radius: 0;
}
::-webkit-scrollbar-track-piece {    background: #FDF9EE;}

/* 滑桿顏色 */
::-webkit-scrollbar-thumb {    border-radius: 4px;    background-color: #D6D1C8;}

/* 滑桿滑鼠滑入時的顏色 */
::-webkit-scrollbar-thumb:hover {    background: #3A3A3A; }

/* 軌道背景底色 */
::-webkit-scrollbar-track {    box-shadow: transparent;}

/*
關於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;}
*/
/*
.pageIndex .header_area {    background: transparent;    position: fixed; transition: all 0.3s cubic-bezier(0.73, 0.08, 0.11, 0.99);}
.header_area.sticky {
    transition: all 0.3s cubic-bezier(0.73, 0.08, 0.11, 0.99);
    background: linear-gradient(180deg, #FDF9EE, transparent);
}
*/
.pageIndex .header_area {
    position: fixed;
    background: transparent;
    box-shadow: none;
}
.header_area {
    transition: all 0.3s cubic-bezier(0.73, 0.08, 0.11, 0.99);
    background: rgba(256, 256, 256, 0.9);
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .1);
}
.header_area.sticky {background: rgba(256, 256, 256, 0.9);}
.navigation {    grid-template-columns: 130px 1fr; }

/*上方選單右邊設定 臉書/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;}


/*電腦LOGO
.nav-brand {}
*/

/*手機LOGO
.nav-brand-m {}
*/


    
/*第一層*/
/*下拉線條箭頭
.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(--FontColor) var(--FontColor) transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
*/
.stellarnav > ul > li > a{transition:all 0.3s;}
.stellarnav > ul > li:hover > a{color: #ADA17E;}

/*第二層*/
.stellarnav li li > a , .stellarnav li li.has-sub > a{    padding: 7px 5px;    transition: all 0.3s;border-left:1px solid transparent;}
.stellarnav li li:hover > a , .stellarnav li li.has-sub:hover > a{color: #ADA17E;	padding-left:10px;border-color:#ADA17E ;}

/*下拉第二層箭頭*/
.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個--結束 */



/*聯絡我們*/
.contact_form li.last cite {    background: #d3af79;}


/* = = = 大圖-分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 
.swiper-banner .swiper-slide img {    width: 100%;}

/*例如大圖第一張的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;} */
@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}


/*大圖*/
/*
輪播第二次時，偽元素都只有顯示相同的
再請將個別大圖的指定名稱[data-swiper-slide-index="每一張的數字"]寫進去
例如大圖第一張的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"]
.pageIndex .bannerindex .swiper-slide[data-swiper-slide-index="2"].swiper-slide-active:before{  }
.pageIndex .bannerindex .swiper-slide[data-swiper-slide-index="0"].swiper-slide-active:after {  }
}*/
.pageIndex .bannerindex::before, .pageIndex .bannerindex::after {
    content: "";
    position: absolute;
    pointer-events: none;
    right: calc(10vw + 30px);
    width: 220px;
    bottom: 58%;
    aspect-ratio: 1 / 1;
    max-width: 15%;
    height: auto;
    z-index: 9999;
}

.pageIndex .bannerindex::before {
    z-index: 9999;
    background: url(https://pic03.eapple.com.tw/tmkhair/01cover_logo.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: .8;
    /* mix-blend-mode: color-dodge; */
    /* animation: slideshow 2.5s ease-out forwards, cir_dd 20s linear infinite 2s; */
    animation: slideshow 2.5s ease-out forwards;

}
.pageIndex .bannerindex::after {
    background: url(https://pic03.eapple.com.tw/tmkhair/01cover_run.png);
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
    animation: slideshow 2.5s ease-out forwards, cir_dd 20s linear infinite 2s;
}

@keyframes slideshow {
    0% {        opacity: 0;        filter: blur(5px);    }
    100% {        opacity: 1;        filter: blur(0);    }
}

@keyframes slideDownBlurAnimation {
    0% {
        opacity: 0;
        filter: blur(5px);
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}
@keyframes cir_dd{
	100%{transform: rotate(360deg);}
}

/*
.swiper-fade .swiper-slide:nth-child(1) {
    background: url(https://pic03.eapple.com.tw/tmkhair/01cover_bg1.png) no-repeat;
    background-size: cover;
}*/

.pageIndex .bannerindex .swiper-slide::before {
    content: "";
    position: absolute;
    z-index: 999;
    pointer-events: none;
    right: 0;
    bottom: clamp(32px, 21vw, 45%);
    width: 35%;
    max-width: 700px;
    height: 95px;
    /* mix-blend-mode: color-dodge; */
    opacity: 1;
    z-index: 9999;
}
.pageIndex .bannerindex .swiper-slide.swiper-slide:after {    content: ""; position: absolute;  z-index: 999; pointer-events: none;}

/*大圖1*/
.pageIndex .bannerindex .swiper-slide:nth-child(1).swiper-slide::before {
    background: url(https://pic03.eapple.com.tw/tmkhair/01cover-1b.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.pageIndex .bannerindex .swiper-slide:nth-child(1).swiper-slide:after {
    top: 0;
    left: 0;
    background: url(https://pic03.eapple.com.tw/tmkhair/01cover-1a.png);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

/*大圖2*/
.pageIndex .bannerindex .swiper-slide:nth-child(2).swiper-slide::before {
    background: url(https://pic03.eapple.com.tw/tmkhair/01cover-2b.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.pageIndex .bannerindex .swiper-slide:nth-child(2).swiper-slide::after{
    top: 0;
    left: 0;
    background: url(https://pic03.eapple.com.tw/tmkhair/01cover-2a.png);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}


.pageIndex .bannerindex .swiper-slide.swiper-slide-active:before {     animation: slideDownBlurAnimation 2s;animation-fill-mode: both; }    
/*.pageIndex .bannerindex .swiper-slide.swiper-slide-active:after {     
    animation: slideDownBlurAnimation 2.5s;animation-fill-mode: both;
    animation-delay: 0.5s;
}*/
@keyframes slideDownBlurAnimation {
    0% {
        opacity: 0;
        filter: blur(5px);
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner {}
.banner h5 {}
.banner.banA {}
.banner.banB {}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*促銷方案*/
.news_part {    padding: 60px 20px;}

/*
.news_part .title_i_box h4 {
    color: var(--TitleColor);
    font-weight: bold;
}
.news_part .title_i_box h4:before {
    content: "NEWS";
    display: block;
    font-family: var(--SFontEN);
}
.news_list ul li p {
    color: var(--FontColor);
}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 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;}

/*顏色*/
.products-list .more {    border: 1px solid #ADA17E;    color: #ADA17E;}
.products-list .item a:hover .more {    background: #ADA17E;}

/*購物車/內層＝＝*/
.product_info_page .main_part {    width: 90%;}

/*按鈕顏色*/
.inquiry_a1{background: #cbc0a0;}
.inquiry_a2{background: #bdab77;}
.inquiry_a3{background: #ADA17E;}
.inquiry_a1:hover, .inquiry_a2:hover, .inquiry_a3:hover{background: #222;}
.lastaction {    color: #ADA17E;    background-color: #f2f2f2;}
.nextaction {    background-color: #ADA17E;}
.lastPage {    background: #ADA17E;}

/*商品側邊規格*/
.product_info li .txt_box {    color: #222222;    width: 100%;}
.sidebarBtn .sp_price {   color: #cbc0a0;}
.mobile_product_name{font-size: 24px;}

/*相關推薦*/
.prod_related h6 span:before{font-size: 28px;}



@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) {
    .payment_form {    flex-direction: column;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.subbox_item { width:100%;}
*/
/*3個一排
.blog_subbox {    grid-template-columns: repeat(3, 1fr);} 
*/


/*文章內層*/
/*文章內層封面
.articel_mainPic img{display: none;}*/
.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;}


/* = = = 相簿-分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*.overlay {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background: rgba(0, 0, 0, .3);
    left: 0;
    top: 0;
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
    transition: all .4s 100ms cubic-bezier(.42,0,.58,1);
}*/

/*相本分類全版面 ( 限制最寬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 (max-width:1024px) {
    :root {
        --f54: 48px;
        --f48: 40px;
        --f42: 38px;
        --f40: 36px;
        --f36: 32px;
        --f32: 28px;
        --f28: 24px;
        --f24: 22px;
        --f22: 20px;
    }
}


@media screen and (max-width: 768px) {
    :root {
        --f54: 36px;
        --f48: 32px;
        --f42: 30px;
        --f40: 28px;
        --f36: 26px;
        --f32: 24px;
        --f28: 20px;
        --f24: 20px;
        --f20: 18px;
        --f18: 17px;
        --f17: 16px;
    }

/* 開啟手機板下方按鈕所需設定
#bottom_menu {display: block; } */
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:60px;}
#bottom_menu li:first-child:nth-last-child(2), #bottom_menu li:first-child:nth-last-child(2) ~ li {
    width: 50%;
    display: block;
    float: left;
}

/*漢堡選單*/
.stellarnav.mobile.left > ul {    border: none;}
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu {
    background: var(--SubColor); 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);}
.blog_subbox {    grid-template-columns: repeat(2, 1fr);}
}


@media (max-width:600px) {
    :root {
        --f54: 32px;
        --f48: 28px;
        --f42: 26px;
        --f40: 24px;
        --f36: 22px;
        --f32: 20px;
        --f28: 18px;
        --f24: 18px;
        --f22: 18px;
        --f20: 17px;
        --f18: 16px;
        --f17: 15px;
        --f16: 15px;
    }
    ul.show-list, .pic-list {    grid-template-columns: 1fr;}

        /*聯絡我們表單*/
    .contact_form li {    grid-gap: 0;}
    .contact_form li .form__label {    background: transparent;}
}

@media (max-width:375px) {
    :root {
        --f54: 28px;
        --f48: 24px;
        --f42: 22px;
        --f40: 20px;
        --f36: 18px;
        --f32: 18px;
        --f28: 17px;
        --f24: 17px;
        --f22: 17px;
        --f20: 16px;
        --f18: 15px;
    }
}


