@charset "utf-8";
/* チェックボックスを非表示 */
.menu-checkbox {
  display: none;
}
/* メニューボタンの装飾 */
.menu-button {
  display: block;
  position: fixed;
  top: 3rem;
  right: 2rem;
  z-index: 200;
  height: 20px;
  width: 30px;
  cursor: pointer;
}
.menu-button::before, .menu-button::after {
  content: '';
  transition: .3s;
}
.menu-button::before, .menu-button::after, .menu-button span {
  display: block;
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  margin-top: -1px;
  background-color: rgba(128,128,128,1.00); /* 三本線の色 */
}
.menu-button::before {
  top: 0;
}
.menu-button::after {
  bottom: 0;
}
.menu-button span {
  top: 50%;
}
/* メニューボタンのアニメーション */
.menu-checkbox:checked ~ .menu-button::before {
  top: 50%;
  transform: rotate(45deg);
  background-color: rgba(255, 255, 255, 1.00);
}
.menu-checkbox:checked ~ .menu-button::after {
  top: 50%;
  transform: rotate(-45deg);
  background-color: rgba(255, 255, 255, 1.00);
}
.menu-checkbox:checked ~ .menu-button span {
  display: none;
}
/* ドロワーメニューの装飾 */
.drawer-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 100%;
  width: 30rem;
  transform: translateX(-100%);
  transition: .5s;
  background-color: rgba(255,255,255,1.00);

}
.drawer-menu ul {
  margin: 3rem 0 0 0;
  padding: 0;
  list-style-type: none;
}
.drawer-menu li {
  border-bottom: 0.1rem solid rgba(255, 255, 255, 1.00);
  margin: 0;
}
.drawer-menu li a {
  display: block;
  padding: 15px;
  text-decoration: none;
  position: relative;
  transition: .3s;
}
.drawer-menu li a:after {
  position: absolute;
  text-align: right;
  right: 20px;
  color: rgba(231,231,231,1.00);
  content: '\e906';
  font-family: "icomoon";
  font-weight: 900;
}
.drawer-menu li a:hover {
  color: rgba(196, 154, 78, 1.00);
  background-color: rgba(249,243,233,1.00);
}
.drawer-menu p {
	color: rgba(174,228,234,1.00);
}


/* ドロワーメニューの開閉 */
.menu-checkbox:checked ~ .drawer-menu {
  transform: translateX(0);
}
/* ドロワーメニューの背景 */
.menu-background {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, .5);
  cursor: pointer;
}
.menu-checkbox:checked ~ .menu-background {
  display: block;
}