#bg {
    width: 100%;
    height: 50vh;
    min-height: 380px;
    z-index: -999;
    background-color: #13d3b3;
}

.darkmode--activated #bg {
    background-color: #B19CD9 !important;
}

#title_article {
  width: 100%;
  height: 27vh;
  padding-top: 25px;
  text-align: center;
  vertical-align: middle;
  color: white;
  font-size: 1.8rem;
  text-shadow: var(--panel-shadow);
}
    #title_article strong {
        color: var(--accent-1);
        font-size: 2.2rem;
        font-weight: bold;
    }
    #title_article p {
        margin-top: 0.4rem;
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
#notice article, #menu article {
  background-color: white;
  border-radius: var(--main-radius);
}
#notice article {
  margin: 0 15vw 15px 15vw;
  padding: 1rem;
  text-align: center;
}
#menu article {
  position: relative;
  margin: 0 10vw 15px 10vw;
  padding: 1.3rem;
  border: 0.5px solid #ddd;
  box-shadow: var(--panel-shadow);
}
#menu article h2 {
  color: var(--main-color);
  font-size: 1.3rem;
  font-weight: bold;
}
p.description {
  display: none;
  margin: 1.3rem 0.6rem 1.8rem 0.6rem;
}
p.link {
  display: none;
  position: absolute;
  right: 1rem;
  bottom: 0.3rem;
  color: var(--accent-1);
  font-size: 1rem;
  font-weight: bold;
}
.note {
  width: 100%;
  margin: 0;
  padding: var(--main-margin) var(--both-margin);
  background-color: white;
}
.note h2 {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  text-align: center;
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: #ddd;
}
.note p {
  margin-bottom: 1.2rem;
}
#links dt a {
  font-size: 1rem;
}
#links dd {
  margin-left: 1em;
  margin-bottom: 0.5em;
}
#update dl {
  margin-bottom: var(--both-margin);
  padding: 1rem;
  border: 1px dashed #ddd;
  border-radius: var(--main-radius);
  max-height: 18em;
  overflow-y: scroll;
}
#update dt {
  float: left;
}
#update dd {
  margin-left: 4.5em;
  margin-bottom: 0.5em;
}
footer {
  margin-top: var(--main-margin);
  padding: var(--main-margin);
  text-align: center;
  background-color: #f0f0f0;
}
.note a, footer a {
  color: mediumblue;
}
.hatena {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 24px;
  cursor: pointer;
}
.appear {
  display: block;
}
@media screen and (min-width: 768px) {
  #title_article {
    height: 25vh;
  }
  #notice article {
    margin-right: auto;
    margin-left: auto;
    width: 500px;
  }
  #menu, .note {
    display: flex;
    justify-content: center;
  }
  #menu {
    margin-bottom: var(--both-margin);
  }
  #menu article {
    width: 350px;
    margin: 0;
  }
  #menu article:not(:last-of-type) {
    margin-right: 20px;
  }
  .note article {
    width: 450px;
  }
  #about {
    order: 1;
  }
  #update {
    order: 2;
    margin-left: var(--main-margin);
  }
  #update dl {
    max-height: 27rem;
  }
  p.description, p.link {
    display: block;
  }
}
@media screen and (min-height: 980px) {
  body {
    padding-bottom: calc(var(--both-margin) * 2);
  }
  footer {
    position: fixed;
    width: 70vw;
    bottom: 0;
  }
}