@charset "UTF-8";
#wrap {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
#header,
#footer {
  position: relative;
  flex: 0 0 auto;
}
#contents {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0 40px;
  box-sizing: border-box;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
#contents h2{
  font-size: 28px;
}
#footer {
    padding: 30px 0 20px;
}
#footer h2 a{
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

@media screen and (max-width: 740px) {
#contents {
  padding: 0 20px;
}
#contents h2{
  font-size: 20px;
}
}
