@charset "utf-8";
.grid1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    row-gap: 30px;
    margin-bottom: 30px;
}

.grid1 .all {
    overflow: hidden;
    background-color: #ffffff;
    padding: 0 10px;
}

.grid2 {
    display: grid;
    grid-template-rows: 3.5rem auto auto;
    gap: 10px;
}

.grid2 h4 {
    line-height: 1em;
}

.grid2 p {
    font-size: clamp(1.2rem, 1.2vw, 1.5rem);
}

.grid2 img {
    object-fit: cover;
    max-height: 300px;
}

.page-numbers {
    margin-right: 10px;
}

.pagination .current {
    color: #1f1f1f;
    font-family: "Yusei Magic", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
}

.pagination a {
    text-decoration: underline;
}

@media screen and (width < 850px){
    .grid1 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (width < 600px){
    .grid1 {
        grid-template-columns: repeat(1, 1fr);
        margin-bottom: 0;
    }
}