@charset "UTF-8";

/* =========================================================
   お知らせ・更新情報ページ（/news/）専用スタイル
   hotmelt8.com ブランドカラー（濃紺 #0e2f47 × オレンジ #e97730）準拠
   ========================================================= */

.news-page {
    background-color: #f6f8fb;
    color: #1c2b3a;
}

.news-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.news-container--narrow {
    max-width: 820px;
}

/* パンくずバー */
.news-breadcrumb-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 20px;
}

.news-breadcrumb-bar .breadcrumb {
    max-width: 1080px;
    margin: 0 auto;
}

/* ヘッダー */
.news-hero {
    background: linear-gradient(135deg, #0e2f47 0%, #163f5e 100%);
    color: #ffffff;
    padding: 44px 0 38px;
}

.news-eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #f4a261;
    margin: 0 0 8px;
}

.news-hero__title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px;
    color: #ffffff;
}

.news-hero__lead {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    max-width: 740px;
    margin: 0 0 24px;
}

/* カテゴリ絞り込みタブ */
.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.news-filter:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.news-filter.is-active {
    background: #e97730;
    border-color: #e97730;
    color: #ffffff;
}

.news-filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.22);
    color: #ffffff;
}

/* メインセクション */
.news-section {
    padding: 40px 0 64px;
}

/* 共通メタ（カテゴリバッジ＋日付） */
.news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.news-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.news-badge--product {
    background: #fff1e6;
    color: #c25510;
    border: 1px solid #f7caa8;
}

.news-badge--guide {
    background: #e6f2fa;
    color: #0e4a73;
    border: 1px solid #b8d8ee;
}

.news-badge--info {
    background: #eef2f6;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.news-date {
    font-size: 13px;
    font-weight: 700;
    color: #5b6d80;
    letter-spacing: 0.04em;
}

/* 最新ピックアップカード */
.news-featured {
    margin-bottom: 36px;
}

.news-featured__link {
    display: block;
    position: relative;
    background: #ffffff;
    border: 2px solid #e97730;
    border-radius: 14px;
    padding: 28px 32px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 26px rgba(14, 47, 71, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-featured__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(14, 47, 71, 0.14);
}

.news-featured__tag {
    display: inline-block;
    background: #e97730;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.news-featured__title {
    font-size: clamp(20px, 2.6vw, 24px);
    font-weight: 800;
    color: #0e2f47;
    line-height: 1.45;
    margin: 0 0 10px;
}

.news-featured__excerpt {
    font-size: 15px;
    line-height: 1.75;
    color: #425466;
    margin: 0 0 16px;
}

.news-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 800;
    color: #d9621a;
}

/* 過去一覧見出し */
.news-grid-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d8e2ec;
}

.news-grid-head__title {
    font-size: 19px;
    font-weight: 800;
    color: #0e2f47;
    margin: 0;
}

.news-grid-head__count {
    font-size: 13px;
    font-weight: 700;
    color: #5b6d80;
}

/* 2カラムカードグリッド */
.news-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.news-grid__item {
    display: flex;
}

.news-card {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    padding: 22px 24px 48px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(14, 47, 71, 0.04);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
    border-color: #e97730;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(14, 47, 71, 0.1);
}

.news-card__title {
    font-size: 17px;
    font-weight: 800;
    color: #0e2f47;
    line-height: 1.5;
    margin: 0 0 10px;
}

.news-card__excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: #4a5c6d;
    margin: 0;
}

.news-card__arrow {
    position: absolute;
    right: 18px;
    bottom: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #0e2f47;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.news-card:hover .news-card__arrow {
    background: #e97730;
    border-color: #e97730;
    color: #ffffff;
}

/* 個別記事詳細 */
.news-article__header {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 14px 14px 0 0;
    padding: 32px 34px 24px;
    border-bottom: 1px solid #e8eef5;
}

.news-article__title {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    color: #0e2f47;
    line-height: 1.4;
    margin: 4px 0 12px;
}

.news-article__lead {
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

.news-article__body {
    background: #ffffff;
    border-left: 1px solid #d9e2ec;
    border-right: 1px solid #d9e2ec;
    padding: 28px 34px;
}

.news-article__body h2 {
    font-size: 19px;
    font-weight: 800;
    color: #0e2f47;
    padding-left: 12px;
    border-left: 4px solid #e97730;
    margin: 24px 0 12px;
}

.news-article__body h2:first-child {
    margin-top: 0;
}

.news-article__body p {
    font-size: 15px;
    line-height: 1.85;
    color: #243447;
    margin: 0 0 14px;
}

.news-article__cta {
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-radius: 0 0 14px 14px;
    padding: 24px 34px;
}

.news-article__cta h2 {
    font-size: 16px;
    font-weight: 800;
    color: #0e2f47;
    margin: 0 0 14px;
}

.news-article__cta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.news-article__footer {
    margin-top: 24px;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #0e2f47;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
}

.news-back-link:hover {
    border-color: #e97730;
    color: #d9621a;
}

/* ボタン・空状態 */
.news-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.news-btn--primary {
    background: #e97730;
    color: #ffffff;
}

.news-btn--primary:hover {
    background: #cf621e;
}

.news-btn--outline {
    background: #ffffff;
    color: #0e2f47;
    border: 1px solid #0e2f47;
}

.news-btn--outline:hover {
    background: #0e2f47;
    color: #ffffff;
}

.news-empty-box {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    padding: 40px 28px;
    text-align: center;
}

.news-empty-box__title {
    font-size: 22px;
    font-weight: 800;
    color: #0e2f47;
    margin: 0 0 12px;
}

.news-empty-box__lead {
    font-size: 15px;
    color: #475569;
    margin: 0 0 22px;
}

/* =========================================================
   フッター「更新情報 / ニュース」連動用 追加スタイル
   （layout_v04.css へ追記、または全ページ共通CSSで読み込み）
   ========================================================= */
.ft-news__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.ft-news__cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 3px;
    background: rgba(233, 119, 48, 0.22);
    color: #ffbe8f;
    line-height: 1.4;
}

.ft-news__more {
    margin-top: 14px;
    text-align: right;
}

.ft-news__more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #ffbe8f;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 190, 143, 0.35);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ft-news__more-link:hover {
    background: rgba(233, 119, 48, 0.2);
    color: #ffffff;
}

/* モバイル最適化（〜767px / 390px検証基準） */
@media (max-width: 767px) {
    .news-hero {
        padding: 30px 0 26px;
    }

    .news-featured__link {
        padding: 20px 18px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .news-card {
        padding: 18px 18px 44px;
    }

    .news-article__header,
    .news-article__body,
    .news-article__cta {
        padding-left: 18px;
        padding-right: 18px;
    }

    .ft-news__more {
        text-align: left;
    }
}
