@charset "utf-8";
/*網站全域設定/＝＝＝＝＝*/
.edit_part {
    padding: 0;
}


/* 商品下拉超過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個--結束 */

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/* 產品分類-左手邊 / 篩選器-上面 */

.ProdFilter_ { order: 1; margin-bottom: 25px;}
.Prods_Menulists { order: 2;}
.Prods_Wrap { order: 3;}
.Prods_Menulists { width: 250px; letter-spacing: 1px;}
.Prods_Menulists ul {}
.Prods_Menulists > ul > li { width: 100%; flex-wrap: wrap;}
.Prods_Menulists ul ul { position: static; border: none;}
.Prods_Menulists ul li ul li {}
.Prods_Menulists li.has-sub.open > a { background: #f0f0f0;}

.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: 1024px) {
.product_main { display: block; width: 100%;}    
.sidebarBtn { display: block; width: 100%;}
}

@media screen and (max-width: 768px) {
/* 篩選器-左手邊 / 產品分類-上面
.Prods_Wrap { width: 100%;}
.ProdFilter_ { width: 100%;}
.ProdFilter_Item_Show { width: calc(100% - 110px);}
.ProdFilter_ { order: 1;}
.Prods_Menulists { order: 2;}
.ProdFilter_ li > a span { color: #333;}
*/

.Prods_Wrap { width: 100%; margin-top: 20px;}
.ProdFilter_ { width: 100%;}
.Prods_Menulists { opacity: 0; display: none;}

}
.banner.banDesign { background-color:#333;}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* 2025.12.26 中間放大*/
.BannerHome02 .swiper-slide-active img { transform: scale(1);}
.BannerHome02 .swiperBan02 .swiper-slide img { transition: transform 5s ease-out; will-change: transform; transform: scale(1);}
.BannerHome02 .swiperBan02 .swiper-slide-active img { transform: scale(1.06);}

/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 by shint at 2025.12.18  */
.product_page .main_part { max-width:1500px;}

.product_page .show_content,
.product_info_page .show_content { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; width: 100%;}
ul.page { width: 100%;}

.ProdFilter_Item_Show { width: 100%;}
.Prods_Menulists { width: 100%; padding: 0;}
.Prods_Wrap { width: calc(100% - 270px);}

/*反白顏色*/
::-moz-selection{  background-color: #164D6D;  color: #fff;}
::selection{  background-color: #639EB7;  color: #fff;}
:root {
    --MainColor: #164D6D;
    --SubColor:#cff0fb;
    --SubColor02:#639EB7; 
    --logocolor01:#000;
    --SFont:'Noto Serif TC', serif;
    --SFontEN: 'EB Garamond', serif;
    --TitleColorEN:#164D6D;
    --TitleColor:#639EB7; 
    --FontColor:#639EB7; 
    transition: var(--trans);
    --trans: .4s linear;
    --f60: 60px;
    --f54: 54px;
    --f48: 48px;
    --f42: 42px;
    --f40: 40px;
    --f36: 36px;
    --f32: 32px;
    --f28: 28px;
    --f24: 24px;
    --f22: 22px;
    --f20: 20px;
    --f18: 18px;
    --f17: 17px;
    --f16: 16px;
    --pd80:80px;
}

/*★★★卷軸設定↓↓↓↓↓↓↓↓↓↓↓↓*/
/* 捲軸寬度及高度 */
::-webkit-scrollbar {
    width: 10px; /*右側捲軸寬度*/
    height: 0px; /*下方捲軸高度*/
}

/* 軌道背景底色 */
::-webkit-scrollbar-track {    background: #EBEBDF; }
/* 滑桿顏色 */
::-webkit-scrollbar-thumb {    background: #164D6D;}
/* 滑桿滑鼠滑入時的顏色 */
::-webkit-scrollbar-thumb:hover {    background: #639EB7; }

/* 頁面的麵包屑 首頁/頁面名稱/ */
.path { display:none;}
.pageIndex .main_part {    border-top: none;}
#content {    min-height: 80vh;}
body.blog_in_page {
    font-size: var(--f16);
    letter-spacing: 1px;
}

/*頁碼*/
.page strong, .page a:hover {    background: var(--SubColor);}
.page li.activeN {    color: var(--SubColor);}

.main_part {    max-width: 1400px;    padding: var(--pd80) 20px;}


.me_tp_features,.sb_marquee  {
    display: none;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
#content,#content_main {
    background-image: url(https://pic03.eapple.com.tw/xinfenghouse/content-background.png);
    background-attachment: fixed;
    background-repeat: repeat;
}

.contact_page #content,
.contact_page #content_main {
    background: #fff;
    background-image: none;
} 
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*Main/＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
/*------------------------------------------------*/
/* HEADER */
/*------------------------------------------------*/
.header_area {
    position: sticky;
    width: 100%;
    transition: all 0.5s;
    border-bottom: 1px solid #efefef;
}

.pageIndex .header_area {
    position: fixed;}


.main_header_area {background: #ffffff;}

.header_area.sticky {    background: #fff;}

/*下滑*/
.pageIndex .header_area.sticky {    opacity: 1;  transition: all 0.5s;  }
.header_area.sticky .main_header_area {    background: #ffffffeb;}
.header_area {background: #fff;}
/*選單最大寬度設定*/
.main_header_area .container {    max-width: 95%;}
.navigation {
    display: grid;
    align-items: center;
}

/*隱藏購物車搜尋欄*//*
.box_search{display:none;}
/*隱藏購物車*//*
.me_tp_features a.tp_btn_cart {display: none;}
/*隱藏匯款通知*//*
.me_tp_features a.tp_btn_notice{display: none;}
/*隱藏選單按鈕連結*//*
.tp_links{display: none;}

/*選單漸變效果＝＝*/
/*首頁固定選單 開啟後下方RWD 768對應標籤也需開啟*//*
.pageIndex .header_area{position: fixed;    width: 100%;}

/*Logo/＝＝＝＝＝*/
.nav-brand {    width: 100%;max-width: 250px;transition:all 0.3s;}
.header_area .nav-brand {    transition: all 0.3s;}
.header_area.sticky .nav-brand {    max-width: 220px;}

/*按鈕/＝＝＝＝＝*/
.animated-arrow {
    background: var(--logocolor02);
    overflow: hidden;
}
.animated-arrow:before {
    content: '';
    background: var(--logocolor01);
    width: 120%;
    left: -10%;
    transform: skew(30deg);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
    height: 100%;
    position: absolute;
    z-index: 0;
}
.animated-arrow:hover:before {
    transform: translate3d(100%, 0, 0);
}
.animated-arrow b, .animated-arrow .i_blog_b a i.fa-solid.fa-arrow-right {
    z-index: 2;
    position: relative;
}


/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;}
.swiper-slide img {
    height: auto;
    animation: none !important;
    transform: scale(1.011);
}

@media screen and (max-width: 768px) {
    .bannerindex {
        position: relative;
        height: 0;
    }

    .swiper-banner {
        position: relative;
        margin: 0;
        height: 100vh;
    }
    .navigation {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;

}
.pageIndex .header_area {
    position: sticky;
}
}




@media screen and (max-width: 500px) {
    .swiper-wrapper .swiper-slide:nth-child(1) {
        background-size: contain;
    }

    .swiper-wrapper .swiper-slide:nth-child(2) {
        background-size: contain;
    }

}


/*logo*/
.nav-brand img {
    max-width: 130%;
}


@media only screen and (max-width: 1100px) {
.nav-brand img {
    max-width: 110%;
}
}
@media only screen and (max-width: 570px) {
.nav-brand img {max-width: 100%;
}
}

@media only screen and (max-width: 400px) {
.nav-brand img {max-width: 90%;
}

}

@media only screen and (max-width: 340px) {
.nav-brand img {max-width: 80%;
}

}


#bottom_menu li a i, #bottom_menu li a em {
    color: #164D6D;
}
@media screen and (max-width: 768px) {
#bottom_menu li:nth-child(2) {
    display: none;
}/*隱藏電話*/
}




/*------------------------------------------------*/
/* FOOTER */
/*------------------------------------------------*/
.footer_info li p.tel:before {
    content: '手機1：';
}
.footer_info li p.phone:before {
    content: '手機2：';
}
/*RWD */
@media screen and (max-width: 768px) {

    /* 開啟手機板下方按鈕所需設定 */

    .footer.with_shopping_mode {
        padding: 30px 0 70px;
    }

    #to_top {
        bottom: 60px;
    }
}


/*--------------------版權塊 -------------------- */

.copy {
    border-top: none;
    margin-top: 30px;
}

.copy,
.copy a {
    font-size: 10px;
    color: var(--bg-color);
}

.copy a:hover {
    color: var(--bg-color);
    text-decoration: underline var(--bg-color) 1px solid;
    text-underline-offset: 4px;
}

/*YKQK版權塊 -------------------- */

.footer {
    background: #fff;
    padding: 40px 0 20px;
    box-shadow: 0px -5px 20px rgba(51, 51, 51, .05);
}

.footer .center {
    padding: 0 3%;
    max-width: 1200px;
}

.footer_logo {
    width: 40%;
    max-width: 250px;
    margin: 0 auto;
}

.footer_info {
    grid-template-columns: 1fr;
    padding: 0;
    grid-gap: 20px;
}

.footer_info li {
    padding: 0;
}

/* 聯絡資訊 */
.footer_info li:nth-child(1) {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
    gap: 0px 20px;
    text-align: center;
}

.footer_info li p,
.footer_info li p a{
    color: var(--FontColor);
}


/* 導覽按鈕 */
.footer_info li:nth-child(2) {
    margin-top: 20px;
    text-align: center;
}

.footer_menu a {
    background: transparent;
    border: none;
    font-size: 12px;
    color: var(--FontColor);
    transition: var(--tr);
}

.footer_menu a:hover {
    background: transparent;
    color: var(--SubColor);
    transition: var(--tr);
}

/* 隱藏回首頁 */
.footer_menu a:first-of-type {
    display: none;
}


/* RWD ↓↓↓ ~~~~~~~~~~~~~~~ */

@media screen and (max-width: 1300px) {
    .footer_info {
        grid-template-columns: 1fr;
        padding-right: 0;
        text-align: center;
    }

    .footer_logo {
        /* width: 120px; */
        margin: 0 auto;
    }

    .box_link {
        position: relative;
        max-width: inherit;
        flex-direction: row;
        right: auto;
        justify-content: center;
    }

    .box_link a {
        margin: 8px;
    }

}


@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {}
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:60px;}
}

@media screen and (max-width: 600px) { 
}



/*------------------------------------------------*/
/* 選單 */
/*------------------------------------------------*/

/*第一層*/

.stellarnav ul {    text-align: right;padding-top: 15px;}
.stellarnav > ul > li > a {
    transition: all 0.3s;
    color: var(--FontColor);
    letter-spacing: 0.03rem;
    padding: 0 12px;
    margin: 0;
    font-weight: bold;
}
.stellarnav > ul > li:hover > a{color: var(--logocolor01);    font-size: 15px;}
.stellarnav li.has-sub > a:after {
    position: absolute;
    top: 40%;
    right: 5px;
    height: 7px;
    width: 7px;
    display: block;
    border-style: solid;
    border-width: 0 1px 1px 0;
    border-color: #164D6D;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}/*下拉線條箭頭*/

/*第二層*/
.stellarnav li li {    border: none;}
.stellarnav li li > a, .stellarnav li li.has-sub > a {
    padding: 10px 7px;
    transition: all 0.3s;
}
.stellarnav li li:hover > a, .stellarnav li li.has-sub:hover > a {
    color: #fff;
    padding-left: 10px;
    background: var(--logocolor01);
}

.stellarnav > ul > li > a b {color: #164D6D;}

.stellarnav li li:hover {
    background: #164d6d;
}


/*rwd*/

@media screen and (max-width: 1100px) {
.stellarnav > ul > li > a {
    padding: 0 10px;}
}
@media screen and (max-width: 1024px) {
    :root {
    --f60: 54px;
    --f54: 48px;
    --f48: 40px;
    --f42: 38px;
    --f40: 36px;
    --f36: 32px;
    --f32: 28px;
    --f28: 24px;
    --f24: 22px;
    --f22: 20px;
    --pd80:60px;
}

/*Header/＝＝＝＝＝*/
.pageIndex .header_area {    opacity: 1;position: sticky;}
.header_area {position: sticky;background: #fff;}
.navigation {
    display: flex;
    align-items: center;
}
.stellarnav ul {
    text-align: center;
}
}



@media screen and (max-width: 800px) {
    .stellarnav > ul > li > a {
        padding: 0 8px;
    }
}


/*選單*/
@media screen and (max-width: 768px) {

/*側邊選單*/

    .stellarnav .menu-toggle:after {margin-top: 8px;font-weight: 400;}
    .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 #164D6D;}
	.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: #164D6D;}
	.stellarnav .menu-toggle:after {font-weight: 600;color: #fff;}
	.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu {background: transparent;}
	.stellarnav.mobile.left .close-menu {background: #164D6D;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;color: #164D6D;}
    .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: #164D6D;}
    .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;}
    .stellarnav li.has-sub li a:hover {background: #fff;color: #164D6D;}
}

@media screen and (max-width: 570px) {
    .stellarnav.mobile {
        top: 18px;
    }
}

@media screen and (max-width: 400px) {
    .stellarnav.mobile {
        top: 15px;
    }
}


/*------------------------------------------------*/
/* BANNER */
/*------------------------------------------------*/
.banB,.banC {display: none;
}
.banner h5 {  
width: 100%;  
margin: 0 auto;  
font-size: 50px;  
color: #fff;  
text-shadow: 0 0 10px rgba(0, 0, 0, .2); 
position: absolute;  
top: 45%;  
left: 15%;
transform: translate(-50%, -50%); 
letter-spacing: 3px; 
font-weight: 500;
font-family: "Noto Serif CJK TC", serif;}

@media screen and (max-width: 1024px){
	.banner{height: 200px;}
}

.banner {
    background-position: center;
    overflow: hidden;
    background-image: none;
    position: relative;
    z-index: 1;
    padding: 12vw;
}


.banner::before {  content: "";
    background-image: linear-gradient(180deg, #00000000 40%, rgb(0 0 0 / 31%) 65%), url(https://pic03.eapple.com.tw/xinfenghouse/ban01.png);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    animation-duration: 5s;
    background-size: cover;
    background-position: center;
    animation: bgScroll 30s linear infinite;
    width: 110%;
    height: 100%;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
}


@keyframes bgScroll {
    0% {        -webkit-transform: translateX(0);        transform: translateX(0);    }
    50% {        -webkit-transform: translateX(-5%);        transform: translateX(-5%);    }
    100% {        -webkit-transform: translateX(0);        transform: translateX(0);    }
}

.banner h5:before {
    content: "專業安裝×品質定位" !important;
    display: block;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 2px;
    margin-top: 15px;
    margin-bottom: 0px;
    padding-bottom: 5px;
    position: relative;  
    animation: SlideUp 1s 0.1s ease-in-out forwards;
    opacity: 0; 
}
@keyframes SlideUp {
    0% {    opacity: 0;   -webkit-transform: translateY(30px);   transform: translateY(30px);    }
    100% {  opacity: 1;   -webkit-transform: translateY(0);    transform: translateY(0);    }
}


@media screen and (max-width: 1145px) {
.banner h5 {    font-size: 40px;left: 20%;}
}


@media screen and (max-width: 768px) {
.banner h5:before {    font-size: 17px;    padding-bottom: 0;}
}

@media screen and (max-width: 500px) {
.banner h5 {    font-size: 35px;left: 23%;}
.banner h5:before {    font-size: 15px;}
}

@media screen and (max-width: 400px) {
.banner h5 {    font-size: 28px;left: 28%;}
.banner h5:before {    font-size: 15px;}
}

@media screen and (max-width: 300px) {
.banner h5 {left: 30%;}
}





/*------------------------------------------------*/
/* 相簿管理 */
/*------------------------------------------------*/

.album_page .main_part {
    max-width: 1600px;
    padding: 100px 20px 50px;
}

/*相簿主分類*/
.subalbum-menu h2 {font-size: 18px;color: #164D6D;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: #164D6D;letter-spacing: .2rem;text-align: center;}
.show-list .item{margin-bottom: 30px;border-radius: 40px;}
.show-list .item .overlay {-webkit-transform: scale(1);transform: scale(1);}
.show-list .item:hover .show_name {color: #164D6D;}

.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: linear-gradient(90deg, #488ec0, #218aa1,#164D6D);
    font-size: 20px;
}

.other_album_choice li {background: #164D6D;padding: 5px 20px;border-radius: 0;font-size: 13px;}
.album_fixed_title {    color: #164D6D;}



/*相簿次分類*/
.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);}
}


/*首頁相簿*/

.animated-arrow {background: linear-gradient(90deg, #488ec0, #218aa1,#164D6D);}

.module_i_album {
    max-width: 1600px;
    padding: 100px 20px 50px;
}
.i_album_list li a p {    background: unset;}

/* 首頁相簿標題 */
.module_i_album .title_i_box h6 {
    font-size: 18px;
    color: #164D6D;
    letter-spacing: .2rem;
    font-family: "Noto Serif CJK TC", serif;
    font-weight: normal;
}
.module_i_album .title_i_box h4 ,.module_i_news .title_i_box h4 {
    font-size: 32px;
    color: #164D6D;
    letter-spacing: 3px;
    font-weight: bold;
    font-family: "Noto Serif CJK TC", serif;
}


.module_i_album .title_i_box h4::before {
    content: "CASE";
    display: block;
    font-size: 80px;
    color: #164D6D;
    margin-top: 15px;
    letter-spacing: 2px;
    font-weight: 500;
    font-family: "Audiowide", serif;
}

/* 相簿列表格子排列 */
.i_album_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 隱藏首頁超過6張的相簿 */
.pageIndex .i_album_list li:nth-child(n+7) {
    display: none;
}

/* 相簿每個項目 */
.i_album_list li a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px; /* 圓角 */
}

/* 相簿圖片容器 */
.i_album_list li a .show_pic {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    transition: transform 0.5s, border-radius 0.5s;
}

/* 圖片本身 */
.i_album_list li a .show_pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    transform: scale(1);
    transition: transform 0.5s, border-radius 0.5s;
}

/* hover 放大圖片、改圓角 */
.i_album_list li a:hover .show_pic img {
    transform: scale(1.2);
    border-radius: 20px;
}

/* 文字初始透明，置中 */
.i_album_list li a p span,
.i_album_list li a .show_name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: transparent;
    width: 100%;
    text-align: center;
    pointer-events: none;
    transition: all 0.5s;
}

/* hover 時文字顯示 */
.i_album_list li:hover a p span,
.i_album_list li:hover a .show_name {
    color: #fff;
    padding: 10px;
    background: linear-gradient(90deg, #488ec0, #218aa1,#164D6D);
    font-size: 20px;
}

/* item margin */
.i_album_list li {
    margin-bottom: 30px;
}

/* 相簿浮現動畫 */
.show_content {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 768px) {
.i_album_list {grid-template-columns: repeat(2, 1fr);}
.module_i_album .title_i_box h4, .module_i_news .title_i_box h4 {
    font-size: 20px;}
.module_i_album .title_i_box h4::before {    font-size: 50px;}

}


@media screen and (max-width: 500px) {
    .i_album_list {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 400px) {
.module_i_album .title_i_box h4::before {    font-size: 50px;}

}

@media screen and (max-width: 350px) {
.module_i_album .title_i_box h4::before {    font-size: 30px;}

}


/*文章設定*/
.news_related {
    background: #f3f3f300;}
.blog_back a.article_btn_back,.blog_back a.article_btn_next,.blog_back a.article_btn_prev {background:#164D6D;   border-radius: 50px;}
.lastPage:hover,
.blog_back a.article_btn_back:hover,
.blog_back a.article_btn_next:hover,
.blog_back a.article_btn_prev:hover {
    background: linear-gradient
(90deg, #488ec0, #218aa1,#164D6D);
}


.lastPage {
    color: #fff;
    background: linear-gradient(90deg, #488ec0, #218aa1,#164D6D);
    transition: all .3s;
    width: 200px;
    margin: 10px auto;
    border: none;
    line-height: 1px;
    letter-spacing: 2px;
    border-radius: 999px;
    padding: 20px 24px;
    cursor: pointer;
    position: relative;
    animation: pulse 1s infinite;
}

.blog_le .accordion > li:hover .link a, .blog_le .accordion > li.on_this_category .link a 
{
    background: linear-gradient(90deg, #488ec0, #218aa1,#164D6D);}


.toShareNews b, .toShareNews a, .toShareNews a object, .toShareNews a i {
    display: none;
}


/*------------------------------------------------*/
/* 購物車 */
/*------------------------------------------------*/

/*product*/

.product_page .main_part { max-width:1600px; padding: 100px 20px 50px;}
.product_info_page .main_part { padding: 100px 20px 50px; }

.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;min-height: 30vw;}
.product_page .products-list,
.product_page .product-wrapper { width: calc(100% - 270px);}
ul.page { width: 100%;}

.product-layer-two li ul { position:static; margin-top:5px; width:100%; margin-left:0;}
.product-layer-two li:hover ul { border: none !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:#164D6D;}
.product-layer-two > li { width:100%; max-width:100%; padding:0; text-align:left; border-bottom:0px;}
.product-layer-two > li ul > li + li { margin-top:5px;}

.product_info_page .product_menu_list { display: none;} 
.product_info_page .products-list,
.product_info_page .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:#164D6D;}

.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;}
.product_info_page  .swiper-wrapper .swiper-slide:nth-child(1)::after { display: none;}

@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) {
    .payment_form{ align-items: baseline;}
}



/* 左邊選單 */

.product-layer-two > li:last-child{ border-bottom: 0px;}
.product-layer-two li a{ background: transparent; color: #444;  padding: 12px 16px; transition: 0.3s; margin-bottom: 12px;} 
.product-layer-two li a:hover{ background: #164D6D; color: #fff; border: 0px; border-radius: 40px;}
.product-layer-two li li a{ color: #000; background: unset; }
.product-layer-two li i{ color: #164D6D; } 
.product-layer-two li.active a{ background: #164D6D; border: 0px; color: #fff; border-radius: 40px;}


/* 商品 */
.products-list{grid-template-columns:1fr 1fr 1fr 1fr ; grid-gap: 40px 60px ;}
.products-list .price { text-align: center;  color: #434343;}
.products-list .price b{ color: #939292;}
.products-list .name{ font-size: 18px; color: #164D6D; font-weight: bold; text-align: center;
}
.products-list .item a{ transition: 0.3s;}
.products-list .more{ font-size: 15px; color: #164D6D; border: 0px; }
.products-list .item a:hover .more{ background: transparent; color: #000;}
.products-list .pic img{ width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    transform: scale(1);
    transition: 0.5s;
}

.products-list .pic{ overflow: hidden; border-radius: 20px;}
.products-list .item a:hover img  {
border-radius: 20px;
background: #2a4c8a1a;
z-index: 999;
transform: scale(1.2);
}




/* 內頁 */

.sidebarBtn{ border-radius: 24px;}
.sidebarBtn h2{ color: #164D6D;font-size: 26px;}
.sidebarBtn .sp_price{ color: #939292;}
.sidebarBtn .price{ border-bottom: 3px solid #e6e6e621;}
.proImgSwiper img{object-fit: cover;overflow: hidden;}
.pd_tabTitle li.activeTab a{ color: #332A28; font-size: 22px; font-weight: bold;}

.pd_tabTitle li.activeTab::after{ height: 0px; background: #E4E4E4;}
.sidebarBtn{ border: 1px #ddd solid;}
.inquiry_a3{ background: transparent;  transition: 0.3s; border-radius: 40px; color: #164D6D; border: 1px solid #164D6D!important;}
.inquiry_a3:hover { background: #164D6D; color: #fff;}

.rewrite_simple{ background: #164D6D; border-radius:40px; }
.send_simple{ background: #000; border-radius: 40px; }
.product-layer-two li i {    height: 53px;}

/* 相關推薦 */
.prod_related h6 span:before{  color: #332A28; font-size: 22px; font-weight: bold;}
.prod_related{ background: transparent; padding: 80px 15px 60px;}
.related_list li a{ background: transparent;}
.related_list li a img{ border-radius: 40px; transition: 0.5s;}
.related_list li a:hover img {
    opacity: 0.75;
    transition: 0.5s;
}
.lastPage{ background: #164D6D; border-radius: 40px;}

.product-layer-two li.active li a {
    color: #fff;
    BACKGROUND: #164D6D;
}


.product-layer-two li li.active a {
    background: #000;
}

@media screen and (max-width:1529px) {
    .products-list .name{ font-size: 16px; margin-bottom: 10px; height: 30px;}
    .products-list .price b{ font-size: 14px;}
}

@media screen and (max-width:1024px) {
    .products-list{display:grid;grid-template-columns:1fr 1fr 1fr ;}
}
@media screen and (max-width:980px) {
    .products-list, .pageIndex .products-list{
        grid-gap:40px 60px;
    }
}
@media screen and (max-width:930px) {
    .products-list{grid-template-columns:1fr 1fr;}
}

@media screen and (max-width:768px) {
    .product-layer-two{ display: block!important;}
    .product_page .product_menu_list>h5{ display: none;}
    .product_info_page #content .main_part{ padding:80px 20px 0px;}
    .mobile_product_name{ display: none;}
    .products-list .price b{ text-align: center!important;}
    /*購物車裡*/
    .total_amount {margin-bottom: 30px;}
    
}
@media screen and (max-width:450px) {
.products-list{grid-template-columns:1fr; gap: 24px;}
/*購物車裡*/
.car_page .information_left {display: none;}
}






/*------------------------------------------------*/
/* 聯絡我們 */
/*------------------------------------------------*/

.contact_content {    max-width: 1400px;
}
.contact_le_map a,.contact_form li.last cite {    background: #164D6D;}
.contact_form {    grid-gap: 16px;
}
.contact_editbox {    padding: 0;
}
.contact_form li .form__label {
    top: 5px;
    position: relative;
}


.info_TEL:before {
    content: "手機";
}

.info_PHONE:before {
    content: "手機";
}

