@charset "utf-8";

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
お知らせ（news）アーカイブページ
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

.news-archive-page {
    padding-top: 70px; /* ヘッダーの高さ分のパディング */
}

.news-archive-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    margin-bottom: 60px;
}

.archive-title {
    text-align: center;
    margin: 0;
}

.archive-title-en {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #007bff;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.archive-title-jp {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
}

.news-archive-content {
    padding: 0 0 80px 0;
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- 新しいニュースリストレイアウト
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.news-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #f8f9fa;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 8px;
    margin: 0 -15px;
}

.news-item-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    margin-right: 25px;
}

.news-date {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 8px;
}

.news-category {
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

/* カテゴリー別の色分け */
.news-category.recruitment {
    background: #0066B3; /* 採用情報 - リクルートブルー */
}

.news-category.event {
    background: #28a745; /* イベント - グリーン */
}

.news-category.company {
    background: #6f42c1; /* 会社情報 - パープル */
}

.news-category.selection {
    background: #fd7e14; /* 選考情報 - オレンジ */
}

.news-category.other {
    background: #6c757d; /* その他 - グレー */
}

/* デフォルトカラー（カテゴリーが未設定の場合） */
.news-category:not(.recruitment):not(.event):not(.company):not(.selection):not(.other) {
    background: #0066B3;
}

.news-item-content {
    flex: 1;
    margin-right: 20px;
}

.news-title {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #0066B3;
}

.news-excerpt {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-action {
    min-width: 100px;
}

.news-read-more {
    display: inline-block;
    background: #0066B3;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.news-read-more:hover {
    background: #0052a3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 102, 179, 0.2);
}

.news-pagination {
    text-align: center;
    margin-top: 60px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .news-archive-page {
        padding-top: 70px;
    }
    
    .news-archive-hero {
        padding: 40px 0;
        margin-bottom: 40px;
    }
    
    .archive-title-jp {
        font-size: 2rem;
    }
    
    .news-archive-content {
        padding: 0 0 60px 0;
    }
    
    .news-list {
        padding: 0 15px;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
        gap: 15px;
    }
    
    .news-item-meta {
        flex-direction: row;
        align-items: center;
        min-width: auto;
        margin-right: 0;
        gap: 15px;
    }
    
    .news-date {
        font-size: 1.2rem;
        margin-bottom: 0;
    }
    
    .news-category {
        font-size: 1.0rem;
        padding: 3px 10px;
    }
    
    .news-item-content {
        margin-right: 0;
        width: 100%;
    }
    
    .news-title {
        font-size: 1.4rem;
    }
    
    .news-excerpt {
        font-size: 1.2rem;
    }
    
    .news-item-action {
        min-width: auto;
        width: 100%;
    }
    
    .news-read-more {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .news-list {
        padding: 0 10px;
    }
    
    .news-item {
        padding: 15px 0;
    }
    
    .news-item-meta {
        gap: 10px;
    }
    
    .news-date {
        font-size: 1.1rem;
    }
    
    .news-category {
        font-size: 0.9rem;
        padding: 2px 8px;
    }
    
    .news-title {
        font-size: 1.3rem;
    }
    
    .news-excerpt {
        font-size: 1.1rem;
    }
}