@charset "UTF-8";
/* CSS Document */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300&display=swap");
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  overflow-x: hidden;
}

.zen-kakugothic new-bold {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.openbtn {
  /*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
  position: relative;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

/*ボタン内側*/

.openbtn span {
  display: inline-block;
  transition: all 0.4s; /*アニメーションの設定*/
  position: absolute;
  left: 13px;
  height: 2px;
  background-color: #eee;
  z-index: 9999;
}

.openbtn span:nth-of-type(1) {
  top: 22px;
  width: 58%;
}

.openbtn span:nth-of-type(2) {
  top: 29px;
  width: 35%;
}

/*activeクラスが付与されると線が回転して×に*/

.openbtn.active span:nth-of-type(1) {
  top: 20px;
  left: 16px;
  transform: translateY(6px) rotate(-45deg);
  width: 35%;
}

.openbtn.active span:nth-of-type(2) {
  top: 32px;
  left: 16px;
  transform: translateY(-6px) rotate(45deg);
  width: 35%;
}

/* 769px以上ではハンバーガーメニュー非表示 */
@media (min-width: 769px) {
  .openbtn {
    display: none;
  }
  #g-nav {
    display: none;
  }
}

/* 768px以下でハンバーガーメニュー表示・ナビ制御 */
@media (max-width: 768px) {
  .openbtn {
    display: block;
  }
  #g-nav {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 100%;
    height: 100vh;
    background: #233343;
    transition: right 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #g-nav.panelactive {
    right: 0;
    display: block;
  }
  .nav_list {
    width: 100%;
    list-style: none;
    text-align: left;
    z-index: 9999;
    margin: 80px 15px;
  }
  .nav_list li {
    margin: 30px 0;
  }
  .nav_list a {
    color: #dadada;
    font-size: 1.8rem;
    text-decoration: none;
  }
}
body {
  overflow-x: hidden;
  font-family: "Zen Kaku Gothic New", serif;
}
a {
  color: #233343;
}
header {
  width: 100%;
}
header img {
  width: 30%;
  height: auto;
}
h1 {
  font-family: all-round-gothic, sans-serif;
  font-style: normal;
  font-weight: 500;
}
.title {
  width: 100%;
  padding: 40px 0 0 0;
  position: fixed;
  font-size: 2rem;
}
.title-list {
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin: 0 auto;
  letter-spacing: 1.2px;
}

.nav ul {
  display: flex;
  font-size: 2rem;

  font-weight: 500;
}
.nav ul li {
  padding: 0 0 0 30px;
}

@media (max-width: 768px) {
  header img {
    width: 20%;
    position: absolute;
    left: 8%;
    top: 45%;
  }
  .title {
    font-size: 1.3rem;
    padding: 10px 0 0 0;
  }
  .nav ul li {
    display: none;
  }
  h1 {
    padding-top: 15px;
  }
}

footer {
  letter-spacing: 0;
  font-size: 1.3rem;
}
