@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* コメント欄のスタイル調整 */
.comment-list li {
    list-style-type: decimal;
    margin-left: 20px;
}

.comment-author {
    font-weight: bold;
}

.comment-metadata {
    display: inline;
    font-size: 0.9em;
    color: #666;
}

/* ===== コメント欄カスタマイズ ===== */

/* 名前の斜体を解除 */
.comment-author.vcard cite.fn {
    font-style: normal !important;
}

/* 「より:」を非表示 */
.comment-author.vcard .says {
    display: none !important;
}

/* 名前と日付を横並びにする */
.comment-author.vcard {
    display: inline !important;
    margin-right: 10px !important;
}

.comment-meta.commentmetadata {
    display: inline !important;
}

/* 日付のリンクを解除 */
.comment-meta.commentmetadata a {
    color: #666 !important;
    text-decoration: none !important;
    pointer-events: none !important;
    cursor: text !important;
}

/* 注意書きを非表示 */
.comment-notes {
    display: none !important;
}

/* 日付のリンクを解除・スタイル調整 */
.comment-meta.commentmetadata,
.comment-meta.commentmetadata a {
    color: #28a745 !important;
    text-decoration: none !important;
    pointer-events: none !important;
    cursor: text !important;
    font-size: 16px !important;
}

/* ===== 海外ミステリー速報の見た目（2026-11-10 追加・AdSense再申請の準備） =====
   濃紺 #15233c と金 #c9a24a。原稿は Blog/Kaigai_mystery/adsense_20261110/site_src.css */
body { background: #eceef2; }
.header-container { border-bottom: 4px solid #c9a24a; }
.navi-in a { font-weight: bold; }
.main, .sidebar { border-radius: 4px; box-shadow: none; }
.sidebar h2, .sidebar h3 { background: #15233c; color: #fff; }
.logo-header img, .site-logo-image { max-height: 44px; width: auto; }
.header-container .logo { padding-top: 8px; padding-bottom: 8px; }
.sidebar .sns-sidebar-section h2 { background: #15233c !important; }
.sidebar .sns-icon { display: none; }
.simple-sidebar-section h2 { background: #15233c; }
.fact-tag { background: #15233c; border-left: 5px solid #c9a24a; }

/* トップの紹介ボックスと特集の入口 */
.km-intro { background: #15233c; color: #fff; border-radius: 6px; padding: 18px 22px 20px; margin: 0 0 22px; }
.km-intro p { margin: 0 0 14px; line-height: 1.85; font-size: 15px; color: #fff; }
.km-intro strong { color: #e6c877; }
.km-intro .km-label { color: #c9a24a; font-weight: bold; font-size: 13px; margin: 0 0 8px; letter-spacing: .05em; }
.km-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.km-tiles li { margin: 0; padding: 0; list-style: none; }
.km-tiles a { display: block; background: #fff; color: #15233c; border-left: 5px solid #c9a24a; border-radius: 3px; padding: 10px 12px; font-size: 14px; font-weight: bold; text-decoration: none; line-height: 1.45; }
.km-tiles a:hover { background: #f6efdc; }
.km-more { margin: 12px 0 0 !important; font-size: 13px !important; }
.km-more a { color: #fff; }

/* 記事の見出し・リード・出典 */
.entry-content h2 {
  background: none; color: #15233c; border-left: 6px solid #15233c; border-bottom: 2px solid #c9a24a;
  padding: 8px 0 8px 14px; margin-top: 1.8em; font-size: 1.4em;
}
.single .entry-content > p:first-child {
  font-size: 1.05em; line-height: 1.8; color: #2b3242;
  background: #f3f5f9; border-left: 4px solid #15233c; padding: 12px 16px; border-radius: 0 4px 4px 0;
}
.single .entry-content > p:last-child {
  font-size: 0.9em; color: #666; border-top: 1px solid #dfe3ea; padding-top: 12px; margin-top: 24px;
}

/* コメントへの返信（blockquote） */
.entry-content blockquote {
  background: #f3f5f9; border: none; border-left: 3px solid #9aa6bd;
  margin: 8px 0 8px 24px; padding: 10px 14px; border-radius: 0 4px 4px 0; font-size: 0.95em;
}
.entry-content blockquote p { margin: 0; line-height: 1.65; }
.entry-content blockquote::before, .entry-content blockquote::after,
.entry-content blockquote p::before, .entry-content blockquote p::after { display: none !important; content: none !important; }

/* 「事件の概要」の箱：見出しの直後の blockquote だけ。コメントの返信には効かない */
.entry-content h2 + blockquote {
  position: relative; background: #fbf9f3; border: 2px solid #15233c; border-radius: 4px;
  padding: 34px 20px 8px; margin: 0 0 28px; font-size: 1em; line-height: 1.85; color: #222;
}
.entry-content h2 + blockquote::before {
  content: "事件ファイル" !important; display: block !important; position: absolute; top: 0; left: 0;
  background: #15233c; color: #e6c877; font-size: 12px; font-weight: bold; padding: 2px 14px;
  width: auto; height: auto; line-height: 1.7; letter-spacing: .08em;
}
.entry-content h2 + blockquote p { margin: 0 0 10px; }

/* 特集ページ */
.km-checked { font-size: 13px; color: #555; }
.page .entry-content li { margin-bottom: 6px; line-height: 1.7; }

@media screen and (max-width: 834px) {
  .km-intro { padding: 14px 14px 16px; }
  .entry-content blockquote { margin-left: 12px; padding: 8px 10px; }
  .entry-content h2 + blockquote { padding: 32px 14px 6px; }
}
