/* =================================
   서브페이지 1 ('들어가는 글')
   ================================= */

.sub-content .intro-paragraph {
    margin-bottom: clamp(80px, 10vw, 120px);
    text-align: left;
}
.sub-content .chart-section {
    margin-bottom: clamp(80px, 10vw, 120px);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}
.section-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
    border-bottom: none;
    padding-bottom: 0;
    display: block;
}
.source {
    font-size: 0.9rem;
    color: #888;
}
.btn-source {
    background-color: #f0f0f0;
    color: #555;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s;
    white-space: nowrap;
}
.btn-source:hover {
    background-color: #e0e0e0;
}
.pie-chart-area {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: stretch;
    gap: 30px;
    margin-bottom: clamp(60px, 10vw, 120px);
}
.pie-chart-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pie-chart-item h5 {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.5;
}
.pie-chart-item h5 strong {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}
.pie-chart-item .illust {
    height: auto;
    margin-top: 20px;
}
.pie-chart-item .illust-1 {
    width: 380px;
}
.pie-chart-item .illust-2 {
    width: 210px;
}
.pie-chart-area figure {
    max-width: 600px;
    align-self: center;
}
.bar-chart-pair {
    display: flex;
    gap: 20px;
    max-width: 100%;
}
.bar-chart-pair img {
    flex: 1;
    min-width: 0;
    max-width: 540px;
}

@media (max-width: 768px) {
    .pie-chart-area {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .pie-chart-item .illust {
        display: none;
    }
    .bar-chart-pair {
        flex-direction: column;
    }
}
