/*---------------- n ----------------*/

.n01 {
    position: absolute;
    left: 13.90%;
    top: 12.69%;
    width: 16.16%;
    z-index: 2;
}

.n02 {
    position: absolute;
    left: 33.74%;
    top: 14.90%;
    width: 18%;
    z-index: 2;
}

.n03 {
    position: absolute;
    left: 55.35%;
    top: 14.90%;
    width: 18%;
    z-index: 2;
}

.n04 {
    position: absolute;
    left: 76.80%;
    top: 14.90%;
    width: 18%;
    z-index: 2;
}

.n05 {
    position: absolute;
    left: 14.63%;
    top: 57.23%;
    width: 14.59%;
    z-index: 2;
}

.n06 {
    position: absolute;
    left: 33.36%;
    top: 58.57%;
    width: 18.72%;
    z-index: 2;
}

.n07 {
    position: absolute;
    left: 56.79%;
    top: 54.87%;
    width: 14.58%;
    z-index: 2;
}

.n08 {
    position: absolute;
    left: 76.80%;
    top: 57.05%;
    width: 18%;
    z-index: 2;
}

.n01t {
    position: absolute;
    left: 19%;
    top: 44%;
    z-index: 3;
    font-size: 1.4vw;
    font-weight: 600;
    color: #000;
}

.n02t {
    position: absolute;
    left: 38%;
    top: 44%;
    z-index: 3;
    font-size: 1.4vw;
    font-weight: 600;
    color: #000;
}

.n03t {
    position: absolute;
    left: 58%;
    top: 44%;
    z-index: 3;
    font-size: 1.4vw;
    font-weight: 600;
    color: #000;
}

.n04t {
    position: absolute;
    left: 79%;
    top: 44%;
    z-index: 3;
    font-size: 1.4vw;
    font-weight: 600;
    color: #000;
}

.n05t {
    position: absolute;
    left: 17.6%;
    top: 85%;
    z-index: 3;
    font-size: 1.4vw;
    font-weight: 600;
    color: #000;
}

.n06t {
    position: absolute;
    left: 36.8%;
    top: 85%;
    z-index: 3;
    font-size: 1.4vw;
    font-weight: 600;
    color: #000;
}

.n07t {
    position: absolute;
    left: 59%;
    top: 85%;
    z-index: 3;
    font-size: 1.4vw;
    font-weight: 600;
    color: #000;
}

.n08t {
    position: absolute;
    left: 80.8%;
    top: 85%;
    z-index: 3;
    font-size: 1.4vw;
    font-weight: 600;
    color: #000;
}

/*---------------- m ----------------*/

.m01 {
    position: absolute;
    left: 12.95%;
    top: 1.8%;
    width: 50.88%;
    z-index: 1;
}

.m01t {
    position: absolute;
    left: 14%;
    top: 3.5%;
    width: 31%;
    z-index: 3;
}

.m02 {
    position: absolute;
    left: 12.99%;
    bottom: 1.7%;
    width: 16.40%;
    z-index: 2;
}

.m03 {
    position: absolute;
    left: 30.23%;
    bottom: 1.7%;
    width: 16.36%;
    z-index: 3;
}

.m04 {
    position: absolute;
    left: 47.47%;
    bottom: 1.7%;
    width: 16.40%;
    z-index: 4;
}

.m05 {
    position: absolute;
    left: 68.72%;
    top: 15.58%;
    z-index: 2;
    font-size: 2.5vw;
    font-weight: 700;
    color: #000;
}

.m06 {
    position: absolute;
    left: 68.72%;
    top: 22%;
    z-index: 2;
    font-size: 1.9vw;
    font-weight: 400;
    color: #000;
    line-height: 2.3vw;
}

.m06num {
    font-size: 3vw;
    font-weight: 500;
    color: #000;
    line-height: 2.3vw;
}

/*---------------- 平面配置圖 ----------------*/

.floor-tilte {
    font-size: 4.61vw;
    font-weight: 700;
    color: #315668;
    text-align: center;
    margin-bottom: 3vw;
}

/* 平面配置圖外觀美化 */
.floor-plan-container {
    background-color: #f8f9fa;
    padding: 6vw 2vw;
}

