@charset "utf-8";

.service {
    width: 100%;
}

.service-item {
    padding: 2.5% 3%;
}

.servicebox {
    text-align: center;
}

.servicebox:first-of-type .service-item:last-child {
    background-color: #F1F3F2;
}

.servicebox:last-of-type .service-item:first-child {
    background-color: #474747;
    color: #ffffff;
}

.servicebox:last-of-type .service-item:last-child .service_ttl {
    width: 300px;
}

.service_ttl {
    width: 250px;
    margin: 0 auto;
}

.service_ttl span {
    font-weight: normal;
    font-size: 1.3rem;
}

.service_subttl {
    font-size: 2.0rem;
    margin-bottom: 20px;
}

.service_explain {
    margin-bottom: 40px;
}

.service-item button {
    width: 75%;
    padding: 10px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid #000000;
    transition: all .3s;
}

.service button:hover {
	color: #fff;
    background: #1d1d1d;
}

.servicebox:last-of-type .service-item:first-child button {
    border: 1px solid #ffffff;
}


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

    .service-item {
        padding: 10% 5%;
    }

    .service_ttl {
        width: 75% !important;
    }

    .service_explain {
        margin-bottom: 10%;
        font-size: 1.3rem;
    }

    .service-item button {
        width: 65%;
        margin: 0 auto;
    }

}
