#lumo-global-header {
  --lgm-ink: #2f302b;
  --lgm-muted: #55594f;
  --lgm-accent: #b9420c;
  --lgm-dark: #92370e;
  --lgm-pale: #fff0e4;
  --lgm-focus: #155f69;
  position: relative;
  z-index: 50;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 0 #deddd5;
  color: var(--lgm-ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: max(16px, 1rem);
  line-height: 1.5;
  letter-spacing: normal;
  text-align: left;
}

#header-section:has(> #lumo-global-header:only-child) {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 998;
}
body:has(#lumo-global-header) { --lgm-clearance: calc(138px + var(--wp-admin--admin-bar--height, 0px)); }
body:has(#lumo-global-header) #content :is(section[id], h2[id], h3[id], #wage, #simulation, #places, #profile) {
  scroll-margin-top: var(--lgm-clearance);
}

#lumo-global-header *, #lumo-global-header *::before, #lumo-global-header *::after { box-sizing: border-box; }
#lumo-global-header ul { list-style: none; padding: 0; margin: 0; }
#lumo-global-header li { list-style: none; margin: 0; padding: 0; }
#lumo-global-header a { color: inherit; text-decoration: none; line-height: 1.45; }
#lumo-global-header :is(a, summary):focus-visible { outline: 3px solid var(--lgm-focus); outline-offset: 2px; border-radius: 4px; }
#lumo-global-header .lgm-inner { width: min(100%, 1280px); margin: 0 auto; padding-inline: clamp(20px, 3.3vw, 48px); }
#lumo-global-header .lgm-top { background: #f7f6f1; border-bottom: 1px solid #e9e7df; }
#lumo-global-header .lgm-utility { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; }
#lumo-global-header .lgm-region { color: var(--lgm-muted); font-size: max(16px, 1rem); font-weight: 600; white-space: nowrap; }
#lumo-global-header .lgm-info { margin-inline-start: auto; }
#lumo-global-header .lgm-info ul { display: flex; align-items: center; }
#lumo-global-header .lgm-info li { position: relative; }
#lumo-global-header .lgm-info li + li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 1px; height: 12px;
  transform: translateY(-50%); background: #cecec3; pointer-events: none;
}
#lumo-global-header .lgm-info a {
  display: flex; align-items: center; min-height: 44px; padding: 4px clamp(10px, 1.1vw, 16px);
  color: #484b43; font-size: inherit; font-weight: 600; white-space: nowrap;
}
#lumo-global-header .lgm-info li:last-child a { padding-inline-end: 0; }
#lumo-global-header .lgm-info a:is(:hover, [aria-current]),
#lumo-global-header .lgm-mobile-info a:is(:hover, [aria-current]) {
  color: var(--lgm-dark); text-decoration: underline; text-underline-offset: .28em; text-decoration-thickness: 2px;
}
#lumo-global-header .lgm-main {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  column-gap: clamp(12px, 2.3vw, 32px); min-height: 80px;
}
#lumo-global-header .lgm-brand {
  display: inline-flex; align-items: center; justify-self: start; min-height: 44px;
  max-width: 100%; width: 136px; color: var(--lgm-accent); font-size: 24px; font-weight: 750;
}
#lumo-global-header .lgm-logo { display: block; width: 100%; height: auto; margin: 0; }
#lumo-global-header .lgm-primary { justify-self: center; font-size: max(18px, 1.125rem); }
#lumo-global-header .lgm-primary ul { display: flex; gap: clamp(5px, 1.1vw, 18px); }
#lumo-global-header .lgm-primary a {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 80px;
  padding-inline: clamp(5px, .65vw, 11px); font-size: inherit; font-weight: 700; white-space: nowrap;
}
#lumo-global-header .lgm-primary a::after {
  position: absolute; content: ""; inset-inline: 5px; bottom: 9px; height: 3px; border-radius: 2px; background: transparent;
}
#lumo-global-header .lgm-primary a:is(:hover, [aria-current]) { color: var(--lgm-dark); }
#lumo-global-header .lgm-primary a:hover::after { background: #e7b499; }
#lumo-global-header .lgm-primary a[aria-current]::after { background: var(--lgm-accent); }
#lumo-global-header .lgm-primary a:focus-visible { outline-offset: -3px; }
#lumo-global-header .lgm-visit {
  display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px;
  padding: 10px 18px; border-radius: 9px; color: #fff; background: var(--lgm-accent);
  font-size: 16px; font-weight: 700; white-space: nowrap;
}
#lumo-global-header .lgm-visit:hover { background: var(--lgm-dark); }
#lumo-global-header .lgm-visit[aria-current] { text-decoration: underline; text-underline-offset: .23em; }
#lumo-global-header .lgm-bubble {
  display: block; position: relative; flex: none; width: 18px; height: 14px; border: 2px solid currentColor; border-radius: 4px;
}
#lumo-global-header .lgm-bubble::after {
  content: ""; position: absolute; left: 2px; bottom: -4px; width: 6px; height: 5px; transform: skewY(-30deg);
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; background: var(--lgm-accent);
}
#lumo-global-header .lgm-visit:hover .lgm-bubble::after { background: var(--lgm-dark); }
#lumo-global-header .lgm-mobile { display: none; }

