@charset "utf-8";

.Service-panel-wrap{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}
.Service-panel{
    width: calc((100% - (30px * 2)) / 3);
}
.Service-panel:not(:nth-last-of-type(-n+3)){
    margin-bottom: 28px;
}
.Service-panel a{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}
.Service-panel a::before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    position: absolute;
    opacity: .5;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(44,44,44,0.6811099439775911) 68%, rgba(84,84,84,1) 100%);
}
.Service-panel__image{
    width: 100%;
    height: 270px;
    overflow: hidden;
    position: relative;
}
.Service-panel__image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s all ease-in-out;
}
.Service-panel__image__caption{
    width: 100%;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    left: 0;
    bottom: 15px;
    right: 0;
    position: absolute;
    z-index: 3;
    text-align: center;
    color: #fff;
}
.Service-panel a:hover .Service-panel__image img{
    transform: scale(1.1);
}

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

    .Service-panel{
        width: calc((100% - 2.666666vw) / 2);
    }
    .Service-panel:not(:nth-last-of-type(-n+2)){
        margin-bottom: 2.666666vw;
    }
    .Service-panel__image{
        height: 30vw;
    }
    .Service-panel__image__caption{
        font-size: 3.2vw;
        bottom: 3.5vw;
        letter-spacing: .1em;
    }

}