/* ==========================================================================
   記事セクション
   ========================================================================== */
/* 記事ページ用のmain-backgroundオーバーライド */
main.main-background {
    background-image: none;
    background-color: #F2F4F7;
}

.article-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 100px;
    background-color: #F2F4F7;
}

.article-container {
    max-width: 964px;
    width: 100%;
    background: white;
    border-radius: 28px;
    box-shadow: 0px 0px 80px 25px rgba(0, 0, 0, 0.05);
    padding: 80px;
}

.article-header {
    margin-bottom: 48px;
}

.article-title {
    font-weight: bold;
    font-size: 42px;
    line-height: 1.4;
    color: #1d2939;
    margin: 0;
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #1d2939;
}

.article-content * {
    box-sizing: border-box;
}

.article-prose {
    max-width: 100%;
}

.article-content h2,
.article-prose h2 {
    font-weight: bold;
    font-size: 30px;
    line-height: 1.5;
    color: #1d2939;
    margin: 2.4em 0 0.85em;
    padding-left: 0.7em;
    border-left: 4px solid #0c96ac;
}

.article-content h3,
.article-prose h3 {
    font-weight: bold;
    font-size: 24px;
    line-height: 1.5;
    color: #1d2939;
    margin: 1.8em 0 0.6em;
}

.article-content p,
.article-prose p {
    margin: 1.1em 0;
}

.article-content ul,
.article-content ol,
.article-prose ul,
.article-prose ol {
    margin: 1.1em 0 1.1em 1.4em;
    padding: 0;
}

.article-content li,
.article-prose li {
    margin: 0.35em 0;
}

.article-content ul li,
.article-prose ul li {
    list-style: disc;
}

.article-content ol li,
.article-prose ol li {
    list-style: decimal;
}

.article-content blockquote,
.article-prose blockquote {
    margin: 1.4em 0;
    padding: 0.8em 1em;
    border-left: 3px solid #e5e7eb;
    color: #374151;
    background: #fbfdff;
}

.article-content hr,
.article-prose hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 2.2em 0;
}

.article-content figure,
.article-prose figure {
    margin: 1.6em 0;
    text-align: center;
}

.article-content figure img,
.article-prose figure img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.article-content figcaption,
.article-prose figcaption {
    font-size: 0.9em;
    color: #6b7280;
    margin-top: 0.5em;
}

.article-content code,
.article-prose code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 0.12em 0.35em;
    border-radius: 6px;
    font-size: 0.95em;
}

@media (max-width: 767px) {
    .article-section {
        padding: 160px 16px 60px;
    }

    .article-container {
        padding: 30px;
    }

    .article-title {
        font-size: 32px;
    }

    .article-content {
        font-size: 16px;
    }

    .article-content h2,
    .article-prose h2 {
        font-size: 24px;
        margin: 2em 0 0.7em;
    }

    .article-content h3,
    .article-prose h3 {
        font-size: 20px;
        margin: 1.5em 0 0.5em;
    }

    .article-content p,
    .article-prose p {
        margin: 0.9em 0;
    }

    .article-content ul,
    .article-content ol,
    .article-prose ul,
    .article-prose ol {
        margin: 0.9em 0 0.9em 1.2em;
    }
}
