/* 藤東クリニック ジョブナビ — 光のなかで、はたらく
   健康ガイド（光庭）・インサイト（光の窓）・ギャラリー（光の回廊）と同じ家族の色と形。主役は「働く人」。
   白・広い余白・細い線・明朝の大見出し・やさしい緑。未来感は乳白ガラスと光、ゆっくり現れる動きで出す。
   目立たせるのは応募の入口だけ（かんたん応募＝杏色、LINE＝LINE の印）。 */

:root {
  color-scheme: light;
  --ink: #17201b;
  --ink-soft: #55615a;
  --paper: #ffffff;
  --wash: #f4f7f5;
  /* 緑はやさしく使う: 医院の緑 #359267 はロゴと小さな印だけ。線・点はやわらかい緑、塗りは淡い緑、文字だけ少し濃い緑 */
  --brand: #359267;
  --brand-soft: #7dbc9c;
  --brand-dark: #277552;
  --tint: #e8f4ed;
  --tint-soft: #f4f9f6;
  --tint-line: #bcdccb;
  --line: #dce1dd;
  --line-strong: #b9c4bd;
  /* 応募の入口の色: 灯りの杏色（かんたん応募）と、LINE の緑（印と縁だけ） */
  --cta: #ffd596;
  --cta-hover: #ffc978;
  --cta-edge: #efbd72;
  --line-green: #06c755;
  --line-edge: #b5e6c9;
  --caution: #a43a3a;
  /* ガラス */
  --glass: rgb(255 255 255 / 0.82);
  --glass-strong: rgb(255 255 255 / 0.94);
  --glass-edge: rgb(23 32 27 / 0.1);
  --glass-rim: rgb(255 255 255 / 0.7);
  --mullion: rgb(23 32 27 / 0.12);
  --shadow: 0 22px 44px -28px rgb(23 32 27 / 0.28);
  --shadow-deep: 0 34px 60px -34px rgb(23 32 27 / 0.4);
  --photo-shadow: 0 30px 50px -30px rgb(23 32 27 / 0.4);
  --lamp: #ffdfa8;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  --gothic: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1180px;
  --measure: 720px;
  --header: 68px;
  --arc: clamp(26px, 4vw, 60px);
  --radius: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out 0.35s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in 0.55s var(--ease) both; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; } }
}

/* ---------- 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  /* 言葉の途中で折り返さない（対応しているブラウザで、文節の切れ目で折り返す） */
  word-break: auto-phrase;
  line-break: strict;
  text-wrap: pretty;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--brand-dark); text-underline-offset: 4px; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--brand-dark); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { flex: none; width: 22px; height: 22px; }
main { position: relative; display: block; }
.nw { display: inline-block; white-space: nowrap; }

/* 壁に映る光: 白い壁に、淡い緑と灯りの色がうっすら映る。動かさない */
.wall { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--paper); }
.wall i { position: absolute; border-radius: 50%; }
.wall-a { right: -22vmax; top: -34vmax; width: 86vmax; height: 86vmax; background: radial-gradient(closest-side, rgb(223 238 230 / 0.6) 0%, transparent 72%); }
.wall-b { left: -30vmax; bottom: -40vmax; width: 80vmax; height: 80vmax; background: radial-gradient(closest-side, rgb(255 223 168 / 0.2) 0%, transparent 70%); }

