/* ==========================================================================
   Page: News List (新着情報一覧)
   ========================================================================== */

.page-hero__title {
    text-align: center;
}

.site-main--news {
    --staff-coral: #fc7a62;
    --staff-blue: #4875be;
    --staff-text: #3f3838;
    --staff-border: #eaded9;
    background-color: #fff;
}

.news-index {
    position: relative;
    z-index: 2;
    margin-top: -40px;
    padding: 5rem 4rem 4rem;
    background-color: #fff;
    border-radius: 40px 40px 0 0;
}

.news-index__inner {
    max-width: 900px;
    margin: 0 auto;
}

.news-index__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0 auto 2.8rem;
}

.news-index__tab {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 48px;
    padding: 0.8rem 0.9rem 0.8rem 1.25rem;
    background-color: #fdf6f4;
    border-radius: 4px;
    text-decoration: none;
    color: var(--staff-text);
}

.news-index__tab.is-active {
    background-color: #fff5f2;
}

.news-index__tab-eyebrow {
    color: #ddc3bc;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1;
}

.news-index__tab-title {
    flex: 1;
    color: var(--staff-text);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.5;
}

.news-index__tab-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    background-color: var(--staff-coral);
}

.news-index__tab--blue .news-index__tab-arrow {
    background-color: var(--staff-blue);
}

.news-index__list {
    margin-top: 1rem;
}

.news-index-item {
    border-top: 1px solid transparent;
    border-bottom: 1px dashed var(--staff-border);
}

.news-index-item__link {
    display: block;
    padding: 1.3rem 0 1.4rem;
    color: inherit;
    text-decoration: none;
}

.news-index-item__header {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 0.9rem 1rem;
    align-items: center;
}

.news-index-item__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.7rem;
    padding: 0.2rem 0.45rem;
    color: var(--staff-coral);
    background-color: #fff;
    border: 1px solid var(--staff-coral);
    border-radius: 3px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
}

.news-index-item__date {
    color: #666;
    font-size: 0.75rem;
    line-height: 1.6;
    white-space: nowrap;
}

.news-index-item__title {
    margin: 0;
    color: var(--staff-text);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-index-item__excerpt {
    grid-column: 3;
    margin: 0.65rem 0 0;
    color: #555;
    font-size: 0.875rem;
    line-height: 2;
    padding-inline: 5.6rem;
}

.news-index__pagination {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 2.5rem;
}

.news-index__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 0.55rem;
    border-radius: 4px;
    background-color: #f7ece8;
    color: var(--staff-text);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1;
    box-sizing: border-box;
}

.news-index__pagination .page-numbers--arrow {
    min-width: 28px;
    padding: 0;
    background-color: #ff5212cf;
    color: #d3d3d3;
}

.news-index__pagination .page-numbers--disabled {
    opacity: 0.75;
}

.news-index__pagination .page-numbers.current {
    background-color: #fc9a86;
    color: #fff;
}

.news-index__pagination .page-numbers:not(.current):not(.page-numbers--arrow) {
    background-color: #f7ece8;
    color: var(--staff-text);
}

.news-index__empty {
    margin: 0;
    padding: 2rem 0;
    color: #666;
    text-align: center;
    font-size: 0.875rem;
}

.footer-banner.footer-banner--v2.footer-banner--news {
    background-color: #ffffff;
}

.footer-banner--news .breadcrumbs--banner {
    background-color: #fdf6f4;
    margin: 0 auto 3rem;
}

@media (max-width: 768px) {
    .news-index {
        padding: 4rem 2rem 3rem;
        border-radius: 24px 24px 0 0;
    }

    .news-index__tabs {
        grid-template-columns: 1fr;
    }

    .news-index-item__header {
        grid-template-columns: auto auto 1fr auto;
    }

    .news-index-item__title {
        white-space: normal;
    }

    .news-index-item__excerpt {
        grid-column: 1 / -1;
    }
}

@media (max-width: 540px) {
    .news-index {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}
