/* ─────────────────────────────────────────────────────────
   news.css ─ お知らせ 一覧 + 詳細ページ専用スタイル
   お役立ち情報(blog.css)と意図的にトーンを変える:
   - 報道発表・公式情報のトーン
   - 装飾を最小化・グレースケール基調
   - 中央寄せレイアウト・典籍的(古典的)タイポ
   - 青のアクセントは控えめ
   ───────────────────────────────────────────────────────── */

body.news-page {
    background: var(--paper);
}
body.news-page main {
    padding-top: 84px;
}
body.news-page .reveal,
body.news-page .reveal[data-stagger] > * {
    opacity: 1;
    transform: none;
}

/* ─────────── パンくず(blog/article と共通トーン) ─────────── */
.news-breadcrumb {
    border-bottom: 1px solid var(--rule-2);
    background: var(--paper);
}
.news-breadcrumb-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 0;
    font-size: 11.5px;
    color: var(--ink-3);
    letter-spacing: 0.04em;
}
.news-breadcrumb a {
    color: var(--ink-3);
    text-decoration: none;
    transition: color 0.2s ease;
}
.news-breadcrumb a:hover {
    color: var(--accent);
}
.news-breadcrumb .sep {
    opacity: 0.55;
    font-size: 10px;
}
.news-breadcrumb .current {
    color: var(--ink-2);
    font-weight: 500;
    max-width: 38ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ─────────── ページヘッダー ─ お役立ちとは違い、装飾控えめの新聞調 ─────────── */
.news-archive-hero {
    background: var(--paper);
    padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 5vw, 64px);
    border-bottom: 1px solid var(--rule);
    text-align: center;
}
.news-archive-hero .eyebrow {
    justify-content: center;
    margin-bottom: 28px;
}
.news-archive-hero-title {
    font-size: clamp(44px, 6.2vw, 88px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.06em;
    color: rgba(15, 20, 25, 0.14); /* 太く・大きく・薄く(section-bg-label と同系統) */
    margin: 0 0 24px;
    font-family: "Inter", "Noto Sans JP", sans-serif;
    text-transform: uppercase;
}
.news-archive-hero-title .jp {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    letter-spacing: 0.06em;
    font-size: 0.32em;
    display: block;
    margin-top: 18px;
    color: var(--ink-2);
    text-transform: none;
}
.news-archive-hero-lede {
    font-size: 14px;
    line-height: 2;
    color: var(--ink-2);
    max-width: 56ch;
    margin: 0 auto;
    font-weight: 500;
}

/* ─────────── ツールバー(年 + カテゴリフィルタ) ─────────── */
.news-toolbar {
    border-bottom: 1px solid var(--rule);
    background: rgba(255, 255, 255, 0.85);
    position: sticky;
    top: 92px; /* fixed header(92px) と被らないように */
    z-index: 50;
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.news-toolbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    flex-wrap: wrap;
}
.news-toolbar-group {
    display: flex;
    align-items: center;
    gap: 16px;
}
.news-toolbar-label {
    font-family: "Inter", sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-3);
    padding-right: 16px;
    border-right: 1px solid var(--rule);
    line-height: 1;
}
.news-filter-list {
    display: flex;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-filter-btn {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--ink-2);
    font-family: "Inter", sans-serif;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 8px 14px;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}
.news-filter-btn:hover {
    color: var(--accent);
}
.news-filter-btn.is-active {
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
    padding-bottom: 7px;
}
.news-filter-btn .count {
    color: var(--ink-3);
    font-size: 10px;
    margin-left: 4px;
    font-weight: 400;
}
.news-year-select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 1px solid var(--rule);
    color: var(--ink);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    letter-spacing: 0.06em;
    padding: 8px 32px 8px 14px;
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
        linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
    background-position:
        calc(100% - 16px) 50%,
        calc(100% - 12px) 50%;
    background-size: 4px 4px;
    background-repeat: no-repeat;
}

