/* 採用支援「困りごとから」＝一本の線（docs/08、2026-10-08 改2）。誌面の紙と墨のまま。印＝墨の丸、区間＝太い墨の帯。差し色は使わない
   縦の線（工程が行）は line-v.css（日本語は 1080px 以下、英語はいつも） */
:root { --sel: #D0CBBF }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.ln { scroll-margin-top: -40px }

/* ── 見出しの下：強み（35工程すべて）と選び方を1行ずつ。右に「まるごと」 ── */
.ln-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px }
.ln-lead { font: 400 clamp(20px, 2.2vw, 26px)/1.6 var(--fd); letter-spacing: .03em }
.ln-how { margin-top: 6px; font-size: 14.5px; color: var(--ink2); line-height: 1.85 }
.ln-how .hws { display: none }
@media (pointer: coarse) { .ln-how .hwp { display: none } .ln-how .hws { display: inline } }
.ln-all { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 10px 20px; font: 400 15px/1.4 var(--fb); letter-spacing: .04em; cursor: pointer; transition: background .25s, color .25s; flex: none }
.ln-all i { width: 26px; height: 2px; background: currentColor; position: relative; margin-inline: 4px }
.ln-all i::before, .ln-all i::after { content: ""; position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: currentColor } .ln-all i::before { left: -5px } .ln-all i::after { right: -5px }
.ln-all .onl { display: none }
.ln-all:hover { background: var(--soft) }
.ln-all[aria-pressed="true"] { background: var(--ink); color: var(--paper) }
.ln-all[aria-pressed="true"] .off { display: none } .ln-all[aria-pressed="true"] .onl { display: inline }

/* ── 線（横：PC）。段階が1段目、工程が2段目。線は端から端まで ── */
.ln-board { --v: 0; position: relative; display: grid; grid-template-columns: repeat(var(--t), minmax(0, 1fr)); margin-top: 28px; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: pan-y }
.ln-rule { position: absolute; z-index: 0; height: 2px; margin-top: -1px; background: var(--ink); transform-origin: 0 50%; transition: transform 1.3s cubic-bezier(.6,.05,.2,1) }
.ln-board.pre .ln-rule { transform: scaleX(0) }
.ln-bands { position: absolute; inset: 0; z-index: 1; pointer-events: none }
.ln-band { position: absolute; height: 10px; margin-top: -5px; border-radius: 5px; background: var(--ink); transform-origin: 0 50%; transition: left .25s cubic-bezier(.2,.7,.1,1), width .25s cubic-bezier(.2,.7,.1,1), top .25s, height .25s; animation: lnGrow .45s cubic-bezier(.2,.7,.1,1) both }
.ln-board.drag .ln-band { transition: none }
@keyframes lnGrow { from { transform: scaleX(0) } to { transform: none } }
.ln-g { grid-row: 1; grid-column: calc(var(--a) + 1) / span var(--n); position: relative; z-index: 2; display: grid; align-content: end; gap: 4px; min-width: 0; text-align: left; background: none; border: 0; border-left: 1px solid var(--line); padding: 8px 4px 12px 8px; color: var(--ink); cursor: pointer; font: inherit; transition: background .25s }
.ln-g .no { font: 400 12px/1 var(--fl); letter-spacing: .08em; color: var(--ink3) }
.ln-g .gn { font: 400 clamp(15px, 1.2vw, 17px)/1.35 var(--fd); letter-spacing: .02em; white-space: nowrap }
.ln-g small { font: 400 12.5px/1.3 var(--fb); color: var(--ink2); white-space: nowrap }
.ln-g .off { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; text-decoration-color: var(--ink3) }
.ln-g .onl { display: none }
.ln-g:hover .off { text-decoration-color: currentColor; color: var(--ink) }
.ln-g[aria-pressed="true"] { background: var(--sel) }
.ln-g[aria-pressed="true"] .no { color: var(--ink2) }
.ln-g[aria-pressed="true"] .off { display: none }
.ln-g[aria-pressed="true"] .onl { display: inline; color: var(--ink) }
.ln-g .onl::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 6px; vertical-align: 1px }
.ln-t { grid-row: 2; grid-column: calc(var(--i) + 1); position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; min-width: 0; min-height: 224px; padding: 0 0 16px; background: none; border: 0; color: var(--ink2); cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent }
.ln-t.s0 { box-shadow: inset 1px 0 0 var(--line) }
.ln-t::before { content: ""; position: absolute; inset: 46px 0 0; background: var(--sel); opacity: 0; transition: opacity .2s }
.ln-t:hover::before { opacity: .45 }
.ln-t.on::before { opacity: 1 }
.ln-t:focus-visible { outline: none }
.ln-t:focus-visible::before { opacity: 1; box-shadow: inset 0 0 0 2px var(--ink) }
.tk { position: relative; display: block; width: 100%; height: 46px; flex: none }
.tk::before { content: ""; position: absolute; left: 50%; top: 50%; width: 1px; height: 12px; background: var(--ink); transform: translate(-50%, -50%); transition: height .2s }
.ln-t:hover .tk::before { height: 22px }
.tk::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--paper); transform: scale(0); transition: transform .38s cubic-bezier(.3,1.6,.5,1), background .2s, box-shadow .2s; transition-delay: var(--w, 0ms) }
.ln-t.on .tk::after { transform: none }
.ln-t.on.rm .tk::after { transform: scale(.36); background: var(--paper); box-shadow: none }
/* 墨が落ちて広がる（小さな波紋） */
.ln-t.in::after { content: ""; position: absolute; left: 50%; top: 23px; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 1px solid var(--ink); opacity: 0; pointer-events: none; animation: lnRip .75s ease-out both; animation-delay: var(--w, 0ms) }
@keyframes lnRip { 0% { opacity: .55; transform: scale(1) } 100% { opacity: 0; transform: scale(3.4) } }
/* 工程名は縦書き。選ぶと墨の色に、列は濃い地に */
.nm { position: relative; writing-mode: vertical-rl; margin-top: 12px; font: 400 15px/1.25 var(--fb); letter-spacing: .12em; white-space: nowrap; transition: color .2s }
.nm .up { text-orientation: upright; letter-spacing: 0 }
.ln-t:hover .nm { color: var(--ink) }
.ln-t.on .nm { color: var(--ink) }
.ln-board.drag, .ln-board.drag .ln-t { cursor: ew-resize }
/* 線は最初に一度だけ左から引かれ、目盛りが続いて立つ */
.ln-board.pre .tk::before { height: 0 }
.ln-board.drawn .tk::before { transition: height .3s; transition-delay: calc(250ms + var(--i) * 14ms) }
.ln-board.drawn .ln-t:hover .tk::before { transition-delay: 0ms }

