@charset "utf-8";

.gnav-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background-position: top left;
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-image: url(../img/common/bg.webp);
  overflow: hidden;
  overflow-y: scroll;
  overscroll-behavior-y: none;
}

.gnav {
  display: none;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 99;
}

.gnav-item {
  margin: 0 0 1.5rem;
  color: #2453b2;
  text-align: center;
  font-size: 5.2vw;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-shadow: #fff 0 0 6px, #fff 0 0 6px, #fff 0 0 6px, #fff 0 0 6px, #fff 0 0 6px, #fff 0 0 6px, #fff 0 0 6px, #fff 0 0 6px;
}

.gnav-item:last-child {
  width: 55%;
  padding: 1.5rem 0 0;
  margin: 0 auto;
}

.toggle-sns {
  display: flex;
  justify-content: center;
  align-items: center;
}

.toggle-sns-item {
  width: 3.6rem;
  margin: 0 1rem;
}

.toggle {
  position: fixed;
  width: 50px;
  top: 0;
  right: 0;
  z-index: 98;
}

.toggle img {
  width: 100%;
}

.toggle-close {
  position: fixed;
  width: 40px;
  top: 5px;
  right: 5px;
  z-index: 98;
}

.toggle-close img {
  width: 100%;
}

section[id] {
  scroll-margin-top: 50px;
}

@media screen and (min-width: 751px) and (max-width: 1024px) {
  .gnav-wrap {
    background-size: cover;
    background-position: center;
  }

  .webp .gnav-wrap {
    background-image: url(../img/navi/navi-bg.webp);
  }

  .no-webp .gnav-wrap {
    background-image: url(../img/navi/navi-bg.jpg);
  }

  .gnav-item {
    margin: 0 0 2rem;
    font-size: 4vw;
  }

  .gnav-item:last-child {
    width: 65%;
    padding: 2rem 0 0;
  }

  .toggle {
    width: 60px;
  }

  .toggle-close {
    position: fixed;
    width: 50px;
    top: 10px;
    right: 10px;
    z-index: 98;
  }

  .toggle-close img {
    width: 100%;
  }

}

@media screen and (min-width: 1025px) {
  .gnav-wrap {
    background-size: cover;
    background-position: center;
  }

  .webp .gnav-wrap {
    background-image: url(../img/navi/navi-bg.webp);
  }

  .no-webp .gnav-wrap {
    background-image: url(../img/navi/navi-bg.jpg);
  }

  .gnav-item {
    margin: 0 0 1.5rem;
    font-size: min(2vw, 30px);
  }

  .gnav-item:last-child {
    width: 70%;
    padding: 2rem 0 0;
  }

  .toggle {
    width: 60px;
  }

  .toggle-close {
    position: absolute;
    width: 30px;
    top: -40px;
    right: 0;
    z-index: 98;
  }

  .toggle-close img {
    width: 100%;
  }
}