@charset "UTF-8";

/* 區塊控制 */

.page-full-wrapper {
    width: 100%;
}

.page-contain-wrapper {
    width: 1200px;
}

.ser-phone {
    color: #8b7652;
    font-weight: bold;
    text-decoration: underline;
    letter-spacing: 1px;
}

.ser-title {
    text-align: center;
    font-size: 24px;
    color: #8b7652;
    margin-bottom: 16px;
    font-weight: bold;
    letter-spacing: 1px;
}

.ser-line {
    color: #8b7652;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 16px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ser-line {}

.ser-line>span {
    width: 100px;
    height: 2px;
    margin: 0px 8px;
    background-color: #8b7652;
    display: inline-block;
}

.ser-link {
    display: flex;
    justify-content: center;
    list-style: none;
}

.service-main-title {
    color: #8b7652;
    font-weight: bold;
    font-size: 21px;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 16px;
}

.ser-item {
    width: 60px;
    height: 60px;
    margin: 0px 8px;
}

.ser-item img {
    width: 100%;
    height: 100%;
}


/* 表單樣式 */

.service-sec {
    padding: 50px 0;
    display: flex;
    justify-content: center;
}

.service-cnt {
    display: flex;
    justify-content: center;
    width: calc(100% - 48px);
}

.service-form-wrapper {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 0 auto;
}

#frm_service {
    width: 70%;
}

#frm_service input:focus,
#frm_service input:focus-visible {
    outline: 0;
    border: 1px solid #988E73;
    box-shadow: 0 0 5px #988E73;
}

.online-form {
    width: 70%;
}

.online-form input:focus,
.online-form input:focus-visible {
    outline: 0;
    border: 1px solid #988E73;
    box-shadow: 0 0 5px #988E73;
}

.service-text {
    margin: 0 0 30px 0;
    line-height: 2em;
}

.service-text>p {
    font-size: 16px;
    color: #818181;
}

.service-text>p>span {
    color: #E68095;
    display: inline-block;
    margin: 0 2px;
}

.service-block {
    display: flex;
    margin: 0 0 20px 0;
    width: 100%;
    height: 36px;
    align-items: center;
}

.service-block.dialog-box {
    align-items: flex-start;
    height: auto;
}

.service-block.dialog-box>textarea {
    width: 100%;
    border: 1px solid #ccc;
}

.service-block.dialog-box>textarea:focus {
    outline: 0;
    border: 1px solid #988E73;
    box-shadow: 0 0 5px #988E73;
}

.service-block>p:nth-child(1) {
    width: 20%;
    flex-shrink: 0;
    color: #988E73;
    text-align: right;
    padding: 0 16px 0 0;
    flex-shrink: 0;
}

.service-block>p:nth-child(1)>span {
    color: #E68095;
    display: inline-block;
    margin: 0 2px 0 0;
}

.service-block>input {
    min-height: 100%;
    padding: 4px 8px;
    flex-grow: 1;
    border: 1px solid #ccc;
    transition: 0.3s;
}

.gender>label {
    font-size: 14px;
    color: #818181;
    margin: 0 10px 0 0;
}

.live {
    height: 100%;
    flex-grow: 1;
}

.live>select {
    width: 100%;
    height: 100%;
    padding: 4px 8px;
    flex-grow: 1;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
}

.verification-code {
    display: flex;
    width: 80%;
    height: 100%;
    position: relative;
}

.verification-code>input {
    padding: 4px 8px;
    width: 50%;
    margin: 0 15px 0 0;
}

.verification-code-pt {
    display: flex;
    width: 50%;
}

.digital-content {
    margin: 0 15px 0 0;
}

#service_codeP {
    display: block;
    height: 100%;
}

.verification-code-pt>a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-confirm-btn {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.form-confirm-btn>a {
    display: flex;
    padding: 8px 20px;
    background-color: #818181;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.form-confirm-btn>a:hover {
    background-color: #988E73;
}

.btn-service-submit {
    padding: .3rem 1rem;
    font-size: 1.0rem;
    line-height: 1.2;
    border-radius: .2rem;
    color: #fff;
    background-color: #818181;
    border-color: #4b4a4a;
}
.btn-service-submit:hover {
    color: #e6e6e6;
    background-color: #988E73;
    border-color: #585343;
}

@media (max-width: 1219.98px) {
    .page-contain-wrapper {
        width: calc(100% - 60px);
    }
    .service-form-wrapper {
        width: 100%;
    }
}

@media (max-width: 1019.98px) {}

@media (max-width: 991.98px) {
    #frm_service {
        width: 100%;
    }
    .online-form {
        width: 100%;
    }
}


@media (max-width: 697.98px) {
    .service-block>p:nth-child(1) {
        width: 100px;
    }
    .service-block>input {
        width: calc(100% - 100px);
    }
}

@media (max-width: 539.98px) {
    .service-block>p:nth-child(1) {
        font-size: 14px;
    }
}

@media (max-width: 421.98px) {
    .page-contain-wrapper {
        width: calc(100% - 40px);
    }
    .service-block {
        flex-direction: column;
        align-items: flex-start;
        margin: 0 0 20px 0;
        height: auto;
    }
    .service-block>p:nth-child(1) {
        text-align: left;
        margin: 0 0 8px 0;
        font-size: 16px;
    }
    .service-block>input {
        width: 100%;
    }
    .live {
        width: 100%;
    }
    .verification-code {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    .verification-code>input {
        width: 100%;
        margin: 0 0 10px 0;
    }
}

@media (max-width: 351.98px) {}

@media (max-width: 279.98px) {}