/* ---------- ヘッダー（すりガラス） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  min-height: var(--header);
  padding: 10px var(--gutter);
  background: var(--glass);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--glass-edge);
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand-mark { flex: none; width: 28px; height: 28px; fill: var(--brand); }
.brand-name { display: flex; align-items: baseline; gap: 10px; font-family: var(--mincho); font-weight: 500; font-size: clamp(16px, 1.6vw, 19px); letter-spacing: 0.14em; line-height: 1.4; white-space: nowrap; }
.brand-name small { font-family: var(--gothic); font-size: 12px; letter-spacing: 0.16em; color: var(--brand-dark); }
.nav-wide ul, .nav-narrow ul { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav-wide a { position: relative; display: block; padding: 10px 0; color: var(--ink-soft); font-size: 14px; letter-spacing: 0.1em; text-decoration: none; white-space: nowrap; }
.nav-wide a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--brand-soft); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav-wide a:hover { color: var(--brand-dark); }
.nav-wide a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; gap: 8px; }
.nav-narrow { display: none; position: relative; }
.nav-narrow summary { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; list-style: none; border: 1px solid var(--glass-edge); border-radius: 12px; background: var(--glass-strong); }
.nav-narrow summary::-webkit-details-marker { display: none; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.nav-narrow[open] .bars { background: transparent; }
.nav-narrow[open] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-narrow[open] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav-narrow nav { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; padding: 8px; background: var(--glass-strong); border: 1px solid var(--glass-edge); border-radius: var(--radius); box-shadow: var(--shadow); }
.nav-narrow ul { flex-direction: column; gap: 0; }
.nav-narrow a { display: block; padding: 13px 16px; color: var(--ink); font-size: 15px; letter-spacing: 0.08em; text-decoration: none; border-radius: 10px; }
.nav-narrow a:hover { background: var(--tint); color: var(--brand-dark); }

/* ---------- ボタン・札・見出し ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 26px; background: var(--tint); color: var(--brand-dark); border: 1px solid var(--tint-line); border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.4; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease); }
.btn:hover { border-color: var(--brand-soft); box-shadow: 0 10px 24px -16px rgb(39 117 82 / 0.5); }
.btn .ico-arrow { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn-quiet { background: transparent; font-weight: 400; border-color: var(--line-strong); color: var(--ink); }
.btn-quiet:hover { background: var(--tint-soft); box-shadow: none; }
/* かんたん応募: 灯りの杏色。サイトの中でいちばん目に入るボタン */
.btn-cta { background: var(--cta); border-color: var(--cta-edge); color: var(--ink); box-shadow: 0 14px 26px -18px rgb(190 130 30 / 0.7); }
.btn-cta:hover { background: var(--cta-hover); border-color: var(--cta-edge); box-shadow: 0 16px 30px -16px rgb(190 130 30 / 0.75); }
/* LINE: 白い面に LINE の印。緑で面を塗らない */
.btn-line { background: #fff; border-color: var(--line-edge); color: var(--ink); }
.btn-line:hover { border-color: var(--line-green); box-shadow: 0 10px 24px -16px rgb(6 199 85 / 0.6); }
.btn-big { min-height: 60px; padding: 12px 34px; font-size: 16.5px; }
.btn-small { min-height: 42px; padding: 6px 16px; font-size: 13.5px; }
.btn-small .ico { width: 20px; height: 20px; }
.btn-wide { width: 100%; }

.kicker { display: flex; align-items: center; gap: 12px; color: var(--brand-dark); font-size: 13px; letter-spacing: 0.18em; }
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--brand-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 2px 12px; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 999px; color: var(--brand-dark); font-size: 12.5px; letter-spacing: 0.06em; white-space: nowrap; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; letter-spacing: 0.08em; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.crumbs a:hover { color: var(--brand-dark); border-color: var(--brand-soft); }
.more { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 3px; border-bottom: 1px solid var(--brand-soft); color: var(--brand-dark); font-size: 14px; letter-spacing: 0.08em; text-decoration: none; }
.more .ico { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
a:hover > .more .ico, .more:hover .ico { transform: translateX(3px); }

.sec { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.sec-tint { background: linear-gradient(var(--tint-soft), color-mix(in srgb, var(--tint-soft) 40%, transparent)); border-block: 1px solid var(--line); }
.sec-in { max-width: var(--max); margin: 0 auto; }
.sec-head { display: grid; gap: 16px; max-width: var(--max); margin: 0 auto clamp(32px, 5vw, 56px); }
.sec-title { font-family: var(--mincho); font-weight: 500; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.5; letter-spacing: 0.1em; }
.sec-title span { display: inline-block; white-space: nowrap; }
.sec-lead { max-width: 40em; color: var(--ink-soft); }
.page-top { padding-top: clamp(36px, 5vw, 64px); }

/* 画面に入ったら、ゆっくり現れる（JS があるときだけ。無ければ最初から見えている） */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 上の段: 写真と、乳白ガラスの窓 ---------- */
.hero { position: relative; display: grid; min-height: min(calc(100svh - var(--header)), 860px); overflow: clip; isolation: isolate; }
.hero-frame { grid-area: 1 / 1; position: relative; overflow: hidden; background: var(--wash); }
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--c, var(--wash)); }
/* 写真は動かさず、ゆっくり入れ替わるだけ（3 枚・21 秒でひとめぐり） */
.hero-frame img:nth-child(n+2) { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero-frame.is-3 img { animation: hero-fade 21s infinite both; }
  .hero-frame.is-3 img:nth-child(1) { animation-delay: -1.4s; }
  .hero-frame.is-3 img:nth-child(2) { animation-delay: 5.6s; }
  .hero-frame.is-3 img:nth-child(3) { animation-delay: 12.6s; }
  @keyframes hero-fade { 0% { opacity: 0; } 6.5%, 33.3% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
  /* 2 枚のとき（16 秒でひとめぐり） */
  .hero-frame.is-2 img { animation: hero-fade2 16s infinite both; }
  .hero-frame.is-2 img:nth-child(1) { animation-delay: -1.2s; }
  .hero-frame.is-2 img:nth-child(2) { animation-delay: 6.8s; }
  @keyframes hero-fade2 { 0% { opacity: 0; } 7%, 50% { opacity: 1; } 59% { opacity: 0; } 100% { opacity: 0; } }
}
.hero-pane {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: start;
  z-index: 2;
  display: grid;
  gap: 18px;
  width: min(590px, 48vw);
  margin: clamp(24px, 4vh, 48px) var(--gutter);
  padding: clamp(28px, 3.2vw, 46px);
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--glass-rim);
  border-radius: 6px 6px var(--arc) 6px;
  box-shadow: var(--shadow-deep);
}
.hero-title { font-family: var(--mincho); font-weight: 500; font-size: clamp(30px, 3.5vw, 50px); line-height: 1.5; letter-spacing: 0.12em; }
.hero-title span { display: block; white-space: nowrap; }
.hero-lead { color: var(--ink-soft); font-size: 15.5px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 16px; border-top: 1px solid var(--mullion); color: var(--ink-soft); font-size: 13.5px; }
.hero-points li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-points li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-soft); }

