﻿.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 84px;
  background: rgba(3, 3, 3, 0.86);
  border-bottom: 1px solid rgba(181, 138, 75, 0.35);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.nav a {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: #e6ded1;
}

.nav a span {
  display: block;
  margin-top: 2px;
  font-family: "Cinzel", serif;
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 0.15em;
}

.nav .nav-contact {
  display: none;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--gold);
  color: #f2e6d1;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: 0.25s ease;
}

.header-contact:hover {
  background: rgba(181, 138, 75, 0.15);
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  background: rgba(7, 7, 7, 0.42);
  color: inherit;
  cursor: pointer;
  position: relative;
  z-index: 1002;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold-light);
  position: relative;
}

.hamburger span::before {
  position: absolute;
  top: -7px;
}

.hamburger span::after {
  position: absolute;
  bottom: -7px;
}

.hamburger.is-open span {
  background: transparent;
}

.hamburger.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.hamburger.is-open span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  transition: transform 0.25s ease, top 0.25s ease, bottom 0.25s ease, background 0.2s ease;
}

@media (max-width: 1024px) {
  .header-contact {
    display: none;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    min-height: 100vh;
    padding: 104px 28px 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin-left: 0;
    background:
      radial-gradient(circle at 84% 18%, rgba(181, 138, 75, 0.2), transparent 28%),
      linear-gradient(180deg, rgba(7, 7, 7, 0.98), rgba(18, 14, 10, 0.98));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 2px;
    border-bottom: 1px solid rgba(181, 138, 75, 0.22);
    font-size: clamp(18px, 5vw, 26px);
    text-align: left;
  }

  .nav .nav-contact {
    display: flex;
  }

  .nav a span {
    margin-top: 0;
    font-size: 11px;
  }

  .hamburger {
    display: flex;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 70px;
  }

  .logo-img {
    height: 34px;
  }
}

