@charset "utf-8";
#header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.gnav_list{
  display: flex;
  gap: 40px;
}
.gnav_list a{
  position: relative;
  text-decoration: none;
  color: #f9d19f;
  font-family: var(--ff-corm-en);
  font-size: 1.7rem;
  letter-spacing: 0.08em;
}
@media (hover: hover) {
  .gnav_list a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: #f9d19f;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .3s ease;
  }
  .gnav_list a:hover::after{
    transform: scaleX(1);
  }
}


/* バーガー */
.hamburger{
  display: none;
}

/* スマホ */
@media (max-width: 768px){
  #header{
    justify-content: flex-end;
    padding-right: 20px;
  }
  .gnav{
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    height: 85%;
    background-image: linear-gradient(90deg, rgba(61, 40, 17, 0.9), rgba(18, 12, 3, 0.9));
    transform: translateX(100%);
    transition: .4s;
    border-bottom-left-radius: 120px;
  }
  .gnav.active{
    transform: translateX(0);
  }
  .gnav_list{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
    width: 70%;
    height: 100%;
    padding-top: 120px;
    padding-left: 0;
    margin: 0 auto;
  }
  .gnav_list li{width: 100%;}
  .gnav_list a{
    position: relative;
    display: flex;
    align-items: baseline;
    width: 100%;
    color: #f9d19f;
    font-size: 2.0rem;
  }
  .gnav_list a::after{
    content: "";
    flex: 1;
    margin-left: 5px;
    border-top: 1px solid #f9d19f;
  }
  .gnav_list a::before{
    content: "";
    position: absolute;
    right: 0;
    top: 56%;
    width: 8px;
    border-top: 1px solid #f9d19f;
    transform: rotate(45deg);
  }

  .hamburger{
    position: relative;
    display: block;
    width: 30px;
    height: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger span{
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: #f9d19f;
    transition: .3s;
  }
  .hamburger span:nth-child(1){
    top: 0;
  }
  .hamburger span:nth-child(2){
    top: 11px;
  }
  .hamburger span:nth-child(3){
    top: 22px;
  }

  /* アイコン閉まる */
  .hamburger.active span:nth-child(1){
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background: #f9d19f;
  }
  .hamburger.active span:nth-child(2){
    opacity: 0;
  }
  .hamburger.active span:nth-child(3){
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    background: #f9d19f;
  }

}