/* ─────────── ニュースリスト(TOP の news-row を踏襲) ─────────── */
.news-archive-list-wrap {
    padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 96px);
}
.news-archive-list {
    border-top: 1px solid var(--rule);
}
.news-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--ink-3);
    font-size: 14px;
    border-bottom: 1px solid var(--rule);
}
.news-empty strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--ink);
}

/* ─────────── ページネーション(blog.css と統一トーン) ─────────── */
.news-pagination {
    margin-top: clamp(56px, 7vw, 80px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.news-pagination > a,
.news-pagination > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink-2);
    text-decoration: none;
    border: 1px solid var(--rule);
    background: var(--paper);
    transition: all 0.2s ease;
    border-radius: 999px;
}
.news-pagination a:hover {
    color: var(--accent);
    border-color: var(--accent);
}
.news-pagination .is-current {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
    cursor: default;
}
.news-pagination .gap {
    border: 0;
    background: transparent;
    color: var(--ink-3);
    padding: 0 4px;
    min-width: auto;
}
.news-pagination .nav-prev,
.news-pagination .nav-next {
    gap: 8px;
    padding: 0 18px;
}
.news-pagination .nav-disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* ─────────── 詳細ページ ヒーロー(プレスリリース調) ─────────── */
.news-detail-hero {
    background: var(--paper);
    padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
    border-bottom: 1px solid var(--rule);
}
.news-detail-hero > .container-narrow {
    text-align: center;
}
.news-detail-meta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--rule);
    width: 100%;
    justify-content: center;
}
.news-detail-meta .news-tag {
    /* TOP の news-tag スタイル踏襲だが、サイズ調整 */
    padding: 6px 14px;
    font-size: 10.5px;
}
.news-detail-meta .news-date {
    font-size: 13.5px;
    color: var(--ink-2);
    letter-spacing: 0.08em;
}
.news-detail-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.04em;
    color: var(--ink);
    margin: 0 auto;
    max-width: 44ch;
    text-align: center;
}
.news-detail-issuer {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border: 1px solid var(--rule);
    background: var(--paper-2);
}
.news-detail-issuer-label {
    font-family: "Inter", sans-serif;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-3);
    padding-right: 12px;
    border-right: 1px solid var(--rule);
    line-height: 1.4;
}
.news-detail-issuer-brands {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.news-detail-issuer-brands img {
    height: 18px;
    width: auto;
    display: block;
}
.news-detail-issuer-brands .x {
    font-size: 11px;
    color: var(--ink-3);
    padding: 0 4px;
}

/* ─────────── 詳細本文(blog のスタイルより簡素・公式調) ─────────── */
.news-detail-body-wrap {
    padding: clamp(56px, 8vw, 96px) 0;
    background: var(--paper);
}
.news-detail-body {
    max-width: 720px;
    margin: 0 auto;
    font-size: 14.5px;
    line-height: 2.05;
    color: var(--ink);
    font-weight: 500;
}
.news-detail-lead {
    font-size: 15px;
    line-height: 2.1;
    color: var(--ink);
    font-weight: 700;
    margin: 0 0 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--rule);
    letter-spacing: 0.04em;
}
.news-detail-body h2 {
    font-size: clamp(18px, 1.9vw, 22px);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.04em;
    margin: 48px 0 18px;
    padding-left: 14px;
    border-left: 3px solid var(--ink);
    color: var(--ink);
}
.news-detail-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin: 32px 0 12px;
    letter-spacing: 0.04em;
}
.news-detail-body p {
    margin: 0 0 22px;
    color: var(--ink);
    font-weight: 500;
}
.news-detail-body p strong {
    font-weight: 700;
}
.news-detail-body p a,
.news-detail-body li a,
.news-detail-body dd a,
.news-detail-body td a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}
.news-detail-body p a:hover,
.news-detail-body li a:hover,
.news-detail-body dd a:hover,
.news-detail-body td a:hover {
    opacity: 0.7;
}
.news-detail-body ul,
.news-detail-body ol {
    margin: 0 0 24px;
    padding-left: 22px;
    color: var(--ink);
}
.news-detail-body li {
    margin-bottom: 8px;
    line-height: 1.95;
}
.news-detail-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 13px;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}
.news-detail-body th,
.news-detail-body td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--rule);
    vertical-align: top;
    line-height: 1.8;
}
.news-detail-body th {
    background: var(--paper-2);
    color: var(--ink);
    font-weight: 700;
    width: 28%;
    letter-spacing: 0.04em;
}