/* 導覽按鈕美化 */
.custom-pills .nav-link {
    background-color: #ffffff;
    color: #495057;
    border: 1px solid #e9ecef;
    border-radius: 0;
    font-weight: 600;
    padding: 12px 24px;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    /* 手機橫向滾動時文字不換行 */
}

/* 讓手機版與桌機版的按鈕間距自適應 */
@media (max-width: 767.98px) {
    .custom-pills {
        gap: 8px;
        width: 100%;
    }

    .custom-pills .nav-link {
        padding: 8px 16px;
        flex: 1;
        /* 手機版按鈕平均分配空間或可滑動 */
    }
}

@media (min-width: 768px) {
    .custom-pills {
        gap: 12px;
        min-width: 140px;
    }
}

/* 點擊啟動 (Active) 狀態 */
.custom-pills .nav-link.active {
    background-color: #ca9e61;
    /* 可根據品牌主色調整 */
    color: #ffffff;
    border-color: #ca9e61;

    transform: translateY(-1px);
}

/* 懸停狀態 */
.custom-pills .nav-link:hover:not(.active) {
    background-color: #e9ecef;
    color: #212529;
}

/* 圖片外框卡片美化 */
.floor-img-card {
    background: #ffffff;
    padding: 16px;
    border-radius: 0;
    border: 0 solid #e9ecef;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.floor-img-card img {
    max-height: 800px;
    object-fit: contain;
    border-radius: 8px;
}

.notek {
    font-size: 1.2vw;
    color: #666;
    text-align: right;
    margin-top: 1vw;
}

/*---------------- l ----------------*/

.lbg {
    width: 100%;
}

.l01 {
    position: absolute;
    left: 0.00%;
    top: 0%;
    width: 11.29%;
    z-index: 1;
}

.l02 {
    position: absolute;
    right: 0%;
    top: 8.92%;
    width: 53.25%;
    z-index: 2;
}

.l03 {
    position: absolute;
    left: 46.73%;
    top: 74.80%;
    width: 12.26%;
    z-index: 3;
}

.l04 {
    position: absolute;
    left: 59.93%;
    top: 74.80%;
    width: 12.26%;
    z-index: 3;
}

.l05 {
    position: absolute;
    left: 73.09%;
    top: 74.80%;
    width: 12.26%;
    z-index: 3;
}

.l06 {
    position: absolute;
    left: 86.31%;
    top: 74.80%;
    width: 12.26%;
    z-index: 3;
}

.l07 {
    position: absolute;
    left: 16.11%;
    top: 15.96%;
    z-index: 2;
    font-size: 2.5vw;
    font-weight: 700;
    color: #000;
}

.l08 {
    position: absolute;
    left: 16.11%;
    top: 23%;
    z-index: 2;
    font-size: 1.9vw;
    font-weight: 600;
    color: #000;
    line-height: 2.3vw;
}

.l09 {
    position: absolute;
    left: 16.11%;
    top: 35.88%;
    width: 27%;
    z-index: 2;
    font-size: 1.3vw;
    font-weight: 500;
    color: #000;
    line-height: 2.2vw;
}

/*---------------- k ----------------*/

.k01 {
    width: 100%;
}

/*---------------- j ----------------*/

.j01 {
    width: 100%;
}

.j02 {
    position: absolute;
    left: 0%;
    bottom: 0%;
    width: 100%;
    z-index: 5;
}

.j03 {
    position: absolute;
    left: 36.13%;
    top: 14.78%;
    width: 27.43%;
    z-index: 1;
}

.j04 {
    position: absolute;
    left: 20.71%;
    top: 29.85%;
    width: 44.13%;
    z-index: 2;
}

.j05 {
    position: absolute;
    left: 65.58%;
    top: 28.58%;
    width: 15.23%;
    z-index: 4;
}

.j06 {
    position: absolute;
    left: 47.49%;
    top: 27.03%;
    width: 8.47%;
    z-index: 3;
}

/* 設定 a04 圖片以中心旋轉，並設定每隔2秒重複一次 */
.j05 {
    transform-origin: center center;
    animation-name: rotateSlowFastSlowLoop;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
    /* 保持由慢變快、再變慢的緩動效果 */
    animation-iteration-count: infinite;
    /* 無限重複 */
    animation-fill-mode: forwards;
}

