/* news.css  ─  お知らせページ専用 (common.css 以降に読み込み) */

/* ============================================================
   LIST  ─  お知らせ一覧
   ============================================================ */
.mc-news-container {
    padding: 40px 0 80px;
}

.mc-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mc-news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 40px;
    border-bottom: 1px solid #e0e0e0;
}
.mc-news-item:first-child {
    border-top: 1px solid #e0e0e0;
}

.mc-news-item__body {
    min-width: 0;
}

.mc-news-item__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.mc-news-item__date {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    color: #999;
}

.mc-news-item__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
}
.mc-news-item__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}
.mc-news-item__title a:hover {
    color: #2f8e89;
}

.mc-news-item__more {
    flex-shrink: 0;
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid #2f8e89;
    color: #2f8e89;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    font-weight: 700;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.mc-news-item__more:hover {
    background: #2f8e89;
    color: #fff;
}

.mc-news-empty {
    padding: 60px 0;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    color: #aaa;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.mc-news-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 48px;
}

.mc-news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #d0d0d0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: #333;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.mc-news-pagination .page-numbers.current,
.mc-news-pagination .page-numbers:hover {
    background: #035271;
    border-color: #035271;
    color: #fff;
}
.mc-news-pagination .page-numbers.dots {
    border-color: transparent;
    background: none;
    pointer-events: none;
}
.mc-news-pagination__total {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    margin-left: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    color: #888;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    white-space: nowrap;
}

/* ============================================================
   SINGLE  ─  個別投稿ページ
   ============================================================ */
.mc-news-single-container {
    padding-top: 40px;
}

.mc-news-single {
    max-width: 840px;
    margin: 0 auto;
    padding: 24px 24px 80px;
}

.mc-news-single__header {
    margin-bottom: 28px;
}

.mc-news-single__header_info-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.mc-news-single__date {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    color: #666;
}

.mc-news-single__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mc-news-single__title {
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.45;
    margin-bottom: 10px;
}

.mc-news-single__figure {
    margin: 0 0 32px;
    border-radius: 6px;
    overflow: hidden;
}
.mc-news-single__main-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.mc-news-single__content {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 48px;
}
.mc-news-single__content p {
    margin-bottom: 1.2em;
}
.mc-news-single__content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.mc-news-single__back {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 64px;
}
.mc-news-single__back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border: 1px solid #2f8e89;
    color: #2f8e89;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    font-weight: 700;
    border-radius: 2px;
    text-decoration: none;
    width: fit-content;
    transition: background 0.2s, color 0.2s;
}
.mc-news-single__back-link:hover {
    background: #2f8e89;
    color: #fff;
}
.mc-news-single__back-link img {
    transition: filter 0.2s;
}
.mc-news-single__back-link:hover img {
    filter: brightness(0) invert(1);
}

/* ============================================================
   RESPONSIVE  ─  Mobile  〜 767px
   ============================================================ */
@media (max-width: 767px) {
    .mc-news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 18px 0;
    }
    .mc-news-item__more {
        align-self: flex-start;
    }
    .mc-news-single {
        padding: 16px 16px 60px;
    }
    .mc-news-single__title {
        font-size: 20px;
    }
    .mc-news-single__main-img {
        max-height: 260px;
    }
}
