@charset "utf-8";
/* ============================================================
 *  トップページ「お知らせ（news / press 最新）」セクション
 *  既存配色: #164a84(紺) / #d7003a(赤) / #1d61ae(青) を踏襲
 * ============================================================ */

#home-news {
    width: 100%;
    max-width: 64em;
    margin: 5em auto;
    padding: 0 1em;
}

.home-news-head {
    text-align: center;
    margin-bottom: 2em;
}

.home-news-head .en {
    display: block;
    font-size: 90%;
    letter-spacing: 0.2em;
    color: #1d61ae;
    font-weight: 700;
}

.home-news-head .ja {
    display: block;
    font-size: 150%;
    font-weight: 700;
    color: #164a84;
    margin-top: 0.2em;
}

/* カードリスト */
.home-news-list {
    list-style: none;
    margin: 0 0 2em;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.home-news-list li {
    background: #fff;
    border: 1px solid #e2e6ec;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(22, 74, 132, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.home-news-list li:hover {
    box-shadow: 0 6px 18px rgba(22, 74, 132, 0.14);
    transform: translateY(-2px);
    border-color: #c7d3e2;
}

.home-news-list a {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5em 1.25em;
    padding: 1.1em 1.5em;
    text-decoration: none;
    color: #333;
}

.home-news-date {
    flex: 0 0 auto;
    font-size: 90%;
    color: #7a8699;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.home-news-cat {
    flex: 0 0 auto;
    font-size: 78%;
    font-weight: 700;
    color: #fff;
    padding: 0.25em 0.9em;
    border-radius: 999px;
    letter-spacing: 0.03em;
}

.home-news-cat.is-news {
    background: #164a84;
}

.home-news-cat.is-press {
    background: #1d61ae;
}

.home-news-title {
    flex: 1 1 18em;
    min-width: 0;
    font-weight: 700;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-news-list a:hover .home-news-title {
    color: #164a84;
}

.home-news-arrow {
    flex: 0 0 auto;
    color: #b7c1d1;
    font-size: 110%;
    transition: transform 0.2s ease, color 0.2s ease;
}

.home-news-list a:hover .home-news-arrow {
    color: #1d61ae;
    transform: translateX(3px);
}

/* 一覧ボタン（news / press） */
.home-news-more {
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
}

.home-news-more a {
    display: inline-block;
    color: #fff;
    font-weight: 700;
    padding: 0.9em 3em;
    border-radius: 6px;
    background: #1d61ae;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-news-more a.is-press {
    background: #164a84;
}

.home-news-more a:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.home-news-empty {
    text-align: center;
    color: #99a;
    padding: 2em 0;
}

@media screen and (max-width: 640px) {
    #home-news {
        margin: 3em auto;
    }
    .home-news-list a {
        padding: 1em 1.1em;
        gap: 0.4em 0.8em;
    }
    .home-news-title {
        flex-basis: 100%;
        white-space: normal;
    }
    .home-news-arrow {
        display: none;
    }
    .home-news-more a {
        padding: 0.85em 2.4em;
    }
}