/* 定義循環的關鍵影格：前 10 秒（12秒中的 83.33%）旋轉 5 圈，後 2 秒保持靜止 */
@keyframes rotateSlowFastSlowLoop {

    /* 0% ~ 83.33% (相當於 12 秒中的前 10 秒)：執行由慢變快再變慢的 5 圈旋轉 */
    0% {
        transform: rotate(0deg);
    }

    83.33% {
        transform: rotate(1800deg);
        /* 5 圈 = 360 * 5 */
    }

    /* 83.33% ~ 100% (相當於 12 秒中的最後 2 秒)：停在 1800 度不動，作為間隔 */
    100% {
        transform: rotate(1800deg);
    }
}

/*---------------- i ----------------*/

.i01 {
    width: 100%;
}

.i02 {
    position: absolute;
    left: 0%;
    top: 23.96%;
    width: 100%;
    z-index: 2;
}

.i03 {
    position: absolute;
    left: 0%;
    top: 6.5%;
    width: 100%;
    z-index: 2;
    font-size: 4.61vw;
    font-weight: 700;
    color: #ca9e61;
    text-align: center;
}

.i04 {
    position: absolute;
    left: 0%;
    top: 10%;
    width: 100%;
    z-index: 2;
    font-size: 2.7vw;
    font-weight: 500;
    color: #fff;
    line-height: 5vw;
    text-align: center;
}

.decoi {
    position: absolute;
    left: 9%;
    top: 11.8%;
    width: 82%;
    z-index: 1;
}

.i05 {
    position: absolute;
    left: 0%;
    top: 79.5%;
    width: 100%;
    z-index: 2;
    font-size: 1.94vw;
    font-weight: 500;
    color: #fff;
    line-height: 3.6vw;
    text-align: center;
}

.notei {
    position: absolute;
    left: 1%;
    top: 72.5%;
    z-index: 5;
    font-size: 1.2vw;
    text-shadow: 0 0 10px #000;
    color: #fff;
}

.notej {
    position: absolute;
    left: 1%;
    top: 97%;
    z-index: 5;
    font-size: 1.2vw;
    text-shadow: 0 0 10px #000;
    color: #fff;
}

/*---------------- h ----------------*/

.hbg {
    width: 100%;
}

.h02 {
    position: absolute;
    left: 18.44%;
    top: 4.20%;
    width: 63.67%;
    z-index: 1;
}

.h03 {
    position: absolute;
    left: 0%;
    top: 60.5%;
    width: 100%;
    z-index: 2;
    font-size: 4.61vw;
    font-weight: 700;
    color: #315668;
    text-align: center;
}

.h04 {
    position: absolute;
    left: 0%;
    top: 63.91%;
    width: 100%;
    z-index: 2;
    font-size: 2.7vw;
    font-weight: 700;
    color: #585657;
    line-height: 5vw;
    text-align: center;
}

.decoh {
    position: absolute;
    left: 8.8%;
    top: 65.5%;
    width: 82%;
    z-index: 1;
}

.h05 {
    position: absolute;
    left: 0%;
    top: 74.32%;
    width: 100%;
    z-index: 2;
    font-size: 1.94vw;
    font-weight: 500;
    color: #585657;
    line-height: 3.6vw;
    text-align: center;
}

.noteh {
    position: absolute;
    left: 19%;
    top: 53.5%;
    z-index: 5;
    font-size: 1.2vw;
    color: #666;
}

.himgzoom {
    position: absolute;
    right: 19%;
    top: 53%;
    z-index: 5;
    font-size: 1.2vw;
    color: #74b1d1;
}

/*---------------- g ----------------*/

.g01 {
    width: 100%;
}

/*---------------- f ----------------*/

.f01 {
    width: 100%;
}

.f02 {
    position: absolute;
    left: 0%;
    top: 23.96%;
    width: 100%;
    z-index: 2;
}

.f03 {
    position: absolute;
    left: 0%;
    top: 6.5%;
    width: 100%;
    z-index: 2;
    font-size: 4.61vw;
    font-weight: 700;
    color: #ca9e61;
    text-align: center;
}

.f04 {
    position: absolute;
    left: 0%;
    top: 10%;
    width: 100%;
    z-index: 2;
    font-size: 2.7vw;
    font-weight: 500;
    color: #fff;
    line-height: 5vw;
    text-align: center;
}

.decof {
    position: absolute;
    left: 5.8%;
    top: 11.8%;
    width: 88.5%;
    z-index: 1;
}

