@charset "utf-8";
/*逸居設計室內裝修工作室*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/

:root{
    --MainColor:#383E61;
}
body {
    font-family: 'Noto sans TC', sans-serif;
    letter-spacing: 1px;
}
.edit_part{
    padding: 200px 20px;
}

/*錨點滾動*/
html { 
    scroll-behavior: smooth;
}
::-webkit-scrollbar {
    width: 3px;
}
::-webkit-scrollbar-track { 
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
}
::-webkit-scrollbar-thumb {
    background-color: var(--MainColor);
    border-radius: 50px;
}

/*預設解除背景輪播-----------------------------*/
.bannerindex { 
    position:relative; 
    height:auto;
}
.bannerindex .swiper-banner { 
    position:static; 
    margin:0; 
    height:auto;
} 
.bannerindex .swiper-slide img { 
    height:auto;
}

@media screen and (max-width: 768px) {
    .bannerindex .swiper-banner{
        height:auto;
    }
    .bannerindex{
        padding-bottom: 0;
    }
}

/*大圖----------------------------------------*/
.swiper-slide img{
    filter: brightness(0.7);
}

/*header--------------------------------------*/
/*首頁設定*/
.pageIndex .header_area {
    position: fixed;
    background: transparent;
    padding: 23px 0;
    animation: text-focus-in 0.6s cubic-bezier(.55,.085,.68,.53) both;
}
.pageIndex .stellarnav > ul > li > a {
    color: #FFF;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 5px;
    margin: 0px;
    font-family: 'Montserrat';
}
.pageIndex .stellarnav ul {
    display: grid;
    justify-items: end;
}
.pageIndex .stellarnav > ul > li > a b {
    text-align: end;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Montserrat';
}
.stellarnav > ul > li > a > b:nth-child(2) {
    font-weight: 400;
    font-size: 15px;
}
.pageIndex .stellarnav ul ul {
    background: transparent;
    right: 0px;
    position: relative;
    justify-items: normal;
}
.pageIndex .stellarnav li li a {
    text-align: end;
    position: relative;
}
.stellarnav li li a {
    font-size: 14px;
    letter-spacing: 2px;
    color: #FFF;
    transition: all 0.3s;
    padding: 12px 15px;
}
.pageIndex .stellarnav li li a:hover {
    padding-right: 30px;
}

@media screen and (max-width: 1024px) {
    .pageIndex .stellarnav ul{
        display: block;
    }
    .pageIndex .stellarnav > ul > li > a b{
        font-weight: 300;
        text-align: center;
        letter-spacing: 1.5px;
    }
    .stellarnav > ul > li{
        padding: 0px 15px;
    } 
}

/*首頁 header sticky*/
.pageIndex .header_area.sticky .stellarnav ul {
    display: block;
    animation:tracking-in-expand 1.5s cubic-bezier(.215,.61,.355,1.000) both;
}
.pageIndex .header_area.sticky .stellarnav > ul > li > a b {
    text-align: center;
}
.pageIndex .header_area.sticky {
    padding: 20px 0 11px;
    background: #f9f9f9;
}
.pageIndex .header_area.sticky .nav-header {
    align-items: center;
    max-width:160px;
    top: 5px;
}
.pageIndex .header_area.sticky .stellarnav > ul > li > a {
    color: #696969;
    letter-spacing: 2px;
    margin: 10px 15px;
}
.pageIndex .header_area.sticky .main_header_area .container {
    max-width: 95%;
}
.pageIndex .header_area.sticky .stellarnav ul {
    justify-items: start;
}
.pageIndex .header_area.sticky .stellarnav li li a {
    text-align: left;
}
.pageIndex .header_area.sticky .stellarnav ul ul {
    background: #e0e0e0;
    right: 0px;
    position: absolute;
    animation: none;
}
.pageIndex .header_area.sticky .stellarnav li li a:hover {
    background: #8CA2B7;
    color: #FFF;
    box-shadow: none;
}
.pageIndex .nav-brand {
    margin-top: 10px;
    margin-left: 0px;
    position: relative;
    width: 160px;
    filter: invert(100%) brightness(1000%);
}
.pageIndex .header_area.sticky .nav-brand {
    margin-top: -10px;
    display: block;
    filter:none;
    transition: 0.3s;
}
.pageIndex .nav-header {
    align-items: flex-start;
    position: relative;
}
.pageIndex .header_area.sticky .nav-header:after {    
    width: 76%;
    height: 48%;
    top: 11px;
    left: 74px;
    filter: none;
}

