*{
    box-sizing: border-box;
    position: relative;
    font-family: 'Noto Serif TC', 'Noto Serif', 'Shippori Mincsho', serif;
    text-shadow: 0 5px 8px rgba(0,0,0,0.3);
    color: #333333;
    letter-spacing: 2px;
}
main{
    justify-content: center; /* 水平置中 */

}
#home {
  min-height: 100vh; /* 高度至少一個螢幕 */
}
section{
    height: auto;
    background: #FAF7F2;
    /* overflow: hidden; */
}
.mask-dark .container{
    flex-direction: column;
    min-height: 100vh;

}
.container{
    display: flex;
    flex:1;
    max-width: 1370px;
    animation: justin 1s;
    padding: 0 60px;
    }
    /* ––––––section top */
    .container.containerTOP{
        flex-direction: column;
        min-height: 100vh;
        padding: 0 30px;
        padding-top: 100px;
        justify-content: space-between;
    }
.dai{
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.mask-dark{
	background-color: rgba(210, 210, 210, 0.408);
    max-height: 100vh;
}
/* –––––––––––––––––––––––––––––––––––––––––––nav */
.place{
    text-align: center;
    display: flex;       
    position: fixed;
    justify-content: center; 
    align-items: center;

    width: 100%;
    height: 80px;
    max-width: 1370px;
    border-radius: 0px 0px 100px 100px;
    padding: 10px 20px;
    padding-left: 50px;
    background-color: #005892;
    z-index: 100;
    box-shadow: 0 10px 15px rgba(0,0,0,0.44);
}
    nav li{
        list-style: none;

    }   
.home img{
    width: 70px;
    height: 70px;
    animation: justin 1s;

}
/* –––––––––––––––––––––––––––––––––––––------banner-t */
.banner-t{
    font-size: 20px;
    color: #FDFBF7;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    margin: 0 17px;
    padding-bottom: 5px;
    text-shadow: 0 12px 6px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}
    #zhongzheng a[href="#zhongzheng"],
    #wanhua a[href="#wanhua"],
    #daan a[href="#daan"],
    #datong a[href="#datong"],
    #shilin a[href="#shilin"]{
        color: #ffdd01;
    }
    .banner-t:hover{
        color: #ffdd01;
    }
/* –––––––––––––––––––––––––––––––––––––owl-carousel---- */

#home .owl-carousel {
  top: 0;
  left: 0;
  max-width: 1370px;
  height: 100vh; /* 視窗高度 */
  z-index: 0; /* 最底層 */
}
main .owl-carousel .owl-stage-outer{
    height: 100%;
}
/* –––––––––––––––––––––––––– */
    .owl-theme .owl-nav {
        margin-top: 0;
        position: absolute;
        left: 0;
        width: 100%;
        top: 50%;
        transform: translate(0,-50%);
    }
    .owl-carousel button.owl-prev:hover,
    .owl-carousel button.owl-next:hover {
        background: none !important;  /* hover 不要背景 */
    }
    .owl-theme .owl-nav [class*='fa-'] {
        transition: all 0.3s; /* 常態就有 */
    }      
        /* 箭頭基礎樣式 */
    .arrow {
    display: inline-block;
    width: 40px;   /* 控制箭頭大小 */
    height: 40px;
    border-top: 2px solid #FAF7F2;  /* 線條顏色 + 粗細 */
    border-right: 2px solid #FAF7F2;
    border-radius: 4px;
    }/* 左箭頭 */
        .arrow-left {
        transform: rotate(-135deg);
        transition: all 0.3s;
        box-shadow: 5.984375px -6.981769561767578px 8px rgb(71, 70, 70,1);

        }
        /* 右箭頭 */
        .arrow-right {
        transform: rotate(45deg);
        transition: all 0.3s;
        box-shadow: 7.984375px -6.981769561767578px 8px rgba(71, 70, 70, 1);
        }
    .owl-carousel .owl-nav button.owl-prev{
        float: left;
        transform: translate(-100%,0);
    }
    .owl-carousel .owl-nav button.owl-next{
        float: right;
        transform: translate(100%,0);

    }
    .owl-theme .owl-nav [class*='owl-']:hover [class*='arrow-left']{
        transform: scale(1.3)rotate(-135deg)  ;   
    }
    .owl-theme .owl-nav [class*='owl-']:hover [class*='arrow-right']{
        transform: scale(1.3)rotate(45deg) ;   

    }
    .fa-solid{
        font-size: 30px;
        font-weight: 300;
    }   
    
    /* –––––––––––––––––––––––––– */
    .owl-carousel .owl-dots{
        transform: translate(0,140%);
    }
    .owl-carousel .owl-dots button.owl-dot.active span {
        background-color:#c4a300;
        
    }
    .owl-theme .owl-dots .owl-dot span {
        height: 6px;
        border: 1px solid #c4a300;
    }
    .owl-carousel .item {
        position: relative;
        width: 100%;
        /* padding-top: 66.66%; */
        padding-top: 73.66%;
        overflow: hidden;
        max-height: 100vh;
    }
    .containerTOP .owl-carousel .item{
        padding-top: 66.66%;

    }
    main .owl-carousel .item{
        min-height: 100vh;
    }
    .owl-carousel .item img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;  /* 照片填滿容器，裁切多餘部分 */
    }

    .owl-carousel{
        animation: justin 1.5s ;
        }
    .fa-fw{
        width: 1em;
        text-align: center;
    }
    button .fa-solid{
        color: #5e0000;
    }