.f05 {
    position: absolute;
    left: 0%;
    top: 76%;
    width: 100%;
    z-index: 2;
    font-size: 1.94vw;
    font-weight: 500;
    color: #fff;
    line-height: 3.6vw;
    text-align: center;
}

/*---------------- e ----------------*/

.e03 {
    position: absolute;
    left: 77.24%;
    top: 18.62%;
    width: 20.68%;
    z-index: 1;
}

/*---------------- d ----------------*/

.d01 {
    width: 100%;
}

.d02 {
    position: absolute;
    left: 62.43%;
    top: 18.88%;
    width: 30.87%;
    z-index: 1;
}

/*---------------- c ----------------*/

.cbg {
    width: 100%;
}

.c01 {
    position: absolute;
    left: 0%;
    top: 0%;
    width: 74.6%;
    z-index: 1;
}

.c02 {
    position: absolute;
    right: 0%;
    bottom: 0%;
    width: 24.70%;
    z-index: 2;
}

.c03 {
    position: absolute;
    left: 79.85%;
    top: 19.27%;
    width: 15.06%;
    z-index: 3;
}

/*---------------- b ----------------*/

.b01 {
    width: 100%;
}

.b02 {
    position: absolute;
    left: 0%;
    top: 23.96%;
    width: 100%;
    z-index: 2;
}

.b03 {
    position: absolute;
    left: 0%;
    top: 6.5%;
    width: 100%;
    z-index: 2;
    font-size: 4.61vw;
    font-weight: 700;
    color: #ca9e61;
    text-align: center;
}

.b04 {
    position: absolute;
    left: 0%;
    top: 10%;
    width: 100%;
    z-index: 2;
    font-size: 2.7vw;
    font-weight: 500;
    color: #fff;
    line-height: 5vw;
    text-align: center;
}

.decob {
    position: absolute;
    left: 9.5%;
    top: 11.6%;
    width: 81%;
    z-index: 1;
}

.b05 {
    position: absolute;
    left: 0%;
    top: 76%;
    width: 100%;
    z-index: 2;
    font-size: 1.94vw;
    font-weight: 500;
    color: #fff;
    line-height: 4.5vw;
    text-align: center;
}

/*---------------- a ----------------*/

.a01 {
    width: 100%;
}

.a02 {
    position: absolute;
    left: 36.38%;
    top: 8.64%;
    width: 27.27%;
    z-index: 2;
}

.a03 {
    position: absolute;
    left: 21.32%;
    top: 16.09%;
    width: 43.34%;
    z-index: 2;
}

.a04 {
    position: absolute;
    left: 65.56%;
    top: 15.44%;
    width: 15.00%;
    z-index: 2;
}

.a05 {
    position: absolute;
    left: 47.72%;
    top: 14.67%;
    width: 8.35%;
    z-index: 2;
}

.a06 {
    position: absolute;
    left: 8.79%;
    top: 69.31%;
    width: 38.52%;
    z-index: 2;
}

.a07 {
    position: absolute;
    left: 49.94%;
    top: 68.21%;
    width: 42.07%;
    z-index: 2;
}

.a08 {
    position: absolute;
    left: 30.20%;
    top: 84.60%;
    width: 40.74%;
    z-index: 2;
}

.a09 {
    position: absolute;
    left: 36.55%;
    top: 89.35%;
    width: 27.50%;
    z-index: 2;
}

/* 設定 a04 圖片以中心旋轉，並設定每隔2秒重複一次 */
.a04 {
    transform-origin: center center;
    animation-name: rotateSlowFastSlowLoop;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
    /* 保持由慢變快、再變慢的緩動效果 */
    animation-iteration-count: infinite;
    /* 無限重複 */
    animation-fill-mode: forwards;
}

/* 定義循環的關鍵影格：前 10 秒（12秒中的 83.33%）旋轉 5 圈，後 2 秒保持靜止 */
@keyframes rotateSlowFastSlowLoop {

    /* 0% ~ 83.33% (相當於 12 秒中的前 10 秒)：執行由慢變快再變慢的 5 圈旋轉 */
    0% {
        transform: rotate(0deg);
    }

    83.33% {
        transform: rotate(1800deg);
        /* 5 圈 = 360 * 5 */
    }

    /* 83.33% ~ 100% (相當於 12 秒中的最後 2 秒)：停在 1800 度不動，作為間隔 */
    100% {
        transform: rotate(1800deg);
    }
}

