@charset "utf-8";
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*預設解除背景輪播*/
#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;}
}

/*Header/＝＝＝＝＝*/
.header_area {background: #12295b;}
.pageIndex .header_area {position: fixed; width: 100%;    background: #f0f0f000;}
.pageIndex .main_header_area { background: transparent;}
.header_area.sticky { background: rgb(255 255 255 / 85%);}

.main_header_area .container { max-width: 1600px;}
.navigation {    padding:0;}
.me_tp_features {display: none;}

/*Logo/＝＝＝＝＝*/
.nav-header { top: 3px;}
.pageIndex .nav-brand { opacity: 0;}
.nav-brand { width: 100%;max-width: 75px;transition:all 0.3s;}

.header_area.sticky .nav-brand { opacity: 1;}
.header_area .nav-brand { transition: all 0.3s;}



/*rwd*/

/* --- RWD768：讓 header + stellarnav 都恢復顯示，不要消失 --- */
@media screen and (max-width: 768px) {

    /* 讓 header 一開始不要透明或不見 */
    .header_area {
        position: sticky;
        background: #12295b; /* 你原本手機 header 顏色 */
        opacity: 1 !important;
    }
.pageIndex .header_area {
    position: sticky;
    background: #12295b;
}
.pageIndex .header_area.sticky{background: #ffffff90;}
.header_area .nav-brand {transition: all 0.3s;opacity: 1;}

}





/*子選單*/
/* 一開始不顯示 */
.pageIndex .stellarnav {
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

/* sticky 後才顯示 */
.pageIndex .header_area.sticky .stellarnav {
    opacity: 1;
    pointer-events: auto;
}

.pageIndex .stellarnav > ul {
    padding-top: 20px;
}

/*第一層*/
.stellarnav > ul > li:hover > a { color: #fff;  letter-spacing: 5px;}
.stellarnav > ul > li > a {    color: #fff;    line-height: 80px;height: 50px;transition: all 0.3s; letter-spacing: 2px;padding: 0 35px 0 0;}
.pageIndex .stellarnav > ul > li > a { color: #12295b;  height: 40px;
    line-height: 40px;
}
.header_area.sticky .stellarnav > ul > li > a {
    color: #12295B;
}
/*第二層*/
.stellarnav li.has-sub > a:after{display: none;}
/* 不分 has-sub，全部統一 */
.stellarnav li li > a {
    padding: 7px 5px;
    transition: all 0.3s;
    border-left: 1px solid transparent;
}

.stellarnav li li:hover > a {
    color: #12295B;
    padding-left: 10px;
    border-color: #12295B;
}

/*SubMenu*/
.me_tp_features {display: none;}
.shop_search_btn {    background: #12295B;}
.tp_links a{transition:all 0.3s;}
.tp_links a:hover {    color: #12295B;}
.fa-lightbulb::before {    content: "+";color: #fff;
}
.linksBtn {    background-color: #12295b;}


/*手機*/

.stellarnav.mobile .menu-toggle{
        display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
}
    .stellarnav .menu-toggle:after {margin-top: 8px;}
    .stellarnav .menu-toggle span.bars span {height: 1px;}
	.stellarnav.mobile > ul > li > a.dd-toggle{top: 15px;}
	.stellarnav.mobile > ul > li.open > a.dd-toggle{top: 5px;}
	.stellarnav a.dd-toggle .icon-plus:before,.stellarnav a.dd-toggle .icon-plus:after {border-bottom: solid 1px #777;}
	.stellarnav.mobile .close-menu{position: relative;color: transparent;}
	.stellarnav.mobile .close-menu > *{display: none;}
	.stellarnav.mobile .close-menu:before{content: "×";position: absolute;right: 10px;top: 10px;color: #000;
        font-size: 12px;}
    .stellarnav.mobile > ul > li > a b{vertical-align: middle;}
	.stellarnav .menu-toggle span.bars span {height: 2px;width: 28px;background: #000;}
	.stellarnav .menu-toggle:after {display: none;}
	.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu {background: transparent;}
	.stellarnav.mobile.left .close-menu {background: #12295B;width: 32px;height: 32px;margin: 10px 10px 0 auto;
		border-radius: 10px;display: block;}
    .stellarnav.mobile .close-menu:before {font-size: 20px;top: 0;right: 0;display: block;width: 100%;height: 100%;
    	line-height: 30px;text-align: center;color: #fff;padding-left: 1px;}
    .stellarnav.mobile {left: 8px;top: 8px;}
    .stellarnav.mobile li.open {background: #f8f8f8;padding: 0;}
    .stellarnav.mobile li.open li.open {background: #f3f3f3;padding: 0;}
    .stellarnav.mobile li li.has-sub a {padding: 10px 15px;}
    .stellarnav.mobile li.has-sub li a {text-align: left;padding: 8px 15px;}
    .stellarnav.mobile li.has-sub li a.dd-toggle{right: 5px;}
    .stellarnav.mobile li.has-sub li a.dd-toggle:hover {padding-left: 0;text-align: center;background: transparent;}
    .stellarnav.mobile > ul > li {border-bottom: 1px #f6f5f5 solid;}
    .stellarnav.mobile > ul > li > a {color: #333;}
    .stellarnav.mobile > ul > li > a.dd-toggle {top: 5px;}
    .stellarnav a.dd-toggle .icon-plus:before, .stellarnav a.dd-toggle .icon-plus:after{width: 10px;}
    .stellarnav.mobile > ul > li > ul > li > ul ~ a.dd-toggle .icon-plus {margin: 0 auto;display: block;}





/*rwd*/
@media screen and (max-width: 768px) {

   
    .stellarnav {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* 取消 sticky 才出現的限制 */
    .header_area.sticky .stellarnav {
        opacity: 1 !important;
        pointer-events: auto !important;
    }


.stellarnav ul {
top: unset;
    position: unset;
}

.stellarnav .menu-toggle span.bars span {    background: #ffffff;}
/* --- Sticky 後 menu toggle 改藍色 --- */
.header_area.sticky .stellarnav .menu-toggle span.bars span {
    background: #12295B;}

}

/*Footer/＝＝＝＝＝*/
.footer { background: #fff; border-top: 1px solid #d3d3d3;}
.footer_info {    display: flex;    flex-wrap: wrap;    align-items: center;    justify-content: space-between;}
.footer_menu {    display: grid;    grid-template-columns: repeat(auto-fit, minmax(min(110px,100%), 1fr));    gap: 5px;}/*footer按鈕最小寬度100px*/
.footer_menu a {    margin: 0;	text-align: center;	padding: 5px;	transition: all 0.3s;border: none; background: transparent; border-left: 1px solid;}
.footer_menu a:nth-child(1) { display: none;}
.footer_menu a:hover { background: transparent; letter-spacing: 3px; color: #c1c1c1;}
.footer_logo {    max-width: 120px;}
.copy { background: #12295B;;color: #fff; border: none;}
.copy a{    color: #fff;transition:all 0.3s;}
.box_link {  display: none;}
.box_link a{transition:all 0.3s;}
.box_link a:hover {    background: #12295B;    color: #fff;}

/*rwd*/
@media screen and (max-width: 768px) {
.footer.with_shopping_mode {
    margin-bottom: 50px;}
}
/*-----------------banner -----------------*/

.banF,.banE,.banner{
    display: flex;
    padding: 0;
    height: 500px;
    background-image: url(https://pic03.eapple.com.tw/darkhorse/ban-01.png);
    width: 100%;
    background-position: top center;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.banB {display: none;}
/* 實績作品 */
.banner h5 {
    display: flex;
    flex-direction: column;   /* 垂直排列 */
    align-items: center;
    text-align: center;
    gap: 8px;
    position: relative;
    color: #fff;
    font-size: 40px;
    letter-spacing: 4px;
}



/* 上方：圖片 */
.banner h5::before {
    content: "";
    display: block;           /* <= 必須 block 才會獨立一行 */
    width: 40px;
    height: 40px;
    background-image: url("https://pic03.eapple.com.tw/darkhorse/banner-ICON.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transform: scale(1.3);
}



.product_page .banner h5::after,
.product_info_page .banner h5::after {
    content: "WORKS";
    display: block; 
    font-size: 20px;
    color: #fff;
    letter-spacing: 1px;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-weight: 400 !important;
}


.album_page .banner h5::after, .album_class_page .banner h5::after, .album_info_page .banner h5::after {
    content: "REVIEWS";
    display: block; 
    font-size: 20px;

    color: #fff;
    letter-spacing: 1px;
    text-align: center;
font-family: 'Cinzel', serif; ;
    font-weight: 400 !important;
}


.blog_page  .banner h5::after,.blog_in_page .banner h5::after{
    content: "NEWS";
    display: block; 
    font-size: 20px;
    color: #fff;
    letter-spacing: 1px;
    text-align: center;
    font-family: 'Cinzel', serif; ;
    font-weight: 400 !important;
}


/*首頁*/

.module_i_news .title_i_box h4, .module_i_album .title_i_box h4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    position: relative;
    color: #12295B;
    font-size: 40px;
    letter-spacing: 1px;
    font-weight: 900;
}


/* 上方圖片 */
.module_i_news .title_i_box h4::before,
.module_i_album .title_i_box h4::before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    background-image: url("https://pic03.eapple.com.tw/darkhorse/banner-ICON.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transform: scale(1.3);
}

/* 下方文字 */
.module_i_news .title_i_box h4::after{
    content: "NEWS";
    display: block;
    font-size: 20px;
    color: #12295B;
    letter-spacing: 1px;
    text-align: center;
    font-family: 'Cinzel', serif;
    line-height: 10px;
    font-weight: 400 !important;
}
.module_i_album .title_i_box h4::after {
    content: "REVIEWS";
    display: block;
    font-size: 20px;
    color: #12295B;
    letter-spacing: 1px;
    text-align: center;
    font-family: 'Cinzel', serif;
    line-height: 10px;
    font-weight: 400 !important;
}

/*-----------------清潔實績 -----------------*/

.product_page .main_part,
.product_info_page .main_part {
    max-width: 1400px;
    margin: 0 auto;
}

.product_page .show_content,
.product_info_page .show_content {
    display: flex;
    flex-direction: column; /* 左側 menu 在上，右側內容在下 */
    align-items: center;
    padding-top: 20px;
}

.product_page .product_menu_list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;          /* 按鈕間距 */
    margin: 20px 0;
    width: 100%;
}

/* 清除 ul/li 預設間距並橫向排列 */
.product-layer-two {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.product-layer-two > li {
    margin: 0;
    position: relative;
}

.product-layer-two li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 190px;
    height: 50px;
    background: #f0f0f000;
    color: #ada17e;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    padding: 0;
    border: 1px solid #ada17e;
    text-decoration: none;
    transition: all 0.3s 
ease;
}

/* hover & active 直接改 a 本身背景，保持圓形 */
.product-layer-two > li:hover > a,
.product-layer-two > li.active > a {
    background: #12295B;
    color: #fff;
    border-color: #CEAA5F;
}

/*----------------- 右側內容區塊 -----------------*/
.product_page .product_items_list,
.product_info_page .product_items_list {
    width: 100%;
    margin-top: 20px;
}

.products-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 產品外框線 & 預留邊框 */
.products-list .item a {
    position: relative;
    display: block;
    padding: 20px;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: border-color 0.2s ease;
    overflow: hidden;
}

.products-list .item a:hover {
    border-color: #CEAA5F;
}

.products-list .item a:hover .more {
    background: #CEAA5F;
}

.product-wrapper {
    width: 100%;
    max-width: 800px;
    box-sizing: border-box; /* 避免 padding 撐破容器 */
}

.product_main {
    padding: 0;
}

/* 相關產品 / 留白 */
.prod_related {
    background: #fff;
    padding: 0;
}

.prod_related h6 {
    display: none;
}

.lastPage {
    background: #12295b;
}

/*----------------- RWD -----------------*/
@media screen and (max-width: 1400px) {
    .products-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 865px) {
    .product-layer-two {
        gap: 15px;
    }
    .products-list {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media screen and (max-width: 600px) {
    .products-list {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: auto;
        gap: 25px;
    }

    .product_info_page .main_part {
        width: 98%;
    }
}



/*--------------好評分享/album---------------*/


/*相簿管理******************************************** */
.album_page .main_part {
    max-width: 1600px;
    padding: 100px 20px 50px;
}

/*相簿主分類*/
.subalbum-menu h2 {font-size: 18px;color: #333;letter-spacing: .2rem;}
.show-list .show_pic {aspect-ratio: 4 / 3;}
.show-list .show_pic img {transform: scale(1);transition: all .5s;}
.show-list .show_name{color: #333;letter-spacing: .2rem;text-align: center;}
.show-list .item{margin-bottom: 30px;}
.show-list .item .overlay {-webkit-transform: scale(1);transform: scale(1);}
.show-list .item:hover .show_name {color: #12295B;}

.show-list .item .show_pic {
    overflow: hidden;
    border-radius: 20px;
    transition: 0.5s;
    position: relative; /* 讓 <p> 可以絕對定位在裡面 */
}


.show-list .item .show_pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    transform: scale(1);
    transition: transform 0.5s, border-radius 0.5s;
}

.show-list .item:hover .show_pic img {
    transform: scale(1.2);  /* hover 放大 */
    border-radius: 20px;
}

/* 文字置中並寬度跟容器同步 */
.other_subalbum li a p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: transparent;
    width: 100%;           /* 寬度跟容器一樣 */
    box-sizing: border-box; /* 包含 padding */
    transition: all 0.5s;
    text-align: center;  
}

.other_subalbum li:hover a p {
    color: #fff;
    padding: 10px;
    background: #12295B;
    font-size: 20px;
}

.other_album_choice li {background: #12295B;padding: 5px 20px;border-radius: 0;font-size: 13px;}
.album_fixed_title {    color: #12295B;}



/*相簿次分類*/
.pic-list .item h6 {
    display: flex;
    justify-content: center;}

/*相簿特效*/
.show_content {opacity: 0;              /* 初始透明 */
  transform: translateY(10px); /* 從下方浮現 */
  animation: fadeIn 1s ease forwards; /* forwards 保持最終狀態 */
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);}
}


/*--------------最新消息/news---------------*/
/*文章設定*/
h5.blog_le_t span {
    display: none;
}

h5.blog_le_t {
    font-size: 20px;
    font-weight: 400;
    font-family: "Kanit", sans-serif, "Noto Sans TC", serif;
    display: grid;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blog_le .accordion {
    border: none;
    border-radius: 0px;
}

.blog_list_ri h5 {
    font-weight: 400;
}

.subbox_item a {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
}

.accordion li .link a {
    font-weight: 400;
    letter-spacing: 2px;
}

.blog_subbox {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.subbox_item a:after { background: rgba(0,0,0,0.5);}
.blog_le .accordion > li:hover .link, .blog_le .accordion > li.on_this_category .link {background: #12295B;}
.blog_page .main_part {max-width:1600px;}
.submenu li.on_this_category a, .submenu a:hover {
    background: #CEAA5F;
    color: #444;
}
.blog_back a.article_btn_prev,.blog_back a.article_btn_next { background: #CEAA5F;}
.blog_back a.article_btn_back {background: #12295B;}

.subbox_item a:hover:before {
    transform: translate(-50%, -50%) scale(1);
    transition: all 500ms;
}
.path p, .path p a {
display: none;
}
.subbox_item a:before {
    content: 'READ MORE';
    position: absolute;
    z-index: 19;
    top: 87%;
    left: 50%;
    width: 145px;
    text-align: center;
    background: #CEAA5F;
    border-radius: 60px;
    font-size: 15px;
    color: #ffffff;
    padding: 10px 5px;
    transform: translate(-50%, -50%) scale(0, 0);
}

.subbox_item a:hover:after {
    opacity: 1;
    width: 100%;
    transition: all 500ms;
}
.subbox_item a:after {
    background: rgba(0, 0, 0, 0.5);
}
.subbox_item a:after {
    content: '';
    width: 0;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 8;
    background: #ffffff99;
    opacity: 0;
    border: 2pt solid #CEAA5F;
    border-radius: 10px;
}

.blog_list_le img {
    z-index: 999;
}
h4.blog_category_title {
    color: #444;
    font-size: 25px;
    font-weight: 500;
}


/*相關文章*/

.news_related h6 span:before {
    color: #505050;
    font-weight: 400;
}


.news_related_list li a:hover {
    padding: 10px 10px 0px;
    transition: .3s;
}

.news_related_list li a {
    transition: .3s;
}

.news_related {
    background: #f3f3f3b5;
}

.news_related_list li a p {
    padding: 10px;
}


/*文章內頁*/


.article_a .articel_mainPic img {
  max-width: 60%;
}


/*============== 首頁文章 ==============*/

.animated-arrow {
    background: #12295B;
    border-radius: 50px;
}

/* 標題隱藏 span */
.module_i_news_list h5 span {
    display: none;
}


/* 卡片列表 */
.module_i_news_list ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    padding: 0;
}

/* 卡片 li a 設定 */
.module_i_news_list li a {
    display: block; /* 避免 flex 干擾 :before */
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 15px;
}


.module_i_news_list li img {
    width: 100%;
    display: block;
    border-radius: 10px;
    position: relative;
    z-index: 5;
}

.module_i_news_list li a:before {
    content: 'READ MORE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 20;

    width: 90px;           /* 寬度 */
    height: 30px;          /* 固定高度 */
    text-align: center;
    background: #CEAA5F;
    border-radius: 20px;   /* 橢圓 */
    
    font-size: 14px;
    color: #fff;
    line-height: 30px;  
    padding: 0;         
    
    transition: transform 0.4s ease;
}


.module_i_news_list li a:hover:before {
    transform: translate(-50%, -50%) scale(1);
}


/* 卡片遮罩效果 */
.module_i_news_list li a:after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.261);
    opacity: 0;
    border: 2pt solid #CEAA5F;
    border-radius: 10px;
    transition: opacity 0.4s ease;
}


.module_i_news_list li a:hover:after {
    opacity: 1;
}

/* 卡片標題 */
.module_i_news_list h4 {
    color: #444;
    font-size: 25px;
    font-weight: 500;
    margin-top: 12px;
    text-align: center;
}

/*=============== RWD =================*/

/* 平板：一排 2 個 */
@media (max-width: 900px) {
    .module_i_news_list ul {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* 手機：一排 1 個 */
@media (max-width: 550px) {
    .module_i_news_list ul {
        grid-template-columns: repeat(1, 1fr);
    }

}

/*============== 首頁相簿 ==============*/
.i_album_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 50px;
}
/*=============== RWD =================*/
@media (max-width: 980px) {
    .i_album_list {
        grid-gap: 50px;
        grid-template-columns: repeat(3, 1fr);
        padding: 20px;
    }

}

@media (max-width: 900px) {
    .i_album_list {
        grid-template-columns: repeat(2, 1fr);}
    }


@media (max-width: 550px) {
        .i_album_list {
        grid-template-columns: repeat(1, 1fr);}
    }