@charset "UTF-8";
/*
Theme Name: Cocoon
Description: SEO・高速化・モバイルファースト最適化済みの無料テーマ。
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Text Domain: cocoon
Version: 2.8.7
Requires at least: 6.1.0
Requires PHP: 7.4.0
Tags: two-columns, left-sidebar, right-sidebar
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
  --cocoon-basic-border-color: #ccc;
}

/************************************
** 目次
************************************/
.toc {
  border: 1px solid var(--cocoon-basic-border-color);
  font-size: 0.9em;
  padding: 1em 1.6em;
  display: table;
}
.toc .toc-list {
  padding-left: 1em;
}
.toc .toc-list ul, .toc .toc-list ol {
  padding-left: 1em;
  margin: 0;
}
.toc li {
  margin: 0;
}
.toc ul {
  list-style: none;
}
.toc a {
  color: var(--cocoon-text-color);
  text-decoration: none;
}
.toc a:hover {
  text-decoration: underline;
}

.toc-title {
  font-size: 1.1em;
  text-align: center;
  display: block;
  padding: 2px 16px;
}

.nwa .toc {
  border: 0;
  padding: 0 1em;
}

.tnt-none .toc-list,
.tnt-number-detail .toc-list {
  padding-left: 0;
}

/************************************
** h2-h6の見出し目次に連番を振る
************************************/
.toc.tnt-number-detail ol {
  list-style: none;
  counter-reset: toc;
}
.toc.tnt-number-detail ol li:before {
  margin-right: 6px;
  counter-increment: toc;
  content: counters(toc, ".") ".";
}

.tnt-disc ol {
  list-style-type: disc;
}

.tnt-circle ol {
  list-style-type: circle;
}

.tnt-square ol {
  list-style-type: square;
}

.toc-center {
  margin: 1em auto;
}

