@charset "UTF-8";
header {
  display: inline-block;
  width: 100%;
  margin-bottom: 30px;
}
header article .siteName {
  margin-top: 50px;
  margin-bottom: 20px;
}
header article .siteName h1 {
  font-size: 1.5em;
}
header article #menu {
  display: inline-block;
  width: 100%;
}
header article #menu ul li {
  width: 175px;
  text-align: center;
  float: left;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}
header article #menu ul li a {
  display: inline-block;
  position: relative;
  color: #555;
  text-decoration: none;
}
header article #menu ul li a:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #77d2d9;
  transform: scale(0, 1);
  transform-origin: left;
  transition: 0.4s;
}
header article #menu ul li a:hover:before {
  transform: scale(1);
}
header article #menu ul li a span {
  display: block;
  font-size: 0.8em;
}

.fixed {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1;
  background: #fff;
  padding: 35px 0;
}

/* スマホ */
@media screen and (max-width: 480px) {
  header {
    margin-bottom: 0px;
  }
  header article .siteName {
    margin-top: 20px;
    text-align: center;
  }
  /* ハンバーガーアイコン */
  .menu-btn {
    position: fixed;
    top: 33px;
    right: 15px;
    width: 40px;
    height: 30px;
    cursor: pointer;
    z-index: 100;
  }
  .menu-btn span,
  .menu-btn span::before,
  .menu-btn span::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    background: #333;
    transition: 0.4s;
  }
  .menu-btn span::before {
    top: -12px;
  }
  .menu-btn span::after {
    top: 12px;
  }
  /* メニューのスタイル */
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 200px;
    height: 100vh;
    background: #fff;
    color: #000;
    transition: 0.4s;
    padding-top: 60px;
    text-align: center;
    z-index: 99;
  }
  .menu a {
    display: block;
    color: #000;
    text-decoration: none;
    padding: 15px;
  }
  /* チェックボックス */
  #menu-toggle {
    display: none;
  }
  /* メニューの開閉 */
  #menu-toggle:checked ~ .menu {
    right: 0;
  }
  /* ハンバーガーアイコンの変形 */
  #menu-toggle:checked ~ .menu-btn span {
    background: transparent;
  }
  #menu-toggle:checked ~ .menu-btn span::before {
    transform: rotate(45deg);
    top: 0;
  }
  #menu-toggle:checked ~ .menu-btn span::after {
    transform: rotate(-45deg);
    top: 0;
  }
}