@media screen and (max-width: 1024px) {
    .pageIndex .header_area.sticky{
        height: 120px;
    }
}

/*內頁*＝＝＝＝＝＝＝＝＝＝＝＝*/
/*內頁logo*/
.nav-brand {
    margin-top: -5px;
    position: absolute;
}
.nav-brand img {
    max-width: 100%;
    width: 160px;
}
.pageIndex .header_area.sticky .stellarnav li li a {
    font-size: 13px;
    letter-spacing: 2px;
    color: #444;
    transition: all 0.3s;
    padding: 15px 0px 15px 10px;
}

.pageIndex .header_area.sticky .stellarnav ul {
    display: block;
    justify-items: normal;
}

/*ALL header*/
.path p, .path p a {
    display: none;
}
.main_header_area .container {
    max-width: 95%;
}
.stellarnav > ul > li > a b {
    text-align: center;
}
.header_area {
    padding: 20px 0 11px;
    background: #E0E0E0;
    
}
.header_area.sticky{
    background: #E0E0E0;
}
.stellarnav > ul > li > a {
    color: #696969;
    letter-spacing: 2px;
    margin: 10px 15px;
}

@media screen and (max-width: 768px) {
.pageIndex .header_area {
    display:none;
    animation:unset;
}
.pageIndex .header_area.sticky{
    display: block;
    height: 90px;
}
.pageIndex .header_area.sticky .stellarnav ul {
    display: none;
    animation:unset
}
.nav-brand {
    margin-top: -7px;
}
.pageIndex .navigation {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
}
.pageIndex .header_area.sticky .navigation{
    align-items: center;
    justify-content: center;
}
.pageIndex .nav-brand {
    width: 160px;
}
.pageIndex .header_area.sticky .nav-brand {
    margin-top: 0px;
    display: block;
    margin-left: 13px;
}
.pageIndex .stellarnav.mobile {
    top: -8px;
}
.pageIndex .header_area.sticky {
    padding: 20px 0 17px;
    animation: tracking-in-expand 1s cubic-bezier(.215,.61,.355,1.000) both;
}
.header_area {
    padding: 49px 0 45px;
}
}

/*ALL 第一層*/
.stellarnav > ul > li > a {
    color: #696969;
    letter-spacing: 2px;
    margin: 10px 15px;
    font-size: 14px;
}
.stellarnav > ul > li > a b {
    text-align: center;
}
.me_tp_features {
    display: none;
}
.stellarnav li.has-sub > a:after{
    content: '+';
    border-left:none;
    border-right:none;
    border-top:none;
}

/*ALL 下拉*/
/*相簿bug*/
.stellarnav > ul > li:nth-of-type(3) > ul li:nth-of-type(1) {
    display: none;
}

/**/
.stellarnav ul ul {
    background: #8aa2b5;
    right: 0px;
    position: absolute;
}
.header_area.sticky .stellarnav ul ul {
    animation: none;
}
.stellarnav li li {
    border: none;
}
.stellarnav li li a:hover {
    background: #ffffff;
    color: #444;
    box-shadow: 7px 7px 6px #607b8f3d;
}

/*浮動按鈕-------------------------------*/
.linksBtn{
    background-color: #aaa;
}
.info_fix{
    bottom: 125px;
    width: 50px;
    right: 0px;
}
a.info_fix_default.info_fix_mail{
    display: none;
}
.info_fix_links{
    width: 50px;
}
.info_fix_links a{
    background: var(--MainColor);
    border-radius: 0px;
    margin-bottom: 0px;
    border-bottom: 1px solid #fff;
}
.info_fix_links a:hover{
    background-color:#333;
}
a.info_fix_default.info_fix_tel{
    background: #cdcdcd;
}
a.info_fix_default.info_fix_line{
    background: #7083a9;
}
.info_fix_links a{
    border-bottom: none;
}

/*直接展開*/
.info_fix_links{
    display: flex !important;
}
.info_fix>span{
    display: none;
}

