@charset "UTF-8";

* {
  margin-left: 10px;
}

/* 表題レベルで使用 */
h1 {
  border: 3px solid rgb(149, 149, 255);
  background-color: rgb(149, 149, 255);
  text-align: center;
}

/* セクションタイトルレベルで使用 */
h2 {
  border-bottom: 3px solid rgb(149, 149, 255);

  counter-increment: section2;
  counter-reset: section3;
}
h2:before {
  content: counter(section2) " ";
  color: blueviolet;
}

/* 小見出しレベルで使用 */
h3 {
  border-bottom: 3px dotted rgb(0, 0, 0);

  counter-increment: section3;
  counter-reset: section4;
}
h3:before {
  content: counter(section2) "." counter(section3) " ";
  color: rgb(25, 25, 255);
}

/* 見出しより細かいレベルで使用 */
h4 {
  border-bottom: 1px solid rgb(170, 170, 170);

  counter-increment: section4;
}
h4:before {
  content: counter(section2) "." counter(section3) "." counter(section4) " ";
}

/* 表に関する指定 */
table {
  border-collapse: collapse;
  width: auto;
}

table th {
  background-color: rgb(200, 200, 200);
  border: 1px solid black;
  padding: 4px 10px 4px 10px;
}

table td {
  background-color: rgb(255, 255, 255);
  border: 1px solid black;
  padding: 4px 10px 4px 10px;
}

.contents {
  padding-left: 1em;
}
