@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 {}
*/

/*手機LOGO
.nav-brand-m {}
*/

/* 商品下拉超過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:none; color:#006345;}
.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:#006345;}

.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;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

#content {background: #f6f5f3;}

/*首頁-header*/
.tp_links {display: none;}
body.pageIndex .header_area {
  position: fixed;
  width: 100%;
  top: 0px;
  padding:0;
  background: unset;
}
body.pageIndex .header_area.sticky {background:none;}
body.pageIndex .main_header_area {
    padding: 10px;
    background: linear-gradient(to bottom, rgba(34, 34, 34, 0.5) 0%, rgba(173, 161, 126, 0) 100%);
    box-shadow:none;
}
body.pageIndex .header_area.sticky .main_header_area {
    padding: 10px;
    background: #FFF;
    clip-path: circle(0% at 50% 50%);
    animation: stickyCircleExpand 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
@keyframes stickyCircleExpand {
    0% {
        clip-path: circle(0% at 50% 50%);
        filter: brightness(2);
    }
    100% {
        clip-path: circle(150% at 50% 50%);
        filter: brightness(1);
    }
}
@media screen and (max-width: 980px) {
body.pageIndex .header_area {
  position: sticky;
  width: 100%;
  top: 0px;
  padding:0;
  background: unset;
}
body.pageIndex .main_header_area {
    padding: 10px;
    background: #FFF;
    clip-path: circle(0% at 50% 50%);
    animation: stickyCircleExpand 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes stickyCircleExpand {
    0% {
        clip-path: circle(0% at 50% 50%);
        filter: brightness(2); 
    }
    100% {
        clip-path: circle(150% at 50% 50%);
        filter: brightness(1);
    }
}
}
@media screen and (max-width: 768px) {
body.pageIndex .header_area {
    position: sticky;
    width: 100%;
    top: 0px;
    padding: 0px;
    background: unset;
    z-index: 1000;
}

body.pageIndex .main_header_area {
    padding: 10px;
    background: #FFF;
    overflow: visible !important; 
    clip-path: none !important;
    animation: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
}
 
/*首頁-logo*/
.nav-brand {margin: 10px auto;}
body.pageIndex .nav-brand img {
  width: 75%; 
  height: auto;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  will-change: width;
  backface-visibility: hidden;
  transform: translateZ(0); 
}
body.pageIndex .nav-brand img {content: url("https://pic03.eapple.com.tw/chainfong/LOGO(白)-06.png");}
body.pageIndex .header_area.sticky .nav-brand img {
  width: 50%;
  content: url("https://pic03.eapple.com.tw/chainfong/LOGO-05.png");}

@media screen and (max-width: 980px) {
body.pageIndex .nav-brand img {
  content:none;
  width: 50%; 
  height: auto;
}
}
/*首頁-選單*/
body.pageIndex .me_tp_features {margin-top: 20px;}
body.pageIndex .stellarnav > ul > li > a {
  font-size: 25px;
  margin: 0 30px;
  color: #ffffff;
  font-family: 微軟正黑體;
  font-weight: bolder;
  letter-spacing: 1px; 
  transition: letter-spacing 0.4s ease, transform 0.4s ease; 
  cursor: pointer;
  text-shadow: 0px 2px 4px rgb(0 0 0 / 86%);
}

.stellarnav > ul > li > a:hover{}
body.pageIndex .header_area.sticky .stellarnav > ul > li > a {
  color: #000000;
  text-shadow: none;

}
@media screen and (max-width: 980px) {
body.pageIndex .me_tp_features {margin-top: 0;}
body.pageIndex .stellarnav > ul > li > a {
  font-size: 25px;
  margin: 0 30px;
  color: #000000;
  font-family: 微軟正黑體;
  font-weight: bolder;
  letter-spacing: 1px; 
  transition: letter-spacing 0.4s ease, transform 0.4s ease; 
  cursor: pointer;
  text-shadow:none;
}
}
@media screen and (max-width:768px){body.pageIndex .stellarnav > ul > li > a {text-shadow:none;}}

/*header*/
.header_area {padding:0;}
.main_header_area {
    padding: 10px;
    background: #FFF;
    clip-path: circle(0% at 50% 50%);
    animation: stickyCircleExpand 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
@keyframes stickyCircleExpand {
    0% {
        clip-path: circle(0% at 50% 50%);
        filter: brightness(2); 
    }
    100% {
        clip-path: circle(150% at 50% 50%);
        filter: brightness(1);
    }
}
.stellarnav li.has-sub > a:after{border-top: 6px solid #ffd400;}
@media screen and (max-width: 768px) {
.header_area {
  position: sticky;
  width: 100%;
  top: 0px;
  padding: 0;
  background: unset;
  z-index: 1000;
}
.main_header_area {
  padding: 10px;
  background: #FFF;
  overflow: visible !important; 
  clip-path: none !important;
  animation: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
}
/*logo*/
.nav-brand img {
  width: 50%; 
  height: auto;
}

/*選單*/
.me_tp_features {margin-top: 20px;}
.stellarnav > ul > li > a {
  font-size: 25px;
  margin: 0 30px;
  color: #000000;
  font-family: 微軟正黑體;
  font-weight: bolder;
  letter-spacing: 1px; 
  transition: letter-spacing 0.4s ease, transform 0.4s ease; 
  cursor: pointer;
}
.stellarnav > ul > li > a:hover{}

  
/*選單下拉*/
.stellarnav li li > a , .stellarnav li li.has-sub > a {
  color: #000000;
  background: #ffffff;
  transition: all 0.3s ease;
}
.stellarnav li li:hover > a , .stellarnav li li.has-sub:hover > a{
  color: #000000;
  background: #ffd800
}
.stellarnav li li {border: 1px #ffffff solid;}/*間隔線*/
.stellarnav ul ul:hover {background: #ffffff;}
@media screen and (max-width: 980px){.me_tp_features {margin-top:0;}}
/*大圖*/

.swiper-pagination-bullet-active {
    background:#ffd800;
}
@media screen and (max-width: 570px) {
.bannerindex {
    aspect-ratio: 4 / 5; 
    height: auto;       
}
.swiper-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;}
.swiper-banner .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 
body.pageIndex .swiper-slide:nth-child(1) img {
  content: url("https://pic03.eapple.com.tw/chainfong/1507-10.jpg") !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: left center !important;
  display: block !important;
}
body.pageIndex .swiper-slide:nth-child(2) img {
  content: url("https://pic03.eapple.com.tw/chainfong/2507-11.jpg") !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: left center !important;
  display: block !important;
}
}

/*menu*/
.stellarnav .menu-toggle:after {
  content: 'MENU';
  font-size: 13px;
  color: #000000;
  font-family: 微軟正黑體;
  font-weight: bolder;
}
.stellarnav .menu-toggle span.bars span {
  width: 35px;
  height: 3px;
  background: #000000;}

.stellarnav.mobile.left .close-menu {
  background: #ffd554;
  color: #000000;
  font-family: 微軟正黑體;
  font-weight: bolder;
}
.stellarnav a {color: #000000}
.stellarnav .icon-close:after {border-bottom: solid 3px #000000;}
.stellarnav .icon-close:before {border-bottom: solid 3px #000000;}
#bottom_menu li a{color: #000000;}
@media screen and (max-width: 768px) {ul#bottom_menu {display: flex;}}
@media screen and (max-width: 570px){.stellarnav .menu-toggle {padding: 15px 10px;}}

/*首頁*工程實績-商品*/
.i_prod_tit span {
  font-size: 30px;
  font-family: 微軟正黑體;
  font-weight: bolder;
}
.i_prod_tit span::after{
  content: "Product";
  font-size: 40px;
  font-family: 微軟正黑體;
  font-weight: bolder;
  font-style: normal;
  color: #424251;
  display: block; 
  margin-top: 5px; 
}

.pageIndex .products-list {grid-template-columns: repeat(3, 1fr);}
.animated-arrow {
  background: #000000;
  color: #ffffff;
  border-radius: 50px;
}

.prod_part {padding: 70px 20px;}
.pageIndex .productsListBox, .productsListBox.swiper{padding: 50px 0;}
@media screen and (max-width: 570px){.pageIndex .products-list {grid-template-columns: repeat(1, 1fr);}}
/*工程實績-商品*/
.product-layer-two li li{background: none;}
.product-layer-two li li a {background: none;}
.product-layer-two > li {border-bottom: 0px dotted #ccc;}
.product-layer-two li ul li:not(:last-child) {
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;           
    margin-bottom: 0;           
}
.product-layer-two li a {
  color: #000000;
  background: #f5f5f2;
  padding: 15px 16px;
  font-size: 16px;
  font-family: 微軟正黑體;
  font-weight: bolder;
  border: 0px #fff solid;
}
.products-list .name {
  font-size: 18px;
  color: #000000;
  font-family: 微軟正黑體;
  font-weight: bolder;
}
.products-list .name .numbering {
  font-size: 15px;
  color: #000000;
}
.products-list .more {
  border: 0px solid #ADA17E;
  color: #000000;
  background: #ffd554;
  border-radius: 8px;
}
.products-list .item a:hover .more {
  background: #000000;
  color: #ffffff;
}

@media screen and (max-width: 600px){
body.product_page
,body.blog_page .main_part {padding:0;}
.products-list{grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));}
}
@media screen and (max-width: 450px){
body.product_page
,body.blog_page .main_part {padding:0;}
}
               
/*工程實績-商品內頁*/
a.pdinfo_line {background-color: #347f25;}
a.pdinfo_tel {background-color: #000000;}
.pd_tabTitle li a {
  font-size: 25px;
  font-family: 微軟正黑體;
  font-weight: bolder;
}
.prod_related h6 span:before {
  content: '更多相關產品';
  font-size: 25px;
  color: #000000;
}
.related_list li a p {
  font-size: 18px;
  font-family: 微軟正黑體;
  font-weight: bolder;
  line-height: 3;
}
.lastPage {
  background: #000000;
  border-radius: 8px;
}
/*首頁*資訊分享-文章*/
.module_i_news .title_i_box h4{
  font-size: 30px;
  font-family: 微軟正黑體;
  font-weight: bolder;
}
.module_i_news .title_i_box h4::after{
  content: "News";
  font-size: 40px;
  font-family: 微軟正黑體;
  font-weight: bolder;
  font-style: normal;
  color: #424251;
  display: block; 
  margin-top: 5px; 
}
.module_i_news ul {grid-template-columns: repeat(3, 1fr);}
.i_blog_ri h5 {
  font-size: 25px;
  font-family: 微軟正黑體;
  font-weight: bolder;
}
.i_blog_ri p {font-size: 16px;}
@media screen and (max-width: 570px){.module_i_news ul {grid-template-columns: repeat(1, 1fr);}}
/*資訊分享-文章*/
.blog_subbox {display: inline-block;}
.subbox_item {
  display: inline-block;
  width: 100%;
  margin-bottom: 15px;
  position: relative;
  vertical-align: top;
}
.blog_list_ri h5 {
  font-size: 25px;
  font-family: 微軟正黑體;
  font-weight: bolder;}
.blog_list_ri em {font-size: 16px;}
.blog_list_ri p {
  font-size: 16px;
  color: #000000;
}

.subbox_item a:before {
  content: 'READ MORE 看更多';
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  font-size: 25px;
  color: #000000;
  bottom: auto;
  right: auto;
  font-family: 微軟正黑體;
  font-weight: bolder;
}
.subbox_item a:after{border: 0px #ddd solid;}
.blog_le .accordion > li:hover .link a, .blog_le .accordion > li.on_this_category .link a{color: #000000 !important;}
.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category{background: #ffd554 !important;}

/*聯絡我們*/
.contact_content {
  padding: 20px 10px;
  max-width: 1200px;
  margin: 0 auto;
}
body.contact_page .main_part {max-width: 100%;}
.info_TEL:before {content: "林經理手機";}
.info_TEL2:before {content: "曾經理手機";}
.info_ADD2:before {content: "營業時間";}
.info_TEL:before, .info_TEL2:before, .info_PHONE:before, .info_LINE:before, .info_FAX:before, .info_TAXID:before, .info_MAIL:before, .info_ADD:before, .info_ADD2:before{
  width: 66px;
  text-align: right;
}
.list_before.info li {
    padding-left: 88px;
}
@media screen and (max-width: 570px){.list_before.info li {padding-left: 75px;}}

/*聯絡我們-表單*/
.blank_letter.f:after {
  content:"免費預約諮詢！請詳細填寫需求，我們將盡快與您聯繫～";
  display: block;
  width: 100%;
  color: #db5000;
  font-size: 16px;
  position: absolute;
  text-wrap:nowrap;
  left: 0;
  letter-spacing: 0;
  padding: 10px 0 20px 30px;
}
.contact_form {margin-top: 50px;}
.contact_form li.last blockquote, .contact_form li.last cite{
  border-radius:8px;
  color: #000000;}
.contact_form li.last cite {
  background: #000000;
  color: #ffffff;
  border-radius: 8px;
}
.form__insert .tncode {background: linear-gradient(to bottom, #ffffff 0%, #e1e1e1 100%);}
@media screen and (max-width: 600px){.contact_form li .form__label {background: rgb(249 234 184 / 39%);}}

/*to_top*/
@media screen and (max-width: 768px) {
#to_top {
  right: 11px;
  left: auto;
  background: #ffd554;
  font-family: 微軟正黑體;
  font-weight: bolder;
}
}
/*footer*/
.box_link {display: none;}
.footer {background: #ffffff;}
.footer_info li p {color: #000000;}
.footer_info li p a{color: #000000;}
.footer_menu a {
  border:0;
  background: #ffd554;
  color: #000000;
  padding: 10px 15px;
  border-radius: 50px;
}
.copy{
  color: #000000;
  border-top: 1px #000000 solid;
}
.copy a {color: #000000;}
.footer_info li p.tel:before {content: '林經理手機：';}/*原電話*/
.footer_info li p.tel2:before {content: '曾經理手機：';}/*原電話2*/
.footer_info li p.add2:before {content: '營業時間：';}/*原地址2*/

@media screen and (max-width: 980px){.footer_info {grid-template-columns: 200px 1fr;}}
@media screen and (max-width: 600px){
.footer_info {
  grid-template-columns: 1fr;
  padding: 0 20px;
}
}

/*footer-LOGO*/
.footer_logo img {max-width: 75%;}

@media screen and (max-width: 768px){.footer_logo img {max-width: 40%;}}

/*內頁BANNER 設定*/
.banner {
  background-repeat: no-repeat;
  height: 300px;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.banner h5 {
  color: #000000;
  font-family: 微軟正黑體;
  font-weight: bolder;
  letter-spacing: 1.5px;
  font-size: 30px;
  text-shadow: 0 0 12px #ffffff;
  filter: none;
}
.banner.banA {}
.banner.banB {display: none;}
.banner.banC {background: url(https://pic03.eapple.com.tw/chainfong/10662.jpg) center top}
.banner.banD {}
.banner.banE {}
.banner.banF {background: url(https://pic03.eapple.com.tw/chainfong/1794.jpg) center top}
.banner.banblog {background: url(https://pic03.eapple.com.tw/chainfong/10613.jpg) center top}
.banner.banblog.banner h5{
  color: #ffffff;
  text-shadow: 0 0 12px #000000;
}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.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: block; }
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:68px;}
}

@media screen and (max-width: 600px) { 
}