/* ---------- 直接応募のみ（紹介会社を通さなくても、ここで確かめられる） ---------- */
.hero-direct { justify-self: start; padding: 9px 16px; background: var(--glass-strong); border: 1px solid var(--tint-line); border-radius: 12px; font-size: 14.5px; line-height: 1.7; }
.hero-direct b { margin: 0 2px; color: var(--brand-dark); font-weight: 700; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--lamp) 70%, transparent) 62%); }
.directs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); max-width: var(--max); margin: 0 auto; }
.direct { display: grid; align-content: start; gap: 12px; padding: clamp(22px, 2.2vw, 30px); background: var(--paper); border: 1px solid var(--line); border-radius: 6px 6px var(--arc) 6px; }
.direct-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--tint); color: var(--brand-dark); }
.direct-ico .ico { width: 25px; height: 25px; }
.direct-title { font-family: var(--mincho); font-weight: 500; font-size: 20px; letter-spacing: 0.1em; line-height: 1.5; }
.direct-text { color: var(--ink-soft); font-size: 14.5px; line-height: 1.85; }
.direct-line { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--brand-dark); font-size: 14px; letter-spacing: 0.06em; }
.direct-line::before { content: ""; flex: none; width: 18px; height: 1px; background: var(--brand-soft); }
.direct-line.is-left { justify-content: flex-start; }

/* ---------- 3 つの入口 ---------- */
.entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); max-width: var(--max); margin: 0 auto; }
.entry { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: clamp(24px, 2.6vw, 34px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.entry-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--tint); color: var(--brand-dark); }
.entry-ico .ico { width: 26px; height: 26px; }
.entry-ico.is-line { background: #eafaf0; }
.entry-ico.is-line .ico { width: 32px; height: 32px; }
.entry-ico.is-cta { background: color-mix(in srgb, var(--cta) 55%, #fff); color: #7a4d06; }
.entry-step { color: var(--ink-soft); font-size: 12.5px; letter-spacing: 0.14em; }
.entry-title { font-family: var(--mincho); font-weight: 500; font-size: 21px; letter-spacing: 0.1em; line-height: 1.5; }
.entry-text { color: var(--ink-soft); font-size: 14.5px; line-height: 1.85; }

/* ---------- 募集職種 ---------- */
.jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); max-width: var(--max); margin: 0 auto; }
.job-card { display: grid; grid-template-rows: auto 1fr; color: inherit; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.3s, box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.job-card:hover { border-color: var(--brand-soft); box-shadow: var(--shadow); transform: translateY(-3px); }
.job-card-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint-soft); }
.job-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--c, var(--wash)); transition: transform 1.2s var(--ease); }
.job-card:hover .job-card-img img { transform: scale(1.03); }
.job-card-body { display: grid; align-content: start; gap: 10px; padding: 20px 22px 22px; }
.job-card-name { font-family: var(--mincho); font-weight: 500; font-size: 22px; letter-spacing: 0.12em; line-height: 1.4; }
.job-card-catch { min-height: 3.6em; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.job-card.is-plain .job-card-catch { min-height: 0; }
.job-card-pay { font-size: 17px; font-weight: 600; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.job-card-pay.is-ask { font-size: 14.5px; font-weight: 400; color: var(--ink-soft); }
.job-card .more { justify-self: start; margin-top: 4px; }
.job-card.is-plain { grid-template-rows: 1fr; background: var(--glass-strong); }
.job-card.is-plain .job-card-body { padding: 22px 24px; }

/* ---------- 数字で見る（格子のガラス窓） ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--max); margin: 0 auto; background: var(--glass-strong); border: 1px solid var(--line); border-radius: 6px 6px var(--arc) 6px; overflow: hidden; }
.stat { display: grid; align-content: start; gap: 4px; padding: clamp(22px, 2.8vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(3n) { border-right: 0; }
.stat:nth-last-child(-n+3) { border-bottom: 0; }
.stat-label { display: flex; align-items: center; gap: 8px; color: var(--brand-dark); font-size: 13.5px; letter-spacing: 0.12em; }
.stat-label::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-soft); }
.stat-num { font-family: var(--mincho); font-weight: 500; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.25; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-num small { margin-left: 4px; font-size: 0.36em; letter-spacing: 0.1em; }
.stat-note { color: var(--ink-soft); font-size: 13px; }
.stats-note { max-width: var(--max); margin: 14px auto 0; color: var(--ink-soft); font-size: 12.5px; }

/* ---------- 働く環境 ---------- */
.work { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: var(--max); margin: 0 auto; }
.work-photos { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; align-items: end; }
.work-photos figure { overflow: hidden; background: var(--wash); box-shadow: var(--photo-shadow); }
.work-photos figure:first-child { aspect-ratio: 4 / 5; border-radius: var(--arc) 6px 6px 6px; }
.work-photos figure:last-child { aspect-ratio: 3 / 4; border-radius: 6px 6px var(--arc) 6px; margin-bottom: clamp(18px, 4vw, 48px); }
.work-photos img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--c, var(--wash)); }
.work-list { display: grid; gap: 0; }
.work-item { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.work-item:last-child { border-bottom: 1px solid var(--line); }
.work-no { grid-row: 1 / span 2; font-family: var(--mincho); font-size: 22px; color: var(--brand-soft); font-variant-numeric: tabular-nums; line-height: 1.5; }
.work-title { font-family: var(--mincho); font-weight: 500; font-size: 20px; letter-spacing: 0.1em; line-height: 1.5; }
.work-text { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- スタッフの声 ---------- */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); max-width: var(--max); margin: 0 auto; }
.voice { display: grid; grid-template-rows: auto 1fr auto; gap: 22px; padding: clamp(24px, 2.6vw, 34px); background: var(--paper); border: 1px solid var(--line); border-radius: 6px 6px var(--arc) 6px; }
.voice-quote { position: relative; padding-top: 26px; font-family: var(--mincho); font-weight: 500; font-size: 16.5px; line-height: 2.05; letter-spacing: 0.06em; }
.voice-quote::before { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 1px; background: var(--brand-soft); }
.voice-pending { color: var(--ink-soft); font-family: var(--gothic); font-size: 14.5px; }
.voice-who { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.voice-role { color: var(--brand-dark); letter-spacing: 0.08em; }
.voice-name { font-size: 15.5px; letter-spacing: 0.14em; }
/* スタッフの声の写真（本サイトの写真・500×310。それより大きく引き伸ばさない） */
.voice-photo { display: block; width: 100%; max-width: 500px; aspect-ratio: 500 / 310; overflow: hidden; border-radius: 4px 4px var(--arc) 4px; background: var(--wash); }
.voice-photo img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--c, var(--wash)); }
.voice-full-head .voice-photo { margin-bottom: 18px; box-shadow: var(--photo-shadow); }
.voices-photo { max-width: var(--max); margin: 0 auto clamp(20px, 3vw, 36px); aspect-ratio: 21 / 8; overflow: hidden; border-radius: var(--arc) 6px 6px 6px; background: var(--wash); box-shadow: var(--photo-shadow); }
.voices-photo img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--c, var(--wash)); }

