/* ============================================================
   /jobs(v2): 仕事の種類タイル(jt)・エリア地図(jm)・条件タイル(jc)・診断への誘導(jd)   production KAITO / 2026-10-10
   共通部品は css/pages-v2.css。仕様: _proposal/pages-spec-v2.md 3-1
============================================================ */
.pg-jobs .jt.pg2-sec { padding-top: 56px; padding-bottom: 72px; }
.jt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.jt-tile { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 20px; background: #F3F8FE; box-shadow: inset 0 0 0 1px #DCE7F6; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .jt-tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px #9DC0F5, 0 14px 24px -20px rgba(11,90,245,.5); } }
.jt-tile__ph { display: block; height: 104px; overflow: hidden; }
.jt-tile__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jt-tile__b { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 10px; padding: 16px 18px 16px; }
.jt-tile__n { grid-column: 1 / -1; font-family: var(--font-display); font-size: 19px; line-height: 1.4; font-weight: 900; color: var(--pg-navy); }
.jt-tile__c { display: inline-flex; align-items: baseline; gap: 3px; color: var(--pg-blue-d); }
.jt-tile__c i { font-style: normal; font-family: "Plus Jakarta Sans", sans-serif; font-size: 34px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.jt-tile__c small { font-size: 14px; font-weight: 800; }
.jt-tile__go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14.5px; font-weight: 800; color: var(--pg-link); }
.jt-tile__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
@media (hover: hover) { .jt-tile:hover .jt-tile__go svg { transform: translateX(3px); } }
.jt-tile:focus-visible { outline: 3px solid var(--pg-blue-d); outline-offset: 3px; }

/* ---- エリア地図 ---- */
.jm { overflow-x: clip; }
.jm-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 36px 48px; align-items: start; }
.jm-mapcol { position: relative; }
.jm-map { position: relative; width: 100%; aspect-ratio: 1; }
.jm-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.jm-land { fill: #fff; stroke: #03174D; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 14px 18px rgba(30,80,170,.22)); }
.jm-clr { fill: rgba(11,90,245,.08); stroke: #0B5AF5; stroke-width: 1.4; stroke-dasharray: 3 3; }
.jm-con { stroke: #0B5AF5; stroke-width: 1.4; stroke-dasharray: 3 3; }
.jm-lens-bg { fill: #fff; filter: drop-shadow(0 12px 16px rgba(30,80,170,.28)); }
.jm-sea { fill: #D7E8FC; }
.jm-land2 { fill: #F8FBFF; }
.jm-road { fill: none; stroke: #CFE0F8; stroke-width: 3; stroke-linecap: round; }
.jm-lens-ring { fill: none; stroke: #0B5AF5; stroke-width: 2; }
.jm-lens-t { font-family: var(--font-body); font-size: 12px; font-weight: 700; fill: #03174D; }
.jm-tx { font-family: var(--font-body); font-size: 11.5px; font-weight: 700; fill: #6F82A6; }
.jm-lb { font-family: var(--font-body); font-size: 11px; font-weight: 800; fill: #03174D; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.jm-tx--sea { fill: #8FB3E4; font-style: italic; }
.jm-lens-t { paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.jm-pins { position: absolute; inset: 0; pointer-events: none; }
.jm-pin, .jm-cl { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0; border: 3px solid #fff; border-radius: 50%; background: #0B5AF5; color: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; font-weight: 800; line-height: 1; cursor: pointer; pointer-events: auto; box-shadow: 0 6px 12px -4px rgba(11,90,245,.65); display: flex; align-items: center; justify-content: center; }
.jm-pin::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; }   /* 44pxのタップ領域 */
.jm-pin.is-sel { background: #03174D; z-index: 3; box-shadow: 0 0 0 5px rgba(11,90,245,.28), 0 8px 14px -4px rgba(3,23,77,.6); }
.jm-pin.is-sel::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #0B5AF5; opacity: 0; pointer-events: none; }
.jm.is-live .jm-pin.is-sel::after { animation: jmRing .8s ease-out 1; }
@keyframes jmRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.8); opacity: 0; } }
.jm-cl { width: 34px; height: 34px; margin: -17px 0 0 -17px; background: #0B5AF5; font-size: 14px; z-index: 1; }
.jm-cl::before { content: ""; position: absolute; inset: -5px; }
.jm-tag { position: absolute; transform: translate(20px, -50%); padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 0 0 1px #DCE7F6; font-size: 12px; font-weight: 800; line-height: 1.3; color: #03174D; white-space: nowrap; pointer-events: none; }
.jm-tag--l { transform: translate(calc(-100% - 20px), -50%); }
.jm-pin:focus-visible, .jm-chip:focus-visible, .jm-row:focus-visible, .jm-cl:focus-visible { outline: 3px solid #03174D; outline-offset: 3px; }
.jm-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--pg-sub); }

.jm-side { display: grid; gap: 16px; align-content: start; }
.jm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jm-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px 0 16px; border: 0; border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1.5px #C6D8F2; color: #03174D; font: inherit; font-size: 14.5px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.jm-chip i { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: #E6F0FE; color: #0B5AF5; font-style: normal; font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px; }
.jm-chip.is-sel { background: #03174D; box-shadow: none; color: #fff; }
.jm-chip.is-sel i { background: #fff; color: #03174D; }
.jm-card { border-radius: 24px; background: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 40px -30px rgba(40,100,220,.55), 0 0 0 1px #E1EBF8; padding: 22px 22px 22px; }
.jm-card__in.is-swap { animation: jmFade .25s ease both; }
@keyframes jmFade { from { opacity: 0; } to { opacity: 1; } }
.jm-card__h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; font-family: var(--font-display); font-size: 21px; font-weight: 900; color: #03174D; }
.jm-card__h b { font-size: 14px; color: var(--pg-blue-d); white-space: nowrap; }
.jm-rows { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.jm-row { display: grid; grid-template-columns: 128px 1fr 16px; align-items: center; gap: 14px; padding: 8px; border-radius: 16px; background: #F3F8FE; color: inherit; transition: background-color .2s ease; }
@media (hover: hover) { .jm-row:hover { background: #E6F0FE; } }
.jm-row__ph { display: block; height: 80px; overflow: hidden; border-radius: 12px; }
.jm-row__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jm-row__b { display: grid; gap: 4px; min-width: 0; }
.jm-row__tag { justify-self: start; display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: #E6F0FE; color: var(--pg-link); font-size: 11.5px; font-weight: 800; line-height: 1; }
.jm-row__b b { font-size: 15px; line-height: 1.5; font-weight: 800; color: #03174D; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jm-row__w { font-size: 14px; font-weight: 800; color: var(--pg-blue-d); }
.jm-row > svg { width: 16px; height: 16px; fill: none; stroke: #0B5AF5; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.jm-card__go { margin-top: 16px; }
.jm-card__go .btn { width: 100%; justify-content: center; padding: 15px 20px; }
.job-card.jm-flash { animation: jmFlash 1.2s ease-out 1; }
@keyframes jmFlash { 0% { box-shadow: 0 0 0 0 rgba(11,90,245,.7); } 40% { box-shadow: 0 0 0 8px rgba(11,90,245,.35); } 100% { box-shadow: 0 0 0 0 rgba(11,90,245,0); } }
@media (prefers-reduced-motion: reduce) { .jm-card__in.is-swap, .jm.is-live .jm-pin.is-sel::after, .job-card.jm-flash { animation: none; } .jt-tile, .jm-chip { transition: none; } }

/* ---- 条件(大きな言葉が主役) ---- */
.jc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.jc-tile { position: relative; overflow: hidden; min-height: 168px; padding: 26px 26px 24px; border-radius: 22px; background: linear-gradient(135deg, #F3F8FE, #E8F1FC); box-shadow: inset 0 0 0 1px #DCE7F6; }
.jc-ico { position: absolute; right: -10px; bottom: -14px; width: 132px; height: 132px; fill: none; stroke: #C7DAF6; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .9; pointer-events: none; }
.jc-tile h3 { position: relative; margin: 0; font-family: var(--font-display); font-size: 30px; line-height: 1.3; font-weight: 900; color: #03174D; text-wrap: balance; word-break: auto-phrase; }
.jc-tile p { position: relative; margin: 12px 0 0; max-width: 78%; font-size: 14.5px; line-height: 1.8; color: var(--pg-sub); }
.jc-note { margin: 20px 0 0; font-size: 14px; line-height: 1.8; color: var(--pg-sub); }

/* ---- 迷ったら診断(淡青の面+ゼロ君) ---- */
.jd.pg2-sec { padding: 56px 0 64px; }
.jd-face { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; padding: 40px 48px; border-radius: 32px; background: linear-gradient(135deg, #F3F8FE, #DCEBFC); box-shadow: inset 0 0 0 1px #CFE0F8; overflow: hidden; }
.jd-face::before { content: ""; position: absolute; right: 90px; top: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.55); }
.jd-face__t { position: relative; max-width: 640px; }
.jd-face__h { margin: 10px 0 0; font-family: var(--font-display); font-size: 32px; line-height: 1.4; font-weight: 900; color: #03174D; text-wrap: balance; }
.jd-face__p { margin: 10px 0 20px; max-width: 520px; font-size: 15.5px; line-height: 1.85; color: var(--pg-sub); }

@media (max-width: 1100px) { .jm-grid { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 28px; } .jt-grid { grid-template-columns: repeat(2, 1fr); } .jc-tile h3 { font-size: 26px; } }
@media (max-width: 860px) {
  .jm-grid { grid-template-columns: minmax(0, 1fr); }
  .jm-mapcol { max-width: 520px; margin: 0 auto; width: 100%; }
  .jc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pg-jobs .jt.pg2-sec { padding-top: 40px; padding-bottom: 48px; }
  .jt-grid { gap: 12px; }
  .jt-tile { border-radius: 16px; }
  .jt-tile__ph { height: 78px; }
  .jt-tile__b { padding: 10px 12px 6px; }
  .jt-tile__n { font-size: 15.5px; }
  .jt-tile__c i { font-size: 28px; }
  .jt-tile__go { font-size: 13px; }
  .jm-pin { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 11.5px; border-width: 2px; }
  .jm-pin::before { inset: -9px; }
  .jm-cl { width: 28px; height: 28px; margin: -14px 0 0 -14px; font-size: 12px; }
  .jm-tag { font-size: 11px; padding: 3px 7px; }
  .jm-lens-t, .jm-tx { font-size: 13px; }
  .jm-lb { font-size: 12.5px; }
  .jm-side { gap: 12px; }
  .jm-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 6px; scroll-padding-inline: 20px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .jm-chips::-webkit-scrollbar { display: none; }
  .jm-chip { scroll-snap-align: start; }
  .jm-card { border-radius: 20px; padding: 18px 14px 16px; }
  .jm-card__h { font-size: 18px; }
  .jm-row { grid-template-columns: 96px 1fr 14px; gap: 10px; padding: 6px; }
  .jm-row__ph { height: 72px; }
  .jc-grid { gap: 12px; }
  .jc-tile { min-height: 148px; padding: 18px 16px 16px; border-radius: 18px; }
  .jc-tile h3 { font-size: 20px; }
  .jc-tile p { font-size: 13px; max-width: 100%; line-height: 1.7; }
  .jc-ico { width: 84px; height: 84px; right: -8px; bottom: -10px; }
  .jd-face { grid-template-columns: minmax(0, 1fr); padding: 28px 22px 30px; border-radius: 24px; }
  .jd-face__h { font-size: 24px; }
  .jd-face__p { font-size: 14.5px; }
  .jd-face .btn { width: 100%; justify-content: center; }
}

/* 一覧の導入(ラベル・リード)はヒーローと重複するので出さない(H2は残す=見出し構造のため) */
.pg-jobs .job-list .job-eyebrow, .pg-jobs .job-list .job-lead { display: none; }
.jc-tile p { text-wrap: pretty; word-break: auto-phrase; line-break: strict; }

/* ============================================================
   2026-10-11 見直し(designer仕様 _proposal/jobs-fix-spec.md)  production KAITO
   iPhone Safariで折り返し位置・text-wrapが効かない前提で、意味の区切りは手動の .nb / br.sp で固定する
============================================================ */
.pg-jobs br.sp { display: none; }
/* 1-7 条件タイル: 淡い線画アイコンが本文に重ならないようにする */
.jc-ico { opacity: .6; }
/* 2-1 一覧の見出し(ヒーローH1と同じ言葉・中央揃えだったもの)を、他の節と同じ左揃え+英字ラベル+同じ寸法に */
.pg-jobs .job-list .section-title { text-align: left; font-size: 34px; line-height: 1.3; margin-top: 10px; }
.pg-jobs .job-list .section-title::before { content: "LIST"; display: flex; align-items: center; gap: 14px; margin: 0 0 10px; font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .3em; line-height: 1.6; color: var(--pg-blue-d); }
.pg-jobs .job-list .section-title::after { content: none; }
.pg-jobs .job-list .job-lead, .pg-jobs .job-list .job-note, .pg-jobs .job-list .job-review { justify-content: flex-start; text-align: left; }
@media (max-width: 768px) {
  .pg-jobs br.sp { display: inline; }
  /* 1-7 */
  .jc-tile p { max-width: 100%; }   /* タイル幅が約160pxなので本文を細くせず、本文の下にアイコン用の余白を取る */
  .jc-tile { padding-bottom: 44px; }
  .jc-ico { width: 60px; height: 60px; right: -4px; bottom: -6px; opacity: .55; }
  /* 1-8 地図カードの求人名 */
  .jm-row__b b { font-size: 14.5px; text-wrap: pretty; line-break: strict; }
  /* 2-1(SP) */
  .pg-jobs .job-list .section-title { font-size: 27px; }
  /* 2-3 一覧の絞り込みチップも、地図側と同じ1段の横スクロールにする(選んだチップは左端へ=jobs-page.js) */
  .pg-jobs .job-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 20px -16px 0; padding: 0 16px 6px; scroll-padding-inline: 16px; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .pg-jobs .job-tabs::-webkit-scrollbar { display: none; }
  .pg-jobs .job-tabs .age-tab { height: 44px; scroll-snap-align: start; }
  /* 2-4 求人カードの月収例: 金額→条件→計算式 の順に左揃えで縦に積む */
  .pg-jobs .job-row--ex .job-ex__r { flex-direction: column-reverse; align-items: flex-start; justify-content: flex-start; gap: 0; }
  .pg-jobs .job-row--ex .job-ex__v, .pg-jobs .job-row--ex .job-ex__l { flex: none; text-align: left; }
  .pg-jobs .job-row--ex .job-ex__l { font-size: 12px; margin-top: 2px; }
  .pg-jobs .job-row--ex .job-ex__b { margin-top: 0; }
  .pg-jobs .job-row--ex .job-ex { gap: 8px; }
  /* 2-5 タップ領域44px */
  .pg-jobs .job-exm summary { display: inline-flex; align-items: center; min-height: 44px; }
  /* 2-6 診断への誘導 */
  .jd-face__p { max-width: none; }
  /* 低: 種類タイルを押したくなる強さに / 条件タイルの最小高さ / 更新日 */
  .jt-tile__ph { height: 96px; }
  .jt-tile__c i { font-size: 32px; }
  .jc-tile { min-height: 120px; }
}
