/* 求人一覧(検索結果)。色・角丸・文字の大きさはエリアのトップ(top_area.css)に合わせる 2026.10.21 */
.result { --area: #1f63c7; --area-dark: #1a4fa0; --area-pale: #eef5fe; --area-line: #b9d3f3; --text: #2b3a4e; --sub: #6b7a8f; --line: #e3e7ee;
    max-width: 960px; margin: 0 auto; padding: 16px 16px 40px; color: var(--text); }
.result.-kagoshima { --area: #ee8418; --area-dark: #cf6a06; --area-pale: #fff3e4; --area-line: #f6cf9c; }
.result.-miyazaki { --area: #2f9446; --area-dark: #237a37; --area-pale: #ecf7ec; --area-line: #b7dcbc; }
.result *, .result *::before, .result *::after { box-sizing: border-box; }
.result :where(h1, h2, p, ul, ol, li) { margin: 0; padding: 0; list-style: none; }
.result svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

body { background: #f5f7fa; }

/* 一覧では検索条件の欄があるので、右上の「絞り込み検索」のタブは出さない */
.common__narrow { display: none; }

/* パンくず */
.result__crumb { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 14px; font-size: 13px; }
.result__crumb li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 1px 8px; border-top: 1.5px solid var(--sub); border-right: 1.5px solid var(--sub); transform: rotate(45deg); }
.result__crumb a { color: var(--area-dark); text-decoration: none; }

/* 検索条件 */
.result__conditions { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .04); }
.result__conditionsHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.result__conditionsHead h2 { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 17px; font-weight: bold; }
.result__conditionsHead h2 svg { color: var(--area); }
.result__change { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border: 1.5px solid var(--area); border-radius: 20px; background: #fff; color: var(--area-dark) !important; font-size: 14px; font-weight: bold; text-decoration: none; white-space: nowrap; }
.result__change svg { width: 16px; height: 16px; fill: var(--area); stroke: none; }
.result__change:hover { background: var(--area-pale); }
.result__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.result__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 18px; background: #f1f3f6; font-size: 13px; line-height: 1.4; }
.result__chips a { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; color: var(--area-dark); font-size: 15px; text-decoration: none; }
.result__chips a:hover { background: var(--area-line); }
.result__noCondition { color: var(--sub); font-size: 13px; }
.result__clear { display: inline-block; margin-top: 10px; color: var(--sub); font-size: 12px; }

/* 件数・並び替え・表示切り替え */
.result__bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }
.result__count { display: flex; align-items: baseline; gap: 12px; color: var(--text); font-size: 20px; font-weight: bold; }
.result__count span { color: var(--area); font-size: 14px; }
.result__count strong { margin-right: 2px; color: var(--area); font-size: 26px; }
.result__tools { display: flex; align-items: center; gap: 12px; }
.result__sort { position: relative; }
.result__sort select { height: 40px; padding: 0 36px 0 14px; border: 1px solid #d9dee6; border-radius: 8px; background: #fff; color: var(--text); font-size: 14px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.result__sort::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 2px solid var(--sub); border-bottom: 2px solid var(--sub); transform: rotate(45deg); pointer-events: none; }
.result__view { display: flex; gap: 4px; }
.result__view button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--sub); font-size: 13px; cursor: pointer; }
.result__view button.-current { background: #fff; color: var(--area-dark); font-weight: bold; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.result__view button.-current svg { color: var(--area); }

/* 求人カード */
.result__list { display: grid; gap: 14px; }
.resultCard { position: relative; display: flex; gap: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .04); }
.resultCard:hover { border-color: var(--area-line); }
.resultCard__photo { position: relative; flex: 0 0 240px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: #f1f3f6; }
.resultCard__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.resultCard__new { position: absolute; left: -26px; top: 10px; width: 90px; padding: 2px 0; background: #e3343f; color: #fff; font-size: 11px; font-weight: bold; text-align: center; transform: rotate(-45deg); }
.resultCard__body { flex: 1; min-width: 0; padding-right: 36px; }
.resultCard__labels { display: flex; flex-wrap: wrap; gap: 6px; }
.resultCard__labels li { padding: 2px 8px; border: 1px solid var(--area-line); border-radius: 4px; background: var(--area-pale); color: var(--area-dark); font-size: 11px; }
.resultCard__labels li.-green { border-color: #c6e5cb; background: #ecf7ee; color: #2f8a46; }
.resultCard__title { margin-top: 8px !important; font-size: 17px; font-weight: bold; line-height: 1.5; }
.resultCard__title a { color: var(--text); font-weight: bold; text-decoration: none; }
.resultCard__title a:hover { color: var(--area-dark); }
.resultCard__company { margin-top: 4px !important; color: var(--text); font-size: 13px; }
.resultCard__info { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px !important; font-size: 13px; }
.resultCard__info li { position: relative; padding-left: 18px; }
.resultCard__info li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--sub); }
.resultCard__info li.-place::before { border-radius: 50% 50% 50% 0; transform: rotate(-45deg); width: 11px; height: 11px; }
.resultCard__info li.-time::before { background: none; border: 2px solid var(--sub); }
.resultCard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px !important; }
.resultCard__tags li { padding: 3px 10px; border-radius: 4px; background: #f1f3f6; color: var(--sub); font-size: 11px; }
.resultCard__btns { display: flex; justify-content: flex-end; gap: 12px; margin: 14px -36px 0 0; }
.resultCard__btns a { display: inline-flex; align-items: center; justify-content: center; width: 150px; height: 42px; border: 1.5px solid var(--area); border-radius: 21px; font-size: 14px; font-weight: bold; text-decoration: none; }
.resultCard__btns a.-detail { background: #fff; color: var(--area-dark); }
.resultCard__btns a.-detail:hover { background: var(--area-pale); }
.resultCard__btns a.-apply { background: var(--area); color: #fff; }
.resultCard__btns a.-apply:hover { border-color: var(--area-dark); background: var(--area-dark); }
.resultCard__keep { position: absolute; right: 14px; top: 14px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: #9aa4b2; }
.resultCard__keep svg { width: 26px; height: 26px; stroke-width: 1.6; }
.resultCard__keep:hover { color: #e3343f; background: #fdeef0; }
.resultCard__keep span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* リスト表示(写真と特徴を隠して詰める) */
.result__list.-list { gap: 8px; }
.result__list.-list .resultCard { padding: 12px 16px; }
.result__list.-list .resultCard__photo, .result__list.-list .resultCard__tags { display: none; }
.result__list.-list .resultCard__title { margin-top: 4px !important; font-size: 15px; }
.result__list.-list .resultCard__info { margin-top: 6px !important; }
.result__list.-list .resultCard__btns { margin-top: 8px; }
.result__list.-list .resultCard__btns a { width: 120px; height: 36px; font-size: 13px; }
@media screen and (min-width: 768px) {
    .result__list.-list .resultCard__body { padding-right: 300px; }
    .result__list.-list .resultCard__btns { position: absolute; right: 60px; bottom: 50%; margin: 0 0 -18px; }
}

/* 見つからないとき */
.result__empty { padding: 40px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; font-size: 14px; line-height: 1.8; }
.result__empty .result__change { margin-top: 16px; }

/* ページ送り */
.result__paging { margin-top: 28px; text-align: center; }
.result__paging ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.result__paging a, .result__paging span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text); font-size: 14px; text-decoration: none; }
.result__paging a:hover { border-color: var(--area); color: var(--area-dark); }
.result__paging span.-current { border-color: var(--area); background: var(--area); color: #fff; font-weight: bold; }
.result__paging .-prev span, .result__paging .-next span { color: #c3cad4; }
.result__paging .-next a { border-color: var(--area); color: var(--area-dark); }
.result__paging .-gap { color: var(--sub); }
.result__paging p { margin-top: 12px !important; color: var(--sub); font-size: 13px; }

@media screen and (max-width: 767px) {
    .result { padding: 12px 12px 32px; }
    .result__conditions { padding: 14px; }
    .result__conditionsHead h2 { font-size: 15px; }
    .result__change { height: 36px; padding: 0 12px; font-size: 13px; }
    .result__chips li { font-size: 12px; }
    .result__bar { margin: 20px 0 12px; }
    .result__count { font-size: 17px; }
    .result__count strong { font-size: 22px; }
    .result__tools { width: 100%; justify-content: space-between; }
    .result__sort select { height: 36px; font-size: 13px; }
    .result__view button { height: 36px; padding: 0 8px; font-size: 12px; }
    .resultCard { gap: 12px; padding: 12px; }
    .resultCard__photo { flex-basis: 104px; align-self: flex-start; }
    .resultCard__new { left: -30px; top: 6px; font-size: 9px; }
    .resultCard__body { padding-right: 24px; }
    .resultCard__title { font-size: 15px; }
    .resultCard__company { font-size: 12px; }
    .resultCard__info { flex-direction: column; gap: 2px; font-size: 12px; }
    .resultCard__tags li { padding: 2px 8px; font-size: 10px; }
    .resultCard__btns { gap: 8px; margin: 12px -24px 0 -116px; }
    .resultCard__btns a { flex: 1; width: auto; height: 40px; font-size: 13px; }
    .resultCard__keep { right: 6px; top: 8px; }
    .result__list.-list .resultCard__btns { margin-left: 0; }
    .result__paging ul { gap: 4px; }
    .result__paging a, .result__paging span { min-width: 32px; height: 34px; padding: 0 6px; font-size: 13px; }
    .result__paging .-gap { min-width: 0; }
    .result__paging .-prev > *, .result__paging .-next > * { font-size: 0; }
    .result__paging .-prev > *::before { content: "‹"; font-size: 20px; }
    .result__paging .-next > *::before { content: "›"; font-size: 20px; }
}
