/* header */
#top-head {
  width: 100%;
  top: 0;
  position: fixed;
  margin-top: 0;
  z-index: 9999;
  height: 70px;
}
.top-head_wrap {
  position: relative;
  width: 100%;
  height: 70px;
}
#top-head .logo {
  position: absolute;
  top: 20px;
  left: 30px;
  width: 180px;
  z-index: 3;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: absolute;
  z-index: 9999; /*ボタンを最前面に*/
  top: 0px;
  right: 0px;
  cursor: pointer;
  width: 120px;
  height: 70px;
  background: linear-gradient(-45deg, rgba(113, 113, 113, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 1)100%);
  transition-duration: 0.2s;
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 25%;
  height: 1.5px;
  border-radius: 5px;
  background-color: #fff;
  width: 50%;
}
.openbtn span:nth-of-type(1) {
  top: calc(50% - 10px);
}
.openbtn span:nth-of-type(2) {
  top: 50%;
}
.openbtn span:nth-of-type(3) {
  top: calc(50% + 10px);
}
/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.openbtn:hover {}
.openbtn.active{
	background: #000;
}

.openbtn.active span {}
.openbtn.active span:nth-of-type(1) {
  top: 25px;
  left: 35%;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.openbtn.active span:nth-of-type(2) {
  display: none;
}
.openbtn.active span:nth-of-type(3) {
  top: 37px;
  left: 35%;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
/*========= ナビゲーションのためのCSS ===============*/
#gnav {
  position: fixed;
  z-index: 9998;
  /*ナビのスタート位置と形状*/
  top: -220%;
  right: 0%;
  width: 100%;
  height: 100vh; /*ナビの高さ*/
  background: rgba(0, 0, 0, 0.4);
  transition: all 0.6s;
}
#gnav::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
/*アクティブクラスがついたら位置を0に*/
#gnav.panelactive {
  top: 0;
}
/*ナビゲーションの縦スクロール*/
#gnav.panelactive #gnav-inner {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 450px;
  height: 100vh;
  right: 0;
  background: linear-gradient(-45deg, #717171 0%, #000 50%, #000 100%);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.gnav_wrap {
  width: 100%;
  z-index: 3;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gnav_logo {
  width: 330px;
  margin: 0 auto 2em;
  text-align: left;
}
.gnav_logo img {
  width: 200px;
}
.gnav_nav {
  position: relative;
  width: 330px;
  margin: auto;
}
.gnav_nav li {
  padding: 20px 0;
  position: relative;
  text-align: left;
  font-size: 1.5rem;
  border-bottom: 0.5px solid #fff;
}
.gnav_nav li::before {
  position: absolute;
  display: block;
  content: '';
  width: 35px;
  height: 35px;
  background-image: url("/img/gnav_arrow.webp");
  background-size: contain;
  background-repeat: no-repeat;
  top: 50%;
  right: 0%;
  transform: translate(0%, -50%);
  transition: all .4s;
}
.gnav_nav li:hover::before {
  right: -5px;
}
.gnav_nav li a {
  display: block;
}
.gnav_nav li span {
  display: block;
  font-family: "the-seasons", sans-serif;
  font-size: 3.5rem;
  line-height: 1.2;
}
.gnav_link {
  width: 330px;
  margin: 4em auto 0;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: space-between;
  align-items: center;
}
.gnav_link div {
  position: relative;
  display: inline-block;
  font-family: "the-seasons", sans-serif;
  font-size: 2rem;
}

.gnav_link div a {
  position: relative;
  text-decoration: none;
  display: inline-block;
  border: 0.5px solid #fff;
  padding: 7px 30px 7px 30px;
  border-radius: 50px;
  text-align: center;
  outline: none;
  transition: ease .2s;
}
.gnav_link p {
  display: inline-block;
  font-size: 2.8rem;
}
@media screen and (max-width: 1100px) {}
@media screen and (max-width: 768px) {
  #top-head {
    position: fixed;
    min-width: 200px;
    height: 70px;
  }
  .top-head_wrap {
    height: 70px;
  }
  #top-head .logo {
    top: 10px;
    left: 10px;
    width: 120px;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    width: 100px;
    height: 60px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 20px;
    left: 35px;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 32px;
    left: 35px;
  }
  /*========= ナビゲーションのためのCSS ===============*/
  #gnav {
    top: -500%;
  }
  #gnav.panelactive #gnav-inner {
    width: 100%;
  }
  .gnav_wrap {
    margin: 5em auto 10em !important;
    display: block;
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0%, 0%);
  }
  .gnav_logo {
    width: 80%;
    margin: 0 auto 2em;
  }
  .gnav_logo img {
    width: 150px;
  }
  .gnav_nav {
    width: 80%;
  }
  .gnav_nav li {
    padding: 15px 0;
    font-size: 1.3rem;
  }
  .gnav_nav li::before {
    width: 25px;
    height: 25px;
  }
  .gnav_nav li span {
    font-size: 2.5rem;
  }
  .gnav_link {
    width: 80%;
    margin: 4em auto 0;
  }
  .gnav_link div {
    font-size: 1.8rem;
  }
  .gnav_link p {
    font-size: 2.4rem;
  }
}
@media (max-height: 970px) {
  /* 高さ970px以下の場合 */
  .gnav_wrap {
    margin: 5em auto 5em;
    display: block;
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0%, 0%);
  }
}