:root {
  --dd-line-height: 1.7em;
}

/* h1 */
h1.first-page {
  margin-top: 45px;
  position: relative;
  text-align: center;
  border: 2px solid #000;
  background: #fff;
}

h1.first-page:before,
h1.first-page:after {
  position: absolute;
  content: "";
}

h1.first-page:before {
  top: -40px;
  left: calc(50% - 40px);
  width: 80px;
  height: 80px;
  border: 2px solid #000;
  border-radius: 50%;
  background: #fff;
}

h1.first-page:after {
  top: 4px;
  left: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border: 2px dashed #000;
  background: #fff;
}

h1.first-page i {
  font-style: normal;
  font-size: 1.5rem;
  line-height: 60px;
  position: absolute;
  z-index: 2;
  top: -40px;
  left: calc(50% - 40px);
  width: 80px;
  height: 60px;
  text-align: center;
}

h1.first-page span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 1.5rem;
}

h1.first-page span:before,
h1.first-page span:after {
  position: absolute;
  content: "";
}

h1.first-page span:before {
  top: -34px;
  left: calc(50% - 34px);
  width: 68px;
  height: 40px;
  border: 2px dashed #000;
  border-radius: 50vw 50vw 0 0;
}

h1.first-page span:after {
  position: absolute;
  top: 4px;
  left: calc(50% - 32px);
  width: 64px;
  height: 10px;
  background: #fff;
}

/* h1  etc-page*/
h1.etc-page {
  position: relative;
  font-size: 12pt;
  padding: 1rem;
  border: 4px solid #000;
  text-align: center;
}

h1.etc-page:before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  content: "";
  border: 2px dashed #000;
}

h2 {
  font-size: 1.2em;
  margin-top: 5px;
  margin-bottom: 10px;
  padding-left: 10px;
  padding-bottom: 5px;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  border-radius: 0 0 0 10px;
}

dt {
  padding: 0.5rem 0rem 0.5rem 1rem;
  background: #f4f4f4;
  margin-top: 1.5em;
  margin-bottom: 1rem;
  font-weight: bold;
  font-family: "Meiryo", "Helvetica Neue", "Helvetica", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Arial", sans-serif;
}
dd p {
  line-height: var(--dd-line-height);
  margin-bottom: 1em;
}
div.white-pre-wrap {
  white-space: pre-wrap;
}
dd p.indent {
  text-indent: 1em;
}
dd {
  line-height: var(--dd-line-height);
  margin-left: 8pt;
  margin-right: 8pt;
  font-family: "Meiryo", "Helvetica Neue", "Helvetica", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Arial", sans-serif;
}

.review-li {
  line-height: var(--dd-line-height);
  margin-bottom: 1.5em;
  margin-left: 10pt;
  margin-right: 10pt;
  font-family: "Meiryo", "Helvetica Neue", "Helvetica", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Arial", sans-serif;
}
.review-begin {
  text-indent: 1em;
  margin-left: 10pt;
  margin-right: 10pt;
  font-family: "Meiryo", "Helvetica Neue", "Helvetica", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Arial", sans-serif;
  margin-bottom: 2em;
}
.review-indent {
  line-height: var(--dd-line-height);
  margin-bottom: 2em;
  text-indent: 1em;
  margin-left: 10pt;
  margin-right: 10pt;
  font-family: "Meiryo", "Helvetica Neue", "Helvetica", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Arial", sans-serif;
}
#page-links {
  margin-top: 8px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-links-right {
  margin-top: 8px;
  margin-left: auto;
}

.current-page {
  display: inline-block;
  width: 1.5em;
  background-color: rgb(0, 0, 200);
  color: white;
  text-align: center;
}
.not-current-page {
  display: inline-block;
  color: black;
  width: 1.5em;
  height: 1.5em;
  background-color: rgba(128, 128, 128, 0.5);
  text-align: center;
}

.not-current-page {
  text-decoration: none;
}

.not-current-page:hover {
  background-color: rgba(128, 128, 128, 0.74);
  text-decoration: underline;
}

img.home {
  display: inline-block;
  width: 1.3em;
  vertical-align: middle;
}

nav.bottom {
  margin-top: 8px;
  margin-bottom: 8px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
nav.bottom span {
  display: inline-block;
  background-color: rgba(100, 148, 237, 0.267);
  border: 1px solid blue;
  padding: 5px 15px 5px 15px;
  text-align: center;
}

nav.bottom a {
  text-decoration: none;
}

nav.bottom a span:hover {
  text-decoration: underline;
}

nav.one-link span {
  max-width: 30em;
  width: 95vw;
}

nav.two-links span {
  width: 14em;
  margin-left: 0.5em;
  margin-right: 0.5em;
}

/* h1 not-first-page */
h1.not-first-page {
  position: relative;
  text-align: center;
  border: 2px solid #000;
  background: #fff;
}

h1.not-first-page:before,
h1.not-first-page:after {
  position: absolute;
  content: "";
}

h1.not-first-page:after {
  top: 4px;
  left: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border: 2px dashed #000;
  background: #fff;
}

h1.not-first-page span {
  font-size: large;
  position: relative;
  z-index: 1;
  display: block;
  padding: 0.5rem;
}

h1.not-first-page span:before,
h1.not-first-page span:after {
  position: absolute;
  content: "";
}

h2.column {
  font-size: medium;
  padding: 0.7rem 2rem;
  border-bottom: 3px solid black;
  background: #f4f4f4;
}
