html {
	scroll-behavior: smooth;
}

.custom-color-1{
    color: #F0F0F0;
}

.custom-color-2{
    color: #A88862;
}

.custom-color-3{
    color: #EAD6C0;
}

.text-white{
    color: #fff;
}

/*-----------------------------------
// 自適應相關設定
------------------------------------*/

/* 因為版型使用的boostrap版本過舊，需要額外自己設定部分class*/
.d-inline {
    display: inline !important;
}
.d-inline-block {
    display: inline-block !important;
}
.d-flex{
    display: flex !important;
}
.d-none{
    display: none !important;
}
.d-block{
    display: block !important;
}

.flex-stack{
    display: flex;
    justify-content: center;
    align-items: center;
}


/* boostrap 自設定 */

@media (min-width: 576px) {
    .d-sm-inline {
        display: inline !important;
    }
    .d-sm-inline-block {
        display: inline-block !important;
    }
    .d-sm-block {
        display: block !important;
    }
    .d-sm-flex {
        display: flex !important;
    }
    .d-sm-none {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .d-md-inline {
        display: inline !important;
    }
    .d-md-inline-block {
        display: inline-block !important;
    }
    .d-md-block {
        display: block !important;
    }
    .d-md-flex {
        display: flex !important;
    }
    .d-md-none {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .d-lg-inline {
        display: inline !important;
    }
    .d-lg-inline-block {
        display: inline-block !important;
    }
    .d-lg-block {
        display: block !important;
    }
    .d-lg-flex {
        display: flex !important;
    }
    .d-lg-none {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .d-xl-inline {
        display: inline !important;
    }
    .d-xl-inline-block {
        display: inline-block !important;
    }
    .d-xl-block {
        display: block !important;
    }
    .d-xl-flex {
        display: flex !important;
    }
    .d-xl-none {
        display: none !important;
    }
}

@media (min-width: 1400px) {
    .d-xxl-inline {
        display: inline !important;
    }
    .d-xxl-inline-block {
        display: inline-block !important;
    }
    .d-xxl-block {
        display: block !important;
    }
    .d-xxl-flex {
        display: flex !important;
    }
    .d-xxl-none {
        display: none !important;
    }
}

.p-relative{
    position: relative;
}

body{
    font-family: 'Noto Serif TC', 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif TC', 'Poppins', sans-serif;
}

a:hover, a:focus {
    color: #d8d8d8;
}

#royal_preloader.logo .percentage {
    color: #d8d8d8;
}

#menu ul > li > a,
#main-nav > ul > li > a {
    color: #4D4D4D;
    font-size: 24px;
}

.bg-white {
    background: #ffffff;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.bg-white .main-nav > ul > li > a {
    line-height: 70px;
}

.with-pre-line::before{
    content: "";
    display: block;
    width: 90px;
    height: 1px;
    background: #F0F0F0;
    left: -67px;
    top: 50%;
    position: absolute;
}

.dive-line{
    width: 50%;
    min-width: 345px;
    height: 2px;
    background-color: #606060;
    margin: 20px 0px;
}



.text-content{
    flex-direction: column;
}

.sub-title{
    margin-bottom: 10px;
}

.main-title{
    font-size: 48px;
    font-weight: 600;
    margin: 20px;
    color: #F0F0F0;
}

.main-content{
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 5rem;
    color: #F0F0F0;
}


section {
    padding: 0px;
}

.section-1{
    background-image:url('custom-images/1-texture.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height:100vh;
}

.section-1 .pc-div .center-img{
    position: relative;
    text-align: center;
}

.section-1 .pc-div .center-img img{
    position: relative;
    height: 100vh;
}


.section-1 .pc-div .text-div{
    position: absolute;
    left: 50%;
    bottom: 9.5%;
    transform: translateX(44%);
}

.section-1 .pc-div .reserv-jump-btn{
    font-size: 26px;
    float: right;
    padding: 14px 50px;
}

.section-1 .mobile-div {
    padding-top: 70px;
}

.section-1 .mobile-div .top-img img{
    height: calc(100vh - 200px);
}

.section-1 .mobile-div .text-div{
    position: absolute;
    right: 50%;
    bottom: 16%;
    transform: translateX(50%);
    width: 100%;
}

.section-1 .mobile-div .reserv-jump-btn{
    margin-top: 2rem;
    font-size: 6vw;
    transform: translateX(33%);
}

.section-2{
    background: #002D41;
}


.section-2 .row-control{
    display: flex;
}

.section-2 .tag-wrapper{
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(255,255,255,0) 100%);
    position: absolute;
    bottom: 6%;
    left: 0px;
    width: 346px;
    height: 44px;
}

.section-2 .tag-wrapper p{
    position: relative;
    font-size: 22px;
    margin: 0px;
    color: #fff;
    font-weight: 600;
}



.section-2 .text-content{
}

.section-2 .sub-title{
}

.section-2 .main-title{
}

.section-2 .main-content{
}


.section-3{
    padding: 70px 0;
    background-image: url('custom-images/3-texture.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-3 .row-wrapper{
    max-width: 86%;
    margin: auto;
}

.section-3 .row-control{
    display: flex;
}

.section-3 .tag-wrapper{
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(255,255,255,0) 100%);
    position: absolute;
    bottom: 6%;
    left: 0px;
    width: 346px;
    height: 44px;
}

.section-3 .tag-wrapper p{
    position: relative;
    font-size: 22px;
    margin: 0px;
    color: #fff;
    font-weight: 600;
}

.sample-house-section{
    padding: 70px 0;
    background-image: url('custom-images/samplehouse-texture.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.sample-house-section .row-wrapper{
    max-width: 86%;
    margin: auto;
}

.sample-house-section .row-control{
    display: flex;
}

.section-4 .text-div-blur{
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    width: 45vw;
    height: 100%;
    backdrop-filter: blur(8px);
    background-color: #000000b5;
    margin-right: 15px;
}

.section-4 .text-div-blur .portfolio-des{
    width:100%;
    max-width: 100%;
    padding-top: 0px;
    padding-left: 15px;
}

.section-4 .tag-wrapper{
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(255,255,255,0) 100%);
    position: absolute;
    top: 6%;
    left: 0px;
    width: 346px;
    height: 44px;
}

.section-4 .tag-wrapper p{
    position: relative;
    font-size: 22px;
    margin: 0px;
    color: #fff;
    font-weight: 600;
}

.section-4 .owl-page-h .owl-controls{
    z-index: 2;
}

.furniture-section{
    padding: 70px 0;
    background-image:url('custom-images/furniture-texture.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.furniture-section .main-content{
    margin-bottom:0;
    padding:10px 50px;
}

.furniture-section .row-control{
    margin-bottom: 50px;
}

.furniture-section .text-content{
    flex-direction: row;
}

.furniture-section .slider-div #home-brand-slider:before{
    content: "";
    position: absolute;
    left:0;
    top:0;
    width: 100px;
    height: 100%;
    background-color: transparent;
    backdrop-filter: blur(15px);
    z-index: 1;
}

.furniture-section .slider-div #home-brand-slider:after{
    content: "";
    position: absolute;
    right:0;
    top:0;
    width: 100px;
    height: 100%;
    background-color: transparent;
    backdrop-filter: blur(15px);
    z-index: 1;
}

