.contact_container {
    display: flex;
    justify-content: center;
}

.service_container {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0px;
    margin: 0px;
}

.service_container ul li:before {
    color: black;
}

.service_container_child {
    background-image: url(./images/背景画像/057.webp);
    background-size: 210px;
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    margin-bottom: 20px;
    width: 96%;
    box-sizing: border-box;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.service_container_child_setumei {
    /* height: 420px!important; */
    line-height: 48px;
}

.service_link_tag_name {
    font-size: 30px!important;
    padding: 0px!important;
    margin: 0px!important;
    text-align: center;
}

.service_container h3 {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 0px;
    height: 113px;
    align-content: center;
    font-size: 34px;
}

.service_container p, .service_container h4 {
    margin-top: 0;
    margin-bottom: 15px;
    margin-left: 0px;
    height: auto;
    padding: 0 1em;
}

.service_container ul {
    padding: 0;
    /* height: 470px; */
}

.service_link_tag {
    text-align: center;
}

.taiou_erea {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin: 0 80px;
    gap: 5px; /* marginの代わりにgapを使うとより綺麗 */
}

.taiou_erea p {
    padding: 10px;
    font-size: 27px;
    text-align: center;
    border: solid 2px;
    border-radius: 30px;
}

@media screen and (max-width: 1439px){
    .service_container {
        display: grid;
        grid-template-columns: 1fr;
        padding: 0px;
        margin: 0px;
    }
}

@media screen and (max-width: 767px){
    .contact_container {
        display: block;
        /* justify-content: center; */
        text-align: center;
    }

    .service_container {
        grid-template-columns: 1fr;
        margin: 0;
    }

    .service_container ul {
        padding: 0;
        height: auto;
    }

    .service_container h3 {
        height: auto;
    }

    .service_container ul li:before {
        color: black;
    }

    .service_container p, .service_container h4 {
        margin-top: 32px;
        margin-bottom: 0;
        margin-left: 0;
        height: auto;
        padding: 0;
    }

    .service_container_child_setumei {
        height: auto !important;
    }
    
    .service_link_tag_name {
        font-size: 24px !important;
    }
}