/* ---------- 選考の流れ ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; max-width: var(--max); margin: 0 auto; counter-reset: flow; }
.flow li { position: relative; display: grid; align-content: start; gap: 6px; padding: 0 16px 0 0; counter-increment: flow; }
.flow li::before { content: counter(flow); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border: 1px solid var(--tint-line); border-radius: 50%; background: var(--tint); color: var(--brand-dark); font-family: var(--mincho); font-size: 18px; position: relative; z-index: 1; }
.flow li::after { content: ""; position: absolute; left: 44px; right: 0; top: 22px; height: 1px; background: var(--tint-line); }
.flow li:last-child::after { display: none; }
.flow li:first-child::before { background: var(--cta); border-color: var(--cta-edge); color: var(--ink); }
.flow-title { font-family: var(--mincho); font-weight: 500; font-size: 18px; letter-spacing: 0.1em; line-height: 1.5; white-space: nowrap; }
.flow-text { color: var(--ink-soft); font-size: 13.5px; line-height: 1.8; }

/* ---------- よくある質問 ---------- */
.faq { display: grid; max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px 4px; cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 600; letter-spacing: 0.06em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--mincho); font-weight: 500; font-size: 20px; color: var(--brand-soft); }
.faq summary::after { content: ""; width: 10px; height: 10px; margin-right: 6px; border-right: 1.5px solid var(--ink-soft); border-bottom: 1.5px solid var(--ink-soft); transform: rotate(45deg) translateY(-3px); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-a { padding: 0 4px 22px 40px; color: var(--ink-soft); }

/* ---------- LINE の案内 ---------- */
.line-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: center; max-width: var(--max); margin: 0 auto; padding: clamp(28px, 4.4vw, 60px); background: linear-gradient(135deg, #f1fbf5, var(--tint-soft)); border: 1px solid var(--line-edge); border-radius: 6px 6px var(--arc) 6px; }
.line-body { display: grid; gap: 18px; }
.line-title { font-family: var(--mincho); font-weight: 500; font-size: clamp(22px, 2.5vw, 31px); line-height: 1.6; letter-spacing: 0.08em; }
.line-title span { display: inline-block; }
.line-asks { display: flex; flex-wrap: wrap; gap: 8px; }
.line-asks li { padding: 8px 16px; background: #fff; border: 1px solid var(--line-edge); border-radius: 18px 18px 18px 4px; font-size: 14px; letter-spacing: 0.04em; box-shadow: 0 8px 18px -14px rgb(23 32 27 / 0.4); }
.line-qr { display: grid; justify-items: center; gap: 10px; padding: 20px 20px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.line-qr > svg { display: block; width: 168px; height: 168px; }
.line-qr p { max-width: 14em; color: var(--ink-soft); font-size: 12px; line-height: 1.6; text-align: center; }
.line-name { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.06em; }

/* ---------- しめくくり ---------- */
.close { display: grid; justify-items: center; gap: 20px; max-width: var(--max); margin: 0 auto; text-align: center; }
.close-photo { width: min(760px, 100%); aspect-ratio: 16 / 9; margin-bottom: 12px; overflow: hidden; border-radius: var(--arc) var(--arc) 6px 6px; background: var(--wash); box-shadow: var(--photo-shadow); }
.close-photo img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--c, var(--wash)); }
.close-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.close-tel { display: grid; gap: 2px; color: var(--ink-soft); font-size: 13.5px; }
.close-tel a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink); font-family: var(--mincho); font-size: 26px; letter-spacing: 0.1em; text-decoration: none; font-variant-numeric: tabular-nums; }
.close-tel .ico { color: var(--brand-dark); }