.furniture-section .background-item{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 70vmin;
}

.furniture-section .slider-wrapper{
    margin-bottom: 40px;
}

.furniture-section .owl-controls{
    right: 200px;
}

.furniture-section .tag-wrapper{
    background: transparent;
    position: absolute;
    top: unset;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 85px;
    backdrop-filter: blur(15px);
    opacity: 1;
    transition: all .5s ease;
}

.furniture-section .tag-wrapper p{
    position: relative;
    font-size: 22px;
    margin: 0px;
    color: #fff;
    font-weight: 600;
    opacity: 1;
    transition: all .3s ease;
}

.furniture-section .owl-item:not(.active) .tag-wrapper{
    opacity: 0;
}

.furniture-section .owl-item:not(.active) .tag-wrapper:before{
    opacity: 0;
}

.furniture-section .owl-item:not(.active) .tag-wrapper p{
    opacity: 0;
}




.section-5{
    padding: 70px 0;
    background-image:url('custom-images/5-texture.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.section-5 .row-control{
    margin-bottom: 70px;
}

.section-5 .text-content{
    flex-direction: row;
}

.section-5 .text-content .right{
    padding-left: 70px;
}

.section-5 .slider-div #home-brand-slider:before{
    content: "";
    position: absolute;
    left:0;
    top:0;
    width: 100px;
    height: 100%;
    background-color: transparent;
    backdrop-filter: blur(15px);
    z-index: 1;
}