/* ––––––––––––––––––––––––––––––––––––––––HOME–––––– */

.logo{
    display: flex;
    justify-content: center; /* 水平置中 */
    position: absolute;
    width: 100%;
    background-image: url(./首jpg/logoBlue.png);
    
}
.word{
    font-size: 20px;
    font-weight: 700;
    color: #005892;
    letter-spacing: 3px;
    /* top: 150px; */
    /* position: absolute; */
    text-align: center;
    width: 100%;
    height: 30px;
    display: block;
    text-shadow: 15px 0px 17px #ffffff;
    
}


.language{
    position: absolute;
    right: 5px;
    width: 12%;
    display: flex;
    height: 100%;
    align-items: center;
    transition: all 0.3s ease;  /* 這裡加 */

}
    .lang-tw,.lang-en{
        margin: 0 8px;
        background-color: #c4a300;
        padding: 5px 12px;
        border-radius: 50px;
        font-size: 15px;
        color: rgb(255, 255, 255);
        transition: all 0.3s ease;
        letter-spacing: 2px;
        box-shadow: 6px 5px 15px rgba(182, 181, 181, 0.37);
        width: 60px;
    }
    .lang-en:hover,.lang-tw:hover{
        background-color: #a98d03;
        box-shadow: inset 3px 3px 3px rgba(0,0,0,0.5),
              inset -6px -6px 6px rgba(255,255,255,0.3);
        /* padding: 6px 8px;    */
    }
    .fa-earth-europe,.fa-phone,fa-bars{
        font-size: 25px;
        color:#FDFBF7;
        margin: 0 5px;
        text-shadow: 6px 5px 15px rgba(182, 181, 181, 0.7);
        width: 1.5em;
        }
        .fa-phone{
            font-size: 24px;
        }
    /* –––––––––––––––––––––––––––––––––––––––------觸發 */
    .dropdown 
    {
        list-style: none;
        display: inline-block;  /* 保留原本 */
        }
        .dropdown-toggle {
        text-decoration: none;
        display: block;
        cursor: pointer;

    }
    /* –––––––––––––––––––––––––––––––––觸發後選單 */

    .dropdown-menu {
        position: absolute;
        list-style: none;
        top: -15%;
        left: 100%;
        z-index: 1000;
        box-shadow: none;
        flex-direction: row;       /* 預設橫向 */
        pointer-events: none;   
        opacity: 0;             /* 隱藏 */
        transition: all 0.3s ease;  /* 這裡加 */
        }

        /* 點擊後才顯示 */
        .dropdown.hover .dropdown-menu {
        max-height: 200px;   /* 展開高度 */
        opacity: 1;          /* 顯示 */
        pointer-events: auto;
        }
        .language:has(.dropdown.hover) {
            width: 20%;
}

    .dropdown-menu li a {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
    }


    ul {
    display: flex;            
    justify-content: center;  
    align-items: center;      
    list-style: none;    
    position: absolute;
    /* top: 0; */
    }


