/* =====================================================
   site-header-01 — 固定ヘッダー
   lib: vanilla | category: forge | type: header
   prefix: --sh1-
===================================================== */

#site-header-01 *,
#site-header-01 *::before,
#site-header-01 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#site-header-01 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

#site-header-01.is-scrolled {
  background: var(--sh1-bg-scrolled, rgba(8,8,12,0.7));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--sh1-border, rgba(255,255,255,0.06));
}

#site-header-01 .sh1-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ── ロゴ ── */
#site-header-01 .sh1-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  color: var(--sh1-text, #E8E6F0);
  font-family: var(--sh1-font-en, 'Outfit', sans-serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.18em;
  line-height: 1;
  transition: opacity 0.2s ease;
}

#site-header-01 .sh1-logo:hover {
  opacity: 0.85;
}

#site-header-01 .sh1-logo-text {
  display: inline-block;
}

#site-header-01 .sh1-logo-text--accent {
  background: linear-gradient(135deg, #00D4FF, #4060FF, #8040FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── ナビ（PC） ── */
#site-header-01 .sh1-nav {
  display: block;
}

#site-header-01 .sh1-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

#site-header-01 .sh1-nav-link {
  display: inline-block;
  padding: 10px 18px;
  text-decoration: none;
  color: var(--sh1-text, #E8E6F0);
  font-family: var(--sh1-font-en, 'Outfit', sans-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

#site-header-01 .sh1-nav-link:hover {
  color: var(--sh1-accent, #00D4FF);
  background: rgba(255,255,255,0.04);
}

#site-header-01 .sh1-nav-link--cta {
  border-color: rgba(0,212,255,0.35);
  color: var(--sh1-accent, #00D4FF);
}

#site-header-01 .sh1-nav-link--cta:hover {
  background: rgba(0,212,255,0.12);
  border-color: rgba(0,212,255,0.6);
  color: var(--sh1-accent, #00D4FF);
}

/* ── バーガー（モバイル） ── */
#site-header-01 .sh1-burger {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--sh1-border, rgba(255,255,255,0.06));
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

#site-header-01 .sh1-burger-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--sh1-text, #E8E6F0);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

#site-header-01 .sh1-burger.is-open .sh1-burger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

#site-header-01 .sh1-burger.is-open .sh1-burger-bar:nth-child(2) {
  opacity: 0;
}

#site-header-01 .sh1-burger.is-open .sh1-burger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── モバイルナビ ── */
#site-header-01 .sh1-mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(8,8,12,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--sh1-border, rgba(255,255,255,0.06));
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

#site-header-01 .sh1-mobile-nav.is-open {
  max-height: 400px;
}

#site-header-01 .sh1-mobile-list {
  list-style: none;
  padding: 16px 24px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#site-header-01 .sh1-mobile-link {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--sh1-text, #E8E6F0);
  font-family: var(--sh1-font-en, 'Outfit', sans-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#site-header-01 .sh1-mobile-link:hover,
#site-header-01 .sh1-mobile-link:active {
  background: rgba(255,255,255,0.04);
  color: var(--sh1-accent, #00D4FF);
}

#site-header-01 .sh1-mobile-link--cta {
  margin-top: 8px;
  border-color: rgba(0,212,255,0.35);
  color: var(--sh1-accent, #00D4FF);
}

/* ── レスポンシブ ── */
@media (max-width: 768px) {
  #site-header-01 .sh1-inner {
    padding: 14px 20px;
  }

  #site-header-01 .sh1-logo {
    font-size: 15px;
    letter-spacing: 0.16em;
  }

  #site-header-01 .sh1-nav {
    display: none;
  }

  #site-header-01 .sh1-burger {
    display: flex;
  }

  #site-header-01 .sh1-mobile-nav {
    display: block;
  }
}
