@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;}
*/

/*網站整體背景*/


.blank_letter ,h5.blog_le_t ,.subalbum-menu h2 ,.news_related h6 span:before ,.module_i_news .title_i_box h6 ,.privacyContent a:hover ,.blog_list_ri h5 ,.i_blog_ri h5 ,.module_i_news li a:before {
	color:#8B9DA3;}	


.contact_form li.last cite ,.contact_le_map a ,.other_album_choice li ,.blog_back a.article_btn_back ,.lastPage ,.animated-arrow {
    background: #8B9DA3;}	
	
.album_fixed_title {
    color: #8B9DA3;
    background: #ffffff;}	
	
.module_i_news li a:after {
    background: rgb(139,157,163,0.3);
    border: 1px #FFFFFF solid;}	
	
.products-list .more{
	border: 1px solid #8B9DA3;
    color: #8B9DA3;}	
	
.products-list .item a:hover .more {
	background:#8B9DA3;}	


.module_i_album .title_i_box h6 {
    color: #8B9DA3;}
	
.module_i_album .title_i_box h4 {
    font-size: 18px;
    color: #8B9DA3;
	letter-spacing: 3px;}	
	
.i_album_list li a p{
	background: rgb(139,157,163,0.3);
	color: #ffffff;	}

.module_i_album {
    background: #8B9DA3;}




/*大圖*/

.bannerindex .swiper-slide:nth-child(1):before { 
    width: 25% ;
    background-image: url(https://pic03.eapple.com.tw/xishanlan/banner1_1.png);
    aspect-ratio: 1/1;
	background-size: contain;
    height: auto;
    top: 15vw ;
    right: 8% ;
}


.bannerindex .swiper-slide:nth-child(2):before { 
    width: 25%;
    background-image: url(https://pic03.eapple.com.tw/xishanlan/banner2_2.png);
    aspect-ratio: 1/1;
	background-size: contain;
    height: auto;
    top: 15vw;
    left: 8%;
}




@media screen and (max-width: 768px) {
/* 行動裝置相容性調整 大圖調整 */
.swiper-slide img { animation-fill-mode: none; -webkit-animation-fill-mode: none;}
}

.swiper-slide:before {
    content: "";
    position: absolute;
    z-index: 999;
    pointer-events:none;
    background-size: contain;
    background-repeat: no-repeat;
}




.swiper-slide.swiper-slide-active:nth-child(1):before {
    animation: ani_RtoL 1.5s 0.5s both;
}

.swiper-slide.swiper-slide-active:nth-child(2):before{
    animation: ani_LtoR 1.5s 0.5s both;
}



@keyframes ani_RtoL {
    0% {
      -webkit-transform: translateX(100%);
              transform: translateX(100%);
              opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
              opacity:1;
    }
  }

  @keyframes ani_LtoR {
    0% {
      -webkit-transform: translateX(-100%);
              transform: translateX(-100%);
              opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
              opacity:1;
    }
  }


/* 關閉 banner 放大動畫 */
.swiper-slide img{
    transform: scale(1) !important;
    animation: none !important;
    transition: none !important;
}

.swiper-slide-active img,
.swiper-slide.swiper-slide-active img{
    transform: scale(1) !important;
    animation: none !important;
}



/*header*/
.header_area {
    background: #F4F1EC;
	height: 120px;
	padding: 0;}
	
.header_area.sticky {
    background: #F4F1EC;
	position: fixed;
	transition: all 0.3s;
    width: 100%;}	
	
.header_area.sticky .main_header_area .container { 
    max-width: 88%; 
	transition: all 0.3s;}	
	

	
.main_header_area .container { 
    max-width: 95%;
	transition: all 0.3s;}	
	
.nav-brand img {
    max-width: 80%;}	

.nav-brand {
    padding: 3px;}	


.stellarnav ul {
    font-family: 'Noto Serif TC', serif;}

.stellarnav > ul > li{
	width:150px;}


.stellarnav > ul > li > a{
	color:#535351;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 1px;}

.stellarnav > ul > li > a:hover{
	color:#C8B381;
	transition: all 0.3s;}	
	

.stellarnav > ul > li > a b{
	color:#535351;
	font-size: 18px;
	letter-spacing: 2px;}
	
.stellarnav > ul > li > a b:hover{
	color:#8B9DA3;
	transition: all 0.3s;}
	
.stellarnav li.has-sub > a:after{
	display:none;}	
	
.stellarnav > ul > li.has-sub > a{
	padding-right: 0;}	

.stellarnav li{
	padding: 40px 10px ;
	width: 150px;}
	
.stellarnav li li{
    padding: 0;}	
	
.stellarnav li li a {
    background: #F4F1EC;
    color: #535351;
	font-size: 18px;
	padding: 15px;}		
	
.stellarnav li li a:hover {
    background: #8B9DA3;
    transition: .5s;
    color: #ffffff;}	


.me_tp_features{display: none;}
.tp_links {
    display: none;}		


.stellarnav > ul > li:nth-child(9) {
	display:none;}
	
.footer_menu a:nth-child(9) {
	display:none;}	



/*footer*/

.footer { 
     background:#F4F1EC;
	 position: relative;}
	 
.footer_logo img { 
     max-width: 280px; 
	 width: 100%;
	 display:none;}

	 
.footer_info {  
     padding: 0;
	 display: flex;
	 flex-direction: row;
	 align-items: center;
	 flex-wrap: wrap;
	 align-content: space-between;
	 gap: 10px;
	 font-family: 'Noto Serif TC', serif;}
	 
	 
.footer_info ul{ 
     display: grid;
	 grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	 gap: 0;
	 letter-spacing: 0.15em;}


/*footer_info*/

.footer_info li{ 
     padding: 20px 10px 50px 10px;}
	 
.footer_info ul>li:nth-child(1):before{
    content: "CONTACT";
    font-family: "Cinzel",'Noto sans TC', sans-serif;
    font-weight: 500;}
	
.footer_info ul>li:before{
    font-size: 165%;
    color: #535351;
    display: block;
    margin: 0 0 20px;
    border-bottom: 1px solid #535351;
    padding-bottom: 10px;
    letter-spacing: 1px;}
	
	
.footer_info li:nth-child(1) { 
    display: inline-block; 
	width: 100%;}
	
.footer_info li p ,.footer_info li p a {
	color: #535351;}


/*footer_menu*/
.footer_info ul>li:nth-child(2):before{
    content: "MENU";
    font-family: "Cinzel",'Noto sans TC', sans-serif;
    font-weight: 500;}
	

.footer_info li:nth-child(2) { 
    display: inline-block; 
	width: 100%; 
	vertical-align: top; }
	
.footer_menu {
	margin-top: 10px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 5px;}/*footer按鈕最小寬度100px*/
	
	
.footer_menu a:nth-child(1),.footer_menu a:nth-child(n+10){
	display: none;}
	
.footer_menu a {
	margin: 0 0 0 15px;
	padding: 0;
	background: transparent;
	border: none;
	text-align: left;
	color: #535351;
	display: block;
	width: fit-content;}
	
.footer_menu a:hover { 
    background: transparent; 
	color: #B9945B; 
	border: transparent;
	transition:all 0.3s;}
	
.footer_info li p.add2:before{
	display:none;}
	


	
/*聯絡icon*/
.box_link{display: none;}


/*版權*/
.copy { 
     background: #8B9DA3; 
	 color: #ffffff; 
	 border: none;}
	 
.copy a { 
     color: #ffffff; 
	 transition:all 0.3s;}
	
/*浮動按鈕*/	
.info_fix {
	display:none;}
	
/*內頁banner*/

.banner {
    display:none;
	background: repeat center center #ffffff;
	background: no-repeat;
    max-height: 90vw;
    background-size: cover;
	height:630px;
	background-position: center;}
	

	
.banner h5 {
	display:none;}
	
.path {
    display: none;}		
	

/*聯絡我們*/	
.contact_content{ width:80%;} 	
	
	
/*商品調整*/	
a.pdinfo_tel{
	display:none;}
	
.sidebarBtn{
	width:100%;
	border: 0px #ddd solid;}	

.main_part{
	padding: 10px;
	max-width: 1500px;}

.prod_tabs {
    margin-top: 20px;}	
	
.articel_mainPic img {
    display: none;}	
	
/*購物車調整*/	

.products-list .item {
    width: 100%;
    -webkit-box-shadow: 0px 1px 10px #cccccc;
     padding: 10px;
    background: #ffffff;}

.products-list {
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));}
	
.products-list .pic {
	overflow: unset;}	
	
.products-list .name {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
	height: 2.5em;}	
	
	
.product-layer-two li a {
    border: none;
    background: #C6B27F;
    color: #ffffff;
	font-weight: bold;}	
	
.product-layer-two li a:hover {
    background: #C6B27F;
	transition: all .3s;}		
	
.product-layer-two > li {
    border-bottom: 0px dotted #ccc !important;}
	
#prod_thumbSwiper {
	display:none;}


.proImgSwiper li {
    justify-content: left;}
	
.show_content {
    padding: 150px 10px;}
	
.edit {
    letter-spacing: 2px;
    line-height: 40px;
    font-size: 18px;
    font-weight: bold;
    color: #777777;	}
	
.pd_tabTitle li a {
    font-size: 20px;
    font-weight: bold;
    color: #C6B27F;	}
	
.pd_tabTitle li.activeTab::after {
    background: #C6B27F;}	
	
.pd_tabTitle li {
    border-bottom: 1px solid #C6B27F;}	
	
.prod_related ,.news_related {
    background: #FAF8F3;}	


.sidebarBtn {
    border: none;
    background: transparent;
	margin-top: 20% !important;
	width: 45%;}
	
.sidebarBtn h2 {
    color: #C6B27F;
    font-size: 35px;}	
	
.toShare{
	display:none;}		
	
.product_info li {
    display: none;}	

.prod_info_clearfix {
    display: none;
}


.sidebarBtn form {
    display: none;
}

.prod_tabs {
    margin: 0;
}

@media (min-width:769px){
    .product_info_page .product-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product_main {
        width: 100%;
        grid-row: 1/span 3;
        display: block;
    }
	
	
.sidebarBtn {
	margin-top: 0;}
}			
	
	
		
@media screen and (max-width: 1024px) {


.stellarnav li{
	padding: 10px 10px 0;
	letter-spacing: 3px;}

}	



/*文章調整*/
.blog_subbox{
	grid-gap: 30px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));}

.subbox_item a {
    grid-template-columns: auto;
	position: relative;
    overflow: hidden;}



.subbox_item a:before{
    content:"READ MORE";
    position:absolute;
    left:50%;
    top:33%;
    transform:translate(-50%);
    font-size:25px;
    font-weight:600;
    letter-spacing:1px;
    color:#ffffff;
    opacity:0;
    z-index:20;
    transition:all .45s cubic-bezier(.22,.61,.36,1);
}


.ubbox_item:hover a:before{
    opacity:1;
    transform:translate(-50%,-50%);}



.blog_list_ri h5 {
	font-size: 24px;}

.blog_list_ri p{
	font-size: 16px;
	padding: 10px 0;
    line-height: 30px;
    letter-spacing: 1px;}
	
.subbox_item a:after{
	background: rgba(255, 255, 255, 0.5);
    border: 0px #ddd solid;}
	

.accordion li .link a{
	font-size: 18px;
    letter-spacing: 1px;
	font-weight: 300;}


.accordion li .link a:hover{
	transition:all 0.3s;
	background:#C6B27F;
	color:#ffffff;}
	
.blog_ri {
    width: calc(100% - 310px);
    padding: 0 0 0 50px;}	


.other_promotion ,.promotion_title{
	display:none;}
	
.page{
	margin: 0;}	


/*上方選單右邊設定 臉書/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 {}
*/

/* 商品下拉超過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_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-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: 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 設定*/
.banner {}
.banner h5 {}
.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; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */





@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {display: block; }

#to_top { bottom:60px;}

/*手機板設定*/

.bannerindex {
        padding: 0;
        margin: 0;}
	
#bottom_menu {
    display: flex !important;}		

.header_area {
    padding: 10px;
	height:auto;}

.header_area.sticky {
	padding-top: 10px;}

.nav-brand img {
    max-width: 100%;}	
	
.sticky .nav-header {
    display: block;
    transition: all 0s;
	width:50%;}	

	
.stellarnav.mobile.left > ul {
    background: #FFFFFF;}
	
.stellarnav .menu-toggle:after {
	color: #7A7A7A;}	
	
.stellarnav .menu-toggle span.bars span{
	background: #7A7A7A;}			
	
.stellarnav li {
    padding: 10px;}	

.stellarnav > ul > li > a b{
    font-size: 15px;}	

.mobile_product_name{
	display: none;}
	
.show_content{
	padding:0}
	
.sidebarBtn {
    padding: 0 10px;
    margin: 0;}
	
.product_menu_list {
    margin-bottom: 0;}	
	
.stellarnav > ul > li {
    width: 100%;}	

.stellarnav.mobile > ul > li > a {
    padding: 10px;}

}

@media screen and (max-width: 600px) { 
    .subbox_item a{grid-template-columns: 1fr; max-width: 380px; margin: 0 auto;}
}


@media screen and (max-width: 480px) { 
}




/* ========== 2026.09｜首頁互動與 footer 客製 ========== */

/* 選單：細線由中央展開，文字微微上提 */
@media screen and (min-width: 769px) {
    .stellarnav > ul > li {
        position: relative;
    }

    .stellarnav > ul > li > a {
        position: relative;
        display: inline-block;
        transition: color .35s ease, transform .35s ease;
    }

    .stellarnav > ul > li > a:after {
        content: "";
        position: absolute;
        right: 50%;
        bottom: -9px;
        left: 50%;
        height: 1px;
        background: #8B9DA3;
        opacity: 0;
        transition: left .35s ease, right .35s ease, opacity .35s ease;
    }

    .stellarnav > ul > li > a:hover {
        color: #8B9DA3;
        transform: translateY(-4px);
    }

    .stellarnav > ul > li > a:hover:after {
        right: 13%;
        left: 13%;
        opacity: 1;
    }

    .stellarnav > ul > li > a:hover b {
        color: #8B9DA3;
    }
}

/* 首頁兩張花藝圖：柔和浮現、微旋後定格 */
.bannerindex .swiper-slide:nth-child(1):before,
.bannerindex .swiper-slide:nth-child(2):before {
    filter: drop-shadow(0 18px 24px rgba(66, 76, 70, .12));
    will-change: opacity, transform, filter;
}

.swiper-slide.swiper-slide-active:nth-child(1):before {
    animation: bannerBloomRight 1.55s .25s cubic-bezier(.18,.86,.28,1) both;
}

.swiper-slide.swiper-slide-active:nth-child(2):before {
    animation: bannerBloomLeft 1.55s .25s cubic-bezier(.18,.86,.28,1) both;
}

@keyframes bannerBloomRight {
    0% { opacity: 0; transform: translate(12%, 5%) scale(.84) rotate(5deg); filter: blur(8px) drop-shadow(0 18px 24px rgba(66, 76, 70, 0)); }
    68% { opacity: 1; transform: translate(-1%, -1%) scale(1.025) rotate(-1deg); filter: blur(0) drop-shadow(0 18px 24px rgba(66, 76, 70, .12)); }
    100% { opacity: 1; transform: translate(0) scale(1) rotate(0); filter: blur(0) drop-shadow(0 18px 24px rgba(66, 76, 70, .12)); }
}

@keyframes bannerBloomLeft {
    0% { opacity: 0; transform: translate(-12%, 5%) scale(.84) rotate(-5deg); filter: blur(8px) drop-shadow(0 18px 24px rgba(66, 76, 70, 0)); }
    68% { opacity: 1; transform: translate(1%, -1%) scale(1.025) rotate(1deg); filter: blur(0) drop-shadow(0 18px 24px rgba(66, 76, 70, .12)); }
    100% { opacity: 1; transform: translate(0) scale(1) rotate(0); filter: blur(0) drop-shadow(0 18px 24px rgba(66, 76, 70, .12)); }
}

/* footer：左 LOGO／中央導覽／右 CONTACT */
@media screen and (min-width: 769px) {
    .footer {
        background: #f4f1ec;
    }

    .footer .center {
        max-width: 1480px;
        width: 92%;
        margin: 0 auto;
    }

    .footer_info {
        display: grid;
        grid-template-columns: minmax(190px, .88fr) minmax(560px, 2.4fr);
        align-items: center;
        gap: clamp(35px, 6vw, 105px);
        padding: 50px 0 38px;
        position: relative;
    }

    .footer_logo {
        text-align: center;
    }

    .footer_logo img {
        display: block;
        width: min(100%, 220px);
        max-width: 220px;
        margin: 0 auto;
    }

    .footer_info > ul {
        display: grid;
        grid-template-columns: minmax(330px, 1.4fr) minmax(245px, .8fr);
        align-items: start;
        gap: clamp(30px, 5vw, 80px);
        margin: 0;
    }

    .footer_info > ul > li,
    .footer_info li:nth-child(1),
    .footer_info li:nth-child(2) {
        width: auto;
        padding: 0;
    }

    .footer_info > ul > li:nth-child(1) {
        grid-column: 2;
        grid-row: 1;
    }

    .footer_info > ul > li:nth-child(2) {
        grid-column: 1;
        grid-row: 1;
    }

    .footer_info ul > li:before {
        margin: 0 0 16px;
        padding: 0 0 10px;
        border-bottom: 1px solid rgba(83, 83, 81, .45);
        color: #535351;
        font-size: 15px;
        letter-spacing: .16em;
    }

    .footer_info ul > li:nth-child(2):before {
        content: "";
        border: 0;
        margin: 0;
        padding: 0;
    }

    .footer_menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 30px 38px;
        margin: 0;
    }

    .footer_menu a {
        margin: 0;
        color: #666563;
        font-size: 14px;
        letter-spacing: .12em;
        transition: color .25s ease, transform .25s ease;
    }

    .footer_menu a:hover {
        color: #8B9DA3;
        transform: translateX(4px);
    }

    .footer_info li p,
    .footer_info li p a {
        color: #777774;
        font-size: 13px;
        letter-spacing: .04em;
        line-height: 1.8;
    }

    .footer_info li p {
        position: relative;
        margin: 0 0 8px;
        padding-left: 27px;
    }

    .footer_info li p:before {
        position: absolute;
        left: 0;
        width: 18px;
        color: #8b9da3;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        text-align: center;
    }

    .footer_info li p.line:before { content: "\f3c0"; font-family: "Font Awesome 6 Brands"; }
    .footer_info li p.tel:before,
    .footer_info li p.phone:before { content: "\f095"; }
    .footer_info li p.mail:before { content: "\f0e0"; }

    .footer_info li p.phone { display: none; }

    .footer .box_link {
        display: flex;
        gap: 13px;
        position: absolute;
        right: 0;
        bottom: 38px;
    }

    .footer .box_link a {
        color: #8b9da3;
        font-size: 16px;
        transition: color .25s ease, transform .25s ease;
    }

    .footer .box_link a:nth-child(3),
    .footer .box_link a:nth-child(4),
    .footer .box_link a:nth-child(5) { display: none; }

    .footer .box_link a:hover {
        color: #b9945b;
        transform: translateY(-3px);
    }

    .copy {
        padding: 12px 4%;
        background: #8b9da3;
        color: rgba(255,255,255,.92);
        font-size: 10px;
        letter-spacing: .06em;
    }
}

@media screen and (max-width: 768px) {
    .footer_logo img { display: block; margin: 0 auto 20px; }
}

/* footer 響應式修正：不以固定定位排版，避免不同螢幕尺寸跑位 */
@media screen and (min-width: 1025px) {
    .footer_info {
        grid-template-columns: minmax(145px, .65fr) minmax(0, 2.35fr);
        grid-template-rows: auto auto;
        align-items: start;
    }

    .footer_logo {
        grid-column: 1;
        grid-row: 1 / span 2;
        padding-top: 0;
    }

    .footer_logo img {
        width: auto;
        max-width: 155px;
    }

    .footer_info > ul {
        grid-column: 2;
        grid-row: 1;
    }

    .footer .box_link {
        position: static;
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-end;
        margin-top: 4px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .footer .center {
        width: 88%;
    }

    .footer_info {
        grid-template-columns: minmax(120px, .55fr) minmax(0, 2fr);
        grid-template-rows: auto auto;
        gap: 28px;
        padding: 42px 0 32px;
    }

    .footer_logo {
        grid-column: 1;
        grid-row: 1 / span 2;
        padding-top: 12px;
    }

    .footer_logo img {
        width: auto;
        max-width: 130px;
    }

    .footer_info > ul {
        grid-column: 2;
        grid-row: 1;
        grid-template-columns: minmax(220px, 1.25fr) minmax(185px, .85fr);
        gap: 30px;
    }

    .footer_menu {
        gap: 12px 22px;
    }

    .footer_menu a {
        font-size: 13px;
    }

    .footer .box_link {
        position: static;
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-end;
        margin-top: 2px;
    }
}

/* Header 選單固定欄寬響應式：7 個選單依螢幕尺寸等比例縮小 */
@media screen and (min-width: 769px) {
    #navigation1.navigation {
        display: grid !important;
        grid-template-columns: var(--logo-width) minmax(0, 1fr);
        align-items: stretch;
        width: 100%;
    }

    #navigation1 .nav-header {
        width: var(--logo-width) !important;
        min-width: 0;
    }

    #navigation1 .stellarnav {
        min-width: 0;
        width: 100%;
    }

    #navigation1 .stellarnav > ul {
        display: flex !important;
        justify-content: flex-end;
        align-items: stretch;
        width: 100%;
        min-width: 0;
    }

    #navigation1 .stellarnav > ul > li {
        box-sizing: border-box;
        flex: 0 0 var(--menu-width);
        width: var(--menu-width) !important;
        min-width: 0;
        text-align: center;
    }
}

/* 大桌機：保留原本每格 150px 的整齊比例 */
@media screen and (min-width: 1400px) {
    .header_area,
    .header_area.sticky {
        --logo-width: 200px;
        --menu-width: 150px;
        height: 120px;
    }
}

/* 一般桌機／筆電 */
@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .header_area,
    .header_area.sticky {
        --logo-width: 175px;
        --menu-width: 145px;
        height: 116px;
    }

    #navigation1 .stellarnav > ul > li {
        padding: 36px 7px;
    }
}

/* 小筆電與橫向平板 */
@media screen and (min-width: 1050px) and (max-width: 1199px) {
    .header_area,
    .header_area.sticky {
        --logo-width: 140px;
        --menu-width: 120px;
        height: 102px;
    }

    #navigation1 .nav-brand img {
        max-width: 125px;
    }

    #navigation1 .stellarnav > ul > li {
        padding: 29px 4px;
    }

    #navigation1 .stellarnav > ul > li > a b {
        font-size: 15px;
        letter-spacing: 1px;
    }

    #navigation1 .stellarnav > ul > li > a b:nth-child(2) {
        display: block !important;
    }
}

/* 窄平板：保留固定寬度，隱藏英文副標避免溢出 */
@media screen and (min-width: 900px) and (max-width: 1049px) {
    .header_area,
    .header_area.sticky {
        --logo-width: 120px;
        --menu-width: 105px;
        height: 88px;
    }

    #navigation1 .nav-brand img {
        max-width: 108px;
    }

    #navigation1 .stellarnav > ul > li {
        padding: 27px 2px;
    }

    #navigation1 .stellarnav > ul > li > a b {
        font-size: 14px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    #navigation1 .stellarnav > ul > li > a b:nth-child(2) {
        display: none;
    }
}

/* 直式平板：縮為單行中文選單，768px 以下才交回漢堡選單 */
@media screen and (min-width: 769px) and (max-width: 899px) {
    .header_area,
    .header_area.sticky {
        --logo-width: 100px;
        --menu-width: 90px;
        height: 82px;
    }

    #navigation1 .nav-brand img {
        max-width: 92px;
    }

    #navigation1 .stellarnav > ul > li {
        padding: 25px 1px;
    }

    #navigation1 .stellarnav > ul > li > a b {
        font-size: 13px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    #navigation1 .stellarnav > ul > li > a b:nth-child(2) {
        display: none;
    }
}

/* 套版原本將社群按鈕設為直向區塊，這裡固定為橫向三個 icon */
.footer .box_link {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-start;
    width: auto !important;
    height: auto !important;
    min-height: 30px;
    padding: 0 !important;
}

.footer .box_link a,
.footer .box_link a:nth-child(1),
.footer .box_link a:nth-child(2),
.footer .box_link a:nth-child(6) {
    display: inline-flex !important;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    float: none !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    line-height: 1 !important;
}

@media screen and (min-width: 769px) {
    .footer .box_link {
        justify-self: start;
        align-self: start;
    }
}

@media screen and (max-width: 768px) {
    .footer .box_link {
        justify-self: center;
    }
}

@media screen and (max-width: 768px) {
    .footer .center {
        width: 88%;
    }

    .footer_info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 36px 0 28px;
        text-align: left;
    }

    .footer_logo {
        order: 1;
        margin-bottom: 22px;
    }

    .footer_logo img {
        width: auto;
        max-width: 128px;
        margin: 0 auto;
    }

    .footer_info > ul {
        display: grid;
        grid-template-columns: 1fr;
        order: 2;
        gap: 26px;
        margin: 0;
    }

    .footer_info > ul > li,
    .footer_info li:nth-child(1),
    .footer_info li:nth-child(2) {
        width: auto;
        padding: 0;
    }

    .footer_info > ul > li:nth-child(1) {
        grid-column: 1;
        grid-row: 2;
    }

    .footer_info > ul > li:nth-child(2) {
        grid-column: 1;
        grid-row: 1;
    }

    .footer_info ul > li:before {
        margin: 0 0 13px;
        padding: 0 0 9px;
        border-bottom: 1px solid rgba(83, 83, 81, .35);
        font-size: 14px;
    }

    .footer_info ul > li:nth-child(2):before {
        content: "MENU";
        font-family: "Cinzel", "Noto sans TC", sans-serif;
        font-weight: 500;
    }

    .footer_menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px 18px;
        margin: 0;
    }

    .footer_menu a {
        margin: 0;
        font-size: 13px;
        text-align: center;
    }

    .footer_info li p {
        margin: 0 0 7px;
    }

    .footer .box_link {
        display: flex;
        position: static;
        order: 3;
        justify-content: center;
        gap: 15px;
        margin: 24px 0 0;
    }

    .footer .box_link a {
        color: #8b9da3;
        font-size: 17px;
    }

    .footer .box_link a:nth-child(3),
    .footer .box_link a:nth-child(4),
    .footer .box_link a:nth-child(5) {
        display: none;
    }

    .copy {
        padding: 11px 7%;
        text-align: center;
        font-size: 10px;
    }
}

@media screen and (max-width: 420px) {
    .footer .center {
        width: 90%;
    }

    .footer_menu {
        gap: 10px 8px;
    }

    .footer_menu a,
    .footer_info li p,
    .footer_info li p a {
        font-size: 12px;
    }
}

/* 選單寬度修正：取消固定 150px，避免筆電與平板寬度溢出 */
@media screen and (min-width: 1200px) {
    .main_header_area .container,
    .header_area.sticky .main_header_area .container {
        max-width: 96%;
    }

    .stellarnav > ul {
        display: flex;
        justify-content: flex-end;
    }

    .stellarnav li {
        width: auto;
        padding-right: clamp(6px, .65vw, 11px);
        padding-left: clamp(6px, .65vw, 11px);
    }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
    .header_area,
    .header_area.sticky {
        height: 92px;
    }

    .main_header_area .container,
    .header_area.sticky .main_header_area .container {
        max-width: 97%;
    }

    .nav-brand img {
        max-width: 125px;
    }

    .stellarnav > ul {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .stellarnav li {
        width: auto;
        flex: 0 1 auto;
        padding: 27px clamp(4px, .55vw, 8px);
    }

    .stellarnav > ul > li > a b {
        font-size: clamp(12px, 1.45vw, 16px);
        letter-spacing: 1px;
        white-space: nowrap;
    }

    .stellarnav > ul > li > a b:nth-child(2) {
        display: none;
    }

    .stellarnav > ul > li > a:after {
        bottom: -6px;
    }
}

/* 將 MENU、CONTACT 和社群列視為三欄：社群永遠在 CONTACT 正下方 */
@media screen and (min-width: 1025px) {
    .footer_info {
        grid-template-columns: minmax(140px, .62fr) minmax(300px, 1.25fr) minmax(230px, .85fr);
        grid-template-rows: auto auto;
        column-gap: clamp(32px, 5vw, 85px);
        row-gap: 14px;
    }

    .footer_info > ul {
        display: contents;
    }

    .footer_info > ul > li:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .footer_info > ul > li:nth-child(1) {
        grid-column: 3;
        grid-row: 1;
    }

    .footer .box_link {
        grid-column: 3;
        grid-row: 2;
        justify-content: flex-start;
        margin: 0;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .footer_info {
        grid-template-columns: minmax(120px, .55fr) minmax(0, 1.35fr) minmax(180px, .8fr);
        grid-template-rows: auto auto;
        column-gap: 24px;
        row-gap: 12px;
    }

    .footer_info > ul {
        display: contents;
    }

    .footer_info > ul > li:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .footer_info > ul > li:nth-child(1) {
        grid-column: 3;
        grid-row: 1;
    }

    .footer .box_link {
        grid-column: 3;
        grid-row: 2;
        justify-content: flex-start;
        margin: 0;
    }
}