/* ––––––––––––––––––––––––––––––––––––––––section */
/* –––––––––––––––––––––––––––––––––開頭 */
h1,h2,p{
    max-width: 1370px;
    text-align: center;
}
h2{
    margin: 40px auto;
    color: #004878;
    letter-spacing: 4px;
    height: auto;
    line-height: 80px;
    /* border-bottom: 2px solid #0e0162; */
    box-shadow: 0 16px 15px rgba(67, 67, 67, 0.474);  
    text-shadow: 0 10px 10px rgba(0,0,0,0.3);    
    background-color: #FAF7F2;
}
h1,p{
    height:auto;
    font-size: 20px;
    line-height: 30px ;
    padding-bottom: 20px;
}
#home .owl .owl-stage-outer{
    border-radius: 0%;
}
.owl .owl-stage-outer{
    border-radius: 8%;
}
.col-2{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    animation: justin 1s ;
    margin: 0px 10px;
    height: 90%;
}
    .placeT{
        text-align: end;
        padding-bottom: 0;
        padding-right: 10px;
        line-height: 55px;
        margin-bottom: 10px;
        top: 0;

        color: #004878;
        letter-spacing: 3px;
        font-weight: 500;
        font-size: 35px;
        }
    .content{
        height: auto;
        width: 100%;
        text-align: left;
        margin-top: 20px;
        margin-left: 60px;
        border-left: 2px solid #004878;
        line-height: 30px;
        padding: 0 0 0 13px;
        }
        .metro{
            border: none;
            text-align: center;
            padding: 0;
            margin: 0;
            margin-bottom: 10px;
        }
        .mainword,.content{
            text-shadow: -1px 2px 5px rgb(255, 255, 255);
            font-weight: 500;
        }
        .fa-location-dot,.fa-train-subway{
            color: #5e0000;
            margin-right: 8px;
            font-size: 23px;
            text-shadow: 0 5px 8px rgb(190, 190, 190);

        }
        .fa-location-dot{
            color: #004878;
            font-size: 20px;
        }


.order1{
    order: 1;
    }.order2{
        order:2;
    }

.sticky{
    position: sticky;
    top: 87%;
    z-index: 100;
    width: 35%;

    background-color: #fffdfa;
    border-radius: 0px 100px 100px 0px;
    border-left: 4px solid #004878;
    box-shadow: 4px 8px 16px rgba(50, 42, 71, 0.31);
}
    /* ––––––––––––––––––––––––––––––––設備／優點 */
/* .ratio .ratio-img{
    background-size: contain;
} */
.advantage-c{
    height: 100vh;
    max-width: 100vw;
    }   .advantage{
    width: 100%;
    height: 100%;
    padding-bottom: 20px;
    }   
    .advantage li{
        list-style: none;
        background-color: #F8F5F0;
        border: 3px solid #127703;
        border-radius: 30px;
        font-size: 23px;
        font-weight: 600;
        color: #771c03;
        box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.35);
        text-shadow: 0 5px 8px rgba(205, 205, 205, 1);

        text-align: center;
        line-height: 45px;
        height: 50px;
        width: 33%;
        margin: 23px 0;
    }
    h3{
        text-align: center;
        line-height: 30px;
        padding-top: 40px;
        letter-spacing: 3px;font-size: 20px;
}

    .photo-wrap1,.photo-wrap2{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 60px;
        width: 100%;
        padding: 0 70px;
        text-align: center;

        }
        .wrap1{
            margin: 30px;
        }
        .wrap1 img,.wrap2 img{
            border-radius: 30%;
            border: 4px solid #7A8C6D;
            padding: 13px;
            background-color: #faf7f29b;
            box-shadow: -6px 5px 23px rgba(0, 0, 0, 0.3);
            width: auto;
            height: 80px;
            z-index: 1;

        }
        .wrap1 p,.wrap2 p{
            letter-spacing: 2px;
            padding: 0;
            margin: 10px 0;
            font-weight: 500;
            font-size: 16px;
        }.wrap1 .prohibit{
            font-size: 35px ;
            transform: translate(30%,-195%);
        }
/* ––––––––––––––––––––––––––––––––––––––房型*/
.fa-house{
    font-size: 35px;
    color: #005892;
}
.introduce{
    padding: 0 20px;
}
p:has(.fa-angles-down){
    padding: 0;
}
.paint{
    width: 77%;
    height: 100px;
    margin: 0 auto;
    background-image: url(photo/158210066_10578814.png);
    background-position: center;
    background-size: cover;
}   
.card{
    padding: 65px 25px;
    background-color: white;
    box-shadow: -8px 10px 33px rgba(50, 42, 71, 1);
    border-radius: 10px;
    margin: 30px 0;
    height: 540px;
    }
