.g-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.1);
  padding: 2rem 0;
  font-size: calc(var(--s-val) * 1.4);
  z-index: 10000;
}

.g-header .g-inner {
  display: flex;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  width: 83%;
  gap: calc(var(--s-val) * 3);
}

.g-header .g-inner .logo {
  width: 15%;
  min-width: 200px;
}

.g-header .g-inner .menu-list {
  display: flex;
  gap: calc(var(--s-val) * 2) calc(var(--s-val) * 3.5);
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  font-size: calc(var(--s-val) * 1.5);
}

.g-header .right-content {
  display: flex;
  gap: calc(var(--s-val) * 3);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.g-header .btn-list {
  display: flex;
  gap: calc(var(--s-val) * 1.5);
}

.g-header .contact a,
.g-header .rakuten a {
  color: var(--color-white);
  padding: 1.2rem 0;
  width: calc(var(--s-val) * 15);
  display: block;
  text-align: center;
  line-height: 1;
  font-size: calc(var(--s-val) * 1.4);
}

.g-header .contact a {
  background-color: var(--color-beige);
}

.g-header .rakuten a {
  background-color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.g-header .rakuten a span {
  width: 10%;
}

.g-header .hamburger-button,
.g-header .mobile-menu-overlay {
  display: none;
}

@media screen and (max-width: 768px) {
  .g-header,
  .g-header .g-inner {
    height: calc(var(--s-val) * 7);
  }

  .g-header {
    padding: 0;
    font-size: 16px;
    color: #fff;
  }

  .g-header .pc-Only {
    display: none;
  }

  .g-header ul {
    padding: 0 4rem;
  }

  .g-header .g-inner {
    width: 100%;
  }

  .g-header .g-inner .logo {
    min-width: 140px;
    justify-self: start;
    margin-left: 5%;
    width: 30%;
  }

  .g-header .g-inner .menu-list {
    display: none;
  }

  .btn-box {
    display: flex;
    height: 100%;
  }

  .burger-bg {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    flex-direction: column;
    line-height: 1;
  }

  .burger-bg {
    background-color: #b49a71;
  }

  .g-header .hamburger-button {
    display: block;
    width: calc(var(--s-val) * 3);
    height: calc(var(--s-val) * 2.5);
    --line-shift: calc(var(--s-val) * 1.2);
    position: relative;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    z-index: 10000;
    justify-self: end;
    padding: 4px 6px;
    background: unset;
  }

  .g-header .hamburger-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    left: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .g-header .line-top {
    top: 0;
  }

  .g-header .line-middle {
    top: 50%;
    transform: translateY(-50%);
  }

  .g-header .line-bottom {
    bottom: 0;
  }

  .g-header .hamburger-button.active .line-top {
    transform: translateY(var(--line-shift)) rotate(45deg);
  }

  .g-header .hamburger-button.active .line-middle {
    opacity: 0;
  }

  .g-header .hamburger-button.active .line-bottom {
    transform: translateY(calc(var(--line-shift) * -1)) rotate(-45deg);
  }

  .g-header .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: calc(var(--s-val) * 7);
    right: -100%;
    width: 76%;
    height: 100%;
    background: var(--color-beige);
    transition: right 0.3s ease;
    padding-top: 5%;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
  }

  header {
    position: relative;
  }

  .menu-overlay-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
  }

  .mobile-menu-overlay.active {
    right: 0;
  }

  .g-header .mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 2rem;
  }

  .g-header .mobile-menu-list li {
    padding: 2rem 0;
    border-bottom: 1px solid;
  }

  .g-header .mobile-menu-list li.border {
    border: none;
  }

  .g-header .menu-overlay-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
  }

  .menu-overlay-bg.active {
    display: block;
  }

  span.burger-text {
    line-height: 1;
    font-size: calc(var(--s-val) * 1);
  }

  .g-header .contact a,
  .g-header .rakuten a {
    width: 100%;
    font-size: calc(var(--s-val) * 1.5);
  }

  .g-header .mobile-menu-overlay {
    z-index: 9999;
  }

  .g-header .mobile-menu-list li a {
    color: #fff;
    font-weight: normal;
  }

  .g-header li.contact.pt-4,
  .g-header li.shop-btn {
    border-bottom: none;
    padding-top: 2rem;
  }

  li.contact.pt-4 {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  li.contact.pt-4 .contact-btn,
  li.contact.pt-4 .shop-btn {
    padding: 2rem 0;
  }

  li.contact.pt-4 .contact-btn {
    background-color: #fff;
    color: #000;
    position: relative;
    display: flex;
    justify-content: center;
    opacity: 1;
  }

  li.contact.pt-4 .contact-btn::before {
    content: "";
    background-image: url(../img/contact-icon.webp);
    background-repeat: no-repeat;
    background-size: contain;
    width: 10%;
    display: block;
  }

  li.contact.pt-4 .shop-btn {
    background-color: #555555;
    display: flex;
    text-align: center;
    margin: 0 auto;
    justify-content: center;
    position: relative;
  }

  li.contact.pt-4 .shop-btn::before {
    content: "";
    background-image: url(../img/rakuten-icon.webp);
    background-repeat: no-repeat;
    background-size: contain;
    width: 10%;
    display: block;
  }

  .shop-btn {
    font-size: calc(var(--s-val) * 1.4);
  }

  .btn-common_style a {
    width: 80%;
    min-width: auto;
  }
}
