.toc *,
.toc *:before,
.toc *:after {
  box-sizing: border-box;
}
.toc{
  margin: 2em auto;
  width: 100%;
	max-width: 800px;
  position: relative;
}

.toc-title{
  background: #113758;
  padding: 5px 0;
  font-size: 1.2em;
  color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}
.toc__ttl {
  display: inline-block;
  line-height: 1;
}
.toc__ttl:before {
  content: "\e918";
  font-family: icomoon;
  margin-right: .5em;
}

.toc-in {
  border: 1px solid #113758;
  padding: 1em 0 0;
	background: #fff;
  overflow: hidden;
}
.toc-in ul,
.toc-in li,
.toc-in li::before,
.toc-in li::after{
  margin: initial;
  padding: initial;
	border: initial;
  list-style: none;
}
.toc-in li.indent2{
  position: relative;
  margin: 12px 15px 12px 40px;
}
.toc-in li.indent2:after{
	position: absolute;
	content: "";
	top: 8px;
	left: -18px;
	border: 3px solid #333;
	border-radius: 3px;
}
.toc-in li.indent3{
  position: relative;
  margin: 8px 0 0 25px;
}
.toc-in li.indent3:after{
	position: absolute;
	content: "";
	top: 4px;
	left: -17px;
	width: 4px;
	height: 8px;
	border-left: 1px solid #666;
	border-bottom: 1px solid #666;
}
.toc__childList{
  line-height: 1.7;
  font-size: .97em;
}
.toc__childList a{
  color: #333;
  text-decoration: none;
}
.toc__childList a:hover{
  opacity: .8;
}

.toc-btn-area{
  padding: 0 0 1.5em;
}
.toc-button{
  width: fit-content;
  border: rgba(0, 0, 0, .2);
  border-radius: 5em;
  box-shadow: 0 0 0 1px #bbb;
  color: #333;
  background: #f7f7f7;
  font-size: 14px;
  line-height: 1.5;
  margin: .75em auto 0;
  min-width: 6em;
  padding: .5em 1em;
  transition: box-shadow .25s;
  cursor: pointer;
  position: relative;
}
.toc-button:hover{
  box-shadow: 0 0 0 2px #333;
}
.toc-btn-area.active .toc-button::before,
.toc-btn-area.active .toc-button::after{
  position: absolute;
  content: "";
  top: calc(50% - 1px);
  width: 100%;
  width: 22px;
  border-top-color: inherit;
  border-top-style: dotted;
  border-top-width: 3px;
  display: block;
  height: 1px;
}
.toc-btn-area.active .toc-button::before{
	right: calc(100% + 1em);
}
.toc-btn-area.active .toc-button::after{
	left: calc(100% + 1em);
}
.toc-btn-area.active .toc-button:hover::before,
.toc-btn-area.active .toc-button:hover::after{
  border: none;
  transition: border-color .25s;
}