@charset "utf-8";

/* ============================================================
   notification.css - N-1 TAXI PORTAL [Final Design Edition]
   - 修正点：セクション全体を淡いネイビー（#f2f5f8）に変更
   - 修正点：ニュース（紺）と採用（金ライン）のボックスデザインを最適化
   - 修正点：全ボタンのホバー演出を「青→ゴールド」に統一
   ============================================================ */

/* --- 全体セクション背景設定 --- */
.news-store-section {
    background-color: #f2f5f8; 
    padding: 80px 0;
}

/* --- 0. スクロール演出・アニメーション初期設定 --- */
.reveal-up,
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), 
                transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
    pointer-events: none;
}

.reveal-up.is-visible,
.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

[id^="news-"] {
    scroll-margin-top: 120px;
}

/* --- 1. 全体コンテナ --- */
.news-store-container {
    width: 94%;
    max-width: 1300px;
    margin: 0 auto; 
    display: flex;
    gap: 70px;
    align-items: stretch;
}

/* ニュース側：メイン */
.main-priority {
    flex: 2.2;
    position: relative;
}

/* ------------------------------------------------------------
   リクルート側：サブ（ゴールドライン強調版）
   ------------------------------------------------------------ */
.sub-priority {
    flex: 1;
    padding: 35px 30px 85px;
    background: #ffffff; 
    position: relative;
    border-radius: 2px;
    border: 1px solid #e1e8ed; 
    border-top: 4px solid #d4a74a !important; 
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.05);
    overflow: hidden;
}

/* ------------------------------------------------------------
   ニュースコンテンツ外枠（ネイビーライン）
   ------------------------------------------------------------ */
.news-content-wrapper {
    display: flex;
    background: #fff;
    position: relative;
    padding-bottom: 75px;
    height: 100%;
    border-radius: 2px;
    border: 1px solid #e1e8ed;
    border-top: 4px solid #003366 !important; 
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.05);
    overflow: hidden;
}

.news-main-body {
    flex-grow: 1;
    padding: 35px 60px 10px; 
}

/* --- 3. セクションヘッダー --- */
.section-header {
    padding: 0 0 25px 0;
    display: block;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 0;
}

.title-wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sub-title {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    color: #d4a74a; 
    letter-spacing: 0.3em;
    font-weight: 700;
}

.header-title {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: 0.05em;
    margin: 0;
}

/* --- 4. 一覧ボタン共通設定（ホバー効果統一：青 → ゴールド） --- */
a.view-more-line {
    position: absolute;
    right: 30px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 5px 5px 25px;
    background: #ffffff !important;
    border: 1px solid #003366 !important; /* 初期状態は青 */
    color: #000000 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    z-index: 5;
    line-height: 1;
}

a.view-more-line::after {
    content: "→";
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #003366; /* 初期状態は青 */
    color: #ffffff;
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* ホバー時の挙動：枠線と中の丸をゴールドに変更（共通） */
a.view-more-line:hover {
    transform: translateY(-3px);
    border-color: #d4a74a !important; /* 枠線をゴールドに */
    box-shadow: 0 5px 15px rgba(212, 167, 74, 0.2);
}

a.view-more-line:hover::after {
    background: #d4a74a !important; /* 中の丸をゴールドに */
}

/* --- 5. 通知リスト --- */
.notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-link {
    display: flex;
    align-items: center;
    padding: 24px 0;
    text-decoration: none;
    border-bottom: 1px solid #f2f2f2;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.news-num { display: none !important; }

.news-body {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.date {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: #bbb;
    width: 110px;
    font-size: 14px;
    flex-shrink: 0;
}

.article-title {
    color: #444;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    padding-right: 15px;
    transition: 0.3s;
}

.sub-priority .article-title {
    font-size: 15px;
    color: #555;
}

.news-arrow {
    width: 22px;
    height: 1px;
    background: #ddd;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.news-arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    transform: translateY(-50%) rotate(45deg);
}

/* リストホバー時のインタラクション */
.news-link:hover {
    padding-left: 8px;
    background: rgba(0, 84, 164, 0.02);
}
.news-link:hover .article-title { color: #0054a4; }
.news-link:hover .news-arrow { background: #0054a4; width: 30px; }
.news-link:hover .news-arrow::after { border-color: #0054a4; }

/* --- 6. レスポンシブ --- */
@media screen and (max-width: 960px) {
    .news-store-section {
        padding: 60px 0;
    }
    .news-store-container {
        flex-direction: column;
        gap: 60px;
        width: 92%;
    }
    .main-priority, .sub-priority {
        width: 100%;
        flex: none;
    }
}

@media screen and (max-width: 768px) {
    .news-content-wrapper { 
        flex-direction: column; 
        padding-bottom: 70px; 
    }
    
    .news-main-body { 
        padding: 30px 20px 5px; 
    }

    a.view-more-line {
        right: 20px;
        bottom: 15px;
        padding: 5px 5px 5px 20px;
        font-size: 12px;
    }
    a.view-more-line::after {
        width: 28px;
        height: 28px;
    }

    .news-link {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 0;
    }
    .news-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .date { width: auto; }
    .news-arrow { display: none; }
}