/* sec.css - お知らせページ専用CSS（一覧・詳細統合版） */
/* TOPページのstyle.cssを読み込んだ後に読み込むことを想定 */

/* ページタイトルセクション（元のsec.css版） */
.page-title {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 82px;
        padding: 70px 0 40px;
}

.page-title-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-title-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1d3796;
    z-index: 2;
}

.page-title-inner {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 0px;
}

.page-title h1 {
    font-size: 30px;
    font-weight: bold;
    color: white;
    margin-bottom: 0px;
}

.page-title-en {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: white;
}

/* パンくずリスト（詳細ページ用） */
.breadcrumb {
    background: #F8F8F8;
    padding: 15px 0;
    border-bottom: 1px solid #E0E0E0;
}

.breadcrumb-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    font-size: 14px;
    color: #666;
}

.breadcrumb-item:not(:last-child):after {
    content: '>';
    margin-left: 10px;
    color: #999;
}

.breadcrumb-link {
    color: #666;
    transition: color 0.3s;
    display: inline-block;
}

.breadcrumb-link:hover {
    color: #2E7CD6;
}

.breadcrumb-item.current {
    color: #333;
    font-weight: 500;
}

/* ニュース一覧セクション */
.news-list-section {
    background: white;
    padding: 60px 0;
}

.news-list-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-list-section .news-list {
    border-top: 1px solid #DDD;
}

.news-list-section .news-item {
    padding: 30px 0;
    border-bottom: 1px solid #DDD;
    transition: background 0.3s;
}

.news-list-section .news-item:hover {
    background: #F9F9F9;
}

.news-item-link {
    display: block;
    color: inherit;
    padding:  0 20px;
}

.news-item-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.news-list-section .news-date {
    font-size: 14px;
    color: #666;
    min-width: 100px;
    background: #F5F5F5;
    padding: 8px 16px;
    border-radius: 8px;
}

.news-category {
    font-size: 12px;
    color: white;
    background: #333;
    padding: 6px 12px;
    border-radius: 12px;
    min-width: 80px;
    text-align: center;
}

.news-category.important {
    background: #FF4444;
}

.news-category.event {
    background: #2E7CD6;
}

.news-category.general {
    background: #333;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #DDD;
    color: #333;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #FFD700;
    color: white;
    border-color: #FFD700;
}

.pagination .current {
    background: #333;
    color: white;
    border-color: #333;
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 15px;
    font-size: 14px;
}

/* ニュース詳細セクション */
.news-detail-section {
    background: white;
    padding: 60px 0;
}

.news-detail-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 記事ヘッダー */
.news-detail-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #F0F0F0;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.news-detail-date {
    font-size: 14px;
    color: #666;
    background: #F5F5F5;
    padding: 8px 16px;
    border-radius: 8px;
}

.news-detail-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}

/* 記事本文 */
.news-detail-content {
    line-height: 1.8;
    color: #333;
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-content h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFD700;
}

.news-detail-content h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 30px 0 15px 0;
}

/* 情報ボックス */
.info-box {
    background: #F6F9FF;
    border: 1px solid #D6E7FF;
    border-left: 4px solid #2E7CD6;
    padding: 25px;
    margin: 30px 0;
    border-radius: 4px;
}

.info-box h3 {
    font-size: 18px;
    font-weight: bold;
    color: #2E7CD6;
    margin: 0 0 15px 0;
    border: none;
    padding: 0;
}

.info-box p {
    margin-bottom: 10px;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* コンタクトボックス */
.contact-box {
    background: #FFF9E6;
    border: 1px solid #FFE6B3;
    border-left: 4px solid #FFD700;
    padding: 25px;
    margin: 30px 0;
    border-radius: 4px;
}

.contact-box h4 {
    font-size: 16px;
    font-weight: bold;
    color: #B8860B;
    margin: 0 0 15px 0;
}

.contact-box p {
    margin-bottom: 10px;
}

.contact-box p:last-child {
    margin-bottom: 0;
}

/* 署名 */
.signature {
    text-align: right;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #E0E0E0;
    color: #666;
    font-size: 14px;
}

/* 記事フッター */
.news-detail-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #F0F0F0;
}

.news-detail-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-list-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F5F5F5;
    color: #333;
    padding: 12px 20px;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 500;
}

.back-to-list-btn:hover {
    background: #E0E0E0;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-label {
    font-size: 14px;
    color: #666;
    margin-right: 5px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.3s;
    color: white;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.twitter:hover {
    background: #0D8BD9;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.facebook:hover {
    background: #0C5BBE;
}

.share-btn.line {
    background: #00B900;
}

.share-btn.line:hover {
    background: #009900;
}

/* 関連記事 */
.related-news {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #F0F0F0;
}

.related-news-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid #FFD700;
}

.related-news-list {
    display: grid;
    gap: 20px;
}

.related-news-item {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.related-news-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.related-news-link {
    display: block;
    padding: 20px;
    color: inherit;
}

.related-news-date {
    font-size: 12px;
    color: #666;
    background: #F5F5F5;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.related-news-title-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

/* ヘッダーの調整（下層ページ用） */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.header-inner {
    height: 82px;
}

.header .logo img {
    height: 82px;
    opacity: 0.9;
}

/* レスポンシブ（タブレット・スマホ） */
@media (max-width: 1024px) {
    .page-title h1 {
        font-size: 30px;
    }

    .page-title-en {
        font-size: 20px;
    }

    .page-title-inner {
        padding: 20px 20px;
    }

    .breadcrumb-container {
        padding: 0 20px;
    }

    .news-list-container,
    .news-detail-container {
        padding: 0 20px;
    }

    .news-detail-title {
        font-size: 24px;
    }

    .news-detail-meta,
    .news-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-detail-actions {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .share-buttons {
        justify-content: center;
    }

    .info-box,
    .contact-box {
        padding: 20px;
        margin: 20px 0;
    }

    .breadcrumb-list {
        gap: 5px;
    }

    .breadcrumb-item:not(:last-child):after {
        margin-left: 5px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }

    .pagination a,
    .pagination span {
        width: 35px;
        height: 35px;
    }
}