#header-container-in.hlt-top-menu:has(.sugao-header-bar) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}
#header-container-in.hlt-top-menu:has(.sugao-header-bar) > #header {
  flex: 0 1 auto;
  min-width: 0;
}
#header-container #navi:has(.sugao-header-bar) {
  display: block;
  flex: 0 0 auto;
  width: auto;
  margin-inline-start: auto;
}
#header-container #navi-in:has(.sugao-header-bar) {
  display: block;
  width: auto;
  overflow: visible;
}
.sugao-header-bar {
  --sugao-header-ink: #214739;
  --sugao-header-line: #cbd9cb;
  --sugao-header-paper: #fffdfa;
  display: flex;
  justify-content: flex-end;
  padding: .25rem clamp(.5rem, 2vw, 1rem);
  line-height: 1.35;
}
.sugao-header-menu { position: relative; }
.sugao-header-menu > summary {
  box-sizing: border-box;
  display: inline-flex;
  gap: .45em;
  align-items: center;
  min-height: 44px;
  padding: .4em .35em;
  border: 0;
  background: transparent;
  color: var(--sugao-header-ink);
  font-size: clamp(.875rem, 3.5vw, 1rem);
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.sugao-header-menu > summary::-webkit-details-marker { display: none; }
.sugao-header-menu > summary:hover { text-decoration: underline; text-underline-offset: .25em; }
.sugao-menu-icon {
  width: 1.05em;
  height: .76em;
  display: inline-block;
  border-block: 2px solid;
  background: linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat;
}
.sugao-header-bar :focus-visible { outline: 2px solid #347457; outline-offset: 2px; }
.sugao-header-panel {
  position: absolute;
  z-index: 20;
  inset-block-start: calc(100% + .25rem);
  inset-inline-end: 0;
  box-sizing: border-box;
  width: min(18rem, calc(100vw - 2rem));
  max-height: 70vh;
  overflow-y: auto;
  padding: .35rem;
  border: 1px solid var(--sugao-header-line);
  border-radius: .5rem;
  background: var(--sugao-header-paper);
  box-shadow: 0 8px 24px #20362c24;
}
#navi .sugao-header-panel ul { display: block; margin: 0; padding: 0; list-style: none; }
#navi .sugao-header-panel li { display: block; float: none; width: auto; height: auto; margin: 0; }
#navi .sugao-header-panel li > a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .7rem;
  text-align: left;
  height: auto;
  line-height: 1.35;
  color: var(--sugao-header-ink);
  background: transparent;
  border-radius: .22rem;
}
#navi .sugao-header-panel a:hover, #navi .sugao-header-panel a:focus-visible { background: #eaf2e9; }