/* ── 相談の内容（線のすぐ下。PC＝左に選んだ工程、右に種類。右下に相談） ── */
@keyframes lnIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
.ln-panel { margin-top: 28px; border: 1px solid var(--ink); background: var(--paper); padding: 16px 24px 20px; display: grid; gap: 14px }
.ln-ph { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; min-height: 44px }
.ln-ph h3 { font: 400 19px/1.4 var(--fd); letter-spacing: .06em; white-space: nowrap }
.ln-cnt { font-size: 13px; color: var(--ink2); white-space: nowrap }
.ln-cnt b { font: 400 28px/1 var(--fl); color: var(--ink); margin-right: 3px; font-variant-numeric: tabular-nums }
.ln-clr { margin-left: auto; min-height: 40px; background: none; border: 0; padding: 0 4px; font: 400 14px/1.4 var(--fb); color: var(--ink2); cursor: pointer; text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px }
.ln-panel.empty .ln-clr { visibility: hidden }
.ln-x { display: none; min-width: 44px; min-height: 44px; background: none; border: 0; font: 300 26px/1 var(--fb); color: var(--ink2); cursor: pointer }
.ln-pb { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 40px; align-items: start }
.ln-sel { min-width: 0 }
.ln-dl:empty { display: none }
.ln-dl { list-style: none; display: grid; gap: 10px }
.ln-dl > li { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 4px 12px; align-items: baseline }
.ln-dl .dg { font: 400 15px/1.5 var(--fd); display: flex; gap: 8px; align-items: baseline; white-space: nowrap }
.ln-dl .dg span { font: 400 12px/1 var(--fl); color: var(--ink2); min-width: 1.6em }
.ln-dl ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px }
.ln-dl ul li { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--paper); border-radius: 4px; padding: 0 0 0 10px; min-height: 34px; font-size: 14px; line-height: 1.5; color: var(--ink) }
.ln-dl ul li.new { animation: lnSlide .4s cubic-bezier(.2,.7,.1,1) both }
@keyframes lnSlide { from { opacity: 0; transform: translateX(12px) } to { opacity: 1; transform: none } }
.ln-dl ul li:hover { border-color: var(--ink) }
.ln-dl button { background: none; border: 0; color: var(--ink2); font: 300 18px/1 var(--fb); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 3px; cursor: pointer; flex: none }
.ln-dl button:hover { color: var(--ink); background: var(--soft) }
.ln-dl .whole ul li { background: var(--ink); color: var(--paper); border-color: var(--ink) } .ln-dl .whole button { color: var(--paper) } .ln-dl .whole button:hover { background: rgb(245 245 242 / .18) }
.ln-empty { display: none; font-size: 14.5px; color: var(--ink2); line-height: 1.85 }
.ln-panel.empty .ln-empty { display: block }
.ln-k { border: 0; margin: 0; padding: 0 0 0 28px; min-width: 0; border-left: 1px solid var(--line) }
.ln-k legend { float: left; width: 100%; display: flex; align-items: baseline; gap: 10px; padding: 0; margin-bottom: 10px; font: 400 15px/1.5 var(--fd) }
.ln-k legend small { font: 400 12.5px/1 var(--fb); color: var(--ink2); letter-spacing: .04em }
.ln-k .kinds { clear: both; gap: 6px }
.ln-k .ck span { padding: 5px 12px; font-size: 13.5px; letter-spacing: .02em }
.ln-k .ck:last-child span { border-style: dashed; border-color: var(--ink3) }
.ln-k .ck:last-child input:checked + span { border-style: solid }
/* PC：相談のボタンは見出しの行の右（線のすぐ下で見える）。縦の線では箱の最後 */
.ln-panel { grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px }
.ln-ph { grid-column: 1; grid-row: 1 } .ln-pb { grid-column: 1 / -1 }
.ln-act { grid-column: 2; grid-row: 1; display: flex; align-self: center }
.btn[aria-disabled="true"] { opacity: .3; cursor: not-allowed }
.btn[aria-disabled="true"]:hover { background: var(--ink); color: var(--paper) }

