@charset "utf-8";

.gnav {
  display: none;
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 9999;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  overscroll-behavior-y: none;
}

.webp .gnav {
  background-image: url(../img/toggle/toggle_bg.webp);
}

.no-webp .gnav {
  background-image: url(../img/toggle/toggle_bg.jpg);
}

.gnav-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
}

.gnav-item {
  margin: 0 0 2rem;
  text-align: center;
  font-size: 6vw;
  color: #442204;
  line-height: 1;
  letter-spacing: 0.1em;
}

.gnav-item:nth-last-child(2) {
  width: 70%;
  margin: 0 auto;
  padding: 3rem 0 0;
}

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

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

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

.toggle {
  position: fixed;
  width: 12%;
  top: 0;
  right: 0;
  z-index: 999;
}

@media screen and (min-width: 1px) and (max-width: 750px) {
  .translation {
    position: fixed;
    width: 20%;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

}

@media screen and (min-width: 751px) and (max-width: 1024px) {
  .toggle {
    position: fixed;
    width: 6%;
    top: 0;
    right: 0;
  }

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

  .gnav-item:nth-last-child(2) {
    width: 80%;
    margin: 0 auto;
    padding: 4rem 0 0;
  }

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

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