@charset "utf-8";
:root {
  --MainColor: #314e7d; /*網站主要色系*/
  --SubColor: #eab66b; /*網站輔助色系1*/
  --SubColor2: #658781; /*網站輔助色系2*/
  --SFont:"Noto Sans TC", sans-serif;/*特殊字體*/
  --pd100:100px 0;
  --m100:100px;
  --m50:50px;
  --m30:30px;
  --f72:72px;
  --f48:48px;
  --f40:40px;
  --f36:36px;
  --f32:32px;
  --f28:28px;
  --f24:24px;
  --f22:22px;
  --f20:20px;
  --f18:18px;
  --f17:17px;
  --f16:16px;
}
@media (max-width:1024px) {
:root{
  --m50:40px;
  --m30:25px;
  --f72:60px;
  --f48:40px;
  --f40:36px;
  --f36:32px;
  --f32:28px;
  --f28:24px;
  --f24:22px;
  --f22:20px;
}
}
@media (max-width:768px) {
:root{
  --pd100:70px 0;
  --m100:70px;
  --m50:30px;
  --m30:20px;
  --f72:48px;
  --f48:32px;
  --f40:28px;
  --f36:26px;
  --f32:24px;
  --f28:20px;
  --f24:20px;
  --f20:18px;
  --f18:17px;
  --f17:16px;
}
}
@media (max-width:600px) {
:root{
  --pd100:50px 0;
  --m100:50px;
  --m50:25px;
  --f72:40px;
  --f48:28px;
  --f40:24px;
  --f36:22px;
  --f32:20px;
  --f28:18px;
  --f24:18px;
  --f22:18px;
  --f20:17px;
  --f18:16px;
  --f17:15px;
  --f16:15px;
}
}
@media (max-width:375px) {
:root{
  --f72:32px;
  --f48:24px;
  --f40:20px;
  --f36:18px;
  --f32:18px;
  --f28:17px;
  --f24:17px;
  --f22:17px;
  --f20:16px;
  --f18:15px;
}
}

body{font-family: var(--SFont);}
.main_part{width: 90%;max-width: 1500px;padding:  var(--m100) 0;}
.show_content{padding: 0;}


/*****************************************/

