:root {
    --banner-ratio-624: calc(100vw * (752 / 624)); /* 預設比例 */
    --banner-ratio-1024: calc(100vw * (584 / 1024));
    --banner-ratio-1440: calc(100vw * (720 / 1440));
    --banner-ratio-1280: calc(100vw * (656 / 1280));
    --banner-ratio-1920: calc(100vw * (711 / 1920));


    --color-444444: #444444;
    --color-E77F7F: #E77F7F;
    --color-FDEDE5: #FDEDE5;
    --color-F09D0E: #F09D0E;
    --color-BF7315: #BF7315;
    --color-46AD7B: #46AD7B;
    --color-FFE933: #FFE933;
    --color-F98D6C: #F98D6C;
    --color-FFF4E6: #FFF4E6;
    --color-FFEFCB: #FFEFCB;
    --color-BF7315: #BF7315;
    --color-FFCB32: #FFCB32;
    --color-FFE4C7: #FFE4C7;
    --color-FAC775: #FAC775;
    --color-5AC396: #5AC396;
    --color-46AD7A: #46AD7A;
    --color-48AF7E: #48AF7E;
    --color-FFF7EA: #FFF7EA;
    --color-F09D0E: #F09D0E;
    --color-FFE7B6: #FFE7B6;
    --color-FFF1D7: #FFF1D7;
    --color-FBA78D: #FBA78D;
    
}

.position-relative {
    position: relative;
}

.logo {
    height: 56px;
}

@media (max-width: 768px) {
    .logo {
        height: 40px;
    }
}

.navbar {
    background-color: transparent;
    box-shadow: none;
    border: none;
    backdrop-filter: blur(10px);
}

.offcanvas-header {
    padding: 0.75rem 1.8rem;
    padding-top: 1.8rem;
}

.offcanvas-body {
    padding-bottom: 50px;
}

.h-80 {
    height: 80% !important;
}

.w-fit {
    width: fit-content;
}

.text-large-plus {
    font-size: 1.5rem !important;
}

.text-large {
    font-size: 1.25rem !important;
}

.text-medium {
    font-size: 1.1rem !important;
}

.text-normal {
    font-size: 1rem !important;
}

.text-small-normal {
    font-size: 0.85rem !important;
}

.text-small {
    font-size: 0.75rem !important;
}

.text-smaller {
    font-size: 0.625rem !important;
}

.line-height-1-8 {
    line-height: 1.8 !important;
}

.line-height-high {
    line-height: 1.8 !important;
}

.line-height-higher {
    line-height: 2 !important;
}

.letter-spacing-2 {
    letter-spacing: 2px !important;
}

.letter-spacing-3 {
    letter-spacing: 3px !important;
}

.letter-spacing-4 {
    letter-spacing: 4px !important;
}

.border-radius-30 {
    border-radius: 30px !important;
}

.text-F09D0E {
    color: var(--color-F09D0E) !important;
}

.text-BF7315 {
    color: var(--color-BF7315) !important;
}

.text-46AD7B {
    color: var(--color-46AD7B) !important;
}

.text-FFE933 {
    color: var(--color-FFE933) !important;
}

.text-F98D6C {
    color: var(--color-F98D6C) !important;
}

.text-BF7315 {
    color: var(--color-BF7315) !important;
}

.text-444444 {
    color: var(--color-444444) !important;
}

.text-FFCB32 {
    color: var(--color-FFCB32) !important;
}

.text-F09D0E {
    color: var(--color-F09D0E) !important;
}

.text-48AF7E {
    color: var(--color-48AF7E) !important;
}

.bg-F98D6C {
    background-color: var(--color-F98D6C) !important;
}

.bg-FFF7EA {
    background-color: var(--color-FFF7EA) !important;
}

.px-8 {
    padding-left: 8% !important;
    padding-right: 8% !important;
}

.px-10 {
    padding-left: 10% !important;
    padding-right: 10% !important;
}

@media (max-width: 768px) {
    .px-8 {
        padding-left: 4% !important;
        padding-right: 4% !important;
    }
    .px-10 {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
}

p {
    line-height: 1.8;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--color-444444);
}

.navbar-nav .nav-link {
    color: var(--color-444444);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 6px 15px !important;
    text-align: end;
    transition: all 0.3s ease;
}