/* ── 下の帯：選んでいて、相談のボタンが見えていないあいだだけ ── */
.ln-scrim, .ln-bar { display: none }
.ln-bar:not([hidden]) { display: flex; position: fixed; z-index: 29; left: 50%; transform: translateX(-50%); width: min(520px, calc(100% - 240px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); height: 56px; background: var(--ink); color: var(--paper); border-radius: 12px; box-shadow: 0 10px 30px rgb(26 25 23 / .22); overflow: hidden; animation: lnUp .35s cubic-bezier(.2,.7,.1,1) both }
@keyframes lnUp { from { opacity: 0; margin-bottom: -16px } to { opacity: 1; margin-bottom: 0 } }
.ln-open { flex: 1; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 10px; padding: 0 12px 0 18px; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; font: inherit }
.ln-open b { grid-row: 1 / 3; font: 400 26px/1 var(--fl); font-variant-numeric: tabular-nums }
.ln-open span { font-size: 13.5px; line-height: 1.3 }
.ln-open small { font-size: 12px; line-height: 1.3; opacity: .8; text-decoration: underline; text-underline-offset: .25em }
.ln-go2 { display: flex; align-items: center; gap: 8px; padding: 0 18px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: 14px; white-space: nowrap; border: 1px solid var(--ink); border-radius: 0 12px 12px 0 }
/* スマホ：帯が出ているあいだは右下の「あなたは？」を隠し、帯を横いっぱいに。開くとシート */
@media (max-width: 960px) {
  .ln-bar:not([hidden]) { left: 14px; right: 14px; width: auto; transform: none; bottom: calc(14px + env(safe-area-inset-bottom, 0px)) }
  body.ln-bar-on .who { visibility: hidden }
  .ln-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 40; background: rgb(26 25 23 / .3); animation: fade .3s both }
  .ln-panel.sheet { position: fixed; z-index: 41; left: 0; right: 0; bottom: 0; margin: 0; max-width: none; max-height: 84vh; overflow: auto; border: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -1px 0 var(--ink), 0 -20px 48px rgb(26 25 23 / .16); padding: 10px 20px calc(20px + env(safe-area-inset-bottom, 0px)); animation: lnSheet .4s cubic-bezier(.2,.7,.1,1) both }
  @keyframes lnSheet { from { transform: translateY(100%) } to { transform: none } }
  .ln-panel.sheet .ln-x { display: block }
  .ln-panel.sheet .ln-act { position: sticky; bottom: calc(-20px - env(safe-area-inset-bottom, 0px)); margin: 0 -20px calc(-20px - env(safe-area-inset-bottom, 0px)); padding: 12px 20px calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--paper); box-shadow: 0 -12px 20px -12px rgb(26 25 23 / .18); z-index: 1 }
  body.ln-lock { overflow: hidden }
  body.ln-lock .who { visibility: hidden }
  .ln-head { display: grid; gap: 16px }
  .ln-all { justify-self: start }
}
@media (max-width: 600px) {
  .ln-lead { font-size: min(5.4vw, 21px) }
  .ln-how { font-size: 14px }
  .ln-panel { padding: 12px 16px 18px }
  .ln-ph { gap: 10px } .ln-ph h3 { font-size: 17px; letter-spacing: .02em }
  .ln-dl > li { grid-template-columns: minmax(0, 1fr) }
  .ln-dl ul li { min-height: 40px } .ln-dl button { width: 40px; height: 40px }
  .ln-k .ck span { letter-spacing: 0 }
}

