/* 輸入框及下拉選單驗證失敗時顯示紅框 */
    .field01.valify-fail,
    .select01.valify-fail,
    input.valify-fail,
    select.valify-fail {
        border: 1px solid #ff4d4f !important;
        box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2) !important;
        outline: none !important;
    }

    /* 條款 Checkbox 驗證失敗時的紅框 */
    .checkbox_button.valify-fail {
        border: 1px solid #ff4d4f !important;
        box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2) !important;
    }

body {
    background-color: #5B3F3F;
    color: #5C2D3A;
    font-family: Noto Sans TC;
    font-weight: 400;
}
h1 {
    padding: 0 10px;
}
section {
    padding: 0 10px;
}

.logo {
    position: absolute;
    top: 18%;
    left: 16%;
    right: 50%;
    z-index: 3;
    display: flex;
    justify-content: center;
}

.logo-img {
    width: 150px;
    padding-top:0;
}
.font_highlight {
    color: #5C2D3A;
}

.banner_bg {
    position: relative;
    z-index: 2;
}
.banner_bg .treatments_row_title {
    font-size: 2vw;
    top: 28%;
    left: 27%;
    z-index: 2;
    padding: 8px 20px;
    transform:rotate(358deg) !important;
}
.banner_img {
    display: flex;
    position: absolute;
    top: 17%;
    left: 14%;
    right: 0px;
    bottom: 7%;
}

.contant_wrapper {
    margin-top: -5rem;
}

.contant {
    background-color: #FFFAF5;
    padding: 5rem 3rem 2rem;
}

.contant::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.2'/%3E%3C/svg%3E");
    pointer-events: none;
}

.nuosu {
font-family: 'Nuosu SIL', 'Noto Serif', serif;}

.bodoni {
    font-family: "Bodoni Moda", serif;
    font-weight: 400;
    font-style: normal;
}

.intro {
    font-family: 'Nuosu SIL', 'Noto Serif', serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 1.4em;
    vertical-align: middle;
    margin-top: 20px;
}

.intro big {
    font-size: 40px;
}

.intro_row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 3rem 0;
}

.intro_col {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 15px 30px;
    width: 30%;
    min-width: 270px;
}

.intro_text {
    position: relative;
    z-index: 2;
    border-top: 1px solid #5C2D3A;
    border-bottom: 1px solid #5C2D3A;
    padding: 15px 0;
    width: 100%;
    height: 100%;
}

.intro_text .title {
    font-weight: 700;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro_text .title::after {
    content: '';
    height: 1px;
    width: 50px;
    background-color: #5C2D3A;
    margin-top: 10px;
}

.intro_col:nth-child(2) .title::after {
    background-color: transparent;
}

.intro_text span{
    font-size: 70px;
}

.intro_text p {
    font-size: 18px;
    line-height: 1.3em;
}

.intro_col::after {
    content: '';
    width: 100%;
    height: 100%;
    background-image: url('../images/card_bg.png');
    background-position: center;
    background-size: cover;
    position: absolute;
}

.treatments {
    width: 100%;
    font-size: 18px;
}

.treatments_row {
    display: flex;
    position: relative;
    background-color: white;
    border-radius: 16px;
    /* width: 100%; */
    margin: 4rem auto;
    margin-left: 1.5rem;
}

.treatments_row_3 {
    margin-bottom: 25px;
}

.treatments_right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    padding: 30px 20px;
}

.number {
    border-radius: 25px;
    color: white;
    background-color: #5C2D3A;
    width: 45px;
    height: 45px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-left: -30px;
    margin-right: 16px;
}

.treatments_row_title {
    position: absolute;
    top: -8%;
    left: 10%;
    font-size: 32px;
    color: white;
    background: url('../images/title_bg.png') center / cover;
    padding: 10px 35px;
    font-size: 32px;
}

.treatments_title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 5px;
}
.treatments_title small {
    font-size: 16px;
}
.treatments_img {
    width: 40%;
    margin-left: -4%;
    margin-top: 26px;
}

.treatments_col {
    display: flex;
    align-items: center;
    background-color: #FFE9E7;
    padding: 22px 12px;
    border-radius: 20px;
    width: 100%;
}

.section_form_title h1 {
    font-weight: 500;
}

