/* ========== 共通 ========== */

.site-header {
  background-color: #fff;
  border-bottom: 1px solid #0032e1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.site-header__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 18px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.site-header__logo img {
  display: block;
  height: 46px;
}

/* PCナビ */
.site-header__nav {
  /* PCではそのまま右側に */
}

.global-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 36px;
}

.global-nav > li > a {
  font-weight: 700;
  font-weight: bold;
  font-size: 18px;
  line-height: 30px;
  text-align: left;
  color: #000;
}


/* ハンバーガーボタン（初期はPCで非表示） */
.site-header__toggle {
  display: none;
  width: 32px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}

.site-header__toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.site-header__toggle span:nth-child(1) {
  top: 0;
}
.site-header__toggle span:nth-child(2) {
  top: 10px;
}
.site-header__toggle span:nth-child(3) {
  top: 20px;
}

.site-header__toggle.is-open span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}
.site-header__toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.site-header__toggle.is-open span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

@media (max-width: 1100px) {
  .site-header__inner {
    padding: 18px 20px;
  }

}

@media (max-width: 1000px) {
  .site-header__inner {
    padding: 10px 16px;
    height: auto;
  }

  .site-header__logo img {
    height: 30px;
  }

  /* ロゴは左、ハンバーガーは右 */
  .site-header__toggle {
    display: block;
  }

  /* SPではナビを隠しておく */
  .site-header__nav {
    display: none;
    position: absolute;
    top: 50px; /* ヘッダーの下から出したい高さに合わせて */
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .site-header__nav.is-open {
    display: block;
  }

  .global-nav {
    flex-direction: column;
    gap: 0;
  }

  .global-nav > li > a {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
  }


  .global-nav > li > a {
    font-size: 14px;
  }

  /* PCナビは非表示 */
  .site-header__nav--pc {
    display: none;
  }
}