/*---------------- 網頁寬度 ----------------*/

/* 核心滿版定位區塊 */
.img-layer-container {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow-y: hidden;
}

.PageWidth {
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    overflow: hidden;
}

/*平板橫式*/
@media (orientation: landscape) and (min-width: 576px) and (max-width: 1366px) {
    .PageWidth {
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
        overflow: hidden;
    }
}

/*平板直式*/
@media (orientation: portrait) and (min-width: 576px) and (max-width: 1366px) {
    .PageWidth {
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
        overflow: hidden;
    }
}

/*手機直式*/
@media only screen and (max-width: 576px) {
    .PageWidth {
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
        overflow: hidden;
    }
}

/*---------------- 網頁字型 ----------------*/

body,
button,
input,
select,
textarea,
div,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Helvetica Neue", Helvetica, Arial, "微軟正黑體", "メイリオ", "맑은 고딕", sans-serif !important;
}

.hay {
    font-family: 'Noto Sans TC', sans-serif;
}

.eng {
    font-family: 'Noto Sans', sans-serif;
}

a:link.one {
    color: #aaa !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    -webkit-transition: all 0.3s !important;
    -moz-transition: all 0.3s !important;
}

a:visited.one {
    color: #aaa !important;
    text-decoration: none !important;
}

a:hover.one {
    color: #ffe282 !important;
    text-decoration: none !important;
}

.TextBlock {
    white-space: nowrap;
    display: inline-block;
}


/*---------------- AOS animation ----------------*/

.blurhere {
    filter: blur(20px);
    opacity: 0;
    transform: translateX(0);
    overflow: hidden;
}

.blurLtoR {
    filter: blur(20px);
    opacity: 0;
    transform: translateX(-100px);
    overflow: hidden;
}

.blurRtoL {
    filter: blur(20px);
    opacity: 0;
    transform: translateX(100px);
    overflow: hidden;
}

.blurUtoD {
    filter: blur(20px);
    opacity: 0;
    transform: translatey(-100px);
    overflow: hidden;
}

.blurDtoU {
    filter: blur(20px);
    opacity: 0;
    transform: translate(0, 100px);
    overflow: hidden;
}

.blurIn {
    filter: blur(20px);
    opacity: 0;
    transform: scale(0.6);
    overflow: hidden;
}

.blurOut {
    filter: blur(20px);
    opacity: 0;
    transform: scale(1.5);
    overflow: hidden;
}

/* 當 AOS 啟動 (進入畫面) 時，自動加上 .aos-animate */
[data-aos="blur"].aos-animate {
    filter: blur(0);
    opacity: 1;
    transform: translate(0);
    overflow: hidden;
}

.zoomOut {
    opacity: 0;
    transform: scale(2.5);
    overflow: hidden;
}

.zoomIn {
    opacity: 0;
    transform: scale(0.3);
    overflow: hidden;
}

/* 當 AOS 啟動 (進入畫面) 時，自動加上 .aos-animate */
[data-aos="zoom"].aos-animate {
    opacity: 1;
    transform: translate(0);
    overflow: hidden;
}

.bounce {
    opacity: 0;
    transform: scale(0.3);
    overflow: hidden;
}

[data-aos="bounce"].aos-animate {
    opacity: 1;
    animation: aosBounce 0.8s ease forwards;
    overflow: hidden;
}

/* 彈跳關鍵幀 (Keyframes) */
@keyframes aosBounce {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
        /* 放大回彈 */
    }

    70% {
        transform: scale(0.9);
        /* 微幅縮小 */
    }

    100% {
        opacity: 1;
        transform: scale(1);
        /* 定格在正常大小 */
    }
}

/*---------- 回到上方 ----------*/

.back-to-top {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 999 !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0) !important;
    transition: background-color 0.2s;
    transition: background 0.3s, transform 0.3s;
}

.back-to-top::after {
    content: '' !important;
    width: 12px !important;
    height: 12px !important;
    border-top: 3px solid #ffffff !important;
    border-left: 3px solid #ffffff !important;
    transform: rotate(45deg) !important;
    margin-top: 4px !important;
    display: block !important;
}

