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

/* ====== 目次の階層番号化 1, 2, 2.1, 2.2 形式（2026-05-29 田畑さん判断・案1）====== */
.toc.tnt-number .toc-list,
.toc .toc-list {
  counter-reset: toc-level-1;
  list-style-type: none;
  padding-left: 1.2em;
}
.toc.tnt-number .toc-list > li,
.toc .toc-list > li {
  counter-increment: toc-level-1;
  position: relative;
  list-style-type: none;
}
.toc.tnt-number .toc-list > li::before,
.toc .toc-list > li::before {
  content: counter(toc-level-1) ". ";
  font-weight: 600;
  margin-right: 0.3em;
}
.toc.tnt-number .toc-list ol,
.toc .toc-list ol {
  counter-reset: toc-level-2;
  list-style-type: none;
  padding-left: 1.5em;
}
.toc.tnt-number .toc-list ol > li,
.toc .toc-list ol > li {
  counter-increment: toc-level-2;
  list-style-type: none;
}
.toc.tnt-number .toc-list ol > li::before,
.toc .toc-list ol > li::before {
  content: counter(toc-level-1) "." counter(toc-level-2) " ";
  font-weight: 600;
  margin-right: 0.3em;
}
