@import url(./main.less);

// PC
@media (min-width:@screen-sm-min) {
    .banner {
        // 724px
        height: 37.7083vw;
        background: url('../images/introduce/contactUs_banner.png') no-repeat;
        background-size: 100% 100%;
    }

    .main_area {
        padding: 5.2083vw 0;

        .contactUs_box {
            display: flex;
            border: .1042vw solid #C4C4C4;
            margin-bottom: 5.4688vw;

            .item {
                flex: 1;
                height: 28.3333vw;
                border-right: .1042vw solid #C4C4C4;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;

                &:last-child {
                    border: none;
                }

                .icon {
                    width: 4.2188vw;
                    height: 4.7396vw;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin-bottom: 3.6458vw;

                    .icon_1 {
                        width: 4.6354vw;
                        height: 5.8333vw;
                    }

                    .icon_2 {
                        width: 5.1563vw;
                        height: 5.2083vw;
                    }

                    .icon_3 {
                        width: 5.1042vw;
                        height: 3.8021vw;
                    }
                }

                .text_box_h5 {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;

                    .label {
                        font-size: 1.6667vw;
                        font-family: SourceHanSansCN-Bold, SourceHanSansCN;
                        font-weight: bold;
                        color: #333333;
                        line-height: 2.5vw;
                        margin-bottom: .7292vw;
                    }

                    .value {
                        font-size: 1.25vw;
                        font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                        font-weight: 400;
                        color: #666666;
                        line-height: 2.0833vw;
                    }
                }
            }
        }

        .form_box {

            .text_box {
                display: flex;
                justify-content: space-between;
                margin-bottom: 1.7708vw;

                input {
                    width: 100%;
                    height: 3.2813vw;
                    border: .0521vw solid #C6C6C6;
                    padding: 0 .8333vw;
                    box-sizing: border-box;
                    font-size: 1.25vw;
                    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                    font-weight: 400;
                    color: #666666;
                    line-height: 1.875vw;
                }
            }

            textarea {
                width: 100%;
                height: 9.5833vw;
                border: .0521vw solid #C6C6C6;
                padding: 1.0417vw .8333vw;
                box-sizing: border-box;
                font-size: 1.25vw;
                font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                font-weight: 400;
                color: #666666;
                line-height: 1.875vw;
                margin-bottom: 2.5vw;
                resize: none;
            }

            .btn {
                height: 4.375vw;
                border: .1042vw solid #FF7C3D;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 1.5104vw;
                font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                font-weight: 500;
                color: #FF7B3C;
                line-height: 2.3438vw;
                cursor: pointer;
            }
        }

        .parent_box {
            display: flex;

            .qr_code_box {
                display: flex;
                flex-direction: column;
                width: 26.3021vw;
                justify-content: center;
                align-items: center;
                width: 26.3542vw;
                flex-shrink: 0;

                .qrcode_img {
                    width: 12.1875vw;
                    height: 12.1875vw;
                    font-size: 0;
                }

                .qrcode_p {
                    font-size: 1.25vw;
                    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                    font-weight: 400;
                    color: #666666;
                    line-height: 1.875vw;
                }
            }

            .form_box {
                width: 100%;
            }
        }
    }
}

// H5
@media (max-width:@screen-xs-max) {
    .banner {
        height: 105.8667vw;
        background: url('../images/introduce/h5/contactUs_banner.png') no-repeat;
        background-size: 100% 100%;
    }

    .main_area {
        padding: 7.2vw0 4vw;

        .title_text {
            text-align: center;
            font-size: 5.3333vw;
            font-family: SourceHanSansCN-Medium, SourceHanSansCN;
            font-weight: 500;
            color: #333333;
            line-height: 8vw;
            margin-bottom: 7.2vw;
        }

        .contactUs_box {
            border: .2667vw solid #C4C4C4;
            margin-bottom: 10.4vw;

            .item {
                border-bottom: .2667vw solid #C4C4C4;
                padding: 4.8vw 3.2vw;
                min-height: 19.4667vw;
                box-sizing: border-box;
                display: flex;
                align-items: center;

                &:last-child {
                    border: none;
                }

                .icon {
                    width: 8vw;
                    height: 8vw;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin-right: 3.2vw;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }
                }

                .text_box_h5 {
                    display: flex;
                    flex-direction: column;

                    .label {
                        font-size: 4.2667vw;
                        font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                        font-weight: 400;
                        color: #424242;
                        line-height: 6.4vw;
                        margin-bottom: 2.1333vw;
                    }

                    .value {
                        font-size: 3.7333vw;
                        font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                        font-weight: 400;
                        color: #666666;
                        line-height: 5.6vw;
                    }
                }
            }
        }

        .form_box {

            input {
                width: 100%;
                height: 12vw;
                border: .2667vw solid #C6C6C6;
                padding: 0 4.2667vw;
                box-sizing: border-box;
                font-size: 3.7333vw;
                font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                font-weight: 400;
                color: #666666;
                line-height: 5.6vw;
                margin-bottom: 2.1333vw;
            }

            textarea {
                width: 100%;
                height: 42.9333vw;
                border: .2667vw solid #C6C6C6;
                padding: 4vw;
                box-sizing: border-box;
                font-size: 3.7333vw;
                font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                font-weight: 400;
                color: #666666;
                line-height: 5.6vw;
                margin-bottom: 8.5333vw;
                resize: none;
            }

            .btn {
                height: 12vw;
                border: .2667vw solid #FF7C00;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 4.2667vw;
                font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                font-weight: 500;
                color: #FF7C00;
                line-height: 6.4vw;
            }
        }

        .parent_box {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;

            .qr_code_box {
                display: flex;
                flex-direction: column;
                width: 43.2vw;
                justify-content: center;
                align-items: center;
                width: 26.3542vw;
                flex-shrink: 0;

                .qrcode_img {
                    width: 43.2vw;
                    height: 43.2vw;
                    font-size: 0;
                    margin-top: -2.6667vw;
                }

                .qrcode_p {
                    font-size: 3.7333vw;
                    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                    font-weight: 400;
                    color: #666666;
                    line-height: 5.6vw;
                    margin-top: 4.2667vw;
                    margin-bottom: 6.1333vw;
                }
            }

            .form_box {
                width: 100%;
            }
        }
    }
}