.col{
    height: 450px;
    justify-content: space-around;
}
    .mainword.count{
        text-align: left;
        width: 80%;
        font-size: 24px;
        border: 2px solid #5e0000;
        color: #5e0000;
        border-radius: 100px;
        padding: 15px 30px;
        margin-bottom: 20px;
        box-shadow: 2px 7px 0px rgb(118, 77, 77);
        background-color: #faf7f2b6;
    }
    .wrap2,.container .wrap1{
        text-align: left;
        width: 80%;
        display: flex;
        margin: 0;
        }
        .wrap2{
            margin-bottom: 10px;
        }
        .wrap2 img,.container .wrap1 img{
            width: auto;
            height: 75px;
            padding: 12px;
            border: 4px solid #939393;
        }
        .prohibit{
            position: absolute;
            color: #b80000;
            transform: translate(110%,100%);
            text-shadow: none;
            background-color: #FAF7F2;
            border-radius: 100%;
            padding: 5px;
            z-index: 2;
        }
        .container .wrap1 img{
            border: 4px solid #7A8C6D;
        }
        .wrap2 p,.container .wrap1 p{
            font-size: 18px;
            line-height: 75px;
            padding: 0 15px;
            margin: 0;
        }
.more .fa-solid{
    font-size: 18px;
    color: #FAF7F2;
    margin: 0 5px;
    }
    .more{
        color: #FAF7F2;
        line-height: 20px;
        font-weight: 500;
        background-color: #327daf;
        border-radius: 10px;
        padding: 8px;
        margin-top: 35px;

    }
    a:has(.more){
        width: 90%;
        text-align: end;
    

}
    /* ––––––––––––––––––––––––––––––––注意/footer */
.con-no{
    display: block;
    max-width: 100vw;
    max-height: 100vh;
    padding: 0 20px;
    height: auto;
    overflow: hidden;
    }
    .notice{
        height: 140px;
        line-height: 0px;
        margin-top: 40px;
    }
    .notice-p,.con-no p{
        font-size: 16px;
    }
    .fa-triangle-exclamation{
        font-size: 50px;
        line-height: 105px;
    }
    .fa-broom,.fa-ban-smoking{
        position: absolute;
        font-size: 140px;
        color: #ffffff00;
        text-shadow: 0 5px 8px rgba(83, 83, 83, 0.326);
    }.fa-broom{
        top: 0;
        right: 25%;
    }.fa-ban-smoking{
        top: 35%;
        left: 20%;

    }
footer{
    /* display: flex;
    flex: 1;
    height: 300px;
    width: 100%; */
    background-color: #FAF7F2;
    z-index: 101;
}
/* ––––––––––––––––––––––––––––––––裝飾img */
.diamond{
    width: 460px;
    height: 500px;
    border: 4px solid #6d632338;
    position: absolute;
    transform:translate(20%,50%) rotate(66deg);
    z-index: 0;
    left: 0;
    border-radius: 50%;
    animation: justin 1s;
    }
    .d2{
        height: 450px;
        width: 490px;
        left: auto;
        right: 0;
        border-radius: 40%;
        transform:translate(-20%,50%) rotate(10deg);
    }.d3{
        transform:translate(-50%,40%) rotate(66deg);
        border-radius: 46%;
    }.d4{
        border-radius: 50%;
        height: 600px;
        width: 490px;
        transform:translate(50%,20%) rotate(10deg);
        left: auto;
        right: 0;

    }
.imgsize{
    width: auto;
    position: absolute;
    opacity: 0.2;
    height: 500px;
    bottom: 0;
    }.leaf{
        left: 0;
    }.leaf1{
        right: 0;
        top: 0;
        height: 400px;
        width: 500px;
        object-fit: cover;
        object-position: bottom;
    }.flower{
        right: 35%;
        height: 500px;
        top: 0;
    }.blueleaf{
        left: 0;
    }.vase{
        left: 0;
        width: 300px;
        object-fit: cover;
        object-position: right;
    }.leaf3{
        right: 0;
        top: 0;
    }
    .daizi-l{
        left: 0;
        height: 900px;
        transform: translate(0,50%);
    }
    .daizi-r{
        right: 0;
        transform: translate(0%,90%);
    }
/* –––––––––––––––––––––––––––––––––––––hamburger––– */
/* 隱藏漢堡按鈕 */
.hamburger.hide,.hamburger,.nav {
    opacity: 0;
    pointer-events: none;
    }
    /* nav 全屏覆蓋 */
    .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9); /* 半透明黑色 */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1500;
    }
    .nav.show {
    opacity: 1;
    pointer-events: auto;
    }
    .nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0; /* 這行很重要，清除預設 margin */
    display: flex;
    height: 100%; /* 讓 flex 有高度參考 */
    }
    .nav li{
        margin: 10px 0;
    }
/* ––––––––––––––––––––––––––––––––––––––––R W D */