.back-to-top:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 66px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
    }

    .back-to-top::after {
        width: 10px !important;
        height: 10px !important;
        border-top: 2.5px solid #ffffff !important;
        border-left: 2.5px solid #ffffff !important;
    }
}

/* ==========================================================================
   1. 核心與預設樣式（電腦版：右側垂直置中圓形）
   ========================================================================== */
.floating-buttons {
    position: fixed;
    right: 20px;
    /* 靠右距離 */
    top: 50%;
    transform: translateY(-50%);
    /* 垂直居中核心 */
    display: flex;
    flex-direction: column;
    /* 垂直排列 */
    gap: 10px;
    /* 按鈕間距 10px */
    z-index: 9999;
    /* 確保按鈕在最上層 */
}

.float-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* 圓形造型 */
    background-color: #007bff;
    /* 預設藍色，可自行修改 */
    color: #ffffff;
    text-decoration: none;
    font-size: 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
}

/* 按鈕各自的顏色（可自由調整） */
.btn-phone {
    background-color: #76abdd;
}

/* 客服綠色 */
.btn-map {
    background-color: #ae68a6;
}

/* 地館紫色 */
.btn-reserve {
    background-color: #f6d171;
    color: #876400;
    /* 底色較亮，字體使用深色提升辨識度 */
}

/* 地圖紅色 */

/* 電腦版隱藏原本的文字標籤，改用偽元素做懸浮特效 */
.float-btn .btn-text {
    display: none;
}

/* 電腦版滑過特效：放大與陰影加深 */
.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* 電腦版：游標移過去浮現文字 */
.float-btn::after {
    content: attr(data-text);
    /* 讀取 HTML 的 data-text 屬性 */
    position: absolute;
    right: 75px;
    /* 浮現在按鈕左側 */
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    /* 防止干擾滑鼠事件 */
}

.float-btn:hover::after {
    opacity: 1;
    visibility: visible;
}


/* ==========================================================================
   2. 行動版樣式（螢幕寬度 768px 以下：下側水平置中長方形）
   ========================================================================== */
@media (max-width: 768px) {
    .floating-buttons {
        right: 0;
        top: auto;
        bottom: 0;
        /* 靠下距離 */
        transform: translateY(0);
        /* 水平居中核心 */
        flex-direction: row;
        /* 切換為水平排列 */
        gap: 0;
        /* 按鈕間距 */
        width: 100%;
        /* 滿版寬度扣除左右留白 */

    }

    .float-btn {
        flex: 1;
        /* 均分空間 */
        width: auto;
        height: 48px;
        /* 高度適合手機點擊 */
        border-radius: 0px;
        /* 造型改為圓角長方形 */
        font-size: 15px;
        gap: 0;
        /* 因為隱藏圖示，不需要額外間距 */
        padding: 0 4px;
        justify-content: center;
    }

    /* 手機版：隱藏所有浮動按鈕的圖示（i 標籤），只保留文字 */
    .float-btn i {
        display: none !important;
    }

    /* 行動版：顯示內嵌文字，並隱藏電腦版的懸浮偽元素 */
    .float-btn .btn-text {
        display: inline-block;
        font-weight: 500;
    }

    .float-btn::after {
        display: none !important;
        /* 關閉滑過浮現特效 */
    }

    .float-btn:hover {
        transform: none;
        /* 移除手機端不必要的放大特效 */
    }

    .btnmargin {
        margin-bottom: 90px;
    }
}

/*---------- swiper ----------*/

.swiper-button-prev,
.swiper-button-next {
    color: #fff !important;
    width: 4% !important;
}

.swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    border-radius: 100 !important;
    margin: 4px !important;
    background: rgba(0, 0, 0, 1) !important;
}

.swiper-pagination-bullet-active {
    color: #fff !important;
    background: #fff !important;
}

/*---------- 語法樣板 ----------*/

/*平板橫式
@media (orientation: landscape) and (min-width: 576px) and (max-width: 1366px) {
}

平板直式
@media (orientation: portrait) and (min-width: 576px) and (max-width: 1366px) {
}

手機直式
@media only screen and (max-width: 576px) {
}

.sample code01 {
    width: 100%;
}

.sample code02 {
    position: absolute;
    z-index: 5;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.sample code03 {
    margin-top: 14.5%;
    width: 70%;
}*/