@charset "utf-8";

h2 {
    margin-top: 150px;
}

h3 {
    margin-left: 10%;
    margin-bottom: 70px;
    margin-top: 180px;
    border-left: 10px solid #031c63;
    padding-left: 5px;
}

/* WORKS */
.works_choice {
    margin: 0 auto;
}

.works_choice ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

.works_line {
    height: 1px;
    background: #031c63;
    transform: rotate(-45deg);
    padding: 0 15px;

}

@media screen and (max-width: 767px) {
    h2 {
        margin-top: 70px;
    }

    .works_choice li {
        font-size: 13px;
    }

    h3 {
        margin-left: 8%;
        margin-bottom: 50px;
        margin-top: 130px;
        border-left: 5px solid #031c63;
    }
}


/* バナー広告 */
.banner1,
.banner2,
.banner3,
.banner4,
.web1,
.web2,
.web3,
.web4 {
    background-color: #f3fdff;
    width: 100%;
    height: 400px;
    max-width: 45%;
}

.banner_box1,
.banner_box2,
.web_box1,
.web_box2 {
    display: flex;
    max-width: 1100px;
    justify-content: space-between;
    margin: 100px auto 50px auto;
    text-align: center;
    padding: 0 10px;
}

.banner_box1 p,
.banner_box2 p,
.web_box1 p,
.web_box2 p {
    text-align: center;
    font-size: 18px;
    padding-top: 10px;
}

.banner1 div,
.banner2 div,
.banner3 div,
.banner4 div,
.web1 div,
.web2 div,
.web3 div,
.web4 div {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work_btn p {
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    padding: 40px 0px;
}

.work_btn {
    border-radius: 45px;
    background-color: #2845a3;
    width: 250px;
    margin: 170px auto 160px;
    box-shadow: 0 7px 0 #031c63;
}

.work_btn:hover {
    transform: translateY(7px);
    box-shadow: none;
}


@media screen and (max-width: 767px) {

    .banner_box1,
    .banner_box2,
    .web_box1,
    .web_box2 {
        flex-direction: column;
        max-width: 330px;
        margin: 0 auto;
        padding: 0 10px;
    }

    .banner1,
    .banner2,
    .banner3,
    .banner4,
    .web1,
    .web2,
    .web3,
    .web4 {
        width: 100%;
        height: 264px;
        margin-bottom: 70px;
        max-width: 330px;
    }

    .banner_box1 p,
    .banner_box2 p,
    .web_box1 p,
    .web_box2 p {
        font-size: 16px;
    }

    .work_btn p {
        font-size: 12px;
        padding: 20px 0px;
    }

    .work_btn {
        border-radius: 27px;
        width: 150px;
        margin: 150px auto 70px;
        box-shadow: 0 5px 0 #031c63;
    }

    .banner1 div,
    .banner2 div,
    .banner3 div,
    .banner4 div,
    .web1 div,
    .web2 div,
    .web3 div,
    .web4 div {
        max-width: 270px;
        margin: 0 auto;
    }

}