@charset "UTF-8";

/**
 * news/style.css
 * お知らせ一覧ページ専用スタイル
 */

.news-archive-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-item {
    background: transparent;
    border-bottom: 1px solid #eee; /* 記事ごとの区切り線だけ残す */
}

.news-item-inner {
    display: block;
    padding: 20px 5px;
    color: var(--text-main);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.news-date {
    font-family: var(--font-heading);
    color: var(--text-sub);
    font-size: 0.95rem;
}

.news-badge {
    background: var(--bg-cream);
    color: var(--primary-color);
    font-size: 0.75rem;
    padding: 3px 12px;
    border-radius: 4px;
    font-weight: bold;
}

.news-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 1rem;
    color: var(--text-sub);
    line-height: 1.8;
}

.news-link-area {
    margin-top: 20px;
    text-align: right;
}

.news-text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    transition: 0.3s;
}

.news-text-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid #eee;
    text-decoration: none;
    color: var(--text-sub);
    font-weight: bold;
    transition: 0.3s;
}

.page-num:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-num.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .news-item a,
    .news-item-inner {
        padding: 30px 20px;
    }

    .news-title {
        font-size: 1.2rem;
    }

    .news-excerpt {
        font-size: 0.95rem;
    }

    .news-meta {
        gap: 15px;
    }
}
