/* ===== どこでも検索 ===== */
.nv-search-btn {
  flex: 1 1 320px; max-width: 520px;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 2px solid var(--nv-line, #e6e8ef); border-radius: 14px;
  padding: 9px 14px; min-height: 44px;
  font-family: inherit; font-size: 14px; color: #5b6470; text-align: left; cursor: pointer;
  order: -1;
}
.nv-search-btn:hover { border-color: #cfd6de; }
.nv-search-btn .nv-search-label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-search-btn kbd {
  font-family: inherit; font-size: 11px; color: #5b6470; background: #f3f5f7;
  border: 1.5px solid #d9dee4; border-radius: 6px; padding: 1px 6px;
}

.nvp[hidden] { display: none !important; }
.nvp { position: fixed; inset: 0; z-index: 2000; display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; }
.nvp-scrim { position: absolute; inset: 0; background: rgba(15,22,30,.5); }
.nvp-box {
  position: relative; width: 100%; max-width: 640px; max-height: 76vh;
  display: flex; flex-direction: column;
  background: #fff; border-radius: 22px; box-shadow: 0 30px 70px rgba(0,0,0,.3); overflow: hidden;
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
}
.nvp-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 2px solid #eef1f4; color: #5b6470; }
.nvp-head input { flex: 1; min-width: 0; border: none; outline: none; font-family: inherit; font-size: 18px; font-weight: 700; color: #1f2329; background: transparent; }
.nvp-close { border: 1.5px solid #d9dee4; background: #fff; border-radius: 8px; font-size: 12px; color: #5b6470; padding: 4px 8px; min-height: 32px; }
.nvp-list { overflow-y: auto; padding: 8px; }
.nvp-group { font-size: 11px; font-weight: 800; color: #5b6470; padding: 10px 12px 4px; letter-spacing: .06em; }
.nvp-opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: #1f2329; text-decoration: none; }
.nvp-opt:hover { color: #1f2329; }
.nvp-opt[aria-selected="true"] { background: color-mix(in srgb, var(--primary-color) 13%, #ffffff); }
.nvp-ico {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: #f1f3f6; color: #4b5563;
}
.nvp-opt.is-action .nvp-ico { background: var(--nv-strong, #2c7a76); color: #fff; }
.nvp-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nvp-t { font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nvp-s { font-size: 12px; color: #5b6470; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nvp-enter { font-size: 11px; color: #5b6470; }
.nvp-empty { padding: 26px 12px; text-align: center; color: #5b6470; font-weight: 700; }
.nvp-foot { display: flex; flex-wrap: wrap; gap: 16px; padding: 10px 18px; background: #f6f8fa; font-size: 12px; color: #5b6470; }
body.nvp-open { overflow: hidden; }

@media (max-width: 991.98px) {
  .nv-search-btn {
    flex: 0 0 44px; width: 44px; padding: 0; justify-content: center;
    background: rgba(255,255,255,.18); border: none; color: #fff; font-size: 18px;
    order: 0;
  }
  .nv-search-btn .nv-search-label, .nv-search-btn kbd { display: none; }
}
@media (max-width: 575.98px) {
  .nvp { padding: 0; align-items: stretch; }
  .nvp-box { max-width: none; max-height: none; height: 100%; border-radius: 0; }
  .nvp-head input { font-size: 17px; }
  .nvp-opt { min-height: 52px; }
  .nvp-foot span:nth-child(-n+2) { display: none; }
}
