@charset "UTF-8";
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px clamp(20px, 3vw, 40px);
  box-sizing: border-box;
  pointer-events: none;
}
.site-header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}
.site-header__logo a {
  display: inline-block;
  transition: opacity 0.3s ease;
}
.site-header__logo a:hover {
  opacity: 0.7;
}
.site-header__logo img {
  display: block;
  height: clamp(32px, 4vw, 48px);
  width: auto;
}

.hamburger {
  position: relative;
  width: 60px;
  height: 40px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.hamburger__line {
  position: absolute;
  width: 60px;
  height: 2px;
  background: #fff;
  box-shadow: 1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000;
  border-radius: 999px;
  transition: transform 0.35s ease, opacity 0.25s ease, top 0.35s ease;
  z-index: 1001;
}

.hamburger__line:nth-child(1) {
  top: 12px;
}

.hamburger__line:nth-child(2) {
  top: 19px;
}

.hamburger__line:nth-child(3) {
  top: 26px;
}

.hamburger.is-open .hamburger__line:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.hamburger.is-open .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open .hamburger__line:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

.global-nav {
  position: fixed;
  inset: 0;
  display: flex;
  pointer-events: none;
  z-index: 1000;
}

.global-nav__overlay {
  flex: 1;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.global-nav__panel {
  width: 85%;
  max-width: 600px;
  background-color: #111;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  padding: clamp(80px, 10vh, 120px) clamp(20px, 3vw, 40px) clamp(20px, 3vh, 30px);
  box-sizing: border-box;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  overflow-y: hidden;
}

.global-nav.is-open {
  pointer-events: auto;
}

.global-nav.is-open .global-nav__overlay {
  opacity: 1;
}

.global-nav.is-open .global-nav__panel {
  transform: translateX(0);
}

.global-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.global-nav__item {
  border-bottom: clamp(1px, 0.5vh, 3px) solid #fff;
}

.global-nav__link {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 25px);
  padding: clamp(20px, 3vh, 35px) 0 clamp(12px, 2vh, 18px);
  text-decoration: none;
  color: #fff;
  transition: opacity 0.3s ease;
  position: relative;
}
.global-nav__link:hover {
  opacity: 0.7;
}

.global-nav__title-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
  flex: 1;
}

.global-nav__title {
  font-size: clamp(18px, 2.5vw, 32px);
  color: #fff;
  font-style: italic;
  font-weight: bold;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.05em;
  order: 1;
}

.global-nav__subtitle {
  font-size: clamp(10px, 1.4vw, 14px);
  color: #fff;
  letter-spacing: 0.05em;
  white-space: nowrap;
  order: 2;
  line-height: 1;
  align-self: flex-end;
}

.global-nav__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(16px, 2.5vw, 26px);
  height: clamp(16px, 2.5vw, 26px);
}
.global-nav__arrow img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.global-nav__privacy {
  margin-top: auto;
  padding-top: clamp(20px, 3vh, 30px);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.global-nav__privacy-link {
  font-size: clamp(10px, 1.5vw, 12px);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}
.global-nav__privacy-link:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .global-nav__panel {
    max-width: 100%;
    padding: clamp(80px, 12vh, 120px) clamp(16px, 4vw, 20px) clamp(16px, 3vh, 24px);
    height: 100vh;
    overflow-y: hidden;
  }
  .global-nav__item {
    border-bottom: clamp(1px, 0.3vh, 2px) solid #fff;
  }
  .global-nav__link {
    align-items: center;
    padding: clamp(16px, 3vh, 28px) 0 clamp(8px, 1.5vh, 16px);
    position: relative;
    gap: clamp(12px, 2vw, 20px);
  }
  .global-nav__title-wrapper {
    /* SPでも title + subtitle を横並びに戻す */
    flex-direction: row;
    align-items: center;
  }
  .global-nav__title {
    order: 1;
    font-size: clamp(24px, 4vw, 28px);
    width: auto;
  }
  .global-nav__subtitle {
    order: 2;
    margin-left: 0;
    font-size: clamp(12px, 2vw, 16px);
    align-self: flex-end;
    line-height: 1;
  }
  .global-nav__arrow {
    position: absolute;
    right: 0;
    width: clamp(18px, 3.5vw, 28px);
    height: clamp(18px, 3.5vw, 28px);
  }
  .global-nav__privacy {
    padding-top: clamp(16px, 2.5vh, 24px);
  }
}

/*# sourceMappingURL=header.css.map */
