@charset "utf-8";
/* = = = 網站全域設定 = = = = = = = = = = = = = = = = = = = = = = = = = = =*/

/*色彩與文字大小*/
:root {
    --MainColor: #EC5F27; /*網站主要色系*/
    --SubColor_1: #CBC5B9; /*網站輔助色系 1*/
    --SubColor_2: #E4E4E4; /*網站輔助色系 2*/
    --SubColor_1Bg: #CBC5B922; /*網站輔助色系1 背景*/
    --TextColor_1: #eeeeee; /*內文顏色 1*/
    --TextColor_2: #dddddd; /*內文顏色 2*/
    --TextColor_3: #cccccc; /*內文顏色 3*/
    --TextColor_4: #000000; /*內文顏色 4*/
    --TextColor_4t: #000000f2; /*內文顏色 4半透明*/
    --TextColor_5: #aaaaaa; /*內文顏色 5*/
    --BorderColor: #888888; /*框線顏色*/
    --SFontE: "微軟正黑體", sans-serif; /*特殊字體 英文/全域字體*/
    --SFontC: "Noto Serif TC", "微軟正黑體", sans-serif; /*特殊字體 中文*/
    --f48: 48px;
    --f40: 40px;
    --f36: 36px;
    --f32: 32px;
    --f28: 28px;
    --f24: 24px;
    --f22: 22px;
    --f20: 20px;
    --f18: 18px;
    --f17: 17px;
    --f16: 16px;
    --f15: 15px;
    --f14: 14px;
}
@media (max-width:1024px) {
  :root{
    --f48: 40px;
    --f40: 36px;
    --f36: 32px;
    --f32: 28px;
    --f28: 24px;
    --f24: 22px;
    --f22: 20px;
  }
}
@media (max-width:768px) {
  :root{
    --f48: 32px;
    --f40: 28px;
    --f36: 26px;
    --f32: 24px;
    --f28: 20px;
    --f24: 20px;
    --f20: 18px;
    --f18: 17px;
    --f17: 16px;
  }
}
@media (max-width:600px) {
  :root{
    --f48: 28px;
    --f40: 24px;
    --f36: 22px;
    --f32: 20px;
    --f28: 18px;
    --f24: 18px;
    --f22: 18px;
    --f20: 17px;
    --f18: 16px;
    --f17: 15px;
  }
}
@media (max-width:375px) {
  :root{
    --f48: 24px;
    --f40: 20px;
    --f36: 18px;
    --f32: 18px;
    --f28: 17px;
    --f24: 17px;
    --f22: 17px;
    --f20: 16px;
    --f18: 15px;
  }
}

/*反白顏色*/
::-moz-selection{ background-color: var(--SubColor_1); color: var(--TextColor_4);}
::selection{ background-color: var(--SubColor_1); color: var(--TextColor_4);}
.linkBox_Open + span i { transform: rotate(45deg);}

/*滾輪*/
::-webkit-scrollbar { width: 7px;}/*滾輪寬度*/
::-webkit-scrollbar-button { background: transparent; border-radius: 4px; height: 0;}/*滾輪與視窗上下的間距*/
::-webkit-scrollbar-track-piece { background: transparent;}/*滾輪軌道背景*/
::-webkit-scrollbar-thumb { border-radius: 4px; background-color: var(--MainColor); border: 1px solid var(--BorderColor);}/*滾輪樣式*/
::-webkit-scrollbar-track { box-shadow: transparent;}/*滾輪軌道樣式*/

/*Main*/
body { font-family: var(--SFontE);}
.services_page .main_part, .pageIndex .main_part, .other_page .main_part, .other_select_page .main_part, .contact_page .main_part { width: 100%; max-width: 100%; margin: auto; padding: 0px; margin-top: -1px;}
.contact_page .contact_editbox { padding: 0;}
.main_part { max-width: 1400px;width: 90%; margin: auto; padding: 100px 0;}
.show_content { max-width: 100%; width: 100%; padding: 0px; top: -1px;}
.edit_part { max-width: 100%; margin: 0; padding: 0px;}

.services_page .edit, .contact_page .main_part { margin-top: -120px;}

