@charset "utf-8";

/*
關於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;}
*/


/*上方選單右邊設定 臉書/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 {}
*/

/*滾輪*/
::-moz-selection {
    background-color: #ebeff2;
    color: #0d0d0d;
}

::selection {
    background-color: #ebeff2;
    color: #0d0d0d;
}

body {
    overflow: overlay;
    overflow-x: hidden;
}

&::-webkit-scrollbar {
    background: #0d0d0d;
    width: 7px;
}

&::-webkit-scrollbar-button {
    display: none;
    background: #0d0d0d;
    border-radius: 0;
}

&::-webkit-scrollbar-track-piece {
    background: #0d0d0d;
}

&::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #ebeff2;
}

&::-webkit-scrollbar-track {
    box-shadow: transparent;
}
/*========================================*/

/*TOP*/
#to_top {
    bottom: 10px;
    left: auto;
    right: 15px;
    letter-spacing: 0.1em;
    color: #ffc557;
    background: unset;
    box-shadow: unset;
    border-radius: 0;
    font-family: "Lora", serif;
}
#to_top i.top {
    height: 15px;
}
#to_top i.top:before, #to_top i.top:after {
    height: 35px;
    transform: rotate(0deg) translateY(-100%);
    left: 45%;
    background: #ffc557;
}
#to_top i.top:after {
    width: 5px;
    height: 5px;
    left: 35%;
}
/*=======================================*/

.pageIndex .stellarnav > ul > li {
  opacity: 0;
  transform: translateY(-20px);
  animation: nav-down 1.2s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
  animation-delay: calc(0.11s * var(--i));
}

.pageIndex .stellarnav > ul > li:nth-of-type(1) { --i: 1; }
.pageIndex .stellarnav > ul > li:nth-of-type(2) { --i: 2; }
.pageIndex .stellarnav > ul > li:nth-of-type(3) { --i: 3; }
.pageIndex .stellarnav > ul > li:nth-of-type(4) { --i: 4; }
.pageIndex .stellarnav > ul > li:nth-of-type(5) { --i: 5; }
.pageIndex .stellarnav > ul > li:nth-of-type(6) { --i: 6; }
.pageIndex .stellarnav > ul > li:nth-of-type(7) { --i: 7; }

