/* サツドコ：全公開ページ共通ヘッダー v1
   他画面の .site-header / .site-logo に干渉しない専用スコープ */
#sd-global-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e5e9e7;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-sizing: border-box;
}
#sd-global-header,
#sd-global-header * {
  box-sizing: border-box;
}
#sd-global-header .sd-global-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  gap: 12px;
  padding: 16px;
  margin: 0;
}
#sd-global-header .sd-global-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: 158px;
  max-width: 42%;
  padding: 0;
  margin: 0;
  line-height: 1;
  border: 0;
  background: transparent;
  text-decoration: none;
}
#sd-global-header .sd-global-brand img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
}
#sd-global-header .sd-global-nav {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  min-width: 0;
}
#sd-global-header .sd-global-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  color: #50615a;
  white-space: nowrap;
  text-decoration: none;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  box-shadow: none;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
#sd-global-header .sd-global-link:hover,
#sd-global-header .sd-global-link:focus-visible {
  background: #f0f6f3;
  color: #126047;
}
#sd-global-header .sd-global-link[aria-current="location"] {
  background: #e3f3ec;
  color: #0c5a42;
}
#sd-global-header .sd-global-link:focus-visible,
#sd-global-header .sd-global-brand:focus-visible {
  outline: 2px solid #157052;
  outline-offset: 2px;
}
#sd-global-header .sd-global-link .bi {
  font-size: 1rem;
  line-height: 1;
}
#sd-global-header .sd-global-short {
  display: none;
}
@media (min-width: 992px) {
  #sd-global-header .sd-global-header-inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 767.98px) {
  #sd-global-header .sd-global-brand {
    width: 132px;
    max-width: 39%;
  }
  #sd-global-header .sd-global-header-inner {
    gap: 7px;
    padding: 12px 16px;
  }
  #sd-global-header .sd-global-nav {
    gap: 2px;
  }
  #sd-global-header .sd-global-link {
    min-height: 34px;
    padding: 7px 7px;
    font-size: 0.75rem;
  }
  #sd-global-header .sd-global-link .bi {
    display: none;
  }
  #sd-global-header .sd-global-full {
    display: none;
  }
  #sd-global-header .sd-global-short {
    display: inline;
  }
}
@media (max-width: 380px) {
  #sd-global-header .sd-global-brand {
    width: 120px;
    max-width: 39%;
  }
  #sd-global-header .sd-global-header-inner {
    gap: 5px;
    padding: 11px 12px;
  }
  #sd-global-header .sd-global-link {
    padding: 6px 6px;
    font-size: 0.7rem;
    min-height: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #sd-global-header .sd-global-link {
    transition: none;
  }
}
