/* details/summary アコーディオン共通スタイル */
details {
  margin: 1.5em 0;
  padding: 0.75em 1em;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  background-color: #f6f8fa;
}

details[open] {
  padding-bottom: 1em;
}

details summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.25em 0;
  color: #24292f;
  list-style: revert;
}

details summary:hover {
  color: #0969da;
}

/* TOC リストスタイル */
details > ul {
  margin-top: 0.75em;
  margin-bottom: 0;
  padding-left: 1.5em;
  list-style: disc;
}

details > ul li {
  margin: 0.35em 0;
  line-height: 1.6;
}

details > ul li a {
  text-decoration: none;
}

details > ul li a:hover {
  text-decoration: underline;
}

/* 画像アコーディオン内の余白 */
details > blockquote {
  margin-top: 0.75em;
}
