.fv {
    max-width: 1100px;
    margin: 0 auto;
}

.fv h1 {
    color: var(--accent-color);
    width: fit-content;
    margin: 1em auto;
}

.fv h1::after {
    width: 55%;
    height: 2px;
    background-color: var(--accent-color);
    content: "";
    display: block;
    margin: 4px auto 0;
}

#article-list {
    margin: 60px auto;
}

#article-list ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    justify-content: center;
    justify-items: center;
    max-width: 1100px;
    list-style: none;
    padding: 0 10px;
    margin: 0 auto;
}

#article-list ul li {
    max-width: 320px;
}

#article-list ul li .event-inner {
    color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    height: 240px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    position: relative;
}

#article-list ul li.end .event-inner::after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    content: "このイベントは終了しました";
    font-size: 20px;
    font-weight: bold;
}

#article-list ul li .article_head {
    margin: 12px 0;
    color: var(--accent-color);
}

#article-list ul li .btn {
    margin: auto 0 0 auto;
    width: fit-content;
    padding: 6px 18px;
    z-index: 15;
}

/*********
ページネーション
**********/
#article-list .pagination {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

#article-list .pagination .pagination_btn {
    display: flex;
    gap: 8px;
}

#article-list .prev-page::before {
    content: "<";
}

#article-list .next-page::after {
    content: ">";
}

#article-list .pagination .current_page {
    border-radius: 40px;
    border: 1px solid #000;
    line-height: 1em;
    aspect-ratio: 1;
    padding: 8px;
    text-align: center;
    width: 1em;
}