/* header */
#header {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
}
#header.fixed::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.7);
}
.logo {
  position: absolute;
  top: 45%;
  left: 30px;
  transform: translate(0%, -50%);
  z-index: 9999;
  width: 80px;
}
.head_ig {
  position: absolute;
  text-align: right;
  top: 52%;
  right: 120px;
  transform: translate(0%, -50%);
  font-size: 3rem;
  z-index: 9999;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: absolute;
  z-index: 9999; /*ボタンを最前面に*/
  top: 50%;
  right: 25px;
  transform: translate(0%, -50%);
  cursor: pointer;
  width: 55px;
  height: 22px;
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  right: 25%;
  height: 1px;
  background-color: #000;
  width: 100%;
}
.openbtn span:nth-of-type(1) {
  top: 0;
}
.openbtn span:nth-of-type(2) {
  top: 50%;
}
.openbtn span:nth-of-type(3) {
  top: 100%;
}
/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.openbtn.active {}
.openbtn.active span {}
.openbtn.active span:nth-of-type(1) {
  top: 45%;
  transform: translateY(6px) rotate(-45deg);
}
.openbtn.active span:nth-of-type(2) {
  display: none;
}
.openbtn.active span:nth-of-type(3) {
  transform: translateY(-6px) rotate(45deg);
}
/*========= ナビゲーションのためのCSS ===============*/
#gnav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 9998;
  /*ナビのスタート位置と形状*/
  top: -500%;
  right: 0%;
  width: 100%;
  height: 100vh;
  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);
  background: rgba(204, 204, 204, 0.7);
}
/*アクティブクラスがついたら位置を0に*/
#gnav.panelactive {
  top: 0;
}
/*ナビゲーションの縦スクロール*/
#gnav.panelactive #gnav-inner {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 500px;
  height: 100vh;
  right: 0;
  background: #EFEFEF;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
/*ナビゲーション*/
.gnav_wrap {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gnav_nav {
  width: 380px;
  margin: auto;
}
.gnav_nav li {
  padding: 30px 0;
  position: relative;
  text-align: left;
  font-size: 1.7rem;
  border-bottom: 0.5px solid #000;
}
.gnav_nav li::before {
  position: absolute;
  content: '';
  display: block;
  width: 45px;
  height: 45px;
  background-image: url("/img/common/arrow_slide.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-weight: 400;
  font-size: 3.8rem;
  line-height: 1.2;
}
.gnav_contact {
  width: 380px;
  margin: 3em auto 3em;
}
.gnav_contact li {
  text-align: left;
  margin: 1.5em auto 0;
}
.gnav_contact li p {
  font-size: 1.4rem;
  margin: 0.8em auto 0;
}
.gnav_contact li:last-child a {
  background: #06C755;
  border: none;
  color: #fff;
  transition: all .3s;
}
.gnav_contact li:last-child a:hover {
  color: #fff;
  background: #07B74F;
}
.gnav_contact li:last-child a img {
  filter: none;
}
.gnav_contact li:last-child a:hover img {
  filter: none;
  opacity: 1;
}
.gnav_contact li:last-child a::after {
  filter: invert(100%);
}
.gnav_contact li a {
  position: relative;
  display: block;
  border-radius: 50px;
  border: 0.5px solid #000;
  text-decoration: none;
  outline: none;
  overflow: hidden;
  padding: 25px 0px 25px 30px;
  letter-spacing: 3px;
  font-size: 1.7rem;
}
.gnav_contact li a img {
  display: inline-block;
  width: 25px;
  margin: 0 7px 2px 0;
  filter: invert(100%);
  z-index: 3;
}
.gnav_contact li a:hover img {
  filter: invert(100%);
}
.gnav_contact li a:hover {
  color: #333;
  border-color: transparent;
}
.gnav_contact li a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  height: 100%;
  width: 0;
  background: #fff;
  transition: all .3s;
}
.gnav_contact li a:hover::before {
  width: 100%;
}
.gnav_contact li a::after {
  position: absolute;
  content: '';
  display: block;
  width: 19px;
  height: 10px;
  background-image: url("/img/common/arrow.webp");
  background-size: contain;
  background-repeat: no-repeat;
  top: 50%;
  right: 15px;
  transform: translate(0%, -50%);
  transition: all .3s;
}
.gnav_contact li a:hover::after {
  background-image: url("/img/common/arrow.webp");
}
.gnav_contact li:first-child a {
  font-family: "the-seasons", sans-serif;
  font-weight: 400;
  font-size: 2.5rem;
  padding: 18px 0 18px 30px;
}
.gnav_contact li:first-child a img {
  margin: 0 7px 7px 0;
}
.gnav_pp {
  width: 380px;
  margin: auto;
  text-align: left;
}
@media screen and (max-width: 1290px) {}
@media screen and (max-width: 768px) {
  .logo {
    top: 45%;
    left: 20px;
    width: 60px;
  }
  .head_ig {
    right: 100px;
    font-size: 2.5rem;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    right: 10px;
  }
  /*========= ナビゲーションのための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_nav {
    width: 80%;
  }
  .gnav_nav li {
    padding: 20px 0;
    font-size: 1.5rem;
  }
  .gnav_nav li::before {
    width: 30px;
    height: 30px;
  }
  .gnav_nav li span {
    font-size: 3rem;
  }
  .gnav_contact {
    width: 80%;
    margin: 2em auto 3em;
  }
  .gnav_contact li {
    margin: 1em auto 0;
  }
  .gnav_contact li p {
    font-size: 1.2rem;
    margin: 0.8em auto 0;
  }
  .gnav_contact li a {
    padding: 20px 0px 20px 30px;
    font-size: 1.5rem;
  }
  .gnav_contact li a img {
    width: 20px;
    margin: 0 7px 2px 0;
  }
  .gnav_contact li a::after {
    width: 19px;
    height: 10px;
  }
  .gnav_contact li:first-child a {
    font-size: 2rem;
    padding: 18px 0 18px 30px;
  }
  .gnav_contact li:first-child a img {
    margin: 0 7px 4px 0;
  }
  .gnav_pp {
    width: 80%;
  }
}
@media (max-height: 970px) {
  /* 高さ970px以下の場合 */
  .gnav_wrap {
    margin: 5em auto 5em;
    display: block;
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0%, 0%);
  }
}