main{
	font-size: 10px;
	width: 100em;
	margin: 8em auto 0;
}
.contents{
    width: 100%;
    margin: 0 auto;
}
.contents > ul{
    display: flex;
    flex-wrap: wrap;
    gap: 2em 2%;
}
.contents > ul > li{
    width: 32%;
}
.contents > ul > li img{
    width: 100%;
    margin: 0 0 1em;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1/1;
}
.contents > ul > li small{
    color: #000;
    font-size: 1.4em;
    margin: 0 0 .5em;
    display: block;
    font-weight: 400;
}
.contents > ul > li span{
    color: #000;
    font-size: 1.2em;
    line-height: 1.5em;
    font-weight: 400;
}
.navigation{
    margin: 4em 0 0;
}
.navigation h2{
    display: none;
}
.page-numbers{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2em;
}
.contents .prev{
    width: 3em;
    aspect-ratio: 1/1;
    background: #666;
    position: relative;
    font-size: 10px;
}
.contents .prev::before{
    content: '';
    width: 1em;
    aspect-ratio: 1/1;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    transform-origin: -25% 50%;
    left: 50%;
}
.contents .next{
    width: 3em;
    aspect-ratio: 1/1;
    background: #666;
    position: relative;
    font-size: 10px;
}
.contents .next::before{
    content: '';
    width: 1em;
    aspect-ratio: 1/1;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    transform-origin: 75% -50%;
    left: 50%;
}
.page-numbers li{
    font-size: 1.4em;
}
.page-numbers li a{
    color: #000;
    font-weight: 400;
}

@media screen and (max-width:1200px) {
    main{
        width: 92%;
    }
}

@media screen and (max-width:768px) {
    .contents{
        width: 100%;
    }
    .contents > ul > li{
        width: 49%;
    }
    .page-numbers li{
        font-size: 1.2em;
    }
    .page-numbers{
        margin: 0;
        gap: 0;
    }
    .navigation{
        margin: 3em 0 2em;
        border: none;
        display: flex;
        justify-content: center;
    }
    .contents .next,.contents .prev{
        width: 2.6em;
    }
}