@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ（5chまとめ掲示板風・シンプル + X/LINEボタン対応 + RSSまとめリンク）
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.3.0
*/

/************************************
** コメント関連（階層リスト & 返信リンク）
************************************/

.comment-list ol {
  margin-left: 1.5em;
  list-style-type: none;
  padding-left: 0;   /* ← チョンチョン消すためにリセット */
  border-left: none; /* ← チョンチョン消す */
}

.comment-reply-link {
  font-size: 0.9em;
  color: #0073aa;
  text-decoration: none;
  margin-left: 10px;
}
.comment-reply-link:hover {
  text-decoration: underline;
}

/************************************
** 5chまとめ専用スタイル（掲示板風・シンプル）
************************************/

/* まとめ全体 */
.ch-matome {
  font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  color: #111;
  line-height: 1.6;
  word-break: break-word;
  margin: 16px 0;
}

/* 各レス */
.ch-matome .ch-response {
  margin-bottom: 12px;
  padding: 0; /* 枠なし・背景なし */
}

/* 上の部分（番号・名前・日付・ID） */
.ch-matome .ch-meta {
  font-size: 0.85rem;  /* 少し小さく */
  color: #000;         /* 黒字 */
  margin-bottom: 4px;
}

/* 名前部分を強調 */
.ch-matome .ch-author {
  color: #008000;      /* 緑 */
  font-weight: 700;
}

/* 本文 */
.ch-matome .ch-content {
  font-size: 1.05rem;  /* 大きめ */
  color: #000;         /* 黒字 */
  margin: 0 0 8px 0;
  white-space: pre-wrap; /* 改行保持 */
  line-height: 1.8;
}

/************************************
** スレッド情報（タイトル + 元スレURL）
************************************/

.ch-thread-info {
  margin-bottom: 1.5em;
}

.ch-thread-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0.3em;
  color: #000;
}

.ch-thread-url {
  font-size: 0.9em;
  color: #555;
}

.ch-thread-url a {
  color: #0073aa;
  text-decoration: none;
}

.ch-thread-url a:hover {
  text-decoration: underline;
}

/************************************
** X / LINE ボタン
************************************/

.x-post-button {
    color: #ffffff !important;
    background-color: #1DA1F2 !important;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: bold;
    display: inline-block;
    margin-right: 8px;
}

.x-post-button:hover {
    opacity: 0.85;
}

.line-post-button {
    color: #ffffff !important;
    background-color: #00C300 !important;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: bold;
    display: inline-block;
}

.line-post-button:hover {
    opacity: 0.85;
}

/************************************
** RSSまとめ一覧（livedoor風）
************************************/

.rss-retriever {
  margin: 20px 0;
  font-family: "Meiryo", "MS PGothic", sans-serif;
}

.rss-retriever ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rss-retriever li {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  padding: 4px 0;
  border-bottom: 1px dotted #ccc;
}

.rss-retriever li:last-child {
  border-bottom: none;
}

/* チェックアイコン風のマーク */
.rss-retriever li::before {
  content: "✔Check";
  color: #0056a3;
  font-size: 0.85em;
  font-weight: bold;
  background: #f0f8ff;
  border: 1px solid #0056a3;
  border-radius: 4px;
  padding: 2px 6px;
  margin-right: 8px;
}

/* リンク部分 */
.rss-retriever li a {
  text-decoration: none;
  color: #000066;
  font-size: 0.95em;
  line-height: 1.5;
}

.rss-retriever li a:hover {
  color: #cc0000;
  text-decoration: underline;
}
