@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 {}
*/


/* ==================================================
   首頁 HEADER｜僅電腦版
   - 初始：半透明白色漸層，與首頁大圖重疊
   - 下滑：80% 白底 + 霧化
   - LOGO：170px → 120px
   - 主選單：深藍黑字 + 藍色 hover 底線
================================================== */
.stellarnav > ul > li > a { margin: 0 10px;}
.header_area{ background: #FFF;}
@media screen and (min-width: 769px) {

  /* 首頁 HEADER 固定並疊在大圖上 */
  .pageIndex .header_area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,.92) 0%,
      rgba(255,255,255,.78) 55%,
      rgba(255,255,255,.38) 100%
    );
    transition: background .4s ease,
                backdrop-filter .4s ease,
                -webkit-backdrop-filter .4s ease;
  }

  /* 首頁初始 LOGO */
  .pageIndex .nav-header {
    max-width: 170px;
    transition: max-width .4s ease;
  }

  /* 首頁下滑後 HEADER */
  .pageIndex .header_area.sticky {
    position: fixed;
    top: 0;
    background: rgba(255,255,255,.80);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  /* 首頁下滑後 LOGO */
  .pageIndex .header_area.sticky .nav-header {
    max-width: 120px;
  }

  /* 首頁電腦版主選單：按鈕間距稍微拉開
     注意：不碰 .dd-toggle，避免設備專區的小三角被影響 */
  .pageIndex .stellarnav.desktop > ul > li {
    margin: 0 7px;
  }

  /* 主選單文字 */
  .pageIndex .stellarnav.desktop > ul > li > a:not(.dd-toggle) {
    color: #10263a;
    transition: color .3s ease;
  }

  /* Hover 改用文字底線，不再佔用 ::after
     這樣 Stellarnav 原本的下拉小三角可以正常顯示 */
  .pageIndex .stellarnav.desktop > ul > li > a:not(.dd-toggle):hover {
    color: #1678b8;
    text-decoration-line: underline;
    text-decoration-color: #1678b8;
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
  }
}

/* 商品下拉超過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-layer-two li a {
    color: #3060ab;}
.products-list .more {
    border: 1px solid #3b68af;
    color: #3b68af;}
.products-list .item a:hover .more {
    background: #3b68af;
	color: #fff;}
    
.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_menu_list { 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) {
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設解除背景輪播*/
#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;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
.banner {
    background: url(https://pic03.eapple.com.tw/hexinwind/banner.png) center; 
    min-height: 300px;}


/*內頁BANNER 設定*/
.banner {}
.banner h5 { color: #3b68af;}
.banner.banA {}
.banner.banB {}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.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; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

.blog_subbox {
    grid-template-columns: 1fr 1fr 1fr;}
.blog_list_le { aspect-ratio: 4 / 3;}
.subbox_item a {
    display: grid;
    grid-template-columns: 1fr;}


.video-list .vidCover {
    aspect-ratio: 16 / 9;}


@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {}
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:60px;}
}

@media screen and (max-width: 600px) { 
}



.contact_le_map a {
    background: #2c5daa;}
.contact_form li.last cite {
    background: #2c5daa;}
.contact_content .information_left {
    display: none;}
/* ==============================
   FOOTER 聯絡資訊
============================== */

.footer_info li {
    display: flex;
    flex-direction: column;
}

/* 排列順序 */
.footer_info li p.line  { order: 1; }
.footer_info li p.tel2  { order: 0; }
.footer_info li p.phone { order: 3; }
.footer_info li p.tel   { order: 4; }
.footer_info li p.fax   { order: 5; }
.footer_info li p.mail  { order: 6; }
.footer_info li p.add   { order: 7; }

/* 欄位名稱 */
.footer_info li p.line:before  { content: 'LINE ID：'; }
.footer_info li p.tel2:before  { content: '免付費專線：'; }
.footer_info li p.phone:before { content: '勘場專線：'; }
.footer_info li p.tel:before   { content: '公司電話：'; }
.footer_info li p.fax:before   { content: '公司傳真：'; }
.footer_info li p.mail:before  { content: '公司信箱：'; }
.footer_info li p.add:before   { content: '地址：'; }

/* ==================================================
   右側快捷按鈕｜電腦版
   - FB / 信箱同排
   - 電話類按鈕改為整齊的 icon + 文字配置
   - 僅調整桌機，避免影響手機版既有樣式
================================================== */
@media screen and (min-width: 769px) {

    .box_link {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        align-items: stretch;

        /* 整組固定同寬：上方 FB / 信箱 與下方電話左右邊界一致 */
        width: 150px;
        margin-left: auto;
        margin-right: auto;
    }

    /* FB 與信箱排在第一列 */
    .box_link > a.me_tp_fb {
        order: 1;
        grid-column: 1;
    }

    .box_link > a.me_tp_mail {
        order: 2;
        grid-column: 2;
    }

    .box_link > a.me_tp_call {
    order: 3;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-start;

    /* 電話按鈕直接撐滿整組寬度 */
    width: 100%;
    padding-left: 6px;
    padding-right: 14px;

    box-sizing: border-box;
}

.box_link > a.me_tp_call > i {
    width: 28px;
    min-width: 28px;
    flex: 0 0 28px;
    text-align: center;
    margin-right: 6px;
    line-height: 1;
}

.box_link > a.me_tp_call > p {
    margin: 0;
    padding: 0;
    text-align: left;
    line-height: 1.35;
    white-space: nowrap;
}

    /* 上方兩顆 icon 按鈕置中 */
    .box_link > a.me_tp_fb,
    .box_link > a.me_tp_mail {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
}

