.bg-common.fence .shadow {
    margin-top: 20px;
    margin-bottom: 13px !important;
}

main .metabox p {
    line-height: 32px;
}

.row-fence .box {
    background-color: #fff;
    padding: 25px;
}


.all-flex {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px !important;
    align-items: center;

}

.title-text {
    font-weight: 500;
    font-size: 24px;
    color: #082871;
}

.bg-common.service .metabox {
    color: #fff;
}




.bg-common.service .text-all-title {
    color: #fff;
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 20px;
}





.middle-area {
    margin-top: 60px;
    margin-bottom: 60px;
}




@media screen and (max-width: 767px) {
    .bg-common.service h2 .ttl-eng {
        color: #fff;
        text-align: center;
    }



    .bg-common.service h2 .ttl-jpn {
        display: block;
        color: #fff;
        text-align: center;
    }


    .bg-common.service h2 {
        justify-content: center;
    }

    .bg-common.fence h3 {
        border-bottom: 1px solid #082871;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }



    .bg-common.fence h3 .ttl-eng {
        font-size: 14px;
        font-weight: 400;
        margin-top: 10px;
    }

    .bg-common.fence h3 .ttl-jpn {
        font-size: 25px;
        font-weight: 500;
        text-align: center;
    }

    .top-title {
        text-align: center;
        font-weight: 500;
        font-size: 25px;
        margin-bottom: 9px;
        line-height: 35px;
    }

    .flex-service {
        text-align: center;
    }

    .flex-service .b0 {
        text-align: center;
        margin-bottom: 35px !important;
    }
}

@media screen and (min-width: 768px) {
    .bg-common.service h2 .ttl-eng {
        color: #fff;
        text-align: left;
    }

    .bg-common.service h2 .ttl-jpn {
        display: block;
        color: #fff;
        text-align: left;
    }


    .bg-common.service h2 {
        justify-content: start;
    }

    .bg-common.fence h3 {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #082871;
        align-items: center;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }



    .bg-common.fence h3 .ttl-eng {
        font-size: 16px;
        font-weight: 400;
    }

    .bg-common.fence h3 .ttl-jpn {
        font-size: 32px;
        font-weight: 500;
    }

    .top-title {
        text-align: center;
        font-weight: 500;
        font-size: 32px;
        margin-bottom: 25px;
    }

    .flex-service .b0 {
        flex: 0 0 30%;
        max-width: 30%;
        margin-right: 35px;
    }

    .flex-service {
        display: flex;
        align-items: center;
    }
}

.bg-common.service {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: visible;
}