/* ============================================================
   MASAKI OFFICIAL WEBSITE
   共通ヘッダー専用CSS Ver.1.0

   TOPのsite.cssからHEADER関連だけを分離。
   各ページ本体の .hero 等へ干渉しません。
============================================================ */

:root {
  --yellow: #f4ff00;
  --white: #f5f5f2;
}

.site-header,
.site-header * {
  box-sizing: border-box;
}

.site-header a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  background: rgba(3, 3, 3, .94);
  border-bottom: 1px solid #242424;
  backdrop-filter: blur(10px);
}

.brand-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: .8;
}

.brand-logo strong {
  font-family: Impact, "Arial Narrow Bold", "Helvetica Neue", sans-serif;
  font-size: 39px;
  letter-spacing: .01em;
  color: var(--yellow);
  transform: scaleX(.92);
  transform-origin: left center;
}

.brand-logo span {
  font-size: 7px;
  letter-spacing: .34em;
  margin-top: 8px;
  color: #fff;
}

.global-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.global-nav a {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #fff;
  transition: color .18s ease, transform .18s ease;
  white-space: nowrap;
}

.global-nav a:hover {
  color: var(--yellow);
  transform: translateY(-2px);
}

.header-social {
  display: flex;
  gap: 15px;
  align-items: center;
}

.header-social a {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: .18s;
}

.header-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-social a:hover {
  color: var(--yellow);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 185px 1fr auto;
    padding: 0 18px;
  }

  .global-nav {
    gap: 14px;
  }

  .global-nav a {
    font-size: 11px;
    letter-spacing: .05em;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 62px;
    grid-template-columns: 1fr auto;
  }

  .brand-logo strong {
    font-size: 32px;
  }

  .global-nav {
    display: none;
    position: fixed;
    z-index: 31;
    top: 62px;
    left: 0;
    right: 0;
    background: #090909;
    padding: 12px 20px;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid #333;
  }

  .global-nav.open {
    display: flex;
  }

  .global-nav a {
    padding: 11px;
    border-bottom: 1px solid #222;
  }

  .header-social {
    display: none;
  }

  .menu-button {
    display: block;
    width: 34px;
    padding: 0;
    background: none;
    border: 0;
  }

  .menu-button span {
    display: block;
    height: 2px;
    background: #fff;
    margin: 6px 0;
  }
}