.dp-menu {
    background-color: #fff;
    padding: 0px 25px;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(231, 127, 127, 0.5);
}

/* ===== 服務項目子選單 ===== */
.nav-item.has-submenu {
    position: relative;
}

.nav-item.has-submenu .submenu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(231, 127, 127, 0.5);
    min-width: 180px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-item.has-submenu .submenu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.nav-item.has-submenu:hover .submenu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.nav-item.has-submenu .submenu li {
    padding: 0;
}

.nav-item.has-submenu .submenu li a {
    display: block;
    padding: 8px 24px;
    color: var(--color-444444);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-align: center;
}

.nav-item.has-submenu .submenu li a:hover,
.nav-item.has-submenu .submenu li a:active,
.nav-item.has-submenu .submenu li a:focus {
    background-color: var(--color-FDEDE5);
    color: var(--color-444444);
}

.nav-item.has-submenu .submenu li:first-child a {
    border-radius: 20px 20px 0 0;
}

.nav-item.has-submenu .submenu li:last-child a {
    border-radius: 0 0 20px 20px;
}

#hero {
    min-height: auto !important;
}

#hero .item1,
#hero .item2,
#hero .item3 {
    background-color: #fff;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* width: 100vw; */
}

#hero .item1 {
    background-image: url(../images/00-hp/banner624_1.png);
}
#hero .item2 {
    background-image: url(../images/00-hp/banner624_2.png);
}
#hero .item3 {
    background-image: url(../images/00-hp/banner624_3.png);
}

@media (max-width: 768px) {
    #hero .item1,
    #hero .item2,
    #hero .item3 {
        height: var(--banner-ratio-624);
        /* height: 100vw; 以正方形顯示 */
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #hero .item1,
    #hero .item2,
    #hero .item3 {
        height: var(--banner-ratio-1024);
    }
}

@media (min-width: 1024px) and (max-width: 1280px) {
    #hero .item1,
    #hero .item2,
    #hero .item3 {
        height: var(--banner-ratio-1280);
    }
}

@media (min-width: 1280px) and (max-width: 1440px) {
    #hero .item1,
    #hero .item2,
    #hero .item3 {
        height: var(--banner-ratio-1440);
    }
}

@media (min-width: 1440px) {
    #hero .item1,
    #hero .item2,
    #hero .item3 {
        height: var(--banner-ratio-1920);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #hero .item1 {
        background-image: url(../images/00-hp/banner1024_1.png);
    }
    #hero .item2 {
        background-image: url(../images/00-hp/banner1024_2.png);
    }
    #hero .item3 {
        background-image: url(../images/00-hp/banner1024_3.png);
    }
}

@media (min-width: 1024px) and (max-width: 1280px) {
    #hero .item1 {
        background-image: url(../images/00-hp/banner1280_1.png);
    }
    #hero .item2 {
        background-image: url(../images/00-hp/banner1280_2.png);
    }
    #hero .item3 {
        background-image: url(../images/00-hp/banner1280_3.png);
    }
}

@media (min-width: 1280px) and (max-width: 1440px) {
    #hero .item1 {
        background-image: url(../images/00-hp/banner1440_1.png);
    }
    #hero .item2 {
        background-image: url(../images/00-hp/banner1440_2.png);
    }
    #hero .item3 {
        background-image: url(../images/00-hp/banner1440_3.png);
    }
}

@media (min-width: 1440px) {
    #hero .item1 {
        background-image: url(../images/00-hp/banner1920_1.png);
    }
    #hero .item2 {
        background-image: url(../images/00-hp/banner1920_2.png);
    }
    #hero .item3 {
        background-image: url(../images/00-hp/banner1920_3.png);
    }
}

/* Home - Service */
.hp-service-header {
    background-image: url(../images/00-hp/ser_header_bg.png);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    padding: 0px 20px;
    border-radius: 0 30px 30px 0;
    /* 向左延伸至螢幕邊緣 */
    margin-left: -10vw;
    padding-left: 10vw;
}

@media (max-width: 768px) {
    .hp-service-header {
        margin-left: -5vw;
        padding-left: 5vw;
    }
}

.hp-service-header-title {
    position: absolute;
    top: -10%;
    right: -10%;
    z-index: 1;
}

.hp-service-header-title img {
    width: 100%;
    height: auto;
}