/*TO TOP*/
#to_top{
    bottom: 95px;
    right:20px;
    background: #333;
    box-shadow: unset;
    color: #ffffff;
    left:unset;
    width: 50px;
    height: 50px;
    font-size: 14px;
    padding-top: 10px;
    border-radius: 0;
    right: 0px;
}
#to_top i.top{
    height: 10px;
}
#to_top i.top:before, 
#to_top i.top:after {
    height: 10px;
    background: #ffffff;
    height: 10px;
    top: 3px;
}

/*footer--------------------------------*/
.box_link a{
    display: none;
}
.footer .center {
    padding: 0px 30px;
}
.footer_menu a:first-child {
    display: none;
}
.footer {
    background: #f9f9f9;
    padding: 80px 0 0px; 
}
.footer_info ul {
    width: 100%;
    display: flex;
    flex-direction: row;
}
.footer_info {
    display: flex;
    flex-direction: column;
    padding: 0px;
}
.footer_logo{
    display: none;
}
.footer_info li:nth-child(1) {
    width: 100%;
    padding: 10px 0px;
}
.footer_info li:nth-child(2) {
    width: 100%;
    padding: 10px 0px;
}
.footer_info li p {
    color: #444;
    font-size: 12px;
    font-family: 'Montserrat';
}
.footer_menu a {
    border: none;
    margin: 0 7px;
    background: transparent;
    letter-spacing: 1pt;
    transition: .4s;
    color: #444;
    font-family: 'Montserrat';
}
.footer_menu a:nth-last-of-type(1) {
    margin-right:0px ;
}
.footer_menu a:hover {
    background: var(--MainColor);
    transition: .4s;
}
.copy {
    padding: 10px 0;
    width: 95%;
    margin: 10px auto 0px;
    font-size: 11px;
    color: #444;
    border-top: 1px var(--MainColor) solid;
}
.copy a{
    color: #444;
}
.footer_info li p a {
    color: #444;
    border-left: 1px solid #444;
    padding-left: 10px;
    letter-spacing: 2px;
    margin-left: 65px;
}
.footer_info li p.mail:before {
    content: 'MAIL';
    position: absolute;
}
.footer_info li p.add:before {
    content: 'ADD';
    position: absolute;
}
.footer_info li p.line:before{
    content: 'LINE';
    position: absolute;
}
.footer_info li p.phone:before{
    content: 'PHONE';
    position: absolute;
}
.footer_info li p.tel:before{
    content: 'TEL';
    position: absolute;
}

@media screen and (max-width: 1200px){
.footer_info li:nth-child(1) {
    width: 50%;
}
.copy {
    display: flex;
    justify-content: center;
}
}

@media screen and (max-width: 980px){
.footer_info ul {
    flex-wrap: wrap;
}
.footer_menu {
    justify-content: flex-start;
}
.box_link {
    top: -10px;
}
.copy {
    border: none;
}
.footer_menu {
    flex-wrap: wrap;
}
.footer_info li:nth-child(1) {
    width: 100%;
    padding: 0px 15px;
}
.footer_logo {
    padding: 0px 18px;
}
.footer_menu a {
    margin: 7px 7px;
    padding: 7px 10px;
}
.copy {
    margin-top: -10px;
}    
.footer {
    padding: 80px 0 0px;
}
}

@media screen and (max-width: 768px) {
.box_link {
    justify-content: flex-start;
    top: 2px;
    left: 2px;
    padding: 0px 0px;
}
.footer_info li+li {
    margin-top: 8px;
}
.footer_menu a {
    margin: 5px 5px;
    border: 1pt solid;
    border-radius: 0;
}
.copy {
    margin-top: 0px;
}
.footer.with_shopping_mode {
    padding: 50px 0 55px;
}
#bottom_menu li {
    background: var(--MainColor);
}
#bottom_menu li a i {
    color: #fff;
}
#bottom_menu li a em {
    color: #fff;
}
}

/*手機版選單-----------------------------*/
.stellarnav .menu-toggle:after{
    display: none;
}
.stellarnav .menu-toggle{
    padding: 20px 10px;
}
.stellarnav .menu-toggle span.bars span{
    width: 30px;
    height: 1px;
    background: #333;
    border-radius:0;
    margin: 5px auto 4px;
}
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu{
    background: var(--SubColor);
}
.stellarnav.mobile > ul > li > a.dd-toggle{
    padding: 0px;
}
.stellarnav a.dd-toggle .icon-plus:after{
    border-bottom: solid 1px #777;
}
.stellarnav a.dd-toggle .icon-plus:before{
    border-bottom: solid 1px #777;
}