/* 作業療法士の人材バンク LP。build_jinzai.py が 2 サイトへ同じものを置く。色は body のクラスで切り替える */
.theme-corp { --main:#5C5090; --ink:#322C57; --text:#2B2B33; --muted:#5C5E6B; --tint:#F3F1F8; --line:#E3E5EC; --glow:#EFEDF6; --link:#3A6787; }
.theme-lp { --main:#2A5CA8; --ink:#142E52; --text:#22324A; --muted:#3A4A61; --tint:#EEF5FC; --line:#CFE5F8; --glow:#CFE5F8; --link:#1E4478; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font-family: 'Noto Sans JP', sans-serif; font-size: 16px; line-height: 1.75; padding-bottom: 76px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2 { font-family: 'Shippori Mincho B1', serif; color: var(--ink); font-weight: 700; word-break: auto-phrase; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.in { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.top .in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
.top-brand { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.4; }
.top-brand img { height: 28px; width: auto; }
.top-op { font-size: 15px; color: var(--muted); line-height: 1.4; }
.top-name { display: none; font-size: 15px; font-weight: 700; color: var(--main); }
.hero { padding: 32px 0 40px; background: radial-gradient(90% 90% at 90% 0%, var(--glow) 0%, transparent 70%); }
.kicker, .label { font-size: 15px; font-weight: 700; color: var(--main); }
h1 { font-size: 40px; line-height: 1.3; margin: 10px 0 14px; }
.lead { font-size: 16px; font-weight: 500; color: var(--ink); }
.hero-fig { margin: 20px 0; overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 9; }
.hero-fig img { width: 100%; height: 100%; object-fit: cover; will-change: transform; animation: hero-zoom 14s ease-out 1 forwards; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.line-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; padding: 8px 14px; background: #047A38; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.4; border-radius: 12px; text-decoration: none; box-shadow: 0 4px 14px rgba(4, 122, 56, .25); }
.line-btn:hover { background: #03652E; }
.line-btn .ic { width: 22px; height: 22px; flex: none; }
.note { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.sec { padding: 40px 0; overflow-x: clip; }
.sec .in { position: relative; }
.sec + .sec .in::before { content: ''; position: absolute; left: 20px; right: 20px; top: -40px; border-top: 1px solid var(--line); }
.label { margin-bottom: 6px; }
h2 { font-size: 24px; line-height: 1.45; margin-bottom: 20px; }
.body { margin-bottom: 20px; }
.fig img { width: 100%; border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; }
.sp-fig { margin-bottom: 20px; }
.area-fig { margin-bottom: 20px; }
.area-fig img { aspect-ratio: 16 / 9; }
.pc-fig { display: none; }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; font-weight: 500; line-height: 1.6; }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--main); }
.steps { display: grid; gap: 20px; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 0 6px; }
.n { color: var(--main); font-size: 15px; font-weight: 700; line-height: 1.75; }
h3 { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.steps p, .feat p, .area-card p { color: var(--muted); line-height: 1.7; }
.close { margin-top: 20px; font-weight: 700; color: var(--ink); line-height: 1.7; }
.mid-btn { margin-top: 20px; }
.area { margin-top: 14px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.areas { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 0 -20px; padding: 0 20px 8px; scroll-padding-left: 20px; scrollbar-width: none; }
.areas::-webkit-scrollbar { display: none; }
.area-card { flex: 0 0 78%; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; background: #fff; }
.area-card svg { width: 24px; height: 24px; color: var(--main); margin-bottom: 8px; display: block; }
.swipe { margin-top: 6px; font-size: 15px; color: var(--muted); text-align: center; }
.feat { display: grid; gap: 18px; }
.feat li { border-left: 2px solid var(--main); padding-left: 14px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; min-height: 48px; padding: 12px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 9px; height: 9px; margin: 0 4px; border-right: 2px solid var(--main); border-bottom: 2px solid var(--main); transform: rotate(45deg); transition: transform .25s; }
.faq[open] summary::after { transform: rotate(225deg); }
.faq p { padding: 0 0 14px; color: var(--muted); }
.last { position: relative; padding: 44px 0; background: var(--tint); overflow: hidden; }
.last-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .18; }
.last .in { position: relative; }
.strong { font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.last .note, .last .body { color: var(--text); }
.cta-qr { display: none; }
.foot { padding: 24px 0 16px; font-size: 15px; color: var(--muted); line-height: 1.8; }
.foot a { color: var(--link); }
#line-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); border-top: 1px solid var(--line); }
#line-bar .line-btn { min-height: 50px; box-shadow: none; }
#line-bar { transition: transform .25s; }
html.js #line-bar:not(.show) { transform: translateY(120%); }
.sp { display: inline; }
/* スマートなノート風（2026-11-01）: 薄い方眼の紙、Klee One の見出し、マーカー、テープで貼った写真。本文は Noto Sans JP のまま */
.theme-corp { --mark: #E5DFF4; --grid: rgba(92, 80, 144, .055); --tape: rgba(92, 80, 144, .16); }
.theme-lp { --mark: #D5E7F8; --grid: rgba(42, 92, 168, .055); --tape: rgba(42, 92, 168, .16); }
body { background-color: #FEFEFC; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.top { background: rgba(255, 255, 255, .9); border-bottom: 1px solid var(--line); }
h1, h2, h3, .kicker, .label, .lead, .close, .strong, .faq summary { font-family: 'Klee One', 'Noto Sans JP', sans-serif; font-weight: 600; }
h2 { font-size: 23px; }
h3, .faq summary, .close, .strong, .label, .kicker { -webkit-text-stroke: .25px currentColor; }
.lead { font-size: 16px; }
.label { font-size: 16px; }
h3 { font-size: 18px; }
h1 span, .close span, .strong span { background: linear-gradient(transparent 62%, var(--mark) 62%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h2::after { content: ''; display: block; width: 56px; height: 3px; margin-top: 10px; border-radius: 3px; background: var(--main); opacity: .7; transform: rotate(-.6deg); }
.sec + .sec .in::before { border-top: 1px dashed var(--line); }
.hero { background: none; }
.n { width: 24px; height: 24px; margin-top: 2px; display: flex; align-items: center; justify-content: center; border: 1.500px solid var(--main); border-radius: 50%; font-family: 'Klee One', sans-serif; font-weight: 600; line-height: 1; }
.steps li { grid-template-columns: 30px 1fr; }
.area-card { border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 2px 8px rgba(40, 40, 60, .05); }
.feat li { border-left: 0; padding-left: 14px; background: linear-gradient(var(--mark), var(--mark)) left 4px / 4px calc(100% - 8px) no-repeat; }
.faq { background: rgba(255, 255, 255, .6); }
.hero-fig { position: relative; aspect-ratio: auto; overflow: visible; border-radius: 0; }
.hero-crop { overflow: hidden; aspect-ratio: 16 / 9; }
.hero-crop img { width: 100%; height: 100%; object-fit: cover; will-change: transform; animation: hero-zoom 14s ease-out 1 forwards; }
.hero-fig img { animation: none; }
.hero-crop img { animation: hero-zoom 14s ease-out 1 forwards; }
.hero-crop, .fig img { border: 5px solid #fff; box-shadow: 0 2px 12px rgba(40, 40, 60, .14); border-radius: 3px; }
.fig { position: relative; }
.hero-fig::before, .fig::before { content: ''; position: absolute; z-index: 1; top: -9px; left: 50%; width: 76px; height: 20px; margin-left: -38px; background: var(--tape); transform: rotate(-1.500deg); }
.area-card .more, .reads a { font-weight: 700; color: var(--link); }
.area-card .more { display: inline-block; margin-top: 8px; }
.reads { display: grid; gap: 10px; }
.reads li { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.reads a { display: block; padding: 13px 16px; text-decoration: none; line-height: 1.5; }
.reads a::after { content: ' →'; }
.art-head { padding: 24px 0 8px; }
.crumb { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.crumb a { color: var(--link); }
.article h1 { font-size: 30px; line-height: 1.4; word-break: auto-phrase; }
.article .lead { margin-top: 12px; }
.art-body { padding-bottom: 32px; }
.art-sec { padding: 22px 0 8px; }
.art-sec h2 { font-size: 21px; margin-bottom: 14px; }
.art-sec p { margin-bottom: 10px; }
.art-list { display: grid; gap: 8px; padding-left: 1.3em; list-style: disc; }
.art-list.num { list-style: decimal; }
.art-list a, .art-sec p a { color: var(--link); }
.src { font-size: 15px; color: var(--muted); line-height: 1.6; margin-top: 10px; }
.bank { background: var(--tint); border-radius: 10px; padding: 20px 18px; margin-top: 24px; }
.bank .art-list { margin-bottom: 16px; }
.byline { margin-top: 20px; font-size: 15px; color: var(--muted); }
@media (min-width: 768px) { .article h1 { font-size: 40px; } .art-body, .art-head .in { max-width: 760px; } .art-sec h2 { font-size: 24px; } }
html.js .rv { opacity: 0; transform: translateY(12px); transition: opacity .55s ease-out, transform .55s ease-out; }
html.js .rv.on { opacity: 1; transform: none; }
html.js li.rv:nth-child(2) { transition-delay: .06s; }
html.js li.rv:nth-child(3) { transition-delay: .12s; }
html.js li.rv:nth-child(4) { transition-delay: .18s; }
html.js li.rv:nth-child(5) { transition-delay: .24s; }
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .sp { display: none; }
  .top .in { min-height: 60px; }
  .top-name { display: inline; }
  .in { max-width: 1040px; }
  h1 { font-size: 52px; }
  h2 { font-size: 30px; margin-bottom: 24px; }
  .lead { font-size: 18px; }
  .hero { padding: 64px 0 72px; }
  .hero-in { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: 'text fig' 'cta fig'; column-gap: 48px; align-items: center; }
  .hero-text { grid-area: text; align-self: end; }
  .hero-fig { grid-area: fig; margin: 0; }
  .hero-cta { grid-area: cta; align-self: start; margin-top: 24px; }
  .sec { padding: 64px 0; }
  .sec + .sec .in::before { top: -64px; }
  .label { margin-bottom: 8px; }
  .checks { gap: 14px; }
  .steps { gap: 24px; }
  .close { margin-top: 24px; }
  .line-btn { max-width: 360px; }
  .has-img .in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
  .has-img.flip .pc-fig { order: -1; }
  .has-img.flip .in { grid-template-columns: 1fr 1.15fr; }
  .sp-fig { display: none; }
  .pc-fig { display: block; position: sticky; top: 88px; }
  .areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; overflow: visible; margin: 0; padding: 0; }
  .area-card { padding: 22px 20px; }
  .swipe { display: none; }
  .area-fig img { aspect-ratio: 21 / 8; }
  .last { padding: 64px 0; }
  .cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
  .cta-main { flex: 1; }
  .cta-qr { display: block; width: 190px; flex: none; text-align: center; font-size: 15px; color: var(--muted); line-height: 1.6; }
  .cta-qr img { width: 128px; height: 128px; margin: 0 auto 8px; }
  #line-bar { left: 50%; right: auto; bottom: 16px; width: 340px; margin-left: -170px; padding: 0; background: none; border: 0; transform: translateY(120px); transition: transform .25s; }
  #line-bar.show { transform: none; }
  #line-bar .line-btn { max-width: none; box-shadow: 0 10px 28px rgba(10, 30, 60, .3); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-crop img { animation: none; }
  html.js .rv { opacity: 1; transform: none; transition: none; }
  .faq summary::after, #line-bar { transition: none; }
}
@media print { #line-bar { display: none; } }