/* ---------- 職種のページ ---------- */
.job-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 64px); align-items: center; max-width: var(--max); margin: 0 auto; }
.job-top-text { display: grid; gap: 18px; }
.job-h1 { font-family: var(--mincho); font-weight: 500; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.45; letter-spacing: 0.12em; }
.job-h1 small { display: block; margin-top: 8px; font-size: 0.44em; letter-spacing: 0.1em; color: var(--ink-soft); line-height: 1.8; }
.job-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--arc) 6px 6px 6px; background: var(--wash); box-shadow: var(--photo-shadow); }
.job-photo img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--c, var(--wash)); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); max-width: var(--max); margin: 0 auto; }
.plan { display: grid; align-content: start; gap: 14px; padding: clamp(22px, 2.4vw, 32px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.plan-name { display: inline-flex; justify-self: start; padding: 3px 14px; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 999px; color: var(--brand-dark); font-size: 13.5px; font-weight: 600; letter-spacing: 0.08em; }
.plan-pay { font-family: var(--mincho); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.4; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-sub { margin-top: -8px; color: var(--ink-soft); font-size: 13.5px; }
.rows { display: grid; border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: 7.2em 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
.rows dt { color: var(--brand-dark); letter-spacing: 0.06em; }
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(24px, 4vw, 56px); max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line); }
.benefits > div { display: grid; grid-template-columns: 7.2em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.benefits dt { color: var(--brand-dark); letter-spacing: 0.06em; }
.duties-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: var(--max); margin: 0 auto; }
.duties-wrap .sec-head { margin-bottom: 28px; }
.duties-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px 6px var(--arc) 6px; background: var(--wash); box-shadow: var(--photo-shadow); }
.duties-photo img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--c, var(--wash)); }
.duties-wrap .duties { grid-template-columns: 1fr; }
.duties { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; max-width: var(--max); margin: 0 auto; }
.duties li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--tint-soft); border: 1px solid var(--tint-line); border-radius: 12px; font-size: 15px; }
.duties li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-soft); }
/* 勤務時間の帯（8 時〜翌 9 時の 25 時間を 1 本に） */
.shifts { display: grid; gap: 16px; max-width: var(--max); margin: 0 auto; }
.shifts { --shift-label: 80px; }
.shift { display: grid; grid-template-columns: var(--shift-label) 1fr; gap: 16px; align-items: center; }
.shift-name { font-family: var(--mincho); font-size: 18px; letter-spacing: 0.14em; }
.shift-track { position: relative; height: 46px; background: var(--wash); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.shift-bar { position: absolute; top: 0; bottom: 0; left: calc((var(--from) - 8) / 25 * 100%); width: calc((var(--to) - var(--from)) / 25 * 100%); display: flex; align-items: center; padding: 0 16px; background: var(--tint); border-inline: 1px solid var(--tint-line); color: var(--brand-dark); font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.shift-bar.is-night { background: color-mix(in srgb, var(--lamp) 55%, #fff); border-color: var(--cta-edge); color: #6b4708; }
.shift-note { grid-column: 2; margin-top: -10px; color: var(--ink-soft); font-size: 13px; }
.shift-scale { display: grid; grid-template-columns: var(--shift-label) 1fr; gap: 16px; color: var(--ink-soft); font-size: 12px; font-variant-numeric: tabular-nums; }
.shift-scale div { position: relative; height: 1.6em; }
.shift-scale div span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.shift-scale div .is-first { transform: none; }
.shift-scale div .is-last { transform: translateX(-100%); }
.other-jobs { display: flex; flex-wrap: wrap; gap: 10px; max-width: var(--max); margin: 0 auto; }

/* ---------- 残りのページの部品 ---------- */
.nav-wide a[aria-current="page"] { color: var(--brand-dark); }
.nav-wide a[aria-current="page"]::after { transform: scaleX(1); }
.sec-more { display: flex; justify-content: center; max-width: var(--max); margin: clamp(28px, 4vw, 44px) auto 0; }
.sec-more.is-left { justify-content: flex-start; margin-top: 28px; }
.sec-foot-note { max-width: var(--max); margin: 20px auto 0; color: var(--ink-soft); font-size: 14px; }
.job-top.is-solo { grid-template-columns: minmax(0, 1fr); }
.job-top.is-solo .job-top-text { max-width: 860px; }
.job-h1 .nw { display: block; }
.plan .more { justify-self: start; margin-top: 4px; }
.ask-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; max-width: var(--max); margin: 0 auto; padding: clamp(26px, 4vw, 52px); background: var(--paper); border: 1px solid var(--line); border-radius: 6px 6px var(--arc) 6px; box-shadow: var(--shadow); }
.ask-panel > div:first-child { display: grid; gap: 16px; }
.ask-actions { display: grid; gap: 10px; }
.benefits.is-one { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.info-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); max-width: var(--max); margin: 0 auto; align-items: start; }
.info-cols .benefits { max-width: none; margin: 0; }
/* お給料の早見表 */
.pay-table { display: grid; max-width: var(--max); margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: 6px 6px var(--arc) 6px; overflow: hidden; box-shadow: var(--shadow); }
.pay-row { display: grid; grid-template-columns: 1fr 1.25fr 1.25fr 1.1fr; align-items: stretch; border-bottom: 1px solid var(--line); }
.pay-row:last-child { border-bottom: 0; }
.pay-row > * { padding: 18px clamp(14px, 2vw, 26px); }
.pay-row > * + * { border-left: 1px solid var(--line); }
.pay-row.is-head { background: var(--tint-soft); color: var(--brand-dark); font-size: 13.5px; font-weight: 600; letter-spacing: 0.08em; }
.pay-job { font-family: var(--mincho); font-size: 20px; letter-spacing: 0.12em; color: var(--ink); text-decoration: none; }
.pay-cell { display: grid; gap: 2px; color: var(--ink); text-decoration: none; transition: background 0.3s; }
.pay-cell small { display: none; color: var(--brand-dark); font-size: 12.5px; letter-spacing: 0.06em; }
.pay-cell b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay-cell:hover, .pay-job:hover { background: var(--tint-soft); }
/* 働く環境の 4 つの柱 */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); max-width: var(--max); margin: 0 auto; }
.pillar { display: grid; align-content: start; gap: 10px; padding: clamp(24px, 2.8vw, 38px); background: var(--paper); border: 1px solid var(--line); border-radius: 6px 6px var(--arc) 6px; }
.pillar-title { font-family: var(--mincho); font-weight: 500; font-size: clamp(21px, 2vw, 25px); letter-spacing: 0.1em; line-height: 1.5; }
.pillar-lead { color: var(--ink); font-size: 15.5px; }
.pillar-points { display: grid; gap: 8px; margin-top: 4px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.85; }
.pillar-points li { position: relative; padding-left: 18px; }
.pillar-points li::before { content: ""; position: absolute; left: 2px; top: 0.82em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-soft); }
/* スタッフ構成の図: 横の棒（1 色・基線は左・先だけ丸める）。数字は文字でも出す */
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); max-width: var(--max); margin: 0 auto; }
.chart { padding: clamp(22px, 2.6vw, 34px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.chart-title { margin-bottom: 18px; font-family: var(--mincho); font-size: 19px; letter-spacing: 0.1em; }
.bar-list { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 14px; align-items: center; }
.bar-row dt { color: var(--ink); font-size: 14px; letter-spacing: 0.04em; }
.bar-row dd { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bar { flex: none; width: calc(var(--v) / var(--max) * (100% - 4.2em)); min-width: 3px; height: 16px; background: var(--brand-soft); border-radius: 0 4px 4px 0; transition: background 0.2s; }
.bar-row:hover .bar { background: var(--brand); }
.bar-row b { font-size: 15.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar-row b small { margin-left: 2px; font-size: 12px; font-weight: 400; color: var(--ink-soft); }
/* スタッフの声（全文） */
.voice-list { display: grid; gap: clamp(18px, 2.4vw, 28px); max-width: var(--max); margin: 0 auto; }
.voice-full { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(22px, 4vw, 60px); padding: clamp(26px, 3.6vw, 52px); background: var(--paper); border: 1px solid var(--line); border-radius: 6px 6px var(--arc) 6px; scroll-margin-top: 96px; }
.voice-full-head { display: grid; align-content: start; gap: 6px; }
.voice-full-name { margin-bottom: 14px; font-family: var(--mincho); font-weight: 500; font-size: 26px; letter-spacing: 0.16em; }
.voice-full-body { display: grid; gap: 1.2em; color: var(--ink-soft); font-size: 15.5px; line-height: 2.05; }
/* 写真の列・文のページ */
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); max-width: var(--max); margin: 0 auto clamp(26px, 4vw, 44px); }
.photo-row figure { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px; background: var(--wash); box-shadow: var(--photo-shadow); }
.photo-row figure:first-child { border-radius: var(--arc) 6px 6px 6px; }
.photo-row figure:last-child { border-radius: 6px 6px var(--arc) 6px; }
.photo-row img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--c, var(--wash)); }
.faq-groups { display: grid; gap: clamp(30px, 4vw, 48px); max-width: 860px; margin: 0 auto; }
.faq-group-title { margin-bottom: 12px; font-family: var(--mincho); font-weight: 500; font-size: 21px; letter-spacing: 0.1em; color: var(--brand-dark); }
.flow.is-3 { grid-template-columns: repeat(3, 1fr); }
.flow.is-3 .flow-title { white-space: normal; }
.prose { display: grid; gap: 1.1em; max-width: var(--measure); margin: 0 auto; font-size: 15.5px; line-height: 2.05; }
.prose h2 { margin-top: 1.4em; padding-top: 1.1em; border-top: 1px solid var(--line); font-family: var(--mincho); font-weight: 500; font-size: 21px; letter-spacing: 0.08em; line-height: 1.6; }
.prose ul { display: grid; gap: 0.4em; padding-left: 1.3em; list-style: disc; }
.duties li a, .prose a, .sec-foot-note a, .benefits a, .consent a { color: var(--brand-dark); }

