@charset "utf-8";

/* <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+TC&display=swap" rel="stylesheet"> */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Serif+TC:wght@200..900&display=swap');
/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/
body {
  font-family: 'Noto Serif TC', serif !important;
}
.path p, .path p a{ display: none;}
.edit{ padding: 0px 0;}
.info_fix{ display: none;}

/* 常見問題 先用下拉顯示*/
.promotion_title{ display: none;}
.other_promotion{ display: none;}
.other_select_page .page{ display: none;}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* 開場動畫 - 模糊效果優化版 */
.pageIndex #page {
    position: relative;
    overflow: hidden;
}

.pageIndex #page::after {
    content: "";
    display: block;
    background-image: url(https://pic03.eapple.com.tw/xuande/LOGO.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 700px;
    height: 700px;
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 1000000000000000000001;
    pointer-events: none;
    animation: banner-logo 3s forwards cubic-bezier(0.33, 1, 0.68, 1);
    transform-origin: center center;
}

.pageIndex #page::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1000000000; /* 保持您原本的層級 */
    
    /* 設定底色 */
    background-color: #142C52;
    
    /* 注入八卦幾何紋路 (使用 SVG) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50 5L95 27.5V72.5L50 95L5 72.5V27.5L50 5Z' fill='none' stroke='%23ffffff' stroke-width='0.5' stroke-opacity='0.1'/%3E%3Ccircle cx='50' cy='50' r='12' fill='none' stroke='%23ffffff' stroke-width='0.5' stroke-opacity='0.05'/%3E%3C/svg%3E");
    
    /* 控制紋路大小：80px 讓視覺感較為精緻 */
    background-size: 80px 80px;
    
    /* 您原本的動畫 */
    animation: banner-bg 3s forwards;
}

@keyframes banner-logo {
    0% {
        opacity: 0;
        filter: blur(2px);
        transform: translate(-50%, -50%) scale(0.8);
    }
    20% {
        opacity: 1;
        filter: blur(0);
        transform: translate(-50%, -50%) scale(1.05);
    }
    40% {
        transform: translate(-50%, -50%) scale(0.95);
    }
    60% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        filter: blur(0);
    }
    75% {
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0);
    }
    85% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.9;
        filter: blur(1px); /* 開始輕微模糊 */
    }
    92% {
        filter: blur(3px); /* 漸進模糊 */
    }
    100% {
        filter: blur(8px); /* 最終模糊程度 */
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

@keyframes banner-bg {
    0% { opacity: 1; }
    75% { opacity: 1; }
    90% { opacity: 0.5; }
    100% { opacity: 0; }
}
/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:relative; margin:0; height:auto;}
.swiper-slide img { height: auto;}
@media screen and (max-width: 768px) {
	.pageIndex #page::after {
    width: 650px; 
}
}
@media screen and (max-width: 425px) {
	.pageIndex #page::after {
    width: 250px;    
}
}

