﻿@font-face {
    font-family: "SweiSpring TC";
    src: url("../fonts/SweiSpringCJKtc-Regular.woff2") format("woff2");
    font-weight: 400; /* 正常标准字体 */
    font-style: normal;
    font-display: swap;
}
/* :root {
    font-size: 16px;
} */

:root {
    /* font-size: 16px; */
    /* 格式 --自定义名: 值; */
    --text-3xl: 6rem;
    --text-2xl: 3.2rem;
    --text-1xl: 1.8rem;
    --text-tips: 1.6rem;
    --text-tix: 1.7rem;

  }

.let_spa  {
    letter-spacing: 5px;
  }
.tel-time-info a {
    background: url(../images/home_icon.png) no-repeat center left / contain;
    padding-left: 40px;
    padding-right: 20px;
    margin-top: 10px;
}
/* 自定义标题class：swei_title，强制字体优先 */
.swei_title {
    font-family: "SweiSpring TC", serif !important;
    /* 标题用粗体700 */
    /* font-weight: 700 !important;  */
}
/* 头部轮播图 */
.home-overlay{
    border: none;
}
.home-bg-img{
    border: none;
    height: 800px;
    position: absolute;
}
.home .navi-logo{
    top: 3rem;
}
.home .main-navi{
    top: 5rem;
}
.home-info{
    top: 400px;
}
.home-bg-wrap {
    height: 800px;
}
.home-info section{
    margin-bottom: 30px;
}

/* 共用底色模塊 */
.bg-beige {
    background: #EFECE7;
    padding: 30px 0;
}

.border-top-line {
    border-top: 1px solid #999;
}

