/* =============================
   header
============================= */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  padding: 0 32px;
  z-index: var(--z-logo);
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s;
}

.header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site__content {
  padding-top: 72px;
}

.header__branding {
  z-index: var(--z-logo);
}

.header__title {
  margin: 0;
}

.header__title-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header__title-image {
  width: 88px;
  height: auto;
}

.header__title-text {
  font-size: var(--fs-base);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

/* =============================
   header__nav
============================= */
.header__nav {
  display: flex;
  align-items: center;
}

/* =============================
   btn__trigger（ハンバーガー）
============================= */
.btn__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  position: relative;
  background-color: var(--navy);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  z-index: var(--z-burger);
  transition: background-color 0.25s;
}

.btn__trigger span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 1.5px;
  background-color: var(--color-text-sub);
  border-radius: 2px;
  display: block;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.2s;
}

.btn__trigger span:nth-of-type(1) { top: calc(50% - 7px); }
.btn__trigger span:nth-of-type(2) { top: 50%; }
.btn__trigger span:nth-of-type(3) { top: calc(50% + 7px); }

#burger.active span:nth-of-type(1) {
  transform: translateX(-50%) translateY(7px) rotate(45deg);
}
#burger.active span:nth-of-type(2) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
}
#burger.active span:nth-of-type(3) {
  transform: translateX(-50%) translateY(-7px) rotate(-45deg);
}

/* =============================
   header__menu-bg（オーバーレイ）
============================= */
.header__menu-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--navy);
  transform: translateY(-100%);
  z-index: var(--z-menu-bg);
}

.header__menu-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.header__menu-bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -15%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--gold-10) 0%, transparent 65%);
  pointer-events: none;
}

.header__menu-bg.active {
  pointer-events: auto;
}

/* =============================
   header__menu（モバイル）
============================= */
.header__menu {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  padding: 72px 40px 80px;
  z-index: var(--z-menu);
  gap: 0;
}

.header__menu.is-open {
  display: flex;
}

.header__menu li {
  overflow: hidden;
  width: 100%;
  text-align: center;
}

.header__menu li a {
  display: block;
  font-size: clamp(2rem, 8vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-text-sub);
  padding: 14px 0;
  transform: translateY(110%);
  transition: color 0.2s;
  text-decoration: none;
  line-height: 1.1;
}

.header__menu li a:hover {
  color: var(--gold);
}

/* CTA（お問い合わせ）*/
#menu-item-38 {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--white-10);
}

#menu-item-38 a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 14px 44px;
  font-size: var(--fs-base) !important;
  font-weight: 800;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 100px;
  color: #fff !important;
  letter-spacing: 0.04em;
  transition: filter 0.2s, box-shadow 0.2s;
}

#menu-item-38 a:hover {
  color: #fff !important;
  filter: brightness(1.08);
  box-shadow: var(--shadow-gold);
}

/* =============================
   body スクロールロック
============================= */
body.is-menu-open {
  overflow: hidden;
}

/* =============================
   PC（760px〜）
============================= */
@media (min-width: 760px) {
  .btn__trigger {
    display: none;
  }

  .header__menu-bg {
    display: none;
  }

  .header__menu,
  .header__menu.is-open {
    display: flex;
    flex-direction: row;
    gap: 28px;
    align-items: center;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background-color: transparent;
  }

  .header__menu li {
    overflow: visible;
    text-align: left;
    width: auto;
  }

  .header__menu li a {
    transform: none !important;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-text);
    padding: 0;
    letter-spacing: 0;
    line-height: 1;
  }

  .header__menu li a:hover {
    color: var(--gold);
  }

  /* お問い合わせ PC */
  #menu-item-38 {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  #menu-item-38 a {
    display: inline-flex !important;
    padding: 10px 24px;
    font-size: var(--fs-sm) !important;
    font-weight: 700;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: var(--radius-pill);
    color: #fff !important;
    letter-spacing: 0.02em;
    transition: filter 0.2s, box-shadow 0.2s, transform 0.2s;
  }

  #menu-item-38 a:hover {
    color: #fff !important;
    filter: brightness(1.08);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
  }
}