.bannerindex::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    animation: fadeOut 3s ease-in-out forwards;
    pointer-events: none;
}
.swiper-wrapper {
    transform: translateX(-100%) scale(0.8); /* 初始位置在左側並縮小 */
    opacity: 0; /* 初始透明度 */
    animation: slideScaleIn 3s ease-in-out forwards;
}
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes slideScaleIn {
    0% {
        transform: translateX(-100%) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}





.bannerindex::before {
    content: "";
    position: absolute;
    background: url(https://pic03.eapple.com.tw/xuande/text.png) no-repeat center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
    pointer-events: none;
    top: 2.5%;
    left: 4%;
    width: 21%;
    height: 6% !important;
    background-position: left;
    animation: inkFadeIn2 1.3s cubic-bezier(.39,.575,.565,1.000) both;
    animation-delay: 1.9s;

    
}
@keyframes inkFadeIn2 {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: scale(1.5);
    }
    50% {
        opacity: 0.7;
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
        transform: scale(1);
    }
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* 隱私權政策隱藏 */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/
.main_header_area .container {
	max-width: 100%;
	background-color: #142C52;
	/* 所有的變化都要有平滑過場 */
	transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
	background-image: url(https://pic03.eapple.com.tw/xuande/head_pic.png);
	background-repeat: no-repeat;
	background-position: right bottom;    
}
.main_header_area.sticky .container {
    /* 顏色轉換為 RGBA (0.85 是透明度) */
    background-color: rgba(20, 44, 82, 0.55) !important;

}

.nav-header {
	position: static;background-color: transparent !important;
	text-align: center;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

.navigation {
    padding: 0 2%;
}

.nav-brand,
.nav-brand img {
    width: 100%;
    max-width: 80px;
    margin: 0px auto 0px;
    display: block;
    margin: 0px auto 0px;
    display: block;
    /* 動畫設定（不要用 all，效能比較穩） */
    transition: transform 0.6s ease, max-width 0.4s ease, filter 0.3s ease;
    /* 關鍵：原地旋轉 */
    transform-origin: center center;
}

/* sticky 狀態 */
header.sticky .nav-brand img {
    max-width: 55px;

    /* 原地旋轉 + 縮小 */
    transform: rotate(360deg) scale(0.7);

    /* 陰影質感 */
    filter: drop-shadow(0px 2px 5px rgba(0,0,0,0.1));
}

.main_header_area {
    background:transparent;
    transition: 0.5s;
}

.header_area.sticky .main_header_area {
    background:transparent;
    transition: 0.5s;
}

.stellarnav>ul {
    font-family: 'Noto Serif TC', serif !important;
    text-align: center;
}

.stellarnav > ul > li{
    padding: 7px 5px;
}

.stellarnav li.has-sub>a:after {
    content: none;
}

.stellarnav>ul>li>a {
    padding: 0 2px;
    line-height: 32px;
    height: 36px;
    color: #fff;
    display: block;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0 18px;
    transition: all 0.3s;
  
}

/* 1. 設定原本的連結樣式 (需將 position 設為 relative) */
.stellarnav > ul > li > a {
    position: relative;
    display: inline-block;
    transition: color 0.3s;
}

/* 2. 設定底線的初始狀態 (隱藏) */
.stellarnav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #B69A3A;
    transition: all 0.3s ease;
}

/* 3. Hover 時觸發動畫與樣式 */
.stellarnav > ul > li > a:hover::after,
.stellarnav li.has-sub:hover > a::after {
    width: 100%;
    left: 0;
    animation: underlineExpand 0.4s ease-out;
}

.stellarnav > ul > li > a:hover,
.stellarnav li.has-sub:hover > a {
    color: #B69A3A;
    font-weight: 800;
    text-shadow: unset;
}

/* 4. 定義 @keyframes 動畫 */
@keyframes underlineExpand {
    0% {
        width: 0;
        left: 50%;
    }
    100% {
        width: 100%;
        left: 0;
    }
}

/*次分類*/
.stellarnav ul ul {
    left: 50%;
    transform: translateX(-50%); 
    background: #B69A3A;
}
.stellarnav li li{
    border: 0px;
}
.stellarnav.desktop li.has-sub a{
  
    transition: all 0.3s;
}
.stellarnav.desktop li.has-sub a:hover{
   
}
.stellarnav li li.has-sub>a,
.stellarnav li li>a,
.stellarnav ul ul ul>li a {
    padding: 8px 16px;
    font-size: 16px;
    letter-spacing: 2px;
}

.stellarnav li li a,
.stellarnav li li.has-sub>a,
.stellarnav.mobile li li.has-sub a {
    color: #fff;
    transition: all 0.3s;
}

.stellarnav>ul>li>ul>li>a,
.stellarnav li li.has-sub>a,
.stellarnav ul ul ul>li a {
    border-left: 0px solid #8baf62;
    transition: 75ms;
}

.stellarnav>ul>li>ul>li:hover>a,
.stellarnav ul ul ul>li:hover a {
    border-left: 0px solid #8baf62;
}

.stellarnav li li a:hover,
.stellarnav li li.has-sub>a:hover,
.stellarnav.mobile li li.has-sub a:hover {
    color: #fff;
}

.stellarnav li.drop-left ul ul,
.stellarnav ul ul ul {
    left: 100%;
    right: 0;
    transform: none;
}

/*搜尋*/

.tp_links {
    display: none;
}

.me_tp_features {
    width: max-content;
    position: absolute;
    margin: 0;
    top: 9px;
    right: 40px;
    z-index: 9999;
    text-align: right !important;
    align-items: center;
    display: flex;
    justify-content: flex-end;
}

.box_search {
    width: 110px;
    margin-bottom: 0;
    margin-right: 6px;
}

.box_search form {
    width: 100%;
    display: none;
    justify-content: flex-end;
    align-items: center;
    align-content: center;
}

.box_search form:after {
    content: "";
    background: url(https://pic03.eapple.com.tw/nanaflower/search.svg) center no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    pointer-events: none;
    z-index: 1;
    filter: invert(.75);
}

.box_search input[type=text] {
    width: 0;
    border: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    border-bottom: 1px solid #555;
}

.shop_search_btn {
    display: none;
    color: transparent;
    background: transparent;
    padding: 0;
    width: 30px;
    height: 30px;
}

.box_search form:focus-within input[type=text] {
    width: calc(100% - 30px);
    padding: 5px;
}

.box_search form:focus-within .shop_search_btn {
    display: block;
}

.header_area.sticky .box_search form input[type=text]::selection {
    color: #fff;
}

.box_search input[type=text]:focus {
    color: #555;
}

.me_tp_features input::-webkit-input-placeholder {
    color: transparent;
}

.me_tp_features input:-moz-placeholder {
    color: transparent;
}

.me_tp_features input::-moz-placeholder {
    color: transparent;
}

.me_tp_features input:-ms-input-placeholder {
    color: transparent;
}

.me_tp_features input:-webkit-autofill,
.me_tp_features input:-webkit-autofill:hover,
.me_tp_features input:-webkit-autofill:focus,
.me_tp_features input:-webkit-autofill:active {
    -webkit-text-fill-color: #555;
    caret-color: #555;
    transition: background-color 5000s ease-in-out 0s;
}

.header_area.sticky .me_tp_features input:-webkit-autofill,
.header_area.sticky .me_tp_features input:-webkit-autofill:hover,
.header_area.sticky .me_tp_features input:-webkit-autofill:focus,
.header_area.sticky .me_tp_features input:-webkit-autofill:active {
    -webkit-text-fill-color: #555;
    caret-color: #555;
    transition: background-color 5000s ease-in-out 0s;
}


/* 漢堡條 */
.stellarnav .menu-toggle span.bars span {background: #dedede;}
.stellarnav .menu-toggle:after { color: #dedede;}

/* close menu 拉出來 */
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu{
    background: #bb7f3e;
    color: #fff;
  }
  .stellarnav .icon-close:before{
    border-bottom: solid 3px #fff;
  }
  .stellarnav .icon-close:after{
    border-bottom: solid 3px #fff;
  }
  .stellarnav.mobile.right > ul, .stellarnav.mobile.left > ul{
    background: #fffbf0;
  }
  .stellarnav a.dd-toggle .icon-plus:before{
    border-bottom: solid 3px #921c24;
  }
  .stellarnav a.dd-toggle .icon-plus:after{
    border-bottom: solid 3px #921c24;
  }
  .stellarnav.mobile > ul > li > a{
    padding: 20px 43px 20px 10px;
  }
  .stellarnav.mobile > ul > li > a.dd-toggle{
    padding: 11px;
    top: 11px;
  }
  .stellarnav.mobile > ul > li > a.dd-toggle:hover{
    background: transparent;
  }
  .stellarnav.mobile li.open{
    background: rgb(255 251 241);
  }
  .stellarnav.mobile ul ul{
    width: 100%;
    position: relative;
    left: 0;
   }
  .stellarnav.mobile > ul > li{
    border-bottom: 1px rgba(241, 228,195, 0.4)  solid;
  }
  .stellarnav.mobile li a{
    border-bottom: 0px;
  }


@media screen and (max-width:895px) {
    .stellarnav > ul > li{
        padding: 7px 0px;
    }
    .stellarnav>ul>li>a{margin: 0px 12px; }
}
@media screen and (max-width:768px) {
    .nav-brand, .nav-brand img{ max-width: 95px;margin: 0px auto 0px;}
    .stellarnav.mobile{ top: 10px; left: 10px; background:#9c7138; border-radius: 100px;}
    .stellarnav>ul>li>a{color: #3c552d; text-shadow: unset;}
    .stellarnav>ul>li>a:hover, .stellarnav li.has-sub:hover>a{ color:#921c24; padding: 20px 43px 20px 10px;border-radius: 0px;}
	.stellarnav .menu-toggle {padding: 10px 10px;}
	.stellarnav.mobile ul ul {background: #d1a076;}
	.stellarnav li.has-sub:hover>a {background:transparent;}
	.stellarnav.mobile > ul > li > a {  padding: 15px 43px 15px 10px;}
	.stellarnav ul ul {
    left: 0%;
    transform: translateX(0%); 
    
}
}
@media screen and (max-width:600px) {
.me_tp_features { display: none;}
}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

#content {
	background-image: url(https://pic03.eapple.com.tw/xuande/bg.jpg);
	background-repeat: no-repeat;
	background-position: center top;
}
/*footer*/


.footer {font-family: 'Noto Serif TC', serif !important;
    padding: 18px 0 0;
    background: #e8dcbd61;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .05);
}

.footer_logo {
    width: 85px;
    margin: 0 auto;
    text-align: center;
	 display: block;
}

.footer_logo img {
    display: block;
    width: 100%;
}

.footer_info {
    /*display: flex;*/
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    font-weight: normal;
	font-family: 'Noto Serif TC', serif !important;
}

.footer_info ul {
    PADDING: 10px 0;
    width: 100%;
    text-align: center;
    letter-spacing: 0;
}

.footer_info li p,
.footer_info li p a {
    color: #fff;
    font-size: 16px;
}
.footer_info li:nth-child(1){
    display: flex;
    flex-direction: column;
}

.footer_info li p.mail{ display: none;}
.footer_info li p.add2:before { display: none;}
.footer_info li p.add{order: 2;}
.footer_info li p:nth-child(4) { order: 3;}
.footer_info li p.add2{ order: 1; font-size: 20px!important; font-weight: bold; color: #799d55; }

.footer_menu a {
    border-radius: 30px;
}

.footer_menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), auto));
    gap: 5px;
    width: 80%;
    margin: 0 auto;
}

.footer_menu a {
    margin: 0;
    text-align: center;
    padding: 6px 12px;
    transition: all 0.3s;
    font-size: 13px;
    background: none;
    color:#d3b881;
    border:1px solid #534331;
}

.footer_menu a:hover {
    background:  #a77933;
     color: #fff;
}

.copy,
.copy a,
.copy a:hover {
    color: #fff;
}

.copy {
   font-family: 'Noto Serif TC', serif !important;
    margin-top: 12px;
    border-top: none;
    padding: 16px 0;
    background: #162d50;
}

.box_link,
.footer_menu a:nth-of-type(-n+1) {
    display: none;
}
@media screen and (max-width: 600px) {
	.footer_menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(108px, 100%), auto));}}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */



.product_page .main_part { max-width:1500px;}
.product_info_page .main_part { max-width:1200px;}
.me_tp_features a { color: #fff;}
.product_page .show_content,
.product_info_page .show_content { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap;}
.product_page .product-layer-two { 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); display: flex; flex-wrap: wrap; align-items: flex-start;}
ul.page { width: 100%;}
.products-list .item {width: 32%;}
.product-layer-two li ul { position:static; margin-top:10px; 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:5px 10px; transition:all ease .3s;}
.product-layer-two li li a{ padding:0;}
.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;}
.product-layer-two > li ul > li + li { margin-top:5px;}

.product_info_page .product-layer-two { display: none;}
.product_info_page .products-list,
.product-wrapper { width: 100%;}

.product-layer-two li li:hover{ margin-left: 15px;}
.product-layer-two li li > a:before { content: ""; position: absolute; width: 12px; height: 8px; background: #fff; 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;}
.inquiry_a3 { background: #997d44;}
.inquiry_a1 { background: #a28a5e;}
.inquiry_a2 { background: #c2b08e;}
.inquiry_a1:hover, .inquiry_a2:hover, .inquiry_a3:hover {
      background: #162d50;
}
@media screen and (max-width: 1200px) {
.products-list .item { width: calc(100% / 3);}
}
@media screen and (max-width: 980px) {
.products-list .item { width: 50%;}
}
@media screen and (max-width: 768px) {
.product-layer-two,
.products-list,
.product-wrapper { width: 100%;}
.product-layer-two { margin-right: 0;}
.product-layer-two > li { margin-bottom: 5px;}
.product_page .product-layer-two,
.product_page .products-list { width: 100%; border-right: none;}

.product_page .show_content > a { order: 1;}
.product_page ul.products-list { order: 2;}
.product_page ul.page { order: 3;}
.product_page ul.product-layer-two { order: 4;}
}
@media screen and (max-width: 600px) {
.products-list .item { width: 100%; max-width: 350px;margin: 20px auto; display: block;}
.footer_logo { width: 73px;}
}


/* 如果有購物商品 匯款資訊顯示 需要打開這條 */
/* .car_page .information_left {
    display: block;
} */


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設解除背景輪播*/
#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;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/* 內頁banner */
@keyframes oxxo {
    0% { transform: scale(1.1); }
    100% { transform: scale(1);}
  }
   
   /*內頁BANNER 設定*/
 .banner {
    font-family: 'Noto Serif TC', serif !important;
    background-position: center;
    background-size: cover;
    padding: 125px 0 150px 0;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: repeat center center #fff;
    background-image: url(https://pic03.eapple.com.tw/xuande/banner.jpg);
    /* 新增動態特效 */
    animation: kenburns 12s ease-in-out infinite alternate;
}

/* ---- 背景動態 Ken Burns 效果 ---- */
@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.1) translate(-2%, -2%);
    }
}

/* ---- 疊加柔光遮罩 ---- */
.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    mix-blend-mode: overlay;
}
    .banB{display: none;}
	.banblog h5:before{
	content: "News"!important;
	inline-block;
	top: 30%;
	left: 50%;
	PADDING: 0 12PX;
	color: #FFF;
	font-size: 14px;
	letter-spacing: 1.5px;
	font-weight: 400;
	width: 70pt;
	background-color: #981A30;
	text-align: center;
	height: 27px;
}
.banblog h5{
    content: "活動花絮" !important;}
.banF h5:before{
	content: "Product"!important;
	inline-block;
	top: 30%;
	left: 50%;
	PADDING: 0 12PX;
	color: #FFF;
	font-size: 14px;
	letter-spacing: 1.5px;
	font-weight: 400;
	width: 70pt;
	background-color: #981A30;
	text-align: center;
	height: 27px;
}
     
 .banner h5{font-family: 'Noto Serif TC', serif !important;
	transform: translateY(33%);	
	font-size: 30px;
	color: #d9ceb9;
}
   
   
    
    @media screen and (max-width:1024px) {
        .banner.banB::before{
           background-position: right;
        }
        .banner.banA::before{
            background-position: right;
        }
      }
    @media screen and (max-width:500px) {
      .banner{
        padding: 80px 0 80px 0;
      }
	   .banner h5{
	transform: translateY(0%);	
	}
    }

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*文章管理/＝＝＝＝＝*/
h4.blog_category_title{font-size: 28px;}
h4.blog_category_title span{font-size: 24px;}
/*文章管理/外層＝＝*/
.module_i_news ul, .blog_subbox {    display: grid; }
.module_i_news li , .subbox_item {    width: 100%;    margin-bottom: 30px;}
.module_i_news li a , .subbox_item a {    padding: 5px;}
.module_i_news li a:before { color: #981A30;}
.module_i_news li a:after , .subbox_item a:after{pointer-events:none;border: 1px  #981A30 solid;}
.i_blog_le, .i_blog_ri , .blog_list_le , .blog_list_ri {    width: 100%;}
.module_i_news .title_i_box h4 {
    font-size:26px;
    color: #8B7647;
    font-weight: 800;
}
.blog_list_ri {padding-top: 20px;}
/* 父容器設定 (保持您原有的邏輯，優化重複屬性) */
.i_blog_le, 
.blog_list_le {
    position: relative;
    width: 100%;
    padding-bottom: 130%; /* 比例 1:1.3 */
    height: 0;
    overflow: hidden;
}

/* 圖片設定 (加入關鍵的 absolute 定位) */
.i_blog_le img, 
.blog_list_le img {
    position: absolute;   /* 這行最重要！讓圖片脫離一般排版定位 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;         /* 現在有了 absolute，這才會生效 */
    object-fit: cover;    /* 自動裁切填滿，不會變形 */
    object-position: center;
}
.blog_list_ri p {
     -webkit-line-clamp: 2;}  
.blog_list_ri h5{
   color:#8B7647;
  border-bottom:1px solid#8B7647 ;padding-bottom: 5px;
}
.subbox_item a:after {
    background: rgb(255 255 255 / 0%);
    border: 1px #981A30;
}
.subbox_item a {
  border: 1px solid transparent; /* 預設透明邊框，避免滑過時跳動 */
  transition: border-color 0.3s ease;
}

.subbox_item a:hover {
  border-color: #981A30; /* 滑過時出現紅色邊框 */
}


.subbox_item a:before {
    content: 'MORE';
    bottom: unset;
    top: 35%;
    right: unset;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    background: #981A30;
    width: max-content;
    padding: 3px 10px;
}

/*側邊*/
.blog_le .accordion > li{transition:all 0.3s;}
.blog_le .accordion {
    border-radius:20px;background:#f0e7df;
    border:none;}
.blog_le .accordion:hover {
  
    color: #fff;  /* 文字顏色可依需求調整 */
}
.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category {
    background: #8B7647 !important;
}
.module_i_news {
	background-image: url(https://pic03.eapple.com.tw/xuande/bg.jpg);
	background-repeat: no-repeat;
	background-position: center top;
 }
.blog_le .accordion > li{position: relative;}
/*首*/
.module_i_news ul { max-width: 1400px;}
.module_i_news ul{width: 100%;	grid-template-columns:1fr 1fr 1fr 1fr ;}

/*功*/
.blog_subbox{grid-template-columns:1fr 1fr 1fr;}
.blog_subbox:before{content:none;}
/*文章管理/內層＝＝*/
.blog_back a.article_btn_back{background:#b98553;padding-top: 10px;}

.blog_list_ri p{
	font-size: 15px;
	letter-spacing: 1px;
	line-height:25px;
}
.blog_box_edit {
	line-height: 2;
	padding-top: 20px;
	padding-bottom: 20px;
}
.blog_back a.article_btn_next,.blog_back a.article_btn_prev  {
    background: #cfc8c8;
}
@media screen and (max-width:1200px) {
  .subbox_item{ background: transparent;}
  .blog_page .subbox_item{ height: unset;}
  .module_i_news ul{grid-template-columns:1fr 1fr;}
  .blog_subbox{grid-template-columns:1fr 1fr;}

}

@media screen and (max-width:768px) {
  .blog_le{ width: 100%;}
  .subbox_item{ border-bottom: 0px;}
  .module_i_news li{ border-bottom: 0px;}
  .blog_ri{width: 90%;}
}
@media screen and (max-width:600px) {
    .subbox_item a:before{ display: none;}
	/*文章管理/＝＝＝＝＝*/
.module_i_news ul , .blog_subbox{grid-template-columns:1fr;}
.i_blog_le, .blog_list_le {    padding-bottom: 75%;}
h4.blog_category_title{font-size: 20px;}
h4.blog_category_title span{font-size: 18px;}
}
@media screen and (max-width:500px) {
  .blog_list_le{ width: 100%;}
  .blog_list_ri{ width: 100%; padding: 0.5vw 2vw 4vw;}
  /* .blog_list_ */
}

@media screen and (max-width:420px) {
    .i_blog_le{ width: 100%;}
    .i_blog_ri{ width: 100%;}
    .module_i_news li{ margin-bottom: 12px;}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
.blog_page .main_part {
     max-width: 1500px;}

/*相本分類全版面 ( 限制最寬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; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */




.car_page .information_left {
    display: block;
}
body.car_page .footer_info li p:before{
    position: initial;
    display: inline;
}
.contact_le_map a{background: #2a93d8; }


@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {display: block; }
.footer.with_shopping_mode { padding:30px 0 60px; }
#to_top { bottom:60px;}
}

@media screen and (max-width: 600px) { 
}



.footer {
	background-image: url(https://pic03.eapple.com.tw/xuande/footer_pic.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;   
}
.footer .center {
    padding-bottom: 28px;
    padding-top: 20px;
}