.jm_main {
    background: url(../images/jmbg.png) no-repeat;
    background-size: 100% 100%;
    padding: 5.73vw 0 6.25vw;
    box-sizing: border-box;
}

.jm1 {
    text-align: center;
    color: #fff;
    font-size: 1.88vw;
    font-weight: bold;
    margin-bottom: 4.17vw;
}

.jm2 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6.25vw;
}

.jm2_1 {
    width: 19.79vw;
    height: 14.74vw;
    background-color: #fff;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.jm2_1:hover {
    background-color: #000;
    color: #fff;
}

.jm2_1 h1 {
    font-size: 1.25vw;
    margin-bottom: 1.72vw;
}

.jm2_1 h2 {
    font-size: 1.04vw;
    line-height: 1.67vw;
    width: 17.55vw;
    letter-spacing: .08vw;
}

img {
    display: block;
}

.jm3_1 {
    display: flex;
    align-items: center;
}

.jm3_1 .imgbox {
    border-radius: .52vw;
    margin-right: 2.5vw;
}

.jm3_1 .imgbox img {
    width: 50.25vw;
}

.jm3_2 .imgbox img {
    width: 48.8vw;
}

.jm3_1 .msgbox h1 {
    color: #fff;
    width: 43.75vw;
    font-size: 1.15vw;
    line-height: 2.86vw;
    font-weight: bold;
}

.jm3_2 .msgbox h1 {
    width: 45.57vw;
    line-height: 2.4vw;
    letter-spacing: .05vw;
    font-weight: normal;
}

.jm3_2 .msgbox h1 span {
    font-weight: bold;
}

.jm3_2 .imgbox {
    margin-right: 0;
    margin-left: 2.5vw;
}

.jm3_2 {
    justify-content: flex-end
}

.jm4 {
    margin-top: 3.7vw;
}

.jm4 h1 {
    text-align: center;
    color: #fff;
    font-size: 1.88vw;
    font-weight: bold;
    margin-bottom: 2.08vw;
    letter-spacing: .05vw;
}

.jm5 {
    width: 93.75vw;
    margin: auto;
    display: flex;
    justify-content: space-between;
    margin-top: 2.97vw;
}

.jm5_1 {
    color: #fff;
}

.jm5_1 h1 {
    font-size: 2.19vw;
    font-weight: bold;
    margin-bottom: .83vw;
}

.jm5_1 h2 {
    height: 5.57vw;
    font-size: 1.88vw;
    line-height: 3.13vw;
    text-transform: uppercase;
    margin-bottom: 1.61vw;
}

.jm5_1 h3 {
    width: 2.19vw;
    height: .57vw;
    background-color: #fff;
}

.jm5_2 {
    width: 77.6vw;
}

.jm5_3 {
    display: flex;
    justify-content: space-between;
}

.jm5_3 input {
    width: 23.75vw;
    padding-left: 1.25vw;
    font-size: 1.35vw;
    box-sizing: border-box;
    line-height: 4.06vw;
    border: none;
}

.jm5_4 {
    display: flex;
    justify-content: space-between;
    margin-top: 3.13vw;
}

.jm5_4 input {
    width: 50.68vw;
    padding-left: 1.25vw;
    font-size: 1.35vw;
    box-sizing: border-box;
    border: none;
    line-height: 4.11vw;
}

.jm5_4 a {
    width: 23.7vw;
    line-height: 4.11vw;
    text-align: center;
    background-color: #000;
    display: inline-block;
    font-size: 1.35vw;
    color: #FFFFFF;
    cursor: pointer;
}

@media screen and (max-width: 1200px) {
    .jm_main {
        padding: 10% 2%;
        box-sizing: border-box;
    }

    .jm1 {
        font-size: 22px;
        margin-bottom: 4%;
    }

    .jm2 {
        flex-wrap: wrap;
        margin-bottom: 4%;
    }

    .jm2_1 {
        height: 32vw;
        width: 49%;
        margin-bottom: 2%;
    }

    .jm2_1 h1 {
        font-size: 18px;
        margin-bottom: 2%;
    }

    .jm2_1 h2 {
        width: 85%;
        font-size: 14px;
        line-height: 28px;
    }

    .jm3_1 {
        margin-bottom: 2%;
        flex-direction: column-reverse;
    }

    .jm3_1 .imgbox {
        margin-right: 0;
        margin-left: 0;
    }

    .jm3_1 .imgbox img,
    .jm3_2 .imgbox img {
        width: 100%;
    }

    .jm3_1 .msgbox h1 {
        width: 100%;
        font-size: 16px;
        text-align: center;
        line-height: 32px;
        margin-bottom: 2%;
    }

    .jm3_2 {
        flex-direction: column;
    }

    .jm4 {
        margin-top: 6%;
    }

    .jm4 h1 {
        font-size: 18px;
        text-align: center;
        margin-bottom: 2%;
    }

    .jm5 {
        width: 100%;
        margin-top: 6%;
        flex-direction: column;
    }

    .jm5_1 {
        text-align: center;
    }

    .jm5_1 h1 {
        font-size: 22px;
        margin-bottom: 2%;
    }

    .jm5_1 h2 {
        font-size: 20px;
        height: auto;
        line-height: normal;
    }

    .jm5_1 h2 br,
    .jm5_1 h3 {
        display: none;
    }

    .jm5_2 {
        width: 100%;
        margin-top: 2%;
    }

    .jm5_3 {
        flex-direction: column;
    }

    .jm5_3 input,
    .jm5_4 input {
        width: 100%;
        margin-bottom: 2%;
        font-size: 16px;
        line-height: 40px;
    }

    .jm5_4 {
        flex-direction: column;
        margin-top: 0;
    }

    .jm5_4 a {
        width: 100%;
        line-height: 32px;
        font-size: 16px;
    }
}