:root { --qf-font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif; }
html :is(.tg-qs, .nx-qbox) input {
  font-family: var(--qf-font); font-weight: 500; letter-spacing: 0; font-feature-settings: normal;
  color: #141a2b; caret-color: #1b2d55;
}
html :is(.tg-qs, .nx-qbox) input::placeholder { font-weight: 400; color: #8a90a0; opacity: 1; }
@media (max-width: 760px) {
  html :is(.tg-qs, .nx-qbox) input { font-size: 17px; }
}
html.site-g .nx-qbox input:focus, html.site-g .nx-qbox input:focus-visible,
html.site-g :is(.nx-stool, .nx-yt-f) .nx-qbox input:focus-visible { outline: none; box-shadow: none; border: 0; background: transparent; }
html .nx-qbox input { padding-left: 4px; }
html.site-g:is([data-page="search"], [data-page="plans"], [data-page="coverage"], [data-page="match"]) .nx-qbox:focus-within { box-shadow: 0 0 0 4px rgba(27, 45, 85, .18); }
@media (max-width: 760px) { html.site-g .nh-form .nx-qbox input { min-height: 44px; } }
html[data-scheme="dark"] :is(.tg-qs, .nx-qbox) input { color: #e6eaf3; caret-color: #c1ceeb; }
html[data-scheme="dark"] :is(.tg-qs, .nx-qbox) input::placeholder { color: #8f98ad; }
@media (prefers-color-scheme: dark) {
  html.site-g:not([data-scheme="light"]) .nx-qbox input { color: #e6eaf3; caret-color: #c1ceeb; }
}
.qs-pop { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px 0; list-style: none;
  background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px rgba(27, 45, 85, .14), 0 14px 30px -12px rgba(20, 30, 50, .35);
  font-family: var(--qf-font); max-height: 60vh; overflow-y: auto; -webkit-overflow-scrolling: touch; text-align: left; }
.qs-pop[hidden] { display: none; }
.qs-pop__h { display: flex; justify-content: space-between; align-items: center; min-height: 0; padding: 4px 14px 0; font-size: 12px; color: #6a7183; font-weight: 600; }
.qs-pop__clr { border: 0; background: none; color: #6a7183; font: inherit; font-weight: 400; text-decoration: underline; padding: 6px 0 6px 10px; cursor: pointer; }
.qs-pop__i { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; font-size: 16px; color: #1d2433; cursor: pointer; }
.qs-pop__i svg { flex: none; width: 16px; height: 16px; color: #8a90a0; }
.qs-pop__i b { font-weight: 700; color: #1b2d55; }
.qs-pop__i[aria-selected="true"], .qs-pop__i:active { background: #eef1f8; }
@media (hover: hover) { .qs-pop__i:hover { background: #f3f5fa; } }
.qs-host { position: relative; }
html[data-scheme="dark"] .qs-pop { background: #1c2232; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 14px 30px -12px rgba(0, 0, 0, .6); }
html[data-scheme="dark"] .qs-pop__i { color: #e6eaf3; }
html[data-scheme="dark"] .qs-pop__i b { color: #c1ceeb; }
html[data-scheme="dark"] .qs-pop__i[aria-selected="true"] { background: rgba(255, 255, 255, .08); }
