@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商品下拉超過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個--結束 */


/*預設解除背景輪播*/
#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;}
}
/*預設解除背景輪播--結束*/


 /* 開啟手機板下方按鈕所需設定 */
@media screen and (max-width: 768px) {
    .footer.with_shopping_mode { padding:30px 0 70px; }
    #to_top { bottom:60px;}
}
    
@media screen and (max-width: 600px) { 
}
 /* 開啟手機板下方按鈕所需設定--結束 */    



/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*header*/

.tp_links a {
    display: none;
}
.header_area {
    background: #FFFFFF;
    padding: 20px 15px 10px 15px; /* 上右下左 */
    box-shadow: 0 5px 15px rgb(0 0 0 / 8%);
}
.stellarnav > ul > li.has-sub > a {
    padding-right: 14px;
}
.stellarnav li.has-sub > a:after {
    display: none;
}
.stellarnav > ul > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    line-height: 1.1;
    border-radius: 0px;
    color: #303033;
    font-family: "Chocolate Classical Sans", sans-serif;
    letter-spacing: 0.1em;
    transition: color 0.3s ease; /* 不要 transition background-color，因為改成 ::before 控制 */
}
.stellarnav > ul > li > a::before {
    content: "";
    position: absolute;
    top: 3px;       /* ✅ 離上邊距 3px */
    bottom: 3px;    /* ✅ 離下邊距 3px */
    left: 0;
    right: 0;
    background-color: #4D90E6;
    opacity: 0;
    transform: scale(1);
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: -1;
}
.stellarnav > ul > li > a:hover::before {
    opacity: 1;
}
.main_header_area .container {
    max-width: 1500px;
}
.navigation {
    grid-template-columns: 360px 1fr;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.nav-header {
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
}

.stellarnav {
    width: 100%;
    box-sizing: border-box;
}
.header_area.sticky {
    background: #ffffffd0;
}   
.stellarnav.mobile.right > ul, .stellarnav.mobile.left > ul {
    background: #FFFFFF;
}
.stellarnav ul ul {
    background: #FFFFFF; /* 功能表選單下拉背景 */
}
.stellarnav li li {
    border: 1px #ffffff83 solid; /* 功能表選單下拉分隔線 */
}
.shop_search_btn {
    background: #4D90E6;
    font-family: "Chocolate Classical Sans", sans-serif;
}
.stellarnav li a {
    color: #192C7A;
}
.stellarnav li a:hover {
    background: #4D90E6;
    color: #FFFFFF;
}

.animated-arrow {
    background: #192c7a;
}

.i_prod_tit span {
    color: #192C7A;
    font-weight:bold;
}

/*手機版選單*/

.stellarnav.mobile li.open {
    background: #FFFFFF
}
.stellarnav a.dd-toggle .icon-plus:after {
   border-bottom: solid 3px #4D90E6;
}
.stellarnav a.dd-toggle .icon-plus:before {
    border-bottom: solid 3px #4D90E6;
}

/*手機版Logo位置*/
@media screen and (max-width: 768px) {
  .nav-header {
    padding: 0px 50px 0px 50px; /* ✅ 可依需要改大一點，例如 20px 或 24px */
  }
}

/*手機版產品名稱搜尋框*/
@media screen and (max-width: 768px) {
  body, html {
    overflow-x: hidden;
  }
}

/*功能頁按鈕*/
.products-list .more {
    border: 1px solid #192C7A;
    color: #192C7A;
}
.products-list .item a:hover .more {
    background: #192C7A;
}
.product-layer-two li a {
    border: #4D90E6;
    background: #4D90E6;
    color: #FFFFFF;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

.box_link {
    display: none;
}
.footer_info li {
    padding: 0;
}
.footer {
    background: #FFFFFF;
    box-shadow: 0 -5px 15px rgb(0 0 0 / 8%);
}

@media screen and (min-width: 769px) {
  .double_key {
    text-align: right;       /* 關鍵字靠右 */
    white-space: nowrap;     /* 強制不換行 */
    padding-right: 40px;     /* 可調整位置 */
    margin-top: -20px;       /* 視覺位置調整用 */
  }

  .double_key a {
    font-size: 13px;
    color: #4D90E6;
    display: inline;         /* 同行顯示 */
  }
  .footer_info {
    padding-right: 50px;
    padding-left: 50px;
  }
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*頁碼設定*/
ul.page { 
    width: 100%;
}
.linksBtn {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    font-size: 30px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    color: #FFFFFF;
    background-color: #4D90E6;
    transition: .3s;
    font-size: 20px;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 by shint at 2023.1.5  */

/* 購物車頁面設定 */
.product_page .main_part { 
    max-width:1500px;
}
.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;
}

/* 商品分類 */
.inquiry_a1 {
    background: #83acec;
}
.inquiry_a2 {
    background: #5b83c3;
}
.inquiry_a3 {
    background: #5b83c3;
}
.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);
}
.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 { 
    position:static; margin-top:5px; 
    /*display:block !important;*/ 
    width:100%; margin-left:0;
}
.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 ul > li + li { 
    margin-top:5px;
}
.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%);
}

