
.container {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 2rem;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
    justify-content: center;
}

.news-card {
    display: block;
    background: white;
    border-radius: 5px;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 0 1px #000;
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
    .news-img img {
        transform: scale(1);
        transition: all 0.3s ease-in-out;
    }
    &:hover {
        .news-img {
            transition: all 0.3s ease-in-out;
            img {
                transform: scale(1.05);
                transition: all 0.3s ease-in-out;
                opacity: 0.5;
            }
        }
    }
}


.news-img {
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 2.13/1;
    position: relative;
}

.news-img img {
    width: 100%;
}
.meta {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}
.metatag {
    font-size: 0.875rem;
    color: #6b7280;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
    border-radius: 100px;
}

.category-notice {
    background: #d1fae5;
    color: #065f46;
    border: #065f46 1px solid;
}

.category-bug {
    background: #e5e7eb;
    color: #374151;
    border: #374151 1px solid;
}

.category-update {
    background: #dbeafe;
    color: #1d4ed8;
    border: #1d4ed8 1px solid;
}
.category-maintenance {
    background: #f0e3ff;
    color: #771cb9;
    border: #771cb9 1px solid;
}
.category-update {
    background: #ffe3fc;
    color: #b91c8c;
    border: #b91c8c 1px solid;
}
.category-event {
    background: #fef9c3;
    color: #b45309;
    border: #b45309 1px solid;
}
.category-survey {
    background: #ede0ff;
    color: #21406f;
    border: #21406f 1px solid;
}
.category-recruit {
    background: #f1d0ff;
    color: #3f09b4;
    border: #3f09b4 1px solid;
}

.pagination {
    margin-top: 2.5rem;
    text-align: center;
}

.pagination a {
    display: inline-block;
    margin: 0 0.25rem;
    padding: 0.75rem 1.25rem;
    background: #d1d5db;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #374151;
    font-weight: 700;
    transition-property: background-color;
    transition-duration: 200ms;
}

.pagination a:hover {
    background: #9ca3af;
}

.pagination a.active {
    background: #1f2937;
    color: #fff;
}

.pagination a.active:hover {
    background: #374151;
}

.infos {
  display: -webkit-box;
  -webkit-line-clamp: 3;       /* 最大3行まで */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
