@charset "utf-8";
/*網站全域設定/＝＝＝＝＝*/
/*
#2a4c8a /*網站主要色系
#d9364d /*網站輔助色系1
#fff/*網站輔助色系2*



/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*★★★卷軸設定↓↓↓↓↓↓↓↓↓↓↓↓*/
/* 捲軸寬度及高度 */
::-webkit-scrollbar {
    width: 10px; /*右側捲軸寬度*/
    height: 0px; /*下方捲軸高度*/
}
/* 軌道背景底色 */
::-webkit-scrollbar-track {    background: #fff; }
/* 滑桿顏色 */
::-webkit-scrollbar-thumb {    background: #2a4c8a; }
/* 滑桿滑鼠滑入時的顏色 */
::-webkit-scrollbar-thumb:hover {    background: #d9364d; }




/*header*/

/*大圖*/
.pageIndex .bannerindex .swiper-slide.swiper-slide:before, 
.pageIndex .bannerindex .swiper-slide.swiper-slide:after {
    content: ""; position: absolute;  z-index: 999; pointer-events: none;
}
/*大圖1*/
.pageIndex .bannerindex .swiper-wrapper .swiper-slide:nth-of-type(1):before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(https://pic03.eapple.com.tw/vitalstar2025ai/banner-03.png);
    background-size: contain;
    background-repeat: no-repeat;
    top: 0;
    left:0;
    background-position: center;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    opacity: 0;
}


/*大圖2*/
.pageIndex .bannerindex .swiper-wrapper .swiper-slide:nth-of-type(2):before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(https://pic03.eapple.com.tw/vitalstar2025ai/banner-04.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 0%;
    opacity: 0;
    z-index: -1;
}

.pageIndex .bannerindex .swiper-wrapper .swiper-slide:nth-of-type(2)::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(https://pic03.eapple.com.tw/vitalstar2025ai/banner-04.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;

}

/*大圖動畫*/

.pageIndex .bannerindex .swiper-wrapper .swiper-slide.swiper-slide-active:before {
    animation: banner-right 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
}
.pageIndex .bannerindex .swiper-wrapper .swiper-slide.swiper-slide-active::after {
    animation: banner-up 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 0.2s;
}

.pageIndex .bannerindex .swiper-slide:nth-child(1).swiper-slide-active:before {  
    -webkit-animation: slideDownBlurAnimation 0.8s 0.6s ease-in-out forwards;
    animation: slideDownBlurAnimation 0.8s 0.6s ease-in-out forwards;
}
@keyframes banner-up {
    0% {        opacity: 0;        transform: translate(-50%, 10vh);    }
    100% {        opacity: 1;        transform: translate(-50%, -50%);
    }
}
@keyframes banner-right {
    0% {        opacity: 0;        transform: translate(-10vh, -50%);    }
    100% {        opacity: 1;        transform: translate(0%, -50%);
    }
}
@keyframes slideDownBlurAnimation {
    0% {
    opacity: 0;
    -webkit-filter: blur(5px);
            filter: blur(5px);
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
    }
    100% {
    opacity: 1;
    -webkit-filter: blur(0);
            filter: blur(0);
    -webkit-transform: translateY(0);
            transform: translateY(0);
    }
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-pagination {margin-left: 0; transform: translateX(-50%);}
.swiper-banner { position:static;margin: 0 0 -5px 0;height:auto;background: #333333;} 
.swiper-slide img { height:auto;}
.tp_links a {
    font-size: 16px;
    color: #333;
    margin: 0;
    display: none;
}

@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */



/*Header/＝＝＝＝＝*/


.navigation {
    display: flex;
    align-items: center;
}

.nav-header {
    max-width: 280px;
    padding: 8px 0;
    transition: all ease 0.3s;
}

.sticky .nav-header {
    max-width: 240px;
}

.nav-brand,
.nav-brand img {
    display: block;
}

.header_area,
.header_area.sticky {
    background: linear-gradient(180deg, rgb(255 255 255 / 100%), rgb(255 255 255 / 80%));
    box-shadow: 0 0 20px rgba(0 0 0 / 12%);
    padding: 0;
}

.main_header_area .container {
    max-width: 1600px;
    padding: 0 2%;
}

/*logo/＝＝＝＝＝*/
.nav-brand img {
    max-width: 80%;}

@media screen and (max-width:1024px) {
.nav-brand, .nav-brand img {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

}

@media screen and (max-width:768px) {
.nav-brand img {max-width: 60%;}
}

@media screen and (max-width:768px) {
.nav-brand img {max-width: 50%;}
}

/*主選單*/
.stellarnav ul {
    font-family: 'Noto Serif TC', sans-serif;
}

.stellarnav li.has-sub>a:after {
    content: none;
}

.stellarnav>ul>li:after {
    width: 0;
    position: absolute;
    height: 2px;
    content: "";
    background: #2a4c8a;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    transition: all ease 0.3s;
}

.stellarnav>ul>li:hover:after {
    width: 100%;
}

.stellarnav>ul>li>a,
.stellarnav>ul>li.has-sub>a:not(.dd-toggle) {
    padding: 0 2px;
    color: #2a4c8a;
    letter-spacing: .5px;
    display: block;
    font-weight: 500;
    margin: 0 12px;
    text-transform: none;
    height: 100%;
    line-height: 83.5px;
    transition: all ease 0.3s;
}

.sticky .stellarnav>ul>li>a,
.sticky .stellarnav>ul>li.has-sub>a:not(.dd-toggle) {
    line-height: 74px;
}

.stellarnav>ul>li:hover>a,
.stellarnav>ul>li.has-sub:hover>a:not(.dd-toggle) {
    color: #2a4c8a;
}



/*次分類*/
.stellarnav ul ul {
    background: transparent;
}

.stellarnav>ul>li.drop-left>ul {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

.stellarnav li li {
    background: #2a4c8a;
    border: none;
    border-bottom: 1px solid #ffffff33;
    margin-bottom: 0;
    transition: all ease .3s;
}

.stellarnav li li:hover {
    background: #2a4c8a;
}

.stellarnav li li:last-of-type {
    border: none;
}

.stellarnav li li a:not(.dd-toggle),
.stellarnav li li.has-sub>a:not(.dd-toggle) {
    color: #fff;
    padding: 9px 15px;
    font-weight: 500;
    line-height: initial;
    height: auto;
    margin: 0;
    position: relative;
    font-size: 15px;
}

.stellarnav > ul > li > a {    color: #2a4c8a;}
.stellarnav > ul > li > a {margin: 0 10px;}
.stellarnav li.has-sub > a:after {border-top: 6px solid #2a4c8a;}/* 子選單三角形變色 */
.stellarnav .menu-toggle:after {    color: #2a4c8a;}/* 手機子選單menu變色 */
.stellarnav .menu-toggle span.bars span {background: #2a4c8a;}

.box_search {display: none;}
.me_tp_features a span {
  display: none; /* 隱藏文字部分 */
}
.me_tp_features a img {
  display: block;
  width: 24px;   /* 調整你要的圖示大小 */
  height: 24px;
}
.tp_links {
    display: none;
}

.me_tp_features {
    width: 15%;}

.stellarnav {
    order: 2; /* 原本中間的菜單放右邊 */
}

.me_tp_features {
    order: 3; /* 原本右邊的按鈕放中間 */
}
.me_tp_features a i {color: #2a4c8a;}

#bottom_menu li a i,#bottom_menu li a em {color: #2a4c8a;
}




@media only screen and (max-width: 1024px) {
    .me_tp_features {
    margin: 0px 5px 10px;}

}  

@media screen and (max-width:768px) {
.stellarnav .menu-toggle{
padding: 15px;}
   .stellarnav .menu-toggle {
        padding: 16px 10px;
    }

    .stellarnav>ul>li>a,
    .stellarnav>ul>li.has-sub>a:not(.dd-toggle),
    .sticky .stellarnav>ul>li>a,
    .sticky .stellarnav>ul>li.has-sub>a:not(.dd-toggle),
    .sticky .stellarnav>ul>li>a,
    .sticky .stellarnav>ul>li.has-sub>a:not(.dd-toggle) {
        height: auto;
        line-height: 150%;
        margin: 0 8px;
    }

    .stellarnav.mobile.right .close-menu,
    .stellarnav.mobile.left .close-menu {
        background: #2a4c8a;
    }

    .stellarnav.mobile>ul {
        border-top: none;
        border-right: none;
        box-shadow: 0 0 10px rgba(0 0 0 / 12%);
    }

    .stellarnav.mobile li.open {
        background: #FAF7F4;
    }

    .stellarnav.mobile li.open li.open {
        background: #2a4c8a;
    }

    .stellarnav>ul>li>a,
    .stellarnav>ul>li.has-sub>a:not(.dd-toggle),
    .stellarnav.mobile>ul>li>a,
    .stellarnav>ul>li:last-of-type>a,
    .stellarnav>ul>li:last-of-type:hover>a {
        padding: 10px 44px 10px 10px;
    }

    .stellarnav .icon-close:after,
    .stellarnav .icon-close:before,
    .stellarnav.mobile>ul>li>ul>li.has-sub.open>a.dd-toggle .icon-plus:before,
    .stellarnav.mobile>ul>li>ul>li.has-sub.open>a.dd-toggle .icon-plus:after {
        border-color: #fff;
    }

    .stellarnav a,
    .stellarnav.mobile>ul>li>ul>li.has-sub.open>a {
        color: #fff;
    }

    .stellarnav.mobile>ul>li.open>a.dd-toggle {
        padding: 12px 6px 0;
    }

    .stellarnav.mobile li li a.dd-toggle {
        margin-right: 5px;
    }

    .stellarnav.mobile li.open li.open a.dd-toggle {
        padding: 8px 0 0;
    }

    .stellarnav.mobile li li.has-sub a:not(.dd-toggle),
    .stellarnav li li>a:not(.dd-toggle) {
        padding: 10px 43px 10px 17px;
    }

    .stellarnav li li {
        text-align: left;
        background: #2a4c8a;
    }

    .stellarnav li li>a.dd-toggle .icon-plus:before,
    .stellarnav li li>a.dd-toggle .icon-plus:after {
        border-color: #fff;
    }

    .stellarnav>ul>li:after {
        content: none;
    }
    .me_tp_features {display: none;}
}



/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

.main_part {
    width: 90%;
    max-width: 1500px;
    padding: 50px 0;
}

#content,
#content_main {
    font-family: 'Noto Sans TC', Microsoft JhengHei, sans-serif;
}

.path p, .path p a {    display: none;
}

.show_content {
    padding: 0;

}
/*內頁banner*/
.banB {    display: none;}

/*預設解除背景輪播*/
#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;
    }
}







/*product*/

.product_page .main_part { max-width:1600px; padding: 100px 20px 50px;}
.product_info_page .main_part { padding: 100px 20px 50px; }

.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;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; width:100%; margin-left:0;}
.product-layer-two li:hover ul { border: none !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:#2a4c8a;}
.product-layer-two > li { width:100%; max-width:100%; padding:0; text-align:left; border-bottom:0px;}
.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:#2a4c8a;}

.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;}
.product_info_page  .swiper-wrapper .swiper-slide:nth-child(1)::after { display: none;}

@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) {
    .payment_form{ align-items: baseline;}
}



/* 左邊選單 */

.product-layer-two > li:last-child{ border-bottom: 0px;}
.product-layer-two li a{ background: transparent; color: #444;  padding: 12px 16px; transition: 0.3s; margin-bottom: 12px;} 
.product-layer-two li a:hover{ background: #2a4c8a; color: #fff; border: 0px; border-radius: 40px;}
.product-layer-two li li a{ color: #000; background: unset; }
.product-layer-two li i{ color: #fae5ea; } 
.product-layer-two li.active a{ background: #2a4c8a; border: 0px; color: #fff; border-radius: 40px;}


/* 商品 */
.products-list{grid-template-columns:1fr 1fr 1fr 1fr ; grid-gap: 40px 60px ;}
.products-list .price { text-align: center;  color: #434343;}
.products-list .price b{ color: #939292;}
.products-list .name{ font-size: 18px; color: #2a4c8a; font-weight: bold; text-align: center;
}
.products-list .item a{ transition: 0.3s;}
.products-list .more{ font-size: 15px; color: #2a4c8a; border: 0px; }
.products-list .item a:hover .more{ background: transparent; color: #d9364d;}
.products-list .pic img{ width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    transform: scale(1);
    transition: 0.5s;
}

.products-list .pic{ overflow: hidden; border-radius: 20px;}
.products-list .item a:hover img  {
border-radius: 20px;
background: #2a4c8a1a;
z-index: 999;
transform: scale(1.2);
}




/* 內頁 */
.product_info_page #content .swiper-slide:nth-child(1):before,.product_info_page #content .swiper-slide:nth-child(2):before{ display: none;}
.sidebarBtn{ border-radius: 24px;}
.sidebarBtn h2{ color: #2a4c8a; font-size: 26px;}
.sidebarBtn .sp_price{ color: #939292;}
.sidebarBtn .price{ border-bottom: 3px solid #e6e6e621;}
.proImgSwiper img{object-fit: cover;overflow: hidden;}
.pd_tabTitle li.activeTab a{ color: #332A28; font-size: 22px; font-weight: bold;}

.pd_tabTitle li.activeTab::after{ height: 0px; background: #E4E4E4;}
.sidebarBtn{ border: 1px #ddd solid;}
.inquiry_a3{ background: transparent;  transition: 0.3s; border-radius: 40px; color: #2a4c8a; border: 1px solid #2a4c8a!important;}
.inquiry_a3:hover { background: #2a4c8a; color: #fff;}

.rewrite_simple{ background: #2a4c8a; border-radius:40px; }
.send_simple{ background: #d9364d; border-radius: 40px; }


/* 相關推薦 */
.prod_related h6 span:before{  color: #332A28; font-size: 22px; font-weight: bold;}
.prod_related{ background: transparent; padding: 80px 15px 60px;}
.related_list li a{ background: transparent;}
.related_list li a img{ border-radius: 40px; transition: 0.5s;}
.related_list li a:hover img {
    opacity: 0.75;
    transition: 0.5s;
}
.lastPage{ background: #2a4c8a; border-radius: 40px;}



@media screen and (max-width:1529px) {
    .products-list .name{ font-size: 16px; margin-bottom: 10px; height: 30px;}
    .products-list .price b{ font-size: 14px;}
}

@media screen and (max-width:1024px) {
    .products-list{grid-template-columns:1fr 1fr 1fr ;}
}
@media screen and (max-width:980px) {
    .products-list, .pageIndex .products-list{
        grid-gap:40px 60px;
    }
}
@media screen and (max-width:930px) {
    .products-list{grid-template-columns:1fr 1fr;}
}

@media screen and (max-width:768px) {
    .product-layer-two{ display: block!important;}
    .product_page .product_menu_list>h5{ display: none;}
    .product_info_page #content .main_part{ padding:80px 20px 0px;}
    .mobile_product_name{ display: none;}
    .products-list .price b{ text-align: center!important;}
    /*購物車裡*/
    .total_amount {margin-bottom: 30px;}
    
}
@media screen and (max-width:450px) {
.products-list{grid-template-columns:1fr; gap: 24px;}
/*購物車裡*/
.car_page .information_left {display: none;}
}

/*ban*/
.banF,.banner  {background-image: url(https://pic03.eapple.com.tw/vitalstar2025ai/banf-01.png);
}
.banner h5 {
    position: relative;
    color: #2a4c8a;
    font-weight: 700;
    font-family: 'Noto Serif TC';
    line-height: 1;
    font-size: 30px;
}

.banner h5::before {
    content: "+";
    position: absolute;
    top: -5px;
    right: -20px;
    font-size: 18px;
    color: #2a4c8a;
    cursor: pointer;
    z-index: 2;
}

.product_page .banner h5::after {
    content: "PRODUCTS";
    display: block;
    font-size: 16px;
    color: #a3b0d6;
    margin-top: 15px;
    letter-spacing: 2px;
    font-weight: 500;
}

.blog_page .banner h5::after {
    content: "NEWS";
    display: block;
    font-size: 16px;
    color: #a3b0d6;
    margin-top: 15px;
    letter-spacing: 2px;
    font-weight: 500;
}

/*footer*/

.footer {    background: #fff;}
.footer_logo{width: 200px;margin: 0; margin-bottom: 10px;}
.footer_logo img{width: 100%;}
.footer_info{padding: 0;}

.footer_logo {
    display: flex;
    vertical-align: top;
    max-width: 280px;
    margin: 0;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: center;
}
.footer_info ul {padding-left: 0px;display: flex;width: 100%;    justify-content: space-evenly;}
.footer_info li{padding: 10px 0;}
.footer_info li:nth-child(1) {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: baseline;
}

.footer_info ul>li:nth-child(1):before {
    content: "CONTACT INFORMATION";
}
.footer_info li p.add2:before {
    content: '服務時間：';
}
.footer_info li p.tel:before {    
    content: '服務專線：';}

.footer_info li p.mail:before {    
    content: '服務信箱：';}

.footer_info li p.add:before {    
    content: '店家地址：';}

.footer_info li p.line:before {    
    content: '官方Line ID：';}

.footer_info li {
    display: flex;
    flex-direction: column; /* 垂直排列 */
}

.footer_info li p.taxid{ order:1 ;}
.footer_info li p.tel{ order:2 ;}
.footer_info li p.line{ order:3 ;}
.footer_info li p.mail{ order:4 ;}
.footer_info li p.add{ order:5 ;}
.footer_info li p.add2{ order:6 ;    text-align: left;}

.footer_info li:nth-child(2) {
    text-align: right;
        top: 20px;
    position: relative;
}
.footer_info ul>li:nth-child(2):before {
    content: "MAIN MENU";
}

.footer_info ul>li:before {
    font-size: 115%;
    color: #2a4c8a;
    display: block;
    margin: 0 0 20px;
    padding: 5px 0px 10px 5px;
    border-bottom: 1px solid #2a4c8a;
    letter-spacing: 0.2em;
    font-weight: bold;
}



.footer_info li p,.footer_info li p a{color: #2a4c8a;letter-spacing: 1px;font-weight: 400;}
.footer_menu {
    max-width: 150px;
}
.footer_menu a {background: transparent;color: #d9364d;border: none;font-weight: 300;letter-spacing: 1px;}
.footer_menu a:hover{ color: #fff;background: #2a4c8a; font-weight: 500; }
.copy {color: #2a4c8a;text-align: center;margin: 0 auto;padding: 30px 8%;border-top: none;letter-spacing: 1px; font-weight: 200;}
.copy a{color: #2a4c8a;font-weight: 200;}
.total_view{font-weight: 200;}
.box_link {top: 100%;width: 100%;text-align: right;padding: 0 8%;display: none;}
.box_link a {display: inline-block;width: 30px;height: 30px;border: none;}

.footer_info {
  position: relative;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.05); /* 微透明背景 */
  backdrop-filter: blur(6px); /* 模糊玻璃感 */
  -webkit-backdrop-filter: blur(6px);
  border-radius: 12px; /* 圓角更柔和 */
  overflow: visible;
  transition: background 0.3s ease;
}

/* 上下漸層邊框 */
.footer_info::before,
.footer_info::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(42, 76, 138, 0) 0%,
    #2a4c8a 30%,
    #d9364d 70%,
    rgba(42, 76, 138, 0) 100%
  );
  transition: all 0.5s ease;
}

.footer_info::before {
  top: 0;
}

.footer_info::after {
  bottom: 0;
}

/* hover 整體光感加強 */
.footer_info:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer_info:hover::before,
.footer_info:hover::after {
  background: linear-gradient(
    90deg,
    rgba(217, 54, 77, 0) 0%,
    #d9364d 40%,
    #2a4c8a 60%,
    rgba(217, 54, 77, 0) 100%
  );
  filter: brightness(1.4);
}

/* li 內文字或按鈕微調 */
.footer_info li {
  color: #fff;
  text-align: center;
  transition: color 0.3s ease;
}

.footer_info li:hover {
  color: #dcdcdc;
}

.footer,
.footer_info {
  overflow: visible !important;
  transform: none !important;
}

.footer_info,
.footer {
    transform: none !important;
    filter: none !important;
    backdrop-filter: none !important;
}
.fix_ri2 {
    position: fixed !important;
    bottom: 80px;
    right: 20px;
    z-index: 99999 !important;
}

@media screen and (max-width:1400px) {
    .footer .center{ max-width: 1000px;}
    .footer_info li:nth-child(2) {top: unset;}
}

@media screen and (max-width:1200px) {
    .footer_info{ padding: 0px 60px;}
}
@media screen and (max-width:1024px) {
    .footer{ background-position: right;}
    .footer_info {grid-template-columns: 150px 1fr;}
    .footer_logo img {width: 80%;}


}
@media screen and (max-width:768px) {
    .footer_info ul{ display: flex;flex-direction: column;}
    .footer_menu{ max-width: unset;}
    .footer_info li:nth-child(2){ width: 90%; text-align: left;}
    .footer_info li:nth-child(1){ margin-left: 7px;width: 90%; margin-left: unset;}
    .footer_info { padding: 32px 60px 0px; }
    .footer_info {
        grid-template-columns: 180px 1fr;
    }
    .copy {bottom: 30px;
    position: relative;
    padding: 35px 8%;}
}

@media screen and (max-width:660px) {
.footer_info li+li {margin-top: unset;}
.footer_menu a {padding: 1px 1px;}
.footer_info {padding: 20px;bottom: 30px;}

}

@media screen and (max-width:600px) {
    .copy{  padding: 16px 8%;}
    .footer.with_shopping_mode{ margin-top: -56px;}
        .copy {
               padding: 20px 5px 30px 5px;
    }
}
@media screen and (max-width:560px) {
.copy {font-size: 10px;}
.footer_info li:nth-child(1) {text-align: left;}
.footer_info {padding: 15px;}
    .footer_info {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width:350px) {
.footer_info ul>li:before {font-size: 100%;}

}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*文章設定*/
.blog_page h4.blog_category_title {display: none;}

.blog_box,
.blog_le {
    padding: 0;
}

.blog_ri {
    padding: 0 0 0 60px;
}

.blog_subbox {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px 15px;
}



.subbox_item,
.module_i_news li {
    width: 100%;
    margin: 0;
    border-bottom: none;
    background: #fff;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .075);
}

.subbox_item a,
.module_i_news li a {
    display: flex;
    flex-flow: column wrap;
    gap: 0;
}

.blog_list_le,
.i_blog_le {
    height: auto;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.blog_list_le:after,
.i_blog_le:after {
    content: 'VIEW MORE +';
    font-family: 'Roboto', 'Noto Sans TC', sans-serif;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 1px;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 8;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #2a4c8a;
    opacity: 0;
    transition: all .4s;

}

.subbox_item a:hover .blog_list_le:after,
.module_i_news li a:hover .i_blog_le:after {
    opacity: 1;
}

.blog_list_le img,
.i_blog_le img {
    min-width: 100%;
    margin: 0 auto;
    object-position: center;
    transition: 1s ease;
}

.subbox_item a:hover .blog_list_le img,
.module_i_news li a:hover .i_blog_le img {
    transform: scale(1.1);
}

.blog_list_ri,
.i_blog_ri {
    display: flex;
    flex-flow: column wrap;
    padding: 15px 10px 10px;
    position: relative;
    justify-content: center;
}

.blog_list_ri h5,
.i_blog_ri h5 {
    color: #2a4c8a;
    font-size: 20px;
    font-family: 'Noto Serif TC';
    font-weight: bold;
}

.blog_list_ri em,
.i_blog_ri em {
    font-weight: 400;
    margin: 8px 0 10px;
    font-size: 13px;
}

.blog_list_ri p,
.i_blog_ri p {
    line-height: 160%;
    -webkit-line-clamp: 2;
    margin-top: 0;
    font-size: 14px;
}

.subbox_item a:before,
.subbox_item a:after,
.module_i_news li a:before,
.module_i_news li a:after {
    content: none;
}

h5.blog_le_t {
    display: none;
}

.blog_le .accordion {
    border-radius: 0;
}

.accordion li .link a {
    color: #444;
    font-weight: 400;
    font-size: 15px;
    padding: 12px;
}

.accordion li .link {
    border-bottom: none;
}

.accordion li {
    transition: all 0.2s ease;
}

.blog_le .accordion>li:hover,
.blog_le .accordion>li.open:hover,
.blog_le .accordion>li.on_this_category:hover {
    background: #2a4c8a !important;
}

.blog_le .accordion>li.open,
.blog_le .accordion>li.on_this_category {
    background: #2a4c8a !important;
}

.blog_le .accordion>li.open .link a,
.blog_le .accordion>li.open .link i {
    color: #fff !important;
}

.submenu {
    background: #fff;
    font-size: 14px;
}

.submenu a {
    font-family: 'Noto Sans TC', sans-serif;
    color: #444;
    letter-spacing: 0px;
    font-weight: 400;
    padding: 12px 12px 12px 36px;
    border-left: #fbf7f4 0 solid;
    transition: all .15s;
}

.submenu li.on_this_category a,
.submenu a:hover {
    background: #fbf7f4;
    color: #222;
}

.submenu a i {
    left: 12px;

}

.submenu a:hover {
    border-left-width: 4px;
}

.blog_search input[type=search] {
    background: #fff;
    font-size: 13px;
    border-radius: 0;
    padding: 10px 36px 10px 12px;
}

.blog_search input[type=submit] {
    filter: grayscale(20);
}

.blog_le .accordion li .link i {
    transition: none;
}

/*內頁*/
.articel_mainPic img {max-width: 60%;
    padding: 40px;
}
.blog_shareData {
    display: none;
}

h4.blog_category_title {
    padding: 0;
    margin-bottom: 0;
    font-size: 26px;
    color: #2a4c8a;
    font-family: 'Noto Serif TC';
}

.blog_box_edit {
    color: #666;
    font-size: 16px;
}

.blog_box_edit * {
    line-height: 170%;
}

.blog_back {
    width: 100%;
    margin: 0 auto;
    grid-gap: 10px;
    justify-content: center;
}

.blog_back a {
    width: 100%;
    font-weight: 500 !important;
}

.blog_back a:hover {
    background: #d9364d !important;
}

.blog_back a.article_btn_next,
.blog_back a.article_btn_prev,
.blog_back a.article_btn_back {
    background: #2a4c8a;
    transition: all .3s ease;
}

.news_related {
    padding: 48px 0;
    background: #fff;
}

.news_related_list {
    max-width: 1500px;
    width: 90%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.news_related_list li {
    width: calc((100% - 60px) / 4);
}

.news_related_list li a {
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.lastPage {
    background: #d9364d;
    margin: 40px auto 20px;
}

.news_related h6 span:before {
    color: #666;
    font-family: 'Noto Serif TC';
}

.news_related_list li a p {
    margin: 6px auto 4px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #666;
}

/*首頁*/
.module_i_news ul {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
}

.module_i_news section {
    max-width: 1400px;
}

.module_i_news_list {
    padding: 0;
}

.module_i_news .animated-arrow {
    margin-top: 40px;
    background: #2a4c8a;
}

.module_i_news {
    padding: 80px 0 100px;
    width: 90%;
    margin: 0 auto;
}

.module_i_news .title_i_box h4 {
    color: #2a4c8a;
    font-weight: 700;
    font-family: 'Noto Serif TC';
    line-height: 1;
    font-size: 30px;
}
.module_i_news .title_i_box h4::after {
content: "NEWS";             /* 要顯示的文字 */
display: block;              /* 換行顯示 */
font-size: 16px;             /* 字體大小可自行調整 */
color: #a3b0d6;             /* 顏色可換成你的主色 */
margin-top: 15px;             /* 與標題的間距 */
letter-spacing: 2px;         /* 字距，讓視覺更好看 */
font-weight: 500;            /* 字重可調整 */
}

.module_i_news .title_i_box h4 {
    position: relative; /* 確保偽元素定位 */
}

.module_i_news .title_i_box h4 {
    position: relative; /* 文字參考定位框 */
    display: inline-block; /* 讓寬度剛好包住文字 */
}

.module_i_news .title_i_box h4::before {
    content: "+";
    position: absolute;
    top: -5px;      /* 往文字上方微調 */
    right: -20px;   /* 往右偏移距離文字 */
    font-size: 18px;
    color: #2a4c8a;
    cursor: pointer;
    z-index: 2;
}




.module_i_news li:nth-of-type(n+5) {
    display: none;
}

.module_i_news .pic {
  height: auto !important;
  aspect-ratio: auto !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 讓 .module_i_news 區塊圖片縮小顯示 */
.module_i_news .i_blog_le img,.blog_list_le img {
  width: 70% !important;          /* 圖片縮小比例 */
  height: auto !important;        /* 不強制填滿 */
  object-fit: contain !important; /* 保持完整顯示，不裁切 */
  margin: 0 auto !important;      /* 置中 */
  display: block;
}


@media screen and (max-width: 1024px) {
  .module_i_news ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
        .blog_ri {
        padding: 0;
    }

    .blog_subbox {
     grid-template-columns: repeat(3, 1fr); /* 一列三個 */
    grid-gap: 15px; /* 間距可調整 */
    }

    .blog_search {
        margin-bottom: 30px;
    }

    h4.blog_category_title {
        font-size: 22px;
    }

    .module_i_news ul {
    grid-template-columns: repeat(3, 1fr); /* 一列三個 */
    grid-gap: 15px; /* 間距可調整 */
    }
    

    .module_i_news {
        padding: 60px 0;
    }

    .articel_mainPic img {max-width: 100%;}
}

@media screen and (max-width: 600px) {
 .blog_subbox,.module_i_news ul  {
    grid-template-columns: repeat(2, 1fr); /* 一列三個 */
    grid-gap: 15px; /* 間距可調整 */}


}

@media screen and (max-width: 450px) {
 .blog_subbox,.module_i_news ul {
    grid-template-columns: repeat(1, 1fr); /* 一列三個 */
    grid-gap: 15px; /* 間距可調整 */}


}