@keyframes nav-down {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*大圖*/
#content_main {  margin: 0;}
.bannerindex { position: static; height: auto;}
.swiper-banner { position: static; margin: 0; height: auto;}
.swiper-slide { padding: 0px !important;}
.swiper-slide img {}
.swiper-pagination { display: none;}
.swiper-slide { position: relative;}
.bannerindex .swiper-slide.swiper-slide-active:before {content: ""; position: absolute;  z-index: 999; pointer-events: none;}
.bannerindex .swiper-slide.swiper-slide-active:after {content: ""; position: absolute;  z-index: 999; pointer-events: none;}
@media screen and (max-width: 768px) {.bannerindex { padding:0; margin:0;}}

.bannerindex .swiper-slide:after {
    background: url(https://pic03.eapple.com.tw/huaisen/A00-03.png);
    background-size: contain;
    background-repeat: no-repeat;
    bottom: 32%;
    left: 29%;
    width: 41% !important;
    height: 32% !important;
    background-position: left;
    padding-bottom: calc(100% / 1 * 0.12);
    content: ""; position: absolute;  z-index: 1; pointer-events: none;
    -webkit-animation: scale-up-center1 0.7s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: scale-up-center1 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
@keyframes fade-in-left{0%{transform:translateX(-80px);opacity:0}100%{transform:translateX(0);opacity:1}}

.bannerindex .swiper-slide:before {
    -webkit-animation: scale-up-center1 0.7s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: scale-up-center1 1.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation-delay: 1.2s;
    background: url(https://pic03.eapple.com.tw/huaisen/A00-04.png);
    background-size: contain;
    background-repeat: no-repeat;
    bottom: 47%;
    left: 40%;
    width: 28% !important;
    height: 32% !important;
    background-position: left;
    padding-bottom: calc(100% / 1* 0.12);
    content: ""; position: absolute;  z-index: 1; pointer-events: none;
}

@keyframes scale-up-center1 {
  0% { opacity: 0;transform: scale(0.6); }
  60% { opacity: 1;transform: scale(1.15); }
  80% { transform: scale(0.97); }
  100% { transform: scale(1); }
}

/*特效END*/

/*購物車旁邊ICON*/
.tp_links a {
    font-size: 14px;
    color: #ffffff;
    margin: 0 0 0 5px;
    width: 30px;
    height: 30px;
    background: #595959;
    border-radius: 999em;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.tp_links a:hover {
    transform: translateY(-2px) scale(1.05);
    background: #000;
}

/*=======================*/
/*線條*/
.header_area::before {
    content: "";
    display: block;
    width: 0%;
    height: 1px;
    background-color: var(--logo02);
    box-shadow: 1px 1px 0px #ffc557;
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 1s;
    z-index: 1;
}
.header_area.sticky::before {
    width: 100%;
    transition: all 2s;
    animation: line-breath 4.5s ease-in-out infinite;
}

@keyframes line-breath {
  0%   { width: 0%;   opacity: 0.4; }
  25%  { width: 100%; opacity: 1;   }
  50%  { width: 100%; opacity: 1;   }
  75%  { width: 0%;   opacity: 0.4; }
  100% { width: 0%;   opacity: 0.4; }
}
/*==========================*/

.pageIndex .header_area {background: #f0f0f000;position: fixed;transition: all 0.7s;}
.header_area {background: #ffffff;position:sticky;transition: all 0.7s;}
.header_area.sticky {background: rgb(255 255 255 / 54%);transition: all 0.7s;backdrop-filter: blur(5px);box-shadow: 0 2px 4px rgb(0 0 0 / 18%);}

.nav-header {max-width: 165px;transition: all 0.3s;}
.header_area.sticky .nav-header {max-width: 180px;}

.header_area .navigation {padding:0;transition: all 0.5s;}
.header_area.sticky .navigation {padding: 15px 0;opacity: 1;transition: all 0.5s;transition-delay: 0.5s;}
.pageIndex .header_area .nav-brand img {filter: contrast(0) brightness(100);transition: all 0.5s;}
.pageIndex .header_area.sticky .nav-brand img {filter:none;transition: all 0.5s;}


.pageIndex .stellarnav > ul > li > a {color: #ffffff;}
.stellarnav > ul > li > a {font-family: "Noto Serif TC", serif;color: #000000;letter-spacing: 0.3rem;font-size: 16px;font-weight: 600;transition: all 0.5s;}
.header_area.sticky .stellarnav > ul > li > a {color:#000;transition: all 0.5s;}

.stellarnav li {padding: 0 0 0 35px;}

/*那根白色*/
.stellarnav>ul>li::before {
    content: "";
    width: 1px;
    height: 41%;
    background-color: #000000;
    position: absolute;
    top: 47%;
    right: -13px;
    transform: translate(0, -50%);
    transition: all 0.5s;
}
.pageIndex .stellarnav>ul>li::before {background-color: #ffffff;}
.header_area.sticky .stellarnav>ul>li::before {background-color: #000000;transition: all 0.5s;}

.stellarnav>ul>li:hover:before {background-color: #ffc557;transition: all 0.5s;}
.header_area.sticky .stellarnav>ul>li:hover:before {background-color: #ffc557;transition: all 0.5s;}
/*====================*/

.stellarnav li.has-sub > a:after {display: none;}
.stellarnav > ul > li.has-sub > a {padding-right: 0;}


.stellarnav > ul > li:hover > a {color: #ffc557;transition: all 0.5s;}
.header_area.sticky .stellarnav > ul > li:hover > a {color: #ffc557;transition: all 0.5s;}


/*下拉選單*/

.stellarnav ul ul {background: #00000094;top:45px;left: 0;
}
.stellarnav li li {padding: 0;border: 1px #ffffff solid;}
.stellarnav li li.has-sub > a {font-size: 14px;}
.stellarnav li a {color: #ffffff;letter-spacing: 0.2rem; transition: all 0.5s;}
.stellarnav li a:hover {color: #000; transition: all 0.5s;}
.stellarnav ul>li>ul>li a:hover:before {
    width: 100%;
    transition: all 0.5s;
}
.stellarnav ul>li>ul>li a::before {
    content: "";
    display: block;
    width: 0%;
    height: 100%;
    background-color: #ffffff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.5s;
}

/*footer*/
.footer {position: relative;overflow: hidden;/* height: 400px; */}


.copy {background: #000000;font-size: 11px;color: #ffffff;padding: 3px 0;position: absolute;bottom: 0;right: 0%;width: 100%;}
.copy a {color: #ffffff;}
.copy a:hover {color: #ffffff;}

/*banner*/
.banner {
    background: #54829112;
    aspect-ratio: 9 / 3.5;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 75vh;
    background: var(--SubColor02);
}
.banner:before {
    content: '';
    animation: bgScroll 30s 
linear infinite;
    width: 110%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-image: url(https://pic03.eapple.com.tw/huaisen/B00-01.jpg);
    background-repeat: no-repeat;
    background-position: center;
}
@keyframes bgScroll {
    0% {        -webkit-transform: translateX(0);        transform: translateX(0);    }
    50% {        -webkit-transform: translateX(-5%);        transform: translateX(-5%);    }
    100% {        -webkit-transform: translateX(0);        transform: translateX(0);    }
}
/*產品型錄*/
#content {
    background: url(https://pic03.eapple.com.tw/huaisen/B00-02.jpg) no-repeat center center;
    background-size: cover;
}
.path {display: none;}
.product-layer-two li a {border: 1px #ffffff00 solid;background: #f3f3f300;color: #211613;font-family: "Noto Serif TC", serif;font-weight: 500;
}
.product-layer-two li li:hover > a {color: #ffc557;}
.product-layer-two li li:hover > a:before {background: #ffc557;}
.product-layer-two > li {border-bottom: 1px solid #0a0a0a;}

.products-list .name {color: #0a0a0a;font-family: "Noto Serif TC", serif;font-weight: 500;}
.products-list .more {border: 1px solid #ffc557;color: #ffc557;}
.products-list .item a:hover .more {background: #ffc557;letter-spacing: 0px;}

.products-list .pic img {transition: 1s;}
.products-list .item:hover .pic img {transform: scale(1.05);transition: 1s;}

.sidebarBtn {border: 5px #dddddd00 solid;}
.inquiry_a1 {background: #ffc557;}
.inquiry_a2 {background: #8cc63f;}
.inquiry_a1:hover, .inquiry_a2:hover, .inquiry_a3:hover {letter-spacing: 0px;background: #0a0a0a;}

.pd_tabTitle li a {font-family: "Noto Serif TC", serif;font-weight: 500;font-size: 20px;}
.pd_tabTitle li.activeTab a {color: #0a0a0a;}
.pd_tabTitle li.activeTab::after {height: 1px;background: #0a0a0a;}

.prod_related {background: #0a0a0a;}
.prod_related h6 span:before {color: #ffffff;font-family: "Noto Serif TC", serif;font-weight: 500;}
.lastPage {font-size: 14px;color: #ffffff;background: #ffc557;padding: 5px 13px;transition: .5s;}
.lastPage:hover {color: #0a0a0a;background: #ffffff;transition: .5s;}

/*作品精選*/
.show-list .show_name {color: #0a0a0a;font-family: "Noto Serif TC", serif;font-weight: 500;font-size: 16px;height: 26px;text-align: center;}
.show-list .item:hover .show_name {color: #ffc557;}

.show-list .item a:before {
    content: "VIEW +";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-bottom: 2px solid #ffffff;
    font-size: 15px;
    max-width: 100px;
    color: #fff;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all .5s;
    transition-delay: 0s;
    z-index: 9999;
}
.show-list .item a:hover:before {
    opacity: 1;
    height: 25px;
    padding-bottom: 10px;
    transition: all .5s;
    transition-delay: .3s;
    z-index: 100;
}

.overlay {
    width: 0;
    background: rgb(0 0 0 / 51%);
    backdrop-filter: blur(10px);
    transform: scale(1);
    z-index: 99;
}
.show-list .item:hover .overlay {width: 100%;}
.subalbum-menu h2 {color: #000000;letter-spacing: 1px;}
.other_subalbum li a p {color: #000;font-size: 18px;letter-spacing: 1px;}
.other_album_choice li {background: #000000;}




/* 商品下拉超過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 { 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_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;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.subbox_item { width:100%;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本分類全版面 ( 限制最寬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: none;}
.footer.with_shopping_mode {/* padding:30px 0 10px; */}
#to_top { bottom:60px;}
}

@media screen and (max-width: 600px) { 
}

.footer .center {
    width: 90%;
    padding: 50px 0 50px;
    font-family: "Noto Sans TC", sans-serif;
}


