.contact_box{
    width: 100%;
    padding: 5vh 0px;
    text-align: center;
    color: #333;
}
.contact_one{
    width: 100%;
}
.contact_one ul li:last-of-type{
    margin-bottom: 0px;
}
.contact_one ul li p{
    font-size: 13px;
    color: #444;
    padding: 5px 0px;
}
.contact_one ul li p span{
    color: red;
    margin-left: 5px;
}
.contact_one ul li input{
    width: calc(100% - 20px);
    color: #000;
    border-radius: 5px;
    overflow: hidden;
    font-size: 16px;
    border: 1px solid #ddd;
    transition: border 0.3s ease;
}
.contact_one ul li textarea{
    width: calc(100% - 20px);
    resize: vertical; /* 允许垂直调整大小 */
    padding: 10px 9px;
    height: 100px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ddd;
    outline: none;
    transition: border 0.3s ease;
}
.contact_one ul li input:focus{
    border: 1px solid var(--one-color);
    box-shadow: 0px 0px 2px var(--one-color);
}
.contact_one ul li textarea:focus{
    border: 1px solid var(--one-color);
    box-shadow: 0px 0px 2px var(--one-color);
}
.contact_one_but{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0px;
}
.contact_one_but button{
    width: 100px;
    height: 40px;
    cursor: pointer;
    border: 0px;
    border-radius: 5px;
    color: #ddd;
    background: var(--two-color);
}
.contact_one_but button:hover{
    color: #fff;
    background: var(--one-color);
}
.contact_one_but button:active{
    transform: scale(0.9);
}
/*0~768px*/
@media (max-width: 768px){
    .contact_one ul li{
        padding: 9px 19px;
    }
    .contact_one ul li input{
        padding: 10px 9px;
        height: 25px;
    }
}
/*768<X<1200*/
@media(min-width:769px) and (max-width:1199px){
    .contact_one ul{
        display: flex;
        flex-wrap: wrap;
    }
    .contact_one ul li{
        padding: 19px;
        width: calc(50% - 40px);
    }
    .contact_one ul li.message{
        width: calc(100% - 40px);
    }
    .contact_one ul li input{
        padding: 10px 9px;
        height: 25px;
    }
}
/*>1200*/
@media (min-width: 1200px){
    .contact_one ul{
        display: flex;
        flex-wrap: wrap;
    }
    .contact_one ul li{
        padding: 19px;
        width: calc(50% - 40px);
    }
    .contact_one ul li.message{
        width: calc(100% - 40px);
    }
    .contact_one ul li input{
        padding: 10px 9px;
        height: 30px;
    }
}