@charset "UTF-8";

#services .page_ttl_img {
    background-image: url(../images/services/services_title.jpg);
    background-image: image-set(url(../images/services/services_title.webp) type("image/webp"),
            url(../images/services/services_title.jpg) type("image/jpeg"));
    background-size: cover;
    background-position: center;
    position: relative;
    background-repeat: no-repeat;
    height: 256px;
    margin-bottom: 10px;
    max-width: initial;
    object-position: center;
    width: 100%;
}


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

    #services .page_ttl_img {
        background-image: url(../images/services/services_title_sp.jpg);
        background-image: image-set(url(../images/services/services_title_sp.webp) type("image/webp"),
                url(../images/services/services_title_sp.jpg) type("image/jpeg"));
        background-size: cover;
        background-position: center;
        position: relative;
        background-repeat: no-repeat;
        height: 180px;
        margin-bottom: 20px;
        max-width: initial;
        object-position: center;
        width: 100%;
    }

}


.services_box {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.services_card {
    flex: 0 1 calc((100% - 60px) / 3);
    border: 1px solid var(--gray01);
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.services_card_left {
    flex: 1;
}

.services_card a {
    color: var(--black);
    padding: 45px 25px 45px 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 11px;
}

.services_card a:hover {
    opacity: 0.7;
    transition: .2s;
}

.services_card a::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 12px;
    background-image: url(../images/common/arw_right_gr.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.services_card p {
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.services_cate {
    font-weight: bold;
    font-size: 1.2rem;
    background: #cce3f5;
    min-width: 87px;
    display: inline-block;
    color: var(--sub01);
    padding: 0 7px;
}

.services_cate span {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 991px) {
    .services_card {
        flex: 0 1 calc((100% - 30px) / 2);
    }

}

@media screen and (max-width: 767px) {
    .services_box {
        gap: 10px;
    }

    .services_card a {
        padding: 20px 10px;
    }

    .services_card p {
        font-size: 1.4rem;
        margin-bottom: 3px;
    }

    .services_card {
        flex: 0 1 calc((100% - 10px) / 2);
    }

}

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

    .services_box {
        display: block;
    }


    .services_card {
        margin-bottom: 10px;
    }

}


/*************   業務内容記事   *************/

#services .title04 {
    border-bottom: 1px solid var(--gray02);
    padding-bottom: 20px;
    margin-bottom: 50px;
    line-height: 1;
}

.services_part_block .services_small {
    margin-bottom: 40px;
}

.services_part_name {
    font-size: 2.3rem;
    line-height: 1.4;
}


.services_part_img img {
    object-fit: contain;
    margin-bottom: 50px;
    max-height: 500px;
}

.services_part_txt p:not(:last-child) {
    margin-bottom: 1em;
}

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

    .services_part_block .services_small {
        margin-bottom: 28px;
    }

    #services .title04 {
        padding-bottom: 10px;
        margin-bottom: 35px;
    }

    .services_part_img img {
        margin-bottom: 35px;
    }

    .services_part_name {
        font-size: 1.8rem;
        line-height: 1.4;
    }

}
