
:root{
    --MainColor:#577D8E;
    --SubColor:#F3EFEB;
}

/*網站字體------------------*/
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: fixed;
    background: #ffffff00;
    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: #ffffff;
    text-shadow: 0 0 8px #2E4157;
}
.stellarnav > ul > li > a{color: #2E4157;}
.pageIndex .header_area.sticky .stellarnav>ul>li>a{
    color: #2E4157;
    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:#577D8E;
    transition: all 0.3s;
}
.stellarnav > ul > li > a::before {
    position: absolute;
    content: "";
    width: 0%;
    height: 1px;
    background: #577D8E;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, 0px);
    transition: .5s;
}
.stellarnav > ul > li:hover > a::before {width: 100%;}

.stellarnav > ul > li:hover > a{
    color: #577D8E;
    transition: 0.3s;
}

.pageIndex .stellarnav > ul > li:hover > a{
    color: #FFF;
    transition: 0.3s;
}
.header_area.sticky .stellarnav > ul > li:hover > a{
    color: #577D8E;
    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: 100%;
    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;
    height: auto;
}
.swiper-slide img { height: auto; }

/*浮動按鈕------------*/


/*BANNER--------------*/
.banner.banB{display: none;}
.banner.banE{display: none;}
.banner.banC{display: none;}
.banner.banblog{display: none;}

/*文章管理------------*/
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:#577D8E; }
.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: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
.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: #577D8E!important;
    transition: 0.3s;
}
.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category {
    background: #577D8E!important;
    transition: 0.3s;
}
.blog_subbox{grid-template-columns: repeat(auto-fill, minmax(280px, 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;
    }
}

/*聯絡表單------------*/
.i_contact_box {
    padding: 50px 20px;
    background-color: #a7917445;
}
.i_contact_box section {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}
.pageIndex .blank_letter {
    font-family: 'Noto Serif TC', 'sans-serif', '微軟正黑體';
    padding-top: 30px;
    font-size: 26px;
    color: #2E4157;
    background-position: left bottom;
    background-repeat: no-repeat;
}
.contact_form li.last cite {
    border-radius: 30px;
    background: #ada17e;
    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 #ada17e 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 #597d8d;
}
.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: #2E4157;
    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: #577D8E;
	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: #2E4157;
    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: #2E4157;
	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: 220px;
    margin: 0px;
}


@media screen and (max-width: 768px) { 
.footer_info li { flex-direction: column;} 
.footer_info li+li{margin-top: 0px;}
}

/*手機版選單--------*/
.stellarnav.mobile.right > ul, .stellarnav.mobile.left > ul { 
    bottom: -800px!important; 
    z-index: 999999;
}
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu{background: var(--SubColor);}

@media (max-width: 768px) {
    #bottom_menu{display: none;}
}