@charset "utf-8";

.gnav {
  display: none;
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 999;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto ;
}

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

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

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

.gnav-item {
  width: 100%;
  margin: 0 auto 3rem;
}

.gnav-item a {
  display: inline-block;
  width: auto;
  padding: 0 40px;
  color: #724c26;
  font-size: 24px;
  font-family: "Kameron", serif;
  letter-spacing: 0.1em;
  background-image: url(../img/common/h_img_l.png),url(../img/common/h_img_r.png);
  background-repeat: no-repeat;
  background-position: center left, center right;
  background-size: 30px auto, 30px auto;
}

.toggle-logo {
  width: 380px;
  margin: 4rem auto;
}

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

.toggle-sns-item {
  width: 5rem;
  margin: 4rem 6% 0;
}

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

@media screen and (min-width: 1px) and (max-width: 750px) {
  
  .webp .gnav {
    background-image: url(../img/toggle/sp_bg_toggle.webp);
  }
  
  .no-webp .gnav {
    background-image: url(../img/toggle/sp_bg_toggle.jpg);
  }

  .gnav-item {
    width: 100%;
    margin: 0 auto 2rem;
  }
  
  .gnav-item a {
    font-size: min(20px,5.13vw);
  }
  
  .toggle-logo {
    width: 70%;
    margin: 4rem auto;
  }
  
  .toggle-sns-item {
    width: 6rem;
    margin: 0 8% 0;
  }
  
  .toggle {
    position: fixed;
    width: 50px;
    top: 0;
    right: 0;
    z-index: 888;
  }

}

@media screen and (min-width: 751px) and (max-width: 1024px) {

  .gnav {
    display: none;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 999;
    background-repeat: no-repeat;
    background-position: center;
    background-size:  auto 100%;
  }
  
}

@media screen and (min-width: 1025px) {
  .gnav {
    display: none;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 999;
    background-repeat: no-repeat;
    background-position: center;
    background-size:  cover;
  }
}