.form_line {
    height: 523px;
    box-sizing: border-box;
    background-image: url("/images/product/5.png");
    background-size: 100% 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.form_line .form_box {
    width: 1200px;
    max-width: calc(100% - 40px);
    box-sizing: border-box;
}

.form_line .form_dom {
    padding: 20px 50px;
    border-radius: 30px;
    background-color: #fff;
    width: 500px;
    max-width: 100%;
    box-sizing: border-box;
    height: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-gap: 10px;
}

.form_line .form_dom input,
.form_line .form_dom textarea {
    background-color: #f7f7f5;
    border-radius: 30px;
    border: none;
    box-sizing: border-box;
    padding: 5px 10px;
    min-width: 0;
}

.form_line .form_dom textarea {
    border-radius: 10px;
}

.form_line .form_dom input:focus {
    outline: none;
}

.form_line .form_dom .title {
    font-weight: bold;
    font-size: 24px;
    /* 占两列 */
    grid-column: span 2;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.form_line .form_dom .btn_box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.form_line .form_dom .btn {
    width: 50%;
    background-color: #108cda;
    border: none;
    color: #fff;
    padding: 10px 0;
    border-radius: 20px;
}

@media (max-width: 640px) {
    .form_line {
        height: auto;
        padding: 48px 0;
        background-size: cover;
        background-position: center;
    }

    .form_line .form_box {
        max-width: calc(100% - 24px);
    }

    .form_line .form_dom {
        width: 100%;
        height: auto;
        padding: 20px;
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .form_line .form_dom .title,
    .form_line .form_dom input,
    .form_line .form_dom textarea,
    .form_line .form_dom .btn_box {
        grid-column: 1 !important;
    }

    .form_line .form_dom textarea {
        grid-row: auto !important;
        min-height: 120px;
    }

    .form_line .form_dom .btn {
        width: auto;
        min-width: 120px;
        padding-left: 24px;
        padding-right: 24px;
    }
}
