/* 作品を探す (owner 2026-11-06): [nuruma_work_finder]. Loaded only on the page that holds the shortcode (Nuruma_Work_Finder::enqueue). Mobile first: the filters are a 「絞り込み」 disclosure (collapsed by this
 * stylesheet, so the JS opening / closing it moves nothing at load) and always open from 768px; the list is one column, two from 640px, three from 1100px. Every card has ONE fixed height
 * (jacket frame 72x96, title clamped to two lines, one brand line, one price line) and the 6 skeleton cards in the shell have the same, so neither the first draw nor 「もっと見る」 shifts anything above it.
 * Own tokens with the site's as the source (--nu-*); the doubled .nrmf.nrmf outweighs the theme's `.content ol / button / select` rules. 44px tap targets, nothing under 12px. */
.nrmf { --nf-ink: var(--nu-text, #1F1B1E); --nf-sub: var(--nu-sub, #55505A); --nf-muted: var(--nu-muted, #645E68); --nf-line: var(--nu-line, #E6DADF); --nf-ctl: var(--nu-line-strong, #8C8693); --nf-bg: var(--nu-surface, #FFFFFF); --nf-band: var(--nu-band, #F5F1EF);
	--nf-accent: var(--nu-accent, #C2364E); --nf-accent-soft: var(--nu-accent-soft, #FDEEF0); --nf-tap: 44px; --nf-card-h: 128px; }
.nrmf.nrmf { display: block; max-width: 1120px; margin: 0 auto 32px; padding: 0 12px; box-sizing: border-box; font-family: var(--nu-font, inherit); color: var(--nf-ink); line-height: 1.5; }
.nrmf.nrmf *, .nrmf.nrmf *::before, .nrmf.nrmf *::after { box-sizing: border-box; }
.nrmf.nrmf [hidden] { display: none !important; }

/* filters */
.nrmf.nrmf .nrmf__filters { margin: 0 0 12px; border: 1px solid var(--nf-line); border-radius: 12px; background: var(--nf-bg); }
.nrmf.nrmf .nrmf__sum { -webkit-appearance: none; appearance: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: var(--nf-tap); margin: 0; padding: 0 16px; border: 0; border-radius: 12px; background: transparent; color: var(--nf-ink); font: inherit; font-size: 15px; font-weight: 700; text-align: left; cursor: pointer; }
.nrmf.nrmf .nrmf__sum::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s ease; }
.nrmf.nrmf .is-open > .nrmf__sum::after { transform: rotate(225deg) translate(-2px, -2px); }
.nrmf.nrmf .nrmf__sum:focus-visible, .nrmf.nrmf .nrmf__btn:focus-visible, .nrmf.nrmf select:focus-visible, .nrmf.nrmf .nrmf__t a:focus-visible { outline: 3px solid var(--nf-accent); outline-offset: 2px; }
.nrmf.nrmf .nrmf__badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--nf-accent); color: #fff; font-size: 12px; font-weight: 700; }
.nrmf.nrmf .nrmf__body { display: none; padding: 4px 16px 16px; }
.nrmf.nrmf .is-open > .nrmf__body { display: block; }
.nrmf.nrmf .nrmf__period { margin: 0 0 12px; padding: 0; border: 0; min-width: 0; }
.nrmf.nrmf .nrmf__period legend { margin: 0 0 4px; padding: 0; font-size: 14px; font-weight: 700; }
.nrmf.nrmf .nrmf__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.nrmf.nrmf .nrmf__dash { align-self: center; padding-top: 18px; color: var(--nf-sub); }
.nrmf.nrmf .nrmf__f { display: block; margin: 0 0 12px; min-width: 0; }
.nrmf.nrmf .nrmf__row .nrmf__f { margin: 0; flex: 1 1 110px; }
.nrmf.nrmf .nrmf__f label { display: block; margin: 0 0 2px; font-size: 13px; font-weight: 700; color: var(--nf-sub); }
.nrmf.nrmf select { -webkit-appearance: auto; appearance: auto; display: block; width: 100%; min-height: var(--nf-tap); margin: 0; padding: 0 10px; border: 1px solid var(--nf-ctl); border-radius: 8px; background: var(--nf-bg); color: var(--nf-ink); font: inherit; font-size: 16px; }
.nrmf.nrmf .nrmf__btn { -webkit-appearance: none; appearance: none; min-height: var(--nf-tap); margin: 0; padding: 0 16px; border: 1px solid var(--nu-btn-border, #5F5A63); border-radius: 999px; background: var(--nf-bg); color: var(--nf-ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.nrmf.nrmf .nrmf__btn:hover { background: var(--nf-band); }
.nrmf.nrmf .nrmf__reset { margin-top: 4px; }
/* owner 2026-11-06: the keyword box above the filters (always visible, also while 「絞り込み」 is collapsed) */
.nrmf.nrmf .nrmf__kw { margin: 0 0 12px; }
.nrmf.nrmf .nrmf__kw label { display: block; margin: 0 0 2px; font-size: 14px; font-weight: 700; }
.nrmf.nrmf .nrmf__q { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-height: var(--nf-tap); margin: 0; padding: 0 12px; border: 1px solid var(--nf-ctl); border-radius: 8px; background: var(--nf-bg); color: var(--nf-ink); font: inherit; font-size: 16px; }
.nrmf.nrmf .nrmf__q:focus-visible { outline: 3px solid var(--nf-accent); outline-offset: 2px; }
.nrmf.nrmf .nrmf__qhint { margin: 6px 0 0; font-size: 13px; color: var(--nf-sub); }
.nrmf.nrmf .nrmf__qall { padding: 0 12px; font-size: 13px; }
.nrmf.nrmf .nrmf__qwarn { color: var(--nf-muted); }
.nrmf.nrmf .nrmf__hint { min-height: 20px; margin: 0 0 12px; font-size: 13px; line-height: 20px; color: var(--nf-muted); visibility: hidden; }
.nrmf.nrmf .nrmf__hint.is-on { visibility: visible; }

/* result line */
.nrmf.nrmf .nrmf__count { min-height: 24px; margin: 0 0 12px; font-size: 15px; font-weight: 700; }
.nrmf.nrmf .nrmf__err { margin: 0 0 12px; padding: 12px; border-radius: 8px; background: var(--nf-accent-soft); color: var(--nf-ink); font-size: 14px; }
.nrmf.nrmf .nrmf__err .nrmf__btn { margin-left: 8px; }
.nrmf.nrmf .nrmf__ns { margin: 12px 0; font-size: 14px; }

/* cards: one fixed height */
.nrmf.nrmf .nrmf__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.nrmf.nrmf .nrmf__card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; height: var(--nf-card-h); margin: 0; padding: 12px; overflow: hidden; border: 1px solid var(--nf-line); border-radius: 12px; background: var(--nf-bg); list-style: none; }
.nrmf.nrmf .nrmf__card.is-skel { background: var(--nf-band); border-color: transparent; }
.nrmf.nrmf .nrmf__jl { display: block; width: 72px; height: 96px; }
.nrmf.nrmf .nrmf__img { width: 72px; height: 96px; overflow: hidden; border-radius: 4px; background: var(--nf-band); }
.nrmf.nrmf .nrmf__img img { display: block; width: 72px; height: 96px; margin: 0; padding: 0; border: 0; object-fit: contain; }
.nrmf.nrmf .nrmf__b { min-width: 0; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.nrmf.nrmf .nrmf__meta { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; margin: 0; height: 22px; overflow: hidden; font-size: 13px; color: var(--nf-sub); white-space: nowrap; }
.nrmf.nrmf .nrmf__t { margin: 0; padding: 0; border: 0; font-size: 15px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.nrmf.nrmf .nrmf__t a { color: var(--nf-ink); text-decoration: none; }
.nrmf.nrmf .nrmf__t a:hover { text-decoration: underline; }
.nrmf.nrmf .nrmf__brand { margin: 0; font-size: 13px; line-height: 1.4; color: var(--nf-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nrmf.nrmf .nrmf__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: auto 0 0; max-height: 40px; overflow: hidden; font-size: 13px; line-height: 1.4; }
.nrmf.nrmf .nrmf__pp { color: var(--nf-sub); }
.nrmf.nrmf .nrmf__pp.is-n, .nrmf.nrmf .nrmf__pp.is-l { color: var(--nf-ink); font-size: 14px; font-weight: 700; }
.nrmf.nrmf .nrmf__pp.is-p { color: var(--nf-muted); text-decoration: line-through; }
.nrmf.nrmf .nrmf__pp.is-s, .nrmf.nrmf .nrmf__pp.is-o, .nrmf.nrmf .nrmf__pp.is-w { padding: 0 6px; border-radius: 4px; background: var(--nf-accent-soft); color: #A32D42; font-weight: 700; }
.nrmf.nrmf .nrmf__pp.is-none { color: var(--nf-muted); }
.nrmf.nrmf .nrmf__aw { flex: 0 0 auto; padding: 0 6px; border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 18px; }
.nrmf.nrmf .nrmf__aw.is-grand { background: #A32D42; color: #fff; }
.nrmf.nrmf .nrmf__aw.is-runner { background: #55505A; color: #fff; }
.nrmf.nrmf .nrmf__aw.is-gold { background: #FFF1C7; color: #6B4300; box-shadow: inset 0 0 0 1px #E0B84A; }
.nrmf.nrmf .nrmf__aw.is-cat { background: #EEF1FA; color: #2A3A78; }
.nrmf.nrmf .nrmf__aw.is-month, .nrmf.nrmf .nrmf__aw.is-other { background: #F0E7EA; color: #55505A; }
.nrmf.nrmf .nrmf__more { margin: 16px 0 0; text-align: center; }
.nrmf.nrmf .nrmf__morebtn { min-width: 220px; }

@media (min-width: 640px) { .nrmf.nrmf .nrmf__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) {
	.nrmf.nrmf { padding: 0 16px; }
	.nrmf.nrmf .nrmf__sum { display: none; }
	.nrmf.nrmf .nrmf__body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; align-items: end; padding: 16px; }
	.nrmf.nrmf .nrmf__period { grid-column: 1 / -1; margin: 0; }
	.nrmf.nrmf .nrmf__row .nrmf__f { flex: 0 1 160px; }
	.nrmf.nrmf .nrmf__f { margin: 0; }
	.nrmf.nrmf .nrmf__hint { grid-column: 1 / -1; margin: 0; }
	.nrmf.nrmf .nrmf__reset { margin: 0; justify-self: start; }
}
@media (min-width: 1100px) { .nrmf.nrmf .nrmf__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .nrmf.nrmf .nrmf__sum::after { transition: none; } }