.section-5 .slider-div #home-brand-slider:after{
    content: "";
    position: absolute;
    right:0;
    top:0;
    width: 100px;
    height: 100%;
    background-color: transparent;
    backdrop-filter: blur(15px);
    z-index: 1;
}

.section-5 .background-item{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 70vmin;
}

.section-5 .owl-controls{
    right: 200px !important;
}

.section-5 .owl-controls .owl-dots{
    right: calc(50% - 200px)!important;
}

.section-5 .tag-wrapper{
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 100%;
    backdrop-filter: blur(15px);
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    opacity: 1;
    transition: all .5s ease;
}

.section-5 .tag-wrapper p{
    position: relative;
    font-size: 28px;
    margin: 0px;
    color: #fff;
    font-weight: 600;
    opacity: 1;
    transition: all .3s ease;
}

.section-5 .tag-wrapper:before{
    content: "";
    width: 1px;
    height: calc(30%);
    margin-bottom: 20px;
    background-color: white;
    opacity: 1;
    transition: all .3s ease;
}

.section-5 .owl-item:not(.active) .tag-wrapper{
    opacity: 0;
}

.section-5 .owl-item:not(.active) .tag-wrapper:before{
    opacity: 0;
}

.section-5 .owl-item:not(.active) .tag-wrapper p{
    opacity: 0;
}

