html {
  /* 1rem = 16px */
  font-size: 16px;
  color: #393d3e;
}

@media screen and (max-width: 900px) {
  html {
    font-size: 14px;
  }
}

body {
  margin: 0;
  font-family: Noto Sans JP, arial, Helvetica, sans-serif;
  /* font-family: arial black,arial-w01-black,arial-w02-black,arial-w10 black,sans-serif; */
  /* font-family: normal normal 36px/1.4em 'メイリオ',meiryo,'ヒラギノ角ゴ pro w3','hiragino kaku gothic pro',sans-serif */
  background-color: #f6f6f6;
}

h2 {
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0;
  padding-bottom: .8rem;
}

a {
  color: #fff;
  text-decoration: none;
}

header {
  margin-bottom: 2.5rem;
}

header #logo {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 .4rem;
  /* width: 100%; */
  height: fit-content;
  font-family: sans-serif;
  color: #ffffff;
  text-shadow: .1rem .1rem .2rem #666;
}

header #logo h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0;
  padding: 0;
}

.menu-btn {
  position: fixed;
  top: 0px;
  right: 0px;
  display: flex;
  height: 4rem;
  width: 4rem;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background-color: #3d3d3dcc;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #ffffff;
  position: absolute;
}

.menu-btn span:before {
  bottom: 8px;
}

.menu-btn span:after {
  top: 8px;
}

#menu-btn:checked~.menu-btn {
  /*メニューオープン時は背景を透明にする*/
  background-color: #00000000;
}

#menu-btn:checked~.menu-btn span {
  /*メニューオープン時は真ん中の線を透明にする*/
  background-color: #00000000;
}

#menu-btn:checked~.menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#menu-btn:checked~.menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

#menu-btn {
  display: none;
}

#menu-btn:checked~.menu-content {
  /*メニューを画面内へ*/
  right: 0;
}

.menu-content {
  width: 14rem;
  height: 100%;
  position: fixed;
  top: 0;
  right: 100%;
  /* leftの値を変更してメニューを画面外へ */
  z-index: 80;
  background-color: #3d3d3dcc;
}

.menu-content ul {
  padding: 70px 10px 0;
}

.menu-content ul li {
  border-bottom: solid 1px #ffffff;
  list-style: none;
}

.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 1rem;
  box-sizing: border-box;
  color: #ffffff;
  text-decoration: none;
  padding: 9px 15px 10px 0;
  position: relative;
}

.menu-content ul li a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: solid 2px #ffffff;
  border-right: solid 2px #ffffff;
  transform: rotate(45deg);
  position: absolute;
  right: 11px;
  top: 16px;
}

.contents {
  width: 70%;
  margin: 0 auto;
  padding: 1rem 0 2rem 0;
  line-height: 2rem;
}

@media screen and (max-width: 900px) {
  .contents {
    width: 90%;
  }
}

footer p {
  padding-top: 2rem;
  text-align: center;
}
