.LAPP_inquiry_floating{
    position:fixed;
    right:5px;
    top: 20%;
}
.LAPP_inquiry_floating a{
    text-decoration:none;
}
.LAPP_inquiry_floating div{
    position: relative;
    display:block;
    width: 7em;
    height: 7em;
    border-radius:5px;
    border: 1px solid #ccc;
    text-align: center;
}

.LAPP_inquiry_floating i {
    display: block;
    font-size:4.5em;
}
.LAPP_inquiry_floating em{
    position:absolute;
    left:-0.8em;
    top:-0.8em;
    width:2em;height:2em;
    line-height:2em;
    border-radius:999em;
    background-color:#ec452e;
    color:#fff;
}



/* 1. 分頁最外層容器：確保水平置中與清除浮動 */
.Lweb_pagination {
    clear: both !important;         /* 強制清除上方圖片的浮動，讓分頁獨立在最下方 */
    width: 100% !important;         /* 寬度撐滿，確保能置中 */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 18px !important;           /* 還原極簡風的舒適寬鬆間距 */
    margin: 50px 0 30px 0 !important; /* 增加上下間距 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    user-select: none !important;
}

/* 2. 所有分頁元素（連結與當前頁面）的純淨基礎樣式 */
.Lweb_pagination a,
.Lweb_pagination .page_num {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 16px !important;
    color: #334e68 !important;          /* 質感深藍灰 */
    font-weight: 500 !important;
    text-decoration: none !important;
    padding: 4px 6px !important;
    background: none !important;         /* 徹底拔除任何背景 */
    border: none !important;             /* 預設無邊框 */
    border-bottom: 2px solid transparent !important; /* 預留底部空間，防止加底線時畫面跳動 */
    transition: color 0.2s ease, border-color 0.2s ease !important;
    cursor: pointer !important;
}

/* 3. 箭頭符號的文字垂直與大小微調 */
.Lweb_pagination a span[class$="_text"] {
    font-size: 18px !important;
    line-height: 1 !important;
}

/* 4. 滑鼠移上去時的效果 (Hover)：底線同步亮起 */
.Lweb_pagination a:hover {
    color: #1982c4 !important;          /* 懸停時變藍 */
    border-bottom: 2px solid #1982c4 !important; /* 懸停時貼心顯示藍色底線 */
    text-decoration: none !important;
}

/* 5. 當前選中所在頁面的樣式 (Active) - 加上專屬底線 */
.Lweb_pagination .page_num.is_active {
    color: #102a43 !important;          /* 當前頁碼變深色 */
    font-weight: 700 !important;         /* 加粗 */
    background: none !important;
    border: none !important;             /* 拿掉其他方向邊框 */
    border-bottom: 2px solid #102a43 !important; /* 【核心修正】為選中的頁碼加上深色精密底線 */
    cursor: default !important;
}

/* 6. 手機版 RWD 自動優化 */
@media (max-width: 576px) {
    .Lweb_pagination {
        gap: 12px !important;            /* 手機版微調窄間距，防止換行 */
        margin: 30px 0 20px 0 !important;
    }
    .Lweb_pagination a,
    .Lweb_pagination .page_num {
        font-size: 15px !important;
        padding: 4px 2px !important;
    }
    /* 手機版隱藏最前與最後的雙箭頭(«、»)，畫面最乾淨 */
    .Lweb_pagination .page_first,
    .Lweb_pagination .page_last {
        display: none !important;
    }
}
