
:root{
    --MainColor:#D0B5A2;
    --SubColor:#F3E8E6;
}

/*網站字體------------------*/
body { background-color: #F6F2F1; font-family: 'Noto Sans TC', 'Marcellus', sans-serif; letter-spacing: 1px;}

/*錨點滾動------------------*/
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { box-shadow: inset 0 0 6px rgba(214, 214, 214, 0.6); }
::-webkit-scrollbar-thumb {background-color: var(--MainColor);}
html { scroll-behavior: smooth; }



.path p, .path p a {
    display: none;
    text-align: right;
    line-height: 24px;
    font-size: 13px;
    color: #666;
}

/*HEADER--------------------*/
.pageIndex .header_area{
    position: sticky ;
    background: #f5d8d578;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #fff;
    padding: 5px;
}
.pageIndex .header_area.sticky{
    background: #ffffffef;
    backdrop-filter: blur(5px);
}
.header_area{
    position: sticky;
    background: #ffffffef;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid #fff;
    padding: 5px;
}
.header_area.sticky{
    background: #ffffffef;
    backdrop-filter: blur(5px);
}

@media screen and (max-width: 1024px) {
    .pageIndex .header_area{
        position: sticky;
        background: #ffffffef;
    }
}


/*HEADER選單----------------*/
.tp_links{display: none;}
.pageIndex .stellarnav > ul > li > a{
    color: #716056;
    /*text-shadow: 0 0 8px #6A4B35;*/
}
.stellarnav > ul > li > a{color: #6A4B35;}
.pageIndex .header_area.sticky .stellarnav>ul>li>a{
    color: #6A4B35;
    text-shadow:none;
}
.stellarnav li.has-sub > a:after{
    content: '+';
    border-left:0px;
    border-right:0px;
    border-top:0px;
}
.stellarnav > ul > li:hover > a{
    color:#A89172;
    transition: all 0.3s;
}
.stellarnav > ul > li > a::before {
    position: absolute;
    content: "";
    width: 0%;
    height: 1px;
    background: #A89172;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, 0px);
    transition: .5s;
}
.stellarnav > ul > li:hover > a::before {width: 100%;}

.stellarnav > ul > li:hover > a{
    color: #6A4B35;
    transition: 0.3s;
}

.pageIndex .stellarnav > ul > li:hover > a{
    color: #716056;
    transition: 0.3s;
}
.header_area.sticky .stellarnav > ul > li:hover > a{
    color: #A89172;
    transition: 0.3s;
}

@media screen and (max-width: 1024px) {
    .pageIndex .stellarnav > ul > li > a{
        color: #343434;
        text-shadow: none;
    }
    
}

/*第二層*/
.stellarnav li li:hover > a, .stellarnav li li.has-sub:hover > a{
    color: #222;
    padding-left: 11px;
    background: #fff;
    transition: 0.3s;
}
.stellarnav ul ul{
    background: #ffffffd8;
    backdrop-filter: blur(5px);
}
ul.album_classes li:first-child{display: none;}

/*選單最大寬度--------------*/
.main_header_area .container { max-width: 80%; }

@media screen and (max-width: 768px) {
    .main_header_area .container { max-width: 100%; }
}

/*LOGO----------------------*/
.pageIndex .nav-brand{
    max-width: 90%;
   /* filter: brightness(40);*/
}
.header_area.sticky .nav-brand{
    max-width: 80%;
    filter: none;
}
.nav-brand{max-width: 60%;}

@media screen and (max-width: 1024px) {
    .pageIndex .nav-brand{filter: none;}
    .nav-brand{
        position: relative;
        top: 7px;
    }
}

/*大圖----------------------*/
#content_main { margin: 0; }
.bannerindex {
    position: static;
    position: relative;
   /* height:auto ;*/
}
.swiper-banner {
    position: static;
    margin: 0;
}
.swiper-slide img { height: auto; }

/*BANNER--------------*/
.banner.banB{display: none;}
.banner.banE{display: none;}
.banner.banC{display: none;}
.banner.banblog{display: none;}

/*文章管理------------*/

/*首頁文章------------*/
.pageIndex .module_i_news .title_i_box h4 {
    position: relative;
    font-size: 0; /* 隱藏原始文字 */
    color: transparent;
    text-align: center;
    margin: 0;
    padding: 50px 0; /* 控制上下間距，可依設計微調 */
}

.pageIndex .module_i_news .title_i_box h4::after {
    content: "";
    display: block;
    width: 142px;             /* 依原圖寬度設定，可依設計縮放 */
    height: calc(142px * 28 / 142); /* 自動換算高度 → 約28px */
    margin: 0 auto 12px;      /* 水平置中 + 與文字距離 */
    background-image: url('https://pic03.eapple.com.tw/marchandheart/indexnews.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* 保持原比例完整顯示 */
}

.pageIndex .module_i_news .title_i_box h4::before {
    content: "NEWS";  /* 英文 + 中文副標題 */
    display: block;
    white-space: pre-line;      /* 讓 \n 變換行 */
    font-family: 'Roboto';
    color: #c8978b;             /* 可換品牌色 */
    font-size: 36px;
    line-height: 1.5;
    letter-spacing: 0.1em;
    white-space: nowrap;
    font-weight: 400;
}


.animated-arrow { color:#817162;border-radius: 30px;background: #f5d8d5;}
.edit_part {
    padding: 10px 10px;
}
h5.blog_le_t,
h4.blog_category_title {
   font-size: 25px;
   margin-bottom: 10px;
}
.blog_le .accordion>li:hover .link { background: #a5a5a5; }
.blog_le .accordion>li.on_this_category .link { background: #BFB9AA; }
.subbox_item a:before { display: none; }
.blog_list_ri:after {
    content: 'READ MORE >';
    display: block;
    background: transparent;
    color: #000;
    letter-spacing: 1px;
    opacity: 1;
    left: 0;
    position: relative;
    padding: 0 22px 0 0;
    font-size: 12px;
    line-height: 12px;
}
.blog_list_ri em { display: none; }
.blog_list_ri p { padding-top: 8px; }
.blog_back a.article_btn_back { background:#A89172; }
.blog_back a.article_btn_prev,
.blog_back a.article_btn_next {
    background: var(--MainColor);
    color: #fff;
}
.blog_back a.article_btn_prev:hover,
.blog_back a.article_btn_next:hover {
    background: var(--SubColor);
    transition: 0.3s;
}
.blog_search input[type=search] { border-radius: 2px; }
.blog_le .accordion { border-radius: 2px; }
.blog_subbox.clearfix {
    margin: 0 auto;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
body.blog_page .clearfix:before,
body.blog_page .clearfix:after { display: none; }
.subbox_item {
    background-color:#ffffff94;
    overflow: hidden;
    position: relative;
    width: 100%;
    border-bottom: none;
}
.subbox_item a {
    display: grid;
    grid-template-columns: 160px 1fr;
    position: relative;
    grid-gap: 20px;
}
.subbox_item:hover img {
    transform: translate(-50%, -50%) scale(1.2);
    object-fit: cover;
    width: 100%;
    transition: all 0.4s ease;

}
.blog_list_le img {
    display: block;
    max-width: 100%;
    min-width: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transition: all 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transform: translate(-50%, -50%) scale(1);
}
.blog_list_le {
    display: block;
    position: relative;
    text-align: center;
    height: auto;
    aspect-ratio: 9 / 9;
    overflow: hidden;
    padding-bottom: 0;
    width: 100%;
}
.subbox_item a:after { display: none; }
.blog_list_ri { 
    width: 100%;
    padding: 15px 10px;
}
.blog_list_ri em {width: 100%;}
.blog_list_ri h5 {
    position: relative;
    margin: 0px 0 0;
    font-size: 18px;
    letter-spacing: 0.035em;
}
.blog_list_ri p {
    color: #595959;
    margin: 15px 0 0;
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.035em;
    width: 100%;
    padding: 0;
    margin: 10px 0;
}
.main_part { max-width: 1500px; }
.blog_le .accordion > li:hover .link, .blog_le .accordion > li.on_this_category .link {
    color: #fff !important;
    background: #A89172!important;
    transition: 0.3s;
}
.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category {
    background: #A89172!important;
    transition: 0.3s;
}
.blog_subbox{grid-template-columns: repeat(auto-fill, minmax(390px, 1fr));}
.subbox_item a{grid-gap: 0px;}

/*第二層*/
.articel_mainPic img{max-width: 50%;}
.news_related{display: none;}

@media screen and (max-width: 1024px) {
	.blog_subbox.clearfix {
    margin: 0 auto;
    display: grid;
    grid-gap: 30px;
    grid-template-columns: 1fr 1fr 1fr;
}
}
@media screen and (max-width: 768px) {
.blog_subbox.clearfix {
    margin: 0 auto;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr 1fr;
}
}
@media screen and (max-width: 375px) {
.blog_subbox.clearfix {
    grid-template-columns: 1fr;
}
}

/*相簿----------------*/
.show-list .item:hover .show_name{color:var(--SubColor);}
.other_album_choice li{background-color: var(--SubColor);}
.show-list .item:hover a figure img {
    transform: scale(1.1);
    transition: 0.5s;
    top: 0;
    left: 0;
}
.show-list .item a figure img {transition: 0.5s;}
.show-list .show_name {text-align: center;}
.show-list .show_pic{}
.album_info_page .pic-list { 
    -moz-column-count:3; 
    -moz-column-gap:10px; 
    -webkit-column-count:3; 
    -webkit-column-gap:10px; 
    column-count:3; 
    column-gap:10px; 
    width:100%; 
    margin:0 auto; 
}
.album_info_page .pic-list .item { 
    width:100%; 
    -webkit-column-break-inside: avoid; 
    page-break-inside: avoid; 
    break-inside: avoid; 
    padding: 0; 
    margin: 0;
}
.album_info_page .pic-list .show_pic { height:auto; padding:0;}
.other_subalbum li p {margin-top: 10px;}
.other_subalbum li a img{    
    object-fit: cover;
    min-height: 250px;
}
.subalbum-menu h2{display: none;}
.other_album{display: none;}
.other_subalbum li a p{text-align: center;}

@media (max-width: 1440px){
.album_info_page .pic-list{ 
    -moz-column-count:3; 
    -webkit-column-count:3;  
    column-count:3;
    }
}
@media (max-width: 768px) {
    .album_info_page .main_part{padding: 50px 0;}
    .other_album{padding: 0 16px;}
    .other_album:before{width: 0;}
    .album_info_page .pic-list{ 
        -moz-column-count:2; 
        -webkit-column-count:2;  
        column-count:2;
    }
}
@media (max-width: 480px) {
    .album_info_page .pic-list{
        -moz-column-count:1;  
        -webkit-column-count:1; 
        column-count:1;
    }
}


/*聯絡表單------------*/
.contact_editbox { margin: auto; padding: 0px;}
.contact_content {  text-align: center;  margin: auto;  padding: 20px 10px;}
.contact_content .information_right {text-align: center; width: 75%;}
.contact_content .information_left { display: none;}

.i_contact_box {
    padding: 50px 20px;
    background-color: #a7917445;
}
.i_contact_box section {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}
.blank_letter {
    font-family: 'sans-serif', '微軟正黑體';
    padding-top: 30px;
    font-size: 26px;
    color: #473933;
    background-position: left bottom;
    background-repeat: no-repeat;
}
.contact_form li.last cite {
    border-radius: 30px;
    background: #c8978b;
    color: #fff;
}
.contact_form li.last blockquote, .contact_form li.last cite {
    border-radius: 30px;
    display: block;
    vertical-align: top;
    font-style: normal;
    padding: 7px;
    text-align: center;
    border: 1px #c8978b solid;
    width: 150px;
    max-width: calc(50% - 10px);
}
.info_ADD2:before {
    content: "時間";
}
.contact_form li:has(input[type=checkbox]) .form__insert, .contact_form li:has(input[type=radio]) .form__insert {
    display: grid;

    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(13px, 13px) minmax(140px, 1fr));
    align-items: center;
}

/*FOOTER--------------*/
.box_link a { display: none; }
.footer {
	background-image: url(https://pic03.eapple.com.tw/);
	overflow: hidden;
    background-size: cover;
	padding: 30px 0 0;
	box-shadow: 1px 1px 15px rgb(38 15 1 / 37%);
    background-color: #fff;
}
.footer .center {
    position: relative;
    max-width: 1200px;
}
.footer_info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0px;
    flex-direction: column;
	margin-bottom: 15px;
    grid-gap: 10px;
}
.footer_menu {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 5px;
}
.footer_menu a {
    margin: 0;
    text-align: left;
    padding: 0;
    transition: all 0.3s;
    border: none;
    background: transparent;
    color: #6A4B35;
    display: block;
    width: fit-content;
}
.footer_menu a:before { content: "·"; }
.footer_menu a:nth-child(1) { display: none; }
.footer_menu a:hover {
	background: transparent;
	color:var(--MainColor);
}
.copy {
	background: #ffc5c2;
	color: #fff;
	border:none;
	margin-top: 0px;
	position: relative;
	padding: 15px 0;
}
.copy a{
	color: #fff;
	transition:all 0.3s;
}
.footer_info li { padding: 25px; }
.footer_info ul>li:before {
    font-size: 115%;
    color: #6A4B35;
    display: block;
    margin: 0 0 20px;
    border-bottom: 1px solid var(--MainColor);
    padding-bottom: 10px;
    letter-spacing: 0.2em;
    font-weight: bold;
}
.footer_info ul>li:nth-child(1):before { 
    content: "CONTACT"; 
    font-family: 'Marcellus';
    font-weight: 500;
}
.footer_info ul>li:nth-child(2):before { 
    content: "MAIN MENU"; 
    font-family: 'Marcellus';
    font-weight: 500;
}
.footer_info li:nth-child(1) a, .footer_info li:nth-child(1) p {
	color: #6A4B35;
	letter-spacing: 0.15em;
}
.footer_info ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr));
	gap: 0 20px; 
	letter-spacing: 0.15em;
}
.footer_logo img { width: 100%; }
.footer_logo {
    display: inline-block;
    vertical-align: top;
    width: 230px;
    margin: 0px;
}
/*.footer_info li p.add2:before {
    content: '營業時間：';
}*/

@media screen and (max-width: 768px) { 
.footer_info li { flex-direction: column;} 
.footer_info li+li{margin-top: 0px;}
}


/*手機版選單--------*/
.stellarnav.mobile.active {    z-index: 555;}
.stellarnav.mobile {padding: 10px;}

.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu{
	text-align: center;
    font-size: 14px;
    background: #c8978b;
    font-weight: 600;
    font-family: "Roboto Condensed", sans-serif;
    letter-spacing: 1px;
	border-bottom: 2px solid #fff;
}

.stellarnav.mobile.left > ul{    background: #fff;}
.stellarnav.mobile > ul > li{border-bottom: 1px #ccc solid;}
.stellarnav.mobile li.open {    background: #ccc;}


@media (max-width: 768px) {
    #bottom_menu{display: none;}
    .stellarnav > ul > li > a::before {display: none;}
}

@media screen and (max-width: 1024px) {
    .pageIndex .header_area {backdrop-filter: none;}
    .pageIndex .header_area.sticky {backdrop-filter: none;}
    .header_area.sticky {backdrop-filter: none;}
    .pageIndex .nav-brand{filter: none;}}
