/**
 * WordPress 本文エリア（お知らせ・投稿）
 * Tailwind Preflight が ol/ul の list-style をリセットするため、ここで復元する。
 */

/* 本文ベース（お知らせ .news-article p と同一） */
.nwcs-wp-content {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
}

.nwcs-wp-content > *:first-child {
    margin-top: 0;
}

.nwcs-wp-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.375;
    color: #111827;
}

.nwcs-wp-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.375;
    color: #111827;
}

.nwcs-wp-content h4 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.nwcs-wp-content p {
    margin-bottom: 1rem;
}

.nwcs-wp-content ol {
    list-style: decimal;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* お知らせの箇条書きは style.css のチェックマーク付き ul を使用 */
.nwcs-wp-content:not(.news-article) ul {
    list-style: disc;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.nwcs-wp-content ol li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
    font-size: inherit;
    color: inherit;
    line-height: inherit;
}

.nwcs-wp-content:not(.news-article) ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
    font-size: inherit;
    color: inherit;
    line-height: inherit;
}

.nwcs-wp-content li > ol,
.nwcs-wp-content li > ul {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.nwcs-wp-content a {
    color: #1b7340;
    text-decoration: underline;
}

.nwcs-wp-content a:hover {
    color: #145a32;
}

.nwcs-wp-content strong {
    font-weight: 600;
    color: #111827;
}

.nwcs-wp-content blockquote {
    margin: 1.5rem 0;
    padding-left: 1rem;
    border-left: 4px solid rgba(27, 115, 64, 0.3);
    color: #4b5563;
}

.nwcs-wp-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
}

.nwcs-wp-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.nwcs-wp-content th,
.nwcs-wp-content td {
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.nwcs-wp-content th {
    background-color: #f9fafb;
    font-weight: 500;
    color: #1f2937;
}

@media (min-width: 768px) {
    .nwcs-wp-content h2 {
        font-size: 1.875rem;
    }

    .nwcs-wp-content h3 {
        font-size: 1.5rem;
    }
}
