.wrap {
    padding: 30px 20px;
    background-color: #fff;
}


.top-title {
    width: 100%;
    font-weight: bold;
    font-size: 28px;
    color: #333333;
    letter-spacing: 1px;
    text-align: center;
}

.partner {
    position: relative;
    padding-top: 20px;
    font-size: 0;
}

.row {
    position: relative;
    display: inline-block;
    width: calc((100% - 60px) / 4);
    height: auto;
    aspect-ratio: 3/4;
    margin: 0 20px 20px 0;
}

.row>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.row>div {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 17%;
    background-color: rgba(0, 0, 0, .4);
    font-weight: bold;
    font-size: 18px;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 850px) {
    .row:nth-child(4n) {
        margin-right: 0;
    }
}

@media (max-width: 849px) {
    .wrap {
        padding: 5vw 3vw 2vw;
    }

    .top-title {
        font-size: 4.6vw;
    }

    .row {
        width: calc((100% - 3vw) / 2);
        height: auto;
        aspect-ratio: 3/4;
        margin: 0 3vw 3vw 0;
    }

    .row:nth-child(2n) {
        margin-right: 0;
    }

    .row>div {
        font-size: 2.1vw;
    }
}