@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){
  /*必要ならばここにコードを書く*/
}

/************************************
** Selectap カスタムスタイル
************************************/

/* H2 - 濃紺背景・白文字 */
.entry-content h2 {
  background: #1a3557 !important;
  color: #fff !important;
  padding: 14px 20px;
  border-radius: 6px;
  border: none !important;
  margin: 44px 0 20px;
  font-size: 1.2em;
  letter-spacing: 0.03em;
}

/* H3 - ゴールド左ボーダー + 薄背景 */
.entry-content h3 {
  color: #1a3557;
  padding: 8px 14px;
  border-left: 4px solid #c9a02a !important;
  border-bottom: none !important;
  border-top: none !important;
  border-right: none !important;
  background: #f5f7fb;
  border-radius: 0 4px 4px 0;
  margin: 32px 0 14px;
  font-size: 1.07em;
  font-weight: bold;
  text-decoration: none !important;
}

/* 段落 行間 */
.entry-content p {
  line-height: 1.95;
  color: #2d2d2d;
}

/* リスト 行間 */
.entry-content ul li,
.entry-content ol li {
  line-height: 1.9;
  margin-bottom: 4px;
}

/* 強調テキスト - ゴールド下線 */
.entry-content strong {
  color: #1a3557;
  text-decoration: underline;
  text-decoration-color: #c9a02a;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* リンク */
.entry-content a:not([class]) {
  color: #2563eb;
  text-decoration: underline;
  text-decoration-color: rgba(37,99,235,0.35);
  text-underline-offset: 3px;
}

/* テーブル */
.entry-content table {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
}

/* スマホ用 */
@media screen and (max-width: 834px) {
  .entry-content h2 {
    font-size: 1.05em;
    padding: 12px 14px;
  }
  .entry-content h3 {
    font-size: 1em;
  }
}

/* ========== selectap グローバル上書き ========== */
/* テーブル本文の文字色 */
.entry-content table td { color: #111827 !important; }
/* スペック表ヘッダー列 */
.entry-content table th { color: #374151 !important; }
/* 紺ヘッダー行（thead）は白文字 */
.entry-content table thead th { color: #fff !important; background: #6b7280 !important; }
/* 目次リンク */
#toc a { color: #1f2937 !important; }
/* ============================================== */