/*中英文轉換*/
.tp_lang { display: inline-block;}
.tp_lang a { border: 1px solid var(--BorderColor); padding: 3px; background: #00000088; transition: .3s ease-in-out;}
.tp_lang a:hover { background: var(--MainColor); transition: .3s ease-in-out;}
.tp_lang a::before { background: transparent;}

/*頁面內容*/
div#page { background: #111111;}
#content_main, #content { background: transparent;}
.module_i_news { }
.path { display: none;}
.other_page #content, .other_select_page #content { min-height: auto;}
.product_page #content { position: relative;}
.product_page a[name] { position: absolute; top: -155px;}

/*SubMenu*/
/*.me_tp_features { display:none;}隱藏整列*/
.shop_search_btn { background: var(--MainColor);}
.tp_links a { display: none;}/*隱藏選單按鈕連結*/
.tp_links a:hover { color: var(--MainColor);}

.me_tp_features { margin: 0; padding: 7px 0;}
.me_tp_features a { color: var(--TextColor_1);}/*購物車搜尋欄*/

/*.box_search { display:none;}隱藏購物車搜尋欄*/
.me_tp_features a.tp_btn_cart { display: none;}/*隱藏購物車*/
.me_tp_features a.tp_btn_notice { display: none;}/*隱藏匯款通知*/

#bottom_menu li:first-child:nth-last-child(3) { width: 100%;}
#bottom_menu > li:not(#bottom_menu > li:first-child) { display: none;}/*手機板隱藏購物車、匯款通知*/

/*按鈕*/
.animated-arrow { background: var(--MainColor); border-radius: 10px; transition: .3s ease-in-out;}
.animated-arrow:hover { background: var(--SubColor_1); transition: .3s ease-in-out;}

/*頁碼*/
.page { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; width: 100%; margin: 40px auto;}
.page li { display: flex; margin: 3px; width: 30px; height: 30px; line-height:30px; align-items: center; justify-content: center;}
.page li.activeN { background: var(--TextColor_3); border-radius: 100%; color: var(--TextColor_4); font-weight: 600;}
.page li a { display: block; width: inherit; height: inherit; line-height: inherit; padding: 0; color: #ccc; transition:all 0.3s;}
.page strong, .page a:hover { background: var(--MainColor); border: 1px solid var(--MainColor);}

/*--RWD---------------------------------------*/

@media screen and (max-width: 1024px) {
  .me_tp_features { margin: 7px 0 0;}
}

@media screen and (max-width: 768px) {
  .services_page .edit, .contact_page .main_part { margin-top: 0;}
}


/* = = = 預設解除背景輪播 = = = = = = = = = = = = = = = = = = = = = = = = = */

#content_main { margin:0;}
.bannerindex { position:static; 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;}
}

/* = = = Index banner = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */


/*--RWD---------------------------------------*/

@media screen and (max-width: 768px) {
/* 行動裝置相容性調整 大圖調整 */
.swiper-slide img { animation-fill-mode: none; -webkit-animation-fill-mode: none;}
}

/* = = = banner = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */

.banner { position: relative; top: -120px; background: no-repeat top center; height: 500px; background-size: cover; background-image: url(https://pic03.eapple.com.tw/twhongyi/banB.png);}

.banner h5 { display: inline-block; position: absolute; bottom: 50px; right: 4%; color: var(--TextColor_1); text-shadow: 0 0 10px #00000088; letter-spacing: 5px; font-weight: 300; font-size: var(--f32);}
.banner h5::before {
    content: "";
    position: absolute;
    top: -20px;
    right: 4%;
    font-size: var(--f16);
    text-align: right;
}
.banner.banA h5::before { content: "NEWS.";}/*促銷方案*/
.banner.banB h5::before { content: "SERVICE.";}/*服務項目*/
.other_page .banner h5::before { content: "OTHER.";}/*其他編輯頁*/
.banner.banC h5::before { content: "CONTACT.";}/*聯絡表單*/
.banner.banE h5::before { content: "ALBUM.";}/*相簿管理*/
.banner.banF h5::before { content: "PRODUCT.";}/*店家商品*/
.banner.banblog h5::before { content: "NEWS.";}/*文章管理*/

.banner.banA { background-image: url(https://pic03.eapple.com.tw/twhongyi/banA.png);}/*促銷方案*/
.banner.banB { background-image: url(https://pic03.eapple.com.tw/twhongyi/banB.png);}/*服務項目*/
.other_page .banner.banB { background-image: url(https://pic03.eapple.com.tw/twhongyi/banB_o1.png);}/*其他編輯頁*/
.banner.banC { background-image: url(https://pic03.eapple.com.tw/twhongyi/banC.png);}/*聯絡表單*/
.banner.banE { background-image: url(https://pic03.eapple.com.tw/twhongyi/banE.png);}/*相簿管理*/
.banner.banF { background-image: url(https://pic03.eapple.com.tw/twhongyi/banF.png);}/*店家商品*/
.banner.banblog { background-image: url(https://pic03.eapple.com.tw/twhongyi/banblog.png);}/*文章管理*/

/*--RWD---------------------------------------*/

@media screen and (max-width: 768px) { 
    .banner { height: 300px; top: 0;}
    .banner h5 { font-size: 28px; bottom: 20px;}
}
@media screen and (max-width: 600px) { .banner h5 { font-size: 24px;}}

/* = = = header = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */

/*header*/
.header_area { position: fixed; width: 100%;}
.pageIndex .header_area { position: fixed; width: 100%; top: 0; left: 0;}
.pageIndex .header_area.sticky { position: fixed;}
.header_area .main_header_area { background: #000000cc; backdrop-filter: blur(5px); max-width: 1600px; margin: 10px auto 0; transition: .3s ease-in-out;}
.header_area.sticky .main_header_area { max-width: 100%; margin: 0 auto; transition: .3s ease-in-out;}
.main_header_area .container { max-width: 1200px;}

/*logo*/
.header_area .nav-brand { position: relative; margin: 25px 0 0; max-width: 280px; width: 100%;}
.header_area .nav-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(https://pic03.eapple.com.tw/twhongyi/logo.svg) no-repeat center;
  background-size: contain;
}

/*menu*/
.navigation { padding: 20px 0 0 300px;}
.stellarnav ul { display: grid; align-items: center; grid-template-columns: repeat(5, 1fr); width: 70%; margin: 0 0 0 auto;}
.stellarnav > ul > li { text-align: center;}
.stellarnav > ul > li > a, .stellarnav li.has-sub > a { font-weight: 600; position: relative; padding: 0; color: var(--TextColor_1); font-size: var(--f16);}
.stellarnav > ul > li:hover > a, .stellarnav > ul > li.has-sub:hover > a { color: var(--MainColor);}
.stellarnav li > a b:last-of-type { font-family: var(--SFontE); font-weight: 900; font-size: 20px;}/*第二格名稱*/
.stellarnav > ul > li.has-sub > a { padding-right: 20px;}
.stellarnav li.has-sub > a::after { border-top: 6px solid  var(--TextColor_5);}/*下拉箭頭*/
.stellarnav li.has-sub:hover > a::after { border-top: 6px solid var(--MainColor);}/*下拉箭頭*/

/*menu hover*/
.stellarnav > ul > li { position: relative;}
.stellarnav > ul > li::after { content: ""; position: absolute; bottom: 0; right: 0; width: 0; height: 2px; background: var(--MainColor); transition: all 0.3s;}
.stellarnav > ul > li:hover::after { left: 0; width: 100%; transition: all 0.3s;}

/*--下拉頁面---------------------------------------*/

/*外框*/
.stellarnav ul ul, .stellarnav ul ul ul { background: #000000ee; box-shadow: 0 5px 20px #00000022; backdrop-filter: blur(10px);}
.stellarnav > ul > li.drop-left > ul { right: auto; left: 50%; transform: translateX(-50%);}
.stellarnav li.drop-left ul ul { left: 100%; right: auto;}
.stellarnav li li { border: 1px solid var(--BorderColor); margin-bottom: 0;}

/*右拉箭頭*/
.stellarnav li li.has-sub > a::after { border-left: 6px solid  var(--TextColor_5);}
/*.stellarnav li li.has-sub:hover > a::after { border-left: 6px solid var(--TextColor_4); border-top: 6px solid transparent;}*/

/*項目*/
.stellarnav li.has-sub > ul > li.has-sub > a, .stellarnav li.has-sub > ul > li > a { color: var(--TextColor_5); padding: 7px 20px 7px 5px; font-family: "微軟正黑體", sans-serif;}
.stellarnav li li > a, .stellarnav li li.has-sub > a { color:  var(--TextColor_5); font-size: 15px; font-weight: normal; padding: 7px 5px; border-left: 1px solid transparent; background: transparent; transition: all 0.3s;}
.stellarnav li li:hover > a, .stellarnav li li.has-sub:hover > a { color: var(--MainColor); padding-left: 10px; transition: all 0.3s;}
/*.stellarnav li ul:hover li > a, .stellarnav li ul li.has-sub ul:hover li > a { opacity: .5; transition: .3s ease-in-out;}*/
.stellarnav li ul li , .stellarnav li ul li.has-sub ul li { transition: .3s ease-in-out;}
.stellarnav li ul li:hover , .stellarnav li ul li.has-sub ul li:hover { transition: .3s ease-in-out;}
.stellarnav li ul li:hover > a, .stellarnav li ul li.has-sub ul li:hover > a { opacity: 1; color: var(--TextColor_1); background: #EC5F2788; transition: .3s ease-in-out;}

/*--手機板選單---------------------------------------*/

/*選單*/
.stellarnav .menu-toggle span.bars span { background: var(--MainColor);}
.stellarnav .menu-toggle:after { color: var(--MainColor);}

/*展開*/
.stellarnav.mobile.left > ul { background: var(--TextColor_4t);}
.stellarnav.mobile > ul > li { border-bottom: 1px solid var(--BorderColor);}
.stellarnav.mobile > ul > li > a { padding: 20px 30px; border-bottom: none; display: block;}
.stellarnav.mobile > ul > li.has-sub > a { padding: 20px 30px 20px 36px;}
.stellarnav.mobile > ul > li.has-sub > a.dd-toggle { padding: 0;}
.stellarnav.mobile > ul > li.has-sub > ul > li > a { color: var(--TextColor_1); padding: 20px 30px 20px 40px;}
.stellarnav.mobile > ul > li.has-sub > ul > li > a:hover { color: var(--TextColor_4);}
.stellarnav.mobile > li > a { border-bottom: none;}

/*close*/
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu { background: var(--MainColor); color: var(--TextColor_4);}
.stellarnav .icon-close:after, .stellarnav .icon-close:before { border-bottom: solid 3px var(--TextColor_4);}

.stellarnav.mobile > ul > li > a.dd-toggle { top: 14px;}
.stellarnav a.dd-toggle .icon-plus {width: 0; top: -7px; left: -4px;}
.stellarnav li.open > a.dd-toggle .icon-plus { width: 0; top: -5px; left: 6px;}
.stellarnav a.dd-toggle .icon-plus:before, .stellarnav a.dd-toggle .icon-plus:after { border-bottom: 3px solid var(--TextColor_5);}
.stellarnav li.open > a.dd-toggle .icon-plus:before, .stellarnav li.open > a.dd-toggle .icon-plus:after { border-bottom: solid 3px var(--MainColor);}
.stellarnav > ul > li.has-sub:hover a.dd-toggle { background: transparent;}

/*下拉*/
.stellarnav.mobile li.open { background: var(--SubColor_1Bg); padding: 0;}
.stellarnav.mobile li.open > ul > li { margin-bottom: 0; border-bottom: 1px solid var(--BorderColor);}
.stellarnav.mobile li.open li.open { padding: 0; background: var(--TextColor_4t);}
.stellarnav.mobile ul { background: transparent;}

/*--RWD---------------------------------------*/

@media screen and (max-width: 1600px) { 
  .header_area .main_header_area { margin: 0 auto;}
}

@media screen and (max-width: 1440px) { 
    .swiper-pagination { display: none;}
    .stellarnav ul { width: 100%; margin: auto;}
}

@media screen and (max-width: 1024px) { 
    /*header*/
    .pageIndex .header_area { position: relative;}
    .main_header_area .container { max-width: 100%;}

    /*logo*/
    .header_area .nav-brand { max-width: 200px; margin: 10px 0 0; transition: .3s ease-in-out;}

    /*menu*/
    .header_area .navigation, .header_area.sticky .navigation, .navigation { padding: 0;}
    .stellarnav { padding: 0 0 10px;}
    .stellarnav.mobile > ul > li > a.dd-toggle, .stellarnav.mobile > ul > li.has-sub a.dd-toggle, .stellarnav.mobile > ul > li.has-sub > a { padding: 0 30px;}
    .stellarnav li.has-sub > a::after { top: 49%;}/*下拉箭頭*/
}

@media screen and (max-width: 768px) {

  .header_area .main_header_area { backdrop-filter: none; margin: 0 auto;}

  /*logo*/
  .nav-header { position: static;}

  /*menu*/
  .stellarnav ul ul, .stellarnav > ul > li:hover > ul > li:hover > ul { box-shadow: none;}
  .stellarnav li li { border: none;}
  .stellarnav > ul > li > a b:last-child { display: none;}
  .stellarnav.mobile > ul > li > a.dd-toggle, .stellarnav.mobile > ul > li.has-sub a.dd-toggle, .stellarnav.mobile > ul > li.has-sub > a { padding: 20px 30px;}
  .stellarnav.mobile > ul > li > a.dd-toggle { top: 3px;}
  .stellarnav li.has-sub > a::after { top: 53%;}/*下拉箭頭*/
  .stellarnav li li > a, .stellarnav li li.has-sub > a, .stellarnav li li.has-sub.drop-left a { padding: 10px 30px; border-left: none;}
  .stellarnav li li:hover > a, .stellarnav li li.has-sub:hover > a { border-color: transparent;}
  .stellarnav.mobile ul ul, .stellarnav.mobile ul ul ul { background: var(--SubColor_1Bg); backdrop-filter: none;}
}

/* = = = footer = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */

.footer { background: var(--TextColor_4);}
.footer .center { width: 96%; max-width: 1200px;}
.footer_info { position: relative; z-index: 3; padding: 0;}
.footer_info ul { padding-top: 22px; width: calc(100% - 300px);}
.footer_info li{padding-top: 0;}
.footer_info li:nth-child(1) { width: 100%; position: relative;}
.footer_info li:nth-child(2) { width: 100%; margin-top: 20px;}

/*logo*/
.footer_logo { position: relative; width: 100%;}
.footer_logo::before {
  content: "";
  position: absolute;
  border-bottom: 1px solid var(--BorderColor);
  width: calc(100% - 300px);
  right: 0;
  bottom: 30%;
}
.footer_logo a { position: relative; display: inline-block; max-width: 100%; width: 280px;}
.footer_logo a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(https://pic03.eapple.com.tw/twhongyi/logo.svg) no-repeat center;
  background-size: contain;
}
.footer_logo img { max-width: 100%;}

/*footer info*/
.footer_info li p { color: var(--TextColor_1); line-height: 2; display: inline-block; width: 49%;}
.footer_info li p a { color: inherit;}

/*footer menu*/
.footer_menu { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; width: 88%;}
.footer_menu a { margin: 0; text-align: center; padding: 5px; background: transparent; color: var(--TextColor_2); letter-spacing: 1px; border: 1px solid var(--BorderColor); transition: all 0.3s;}
.footer_menu a:first-child { display: none;}
.footer_menu a:hover { background: var(--MainColor); color: var(--TextColor_1);}

/*icon*/
.box_link { display: grid; /*grid-template-columns: 132px auto;*/ grid-gap: 3px 10px; width: max-content; left: calc(100% + 25px); top: 0;}

.box_link a {  
  display: flex;
  align-items: center;
  color: var(--TextColor_1);
  border-radius: 0;
  padding: 8px 10px;
  margin-bottom: 9px;
  font-size: var(--f16);
  border: 1px solid var(--BorderColor);
  transition: all 0.3s;
}
.box_link a:hover { background: transparent; opacity: .5; transition: all 0.3s;}
.box_link i.fa-brands { display: flex; flex-direction: row; width: max-content; align-items: center; color: var(--TextColor_1);}
.box_link i.fa-brands::after, .box_link .me_tp_line::after {
  content: "";
  font-size: 11px;
  color: var(--TextColor_1);
  letter-spacing: 2px;
  padding-left: 8px;
}

.box_link i.fa-brands.fa-whatsapp::after { content: "CONTACT US";}
.box_link i.fa-brands.fa-facebook::after { content: "FACEBOOK";}
.box_link i.fa-brands.fa-instagram::after { content: "INSTAGRAM"; }
.box_link .fa-envelope::after {
  content: "E-Mail";
  font-size: 11px;
  color: var(--TextColor_1);
  letter-spacing: 2px;
  padding-left: 8px;
}
.box_link .fa-line:before {display: none;}

/*box_link順序調整*/
.box_link a.me_tp_fb { order: 2;}
.box_link a.me_tp_line {
  order: 1;
  background: url(https://pic03.eapple.com.tw/twhongyi/line_qr_code.jpg) no-repeat, top center;
  background-size: contain;
  background-position-x: center;
  justify-content: center;
  align-items: flex-end;
  padding: 130px 10px 0;
  grid-row: 1 / 4;
}
.box_link a.me_tp_mail { order: 4;}
.box_link a.me_tp_ig { order: 3;}

/*版權*/
.copy { position: relative; z-index: 2; color: var(--TextColor_1); border: none; padding: 0 0 60px; text-align: right; width: 96%; margin: 0 auto; max-width: 1200px;}
.copy a{ color: var(--TextColor_1); transition:all 0.3s;}

/*--RWD---------------------------------------*/

@media screen and (max-width: 1024px) {
  .footer_info li p { width: 100%;}

  .footer_menu { display: grid; grid-template-columns: repeat(3, 1fr);}
}

@media screen and (max-width: 768px) {
  /*footer*/
  .footer_info { justify-content: center;}
  .footer_logo { text-align: center;}
  .footer_logo::before { bottom: -15px; right: auto; left: 50%; transform: translateX(-50%); width: 50%;}
  .footer_info ul { width: 100%; flex-direction: column;}

  .footer_info li:nth-child(2) { width: 100%; margin-top: 25px;}
  .footer_menu { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%;}

  /*icon*/
  .box_link { position: relative; display: grid; width: 100%; left: 0; top: auto; margin-top: 20px;}
  .box_link a { width: 100%;}
  .box_link a.me_tp_line { padding-top: 130px; background-position-y: 0; background-size: contain;}

  /*版權*/
  .copy { padding: 30px 0; width: 90%; text-align: center;}

  /*底部按鈕*/
  #to_top { bottom:60px;}
  #bottom_menu {display: block; }
  .footer.with_shopping_mode { padding:30px 0 70px;}
}

/* = = = 文章管理 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */

/*--文章管理/共同設定---------------------------------------*/

/*文章列表*/
.module_i_news li, .subbox_item { position: relative; width: 100%; border-bottom: 1px solid var(--BorderColor);}
.module_i_news li a, .subbox_item a { padding: 5px;}
.module_i_news li a::before, .module_i_news li a::after, .subbox_item a::after,.subbox_item a::before { display: none; pointer-events: none;}

.module_i_news li::before, .subbox_item::before { 
    content: 'READ MORE';
    position: absolute;
    z-index: 19;
    bottom: 10px;
    right: 10px;
    opacity: 0.3;
    font-size: var(--f15);
    color: #888;
    pointer-events: none;
    transition: all .5s;
}
.module_i_news li::after, .subbox_item::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--MainColor);
    opacity: 1;
    transition: all .5s;
}
.module_i_news li:hover::after, .subbox_item:hover::after { opacity: 1; left: 0; width: 100%; transition: all .5s;}
.module_i_news li:hover::before, .subbox_item:hover::before { opacity: 1; transition: all .5s;}

/*文章呈現*/
.i_blog_ri, .blog_list_ri { margin: 20px 0;}

.i_blog_le, .i_blog_ri, .blog_list_le, .blog_list_ri { width: 100%;}
 .i_blog_le, .blog_list_le { position: relative; padding-bottom: 66%; height: 0; overflow: hidden;}/*文章縮圖長寬比例，100% →100:100 = 1:1 正方形 */
.i_blog_le img, .blog_list_le img {
	display: block;
    max-width: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    -moz-object-fit: cover;
    -ms-object-fit: cover;
    -o-object-fit: cover;
    -webkit-object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    transition: all .5s;
}
.module_i_news li:hover .i_blog_le img, .subbox_item:hover .blog_list_le img { transform: scale(1.1) translate(-46%, -46%); transition: all .5s;}

.i_blog_ri h5, .blog_list_ri h5 { color: var(--MainColor); font-size: var(--f20); letter-spacing: 1px; font-weight: 600;}
.i_blog_ri em, .blog_list_ri em { color: var(--TextColor_5); font-size: var(--f14);}
.i_blog_ri p, .blog_list_ri p { color: var(--TextColor_3); font-size: var(--f15);}

/*--文章管理/首頁---------------------------------------*/

/*區塊設定*/
.module_i_news { padding: 80px 20px 50px;}

/*標題*/
.module_i_news .title_i_box h6 { display: none; color: var(--TextColor_3); font-size: var(--f36);}
.module_i_news .title_i_box h4 { position: relative; color: var(--MainColor); font-weight: 600; letter-spacing: 1px; padding: 10px 20px; background: var(--TextColor_4); display: inline;}
.module_i_news .title_i_box h4::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 1px;
  background: var(--SubColor_1);
  z-index: -1;
}

/*列表*/
.module_i_news ul { width: 90%; display: grid; gap: 10px; grid-template-columns: repeat(3,1fr);}
.module_i_news ul li:nth-of-type(n+4) { display: none;}

/*按鈕*/
.i_blog_b a.animated-arrow { background: transparent; border-radius: 15px; transition: .3s ease-in-out;}
.i_blog_b a.animated-arrow:hover { background: transparent;}
.i_blog_b a.animated-arrow b { color: var(--TextColor_3); font-weight: normal; letter-spacing: 3px; transition: .3s ease-in-out;}
.i_blog_b a.animated-arrow:hover b { transition: .3s ease-in-out;}
.i_blog_b a.animated-arrow i { color: var(--TextColor_5);}

/*--文章管理/外層---------------------------------------*/

.blog_page .main_part { max-width: 1600px; width: 96%; padding: 0 0 100px;}

/*列表搜尋*/
h5.blog_le_t { display: none;}

/*分類*/
.blog_le .accordion { border-radius: 5px;}
.blog_le .accordion > li { transition: 0.3s ease-in-out;}
.blog_le .accordion > li:hover { background: var(--MainColor) !important;}
.blog_le .accordion > li.on_this_category { background: var(--MainColor) !important;}
.blog_le .accordion li a { color: var(--TextColor_3);}
.blog_le .accordion li a:hover { color: var(--TextColor_4);}
.blog_le .accordion li i { color: var(--TextColor_3); top: 12px;}
.blog_le .accordion li .link { padding: 0;}
.blog_le .accordion > li .link a, .blog_le .accordion > li.on_this_category .link a { display: block; padding: 7px 10px;}

/*次分類*/
.submenu { background: transparent;}
.submenu a:hover { color: var(--TextColor_4);}

/*分類/文章標題*/
h4.blog_category_title { font-size: var(--f24); letter-spacing: 1px; color: var(--MainColor); border-bottom: 1px var(--BorderColor) solid;}

/*文章列表*/
.blog_subbox { margin: auto; display: grid; grid-template-columns: repeat(3,1fr);}
.blog_subbox:before { content:none;}


/*--文章管理/內層---------------------------------------*/

.blog_box { max-width: 1600px; margin: auto;}
.blog_box_edit { color: var(--TextColor_1); max-width: 100%; margin: auto;}

/*回列表*/
.blog_back a.article_btn_back { background: var(--MainColor); border: 1px solid var(--SubColor_1); transition: 0.3s ease-in-out;}
.blog_back a.article_btn_back:hover { background: var(--TextColor_1); border-color: var(--TextColor_1); transition: 0.3s ease-in-out;}

/*上/下一篇*/
.blog_back a.article_btn_prev, .blog_back a.article_btn_next { background: transparent; color: var(--SubColor_1); border: 1px solid var(--SubColor_1); transition: 0.3s ease-in-out;}
.blog_back a.article_btn_prev:hover, .blog_back a.article_btn_next:hover { background: var(--SubColor_1); color: var(--TextColor_4); transition: 0.3s ease-in-out;}

/*--RWD---------------------------------------*/

@media screen and (max-width: 768px) {
    /*首頁*/
    .module_i_news ul, .blog_subbox { width: 100%; grid-template-columns: repeat(2,1fr);}
}

@media screen and (max-width: 425px) {
    /*首頁*/
    .module_i_news ul, .blog_subbox { grid-template-columns: 1fr;}
}

/* = = = 購物車 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */

/*--首頁、外層 共同設定---------------------------------------*/

.products-list { display: grid; gap: 10px; grid-template-columns: repeat(4,1fr); margin: auto;}
.products-list::before { content:none;}
.products-list .item { width: 100%;}

/*--首頁區塊---------------------------------------*/

.prod_part { max-width: 1600px; width: 100%;}
.prod_part .i_prod_tit { margin-bottom: 20px;}

/*英文標題*/
.prod_part .i_prod_tit h2 { display: none; color: var(--TextColor_2);}

/*中文*/
.prod_part .i_prod_tit span { position: relative; color: var(--MainColor); font-weight: 600; letter-spacing: 1px; padding: 10px 20px; background: var(--TextColor_4);}
.prod_part .i_prod_tit span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 1px;
    background: var(--SubColor_1);
    z-index: -1;
}

/*按鈕*/
.i_prod_b a.animated-arrow { background: transparent; border-radius: 15px; transition: .3s ease-in-out;}
.i_prod_b a.animated-arrow:hover { background: transparent;}
.i_prod_b a.animated-arrow b { color: var(--TextColor_3); font-weight: normal; letter-spacing: 3px; transition: .3s ease-in-out;}
.i_prod_b a.animated-arrow:hover b { transition: .3s ease-in-out;}
.i_prod_b a.animated-arrow i { color: var(--TextColor_5);}

/*--購物車/外層---------------------------------------*/

/*顏色*/
.products-list .more { border: 1px solid var(--MainColor); color: var(--MainColor);}
.products-list .item a:hover .more { background: var(--MainColor);}

/*名稱*/
.products-list .name { color: var(--MainColor); font-size: var(--f16); font-weight: 600; font-size: 16px; height: 51px;}

/*價格*/
.products-list .price { display: flex; margin-bottom: 5px; align-items: center; justify-content: center; flex-wrap: wrap;}
.products-list .price b { margin: 0 5px; line-height: 180%; text-align: center;color: var(--MainColor);}
.products-list .price b.ori_price { font-size: 14px; color: var(--TextColor_5);}
.products-list .price b.sp_price { color: var(--MainColor);}

/*外層版面*/
.product_page .main_part { width: 90%;	max-width: 1500px; padding: 0 0 100px;}
.product_page .show_content { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;}
.product_page .products-list { width: calc(100% - 280px);}

/*主分類*/
.product-layer-two { width: 250px; margin: 0;}
.product-layer-two li { margin: 0 0 10px; width: 100%; padding: 0 10px;}
.product-layer-two li a { color: var(--TextColor_2); padding: 5px 25px; border: none; border-bottom: 1px dotted transparent; background: transparent; font-weight: 600; line-height: 200%; padding-left: 25px; transition: all 0.3s;}
.product-layer-two li:hover a { color: var(--MainColor);}
.product-layer-two li.active a { color: var(--TextColor_4); border: none;}

.product-layer-two li.active { background: var(--SubColor_1); border-radius: 10px;}
.product-layer-two li.active li a { color: var(--TextColor_4); border: unset;}
.product-layer-two li:hover a:before { background: var(--MainColor); color: var(--TextColor_4);}
.product-layer-two li.active > a:before { background: var(--TextColor_4); color:var(--SubColor_1);}
.product-layer-two > li > a:before {
    content: "➤";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    width: 18px;
    padding: 0 0 0 2px;
    font-size: 10px;
    text-align: center;
    color: var(--MainColor);
    background: var(--TextColor_4);
    transition: 0.3s ease-in-out;    
}

/*次分類*/
.product-layer-two li ul { position: relative; padding-top: 1px;}
.product-layer-two li:hover ul { border: none;}
.product-layer-two li li { border: none; background: transparent;}
.product-layer-two li li a { background: transparent; color: var(--TextColor_3);}
.product-layer-two li li:hover a { color: var(--MainColor);}
.product-layer-two li.active li:hover a { color: var(--MainColor);}

/*次分類hover箭頭*/
.product-layer-two li li:hover{ margin-left: 15px;}
.product-layer-two li li > a:before {
    content: "";
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 8px;
    background: var(--SubColor_1);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    opacity: 1;
    transition: .3s ease-in-out;
}
.product-layer-two li li:hover > a:before { opacity: 1; transition: .3s ease-in-out;}

/*次分類直接開啟*/
.product-layer-two li li { display: block;}

/*頁碼*/
.product_page .page { width: 100%;}

/*--購物車/內層---------------------------------------*/

.product_info_page .main_part { width: 90%;}
.mobile_product_name { color: var(--MainColor); font-size: var(--f24); text-align: center;}

/*分類*/
.product_info_page .product-layer-two { display: none;}

/*輪播小圖*/
.block { background: var(--MainColor);}

/*按鈕顏色*/
.inquiry_a1 { background: var(--MainColor); transition: .3s ease-in-out;}
.inquiry_a2 { background: var(--SubColor_2); color: var(--TextColor_4); transition: .3s ease-in-out;}
.inquiry_a3 { display: none; background: var(--MainColor); transition: .3s ease-in-out;}
.inquiry_a1:hover, .inquiry_a2:hover, .inquiry_a3:hover { background: var(--MainColor); color: var(--TextColor_1); transition: .3s ease-in-out;}

/*商品照輪播*/
/*.product_main { width: 100%;}*/
.product_pic h6 { display: none; color: var(--TextColor_2);}
.product_pic #bx-pager .block { background: var(--TextColor_2);}
.product_pic .bx-wrapper .bx-viewport { background: transparent; border: 5px solid transparent;}
.product_pic .bx-wrapper .bx-viewport li img { margin: auto;}

/*商品側邊規格*/
/*.sidebarBtn { display: none;}*/
.sidebarBtn { border: 5px solid transparent; background: transparent;}
.sidebarBtn h2 { color: var(--MainColor); font-size: var(--f24);}
div#number_area { color: var(--TextColor_5);}
.sidebarBtn .ori_price { font-size: var(--f16); color: var(--TextColor_5); text-decoration: line-through;}
.sidebarBtn .sp_price { font-size: var(--f16); color: var(--SubColor_1);}

.product_info li .txt_box { color: var(--TextColor_1); width: 100%;}
.radio-inline__label { color: var(--TextColor_3);}
.product_info li span, .toShare { color: var(--TextColor_3);}

/*區塊*/
.prod li { color: var(--TextColor_1); text-align: center;}
.prod li .prod-panel { color: var(--TextColor_2); margin: 20px 0 40px; text-align: justify;}

/*內文*/
ul.prod li h3.prod-thumb { display: none; background: transparent; color: var(--TextColor_3); border-bottom: 1px solid var(--BorderColor); padding: 5px 5px 15px;}
.prod-panel { color: var(--TextColor_3); letter-spacing: 1px; text-align: justify; line-height: 150%;}

/*Q&A*/
/*.prod li.prod-item:not(.is-active) { display: none;}隱藏*/
.half_box span { color: var(--TextColor_1); font-size: var(--f15);}/*題目*/
.qaform .breakF { background: transparent; counter-reset: var(--TextColor_2);}/*輸入框*/
.half_box ul li { text-align: left;}
.half_box ul li img { margin-left: 10px; /*filter: invert(1) brightness(3.4) grayscale(1);*/}/*驗證碼*/

.lastaction { color: var(--TextColor_4); background-color: var(--SubColor_1); transition: .3s ease-in-out;}
.lastaction:hover { color: var(--TextColor_4); background-color: var(--TextColor_1); transition: .3s ease-in-out;}
.nextaction { background-color: var(--MainColor); transition: .3s ease-in-out;}
.nextaction:hover { color: var(--TextColor_4); background-color: var(--TextColor_1); transition: .3s ease-in-out;}

/*相關推薦*/
.prod_related { background: transparent; text-align: center;}
.prod_related h6 { color: var(--MainColor); border-bottom: 2px solid var(--SubColor_1)88; padding: 5px 5px 15px; display: inline-block;}
.prod_related h6 span:before { font-size: var(--f20); color: var(--MainColor);}
.related_list { display: grid; grid-template-columns: repeat(4,1fr);}
.related_list li { padding: 7px 7px 22px; overflow: hidden; width: auto; transition: .3s ease-in-out;}
.related_list li:hover { opacity: 0.6; transition: .3s ease-in-out;}
.related_list li a { max-height: 300px; background: transparent;}
.related_list li a img { max-height: 250px;}
.related_list li a p { margin-top: 10px; color: var(--TextColor_1);}

/*上一頁*/
.lastPage { background: transparent; border: 1px solid var(--MainColor); color: var(--MainColor); transition: all 0.3s;}
.lastPage:hover { color: var(--TextColor_4); background-color: var(--SubColor_1); border: 1px solid var(--SubColor_1); transition: all 0.3s;}

/*--詢價車---------------------------------------*/

/*回產品頁*/
.rewrite_simple { background: var(--SubColor_1) url(../images/simple_left.png) 10% center no-repeat; transition: .3s ease-in-out;}
.rewrite_simple:hover { opacity: 0.6; transition: .3s ease-in-out;}

/*送出詢價*/
.send_simple { background: var(--MainColor) url(../images/simple_right.png) 88% center no-repeat; transition: .3s ease-in-out;}
.send_simple:hover { opacity: 0.6; transition: .3s ease-in-out;}

/*--RWD---------------------------------------*/

@media screen and (max-width: 1200px) { .products-list { grid-template-columns: repeat(3,1fr);}}
@media screen and (max-width: 1024px) { .product_page .products-list { grid-template-columns: repeat(2,1fr);}}
@media screen and (max-width: 768px) { 
    .product_page .main_part { padding: 50px 0;}
    .products-list { grid-template-columns: repeat(2,1fr);}
    .product_page .products-list, .product-layer-two { width:100%;}
    /*順序*/
    .product_page .products-list { order: -1;}
}
@media screen and (max-width: 600px) {
    .related_list { grid-template-columns: repeat(2,1fr);}
}
@media screen and (max-width: 375px) { .products-list, .product_page .products-list  { grid-template-columns: 1fr;}}

/* = = = 聯絡表單 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */

/*表單最大寬度設定*/
.contact_content { max-width: 1600px;}
.contact_content .information_right { max-width: 1400px;}

/*標題*/
.blank_letter { color: var(--MainColor);}

/*側邊資訊*/
.contact_content .information_left {}
.list_before { margin-top: 10px;}
.list_before.info li { color: var(--TextColor_1);}

/*表格樣式*/
.contact_form li input.noborder { border: none; color: var(--TextColor_1); border-bottom: 1px var(--BorderColor) solid; background: transparent;}/*文字欄*/
.contact_form li .form__label { color: var(--TextColor_2);}/*文字欄*/
.contact_form li textarea.noborder { color: var(--TextColor_1); background: transparent; border: 1px var(--BorderColor) solid;}/*文字區塊*/
.form select { color: var(--TextColor_2); background: transparent;}/*下拉式*/
.form select option { background: var(--TextColor_4);}/*下拉式選項*/
input[type="checkbox"], input[type="radio"] { margin: 0 10px 10px;}/*複選、單選*/

/*驗證碼對齊*/
.contact_form li:nth-last-of-type(2) .form__insert { display: inline-flex; align-items: center; justify-content: flex-start; flex-wrap: nowrap; /*filter: invert(1) brightness(3.4) grayscale(1);*/}
.contact_form li:nth-last-of-type(2) input.noborder { border: 1px var(--BorderColor) solid;}
.captcha { margin-right: 20px;}

/*按鈕*/
.contact_form li.last blockquote input { color: var(--TextColor_2);}/*重新填寫*/
.contact_form li.last cite { color: var(--TextColor_4); background: var(--MainColor); border: 1px solid var(--MainColor);}/*送出*/

.contact_form li.last blockquote { border: 1px var(--BorderColor) solid;}
.contact_le_map a { background: var(--MainColor);}

@media screen and (max-width: 425px){
    /*聯絡表單*/
    .contact_form li { padding-left: 0;}
    .contact_form li .form__label { margin: 0 0 10px; width: 100%; text-align: left;}
    .contact_form li .form__insert { width: 100%;}
}

/* = = = RWD = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */
@media screen and (max-width: 1200px) { }
@media screen and (max-width: 1024px) { }
@media screen and (max-width: 768px) { }
@media screen and (max-width: 600px) { }
@media screen and (max-width: 425px) { }
