img {
    max-width: 100%;
}

#consulting01 {
    height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("/img/consulting/consulting01_bg.png") center center / cover no-repeat;
    text-align: center;
}

#consulting01 .txt_box picture {
    margin:50px 0 15px;
}

#consulting01 .txt_box p {
    font-size: 1.25rem;
    color:#fff;
}

#consulting02 {
    height: 668px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("/img/consulting/consulting02_bg.png") center center / cover no-repeat;
}

#consulting02 .cont_box {
    display: flex;
    align-items: center;
}

#consulting02 .cont_box .cont {
    width: 50%;
}

#consulting02 .cont_box .cont p {
    font-size: 1.0625rem;
    color:#363636;
    margin:30px 0;
    word-break: keep-all;
}

#consulting03 {
    height: 668px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("/img/consulting/consulting03_bg.png") center center / cover no-repeat;
}

#consulting03 .cont_box {
    display: flex;
    align-items: center;
}

#consulting03 .cont_box .cont {
    width: 50%;
}

#consulting03 .cont_box .cont p {
    font-size: 1.0625rem;
    color:#363636;
    margin:30px 0;
    word-break: keep-all;
}

#consulting04 {
    height: 830px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("/img/consulting/consulting04_bg.png") center center / cover no-repeat;
}

#consulting04 ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    margin:0;
    padding:0;
    margin-top: 80px;
}

#consulting04 ol li {
    width: 32%;
    text-align: center;
}

#consulting04 ol li .txt_box {
    margin-top: 30px;
}

#consulting04 ol li .subject {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color:#fff;
}

#consulting04 ol li .context {
    display: block;
    font-size: 1.125rem;
    color:#b1c9f9;
    margin-top: 20px;
}

#consulting05 {
    height: 937px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("/img/consulting/consulting05_bg.png") center center / cover no-repeat;
    text-align: center;
}

#consulting05 .cont_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 60px;
}

#consulting05 .cont_wrap .cont_box {
    width: 31.5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#consulting05 .cont_wrap .cont_box .cont {
    padding:15px 25px;
    border-radius: 4px;
    color:#fff;
    text-align: left;
}

#consulting05 .cont_wrap .cont_box .cont .subject {
    font-size: 1.5em;
    font-weight: 600;
}

#consulting05 .cont_wrap .cont_box .cont .context {
    font-size: 1.125rem;
    margin-top: 20px;
}

#consulting05 .cont_wrap .cont_box:first-child .cont{
    width: 100%;
    height: 505px;
    display: flex;
    align-items: flex-end;
    background: url("/img/consulting/consulting05_img1.png") center center / cover no-repeat;
    padding-bottom: 30px;
}

#consulting05 .cont_wrap .cont_box:last-child {
    width: 66%;
}

#consulting05 .cont_wrap .cont_box:last-child .cont {
    width: 60%;
    height: 235px;
}

#consulting05 .cont_wrap .cont_box:last-child .cont:not(:nth-child(2), :nth-child(3)) {
    width: 36%;
}

#consulting05 .cont_wrap .cont_box:last-child .cont:not(:nth-child(1), :nth-child(2)) {
    margin-top: auto;
}

#consulting05 .cont_wrap .cont_box:last-child .cont:nth-child(1){
    background: url("/img/consulting/consulting05_img2.png") center center / cover no-repeat;
}

#consulting05 .cont_wrap .cont_box:last-child .cont:nth-child(2){
    background: url("/img/consulting/consulting05_img3.png") center center / cover no-repeat;
}

#consulting05 .cont_wrap .cont_box:last-child .cont:nth-child(3){
    background: url("/img/consulting/consulting05_img4.png") center center / cover no-repeat;
}

#consulting05 .cont_wrap .cont_box:last-child .cont:nth-child(4){
    background: url("/img/consulting/consulting05_img5.png") center center / cover no-repeat;
}

#consulting06 {
    height: 765px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("/img/consulting/consulting06_bg.png") center center / cover no-repeat;
    text-align: center;
}

#consulting06 .title p {
    font-size: 1.0625rem;
    color:#171c61;
    margin-top: 30px;
}

#consulting06 .title p span {
    font-weight: 600;
}

#consulting06 ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 80px;
}

#consulting06 ul li {
    width: 32%;
    background: #fff;
    padding:30px 25px;
    border-radius: 4px;
}

#consulting06 ul li .txt_box .subject {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color:#171c61;
}

#consulting06 ul li .txt_box .tel {
    display: block;
    font-size: 1.125rem;
    color:#171c61;
    line-height: 1.4;
    margin-top: 20px;
}

@media all and (max-width:991px){
    html {
        font-size: 14px;
    }
    
    #consulting01 {
        height: auto;
        padding:150px 0;
    }
    
    #consulting02 {
        height: auto;
        padding:120px 0;
    }

    #consulting02 .cont_box {
        flex-direction: column-reverse;
        align-items: flex-start;
        text-align: left;
    }

    #consulting02 .cont_box .cont {
        width: 100%;
    }

    #consulting02 .cont_box .cont:last-child {
        text-align: center;
        margin-bottom: 50px;
    }

    #consulting03 {
        height: auto;
        padding:120px 0;
    }
    
    #consulting03 .cont_box {
        flex-direction: column-reverse;
        align-items: flex-start;
        text-align: left;
    }

    #consulting03 .cont_box .cont {
        width: 100%;
    }

    #consulting03 .cont_box .cont:last-child {
        text-align: center;
        margin-bottom: 50px;
    }

     #consulting04 {
        height: auto;
        padding:120px 0;
    }

    #consulting04 ol {
        margin-top: 30px;
    }

    #consulting04 ol li {
        width: 100%;
        padding:30px 0;
    }

    #consulting04 ol li:not(:last-child){
        border-bottom:1px solid rgba(255,255,255, 0.5)
    }

    #consulting04 ol li .txt_box {
        margin-top: 10px;
    }

    #consulting04 ol li .subject {
        font-size: 1.75rem;
    }

    #consulting05 {
        height: auto;
        padding:130px 0;
    }

    #consulting05 .cont_wrap .cont_box,
    #consulting05 .cont_wrap .cont_box:last-child,
    #consulting05 .cont_wrap .cont_box:last-child .cont,
    #consulting05 .cont_wrap .cont_box:last-child .cont:not(:nth-child(2), :nth-child(3)) {
        width: 100%;
    }

    #consulting05 .cont_wrap .cont_box:last-child {
        margin-top: 30px;
    }

    #consulting05 .cont_wrap .cont_box .cont {
        padding:40px;
    }

    #consulting05 .cont_wrap .cont_box:first-child .cont {
        height: 550px;
        background-position: top center;
    }

    #consulting05 .cont_wrap .cont_box:last-child .cont {
        height: auto;
        background-position: top center !important;
    }

    #consulting05 .cont_wrap .cont_box .cont:not(:last-child){
        margin-bottom: 20px;
    }

    #consulting05 .cont_wrap .cont_box .cont .txt_box {
        width: 100%;
        text-align: center;
    }

    #consulting05 .cont_wrap .cont_box .cont .context {
        border-top: 1px solid #fff;
        padding-top:20px;
        margin-top:20px;
    }

    #consulting06 {
        height: auto;
        padding:130px 0;
    }

    #consulting06 ul li {
        width: 100%;
        padding:40px 20px;
    }

    #consulting06 ul li:not(:last-child){
        margin-bottom: 30px;
    }
}