@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ===================================
   お知らせアーカイブページ専用スタイル
=================================== */

/* ベースリストスタイル */
.news-archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-archive-list .p-postList__item {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
    transition: background-color 0.2s ease;
}

.news-archive-list .p-postList__item:last-child {
    border-bottom: none;
}

.news-archive-list .p-postList__item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* リンクスタイル */
.news-archive-list .p-postList__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* タイトルスタイル */
.news-archive-list .p-postList__title {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
    color: #333;
}

/* メタ情報（日付） */
.news-archive-list .p-postList__meta {
    margin-bottom: 5px;
}

.news-archive-list .p-postList__date {
    font-size: 14px;
    color: #666;
}

/* カテゴリーラベル共通スタイル */
.news-archive-list .pickup,
.news-archive-list .press {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 8px;
    color: white;
}

/* ピックアップラベル */
.news-archive-list .pickup {
    background-color: #4A90E2;
}

/* プレスリリースラベル */
.news-archive-list .press {
    background-color: #E89AAE;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .news-archive-list .p-postList__item {
        padding: 12px 0;
    }
    
    .news-archive-list .p-postList__title {
        font-size: 15px;
    }
    
    .news-archive-list .p-postList__date {
        font-size: 13px;
    }
}

/* ===================================
   お知らせページ専用スタイル
   子テーマのstyle.css末尾に追加
=================================== */

/* アーカイブページのリストスタイル */
.news-archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-archive-list .p-postList__item {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
    transition: background-color 0.2s ease;
}

.news-archive-list .p-postList__item:last-child {
    border-bottom: none;
}

.news-archive-list .p-postList__item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.news-archive-list .p-postList__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-archive-list .p-postList__title {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
    color: #333;
}

.news-archive-list .p-postList__meta {
    margin-bottom: 5px;
}

.news-archive-list .p-postList__date {
    font-size: 14px;
    color: #666;
}

/* カテゴリーラベル */
.news-archive-list .pickup,
.news-archive-list .press {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 8px;
    color: white;
}

.news-archive-list .pickup {
    background-color: #4A90E2;
}

.news-archive-list .press {
    background-color: #E89AAE;
}

/* ===================================
   個別投稿ページ（前後ナビ + 関連記事）
=================================== */

/* 前後記事ナビゲーション */
.news-post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.news-post-navigation .nav-previous,
.news-post-navigation .nav-next {
    flex: 1;
    max-width: 45%;
}

.news-post-navigation .nav-next {
    text-align: right;
}

.news-post-navigation a {
    display: block;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-post-navigation a:hover {
    color: #333;
}

/* 関連記事セクション（簡素版） */
.news-related-section {
    margin-top: 40px;
    padding: 20px;
    background-color: #f8f9fa;
}

.news-related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.news-related-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.news-archive-link {
    font-size: 14px;
    color: #007cba;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-archive-link:hover {
    color: #005a87;
}

/* シンプルリスト */
.news-simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-simple-item {
    margin-bottom: 8px;
}

.news-simple-item a {
    display: flex;
    text-decoration: none;
    color: inherit;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.news-simple-item a:hover {
    color: #007cba;
}

.news-simple-date {
    flex-shrink: 0;
    width: 80px;
    font-size: 13px;
    color: #666;
    margin-right: 15px;
}

.news-simple-title {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .news-post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .news-post-navigation .nav-previous,
    .news-post-navigation .nav-next {
        max-width: 100%;
        text-align: left;
    }
    
    .news-related-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .news-simple-date {
        width: 70px;
        font-size: 12px;
        margin-right: 10px;
    }
    
    .news-simple-title {
        font-size: 13px;
    }
}