.article-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-family: 'Helvetica Neue', Arial, 'Hiragino Sans', sans-serif;
    line-height: 1.8;
    color: #333;
}

/* イントロ - シンプルな青系に変更 */
.intro {
    margin-bottom: 40px;
    padding: 25px;
    background: #f0f7ff;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.intro p {
    color: #1e3a8a;
    margin: 0;
}

ol {
    margin: 20px 0 20px 30px;
}

ol li {
    margin-bottom: 12px;
    font-size: 16px;
}

/* ビジュアルセクション */
.visual-section {
    margin: 40px 0;
    padding: 30px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* スタッツチャート用 */
.stats-container, .stats-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin: 25px 0;
}

.stats-title {
    text-align: center;
    color: #1e40af;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: bold;
}

.rank-info {
    text-align: center;
    color: #6b7280;
    margin-bottom: 25px;
    font-size: 14px;
}

.rank-number {
    font-size: 24px;
    font-weight: bold;
    color: #3b82f6;
}

/* チャート行 */
.chart-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.chart-row:last-child {
    margin-bottom: 0;
}

.label {
    min-width: 120px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    flex-shrink: 0;
}

/* チャートコンテナ */
.chart-container {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* バーコンテナ */
.bar-container {
    flex: 1;
    height: 30px;
    background: #f3f4f6;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

/* バー本体 */
.bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 5px;
    transition: width 1s ease-out;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    position: relative;
}

.bar .score {
    color: white;
    font-weight: bold;
    font-size: 13px;
    white-space: nowrap;
}

.score {
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.highlight-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.highlight-box {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    text-align: center;
}

.highlight-label {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 4px;
}

.highlight-value {
    font-size: 28px;
    font-weight: bold;
    color: #3b82f6;
}

.highlight-value.pink {
    color: #ec4899;
}

/* 成分カード用 - 統一感を持たせる */
.ingredient-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.ingredient-card {
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #3b82f6;
}

.ingredient-header {
    padding: 15px;
    color: white;
    font-weight: bold;
}

.ingredient-header.blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.ingredient-header.orange { background: linear-gradient(135deg, #f97316, #ef4444); }
.ingredient-header.teal { background: linear-gradient(135deg, #14b8a6, #10b981); }

.ingredient-body {
    padding: 15px;
    font-size: 13px;
}

.ingredient-feature {
    margin-top: 10px;
    padding: 8px;
    background: #f9fafb;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    font-weight: 600;
    font-size: 12px;
}

/* メリデメセクション - 背景色を薄く */
.merit-demerit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.merit-section, .demerit-section, .merit-box, .demerit-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin: 15px 0;
}

.merit-box {
    background: #fafffe;
    border-left: 4px solid #10b981;
}

.demerit-box {
    background: #fffefb;
    border-left: 4px solid #f59e0b;
}

.section-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header.green { color: #047857; }
.section-header.red { color: #dc2626; }

.item {
    margin-bottom: 12px;
    padding: 10px;
    border-left: 3px solid;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    background: white;
}

.item.green {
    border-color: #10b981;
}

.item.red {
    border-color: #ef4444;
}

.item-title {
    font-weight: bold;
    margin-bottom: 4px;
}

/* 比較セクション */
.comparison {
    display: flex;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.comparison-item {
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    text-align: center;
}

.comparison-item .score {
    font-size: 2.5em;
    font-weight: bold;
    color: #3b82f6;
    margin: 10px 0;
}

/* 豆知識・トリビア - 背景色を薄く */
.trivia {
    background: #fefefe;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #f59e0b;
    border: 1px solid #fde68a;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* まとめセクション - アクセントとしてグラデーション維持 */
.conclusion-box {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(59,130,246,0.3);
}

.conclusion-box p {
    color: white;
}

.catchphrase {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
    color: #1e40af;
    line-height: 1.6;
}

.conclusion-box .catchphrase {
    color: white;
}

/* レコメンデーション */
.rec-item {
    background: white;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    gap: 12px;
    align-items: start;
}

.rec-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.rec-content {
    flex: 1;
}

.rec-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.rec-title {
    font-weight: bold;
    font-size: 14px;
}

.rec-rating {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid;
}

.rec-rating.excellent {
    background: #ecfdf5;
    color: #065f46;
    border-color: #10b981;
}

.rec-rating.good {
    background: #fffbeb;
    color: #92400e;
    border-color: #f59e0b;
}

.rec-reason {
    font-size: 12px;
    color: #6b7280;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .article-container {
        padding: 20px;
    }
    .merit-demerit-grid {
        grid-template-columns: 1fr;
    }
    .highlight-boxes {
        grid-template-columns: 1fr;
    }
    .comparison {
        flex-direction: column;
    }
    .catchphrase {
        font-size: 1.2em;
    }
    .chart-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .label {
        min-width: auto;
    }
    .bar-container {
        width: 100%;
    }
}