/* ── トップの概観（段階名は文字だけ。PC は目盛りを押すとその工程を選んだ状態で移る。狭い画面は線とボタン） ── */
.lno { padding-top: 0; border-top: 0 }
.lno-b { position: relative }
.lno-g, .lno-tr { display: grid; grid-template-columns: repeat(var(--t), minmax(0, 1fr)) }
.lno-g > span { grid-column: calc(var(--a) + 1) / span var(--n); display: grid; gap: 3px; align-content: end; padding: 0 4px 10px 8px; border-left: 1px solid var(--line); font: 400 clamp(14px, 1.2vw, 17px)/1.35 var(--fd); white-space: nowrap }
.lno-g .no { font: 400 12px/1 var(--fl); color: var(--ink3); letter-spacing: .08em }
.lno-tr { position: relative; height: 56px }
.lno-rule { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--ink); transform-origin: 0 50%; transition: transform 1.3s cubic-bezier(.6,.05,.2,1) }
.lno-b.pre .lno-rule { transform: scaleX(0) }
.lno-t { position: relative; display: block; height: 56px }
.lno-t i { position: absolute; left: 50%; top: 50%; width: 1px; height: 12px; background: var(--ink); transform: translate(-50%, -50%); transition: height .2s }
.lno-b.pre .lno-t i { height: 0 }
.lno-b.drawn .lno-t i { transition: height .3s; transition-delay: calc(250ms + var(--i) * 14ms) }
.lno-t::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--paper); transform: scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1) }
.lno-t:hover::after { transform: none }
.lno-t:hover i, .lno-b.drawn .lno-t:hover i { height: 24px; transition-delay: 0ms }
.lno-now { margin-top: 10px; font-size: 14px; color: var(--ink2); min-height: 1.8em; transition: color .2s }
.lno-now.on { color: var(--ink) }
@media (max-width: 1080px) {
  .lno-g { display: none }
  .lno-tr { height: 40px } .lno-t { height: 40px; pointer-events: none }
  .lno-now { margin-top: 4px; font-size: 13.5px }
  .lno .row { margin-top: 24px }
}

/* ── /contact/ の「相談の内容」（フォームの上） ── */
.ln-card { margin-bottom: 28px; animation: lnIn .5s cubic-bezier(.2,.7,.1,1) both; min-width: 0; scroll-margin-top: 90px }
.ln-ct { font: 400 13px/1.6 var(--fb); letter-spacing: .16em; color: var(--ink2); margin-bottom: 10px }
.ln-cbox { border: 1px solid var(--ink); padding: 18px 22px; display: grid; gap: 12px }
.ln-cdl { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 15px; line-height: 1.8 }
.ln-cdl dt { color: var(--ink2) } .ln-cdl dd { margin: 0; display: grid; gap: 4px; min-width: 0 }
.ln-cdl dd.kd { display: flex; flex-wrap: wrap; gap: 6px; align-items: start }
.ln-chip { display: inline-block; border: 1px solid var(--ink); border-radius: 999px; padding: 1px 12px; font-size: 13.5px }
.ln-cdl b { font-weight: 400; margin-right: 12px } .ln-cdl b .no { font: 400 12px/1 var(--fl); color: var(--ink2); margin-right: 6px }
.ln-cbox .note { margin-top: 0; border-top: 1px solid var(--line); padding-top: 10px }
.ln-crow { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center }
.ln-crow .tl { margin-top: 0; min-height: 40px }
.ln-rm { min-height: 40px; background: none; border: 0; padding: 0; font: 400 14px/1.4 var(--fb); color: var(--ink2); cursor: pointer; text-decoration: underline; text-underline-offset: .3em }
.in.two > * { min-width: 0 }
@media (max-width: 600px) { .ln-cdl { grid-template-columns: minmax(0, 1fr); gap: 2px } .ln-cdl dd + dt { margin-top: 10px } .ln-cbox { padding: 14px 16px } }

@media (prefers-reduced-motion: reduce) { .ln-board.pre .ln-rule, .lno-b.pre .lno-rule { transform: none } }
