@charset "utf-8";

.consul_fv{
    background-color: #36498f;
    height:363px;
    }


.consul_fv_bg{
    background-image: url(image/consul_bg_img.png);
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
    height:463px;
    position:relative;
    margin-left:100px;
}


.consul_fv_text{
    position: absolute;
    top: 360px;
    left: 50%;
    transform: translate(-50%, 0%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.consul_fv_text h1 img{
    max-width: none;
}
.consul_space {
    height: 100px;
    margin-bottom:100px;
}

.consul_wrapper{
    max-width: 966px;
    margin:0 auto;
}
.consul_sectiontitile{
    font-weight: 500;
    font-size:24px;
    margin-bottom: 108px;
    text-align: center;
    line-height: 1.3;
    position:relative
}
.consul_sectiontitile::after{
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    background-color: #36498f;
    position: absolute;
    top: 128px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
}
.consul_sectiontitile span{
    display: block;
}
.consul_subtext{
    margin-bottom:150px;
}
.consul_box1{
    display:flex;
    margin-bottom:120px;
}
.imgbox{
    width:50%;
}
.consul_box1 .textbox{
    width:50%;
    margin-left:80px;
}
.textbox h2{
    font-size:24px;
    font-weight: 500;
}
.consul_box1 .textbox h2:before{
    content: "Consulting1";
    background-color: #fabe00;
    color: #fff;
    display: block;
    width: 110px;
    margin-bottom: 20px;
    font-weight: normal;
    font-size: 15px;
    text-align: center;
    padding: 7px 0px;
}
.textbox h2:after{
    content: "";
    display: block;
    width: 46px;
    height: 2px;
    background-color: #36498f;
    margin:20px 0 ;
}
.consul_box2{
    display: flex;
    flex-direction: row-reverse;
    margin-bottom:120px;
}
.consul_box2 .textbox{
    width:50%;
}
.consul_box2 .imgbox{
    margin-left: 80px;
}
.consul_box2 .textbox h2:before{
    content: "Consulting2";
    background-color: #fabe00;
    color: #fff;
    display: block;
    width: 110px;
    margin-bottom: 20px;
    font-weight: normal;
    font-size: 15px;
    text-align: center;
    padding: 7px 0px;
}
.consul_box3{
    display: flex;
    margin-bottom:120px;
}
.consul_box3 .textbox{
    width:50%;
    margin-left:80px;
}
.consul_box3 .textbox h2:before{
    content: "Consulting3";
    background-color: #fabe00;
    color: #fff;
    display: block;
    width: 110px;
    margin-bottom: 20px;
    font-weight: normal;
    font-size: 15px;
    text-align: center;
    padding: 7px 0px;
}
.consul_footspace{
    height:10px;
}
@media screen and (max-width: 1111px){
.consul_fv_text h1 img{
    max-width: 100%;
}
}
@media screen and (max-width: 768px){

    .consul_fv {
        background-color: #36498f;
        height: 196px;
    }
    
    .consul_fv_bg {
        height: 250px;
        margin-left: 80px;
    }
    
    .consul_fv_text{
        top:210px;
    }   
    .consul_fv_bg {
        height: 250px;
        margin-left: 80px;
    }
    .consul_section_title:after{
        /*left:374px;*/
        left: 50%;
        transform: translate(-50%, 0%);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }

    .consul_wrapper {
        max-width: 668px;
        margin-bottom: -70px;
        margin-top: 60px;
    }

    .consul_section_title {
        margin-bottom: 93px;
        font-size: 25px;
        line-height: 1.7;
    }

    .consul_section_text {
        font-size: 16px;
        width: 90%;
        margin: 0 auto;
        line-height: 1.7;
    }
    
    .consul_space {
        height: 55px;
        margin-bottom: 0px;
    }
    .consul_box1 .textbox {
        margin-left: 30px;
    }
    .consul_box2 .imgbox {
        margin-left: 30px;
    }
    .consul_box3 .textbox {
        margin-left: 30px;
    }
    .consul_sectiontitile {
        font-size: 16px;
    }
    .consul_subtext {
        font-size: 14px;
        margin-bottom: 80px;
    }
    .consul_contents p{
        font-size:13px;
    }
    .textbox h2 {
        font-size: 16px;
    }
    .consul_sectiontitile::after {
        top: 87px;
    }
    .consul_box1 .textbox h2:before {
        width: 70px;
        font-size: 10px;
    }
    .consul_box2 .textbox h2:before {
        width: 70px;
        font-size: 10px;
    }
    .consul_box2 .textbox h2:before {
        width: 70px;
        font-size: 10px;
    }
    .consul_footspace{
        height:0px;
    }
}

@media screen and (max-width: 480px){


    .consul_wrapper {
        margin-right: 20px;
        margin-left: 20px;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .consul_fv {
        background-color: #36498f;
        height: 90px;
    }
    
    .consul_fv_bg {
        height: 130px;
        margin-left: 30px;
    }
    
    .consul_fv_text {
        top: 130px;
        width: 55%;
    }
    .consul_space {
        height: 40px;
        margin-bottom: 10px;
    }
    .consul_sectiontitile {
        margin-bottom: 70px;
        font-size: 15px;
        font-feature-settings: "palt";
        letter-spacing: -0.01px;
    }
    .consul_sectiontitile::after {
        top: 80px;
        width:45px;
    }
    .consul_subtext {
        font-size: 13px;
        margin-bottom:80px;
    }
    .consul_box1,.consul_box2,.consul_box3{
        flex-direction: column-reverse;
    }
    .consul_box1,.consul_box2,.consul_box3{
        margin-bottom: 80px;;
    }
  .consul_box1 .textbox{
    width:100%;
    margin-left: 0px;
    margin-bottom: 20px;
    font-size: 13px;
  }
  .consul_box2 .textbox{
    width:100%;
    margin-bottom: 20px;
    font-size: 13px;
  }
  .consul_box3 .textbox{
    width:100%;
    margin-left: 0px;
    margin-bottom: 20px;
    font-size: 13px;
  }
  .imgbox{
    width:100%;
  }
  .consul_box2 .imgbox{
    margin-left: 0px;
}
.textbox h2{
    font-size: 0.9rem;
}

.consul_box1 .textbox h2:before {
    width: 70px;
    font-size: 11px;
    padding: 4px;
    margin-bottom: 10px;
}
.consul_box2 .textbox h2:before {
    width: 70px;
    font-size: 11px;
    padding: 4px;
    margin-bottom: 10px;
}
.consul_box3 .textbox h2:before {
    width: 70px;
    font-size: 11px;
    padding: 4px;
    margin-bottom: 10px;
}
.textbox h2:after{
    margin:10px 0;
}
.consul_footspace{
    height:0px;
}
}