/* ============================================================
   #fp-header default — ロゴ + ログインボタン + ハンバーガー + ドロワー
   ============================================================ */

#fp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--fp-brand-line);
}
#fp-header .fp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 12px;
}
#fp-header .fp-header__logo {
  display: flex;
  align-items: center;
  color: var(--fp-brand);
  flex: 1;
  min-width: 0;
}
#fp-header .fp-logo-svg {
  height: 44px;
  width: auto;
  max-width: 100%;
  display: block;
}
#fp-header .fp-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
#fp-header .fp-header__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border: 1.5px solid var(--fp-brand);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fp-brand);
  transition: background 0.2s, color 0.2s;
}
#fp-header .fp-header__login:hover {
  background: var(--fp-brand);
  color: #fff;
}

#fp-header .fp-header__hum {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
#fp-header .fp-header__hum span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fp-brand);
  border-radius: 2px;
}

@media (max-width: 480px) {
  #fp-header .fp-header__inner { height: 56px; }
  #fp-header .fp-logo-svg { height: 34px; }
  #fp-header .fp-header__login { height: 32px; padding: 0 14px; font-size: 12px; }
}
@media (max-width: 360px) {
  #fp-header .fp-logo-svg { height: 30px; }
  #fp-header .fp-header__login { padding: 0 12px; }
}
@media (min-width: 1024px) {
  #fp-header .fp-header__inner { height: 72px; }
  #fp-header .fp-logo-svg { height: 44px; }
  #fp-header .fp-header__login { height: 40px; padding: 0 22px; font-size: 14px; }
}

/* === ドロワー === */
#fp-header .fp-drawer {
  position: fixed;
  inset: 0;
  background: var(--fp-brand);
  z-index: 1100;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0s linear 0.3s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 80px 24px 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
#fp-header .fp-drawer.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s;
}
#fp-header .fp-drawer__close {
  position: fixed;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  background: transparent;
  z-index: 1101;
  padding: 0;
}
#fp-header .fp-drawer__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #fff;
  margin-top: -1px;
  margin-left: -9px;
}
#fp-header .fp-drawer__close span:first-child { transform: rotate(45deg); }
#fp-header .fp-drawer__close span:last-child  { transform: rotate(-45deg); }

#fp-header .fp-drawer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
#fp-header .fp-drawer__nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
#fp-header .fp-drawer__nav li:last-child { border-bottom: 0; }
#fp-header .fp-drawer__nav a {
  display: block;
  padding: 16px 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}
#fp-header .fp-drawer__nav a:hover {
  color: #c8d8eb;
}

#fp-header .fp-drawer__legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: auto;
}
#fp-header .fp-drawer__legal a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  text-decoration: none;
}
#fp-header .fp-drawer__legal a:hover {
  color: #fff;
  text-decoration: underline;
}
