@charset "utf-8";

/*●●●●●●●●●●●●●●●●●●●●●●●●   隱藏內容   ●●●●●●●●●●●●●●●●●●●●●●●●*/
.me_tp_features{display:none;}
.box_link{display:none;}
.tp_links{display:none;}
.path p, .path p a { display: none;}

/*●●●●●●●●●●●●●●●●●●●●●●●●   大範圍設定   ●●●●●●●●●●●●●●●●●●●●●●●●*/
*{letter-spacing: .1rem;}
*{font-family: /*"Kosugi Maru", sans-serif;*/}
:root{
/*顏色*/

--ColorMain:#243b4d/*深藍*/;
--ColorMainOp:#253b4cc7/*深藍透明*/;
--ColorMain2:#efefef /*淺灰*/;
--ColorMain3:#eef6ee/*淺淺綠*/;
--ColorMain4:#f3f0ea /*灰米*/;


--ColorSub:#f8ecdc /*米*/;
--ColorSub2:#ca9f45/*金色*/;
--ColorSub3:#a9a9a9/*灰色*/;

--ColorAccent: #d87b4a; /* 強調色 橘棕，拿來做按鈕/連結 */
--ColorHighlight: #87a878; /* 點綴色 草綠，呼應主色 */
--ColorBackground: #ffffff; /* 基底 白色，乾淨清爽 */
--ColorBackgroundAlt: #f4f1ea; /* 替代背景 淡米灰 */
--ColorText: #2f2f2f; /* 主文字 深灰，避免純黑過硬 */
--ColorTextLight: #6b6b6b; /* 次文字 淺灰 */

--textColor: #333333; /*文字*/

/* 字型 */
--ffmain: "微軟正黑體"; --ffsub:"Noto Sans TC", sans-serif;
}

/*捲軸*/
&::-webkit-scrollbar-button {  display: none;}/*上下箭頭*/

