/* =========================================================
   ナレッジガイド 下層記事 共通スタイル（全6ページで共用）
   B-SEEDS MOODBOARD 準拠
   （既存の page-hero / toc-box / content-section 等は
    元テーマ側の定義を前提としています）
   ========================================================= */

/* #data セクション：事実引用ブロック */
.fact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
    margin: 1.5em 0;
}
.fact-card {
    background: #f7f8fa;
    border: 1px solid #e3e6eb;
    border-radius: 6px;
    padding: 1em 1.2em;
}
.fact-label {
    display: block;
    font-size: 0.82em;
    font-weight: 700;
    color: #2a6df0;
    margin-bottom: 0.4em;
}
.fact-value {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.6;
    color: #333;
}

/* #compare セクション：種類別比較表 */
.compare-table-wrap {
    overflow-x: auto;
    margin: 1.5em 0;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92em;
}
.compare-table th,
.compare-table td {
    border: 1px solid #e3e6eb;
    padding: 0.7em 1em;
    text-align: left;
}
.compare-table thead th {
    background: #2a6df0;
    color: #fff;
    font-weight: 700;
}
.compare-table tbody tr:nth-child(even) {
    background: #f7f8fa;
}

/* #terms セクション：混同されやすい用語との違い */
.terms-list {
    display: grid;
    gap: 1em;
    margin: 1.5em 0;
}
.terms-item {
    border-left: 3px solid #2a6df0;
    background: #f7f8fa;
    padding: 0.9em 1.2em;
    border-radius: 0 6px 6px 0;
}
.terms-label {
    display: block;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.4em;
}
.terms-item p {
    margin: 0;
    font-size: 0.92em;
    line-height: 1.7;
    color: #444;
}

/* #related セクション：カテゴリ誘導リンク（related-grid の追加バリエーション） */
.related-grid--links .related-card {
    border-style: dashed;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    .fact-grid {
        grid-template-columns: 1fr;
    }
}
