@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;}
*/
.header_area {
    padding: 10px 10px 5px;
    background: #fff;
    box-shadow: 0px 0px 30px #000000ab;
}
.header_area.sticky { background: rgba(255, 255, 255, .9);}
.navigation { grid-template-columns: 450px 1fr;}
.tp_links { padding: 0 10px; display: none;}


/*電腦LOGO*/
.nav-header, .nav-brand { width: 100%; max-width: unset;}
.nav-brand { text-align: center; padding: 5px 20px;}

/*手機LOGO
.nav-brand-m {}
*/

@media screen and (max-width: 1080px) {
.navigation { grid-template-columns: 400px 1fr;}
}
@media screen and (max-width: 1024px) {
.me_tp_features { display: none;}
.header_area { padding: 10px 10px 0;}
.nav-brand { max-width: 360px; padding: 8px 0;}
}
@media screen and (max-width: 768px) {
.header_area { padding: 10px 10px 5px;}
.nav-brand { padding: 5px 0;}
}
@media screen and (max-width: 570px) {
.nav-brand { padding: 5px 0 5px 30px; width: 95%;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*按鈕字體設定*/
.stellarnav ul { margin-top: 5px;}
.stellarnav li { padding: 0 .5vw;}
.stellarnav > ul > li > a, .stellarnav.desktop li.has-sub li a, .stellarnav li li a {
    color: #111;
    font-size: 15px;
    letter-spacing: .03em;
    line-height: 35px;
    height: 35px;
}
.stellarnav > ul > li > a:hover, .stellarnav li li a:hover, .stellarnav.desktop li.has-sub li a:hover {
    color: #aa0012;
    font-weight: bold;
    transform: scale(1);
}

.stellarnav ul ul {
    margin: 0;
    background: #fffffff0;
}
.stellarnav li:nth-child(3) li:first-child {
    display: none;
}
.stellarnav.desktop li.has-sub li a, 
.stellarnav li li a {
	font-size: 14px;
    line-height: 34px;
    margin: 0;
	height: auto;
    line-height: 20px;
    padding: 6px 10px;
}
.stellarnav li li:hover {
    background: #f5f3f2;
}

.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu {
    background: #f5f3f2;
}
.stellarnav.mobile li.open {
    background: #e1ded4;
}
.stellarnav.mobile > ul > li {
    border-bottom: 1px #f5f3f2 solid;
}
.stellarnav.mobile li.open li:hover a {
    color: #aa0012;
}

.tp_links { display: none;}

@media screen and (max-width: 1024px) {
.stellarnav ul { margin: 0;}
}



/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*footer設定*/
.footer {
    background: linear-gradient(to top, #ffffff 50%, #e6e6e6 100%);
	background: -moz-linear-gradient(to top, #ffffff 50%, #e6e6e6 100%);
    background: -webkit-linear-gradient(to top, #ffffff 50%, #e6e6e6 100%);
    background: -ms-linear-gradient(to top, #ffffff 50%, #e6e6e6 100%);
	margin-top: 35px;
}
.footer:before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 25px;
    background: #fff url(https://pic03.eapple.com.tw/dachengrescue/line_RY.gif) repeat-x;
    top: -30px;
}
.footer .center {
    max-width: 1320px;
}
.footer_logo {
    max-width: fit-content;
    padding: 10px 0;
}
.footer_info {
    grid-template-columns: 360px 1fr;
    grid-gap: 0 50px;
    padding: 0 65px 0 30px;
}
.footer_info li:nth-child(2) {
    padding-bottom: 0;
}
.footer_info li:nth-child(1), .list_before { display: inline-flex; flex-wrap: wrap;}
.list_before { flex-direction: column;}
.footer_info li p { /*min-width: 200px;*/ padding-right: 25px;}
.footer_info li p, .footer_info li p a { color: #111;}
.footer_info li p a:hover { color: #aa0012; font-weight: bold; letter-spacing: .056em;}
.footer_info li p.add a:hover { letter-spacing: .07em;}
p.phone { order: -1;}
p.fax { order: 4;}
p.line { order: 5;}
p.add { order: 6;}
p.phone, p.tel2, p.fax { }
p.phone:after, p.tel2:after, p.tel:after { content: "林老闆"; padding-left: 5px;}
.footer_info li p.fax:before { content: '電話：';}
.info_FAX:before { content: "電話";}
.footer_info li p.tel2:before, .footer_info li p.phone:before, .footer_info li p.tel:before { content: '救援專線：';}
.info_TEL2:before, .info_PHONE:before, .info_TEL:before { content: "救援專線";}

/*footer聯絡資訊隱藏*/
p.taxid, li.info_TAXID, p.mail, li.info_MAIL, .box_link { display: none;}

/*footer按鈕設定*/
.footer_menu a {
    background: #111;
    color: #fff;
    border: 0;
    border-radius: 0;
    padding: 7px 12px;
	margin: 0 4px 8px 0;
}
.footer_menu a:hover { 	
	background: #aa0012;
}

/*版權欄位設定*/
.copy { background: #111;}
.copy a { color: #888;}
.copy a:hover { color: #b3b3b3;}


/* 跨欄位+置中 11版必放 */
.footer_info div:nth-of-type(3) { grid-column: 1 / 3; text-align: center; margin-top: 10px;}

@media screen and (max-width: 1300px) {
.footer_info li p { min-width: unset;}
}
@media screen and (max-width: 1065px) {
.footer_info li:nth-child(1) { max-width: 430px;}
}
@media screen and (max-width: 860px) {
.footer_info { grid-template-columns: 320px 1fr; grid-gap: 0 20px; padding: 0 25px;}
}
@media screen and (max-width: 768px) {
.footer { margin-top: 25px;}
.footer:before { height: 15px; top: -20px; background-size: contain;}
.footer_logo { max-width: 360px; padding: 18px 10px;}
.footer_info { grid-template-columns: 1fr; justify-items: center;}
.footer_info div:nth-of-type(3) { grid-column: unset;}
.footer_info ul { text-align: center;}
.footer_info li:nth-child(1) { justify-content: center;}
.footer_info li p { min-width: 200px;}

/* 開啟手機板下方按鈕所需設定 */
.footer.with_shopping_mode { padding: 30px 0 55px;}
#to_top { bottom: 65px;}

/*手機板下方按鈕 換其它顯示文字*/
#bottom_menu li a em { display: none;}
#bottom_menu li:nth-child(n):after { font-size: 12px; line-height: 10px; display: block; margin: 0 0 15px;}
#bottom_menu li:nth-child(1) { order: -2;}
#bottom_menu li:nth-child(4) { order: -1;}
#bottom_menu li:nth-child(1):after { content: '回首頁';}
#bottom_menu li:nth-child(n+2):after { content: "林老闆";}
#bottom_menu li:nth-child(5):after { content: 'LINE';}
}

@media screen and (max-width: 600px) { 
.copy { padding-top: 8px;}
}
@media screen and (max-width: 420px) { 
.footer_logo { width: 90%; padding: 10px 0;}
.footer_info { padding: 0;}
.footer_info li { padding: 0 15px;}
.footer_info li p { line-height: 1.4; padding: 0 0 6px;}
.footer_info li p a { display: inline-block;}
}
@media screen and (max-width: 300px) { 
.footer_info li p { min-width: unset;}
.footer_info li p.tel2:before, .footer_info li p.phone:before, .footer_info li p.tel:before { display: block;}
p.phone:after, p.tel2:after, p.tel:after { display: inline-block; padding: 0 5px;}
.footer_info li p.tel2:before, .footer_info li p.tel:before { display: none;}
.footer_info li p.phone:before { margin: 8px 0 3px;}
.footer_info li p.phone { padding-bottom: 3px;}
.footer_info li p.tel { padding-bottom: 3px;}
.footer_info li p.tel2 { padding-bottom: 10px;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 

@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
.swiper-banner .swiper-slide img { width: 120vw; max-width: 120vw;}
.swiper-banner .swiper-slide:nth-child(1) img { margin-left: -22vw;}
.swiper-banner .swiper-slide:nth-child(2) img { margin-left: 0;}
}
@media screen and (max-width: 600px) {
.swiper-banner .swiper-slide img { width: 140vw; max-width: 140vw;}
.swiper-banner .swiper-slide:nth-child(1) img { margin-left: -44vw;}
}
@media screen and (max-width: 450px) {
.swiper-banner .swiper-slide img { width: 170vw; max-width: 170vw;}
.swiper-banner .swiper-slide:nth-child(1) img { margin-left: -70vw;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*內頁BANNER 設定*/
.banner {
    background-position: center 40%;
    background-size: cover;
    padding: 7vw 1vw;
}
.banner h5 {
	color: #fff;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
}
.banner.banA, .banner.banB, .banner.banC, .banner.banD, .banner.banE, .banner.banF, 
.banner.banblog { background-image: url(https://pic03.eapple.com.tw/dachengrescue/ban01.jpg);}

@media screen and (max-width: 1024px) {
.banner { background-size: 112%; background-position-y: 35%; padding: 9vw 1vw;}
}
@media screen and (max-width: 600px) {
.banner { background-size: 170%; padding: 16vw 1vw;}
}



/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*編輯頁 共同設定*/
.other_select_page .promotion_title, 
.other_select_page .other_promotion, 
.other_select_page ul.page { display: none;}


/*功能頁 共同設定*/
.path p {
    font-weight: 600;
    color: #111;
}
.path p a {
    font-weight: 400;
}
.path p a:hover {
    color: #aa0012;
}

.accordion li .link a {
    color: #111;
    font-size: 15px;
}
h5.blog_le_t { font-weight: 500; color: #dfb200;}
.blank_letter, h5.blog_le_t em, .subalbum-menu h2, .news_related h6 span, 
.product_menu_list>h5, .prod_related h6 span, .prod_related h6 span:before, 
.module_i_album .title_i_box h4 {
    font-family: Noto Sans TC;
    font-size: 26px;
    font-weight: 700;
    color: #111;
    letter-spacing: 1px;
}
h4.blog_category_title {
    color: #111;
    margin: 0;
}
.animated-arrow { background: #521f08c7; border: 1px #521f08 solid;}
	
@media screen and (max-width: 600px) {
.blank_letter, h5.blog_le_t em, .subalbum-menu h2, .news_related h6 span, 
.product_menu_list>h5, .prod_related h6 span, .prod_related h6 span:before, 
.module_i_album .title_i_box h4 { font-size: 18px;}
h4.blog_category_title, .promotion_title h2 { font-size: 21px;}
}
@media screen and (max-width: 450px) {
}


/*最新消息 文章設定*/
.module_i_news {
    padding: 100px 20px;
}
.module_i_news .title_i_box h4 {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 2px;
    text-align: center;
    font-family: Noto Sans TC;
    font-size: 24px;
    font-weight: 500;
    color: #ff7b00;
    letter-spacing: 1px;
    border-top: solid 2px;
    border-bottom: solid 2px;
}
.blog_box {
    padding: 1.5vw;
}
h5.blog_le_t span {
    margin-left: 15px;
}
.blog_subbox {
    grid-gap: 20px;
}
.blog_list_le {
    max-width: unset;
}
.blog_le {
    padding: 0 3vw 0 0;
}
.blog_subbox, .module_i_news ul {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-gap: 2vw;
	justify-items: center;
}
.subbox_item a, 
.module_i_news li a {
    display: flex;
    flex-direction: column;
	grid-gap: 5px;
}
.subbox_item a:before, 
.module_i_news li a:before {
    font-family: "微軟正黑體";
    font-size: 12px;
    color: #fff;
    font-weight: 900;
    letter-spacing: .01em;
    line-height: 1.3;
    bottom: 60%;
    right: 40%;
    width: 60px;
    padding: 14px 0;
    border-radius: 50%;
    text-align: center;
    background: #982525;
}
.subbox_item a:after, 
.module_i_news li a:after {
    border: 0;
	background: #f5f2edb0;
}
.blog_list_le, .i_blog_le {
    background: #fffbf66b;
    border: solid 1px #937f6bb8;
    padding: 7px;
}
.blog_list_ri, .i_blog_ri { padding: 3px;}
.blog_list_ri h5, .i_blog_ri h5 {
    font-size: 20px;
    font-weight: 600;
    color: #111;
}
.blog_list_ri p, .i_blog_ri p { color: #111; line-height: 1.5;}

.blog_shareData { margin: -45px 0 20px;}
.toShareNews b { font-size: 13px; font-weight: normal; color: #222;}

.blog_back a.article_btn_prev, .blog_back a.article_btn_next { }
.blog_back a.article_btn_back, .lastPage { background: #958377;}

.news_related, .prod_related { background: #ffffff85;}
.news_related h6 span:before { color: #333;}
.news_related_list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));}
.news_related_list li a { border: 1px solid #e5e0d8; padding: 10px 10px 2px;}
.news_related_list li a p { line-height: 1.4; padding: 6px 0;  text-align: left;}

@media screen and (max-width: 1350px) {
.module_i_news ul { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));}
}
@media screen and (max-width: 1200px) {
.blog_subbox, .module_i_news ul { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));}
.blog_list_ri h5, .i_blog_ri h5 { font-size: 19px;}
}
@media screen and (max-width: 1100px) {
.subbox_item, .module_i_news li { border: 0;}
}
@media screen and (max-width: 1024px) {
.news_related_list { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));}
.blog_subbox, .module_i_news ul { grid-gap: 4vw;}
}
@media screen and (max-width: 850px) {
.blog_subbox { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));}
}
@media screen and (max-width: 768px) {
.blog_subbox { margin: auto; max-width: 610px;}
.module_i_news ul { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin: auto; max-width: 650px; grid-gap: 10px;}
}
@media screen and (max-width: 640px) {
.news_related_list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));}
}
@media screen and (max-width: 450px) {
.blog_subbox { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));}
}
@media screen and (max-width: 380px) {
.blog_subbox { grid-template-columns: 1fr; max-width: 240px;}
.subbox_item a { grid-template-columns: 1fr;}
.news_related_list { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));}
.module_i_news ul { grid-template-columns: 1fr; max-width: 240px;}
}



/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*救援實錄 相簿設定*/
.other_subalbum li a p {
    font-size: 17px;
    font-weight: 500;
    text-align: center;
    color: #111;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* 商品下拉超過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) {
}

