@charset "UTF-8";
/* 目次全体デザイン https://y-k-studio.com/programming/wordpress/cocoon-toc-custom/ */
/* メイン目次のみ */
.article .toc {
  background: #fff2cc;
  /* 目次全体の背景色を変える場合はここを変更 */
  border: none;
  border-top: 5px solid #FFC679;
  padding: 20px 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* 目次の文字指定 */
.toc-title {
  text-align: left;
  margin: 0 20px 20px -10px;
  font-size: 23px;
  font-weight: 700;
  color: #ffce80;
  /* 目次のアイコン設定 */
}
.toc-title:before {
  font-family: "Font Awesome 5 Free";
  content: "\f03a";
  font-size: 20px;
  margin-right: 5px;
  color: #fff2cc;
  background-color: #ffce80;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  padding: 14px;
}

/* 目次のデザインカスタマイズ */
.toc-content ol {
  padding: 0 0.5em;
}
.toc-content ol li {
  padding: 0.2em;
}
.toc-content .toc-list li {
  /* h2のみ太文字に */
  font-weight: 700;
  /* 目次の番号を青色に */
  color: #3cb8f1;
  /* h3以降の文字サイズを普通に */
}
.toc-content .toc-list li li {
  font-weight: normal;
}

/* サイドバー追尾目次 https://ponhiro.com/cocoon-sidebar-toc/ */
html {
  overflow-y: scroll;
  margin-bottom: 1px;
  height: 100%;
}

.sidebar-scroll {
  top: 30px !important;
}

.sidebar .widget_toc {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.sidebar .toc-widget-box {
  margin-top: -0.9em;
}
.sidebar .toc-widget-box .toc {
  table-layout: fixed;
  padding: 0;
}
.sidebar .toc {
  width: 100%;
}
.sidebar .toc li {
  line-height: 1.6;
  font-size: 0.85rem;
}
.sidebar .toc .toc-list ul,
.sidebar .toc .toc-list ol {
  padding: 0 0 0.4em 1em;
}
.sidebar .toc-content {
  overflow-y: scroll;
  max-height: 260px;
  background-color: #fff2cc;
  padding: 0.5em 0 0.5em 1em;
  position: relative;
}
.sidebar .toc-content a {
  letter-spacing: 0.5px;
}
.sidebar .toc-content::-webkit-scrollbar, .sidebar .toc-content::-webkit-scrollbar-track {
  -webkit-appearance: none;
  width: 8px;
  background: #eee;
}
.sidebar .toc-content::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.4);
}

/* サイドバー目次ハイライト */
li.current {
  background-color: rgba(255, 188, 0, 0.6) !important;
}/*# sourceMappingURL=toc.css.map */