/* お問い合わせ先ブロック(プレスリリース定番) */
.news-contact-box {
    margin: 56px 0 0;
    padding: 32px 36px;
    border: 1px solid var(--rule);
    background: var(--paper-2);
}
.news-contact-box-head {
    font-family: "Inter", sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 14px;
}
.news-contact-box h4 {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.04em;
}
.news-contact-box p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.9;
    color: var(--ink-2);
}
.news-contact-box dl {
    margin: 0;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 6px 24px;
    font-size: 13px;
    line-height: 1.9;
}
.news-contact-box dt {
    color: var(--ink-3);
    font-weight: 500;
    letter-spacing: 0.04em;
}
.news-contact-box dd {
    margin: 0;
    color: var(--ink);
    font-weight: 500;
}

/* 詳細フッター(PDFダウンロード + シェア + 一覧へ戻る) */
.news-detail-foot {
    max-width: 720px;
    margin: 56px auto 0;
    padding-top: 32px;
    border-top: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.news-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.news-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1px solid var(--rule);
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-decoration: none;
    line-height: 1;
    transition: all 0.2s ease;
    background: var(--paper);
    border-radius: 9999px;
}
.news-detail-btn:hover {
    color: var(--ink);
    border-color: var(--ink);
    background: var(--paper);
}

/* ─────────── 関連お知らせ(下部) ─ リスト形式で軽量に ─────────── */
.news-related {
    padding: clamp(56px, 8vw, 96px) 0;
    background: var(--paper-2);
    border-top: 1px solid var(--rule);
}
.news-related-head {
    text-align: center;
    margin-bottom: clamp(32px, 4vw, 48px);
}
.news-related-head .eyebrow {
    justify-content: center;
}
.news-related-head h2 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 16px 0 0;
    color: rgba(15, 20, 25, 0.14); /* NEWSROOM と同系統:太く・薄く */
    text-transform: uppercase;
    font-family: "Inter", "Noto Sans JP", sans-serif;
    line-height: 1.1;
}
.news-related-list {
    max-width: 880px;
    margin: 0 auto;
    border-top: 1px solid var(--rule);
}
/* news-related 内のリスト行は背景なしの paper-2 ベースを引き継ぐ */
.news-related .news-row {
    background: transparent;
}
.news-related .news-row:hover {
    background: rgba(0, 0, 0, 0.025);
}

/* ─────────── レスポンシブ ─────────── */
@media (max-width: 740px) {
    .news-toolbar {
        top: 76px;
    }
    .news-toolbar-inner {
        gap: 12px;
    }
    .news-toolbar-label {
        display: none;
    }
    .news-filter-list {
        flex-wrap: wrap;
    }
    .news-detail-meta {
        flex-direction: column;
        gap: 12px;
    }
    .news-detail-foot {
        flex-direction: column;
        align-items: stretch;
    }
    .news-pagination .nav-prev .label,
    .news-pagination .nav-next .label {
        display: none;
    }
}

/* news-row のモバイル時の調整は styles.css にあるが、お知らせアーカイブでは
   日付・タグ・タイトル・矢印の4列レイアウトを狭幅でも崩さないようにする */
@media (max-width: 640px) {
    .news-archive-list .news-row {
        grid-template-columns: auto auto 1fr;
        gap: 12px 14px;
        padding: 20px 8px;
    }
    .news-archive-list .news-row .news-arrow {
        display: none;
    }
    .news-archive-list .news-row .news-title {
        grid-column: 1 / -1;
        font-size: 13.5px;
    }
}