&::-webkit-scrollbar {  width: 7px;}
&::-webkit-scrollbar-track-piece, &::-webkit-scrollbar {  background: var(--ColorMain2);}/*底色*/
&::-webkit-scrollbar-thumb {  border-radius: 4px; background-color:#405c56;}/*滑塊*/

&::-webkit-scrollbar-track { box-shadow: transparent;}


#content_main { margin-top: 0;}
#content_main {}
@media screen and (max-width: 1024px){
}  
@media screen and (max-width: 768px){
}         
@media screen and (max-width: 450px) {
}

/*●●●●●●●●●●●●●●●●●●●●●●●●   浮動按鈕   ●●●●●●●●●●●●●●●●●●●●●●●●*/
.info_fix_links{ display:block !important;}/*保持展開*/
.info_fix > span { display: none;}/*隱藏展開鈕*/
.linksBtn, .info_fix:hover>.linksBtn{ background: #de8c66;}
.info_fix_links a.info_fix_tel{display:none;}

.info_fix {  bottom: 60px; right: 0;}
.info_fix_links { width: 80px;}
.info_fix_links a { background: #7f7f7fc4;
    border-radius: 0;
    margin-bottom: 0;
    width: 45px;
    border-bottom: 1px solid #ffffff4f;}
.info_fix_links a:hover { background: var(--ColorMain);}

.info_fix_links a:first-of-type { border-radius: 5px 5px 0 0;}
.info_fix_links a:last-of-type { border-radius: 0 0  5px 5px;border: none;}

.info_fix_links a:nth-of-type(even) { }
.info_fix_links a:nth-of-type(even):hover { background:#d6af63;}

@keyframes move2{	0%{transform: rotateY(0deg);}	100%{transform:  rotateY(360deg);}}

.fa-envelope::before { transform: scale(0.8); display: flex;}

/*●●●●●●●●●●●●●●●●●●●●●●●●   查看更多按鈕   ●●●●●●●●●●●●●●●●●●●●●●●●*/
.animated-arrow { border-radius: 5px;transition:.3s;position:relative;overflow:hidden; margin-top: 0;
    color: #253c4c; background: #ffffff;font-size: 14px;height: 40px; line-height: 40px;}

.animated-arrow b, .animated-arrow i{position:relative; z-index:99;}
.animated-arrow b{ font-weight: normal;}
.animated-arrow::after { color: #fff; background: var(--ColorMain); content:"";position:absolute;width:0px;height:100%;top:0px;left:0px;transition:.5s;}
.animated-arrow:hover {	color: #fff;}
.animated-arrow:hover::after {	width:100%;}

/*●●●●●●●●●●●●●●●●●●●●●●●●   大圖設定   ●●●●●●●●●●●●●●●●●●●●●●●●*/
/*○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○//*首頁大圖*/
#content_main { margin:0;}
.bannerindex { position:static; height:auto;}
.bannerindex .swiper-banner { position:static; margin:0; height:auto;} 
.bannerindex .swiper-slide img { height:auto;}

/*loading*/
.bannerindex::after{
    content: "";
    display: block;
    background-image: url(https://pic03.eapple.com.tw/homemaster/loading.png);
    background-size: cover;
    width: 100%;
    height: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: fixed;
    top: 25%;
    z-index: 1000000000000000000001;
    pointer-events: none;
    animation: logo 2.5s forwards;
}
@keyframes logo {
      0% { opacity: 0;}
     70% { opacity: 1;}
    100% { opacity: 0;}
}

.bannerindex::before {
    content: "";
    display: block;
    background:linear-gradient(45deg, #243b4d, #a1bed4, #e8e8e8, #e8e8e8, #a1bed4, var(--ColorMain)); backdrop-filter: saturate(93%) blur(10px);
    background-size: cover;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1000000000000000000000;
    animation: banner-bg 3s forwards;
}
@keyframes banner-bg {
    0% {opacity: 1;}
    95% { opacity: .9;}
    100% { opacity: 0;}
}
/*
@keyframes banner-logo {
      0% {transform: translateX(0);opacity: 0;filter: blur(0);}
      5% {transform: translateX(-10px);}
     10% {transform: translateX(10px);opacity: 1;}
     15% {transform: translateX(-10px);}
     20% {transform: translateX(10px);}
     25% {transform: translateX(-10px);}
     30% {transform: translateX(10px);}
     35% {transform: translateX(-10px);}
     40% {transform: translateX(10px);}
     45% {transform: translateX(-10px);}
     50% {transform: translateX(10px);}
     55% {transform: translateX(-10px);}
     60% {transform: translateX(10px);}
     65% {transform: translateX(-10px);}
     70% {transform: translateX(10px);}
     75% {transform: translateX(-10px);}
     80% {transform: translateX(10px);filter: blur(10);}
     85% {transform: translateX(-10px);}
     90% {transform: translateX(10px);}
     95% {transform: translateX(-10px);}
    100% {transform: translateX(10px);opacity: 0;filter: blur(10);}	
	
}*/

/*各別*/
.bannerindex .swiper-slide{position: relative;}
.bannerindex .swiper-slide:before, .bannerindex .swiper-slide:after {
    content: "";
    position: absolute;
    z-index: 999;
    pointer-events: none;
    transition-duration: 2s;
    transition-timing-function: linear;
}

.bannerindex .swiper-slide.swiper-slide-active:nth-child(1):before,
.bannerindex .swiper-slide.swiper-slide-active:nth-child(1):after {
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
	top: 0;
    background-size: contain;
    position: absolute;
    z-index: 101;
}

.bannerindex .swiper-slide.swiper-slide-active:nth-child(1):before{
    background-image: url(https://pic03.eapple.com.tw/homemaster/BN1.png); animation: left_pop 5s ease;}
.bannerindex .swiper-slide.swiper-slide-active:nth-child(1):after{
    background-image: url(https://pic03.eapple.com.tw/homemaster/BN2.png); animation: fade_in 5s ease;}

@keyframes left_pop {
  0% { opacity: 0; transform: scale(1, 0);}
 50% { opacity: 0; transform: scale(1, 0);}
100% { opacity: 1; transform: scale(1, 1);} 
 
}


@keyframes fade_in {
   0% { opacity: 0;}
  70% { opacity: 0;}
 100% { opacity: 1;}
}

/*大圖滑動點*/
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    display: none;}


@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
.bannerindex .swiper-slide.swiper-slide-active:nth-child(1):before,
.bannerindex .swiper-slide.swiper-slide-active:nth-child(1):after {
    width: 200%;
    height: 200%;
    top: -50%;
    right: -50%;}

}
@media screen and (max-width: 600px) {
}

/*○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○//*內頁大圖*/
.banner {background: url(https://pic03.eapple.com.tw/homemaster/ban.jpg) no-repeat;
background-position: center center !important; background-size: cover !important; height: 20vw;}
.banner h5 {font-weight: bold;
    color: var(--ColorMain);
    letter-spacing: 8px;
    margin-top: 2vw;
    font-size: 20px;}
.banner h5:before{
    content: "HOME MASTER";
    letter-spacing: 3px;
    font-weight: normal;
    display: block;
    font-size: 30px;
    margin-bottom: 3px;
    color: #243b4d1c;}
.banner.banA {}
.banner.banB {}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}

@media screen and (max-width: 768px) {
	.banner{}
	.banner h5 {}
	.banner h5:before{}
	.bannerindex { padding-bottom: 0;}
}

@media screen and (max-width: 450px){
	.banner{}
}

/*●●●●●●●●●●●●●●●●●●●●●●●●   功能頁首頁顯示-外掛   ●●●●●●●●●●●●●●●●●●●●●●●●*/

/*英文*/
.i_prod_tit h2, .i_video_tit h2, .news_part .title_i_box h6, .module_i_album .title_i_box h6, .module_i_news .title_i_box h6
{font-weight: bold;font-size: 35px;margin-bottom: 5px;color: #fff;letter-spacing: 0;}

/*中文*/
.i_prod_tit span, .i_video_tit span, .news_part .title_i_box h4, .module_i_album .title_i_box h4, .module_i_news .title_i_box h4
{color: var(--ColorText);font-size: 22px;font-weight: bold;}


/*●●●●●●●●●●●●●●●●●●●●●●●●   HEADER區塊   ●●●●●●●●●●●●●●●●●●●●●●●●*/
/*LOGO*/
.main_header_area .container {max-width:85%;}
.nav-header {max-width: 210px;padding: 10px 0;}

/*底色*/
.header_area { padding: 0;}
.pageIndex .header_area{opacity: 0;transition: all .5s;}

.pageIndex .header_area, .header_area.sticky {background: transparent;position: fixed;}
.header_area.sticky {opacity: 1;transition: all .5s;}

.header_area:before{content: "";width: 80%;height: 100%;position: absolute;top: 0;left: 50%;transform: translateX(-50%);
background: transparent;transition: all .5s;}
.header_area.sticky:before{width: 100%;background:#243b4dd6;transition: all .5s;backdrop-filter: saturate(93%) blur(5px);}

.navigation {display: flex;align-items: center;grid-gap: 0 10px;}

.main_header_area {background: #243b4de0;}
.pageIndex .main_header_area {background: transparent;}
.blog_page .header_area.sticky:before{background: transparent;}

/*第一層*/
.stellarnav > ul {display: flex; justify-content: flex-end;gap: 10px;margin-top: 40px;}
.stellarnav > ul > li:before{/*content: "+"; color: #ffcfbe;*/}
.stellarnav > ul > li { display: flex; align-items: center;}
.stellarnav > ul > li:nth-of-type(5) > a, .stellarnav > ul > li:nth-of-type(6) > a { padding-right: 17px !important;}

.stellarnav > ul > li:last-of-type{display:none;}

.stellarnav > ul > li > a{color: #fff;letter-spacing: .2rem;transition: all .5s;}
.stellarnav > ul > li > a:hover {color:var(--ColorSub);}

.stellarnav > ul > li > a b{font-weight: bold;letter-spacing: 3px;font-size: 15px;}

/*主選單箭頭*/
.stellarnav li.has-sub > a:after {border-left: 5px solid transparent;border-right: 5px solid transparent; border-top: 5px solid var(--ColorSub2);}

/*第二層*/
.stellarnav ul ul{ background: transparent;top: 40px;}
.stellarnav li a{ color: var(--ColorMain); padding: 10px;transition: 1s ease;}
.stellarnav li.has-sub li {border: none; border-bottom: 1px solid var(--ColorMain); background: #ffffffe8;}
.stellarnav li.has-sub li a:hover{background: var(--ColorMain); color: white; padding-left: 18px;}

@media screen and (max-width: 1024px) {
.stellarnav > ul { justify-content: center; gap: 5px; margin: 0 0 5px;}

}
@media screen and (max-width: 768px) {
.pageIndex .header_area { position: sticky;opacity: 1;}
.main_header_area .container { max-width: 100%;}
.pageIndex .main_header_area {background: #243b4df7;}
.header_area.sticky:before { background: transparent;}
	
/*menu*/
.stellarnav .menu-toggle{ padding: 22px 15px !important;}
.stellarnav .menu-toggle:after{    color: var(--ColorMain2); margin-top: 10px;}
.stellarnav .menu-toggle span.bars span { background: var(--ColorMain3);}
	
/*區塊*/
.stellarnav > ul { margin-top: 0;}
.stellarnav.mobile.right > ul, .stellarnav.mobile.left > ul { background: #b1b1b1eb;backdrop-filter: saturate(93%) blur(3px); max-width: 320px;}
	
/*close*/
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu { background: transparent;color: var(--ColorMain2);}
.stellarnav .icon-close:before, .stellarnav .icon-close:after{    border-bottom: solid 3px var(--ColorMain2);}
.stellarnav a.dd-toggle .icon-plus:before, .stellarnav a.dd-toggle .icon-plus:after { border-bottom: solid 3px var(--ColorMain2);}
.stellarnav .icon-close { margin-right: 5px;}

/*第一層*/
.stellarnav.mobile > ul > li > a b {font-style: normal;color: white;}
.stellarnav.mobile > ul > li { padding: 0 0 15px; margin: 15px;}
.stellarnav > ul > li:before{display:none;}
.stellarnav ul ul {top: 0;}
.stellarnav.mobile li.open { background: transparent;padding:0 0 15px;}
.stellarnav.mobile li a {border-bottom: none;}

/*第二層*/
.stellarnav.mobile ul { background: transparent;}
.stellarnav.mobile ul ul { margin: 0px 40px 15px 15px;}
.stellarnav li.has-sub li { background: #ffffffc2;}
/*.stellarnav > ul > li:nth-of-type(6) > a { padding-right: 0 !important;}*/
.stellarnav li a{color: var(--ColorMain);}

}

/*●●●●●●●●●●●●●●●●●●●●●●●●   FOOTER區塊   ●●●●●●●●●●●●●●●●●●●●●●●●*/
.footer{background: linear-gradient(0deg, #efefef, transparent); padding: 0;}
.footer .center {max-width: 1000px;width: 90%;}
/*LOGO*/
.footer_logo{display: none; margin: auto;}
/*聯絡資料*/
.footer_info {display: flex; flex-direction: column; grid-gap: 10px;padding: 25px 0 0;}
.footer_info ul{display: flex; flex-direction: column; align-items: center;}

.footer_info li {display: flex; flex-wrap: wrap; justify-content: center;text-align: center; gap: 0 15px;padding: 5px;}
.footer_info li:nth-child(1){gap: 20px;}
.footer_info li:nth-child(2){}
.footer_info li+li { margin-top: 0;}

.footer_info li p, .footer_info li p a{ color:var(--textColor); font-size: 18px; letter-spacing: 1px; font-weight: bold;}
.footer_info li p:hover a {  bottom: 5px; position: relative;background: var(--ColorSub2);}

.footer_info li p {display: flex;}
.footer_info li p a { font-size: 15px;}

.footer_info li p:after { content: " "; order: 1; width: 30px; background-repeat: no-repeat; animation: footericon .5s ease infinite alternate;
                              background-image: url(https://pic03.eapple.com.tw/homemaster/fix_phone.svg);}
.footer_info li p.line:after {background-image: url(https://pic03.eapple.com.tw/homemaster/fix_line.svg);}

@keyframes footericon {
  0% { transform: rotate(5deg);}
100% { transform: rotate(-5deg);}
}

.footer_info li p.line:before { content: '官方LINE';}
.footer_info li p.tel:before {  content: '安裝服務電話';}

.footer_info li p.line { order: 2;}
.footer_info li p.tel {  order: 1;}

.footer_info li p:before {order: 2;color: var(--ColorMain);}
.footer_info li p a{order: 3;background: var(--ColorMain); color: white; border-radius: 20px; padding: 2px 10px 0; margin-top: -4px;}

.footer_info li p.mail, .footer_info li p.add {display:none;}


/*按鈕*/
.footer_menu a{background: var(--ColorMain);border: none; color: var(--ColorMain);background: #ffffff;
               font-size: 12px;padding: 8px;position: relative;z-index: 0; margin: 5px 0;width: 115px;}
.footer_menu a:hover { background: var(--ColorMain); transition: all 1s ease;}
		
.footer_menu a:nth-of-type(even){/*background:var(--ColorSub);*/}	

.footer_menu a:first-child{display: none;}
.footer_menu a:before{content: "";width:100%;height:0;position: absolute;top: 0;left: 0;transition: all .5s;background:var(--ColorSub2);z-index: -1;}
.footer_menu a:hover:before{bottom: 0;top: auto;height: 100%;transition: all .5s;}

/*copy*/
.copy {padding: 8px 0 10px; background: var(--ColorSub2); border-top: none;}
.copy, .copy a{color: #fff;letter-spacing: 0;}

.copy a:hover { color: var(--ColorMain);}

/*#to_top*/
#to_top {padding-top: 8px; border-radius: 5px;border: 1px solid #ffffff33; background: #2d2d2dc2; box-shadow: none; border-radius: 5px; 
         color: #ffffff;bottom: 90px;left: 30px;bottom: 80px;font-family: 'Dosis'; font-weight: bold;}
#to_top i:before, #to_top i:after { background: #ffffff;}

/*#bottom_menu*/
#bottom_menu{background: var(--ColorMain2); box-shadow: none;}
#bottom_menu li { border-right: 1px solid #ffffff;}
#bottom_menu li a i { color: var(--ColorMain);}
#bottom_menu li a em {color: #878787;}

@media screen and (max-width: 768px) {
	.footer { padding: 0 0 55px;}
    #to_top {}
}


/*●●●●●●●●●●●●●●●●●●●●●●●●   文章   ●●●●●●●●●●●●●●●●●●●●●●●●*/
/*首頁顯示*/
.module_i_news { background: url(https://pic03.eapple.com.tw/homemaster/i_article_bg.jpg) no-repeat;
                background-size: cover;background-position: center;}

.module_i_news .title_i_box{margin-bottom: 10px;}
.module_i_news section {max-width: 1600px;}
.module_i_news ul {grid-template-columns: 1fr 1fr 1fr 1fr; grid-gap: 1%;}
.module_i_news li a {grid-template-columns: 1fr;grid-gap: 0;}

.module_i_news li a:before, .subbox_item a:before { color: #fff; background: #000000c9; border-radius: 10px;padding: 20px 30px;
    top: 40%;left: 50%;bottom: auto;right: auto;transform: translate(-50%,-50%);}
.subbox_item a:before { top: 50%;}

.module_i_news li a:after, .subbox_item a:after {background: transparent; border: none;}

/*圖片*/
.i_blog_le, .blog_list_le img { border-radius: 25px; border: 4px solid #ffffffb3; box-shadow: 0 0 12px 0px #919191;}

/*標題 時間 簡介*/
.i_blog_ri {padding: 15px;}
.i_blog_ri h5, .blog_list_ri h5 {  color: var(--ColorText);font-weight: bold;}
.i_blog_ri em, .blog_list_ri em {  margin: 4px 0;font-size: 13px; letter-spacing: 0; font-family: serif;}
.i_blog_ri p, .blog_list_ri p {    line-height: 160%;font-size: 12px;}


/*文章首頁*/
.subbox_item a{ margin-bottom: 20px;}
.blog_list_ri { padding: 20px 0 0;}
.blog_subbox { /* grid-template-columns: 1fr;*/}

/*側邊選單*/
a.news_menu_toggle i{color: var(--ColorSub2);}
h5.blog_le_t em { color: var(--ColorMain);}
h5.blog_le_t span { color: var(--ColorSub2);}
.blog_search input[type=search] { border: none;background: #f3f3f3;}
.accordion li .link a { color: #74645d; font-weight: 500;}
.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category { background: var(--ColorMain) !important;}
.blog_le .accordion {}	

.submenu li.on_this_category a, .submenu a:hover{    background: var(--ColorSub2);}
.submenu{background: white;}

/*文章內頁*/

h4.blog_category_title { font-weight: normal; letter-spacing: 5px;margin-bottom: 5px;}
.blog_in_page h4.blog_category_title:before {/* content: "+"; color: #ffcfbe; margin-right: 10px;font-style: italic;*/}

.blog_back a.article_btn_prev, .blog_back a.article_btn_next { background: var(--ColorSub2);}
.blog_back a.article_btn_back{background: var(--ColorMain);}

.toShareNews {}
.toShareNews b { font-weight: lighter;}
.blog_in_page .blog_box_edit { border-top: 1px solid var(--ColorSub2); padding: 30px 0 0;}	
	
/*相關文章*/
.news_related { background: #f3f3f3; padding: 35px 15px;}
.news_related h6 span:before { font-size: 20px;}
.news_related_list li a { border: 1px solid var(--ColorSub2);}
.news_related_list { grid-gap: 15px;}
.blog_in_page .lastPage {  background: #d5d5d5;margin: 10px auto 0;}

@media screen and (max-width: 768px){
.module_i_news ul {grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));}
}
@media screen and (max-width: 450px){
/*首頁*/
.module_i_news .title_i_box h4 {font-size: 24px;}
.module_i_news ul {}
}
	