.form_bg {
    background-color: #FFE9E7;
}

label.mLabel {
    background-color: #3D2B3D;
    border-color: #3D2B3D;
}

label.mLabel:hover {
    color: #3d2b3d !important;
    background-color: #FFE9E7;
}

.section_form_area {
    margin-bottom: 2rem;
}

.term_pt {
    color: #5C2D3A;
}

input[type="checkbox"]:checked + .checkbox_button:before {
    background-color: #5C2D3A;
}

.checkbox_button {
    border-radius: 4px;
    overflow: hidden;
}

.field01,.select01 {
    background-color: #F5EDE8;
    border-color: #DDD0CC;
}

input::placeholder, .select01:has(option.default:checked) {
    color: #C4A09C!important;
}
.bp-flow-wrap {
    padding-top: 36px;
}

.bp-flow-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 820px;
    margin: 0 auto;
}

/* 白色圓角卡片（預留左側 38px 給突出的圓形圖示） */
.bp-flow-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    min-height: 108px;
    width: 35%;
    min-width: 180px;
    margin-left: 38px;
    padding: 18px 20px 18px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* 深啡紅色圓形 Icon 徽章（一半突出於卡片左側） */
.bp-flow-icon {
    position: absolute;
    left: -38px;
    top: 50%;
    transform: translateY(-50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: #592c35;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-flow-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

/* 文字排版 */
.bp-flow-text {
    text-align: center;
    color: #592c35;
    line-height: 1.35;
}

/* 純 CSS 實心三角形箭嘴 */
.bp-flow-arrow {
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid #592c35;
    flex-shrink: 0;
}
#msgModal .whatsapp_btn {
    border-bottom: 1px solid;
}
@media (max-width: 769px) {
    section {
        overflow: hidden;
    }
    .banner_img {
        left:unset;
        right: 0px;
        bottom: unset;
    }
    .banner_bg {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .banner_bg img {
        width: 140%;
    }
    .banner_bg .treatments_row_title {
        font-size: 3vw;
        left: 18%;
        padding: 5px 15px;
    }
    .intro_row {
        margin: 2rem 0;
    }
    .contant {
        padding: 4rem 15px 30px;
    }
    .intro {
        font-size: 18px;
    }
    .intro_text {
        padding: 10px 0;
    }
    .intro_text p {
        font-size: 15px;
    }
    .intro_col {
        padding: 10px 15px;
        width:25%;
        min-width: 200px;
    }
    .intro_text .title::after {
        margin-top: 3px;
    }
    .intro_text span{
        font-size: 50px;
    }
    .treatments_col {
        padding: 16px 8px;
    }
    .treatments , .treatments_title small {
        font-size: 15px;
    }
     
    .treatments_row_title {
        font-size: 22px;
        top: -30px;
        left: 13%;
    }
    .treatments_title {
        font-size: 18px;
    }
    .number {
        font-size: 18px;
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }

    .treatments_right {
        padding: 30px 10px;
        gap:15px;
    }

    .treatments_img {
        width: 44%;
        margin-left: -18%;
        margin-right: -8%;
        margin-top: -9%;
    }
    .form_bg {
        padding-bottom: 0;
    }
    .logo {
        left: 16%;
        right: 64%;
    }

    .bp-flow-wrap {
        padding-top: 20px;
    }
    .bp-flow-list {
        gap: 12px;
    }

    .bp-flow-card {
        width: 40%;
        max-width: 200px;
        min-width: 0;
        min-height: 92px;
        margin-left: 24px;
        padding: 15px 8px 15px 15px;
    }

    .bp-flow-icon {
        width: 40px;
        height: 40px;
        left: -26px;
    }

    .bp-flow-icon img {
        width: 25px;
        height: 25px;
    }

}

/* 手機版（640px 以下自動轉為垂直排列，箭嘴向下） */
@media (max-width: 375px) {
    .bp-flow-list {
        flex-direction: column;
        gap: 16px;
    }

    .bp-flow-card {
        width: calc(100% - 34px);
        max-width: 200px;
        min-width: 0;
        min-height: 92px;
    }

    .bp-flow-arrow {
        transform: rotate(90deg);
        margin-left: 34px;
    }
}