.hp-service-header-content {
    width: fit-content;
    margin-left: auto;
    padding: 20px 0;
}

.hp-service-item-icon {
    text-align: center;
}

.right-dollar-coin {
    position: absolute;
    top: -25%;
    right: 5%;
    z-index: 3;
}

.service-bg-left {
    position: absolute;
    bottom: 5%;
    left: 0;
}

.service-bg-right {
    text-align: right;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .hp-service-header-title {
        top: -5%;
        right: -5%;
        width: 95% !important;
        z-index: 1;
    }

    .right-dollar-coin {
        top: -18%;
        right: 5%;
        z-index: 3;
    }
}


/* ===== HP Task Section ===== */
.hp-task {
    padding-top: 100px;
    padding-bottom: 60px;
    /* background-color: var(--cream, #FBF3E4); */
    background-image: url(../images/00-hp/about_bg750.png);
    background-size: cover;
    background-position: 20% top;
    background-repeat: no-repeat;
    overflow-x: clip;
}

@media (min-width: 768px) {
    .hp-task { background-image: url(../images/00-hp/about_bg1024.png); }
}
@media (min-width: 1024px) {
    .hp-task { background-image: url(../images/00-hp/about_bg1080.png); }
}
@media (min-width: 1080px) {
    .hp-task { background-image: url(../images/00-hp/about_bg1280.png); }
}
@media (min-width: 1280px) {
    .hp-task { background-image: url(../images/00-hp/about_bg1440.png); }
}
@media (min-width: 1440px) {
    .hp-task { background-image: url(../images/00-hp/about_bg1920.png); }
}

/* -- 3D 手機圖片 -- */
.hp-task-img-wrapper {
    position: relative;
    display: inline-block;
}

.hp-task-img-wrapper::before {
    display: none;
}

.hp-task-img {
    max-width: 90%;
    position: relative;
    z-index: 1;
}

/* -- 特色圖標卡片 -- */
.hp-feature-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    width: 130px;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.hp-feature-card:hover {
    transform: translateY(-4px);
}

.hp-feature-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-feature-card-icon img {
    max-width: 100%;
    max-height: 100%;
}

.hp-feature-card-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-444444);
    margin-bottom: 0;
}

/* -- 標題 -- */
.hp-task-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-444444);
    line-height: 1.8;
    margin-bottom: 16px;
}

.hp-task-highlight {
    font-size: 1.8rem;
    font-weight: 800;
    color: #E8873D;
}

/* -- 描述文字 -- */
.hp-task-desc p {
    margin-bottom: 4px;
    color: var(--color-444444);
    font-size: 1rem;
    line-height: 2;
}

/* -- 按鈕 -- */
.btn-intro {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 28px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #F06B6B, #E85D5D);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(240, 107, 107, 0.35);
}