/* ---------- 応募フォーム ---------- */
.form-wrap { display: grid; gap: clamp(22px, 3vw, 34px); max-width: 680px; margin: 0 auto; }
.form-head { display: grid; gap: 14px; }
.form { display: grid; gap: clamp(22px, 3vw, 32px); padding: clamp(22px, 4vw, 44px); background: var(--paper); border: 1px solid var(--line); border-radius: 6px 6px var(--arc) 6px; box-shadow: var(--shadow); }
.field { display: grid; gap: 10px; }
.field-label { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; letter-spacing: 0.08em; }
.badge { padding: 1px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; }
.badge-must { background: color-mix(in srgb, var(--cta) 60%, #fff); color: #6b4708; border: 1px solid var(--cta-edge); }
.badge-any { background: var(--wash); color: var(--ink-soft); border: 1px solid var(--line); font-weight: 400; }
.field-hint { color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 8px 20px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; letter-spacing: 0.06em; white-space: nowrap; transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.choice input:hover + span { border-color: var(--brand-soft); }
.choice input:checked + span { background: var(--tint); border-color: var(--brand-soft); color: var(--brand-dark); font-weight: 600; box-shadow: inset 0 0 0 1px var(--brand-soft); }
.choice input:focus-visible + span { outline: 2px solid var(--brand-dark); outline-offset: 3px; }
.choices-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.choices-sm .choice span { min-height: 44px; padding: 6px 16px; font-size: 14px; }
.choices-3 .choice span { min-height: 64px; border-radius: 14px; font-weight: 600; }
.input { width: 100%; min-height: 54px; padding: 12px 16px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px; font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s; }
.input::placeholder { color: #7f8a84; }
.input:hover { border-color: var(--brand-soft); }
.input:focus { outline: none; border-color: var(--brand-dark); box-shadow: 0 0 0 3px var(--tint); }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.8; }
.field-error { display: none; color: var(--caution); font-size: 13.5px; }
.field.is-error .field-error { display: block; }
.field.is-error .input { border-color: var(--caution); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 16px 18px; background: var(--tint-soft); border: 1px solid var(--tint-line); border-radius: 12px; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 4px 0 0; accent-color: var(--brand-dark); }
.consent b { display: block; font-size: 15px; letter-spacing: 0.06em; }
.consent small { display: block; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.consent-error { display: none !important; color: var(--caution) !important; }
.consent.is-error { border-color: var(--caution); background: #fdf4f4; }
.consent.is-error .consent-error { display: block !important; }
.form-error { padding: 14px 18px; background: #fdf4f4; border: 1px solid #e6bcbc; border-radius: 12px; color: var(--caution); font-size: 15px; }
.form-error[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: grid; gap: 12px; justify-items: center; text-align: center; }
.form-foot p { color: var(--ink-soft); font-size: 13.5px; }
.form-side { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.form-side a { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color 0.3s; }
.form-side a:hover { border-color: var(--brand-soft); }
.form-side .ico { grid-row: 1 / span 2; width: 30px; height: 30px; color: var(--brand-dark); }
.form-side b { font-size: 15px; letter-spacing: 0.06em; }
.form-side small { color: var(--ink-soft); font-size: 12.5px; }
.proto-note { padding: 12px 16px; background: #fff7e8; border: 1px dashed var(--cta-edge); border-radius: 10px; color: #6b4708; font-size: 13.5px; }
.thanks { display: grid; justify-items: center; gap: 20px; max-width: 640px; margin: 0 auto; text-align: center; }
.thanks-mark { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--tint); border: 1px solid var(--tint-line); color: var(--brand-dark); }
.thanks-mark svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- フッター ---------- */
.site-footer { padding: clamp(40px, 6vw, 72px) var(--gutter) 36px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--wash) 70%, transparent); }
.footer-in { display: grid; grid-template-columns: auto 1fr; gap: 20px 48px; align-items: start; max-width: var(--max); margin: 0 auto; }
.footer-logo svg { display: block; width: 190px; height: auto; fill: var(--brand); }
.footer-addr { grid-column: 1; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.footer-addr a { color: var(--ink-soft); }
.footer-nav { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 28px; }
.footer-nav a { color: var(--ink-soft); font-size: 13.5px; letter-spacing: 0.08em; text-decoration: none; border-bottom: 1px solid transparent; }
.footer-nav a:hover { color: var(--brand-dark); border-bottom-color: var(--brand-soft); }
.footer-copy { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; letter-spacing: 0.16em; }

/* ---------- スマホの下の帯（質問と応募に 1 タップ） ---------- */
.apply-bar { display: none; }

/* ---------- 画面の幅 ---------- */
@media (max-width: 1399px) {
  .nav-wide { display: none; }
  .nav-narrow { display: block; }
}
@media (max-width: 899px) {
  .header-cta { display: none; }
  .has-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .apply-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--glass-strong); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-top: 1px solid var(--glass-edge); box-shadow: 0 -12px 28px -22px rgb(23 32 27 / 0.5); }
  .apply-bar .btn { min-height: 54px; padding: 8px 10px; font-size: 15.5px; }
  .hero { min-height: 0; }
  .hero-frame { grid-area: 1 / 1; height: min(58svh, 96vw); }
  .hero-pane { grid-area: 2 / 1; width: auto; margin: 0; padding: 28px var(--gutter) 12px; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; border-radius: 0; box-shadow: none; }
  .hero-title { font-size: clamp(29px, 8vw, 40px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .entries, .jobs-grid, .voices, .plans { grid-template-columns: 1fr; }
  .directs { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3n) { border-right: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .work, .job-top, .duties-wrap { grid-template-columns: 1fr; }
  .ask-panel, .info-cols, .pillars, .charts, .voice-full { grid-template-columns: minmax(0, 1fr); }
  .photo-row { grid-template-columns: minmax(0, 1fr); }
  .flow.is-3 { grid-template-columns: 1fr; }
  .pay-row.is-head { display: none; }
  .pay-row { grid-template-columns: minmax(0, 1fr); padding: 16px 18px; gap: 10px; }
  .pay-row > * { padding: 0; }
  .pay-row > * + * { border-left: 0; }
  .pay-cell { grid-template-columns: 8.6em 1fr; align-items: baseline; padding: 8px 0 0; border-top: 1px solid var(--line); }
  .pay-cell small { display: block; }
  .ask-actions .btn { width: 100%; }
  .duties-photo { aspect-ratio: 4 / 3; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow li { grid-template-columns: 44px 1fr; column-gap: 16px; padding: 0 0 22px; }
  .flow li::before { grid-row: 1 / span 2; margin: 0; }
  .flow li::after { left: 22px; right: auto; top: 44px; bottom: 0; width: 1px; height: auto; }
  .flow-title { align-self: center; }
  .flow li:has(.flow-text:empty) .flow-title { grid-row: 1 / span 2; }
  .line-panel { grid-template-columns: 1fr; }
  .line-qr { display: none; }
  .line-body .btn { justify-self: stretch; }
  .benefits { grid-template-columns: 1fr; }
  .voices-photo { aspect-ratio: 16 / 9; }
  .footer-in { grid-template-columns: 1fr; }
  .footer-nav { grid-column: 1; grid-row: auto; justify-content: flex-start; }
  .close-actions .btn { flex: 1 1 100%; }
}
@media (max-width: 559px) {
  .brand-name small { display: none; }
  .directs { grid-template-columns: 1fr; }
  .hero-direct { font-size: 14px; }
  .choices-3 { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 7.4em minmax(0, 1fr); gap: 10px; }
  .bar-row dt { font-size: 13px; }
  .choices-3 .choice span { min-height: 54px; }
  .form-side { grid-template-columns: 1fr; }
  .rows > div, .benefits > div { grid-template-columns: 6.4em 1fr; }
  .shifts { --shift-label: 48px; }
  .shift, .shift-scale { gap: 10px; }
  .shift-bar { padding: 0 10px; font-size: 12.5px; }
  .stat-num { font-size: clamp(32px, 9.6vw, 44px); }
  .faq summary { font-size: 15.5px; gap: 12px; }
  .faq-a { padding-left: 34px; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
