body {
    background-color: #feffef;
}
.header {
    background-color: #fffef9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.content{
    min-height: 70vh;
}
.input{
    font-size: calc(18px + 0.8vw);
}
.p1_container{
    width: 75%;
    margin: 0 auto;
    display: grid;
}
.p1_left{
    grid-row: 1;
    grid-column: 1;
    margin: 0 auto;
}
.p1_right{
    grid-row: 2;
    grid-column: 1;
    text-align: center;
    margin-top: 20px;
}
.p1_right img{
    width: 70%;
    height: auto;
    max-width: 708px;
}
.p1_title{
    text-align: left;
    margin-top: 30px;
}
.p1_title img{
    width: 40%;
    height: auto;
    max-width: 279px;
}
.p1_content{
    text-align: left;
    display: flex;
}
.p1_ico{
    padding-top: 2px;
}
.p1_ico img{
    width: 18px;
    height: auto;
    max-width: 279px;
}
.p1_text{
    margin-left: 10px;
    margin-right: 20px;
    flex: 1;
    font-size: 14px;
    word-wrap: break-word;
}
.p2_container{
    width: 100%;
    text-align: center;
    margin-top: 20px;
}
.p2_title img{
    width: 70%;
    height: auto;
    max-width: 724px;
}
.p2_content{
    width: 75%;
    max-width: 850px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    font-size: 24px;
    text-align: left;
}
.p2_input_left{
    float: left; 
    height: 76px;
    margin-top: 10px;
}
.p2_input_bg{
    float: left; 
    height: 76px;
    background-image: url("../images/contact_input_bg.png");
    line-height: 76px;
    margin-top: 10px;
}
.p2_input_right{
    float: left; 
    height: 76px;
    margin-top: 10px;
}
.p2_checkbox_bg{
    float: left; 
    height: 76px;
    background-image: url("../images/contact_checkbox_bg.png");
    line-height: 76px;
    margin-top: 10px;
}
.p2_checkbox_bg > * {
    pointer-events: none; /* 子元素不拦截点击事件 */
}
.input{
    border: none; /* 隐藏边框 */
    outline: none; /* 可选：隐藏聚焦时的轮廓 */
    width: 100%;
    box-sizing: border-box;
}
.p2_content input[type="checkbox"] {
    display: none;
}
.p2_content label .checkbox-icon{
    display: inline-block;
    width: 36px;
    height: 36px;
    background-image: url('../images/contact_checkbox_1.png');
    background-size: cover;
    cursor: pointer;
    vertical-align: middle;
}

/* 选中状态样式 */
.p2_content input[type="checkbox"]:checked + label .checkbox-icon{
    background-image: url('../images/contact_checkbox_2.png');
}
.custom_submit {
    width: 300px;  /* 图片宽度 */
    height: 76px;  /* 图片高度 */
    margin-top: 30px;
    background: url('../images/contact_button_bg.png') no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
    font-size: 32px;
    color: white;
    line-height: 76px;
}

/* 当页面宽度大于等于576时 */
@media (min-width: 576px) {
    
}
/* 当页面宽度大于等于992时 */
@media (min-width: 992px) {
    .content {
        padding: 0px 0%;
        min-height: 50vh;
    }
    .input{
        font-size: calc(14px + 0.8vw);
    }
}
@media (min-width: 1179px) {
    .content{
        min-height: 35vh;
    }
}
@media (min-width: 1536px) {
    .p2_container{
        width: 60%;
        margin: 0 auto;
    }
    .p2_title{
        padding-top: 30px;
    }
    .p2_content{
        width: 50%;
    }
    .input{
        font-size: calc(10px + 0.8vw);
    }
}
@media (min-width: 1920px) {
    .input{
        font-size: calc(12px + 0.6vw);
    }
    .p1_container{
        width: 60%;
    }
    .p2_container{
        width: 50%;
    }
    .input{
        font-size: calc(10px + 0.6vw);
    }
}