/* 商品分類hover */
.product-layer-two li:hover ul { 
    border: none !important; 
    /*display:block !important;*/
}
.product-layer-two li li:hover{ 
    margin-left: 15px;
}
.product-layer-two li li:hover > a { 
    background:#fff; 
    color:#4D90E6;
}
.product-layer-two li li:hover > a:before { 
    background:#4D90E6;
}

.lastPage {
    font-size: 16px;
    color: #fff;
    background: #192c7a;
    padding: 10px 20px;
    display: block;
    margin: 40px auto;
    width: 130px;
    text-align: center;
}

/* .product_info_page */
.product_info_page .product-layer-two { 
    display: none;
}
.product_info_page .products-list,
.product-wrapper { 
    width: 100%;
}
.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;
}

/*價格*/
.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: #d90000;}
.products-list .price b.ori_price {    font-size: 14px;color: #929292;}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 980px) {
}

@media screen and (max-width: 768px) {
    /* 購物車頁面設定 */
    .product_info_page .main_part {width: 95%;}

    /* 商品分類 */
    .product_menu_list,
    .products-list,
    .product-wrapper { 
        width: 100%;
    }
    .product_page .product-layer-two,
    .product_page .products-list {
        width: 100%; 
        border-right: none;
    }
    .product_page .product_menu_list {
        width: 100%; 
        order: 0; 
        min-height: unset;
    }
    .product_page .product_menu_list>h5{
        display: block;
    }
    .product-layer-two { 
        margin-right: 0; 
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); 
        grid-gap: 5px;
    }

    /* .product_page頁面物件順序設定 */
    .product_page .show_content > a { 
        order: 1;
    }
    .product_page ul.products-list { 
        order: 2;
    }
    .product_page ul.page { 
        order: 3;
    }
    .header_area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999; /* 保證蓋過其他元件 */
    }

  body {
    padding-top: 100px; /* ← 根據實際 header 高度修改 */
  }
}