/* ========== 第一模塊：安心服務指南（左文字+雙圖輪播） ========== */
.section-guide {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.guide-text-block {
    width: 30%;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-weight: bolder;
}

.guide-en {
    margin: 0;
    font-size: 16px;
    letter-spacing: 2px;
    color: #222;
}

.guide-title {
    font-size: 72px;
    font-weight: bold;
    line-height: 1.1;
    margin: 12px 0 40px;
}

.guide-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Swiper容器 */
.swiper-guide {
    width: 70%;
    height: 600px;
    position: relative;
    overflow: hidden;
}
.swiper-guide .swiper-slide {
    width: 50% !important;
    height: 100%;
    position: relative;
}
.swiper-guide .swiper-wrapper {
    gap: 0 !important;
}

.slide-num {
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 100px;
    color: #fff;
    opacity: 0.7;
    pointer-events: none;
    z-index: 3;
}

.slide-mask {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.25;
    transition: 3s;
    z-index: 2;
}

.slide-card:hover .slide-mask {
    opacity: 0;
}

.slide-info {
    position: absolute;
    bottom: 40px;
    left: 30px;
    z-index: 4;
}

.slide-btn-box {
    border: 1px solid #fff;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 230px;
    justify-content: center;
}

.slide-arrow-icon {
    width: 35px;
    height: 35px;
    transform: rotate(90deg);
}

.slide-subtitle {
    font-size: 26px;
    color: #fff;
}

.slide-tip {
    color: #fff;
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.5;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 3s;
}

/* 常顯箭頭樣式 */
.swiper-guide .swiper-button-prev,
.swiper-guide .swiper-button-next {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    /* background: #fff; */
}

.swiper-guide .swiper-button-prev {
    left: 30px;
    background-image: url("../images/b_y.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(180deg);
}

.swiper-guide .swiper-button-next {
    right: 30px;
    background-image: url("../images/b_y.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.swiper-guide .swiper-button-next::after,
.swiper-guide .swiper-button-prev::after {
    display: none;
}

/* ========== 分隔文字區塊 ========== */
.section-apartment-title {
    padding: 70px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.apart-text-wrap {
    max-width: 70%;
    letter-spacing: 2px;
}

.apart-main-title {
    font-size: 42px;
    font-weight: bold;
    margin: 0 0 16px;
    line-height: 1.3;
}

.apart-desc {
    font-size: 20px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.apart-tag {
    background: #000;
    color: #fff;
    padding: 8px 22px;
    font-size: 15px;
    white-space: nowrap;
}

/* ===================== 原生jQuery跑馬燈核心樣式 ===================== */
.marquee-wrap {
    width: 100%;
    height: 800px;
    position: relative;
    overflow: hidden;
    padding: 0 0 40px;
}
/* 左右箭頭按鈕 */
.marquee-prev,
.marquee-next {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    /* background: rgba(0, 0, 0, 0.4); */
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
    cursor: pointer;
}
.marquee-prev {
    left: 30px;
    background-image: url("../images/h_y.png");
    transform: translateY(-50%) rotate(180deg);
}
.marquee-next {
    right: 30px;
    background-image: url("../images/h_y.png");
}

.marquee-outer {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.marquee-track {
    display: flex;
    gap: 30px;
    height: 100%;
    will-change: transform; /* 硬件加速，防卡顿 */
}
.marquee-item {
    flex: 0 0 32%;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}
.room-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
    /* filter: brightness(0.85); */
}
/* 單張圖片hover高亮放大 */
/* .marquee-item:hover .room-slide-img {
    transform: scale(1.06);
    filter: brightness(1);
} */
/* 回到顶部按钮 */
.back-top {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 70px;
    height: auto;
}
.back-top.show {
    opacity: 1;
    visibility: visible;
}
.back-top img {
    width: 100% !important;
    height: auto;
    display: block;
}
.back-top:hover img {
    transform: scale(1.08);
    transition: transform 0.25s ease;
}
/* 新增头部视频容器（单视频、不轮播） */
.home-bg-video {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    display: none; /* 默认隐藏，有视频自动显示，或后台手动控制 */
}
.home-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* 存在视频时显示视频，隐藏图片轮播 */
.home-bg-video:has(video) {
    display: block;
}
.home-bg-video:has(video) ~ .home-bg-img {
    display: none;
}

/* 原有全部头部样式保持原样，无需修改 */
.home-overlay{
    border: none;
}
.home-bg-img{
    border: none;
}
.home .navi-logo{
    top: 3rem;
}
.home .main-navi{
    top: 5rem;
}
.home-info{
    top: 400px;
}
.home-bg-wrap {
    height: 800px;
    position: relative;
}
.home-bg-img li {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.home-bg-img li.active {
    opacity: 1;
    z-index: 1;
}
.home-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.25);
    z-index: 2;
}
.home-bg-wrap.about{
    background-color: none;
    border: none;
}
.about-title-bg{
    height: 500px !important;
    margin: 0 !important;
}
#confine-page-title,#news-page-title{
    display: none;
}
#activity-page{
    border:none;
}
.footer-logo,.footer-info{
    height: 250px;
}
.footer-list .btn{
    position: relative;
    background-color: #EFECE7;
    width: 180px;
    display: block;
    color: #000;
    font-size: 14px;
    line-height: 30px;
    font-weight: 300;
    box-sizing: border-box;
    border-radius: 0px;
    border: 1px solid #000;
    font-weight: bolder;
}

/* 隐藏部分 */
.breadcrumb{
    background-color: #fff !important;
}
.breadcrumb.bg-act{
    background-color: #fff !important;
}
#about-page,#quality-page{
    border: unset !important;
    background-color: #fff !important;
}
#activity-page{
    background-color: #fff !important;
}
.news-act-title-bg{
    background-image: unset;
}
.title-bg{
    background-image: unset;
}
.about-bg{
    background-image: unset;
    border: unset !important;
    background-color: #fff !important;
}
.team-top-title {
    text-align: center;
    font-size: 32px;
    color: #91704F;
    margin: 40px 0 35px;
    letter-spacing: 3px;
    font-weight: 500;
}
.xitt{
    display: none;
}
.word-item{
    /* font-size: var(--text-2xl); */
}
/* ========== 手機自適應 ========== */
@media screen and (max-width:992px) {
    :root {
        /* font-size: 16px; */
        /* 格式 --自定义名: 值; */
        --text-3xl: 5.5rem;
        --text-2xl: 4rem;
        --text-1xl: 3rem;
        --text-tips: 3rem;
        --text-tix: 2.8rem;
    }
    .news-list-item dt{
        font-size: 25px !important;
    }
    .color_st{
        color: #404040 !important;
    }
    .slide-arrow-icon {
        width: 40px;
        height: 40px;
        transform: rotate(90deg);
    }
    #sp-navi-btn {
        top: 1rem !important;
    }
    .xitt{
        display: block;
        /* width: 90%;
        border-top: 1px solid #999;
        margin: 0 auto; */
        margin-top: 40px;
    }
    .nav-pills>li>a {
        font-size: 36px;
        border-radius: 50px;
    }
    .team-top-title{
        font-size: 45px;
    }
    .news-list-item dt{
        max-width: 200px;
        white-space: nowrap; /* 強制不換行 */
        overflow: hidden;    /* 超出隱藏 */
    }
    .news-list-item dd{
        padding-left: 200px;
    }
    .slide-btn-box{
        width: 290px;
    }
    .home-bg-wrap {
        height: 65vh;
    }
    .section-wrap-web{
        padding: 0 !important;
    }
    .room-beige{
        background-color: #fff !important;
    }
    .home-info {
        top: 42vh;
    }
    .home-info .row{
        margin-left: 40px !important;
    }
    .back-top {
        display: none !important;
    }
    .section-guide {
        flex-direction: column;
        padding: 0;
    }
    .guide-text-block{
        display: none;
    }
    .guide-text-block, .swiper-guide {
        width: 100% !important;
        height: 40vh;
    }
    .guide-title {
        font-size: 42px;
    }
    .swiper-guide .swiper-slide {
        width: 60% !important;
    }

    .marquee-wrap {
        height: 1000px;
    }
    .marquee-item {
        flex: 0 0 80%;
    }
    .marquee-track {
        gap: 30px;
    }

    .apart-text-wrap {
        max-width: 100%;
    }
    
    .section-apartment-title {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .apart-tag{
        background: #000;
        color: #fff;
        padding: 8px 22px;
        font-size: 25px;
        white-space: nowrap;
        margin-top: 70px;
    }
    .apart-desc{
        font-size: 30px;
    }
}