@media screen and (max-width: 1180px) {
/* ––––––––––––––––––––––––––conta. col */
.place .banner-t{
    display: none;
    }
    .place{
        border-radius: 0;
}

  /* 漢堡按鈕淡入淡出 */
.hamburger {
    position: fixed;
    left: 25px;
    z-index: 2000;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
    }.nav .banner-t{
        display: block;
        padding: 20px;
    }
    
.container{
    flex-direction: column;
    }.order1{
        order: 2;
    }.order2{
        order: 1;
    }.col{
        height: auto;
    }

 .container{
        max-height: none;
    }
    .col-2{
        width: 70%;
        margin: 20px 0;
    }
    .card{
        height: auto;
        margin: 50px 0;
        padding: 0;
        background-color: none;
        border-radius: 8%;
    }
    #home .owl-stage-outer{
        border-radius: 0%;

    }
    .owl-stage-outer{
        border-radius: 8%;

    }
/* –––––––––––––––––––––––advantage */
.advantage li{
    width: 50%;
}
/* ––––––––––––––––––––––––––––––––裝飾img */
.flower{
    top: -10%;  
    height: 800px;
    right: 0;
}.blueleaf{
    left: 0;
}

.card{
    background-color: #00487800;
    box-shadow: none;
}
    .card .owl-carousel{
        box-shadow: -8px 10px 33px rgba(50, 42, 71, 1);
        border-radius: 8%;

    }
    .more{
        margin-top: 35px;

    }
}


@media screen and (max-width: 930px) {

.language:has(.dropdown.hover){
    /* position: absolute;
    right: 40px; */
    width: 14%;
    }
    .dropdown-menu{
        flex-direction:column;  
        transform: translate(-90%,30px);
    }
    .lang-en,.lang-tw{
        margin: 8px 0 ;
    }
    /* .language:has(.dropdown.hover) {
            width: auto;
    } */
    .d1,.d3{
        display: none;
        }
    .photo-wrap1,.photo-wrap2{
        width: 100%;
    }
}



@media screen and (max-width: 600px) {
/*–––––––––––––––––––––––––– home */
.banner-t{
    font-weight: 500;
}
.out-ratio.out-ratio-20 {
    width: 50%;
}
.word{
    font-size: 18px;
}
/*–––––––––––––––––––––––––– section */
.topmask{
        font-size: 24px;
        line-height: 45px;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    .placeT{
        font-size: 24px;
        line-height: 45px;
        margin: 0;
    }.mainword{
    font-size: 16px;
    letter-spacing: 0;
    font-weight: 500;
    }.mainword.count{
        font-size: 20px;
    }
.d4{
    transform: translate(45%,0%) rotate(10deg)
}
.owl-theme .owl-nav {
    display: none;
}
.col-2{
    width: 100%;
}
h2{
    font-size: 24px;
    line-height: 50px;
    margin: 20px auto;
    }h3{
        font-size: 15px;
        flex-wrap: wrap;
        padding: 0 25px;
        padding-top: 40px;
        font-weight: 500;
}.heart{
    width: 75%;
    margin: 0 auto;
}
.photo-wrap1{
    padding: 10px;
    }.wrap1{
        margin: 15px;
    }.wrap1 img{
        width: 80px;
        height: 80px;
        border: none;
    }.wrap2 img{
        height: 50px;
        padding: 10px;
        border: none;
    }.wrap1 .prohibit,.prohibit{
        font-size: 18px;
    }.wrap1 .prohibit{
        transform: translate(40%,-285%);
    }.wrap2 p{
        line-height: 50px;
        font-size: 15px;
    }.wrap2 .prohibit{
        transform: translate(100%,110%);
    }
    .wrap2{
        margin: 10px 0;
        width: 100%;
}
.imgsize.daizi-l{
    height: 550px;
    transform: translate(0,0);
    top: 0;
}
    .imgsize.daizi-r{
        top: 50%;
    }
    .imgsize{
        height: 300px;
    }
.vase,.leaf{
    display: none;
}
p{
    font-size: 15px;
}
.advantage li{
    font-size: 16px;
    width: 90%;
    height: 36px;
    line-height: 33px;
    border: 1.5px solid #127703;
}
.fa-house{
    font-size: 24px;
}
.mainword.count{
    padding: 5px 20px;
    border: none;
    width: auto;
}

.container{
    padding: 0 30px;
    }
    .card{
        margin: 20px;
    }.col{
        height: 300px;
    }
.notice-p{
    line-height: 30px;
}
    .fa-broom,.fa-ban-smoking{
        display: none;
    }
/* ––––––––––––––––– */
.sticky{
    top: 90%;
    width: 80%;
}.content.sticky{
    margin-left: 30px;
}
/* .back-to-top{
    bottom: auto;
    top: 85px;
    right: 20px;
} */





}