.btn-intro:hover {
    background: linear-gradient(135deg, #E85D5D, #D94F4F);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(240, 107, 107, 0.45);
}

.btn-intro span {
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.btn-line-cta img {
    height: 46px;
}

/* -- 案例+步驟並排區 -- */
.hp-case-step-wrapper {
    position: relative;
    z-index: 1;
}

.hp-case-col {
    display: flex;
    flex-direction: column;
}

.hp-case-block {
    background-image: url(../images/00-hp/hp-case-bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 30px 30px 0;
    padding: 60px 40px 40px 40px;
    color: #fff;
    flex: 1;
    /* 向左延伸至螢幕邊緣 */
    margin-left: -10vw;
    padding-left: calc(10vw + 40px);
}

.hp-case-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff !important;
    margin-bottom: 4px;
}

.hp-case-heading {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.hp-case-desc {
    font-size: 1rem;
    color: #fff !important;
    line-height: 2;
    margin-bottom: 20px;
}

.btn-case {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 28px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #FBA32F, #F9A825);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(251, 163, 47, 0.35);
}

.btn-case:hover {
    background: linear-gradient(135deg, #F9A825, #E8971E);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(251, 163, 47, 0.45);
}

.btn-case span {
    font-size: 1.2rem;
}

.hp-left-coin {
    top: -50px;
    left: -20px;
    bottom: auto;
    z-index: 4;
    width: 100px;
}

/* -- 上方 3D 插圖裝飾 -- */
.hp-case-top-coin {
    top: -60px;
    right: -30px;
    z-index: 3;
    width: 100px;
}

.hp-case-top-phone {
    top: -40px;
    right: 20px;
    z-index: 2;
    width: 80px;
}

/* -- 右側步驟欄 -- */
.hp-step-col {
    display: flex;
    flex-direction: column;
}

/* -- 簡單 4 步驟 橫幅 -- */
.hp-step-banner {
    background: linear-gradient(135deg, #49B07A, #5CC88A);
    border-radius: 30px;
    padding: 3px 40px;
    text-align: center;
}

.hp-step-banner-text {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.hp-step-banner-num {
    font-size: 2rem;
    font-weight: 900;
    color: #FFD94A;
}

/* -- 步驟項目 -- */
.hp-step-item {
    padding: 10px;
}

.hp-step-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.hp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #FFA200;
    border: 2px solid #fff;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.hp-step-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-444444);
}

.hp-step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-step-icon img {
    max-width: 100%;
    max-height: 100%;
}

.hp-step-desc {
    font-size: 0.95rem;
    color: var(--color-444444);
    line-height: 1.8;
    text-align: left;
    margin-bottom: 0;
}


/* ===== HP Task RWD ===== */
@media (max-width: 991px) {
    .hp-task {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .hp-task-img {
        max-width: 65%;
        margin: 20px auto 0;
        display: block;
        position: relative;
        z-index: 2;
    }

    .hp-task-img-wrapper {
        margin-bottom: -60px;
        position: relative;
        z-index: 2;
    }

    .hp-feature-card {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        padding: 12px;
        border-radius: 16px;
    }

    .hp-feature-card-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 6px;
    }

    .hp-feature-card-label {
        font-size: 0.9rem;
        font-weight: 700;
    }

    .hp-task-title {
        font-size: 1.35rem;
        text-align: left;
        line-height: 2;
        font-weight: 700;
    }

    .hp-task-highlight {
        font-size: 1.5rem;
        font-weight: 800;
    }

    .hp-task-desc {
        text-align: left;
    }

    .hp-task-desc p {
        font-size: 0.95rem;
        line-height: 1.9;
    }

    /* 按鈕並排 */
    .hp-task-buttons {
        justify-content: flex-start !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.75rem !important;
    }

    .btn-intro {
        padding: 10px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .btn-line-cta img {
        height: 42px;
    }

    .btn-case {
        padding: 10px 22px;
        font-size: 0.95rem;
    }

    /* 案例區塊 - 手機版四邊圓角 */
    .hp-case-step-wrapper {
        margin-top: 3rem !important;
    }

    .hp-case-block {
        margin-left: 0;
        padding-left: 24px;
        padding-right: 24px;
        padding-top: 50px;
        padding-bottom: 28px;
        border-radius: 20px;
        margin-bottom: 2rem;
    }

    .hp-case-heading {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .hp-case-desc {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .hp-left-coin {
        width: 65px;
        top: -30px;
        left: 8%;
    }

    .hp-case-top-coin {
        width: 60px;
        top: -35px;
        right: -15px;
    }

    .hp-case-top-phone {
        width: 50px;
        top: -25px;
        right: 10px;
    }

    /* 橫幅 */
    .hp-step-banner {
        padding: 14px 16px;
        border-radius: 12px;
        margin-right: 0;
        padding-right: 16px;
    }

    .hp-step-banner-text {
        font-size: 0.95rem;
        letter-spacing: 2px;
    }

    .hp-step-banner-num {
        font-size: 1.4rem;
    }

    /* 步驟 */
    .hp-step-col .row {
        row-gap: 1.25rem;
    }

    .hp-step-header {
        margin-bottom: 10px;
    }

    .hp-step-num {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .hp-step-name {
        font-size: 1rem;
        font-weight: 700;
    }

    .hp-step-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 12px;
    }

    .hp-step-desc {
        font-size: 0.85rem;
        line-height: 1.7;
    }
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 28px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(to bottom, #FD8A86, #EB6A65);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(240, 107, 107, 0.35);
}

.btn-main:hover {
    background: linear-gradient(to bottom, #E85D5D, #D94F4F);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(240, 107, 107, 0.45);
}

.btn-main span {
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.btn-sub {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 28px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(to bottom, #FDC054, #EF9A07);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(251, 163, 47, 0.35);
}

.btn-sub:hover {
    background: linear-gradient(to bottom, #F9A825, #E8971E);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(251, 163, 47, 0.45);
}

.btn-sub span {
    font-size: 1.2rem;
}

.hp-news {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}


.news-card {
    background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #FDC054, #EF9A07);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 3px solid transparent;
    border-radius: 20px;
    padding: 16px;
}

.news-card-img img {
    border-radius: 20px;
    overflow: hidden;
    width: 24rem;
    height: 12rem !important;
    object-fit: cover;
    object-position: center;
}

.news-card-content {
    /* flex: 1; */
    width: -webkit-fill-available;
}

@media (max-width: 991px) {
    .news-card-img {
        width: 100% !important;
    }

    .news-card-img img {
        width: 100% !important;
        height: 12rem !important;
    }
}

.btn-news-more {
    border-bottom: 1px solid var(--color-46AD7B);
    font-weight: 500;
}


.hp-news-coin {
    position: absolute;
    top: -12%;
    right: 20px;
    z-index: 4;
}

.hp-news-coin img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .hp-news-coin {
        top: -5%;
        right: 10px;
        display: none;
    }
}

.hp-news-bg-right-wrap {
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 300px;
    height: 100%;
}

.hp-news-bg-right {
    text-align: right;
    position: relative;
    top: -15%;
    z-index: 1;
}

.hp-news-bg-right img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .hp-news-bg-right {
        display: none;
    }
}

.faq_btn,
.map_btn {
    width: 220px;
}

@media (max-width: 768px) {
    .faq_btn,
    .map_btn {
        width: 200px;
    }
}

/* ===== HP FAQ Map 背景圖 ===== */
.hp-faqmap {
    background-image: url('../images/00-hp/faqmap_bg750 1.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .hp-faqmap { background-image: url('../images/00-hp/faqmap_bg1024 1.png'); }
}
@media (min-width: 1024px) {
    .hp-faqmap { background-image: url('../images/00-hp/faqmap_bg1080 1.png'); }
}
@media (min-width: 1080px) {
    .hp-faqmap { background-image: url('../images/00-hp/faqmap_bg1280 1.png'); }
}
@media (min-width: 1280px) {
    .hp-faqmap { background-image: url('../images/00-hp/faqmap_bg1440 1.png'); }
}
@media (min-width: 1440px) {
    .hp-faqmap { background-image: url('../images/00-hp/faqmap_bg1920 1.png'); }
}


.footer-bg {
    background: linear-gradient(to bottom, #F98D6B 40%, #FBA88E 100%);
}

.footer-logo img {
    width: 280px;
    height: auto;
}

.footer-logo p {
    white-space: nowrap;
}

@media (max-width: 991px) {
    .footer-logo {
        align-items: center !important;
    }
    
    .footer-logo p {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .footer-logo img {
        width: 200px;
    }
}


.social-links-btn-mobile {
    width: 100vw;
    height: 45px;
    z-index: 9999;
}

.s-line-btn {
    background: linear-gradient(to bottom, #58C193 0%, #47AE7B 100%);
    height: 100%;
    border-right: 0.5px solid #fff;
    /* border-left: 0.5px solid #fff; */
}

.s-phone-btn {
    background: linear-gradient(to bottom, #F89592 0%, #E97471 100%);
    height: 100%;
    /* border-right: 0.5px solid #fff; */
    border-left: 0.5px solid #fff;
}

.s-location-btn {
    background: linear-gradient(to bottom, #F0B45D 0%, #E59625 100%);
    height: 100%;
    /* border-right: 0.5px solid #fff; */
    border-left: 0.5px solid #fff;
}

.social-links-btn-mobile a {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    line-height: 50px;
}

.social-links-btn {
    position: fixed;
    z-index: 8;
    /* top: 50%; */
    right: 2rem;
    bottom: 3rem;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
}

.social-links-btn a {
    width: 4rem;
    margin: 0.5rem 0rem;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 60px;
    }
    .hp-footer {
        margin-bottom: 45px !important;
    }
}



/* ABOUT */

.about-illus {
    position: relative;
}

.about-illus img {
    position: relative;
    z-index: 2;
}

.illus-mask-bg {
    border-radius: 0 20px 20px 0;
    position: absolute;
    bottom: 1.5rem;
    right: 0;
    /* 向左延伸至螢幕邊緣 */
    margin-left: -50vw;
    width: calc(100% + 50vw);
    height: 80%;
    z-index: 1;
    background: linear-gradient(to bottom, var(--color-FFF4E6), var(--color-FFEFCB));
}

@media (max-width: 768px) {
    .illus-mask-bg {
        margin-left: -15vw;
        width: calc(100% + 15vw);
    }
}


/* SERVICES HEADER */


.services-illus {
    position: relative;
    padding: 1rem;
}

.services-illus img {
    position: relative;
    z-index: 2;
}

.services-illus-mask-bg {
    border-radius: 0 20px 20px 0;
    position: absolute;
    bottom: 0rem;
    right: 0;
    /* 向左延伸至螢幕邊緣 */
    margin-left: -50vw;
    width: calc(100% + 50vw);
    height: 90%;
    z-index: 1;
    background: linear-gradient(to bottom, var(--color-FFE4C7), var(--color-FAC775));
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .services-illus-mask-bg {
        margin-left: -15vw;
        width: calc(100% + 15vw);
    }
}

.ser-info-header {
    position: relative;
    padding: 10px;
    background: linear-gradient(to bottom, var(--color-5AC396), var(--color-46AD7A));
    border-radius: 20px;
    margin-bottom: 1rem;
}

.ser-info-header-img {
    position: relative;
    height: 100% !important;
    width: 50px;
    margin-right: 5px;
}

.ser-info-header-img img {
    position: absolute;
    /* top: -5px; */
    bottom: -15px;
    right: 0;
    width: 50px;
    height: auto;
}

.ser-info-content ul li::before {
    content: "✦";
    color: var(--color-FFCB32);
    font-weight: bold;
    margin-right: 5px;
}

.ser-info-content.list-style-none ul li::before {
    content: "" !important;
}

.ser-info-content ul li {
    display: flex;
    align-items: flex-start;
    /* 每行底線效果 */
    line-height: 2;
    background: linear-gradient(to bottom, transparent calc(100% - 1px), #FBA78D calc(100% - 1px));
    background-size: 100% 2em;
    padding-bottom: 2px;
}

.ser-info-content ul li > .fw-bold {
    white-space: nowrap;
    flex-shrink: 0;
}

.ser-info-content ul li .info-list {
    flex: 1;
}


.info-num {
    display: inline-block;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 18px;
    border-radius: 50%;
    background-color: var(--color-48AF7E);
    color: #fff;
    font-weight: bold;
    margin-right: 3px;
    font-size: 12px;
    vertical-align: middle;
}

.ser-banner {
    background: linear-gradient(to bottom, #fff 50%, var(--color-FFF7EA) 50%);
}

@media (max-width: 768px) {
    .ser-banner {
        background: linear-gradient(to bottom, #fff 50%, var(--color-FFF7EA) 50%);
    }
}


.ser-banner .hp-feature-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.ser-banner .hp-feature-card:hover {
    transform: translateY(-4px);
}

.ser-banner .hp-feature-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ser-banner .hp-feature-card-icon img {
    max-width: 100%;
    max-height: 100%;
}

.ser-banner .hp-feature-card-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-444444);
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .ser-banner .hp-feature-card {
        width: 100% !important;
        height: auto;
        aspect-ratio: 1;
        padding: 12px;
        border-radius: 16px;
    }

    .ser-banner .hp-feature-card-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 6px;
    }

    .ser-banner .hp-feature-card-label {
        font-size: 0.9rem;
        font-weight: 700;
    }
}

.ser-banner-row-bg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* 左邊從 container 的 10% padding 開始 */
    left: 10%;
    /* 右邊延伸到螢幕邊緣 */
    right: 0;
    height: 70%;
    background: linear-gradient(to bottom, #FFF1D7, #FFE2A3);
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
    z-index: 1;
}

@media (max-width: 768px) {
    .ser-banner-row-bg {
        left: 5%;
        height: auto;
        top: 8%;
        bottom: 8%;
        transform: none;
    }
}


.case-item {
    border-radius: 20px;
    /* background: linear-gradient(to bottom, #FFF8EC, #fff 50%); */
    background-image: linear-gradient(to bottom, #FFF8EC, #fff 50%), linear-gradient(135deg, #FFF1D7, #FFE7B6);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 5px solid transparent;
    padding: 1rem;
}

.case-item-header {
    position: relative;
    padding: 10px;
    background: linear-gradient(to bottom, var(--color-5AC396), var(--color-46AD7A));
    border-radius: 20px;
    margin-bottom: 1rem;
}

.case-item-header-img {
    position: relative;
    height: 100% !important;
    width: 50px;
    margin-right: 5px;
}

.case-item-header-img img {
    position: absolute;
    /* top: -5px; */
    bottom: -15px;
    right: 0;
    width: 50px;
    height: auto;
}


.new-details-header h3 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 2px;
    background: linear-gradient(to right, #FFFBF4, #FFF4EC);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-radius: 30px;
    padding: 0.65rem;
}

.new-details-content,
.new-details-content p {
    color: var(--color-444444);
    font-size: 16px;
    line-height: 2;
    letter-spacing: 2px;
}


.faq-cta-bg {
    position: absolute;
    bottom: 0.75rem;
    left: 0;
    width: 100%;
    height: 75%;
    border-radius: 25px;
    background: linear-gradient(to bottom, #FFF9E2, #EDF8DF);
    z-index: 1;
}

@media (max-width: 991px) {
    .faq-cta-bg {
        height: 90%;
    }
}

.faq-item-header {
    position: relative;
    background: linear-gradient(to bottom, #59C496, #48B484);
    border-radius: 30px;
    margin-bottom: 1.25rem;
    height: 40px;
    padding-right: 10px;
}

.faq-item-header h4 {
    font-size: 1.15rem;
}

.faq-item-header-num {
    min-width: 70px;
    width: 70px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 30px;
    background: linear-gradient(to bottom, #FEB686, #FB8E53);
    color: #fff;
    font-weight: bold;
    margin-right: 3px;
    font-size: 18px;
    vertical-align: middle;
}


@media (max-width: 991px) {
    .faq-item-header {
        height: 60px;
    }
}

.map-iframe {
    position: relative;
    /* padding-bottom: 85%; */
    /* 接近正方形的比例 */
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);

    background-image: linear-gradient(to bottom, #FFF8EC, #fff 50%), linear-gradient(135deg, #FFF1D7, #FFE7B6);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 5px solid transparent;

}

.map-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 991px) {
    .map-iframe {
        height: 18rem;
    }
}

.cta-info {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.cta-line {
    background-color: var(--color-FBA78D);
    width: 100%;
    height: 1px;
    margin: 2rem 0;
}

.talk-bg {
    position: absolute;
    top: 0;
    left: 40px;
    right: 10px;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    border: 3px solid #F9D2BC;
    background-color: #fff;
    z-index: 1;
}

.cta-content img {
    width: 60px;
}

@media (max-width: 991px) {
    .cta-content img {
        width: 40px;
    }

    .talk-bg {
        left: 15px;
    }
}

/* ===== Map Page 背景圖 ===== */
.map-page {
    background-image: url('../images/06/06map_bg750.png');
    background-size: 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .map-page { background-image: url('../images/06/06map_bg1024.png'); }
}
@media (min-width: 1024px) {
    .map-page { background-image: url('../images/06/06map_bg1080.png'); }
}
@media (min-width: 1080px) {
    .map-page { background-image: url('../images/06/06map_bg1280.png'); }
}
@media (min-width: 1280px) {
    .map-page { background-image: url('../images/06/06map_bg1440.png'); }
}
@media (min-width: 1440px) {
    .map-page { background-image: url('../images/06/06map_bg1920.png'); }
}


.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 10px 0;
  }
  .marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    color: #e77f7f;
    -webkit-animation: marquee 20s linear infinite;
  }
  @keyframes marquee {
    from {
      transform: translateX(0%);
      -webkit-transform: translateX(0%);
      -moz-transform: translateX(0%);
      -ms-transform: translateX(0%);
      -o-transform: translateX(0%);
    }
    to {
      transform: translateX(-100%);
      -webkit-transform: translateX(-100%);
      -moz-transform: translateX(-100%);
      -ms-transform: translateX(-100%);
      -o-transform: translateX(-100%);
    }
  }