.contents article {margin-bottom: 100px;}
.contents article:last-child {margin-bottom: 0px;}
.contents article header {
    position: relative;
    border-bottom: 2px solid black;
    margin-bottom: 20px;
    background-repeat: no-repeat;
    background-position: center right;
}
.contents article h3 {
    font-size: 40px;
    font-weight: 700;
    line-height: 50px;
}
.contents article h4 {
    font-size: 30px;
    font-weight: 200;
    line-height: 50px;
    margin-bottom: 10px;
    padding-right: 80px;
}
.contents article p {
    word-break: break-all;
    text-align: justify;
}
.contents article figure img {
    max-width: 100%;
}

.contents article .flex_box {
    display: flex;
    justify-content: space-between;
}
.contents article figure {}
.contents article p {
    width: 46%;
    padding-left: 30px;
}

.type_1 {
    background-image: url(../img/icon1.svg);
}
.type_2 {
    background-image: url(../img/icon2.svg);
}
.type_3 {
    background-image: url(../img/icon3.svg);
}

@media all and (max-width:1200px) {
    .contents article figure {width: 50%;}
    .contents article p {
        width: 50%;
        padding-left: 30px;
    }
}

@media all and (max-width:900px) {
    .contents article {margin-bottom: 80px;}
    .contents article h3 {
        font-size: 29px;
        line-height: 40px;
        margin-bottom: 10px;
    }
    .contents article h4 {
        font-size: 25px;
        line-height: 32px;
    }
}

@media all and (max-width:850px) {
    .contents article .flex_box {flex-wrap: wrap;}
    .contents article figure {
        width: 100%;
        max-width: 640px;
        margin: 0 auto;
        margin-bottom: 20px;
    }
    .contents article p {
        width: 100%;
        /*max-width: 640px;*/
        margin: 0 auto;
        padding-left: 0;
    }
}

@media all and (max-width:700px) {
    .contents article header {
        background-size: 50px;
    }
    .contents article h3 {
        font-size: 26px;
        line-height: 36px;
        margin-bottom: 5px;
    }
    .contents article h4 {
        font-size: 22px;
        line-height: 30px;
    }
}
@media all and (max-width:500px) {
    .contents article {margin-bottom: 70px;}
    .contents article h3 {
        font-size: 22px;
        line-height: 32px;
    }
    .contents article h4 {
        font-size: 18px;
        line-height: 25px;
        padding-right: 70px;
    }
}

