/* Canonical public header. Loaded after each page stylesheet to prevent page-specific drift. */
body .site-header {
  position: sticky !important;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid #d9e7e1 !important;
  background: rgba(255, 255, 255, .97) !important;
}

body .site-header .header-inner {
  display: flex !important;
  width: min(1240px, 100%) !important;
  min-width: 0;
  min-height: 74px;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 28px !important;
  margin: 0 auto !important;
  padding: 15px 28px !important;
}

body .site-header .logo {
  display: inline-flex !important;
  min-width: 0;
  min-height: 44px;
  flex: 0 1 auto;
  align-items: center !important;
  gap: 9px !important;
  color: #0b6b4d !important;
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  font-size: 25px !important;
  font-weight: 900 !important;
  line-height: 1;
  letter-spacing: -.04em !important;
  white-space: nowrap;
}

body .site-header .logo::before {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  background: url('/assets/lumera-mark.svg') center / contain no-repeat !important;
  content: "" !important;
}

body .site-header .logo span { color: #0b6b4d !important; }
body .site-header .main-nav { min-width: 0; }
body .site-header .main-nav ul {
  display: flex;
  align-items: center;
  gap: 25px !important;
}
body .site-header .main-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #45564f;
  font-size: 13px;
  font-weight: 700;
}
body .site-header .main-nav a:hover,
body .site-header .main-nav a[aria-current="page"] { color: #0b6b4d; }

body .site-header .header-right {
  display: flex !important;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center !important;
  gap: 17px !important;
}

body .site-header .header-contact {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #45564f;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body .site-header .site-login-button {
  display: inline-flex;
  min-width: 92px;
  min-height: 44px;
  padding: 11px 19px !important;
  border-radius: 12px !important;
  background: #0b6b4d !important;
  color: #fff !important;
  font-size: 13px !important;
}

body .site-header .mobile-header-action { display: none !important; }

@media (max-width: 900px) {
  body .site-header .header-inner {
    min-height: 68px;
    gap: 9px !important;
    padding: 9px 12px !important;
  }

  body .site-header .logo {
    gap: 5px !important;
    font-size: 20px !important;
  }

  body .site-header .logo::before {
    width: 24px !important;
    height: 24px !important;
    flex-basis: 24px !important;
  }

  body .site-header .main-nav,
  body .site-header .header-contact,
  body .site-header .site-login-button { display: none !important; }

  body .site-header .header-right { gap: 6px !important; }

  body .site-header .mobile-header-action {
    display: inline-flex !important;
    min-width: 72px;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border: 1px solid #0b6b4d;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    word-break: keep-all;
  }

  body .site-header .mobile-header-signup {
    border-color: #a8dcca !important;
    background: #e6f6f0 !important;
    color: #0b6b4d !important;
    box-shadow: 0 5px 14px rgba(11, 107, 77, .08) !important;
  }

  body .site-header .mobile-login-link {
    background: #fff !important;
    color: #0b6b4d !important;
    box-shadow: none !important;
  }

  body .site-header .menu-btn {
    display: grid !important;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(11, 107, 77, .22);
    border-radius: 12px;
    background: #fff;
    color: #0b6b4d !important;
    font-size: 24px;
    line-height: 1;
    box-shadow: none !important;
  }
}

@media (max-width: 370px) {
  body .site-header .header-inner {
    gap: 5px !important;
    padding-inline: 9px !important;
  }

  body .site-header .logo {
    gap: 5px !important;
    font-size: 20px !important;
  }

  body .site-header .logo::before {
    width: 24px !important;
    height: 24px !important;
    flex-basis: 24px !important;
  }

  body .site-header .mobile-header-action {
    min-width: 62px;
    padding-inline: 8px;
    font-size: 11px;
  }
}
