@charset "utf-8";
.service .under_mv{
    background: url(../img/service/main_pc.jpg) no-repeat center/cover;
}
@media screen and (max-width: 1024px) {
    .service .under_mv{
        background: url(../img/service/main_sp.jpg) no-repeat center/cover;
    }
}

.sec1{
    margin: 100px 0;
}
.sec1 h2{
    font-family: toppan-bunkyu-midashi-min-st, serif;
    text-align: center;
    line-height: 2;
    font-size: 2.8rem;
    letter-spacing: 5px;
    margin-bottom: 70px;
}
.sec1 h2 span{
    font-size: 3.6rem;
}
.sec1 .box{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 110px;
}
.sec1 .box:nth-of-type(3){
    margin-bottom: 0;
}
.sec1 .box:nth-of-type(2){
    flex-direction: row-reverse;
}
.sec1 .box:nth-of-type(1):after{
    font-family: eb-garamond, serif;
    content: "Private and public construction";
    font-size: 6rem;
    color: #ecf5fb;
    position: absolute;
    bottom: -20px;
    right: 30px;
}
.sec1 .box:nth-of-type(2):after{
    font-family: eb-garamond, serif;
    content: "Roadside businesses";
    font-size: 6rem;
    color: #ecf5fb;
    position: absolute;
    bottom: -20px;
    left: 30px;
}
.sec1 .box:nth-of-type(3):after{
    font-family: eb-garamond, serif;
    content: "Real estate business";
    font-size: 6rem;
    color: #ecf5fb;
    position: absolute;
    bottom: -20px;
    right: 30px;
}
.sec1 .box figure{
    position: relative;
    width: 60%;
}
.sec1 .box figure:after{
    content: "";
    border: 1px solid #ccc;
    width: calc(100% - 30px);
    height: calc(100% + 60px);
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    border-right: transparent;
}
.sec1 .box:nth-of-type(2) figure:after{
    border-left: transparent;
    border-right:1px solid #ccc;
    left: auto;
    right:30px;
}
.sec1 .box .txt_area{
    position: relative;
    width: calc(50% + 8vw);
    background: #fff;
    margin-left: -8vw;
    padding: 30px 30px 0;
    min-height: 45vh;
    border-bottom: 4px solid #1f2c5c;
}
.sec1 .box:nth-of-type(2) .txt_area{
    margin-left:0;
    margin-right:-8vw;
}
.sec1 .box .txt_area h3{
    position: relative;
    color: #1f2c5c;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.sec1 .box .txt_area h3:after{
    content: "";
    width: 80%;
    height: 1px;
    background: #888888;
    position: absolute;
    top: 15px;
    right: 0;
}
.sec1 .box .txt_area h3 span{
    font-family: oswald, sans-serif;
    color: #888888;
    font-size: 2.4rem;
    display: block;
    margin-bottom: 15px;
}
.sec1 .box .txt_area p{
    line-height: 2;
}
.sec1 .box .txt_area .btn{
    margin: 40px auto 0 0;
}
@media screen and (max-width: 1024px) {
    .sec1{
        margin:60px 0;
    }
    .sec1 h2{
        line-height: 1.6;
        font-size: 2.4rem;
        letter-spacing: 4px;
        margin-bottom: 40px;
    }
    .sec1 h2 span{
        font-size:2.6rem;
    }
    .sec1 .box{
        display: block;
        margin-bottom: 60px;
    }
    .sec1 .box:nth-of-type(3){
        margin-bottom: 0;
    }
    .sec1 .box:nth-of-type(1):after{
        content: "Private and \Apublic construction";
        white-space: pre;
        font-size: 3rem;
        bottom: auto;
        right: auto;
        top: 1%;
        left: 5%;
    }
    .sec1 .box:nth-of-type(2):after{
        font-size: 3rem;
        bottom: auto;
        right: 5%;
        top: 1%;
        left: auto;
    }
    .sec1 .box:nth-of-type(3):after{
        font-size: 3rem;
        bottom: auto;
        right: auto;
        top: 1%;
        left: 5%;
    }
    .sec1 .box figure{
        width: 90%;
    }
    .sec1 .box figure:after{
        content: "";
        border: 1px solid #ccc;
        width: calc(100% - 4%);
        height: calc(100% + 8%);
        position: absolute;
        left: 4%;
        top: 50%;
        transform: translateY(-50%);
        border-right: transparent;
    }
    .sec1 .box:nth-of-type(2) figure{
        margin-left: auto;
    }
    .sec1 .box:nth-of-type(2) figure:after{
        right:4%;
    }
    .sec1 .box .txt_area{
        width: 90%;
        margin-left: 0;
        padding: 15px 15px 40px;
        min-height: auto;
        margin: -50px 0 0 auto;
    }
    .sec1 .box:nth-of-type(2) .txt_area{
        margin-left:0;
        margin-right:-8vw;
    }
    .sec1 .box .txt_area h3{
        font-size: 2.4rem;
    }
    .sec1 .box .txt_area h3:after{
        width: 60%;
        top: 12px;
        right: 0;
    }
    .sec1 .box .txt_area h3 span{
        font-size: 2rem;
        margin-bottom: 12px;
    }
    .sec1 .box .txt_area p{
        line-height:1.6;
    }
    .sec1 .box .txt_area .btn{
        margin: 40px auto 0;
    }
}