@media (min-width: 60.001em) and (max-width: 70em) {
  #lumo-global-header .lgm-main { column-gap: 12px; }
  #lumo-global-header .lgm-inner { padding-inline: 20px; }
  #lumo-global-header .lgm-brand { width: 125px; }
  #lumo-global-header .lgm-primary ul { gap: 6px; }
  #lumo-global-header .lgm-primary a { padding-inline: 4px; }
  #lumo-global-header .lgm-info a { padding-inline: 10px; }
}
@media (max-width: 60em) {
  body:has(#lumo-global-header) { --lgm-clearance: calc(82px + var(--wp-admin--admin-bar--height, 0px)); }
  #lumo-global-header .lgm-top, #lumo-global-header .lgm-primary { display: none; }
  #lumo-global-header .lgm-main {
    --lgm-inset: clamp(12px, 3.5vw, 26px);
    grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; min-height: 68px; padding-inline: var(--lgm-inset);
  }
  #lumo-global-header .lgm-brand { width: min(132px, 100%); }
  #lumo-global-header .lgm-visit { gap: 7px; min-height: 46px; font-size: inherit; padding: 8px 12px; }
  #lumo-global-header .lgm-bubble { width: 16px; height: 13px; }
  #lumo-global-header .lgm-mobile { display: block; margin: 0; border: 0; padding: 0; background: none; }
  #lumo-global-header .lgm-mobile summary {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    min-width: 66px; min-height: 48px; padding: 0; color: var(--lgm-ink); background: transparent;
    font-size: inherit; line-height: 1.25; font-weight: 700; white-space: nowrap; list-style: none; cursor: pointer;
  }
  #lumo-global-header .lgm-mobile summary::marker { content: ""; }
  #lumo-global-header .lgm-mobile summary::-webkit-details-marker { display: none; }
  #lumo-global-header .lgm-bars { position: relative; display: block; width: 22px; height: 16px; border-block: 2px solid currentColor; }
  #lumo-global-header .lgm-bars::before, #lumo-global-header .lgm-mobile[open] .lgm-bars::after {
    position: absolute; top: calc(50% - 1px); left: 0; right: 0; height: 2px; content: ""; background: currentColor;
  }
  #lumo-global-header .lgm-mobile[open] .lgm-bars { border: 0; }
  #lumo-global-header .lgm-mobile[open] .lgm-bars::before { transform: rotate(40deg); }
  #lumo-global-header .lgm-mobile[open] .lgm-bars::after { transform: rotate(-40deg); }
  #lumo-global-header .lgm-close-label, #lumo-global-header .lgm-mobile[open] .lgm-open-label { display: none; }
  #lumo-global-header .lgm-mobile[open] .lgm-close-label { display: block; }
  #lumo-global-header .lgm-panel {
    position: absolute; inset: 100% 0 auto; overflow-y: auto; overscroll-behavior: contain;
    max-height: calc(100vh - var(--lgm-clearance)); max-height: calc(100dvh - var(--lgm-clearance));
    background: #fff; border-top: 1px solid #deddd5;
    box-shadow: 0 12px 20px rgba(47, 40, 31, .13);
  }
  #lumo-global-header .lgm-mobile-main { padding: 5px var(--lgm-inset); font-size: max(18px, 1.125rem); }
  #lumo-global-header .lgm-mobile-main li + li { border-top: 1px solid #ebe9e0; }
  #lumo-global-header .lgm-mobile-main a {
    position: relative; display: grid; align-content: center; gap: 2px; min-height: 60px;
    padding: 9px 14px; border-radius: 5px; font-size: inherit; font-weight: 700;
  }
  #lumo-global-header .lgm-mobile-main a small { color: var(--lgm-muted); font-size: max(16px, 1rem); font-weight: 500; line-height: 1.45; }
  #lumo-global-header .lgm-mobile-main a:is(:hover,[aria-current]) { background: var(--lgm-pale); color: var(--lgm-dark); }
  #lumo-global-header .lgm-mobile-main a[aria-current]::before {
    position: absolute; content: ""; inset: 11px auto 11px 0; width: 3px; border-radius: 2px; background: var(--lgm-accent);
  }
  #lumo-global-header .lgm-mobile-info { padding: 4px calc(var(--lgm-inset) + 12px) max(8px, env(safe-area-inset-bottom)); background: #f8f8f4; border-top: 1px solid #dfded5; }
  #lumo-global-header .lgm-mobile-info li + li { border-top: 1px solid #e2e2da; }
  #lumo-global-header .lgm-mobile-info a { display: flex; align-items: center; min-height: 44px; font-size: inherit; font-weight: 600; }
}
@media (max-width: 600px) {
  #header-section:has(> #lumo-global-header:only-child) { top: 0; }
}
@media (max-width: 400px) {
  #lumo-global-header .lgm-bubble { display: none; }
}
@media (max-width: 360px) {
  #lumo-global-header .lgm-main { --lgm-inset: 9px; gap: 5px; }
  #lumo-global-header .lgm-visit { padding: 4px 12px; text-align: center; }
  #lumo-global-header .lgm-visit-label { line-height: 1.17; }
  #lumo-global-header .lgm-visit-last { display: block; }
}
@media print {
  #header-section:has(> #lumo-global-header:only-child) { position: static; }
  #lumo-global-header .lgm-top, #lumo-global-header .lgm-primary, #lumo-global-header .lgm-mobile, #lumo-global-header .lgm-visit { display: none; }
}