/*HEADER*/
.header_area {    background: var(--MainColor);}
.header_area.sticky {    background: var(--MainColor);}
.main_header_area .container{ max-width: 95%;  }
.stellarnav > ul > li{padding: 0 10px;}
.stellarnav > ul > li > a{margin: 0;transition:all 0.3s;color: #fff;}
.stellarnav > ul > li:hover > a{color: var(--SubColor);}
.stellarnav > ul > li > a b:nth-child(2){font-size: 85%;    font-weight: bold;}
.stellarnav li.has-sub > a:after{border-top-color:#fff;transition:all 0.3s;}
.stellarnav li.has-sub:hover > a:after{border-top-color:var(--SubColor);}

.me_tp_features{display: none;}

.navigation{grid-template-columns: 150px 1fr;align-items: center;}
.stellarnav ul ul {    background: #233d67; border: 1px solid #233d67;}
.stellarnav li li{ border-color: var(--MainColor); transition:all 0.3s;}
.stellarnav li li:hover{background: var(--MainColor);}
.stellarnav li li a{color: #fff;}

/*電腦LOGO*/
.nav-brand {}
.nav-brand img {    display: block;}

.nav-header {    grid-row: unset;}

.footer_logo{max-width: 200px;}


/*手機LOGO
.nav-brand-m {}
*/

/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;}

.pageIndex .swiper-slide:before {
    width: 80%;
    position: absolute;
    z-index: 2;
    left: 5%;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    font-size: 4vw;
}
.pageIndex .swiper-slide:nth-child(1):before { content:"久榮實業，信賴首選" ;bottom: 20%;}
.pageIndex .swiper-slide:nth-child(2):before { content:"30年專業堅持" ;bottom: 70%;}
.pageIndex .swiper-slide:after {
  content:"以客為本 ‧ 以質求存 ‧ 以優取勝 ‧ 以精圖新";
    width: 80%;
    position: absolute;
    z-index: 2;
    left: 5%;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    font-size: 2.25vw;
}
.pageIndex .swiper-slide:nth-child(1):after{top: 80%;}
.pageIndex .swiper-slide:nth-child(2):after{top: 30%;}


/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}

@media screen and (max-width: 600px) {
.pageIndex .swiper-slide:before{font-size: var(--f48);  }
.pageIndex .swiper-slide:after{font-size: var(--f20);  }
.pageIndex .swiper-slide:nth-child(1):before { bottom: 37.5%;}
.pageIndex .swiper-slide:nth-child(2):before { bottom: 62.5%;}
.pageIndex .swiper-slide:nth-child(1):after{top: 62.5%;}
.pageIndex .swiper-slide:nth-child(2):after{top: 37.5%;}
}
@media screen and (max-width: 420px) {
.pageIndex .swiper-slide:before{font-size: var(--f40);  }
.pageIndex .swiper-slide:after {  content:"以客為本 ‧ 以質求存\A以優取勝 ‧ 以精圖新";white-space:pre;font-size: var(--f18);}
}

/* 商品下拉超過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個但次分類直接顯示-結束 */

/*FOOTER*/
.footer{background: var(--MainColor);padding-top: var(--m50);}
.footer .center {    max-width: 1400px;width: 90%;}
.footer_info{padding: var(--m50) 0 0;border-top: 1px solid #ccc;}
.footer_info li p , .footer_info a{color: #fff;}
.footer_menu {    display: grid;    grid-template-columns: repeat(auto-fit, minmax(min(100px,100%), 1fr));    gap: 5px;}
.footer_menu a {    margin: 0;  text-align: center; padding: 5px; transition: all 0.3s;background: transparent;}
.footer_menu a:hover {    color: var(--MainColor);background:#fff;}
.copy {    background: #25416d;    color: #fff;    border: none;    padding: 10px 0;}
.copy a{    color: #fff;transition:all 0.3s;}


.box_link{display: none;}

.footer_info li:nth-child(1) {    padding-top: 0;}
.linksBtn{background-color: var(--SubColor);}



.animated-arrow {    background: var(--SubColor);}
.contact_le_map a , .contact_form li.last cite{background: var(--SubColor);}
.products-list .more{color: var(--MainColor);border-color: var(--MainColor);}
.products-list .item a:hover .more {    background: var(--SubColor);border-color: var(--SubColor);}

.i_blog_b a{border-radius:50px;}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner {
    background-image: url(https://pic03.eapple.com.tw/jiurong96/sBanner_01.jpg);
    background-size: cover;
    width: 95%;
    max-width: 1800px;
    margin: var(--m50) auto 0;
    height: 35vw;
    max-height: 500px;
    min-height: 250px;
    border-radius: var(--m30);position: relative;
}
.banner h5 {
    color: #fff;
    letter-spacing: 0.1em;
    font-size: var(--f36);
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}
.banner h5:before {
    display: block;
    font-size: var(--f20);
    letter-spacing: 0.05em;
    line-height: 120%;
    color: #eab66b;
}

.services_page .banner{background-image: url(https://pic03.eapple.com.tw/jiurong96/sBanner_02.jpg);}
.banner.banblog{background-image: url(https://pic03.eapple.com.tw/jiurong96/sBanner_03.jpg);}
.product_page .banner, .product_info_page .banner{background-image: url(https://pic03.eapple.com.tw/jiurong96/sBanner_04.jpg); background-position: 70%;}
.contact_page .banner{background-image: url(https://pic03.eapple.com.tw/jiurong96/sBanner_05.jpg);}


.services_page .banner h5:before {    content: "SERVICE";}
.banner.banblog h5:before {    content: "NEWS";}
.product_page h5:before , .product_info_page h5:before {    content: "PRODUCT";background-position: 70%;}
.contact_page h5:before {    content: "CONTACT";}



.path{display: none;}

@media screen and (max-width: 1440px) {
.banner {    width: 90%;}}
@media screen and (max-width: 1024px) {
.banner{ width: 100%;border-radius:0 0 var(--m30) var(--m30);margin: 0;  }
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 by shint at 2023.1.5  */
.product_page .main_part { max-width:1500px;}

.products-list .pic{overflow: hidden;border-radius:var(--f20);}
.products-list .name{font-size: var(--f16);color: #222;height: auto;margin: 15px auto 10px;}

.product-layer-two li a{font-size:  var(--f16);padding:   7px 10px;}
.product-layer-two > li > a {    color: var(--MainColor);transition:all 0.3s;background:  transparent;}
.product-layer-two > li > a:hover{background:  #f3f3f3 ;}
.product-layer-two > li.active > a {    font-weight: bold;    border: 1px var(--MainColor) solid;color: #fff; background:var(--MainColor);}




/* .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: 5px 0;}
.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;}

.prod_related{padding: var(--m100) 0;}
.related_list{max-width:1400px ;width: 90%;}
.prod_related h6{margin-bottom: var(--m50);}
.prod_related h6 span:before {    font-size: var(--f36);    text-align: center;    color: #314e7d;    line-height: 1.2;}
.lastPage{    background: var(--SubColor);border-radius:50px;}



@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) {
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */



/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
h4.blog_category_title{font-size: var(--f28);}


/*側邊*/
.blog_le .accordion > li{transition:all 0.3s;}
.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category {    background: var(--MainColor) !important;}
.submenu a:hover {    background: var(--SubColor);}
.blog_back a.article_btn_back {    background: var(--SubColor);}

.blog_subbox {    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));}

.subbox_item{border-bottom: 1px solid #ccc;transition:all 0.3s;padding-bottom: 10px;}
.subbox_item:hover{border-bottom-color: var(--SubColor);}
.subbox_item a{grid-template-columns: 1fr;}

.subbox_item a:before , .subbox_item a:after{content:none;}

.blog_list_le{border-radius:var(--f20);overflow: hidden;}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本分類全版面 ( 限制最寬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;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

.contact_content{padding: 0;}

.contact_content .information_left{display: none;}
.contact_content .information_right{width: 100%;padding: 0;}

.contact_form{display: grid;grid-template-columns: repeat(3,1fr);gap:var(--f20);}
.contact_form li{grid-template-columns:1fr;gap:5px;}
.contact_form li .form__label{max-width: 100%;text-align: left;font-size: var(--f17);}
.contact_form li .form__label .star {    padding: 0 5px 0 0;}

.contact_form li:nth-child(7)  {   grid-column: 1 / -1;}
.contact_form li.last {   grid-column: 1 / -1;justify-content: center;}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */




@media screen and (max-width: 1440px) {

}

@media screen and (max-width: 1200px) {

}

@media screen and (max-width: 1024px) {
.nav-header {    max-width: 130px;}

}
@media screen and (max-width: 980px) {

}

@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
.footer.with_shopping_mode { padding:var(--m100) 0 55px; }
#to_top { bottom:60px;}

.footer_logo {    margin: auto;}
.box_link{ justify-content: center;  }

.stellarnav .menu-toggle:after{ color: #fff;  }
.stellarnav .menu-toggle span.bars span{ background: #fff; }
.stellarnav.mobile ul , .stellarnav.mobile.left .close-menu{ background: var(--MainColor); color: #fff; }
.stellarnav.mobile li.open{ background: #233d67; }
.stellarnav .icon-close:before , .stellarnav .icon-close:after , .stellarnav a.dd-toggle .icon-plus:before , .stellarnav a.dd-toggle .icon-plus:after{ border-color: #fff; }
.stellarnav.mobile {        top: 10px;}
.stellarnav > ul > li > a b:nth-child(2) {    display: block;}


.sidebarBtn h2{display: none;}


.contact_form{ grid-template-columns: repeat(2,1fr); gap:15px;}

}

@media screen and (max-width: 600px) {
.contact_form{ grid-template-columns: 1fr;gap:10px; }
.contact_form li .form__label{ background: transparent; }
}