.section-6{
    padding: 70px 0;
    background-image:url('custom-images/6-texture.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.section-6 .row-control{
    max-width: 70%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.section-6 .row-control .left{
    padding-right: 50px;
}


.section-6 .row-control .right{
    padding-left: 50px;
}

.reservation-section{
    padding: 100px;
    background-image: url('custom-images/7-texture.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.reservation-section .boxed{
    max-width: 800px;
}

.reservation-section .reservation-title{
    color: #fff;
    font-size: 48px;
    font-weight: 600;
}

.reservation-section form .contact-input{
    border: 1px solid #fff;
    line-height: 44px;
    margin-bottom: 30px;
    padding-left: 22px;
}

.reservation-section form input,
.reservation-section form textarea{
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

.reservation-section form .btn-contact {
    margin-top: 10px;
    padding: 7px 80px;
    font-size: 24px;
}

.reservation-section .message{
    width: 100%;
    font-size: 18px;
    text-align: center;
    margin: 10px 0px;
    padding: 5px;
} 

.reservation-section .message.success{
    color: #4D4D4D;
    background-color: #EAD6C0;
} 

.reservation-section .message.danger{
    color: white;
    background-color: red;
} 

.send-loading-div{
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    background-color: transparent;
}

footer.dark {
    background: #000000;
}

.footer-home-1 .copyright {
    padding: 0px;
    float: none;
    text-align: center;
    color: #EAEAEA;
    font-size: 12px;
    font-weight: 600;
}

.owl-controls-dot-with-nav .owl-controls{
    position: absolute;
    top: unset;
    right: 0px;
    bottom: 0px;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}


.owl-controls-dot-with-nav .owl-controls .owl-dots {
    display: flex;
    flex-direction: row;
    position: absolute;
    right: 50%;
    transform: translateX(50%);
}

.owl-controls-dot-with-nav .owl-controls .owl-dot {
    border: 6px solid #aaaaaa;
    background-color: #f0f0f0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-bottom: 0px;
    margin-right: 20px;
}

.owl-controls-dot-with-nav .owl-controls .owl-dot:last-child {
    margin-right: 0px;
}

.owl-controls-dot-with-nav .owl-controls .owl-dot.active {
    border-color: white;
    background: #606060;
}

.owl-controls-dot-with-nav .owl-controls .owl-dot::before {
    right: 45px;
    top: -12px;
}

.owl-controls-dot-with-nav .owl-controls .owl-dot:after {
    background: #EAD6C0;
}


.owl-controls .owl-nav{
    display: flex;
}

.owl-controls .owl-nav .owl-prev,
.owl-controls .owl-nav .owl-next{
    display: flex;
    align-items: center;
    justify-content: center;
    width:70px;
    height:70px;
    background: #000;
    color:#fff;
    font-size: 26px;
}

.owl-controls .owl-nav .owl-prev{
    background: #017c8e;
}

.owl-controls .owl-nav .owl-next{
    background: #014558;
}


.owl-page-h .owl-controls{
    right: unset;
    left: 4%;
    top: 40%;
}

.owl-page-h .owl-controls .owl-dot {
    width: 20px;
    height: 20px;
    background: #f0f0f0;
    border: 6px solid #aaaaaa;
}

.owl-page-h .owl-controls .owl-dot:before{
    content: "";
    display: none;
}

.owl-page-h .owl-controls .owl-dot:after{
    content: "";
    display: none;
}

.owl-page-h .owl-controls .owl-dot.active {
    border-color: #ffffff;
    background: #606060;
    margin-bottom: 30px;
}

/*樣品屋區塊的輪播圖的控制項要特別設定*/
.sample-house-section .owl-controls {
    position: absolute;
    top: 50%;
    right: 60px;
    z-index: 2;
    transform: translate(0px, -50%);
}

.sample-house-section .owl-controls .owl-dot {
    border: 6px solid #aaaaaa;
    background-color: #f0f0f0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-bottom: 30px;
}

.sample-house-section .owl-controls .owl-dot.active {
    border-color: white;
    background: #606060;
}

.sample-house-section .owl-controls .owl-dot::before {
    right: 45px;
    top: -12px;
}

.sample-house-section .owl-controls .owl-dot:after {
    background: #EAD6C0;
}

/*輪播圖的圓點控制項[統一位於下方的設置]*/
.owl-control-bottom .owl-controls {
    position: absolute;
    top: unset;
    left: 50%;
    right:unset;
    bottom: -55px;
    z-index: 2;
    transform: translate(-45%, 0%);
    width: fit-content;
}

.owl-control-bottom .owl-controls .owl-dots {
    display: flex;
    flex-direction: row;
}

.owl-control-bottom .owl-controls .owl-dot {
    border: 6px solid #aaaaaa;
    background-color: #f0f0f0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-bottom: 0px;
    margin-right: 20px;
}

.owl-control-bottom .owl-controls .owl-dot.active {
    border-color: white;
    background: #606060;
}

.owl-control-bottom .owl-controls .owl-dot::before {
    right: 45px;
    top: -12px;
}

.owl-control-bottom .owl-controls .owl-dot:after {
    background: #EAD6C0;
}


.lds-dual-ring {
  display: inline-block;
  width: 80px;
  height: 80px;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}



.fixbtt {
    background-color: #002D41;
}

@media (max-width: 1700px) {
    .section-5 .text-div-blur{
        padding-left: 10vw;
    }
}

@media (max-width: 1500px) {
    
}

@media (max-width: 1366px) {
    .sub-title{
        margin-bottom: 30px;
    }
    
    .main-title{
        font-size: 44px;
    }
    
    .main-content{
        font-size: 20px;
        line-height: 4rem;
    }
    
    .section-7 .text-div-blur {
        padding-left: 100px;
    }
    
    
    .portfolio-des{
        padding-right: 0px;
        padding-left: 15px;
    }
    
}

@media (max-width: 1200px){
    .section-2 .row-control{
        flex-direction: column;
    }
    
    .section-2 .slider-div{
        order: 2;
    }
    
    .section-2 .text-div{
        order: 1;
    }
    
    .section-2 .text-content{
        padding-left: 15px;
        margin: 70px 0;
    }
    
    .section-3 .row-control{
        flex-direction: column;
    }
    
    .section-3 .text-div{
        margin-bottom: 30px;
    }
    
    .sample-house-section .row-control{
        flex-direction: column;
    }
    
    .sample-house-section .text-div{
        margin-bottom: 30px;
    }
}

@media (max-width: 1100px){
    .section-5 .text-content {
        flex-direction: column;
    }
    
    .section-5 .text-content .right {
        padding-left: 0px;
        text-align: center;
    }
}

@media (max-width: 992px) {
    
    .section-1 .pc-div .center-img {
        
    }
    
    .reservation-section .boxed {
        max-width: 680px;
    }

}

@media only screen and (max-width: 991px){
    
    .main-title{
        font-size: 40px;
    }
    
    .main-content{
        font-size: 18px;
    }
    
    .section-1 .pc-div .center-img img {
        height: 83vh;
    }
    
    .section-1 .pc-div .text-div {
        bottom: 24.5%;
    }
    
    .section-2 .tag-wrapper p{
        font-size: 18px;
    }
    
    .section-3 .tag-wrapper p{
        font-size: 18px;
    }
    
    .section-4 .portfolio-h1-item img {
        padding: 0;
    }
    
    .section-4 .text-div-blur,
    .section-4 #building-discover-slider{
        position: relative;
        width: 100%;
        backdrop-filter: unset;
        background-image: url('custom-images/3-texture.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    .section-4 .text-div-blur .portfolio-des {
        padding-top: 70px;
    }
    
    .section-4 .owl-portfolio-h1{
        display: flex;
        flex-direction: column;
    }
    
    .section-4 .owl-portfolio-h1 .owl-stage-outer{
        order: 2;
    }
    
    .section-4 .owl-portfolio-h1 .text-div-blur {
        order: 1;
    }
    
    .section-5 .slider-div #home-brand-slider:before{
        display: none;
    }

    .section-5 .slider-div #home-brand-slider:after{
        display: none;
    }
    
    .section-5 .tag-wrapper {
        left: 15px;
    }
    
    .section-5 .owl-controls{
        right: 15px !important;
    }

    .section-5 .owl-controls .owl-dots{
        right: calc(50% - 15px)!important;
    }
    
    .section-6 .row-control {
        max-width: 92%;
        flex-direction: column;
    }
    
    .section-6 .row-control .left{
        padding: 0px;
        margin-bottom:50px;
    }
    
    .section-6 .row-control .right{
        padding: 0px;
    }
    
    .sample-house-section .owl-controls {
        top: unset;
        right: unset;
        left: 50%;
        bottom: 15px;
        transform: translate(-50%, 0%);
    }
    
    .sample-house-section .owl-controls .owl-dot{
        display: inline-block;
        margin: 0px;
        margin-right: 15px;
    }
    
    .sample-house-section .owl-controls .owl-dot:last-child{
        margin-right: 0px;
    }
    
    

    
    .portfolio-h1-item img {
        padding: 0px;
    }
    
    .owl-page-h .owl-controls {
        position: absolute;
        top: unset;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 0px;
        width: 100%;
    }
    
    .owl-page-h .owl-controls .owl-dot{
        margin: 8px;
    }
    
    .owl-page-h .owl-controls .owl-dot.active {
        margin: 8px;
        margin-bottom: 8px;
    }
    
    .owl-page-h .owl-controls .owl-dot:last-of-type.active {
        margin: 8px;
    }
    
}

@media (max-width: 460px) {
    
    .main-content{
        font-size: 16px;
    }
    
    .section-2 .slider-div{
        margin-bottom: 50px;
    }
    
    .section-4 #building-discover-slider{
        padding-bottom: 50px;
    }

    .section-4 .tag-wrapper{
        width: 160px;
        height: 30px;
    }

    .section-4 .tag-wrapper p{
        font-size: 16px;
    }
    
    .section-4 .text-div-blur .portfolio-des{
        padding-left: 0px;
    }
    
    .section-6 .sub-title{
        font-size: 26px;
        margin-bottom: 45px;
    }

    .section-6 .main-title{
        font-size: 50px;
    }

    .section-6 .main-content{
        font-size: 16px;
    }
    
    .section-6 .text-div-blur .portfolio-des {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .section-7 .inner-background {
        display: none;
    }
    
    .section-7 .img-box img {
        height: auto;
        width: 100%;
    }
    
    .section-7 .text-div-blur {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .section-7 .text-div-blur .portfolio-des {
        padding: 0px 24px;
    }
    
    .section-7 .main-content.part-1 {
        padding: 18px;
        font-size: 16px;
    }
    
    .section-7 .main-content.part-2 .words {
        font-size: 17px;
    }
    
    .owl-controls-dot-with-nav .owl-controls {
        bottom: -24px;
    }
    
    .owl-controls .owl-nav{
        display: none;
    }
    
    .owl-page-h .owl-controls {
        /*display: none;*/
    }
    
    .sample-house-section .owl-controls {
        bottom: -50px;
        transform: translate(-46%, 0%);
        width: 240px;
    }
    
    
    .furniture-section .main-content{
        padding:10px 30px;
    }
    
    .furniture-section .slider-wrapper{
        margin-bottom: 0px;
    }
    
    .furniture-section .tag-wrapper{
        height: 50px;
    }
    
    .owl-control-bottom .owl-controls{
        /*display:none;*/
        bottom: -37px;
    }

}

@media (max-width: 360px) {
    .section-1 .mobile-div .top-img img{
        max-width: 100vw;
    }
}
