/* =============================================
   NanJ Matome Auto - Frontend (Livedoor Style)
   ============================================= */

/* --- レス1件 --- */
.nma-res {
    margin: 0 0 2em;
    padding: 0;
    line-height: 1.8;
    font-size: 15px;
}

/* --- メタ行（番号・名前・日時・ID） --- */
.nma-res-meta {
    font-size: 13px;
    color: #333;
    margin-bottom: 4px;
    word-break: break-all;
}

/* レス番号 */
.nma-num {
    font-weight: bold;
    color: #117743;
    font-size: 14px;
}

/* 名前（デフォルト：緑太字） */
.nma-name {
    font-weight: bold;
    color: #117743;
}

/* >>1 の名前（赤太字） */
.nma-name-op {
    color: #cc0000;
}

/* --- レス本文 --- */
.nma-res-body {
    font-size: 15px;
    line-height: 1.9;
    color: #333;
    padding: 2px 0 0 0;
    white-space: pre-wrap;
    word-break: break-word;
}

/* --- ハイライト（赤レス） --- */
.nma-res-hl .nma-res-body {
    color: #e2000f;
    font-weight: bold;
    font-size: 16px;
}

/* --- アンカー >>数字 --- */
.nma-anchor {
    color: #0000ff;
    cursor: pointer;
}
.nma-anchor:hover {
    text-decoration: underline;
}

/* --- グリーンテキスト（引用） --- */
.nma-green {
    color: #789922;
}

/* --- 管理人コメント --- */
.nma-kanri {
    margin: 2.5em 0 1em;
    border: 2px solid #ccc;
    border-radius: 4px;
    background: #fafafa;
    overflow: hidden;
}
.nma-kanri-title {
    background: #555;
    color: #fff;
    padding: 6px 14px;
    font-weight: bold;
    font-size: 14px;
}
.nma-kanri-body {
    padding: 14px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

/* --- おすすめ（Amazon関連 - 自然な見た目） --- */
.nma-related {
    margin: 2em 0 1em;
    padding: 0;
}
.nma-related-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid #ddd;
}
.nma-related-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.nma-related-item {
    display: block;
    padding: 10px 4px;
    border-bottom: 1px dotted #ccc;
    text-decoration: none;
    color: #1a0dab;
    font-size: 14px;
    line-height: 1.6;
}
.nma-related-item:hover {
    color: #d32f2f;
    text-decoration: underline;
}
.nma-related-item:last-child {
    border-bottom: none;
}
