/* ============================================
   Hamburger Button (Mix-Blend-Mode Ver.)
============================================ */
.hamburger-btn {
  position: fixed;
  top: 30px;
  right: 40px;
  width: 40px;
  height: 40px;
  z-index: 9999;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
  mix-blend-mode: difference;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 4px;
}

.hamburger-btn .block {
  background-color: #fff;
  width: 100%;
  height: 100%;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.hamburger-btn .block:nth-child(7) {
  z-index: 5;
}

.hamburger-btn.is-active .block {
  background-color: #fff !important;
}

/* ============================================
   Global Navigation Overlay
============================================ */
.global-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9998;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.global-nav__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background-color: #141414; /* メニュー背景色 */
  opacity: 0;
  visibility: hidden;
}

.global-nav__list {
  position: relative;
  z-index: 1001;
  list-style: none;
  text-align: left;
  padding: 0 10%;
  overflow-y: auto;
  padding-top: 100px;
  padding-bottom: 80px;
}
.global-nav__list::-webkit-scrollbar {
  width: 6px;
}

.global-nav__list::-webkit-scrollbar-track {
  background: transparent;
}

.global-nav__list::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
}

.global-nav__list::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.8);
}
.global-nav__item {
  margin: clamp(1rem, 4vh, 1.5rem) 0;
  overflow: hidden;
}

.global-nav__item a {
  display: inline-block;
  font-family: var(--font-title);
  font-size: clamp(1.0rem, 5vw, 1.4rem);
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.13em;
  line-height: 1.2;
  transform: translateY(110%);
  opacity: 0;
}

.global-nav__item .en {
  display: block;
font-size: clamp(0.5rem, 5vw, 0.7rem);
  font-family: var(--font-jp);
  font-weight: 300;
  color: #888;
  letter-spacing: 0.05em;
  margin-top: 5px;
}

.global-nav__item a:hover {
  color: #aaa;
  transition: color 0.3s;
}

/* ============================================
   Scroll Lock Class
============================================ */
/* JSでbodyに付与してスクロールを止めるクラス */
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .hamburger-btn {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    gap: 3px;
  }

.global-nav__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: #141414; /* メニュー背景色 */
  opacity: 0;
  visibility: hidden;
}
}
/* ============================================
   Scroll Lock Class
============================================ */
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}
