.news-page {
    max-width: 880px;
    margin: 0 auto;
    padding: 24px 16px 64px;
}

/*--------------------------------------------------------------
  finance-frame（横スクロール掲示板）
----------------------------------------------------------------*/
.news-page .finance-frame {
    position: relative;
    background-color: #000;
    color: #f9f9f9;
    width: 100%;
    height: 36px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}
.news-page .finance-frame .bulletin-container {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.news-page .finance-frame .bulletin-message {
    display: inline-block;
    width: auto;
    white-space: pre;
    will-change: transform;
    padding: 0 8px;
}

/*--------------------------------------------------------------
  weatherforecast-today-news（今日の天気）
----------------------------------------------------------------*/
.news-page #weatherforecast-today-news {
    position: relative;
    width: 100%;
    min-height: 160px;
    margin-bottom: 16px;
    background-color: #fdfeff;
    border-radius: 6px;
    overflow: hidden;
}
.news-page #weatherforecast-today-news .forecast-area {
    position: absolute;
    inset: 0;
    width: 100%;
    z-index: 1;
}
.news-page #weatherforecast-today-news .forecast-area img {
    width: 80px;
}
.news-page #weatherforecast-today-news table {
    width: 100%;
    height: 160px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    border: 0;
    background-color: #fdfeff;
}
.news-page #weatherforecast-today-news td {
    border: 0;
    text-align: center;
    vertical-align: top;
    font-size: 0.9rem;
    padding: 4px;
}
.news-page #weatherforecast-today-news td p {
    text-align: center;
    margin: 0;
}
.news-page #weatherforecast-today-news td img {
    display: inline-block;
    width: 70px;
    height: auto;
}
.news-page #weatherforecast-today-news tr:nth-child(1) {
    background-color: #c4e7ff;
    font-size: 0.95rem;
}
.news-page #weatherforecast-today-news .red { color: red; }
.news-page #weatherforecast-today-news .blue { color: blue; }

.news-page__header {
    margin-bottom: 24px;
}

.news-page__title {
    font-size: 1.75rem;
    margin: 0 0 8px;
    border-left: 4px solid #2c6cf4;
    padding-left: 12px;
}

.news-page__lead {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
}

.news-page__tabs {
    margin: 16px 0 24px;
    overflow-x: auto;
}

.news-page__tab-list {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    min-width: max-content;
}

.news-page__tab {
    background: #f3f5f9;
    border: 1px solid #d8dde7;
    border-radius: 9999px;
    padding: 8px 18px;
    font-size: 0.9rem;
    cursor: pointer;
    color: #333;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.news-page__tab:hover {
    background: #e5ebf5;
}

.news-page__tab.is-active {
    background: #2c6cf4;
    color: #fff;
    border-color: #2c6cf4;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.news-list__loading,
.news-list__empty,
.news-list__error {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    padding: 40px 0;
}

.news-list__error {
    color: #c0392b;
}

.news-card {
    background: #fff;
    border: 1px solid #e6e9f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.news-card__thumb {
    aspect-ratio: 16 / 9;
    background: #eef1f7 center/cover no-repeat;
}

.news-card__body {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__source {
    font-size: 0.75rem;
    color: #888;
    margin-top: auto;
}

.news-card.is-skeleton .news-card__thumb {
    animation: news-skeleton 1.2s ease-in-out infinite;
}

.news-card.is-skeleton .news-card__title {
    color: transparent;
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
    background-size: 200% 100%;
    animation: news-skeleton 1.2s ease-in-out infinite;
    border-radius: 4px;
    height: 1.4em;
}

@keyframes news-skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 480px) {
    .news-list {
        grid-template-columns: 1fr;
    }
    .news-page__title {
        font-size: 1.4rem;
    }
}
