.post-main,
.archive-main {
    background: var(--color-white);
}

/* 投稿詳細 */
.post-header {
    padding: 96px 0 48px;
    text-align: center;
}

.post-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-text);
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 1.4rem;
    color: #667085;
}

.post-meta a {
    color: #667085;
    text-decoration: none;
}

.post-body {
    padding: 0 0 96px;
}

.post-body .inner {
    max-width: 840px;
}

/* 投稿本文 */
.post-body h2 {
    margin: 72px 0 24px;
    padding: 16px 20px;
    border-left: 5px solid var(--color-blue-bg);
    background: #f6f9fc;
    font-size: 2.6rem;
    line-height: 1.5;
}

.post-body h3 {
    margin: 48px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d9e2ec;
    font-size: 2.2rem;
    line-height: 1.5;
}

.post-body h4 {
    margin: 36px 0 16px;
    font-size: 1.9rem;
    line-height: 1.5;
}

.post-body p {
    margin: 0 0 1.7em;
    font-size: 1.6rem;
    line-height: 2;
}

.post-body ul,
.post-body ol {
    margin: 0 0 2em;
    padding-left: 1.5em;
}

.post-body li {
    margin-bottom: 0.7em;
    font-size: 1.6rem;
    line-height: 1.9;
}

.post-body figure {
    margin: 40px 0;
}

.post-body img {
    max-width: 100%;
    height: auto;
}

.post-body blockquote,
.post-body .wp-block-quote {
    margin: 40px 0;
    padding: 24px 32px;
    border-left: 4px solid var(--color-blue-bg);
    background: #f6f9fc;
}

.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    font-size: 1.5rem;
}

.post-body th,
.post-body td {
    padding: 16px;
    border: 1px solid #d9e2ec;
    text-align: left;
    vertical-align: top;
}

.post-body th {
    background: #f6f9fc;
    font-weight: 700;
}

.post-body .wp-block-button {
    margin: 32px 0;
}

.post-body .wp-block-button__link {
    padding: 14px 32px;
    border-radius: 999px;
    background: var(--color-blue-bg);
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.post-body .wp-block-button__link:hover {
    opacity: 0.85;
}

/* 補足ボックス・注意ボックス・まとめボックス */
.post-body .is-style-note,
.post-body .note-box {
    margin: 40px 0;
    padding: 24px 28px;
    border-radius: 12px;
    background: #f6f9fc;
}

.post-body .is-style-alert,
.post-body .alert-box {
    margin: 40px 0;
    padding: 24px 28px;
    border-radius: 12px;
    border: 1px solid #f1c40f;
    background: #fff9e6;
}

.post-body .is-style-summary,
.post-body .summary-box {
    margin: 48px 0;
    padding: 28px 32px;
    border-radius: 12px;
    border: 1px solid #d9e2ec;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* 投稿一覧 */
.archive-header {
    padding: 96px 0 48px;
    text-align: center;
}

.archive-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.5;
}

.archive-list {
    padding: 0 0 96px;
}

.archive-list .inner {
    max-width: 960px;
}

.archive-item {
    border-bottom: 1px solid #d9e2ec;
}

.archive-item a {
    display: block;
    padding: 32px 0;
    color: var(--color-text);
    text-decoration: none;
}

.archive-item time {
    display: block;
    margin-bottom: 8px;
    font-size: 1.4rem;
    color: #667085;
}

.archive-item h2 {
    margin: 0 0 12px;
    font-size: 2.2rem;
    line-height: 1.5;
}

.archive-item p {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.8;
    color: #667085;
}

.archive-item a:hover h2 {
    color: var(--color-blue-bg);
}

.pagination {
    margin-top: 48px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d9e2ec;
    border-radius: 999px;
    font-size: 1.4rem;
    text-decoration: none;
}

.pagination .current {
    background: var(--color-blue-bg);
    color: var(--color-white);
    border-color: var(--color-blue-bg);
}

@media (max-width: 768px) {
    .post-header,
    .archive-header {
        padding: 72px 0 32px;
    }

    .post-title,
    .archive-title {
        font-size: 2.6rem;
    }

    .post-body,
    .archive-list {
        padding-bottom: 72px;
    }

    .post-body h2 {
        margin-top: 56px;
        font-size: 2.3rem;
    }

    .post-body h3 {
        margin-top: 40px;
        font-size: 2rem;
    }

    .post-body p,
    .post-body li {
        font-size: 1.5rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 4px;
    }
}