@charset "UTF-8";

/* ここから修正 */
.t-news-section {
    margin: 4rem 0;
}
.t-news-section a {
    text-decoration: none;
}
.t-news-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    color: #ffffff;
    letter-spacing: 0.1em;
}
.t-news-title::after {
    content: '';
    display: block;
    width: 4rem;
    height: 2px;
    background: var(--color-accent, #896d6d);
    margin: 1rem auto 0;
}

.bg-t-news {
    background-color: var(--color-bg-dark, #0f0f0f);
}

/* トップページ用カードレイアウト (横並び・中央寄せ・3列) */
.t-news-top-wrapper { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center;
    gap: 2rem; 
    padding: 1rem; 
}

.t-news-card { 
    flex: 0 1 calc(33.333% - 1.34rem);
    min-width: 25rem;
    max-width: 32rem;
    background: #181818; 
    border-radius: 0 !important; 
    border: 1px solid #2a2a2a;
    border-left: 3px solid var(--color-accent, #896d6d);
    padding: 2.4rem; 
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3); 
    transition: all 0.3s ease; 
    display: flex; 
    flex-direction: column; 
    text-decoration: none; 
}
.t-news-card:hover { 
    transform: translateY(-4px); 
    background: #202020;
    border-color: #3a3a3a;
    border-left-color: #b59292;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); 
}

.t-news-meta { 
    display: flex; 
    align-items: center; 
    gap: 1.2rem; 
    margin-bottom: 1.2rem; 
    flex-wrap: wrap; 
}
.t-news-date { 
    font-size: 1.3rem; 
    color: #888888; 
    font-family: 'Cinzel', monospace, sans-serif;
    letter-spacing: 0.05em;
}
.t-news-cat { 
    font-size: 1.1rem; 
    background: #252525; 
    color: #d5d5d5; 
    padding: 0.2rem 1rem; 
    border-radius: 0 !important; 
    border: 1px solid #383838;
    font-weight: 500; 
    letter-spacing: 0.03em;
}

/* NEWバッジのスタイル */
.t-news-new-badge {
    font-size: 1.1rem;
    background: var(--color-alert, #9E3B3C);
    color: #ffffff;
    padding: 0.2rem 0.8rem;
    border-radius: 0 !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 6px rgba(158, 59, 60, 0.4);
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.t-news-card-title { 
    font-size: 2rem !important; 
    font-weight: 600; 
    margin-top: 1rem; 
    margin-bottom: 1rem;
    line-height: 1.5; 
    color: #ffffff; 
}
.t-news-card-title a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.2s ease;
}
.t-news-card-title a:hover {
    color: #d1b1b1 !important;
}

.t-news-excerpt { 
    font-size: 1.3rem; 
    color: #a0a0a0; 
    margin-bottom: 1rem; 
    flex-grow: 1; 
    line-height: 1.7;
}
.t-news-readmore { 
    font-size: 1.3rem; 
    color: var(--color-accent, #896d6d); 
    font-weight: 500; 
    text-align: right; 
    transition: color 0.2s ease;
}
.t-news-card:hover .t-news-readmore {
    color: #d1b1b1;
}

.t-news-list { 
    display: flex; 
    flex-direction: column; 
    gap: 1.6rem; 
}
.t-news-list-item { 
    background: #181818; 
    border-radius: 0 !important; 
    border: 1px solid #282828;
    border-left: 3px solid var(--color-accent, #896d6d);
    padding: 2rem 2.4rem; 
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3); 
    transition: all 0.3s ease;
}
.t-news-list-item:hover {
    background: #1e1e1e;
    border-color: #383838;
    border-left-color: #b59292;
}
.t-news-list-item a { 
    text-decoration: none; 
}

.t-news-detail-title {
    font-size: 2.4rem !important; 
    font-weight: 700;
    color: #ffffff !important;
    border-bottom: 1px solid #333333 !important; 
    padding-bottom: 1.5rem; 
    margin-bottom: 2rem;
    line-height: 1.4;
}

.t-news-content { 
    font-size: 1.5rem; 
    line-height: 1.9; 
    color: #cccccc;
    margin-top: 2rem; 
    padding: 0 0 3rem 0;
}
.t-news-content a { 
    font-size: 1.5rem; 
    line-height: 1.8; 
    margin-top: 2rem; 
    text-decoration: underline; 
    color: #d1b1b1 !important;
    transition: color 0.2s ease;
}
.t-news-content a:hover {
    color: #ffffff !important;
}

/* 詳細ページの画像とコメントのスタイル */
.t-news-figure { 
    text-align: center; 
    margin: 3rem 0; 
}
.t-news-figure img { 
    max-width: 100%; 
    border-radius: 0 !important; 
    border: 1px solid #333333;
    display: inline-block; 
}
.t-news-figcaption { 
    font-size: 1.3rem; 
    color: #999999; 
    margin-top: 0.8rem; 
    text-align: center; 
}

/* ボタン・リンク関係のシックなカスタマイズ */
.t-news-more-wrapper {
    margin-top: 3rem;
    text-align: right;
}
.t-news-more-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--color-accent, #896d6d);
    color: #ffffff !important;
    font-size: 1.4rem;
    text-decoration: none !important;
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 0 !important;
    letter-spacing: 0.05em;
}
.t-news-more-link:hover {
    background: var(--color-accent, #896d6d);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(137, 109, 109, 0.3);
}

.t-news-back-wrapper {
    margin-top: 4rem;
    text-align: center;
}
.t-news-back-link {
    display: inline-block;
    padding: 0.8rem 2.4rem;
    border: 1px solid #444444;
    color: #cccccc !important;
    font-size: 1.4rem;
    text-decoration: none !important;
    background: #181818;
    transition: all 0.3s ease;
    border-radius: 0 !important;
    letter-spacing: 0.05em;
}
.t-news-back-link:hover {
    background: var(--color-accent, #896d6d);
    border-color: var(--color-accent, #896d6d);
    color: #ffffff !important;
}

/* ページネーションのダークモードスタイル */
.t-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 5rem;
    padding-bottom: 5rem;
    font-family: sans-serif;
}

.t-pagination a, .t-pagination span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 0 !important;
    font-size: 1.4rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.t-pagination a {
    background: #181818;
    color: #bbbbbb;
    border: 1px solid #2e2e2e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.t-pagination a:hover {
    background: #282828;
    border-color: var(--color-accent, #896d6d);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.t-pagination .current {
    background: var(--color-accent, #896d6d);
    color: #ffffff;
    border: 1px solid var(--color-accent, #896d6d);
    box-shadow: 0 4px 12px rgba(137, 109, 109, 0.3);
}

.t-pagination .disabled {
    color: #444444;
    cursor: not-allowed;
    background: #121212;
    border: 1px solid #222222;
}

.t-pagination .arrow {
    font-size: 1.2rem;
    font-weight: bold;
}
.t-pagination .dots {
    background: transparent;
    box-shadow: none;
    border: none;
    width: auto;
    color: #666666;
    cursor: default;
}
.t-pagination .dots:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

@media screen and (max-width: 500px) {
    .t-news-top-wrapper { 
        padding: 0.5rem; 
        gap: 1.5rem; 
        flex-direction: column; 
        align-items: center; 
    }
    .t-news-card { 
        flex: 0 1 100%; 
        max-width: 100%; 
        width: 100%; 
    }
    .t-news-title {
        font-size: 2rem;
    }
    .t-pagination a, .t-pagination span {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.3rem;
    }
}
/* 修正ここまで */