@media screen and (max-width: 600px) {
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */




/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁 BANNER 設定*/
.banner {
    height: 20vw;
}
.banner h5 {
    font-size: 32px;
    letter-spacing: 10px;
    font-weight: 600;
    text-shadow: 0px 0px 10px #0000005e;
    color: #ffffff;
    font-family: "Noto Sans TC", "微軟正黑體", "sans-serif";
    position: relative;
    top: -20px;
}
.banner h5::before{
    font-size: 32px;
    font-weight: 600;
    content: "";
    position: absolute;
    bottom: -50px;
    left: 50%;
    color: #ffffff;
    font-family: "Spectral", "微軟正黑體", "Times New Roman";
    line-height: 1;
    transform: translate(-50%, -50%);
}

.banner.banblog h5::before {content: "NEWS";}
.banner.banB h5::before {content: "SERVICES";}

.banner.banA {

}
.banner.banB {
    background-image: url(https://pic03.eapple.com.tw/hancingmfp/banner_ban.jpg);
    background-size: cover;
    font-weight:bold;
    display:none;
}
.banner.banD{
    background-image: url(https://pic03.eapple.com.tw/hancingmfp/banner_ban.jpg);
    background-size: cover;
    font-weight:bold;
}
.banner.banE {
    background-image: url(https://pic03.eapple.com.tw/hancingmfp/banner_ban.jpg);
    background-size: cover;
    font-weight:bold;
}
.banner.banF {
    background-image: url(https://pic03.eapple.com.tw/hancingmfp/banner_ban.jpg);
    background-size: cover;
    font-weight:bold;
    display:none;
}
.banner.banblog {
    background-image: url(https://pic03.eapple.com.tw/hancingmfp/banner_ban.jpg);
    background-size: cover;
    font-weight:bold;
    display:none;
}
.blog_back a.article_btn_back {
    background: #192c7a;
}
@media screen and (max-width: 768px) {
  .banner h5 {
    margin-top: 40px;}
  }

/*內頁 PAGE 設定*/

.blog_page {
    background-image: url();
}
#content {
    background-image: url();
}
#content_main {
    background-image: url();
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
.articel_mainPic img {display:none;}

/*一排呈現
.subbox_item { width:100%;}
*/
h5.blog_le_t {
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: flex;
}
h5.blog_le_t em {
    font-size: 34px;
    color: #323232;
    font-family: '微軟正黑體','sans-serif';
    writing-mode: vertical-lr;
    letter-spacing: 5px;
    font-weight: 500;
}
h5.blog_le_t span {
    font-size: 14px;
    font-family: '微軟正黑體','sans-serif';
    color: #192c7a;
    letter-spacing: 2px;
    writing-mode: vertical-lr;
    margin-top: 5px;
}
.blog_search input[type=search] {border-radius: 0;}
.blog_le .accordion {border-radius: 0;}

/*外層版面*/
.product_page .main_part {    width: 90%;	max-width: 1500px;}

/*文章排版*/
.blog_list_le {
    width: 100%;
    border: 1px solid #e3e3e3;
    padding: 8px; /* ✅ 加內距讓框比圖片大 */
    box-sizing: border-box; /* 確保 padding 不會撐大整體寬度 */
}

/*文章管理/＝＝＝＝＝*/
h4.blog_category_title{font-size: 28px;}
h4.blog_category_title span{font-size: 24px;}
/*文章管理/外層＝＝*/
.module_i_news ul,
.blog_subbox {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr); /* ✅ 三欄 */
}

.module_i_news li , .subbox_item {    width: 100%;}
.module_i_news li a , .subbox_item a {
    padding: 5px;
    display: flex;
    flex-direction: column;
}

.module_i_news ul,
.blog_subbox {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 1024px) {
    .module_i_news ul,
    .blog_subbox {
        grid-template-columns: repeat(2, 1fr); /* 平板變兩欄 */
    }
}

@media screen and (max-width: 600px) {
    .module_i_news ul,
    .blog_subbox {
        grid-template-columns: 1fr; /* 手機變單欄 */
    }
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本分類全版面 ( 限制最寬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; } 取消連結被點擊效果
*/

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

.footer_info li p {
    color: #192C7A;
    font-family: "Chocolate Classical Sans", sans-serif;
}
.footer_info li p a {
    color: #303033;
}
.footer_info li p a:hover {
    color: #4D90E6;
}.footer_menu a {
    border: 0px;
    color: #FFFFFF;
    background: #303033;
}.footer_menu a:hover {
    background: #4D90E6;
}
.footer_info li {
    padding-bottom: 20px;
}
.copy {
    color:#303033;
}
.copy a {
    color:#4D90E6;
}
.copy a:hover {
    color:#192C7A;
}
.copy a:hovor {
    color:#192C7A;
}

/*匯款通知/＝＝＝＝＝*/
.send_simple{background-color: #192c7a;}
.rewrite_simple{background-color: #4d90e6;}

/*手機版footer/＝＝＝＝＝*/
@media screen and (max-width: 768px) {
  .footer_info {
    margin-left: 15px;}
  .prod_part {
    padding: 40px 20px 30px;}
  }
@media screen and (max-width: 600px) {
  .footer_info {
    margin-left: 15px;}
    .prod_part {
    padding: 40px 20px 30px;}
  }
