/* Original liner layout;
shared artwork lives in img/. */
* {
  margin: 0px;
  padding: 0px;
}

body {
  color: rgb(221, 221, 221);
  font-size: 15px;
  font-family: "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  line-height: 180%;
  background-color: rgb(21, 21, 21);
  background-image: url("img/wall.gif");
  text-align: center;
}

img {
  border: 0px;
}

a:link, a:visited {
  color: rgb(221, 221, 221);
  border-bottom: 1px solid rgb(102, 51, 102);
  text-decoration: none;
}

a:hover, a:active {
  color: rgb(102, 51, 102);
  border-bottom: 1px solid rgb(34, 34, 34);
}

.noborder a:link {
  border-style: none;
}

#contents {
  margin: 0px auto;
  width: 820px;
  background-image: url("img/body.png");
  background-repeat: repeat-y;
}

#header {
  padding: 10px 20px;
  height: 39px;
  text-align: right;
}

.talk {
  width: 80%;
  margin: 0px auto;
  text-align: center;
}

.talk p {
  text-align: left;
}

p {
  margin: 10px 0px;
}

dl {
  margin: 10px auto;
}

dt {
  font-size: 120%;
  font-weight: bold;
  text-align: left;
  margin: 30px auto;
}

dd {
  text-align: left;
  text-indent: 1em;
}

#bookmark {
  margin: 0px auto;
  text-align: center;
  padding-top: 8px;
  width: 800px;
  height: 50px;
  background-image: url("img/link.png");
  background-repeat: repeat-y;
}

#footer {
  margin: 0px auto;
  padding: 20px 5px;
  width: 790px;
  height: 20px;
  color: white;
  text-align: center;
  background-color: black;
}

h1 {
  font-size: 12px;
  font-weight: normal;
  text-align: right;
}

h3 {
  margin: 20px auto;
  text-align: center;
  color: rgb(102, 153, 102);
  font-size: 20px;
  font-weight: bold;
}

.hrimg {
  width: 820px;
  height: 35px;
  text-align: center;
  background-image: url("img/hr.png");
  background-position: 10px top;
  background-repeat: no-repeat;
}

.space {
  clear: both;
}

#contents {
  max-width: 820px;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

.back-link {
  text-align: left;
  margin: 0 10%;
  padding-top: 14px;
}

.talk {
  width: 80%;
  margin: 0 auto;
  text-align: left;
}

.talk p {
  text-align: left;
}

#bookmark, #footer {
  box-sizing: border-box;
  max-width: 100%;
  height: auto;
}

.hrimg {
  max-width: 100%;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #272027;
  color: #fff !important;
  border: 1px solid #6c586c;
  text-decoration: none;
  z-index: 10;
}

@media (max-width: 820px) {
  .talk {
    width: calc(100% - 40px);
  }

  #contents {
    background-size: 100% auto;
  }

  #bookmark, #footer {
    width: 100%;
  }

  #bookmark {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .hrimg {
    width: 100%;
    background-size: 100% auto;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

}
