@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*見出しタグの装飾*/
.article h3 {
  font-size: 20px !important;/*文字のサイズ*/
  border-left: 3px solid #33cccc;/*左線*/
  padding: .5em .7em;/*余白*/
  color: #323232;
  background: transparent;
  margin-bottom: 15px;
  border-top: none;
  border-bottom: none;
}
.article h4 {
  border-left: none;
}

/*****目次の装飾*****/
/*目次全体*/
.toc {
  border-top: 4px solid #33cccc;
  padding: 1.2em;
}
/*目次タイトル*/
.toc-title {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #33cccc;
  margin-bottom: 1em; /* ← アイコンと最初のh2の間隔を広げる */
}
/*丸アイコン*/
.toc-title::before {
  content: "≡";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: 8px;
  border-radius: 50%;
  background: #33cccc;
  color: #fff;
  font-size: 18px;
}
/*h2階層（インデントなし）*/
.toc-list > li {
  font-weight: bold; /* ← h2を太字に */
  border-bottom: 1px dashed #ccc;
  padding: .6em 0;
}
/*h3階層（インデントあり）*/
.toc-list li ul li {
  font-weight: normal; /* h3は通常太さ */
  border-bottom: none; /* ← 二重下線を防ぐ */
  padding: .4em 0;
}
/*リンク*/
.toc-list a {
  color: #333;
  text-decoration: none;
}
/*左の ▶ アイコン*/
.toc-list > li::before,
.toc-list li ul li::before {
  content: "▶";
  color: #33cccc;
  margin-right: .5em;
}
/*子階層インデント*/
.toc-list ul {
  margin-left: 1.4em;
}



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

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

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