/* ==========================================================================
   Page: News (お知らせ)
   ========================================================================== */

/* Utility
   -------------------------------------------------------------------------- */
.l-container--narrow {
    max-width: 800px !important; /* 詳細ページ用 */
}

/* Label Styles (Tags) */
.news-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    line-height: 1;
    white-space: nowrap;
}
.news-label--common { background-color: #64748b; } /* グレー */
.news-label--01 { background-color: var(--color-brand); } /* 青 */
.news-label--02 { background-color: #0d9488; } /* ティール */

/* ==========================================================================
   Archive Page (一覧)
   ========================================================================== */

/* Filter */
.news-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.news-filter .filter-btn {
    appearance: none;
    background: white;
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
}
.news-filter .filter-btn:hover,
.news-filter .filter-btn.is-active {
    background-color: #1e293b; /* ニュースは少し落ち着いた色味でActive */
    color: white;
    border-color: #1e293b;
}

/* List Item */
.news-list {
    border-top: 1px solid var(--color-border);
    margin-bottom: 60px;
}

.news-item {
    border-bottom: 1px solid var(--color-border);
    transition: background-color 0.3s ease;
}
.news-item:hover {
    background-color: #f8fafc;
}

.news-item__link {
    display: flex;
    align-items: center;
    padding: 25px 20px;
    gap: 30px;
    color: var(--color-text);
}
@media (max-width: 768px) {
    .news-item__link { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 10px; }
}

.news-item__meta {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 180px; /* PCでの幅確保 */
    flex-shrink: 0;
}
.news-item__date {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-text-light);
    font-size: 14px;
}

.news-item__title {
    font-size: 16px;
    font-weight: 500;
    flex-grow: 1;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .news-item__title { font-weight: 700; }
}

.news-item__arrow {
    color: var(--color-brand);
    font-size: 14px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}
.news-item:hover .news-item__arrow {
    opacity: 1;
    transform: translateX(0);
}
@media (max-width: 768px) {
    .news-item__arrow { display: none; } /* SPでは非表示ですっきりさせる */
}


/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}
.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: white;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    text-decoration: none;
    border-radius: 50%;
    transition: var(--transition-base);
    font-family: 'Helvetica Neue', sans-serif;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: var(--color-brand);
    color: white;
    border-color: var(--color-brand);
}

/* ==========================================================================
   Single Page (詳細)
   ========================================================================== */

/* Header */
.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
}
.article-header__meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.article-header__date {
    color: var(--color-text-light);
    font-family: 'Helvetica Neue', sans-serif;
}
.article-header__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    color: #1e293b;
}
@media (max-width: 768px) {
    .article-header__title { font-size: 22px; }
}

/* Body (WordPress Post Content Styles) */
.post-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 60px;
}
.post-body > *:last-child { margin-bottom: 0; }

.post-body p { margin-bottom: 1.5em; }

.post-body h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 60px 0 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-brand);
    color: #1e293b;
}
.post-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 5px solid var(--color-brand);
    color: #1e293b;
}
.post-body h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 30px 0 15px;
}

.post-body ul, .post-body ol {
    margin-bottom: 1.5em;
    background: #f8fafc;
    padding: 25px 25px 25px 40px;
    border-radius: 8px;
}
.post-body ul li {
    list-style: disc;
    margin-bottom: 10px;
}
.post-body ul li:last-child { margin-bottom: 0; }
.post-body ol li {
    list-style: decimal;
    margin-bottom: 10px;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.post-body strong {
    background: linear-gradient(transparent 60%, #e0f2fe 60%); /* 蛍光ペン風マーカー */
    font-weight: 700;
}

/* Footer Navigation */
.article-footer {
    border-top: 1px solid var(--color-border);
    padding-top: 40px;
}
.post-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 768px) {
    .post-nav { flex-direction: column; gap: 20px; }
}

.post-nav__link {
    font-size: 14px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 30%;
}
.post-nav__link:hover { color: var(--color-brand); text-decoration: underline; }

.post-nav__btn {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    transition: var(--transition-base);
}
.post-nav__btn:hover {
    border-color: var(--color-brand);
    color: var(--color-brand);
    background: #f0f9ff;
}