body {
    margin: 0 auto;
    max-width: 46em;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
    hyphens: auto;
    overflow-wrap: break-word;
    text-rendering: optimizeLegibility;
    font-kerning: normal;
  }
  .title {
    text-align: center; 
  }
  .name{
    list-style-type: none;
    text-align:right;
    padding-right: 1.3em;
  }
  table {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    border:1px solid black;
    overflow-x: auto;
    display: table;
    font-variant-numeric: lining-nums tabular-nums;
    table-layout: fixed;
    word-break: break-all;
    word-wrap: break-all;
  }
  caption {
    text-align: center;
    padding: 0;
  }
  table caption {
    margin-bottom: 0.25em;
  }
  tbody {
    margin-top: 0.5em;
  }
  th {
    border-collapse: collapse;
    border:1px solid black;
    text-align: left;
    padding: 0.25em 0.5em 0.25em 0.5em;
  }
  td {
    border-collapse: collapse;
    border:1px solid black;
    text-align: left;
    padding: 0.125em 0.5em 0.25em 0.5em;
  }
  header {
    margin-bottom: 4em;
    text-align: center;
  }
  pre{
    white-space: pre-wrap ;
  }
  #TOC li {
    list-style: none;
  }
  #TOC ul {
    padding-left: 1.3em;
  }
  #TOC > ul {
    padding-left: 1em;
  }
  #TOC a:not(:hover) {
    text-decoration: none;
  }

  figure {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: table;
  }
  figcaption {
    text-align: center;
  }

  p {
    text-indent: 1rem;
  }
  a {
    color: #0051c3;
  }
  a:visited {
    color: #0051c3;
  }
  a:not(:hover) {
    text-decoration: none;
  }
  ul ul {
  list-style-type: inherit;
  }

  .nested-list {
    list-style: none;
    padding-left: 0;
  }

  ol.list_re {
    counter-reset: list-counter-re; 
    list-style-type: none; 
    padding-left: 0; 
  }
  ol.list_re > li {
    counter-increment: list-counter-re; 
    margin-bottom: 10px; 
  }
  ol.list_re > li::before {
    content: "[" counter(list-counter-re) "] "; 
  }

  @media (max-width: 600px) {
    body {
      font-size: 0.9em;
      padding: 12px;
    }
    h1 {
      font-size: 1.8em;
    }
  }
  @media print {
    html {
      background-color: white;
    }
    body {
      background-color: transparent;
      color: black;
      font-size: 12pt;
    }
    p, h2, h3 {
      orphans: 3;
      widows: 3;
    }
    h2, h3, h4 {
      page-break-after: avoid;
    }
  }

  .toggle {
    cursor: pointer;
    user-select: none; /* テキスト選択の無効化 */
  }
  
  .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  .toggle + ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .yellow {
    background-color: yellow;
  }
  
  .lists {
  list-style: none;
  padding: 0.3em 0em 0.5em 0em;
  }
  
  .rotate {
    transform: rotate(-180deg);
  }
  