/* 株式会社宮﨑商会　採用とご案内のページ（2026年11月13日版）
   文字は端末の標準の書体だけを使う（「﨑」を確実に出すため。外部の読み込みなし）
   太さは 400 と 700 の2つだけ（iPhone・Android・Windows で見え方がそろう）
   色と形は下の変数にまとめた。デザインの案ごとの違いは、ファイルの終わりの html[data-theme] で上書きする（A案が基本） */

:root {
  /* 色（A案「信頼の紺」：店の看板の社名の紺と、「農業機械」の赤紫から） */
  --navy: #172542;
  --navy-2: #1f3157;
  --navy-3: #2c4374;
  --ink: #1c2230;
  --ink-soft: #4b5567;
  --paper: #ffffff;
  --card-bg: #ffffff;
  --card-line: 1px solid var(--line);
  --cream: #f6f2ea;
  --cream-2: #efe9dd;
  --line: #e2dccf;
  --accent: #a8174f;
  --accent-dark: #85113e;
  --accent-shadow: rgba(0, 0, 0, .18);
  --accent-ink: #fff;
  --accent-text: var(--accent);
  --mark: var(--navy);
  --brand-mark-bg: var(--accent);
  --brand-mark-ink: #fff;
  --ice: #d9e6f7;
  --steel: #8fa3c0;
  --s1: #2f6f8f;
  --s2: #5b4a8a;
  --s0: #6f6230;
  --dot: #f2c94c;
  --link: var(--navy-3);
  --label: var(--accent);
  --label-spacing: .24em;
  --head-color: var(--ink);
  --shadow-rgb: 23, 37, 66;
  --header-bg: rgba(255, 255, 255, .96);
  --focus: #f2c94c;
  --notice-top: 6px solid var(--accent);

  /* 最初の画面 */
  --hero-bg: radial-gradient(120% 120% at 90% 0%, var(--navy-3) 0%, var(--navy) 55%, #101b33 100%);
  --hero-ink: #fff;
  --hero-ink-soft: rgba(255, 255, 255, .88);
  --hero-sub: var(--ice);
  --hero-line: rgba(255, 255, 255, .35);
  --hero-chip-bg: rgba(255, 255, 255, .06);
  --hero-chip-line: rgba(255, 255, 255, .25);
  --hero-chip-label: var(--ice);
  --hero-num: inherit;
  --hero-cols: 1.2fr .8fr;
  --hero-photo-max: 460px;
  --hero-photo-ratio: 4 / 3;
  --hero-photo-radius: 20px;
  --photo-cap-bg: rgba(23, 37, 66, .82);
  --photo-cap-ink: #fff;
  --photo-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  --photo-frame: 0px;
  --photo-people: contrast(1.08) saturate(1.1) brightness(1.03);
  --photo-building: none;
  --photo-silicon: none;
  --people-max: 760px;
  --people-ratio: 4 / 3;
  --ghost-line: rgba(255, 255, 255, .75);
  --ghost-ink: #fff;
  --ghost-hover: rgba(255, 255, 255, .1);

  /* 濃い色の段（数字で見る・応募のしかた） */
  --band-bg: var(--navy);
  --band-ink: #fff;
  --band-ink-soft: rgba(255, 255, 255, .85);
  --band-sub: var(--ice);
  --band-label: #f2a6c3;
  --band-line: rgba(255, 255, 255, .16);
  --band-card: rgba(255, 255, 255, .06);
  --btn-dark-bg: var(--accent);
  --btn-dark-ink: #fff;
  --btn-dark-ring: 0 0 0 2px rgba(255, 255, 255, .55);
  --main-step-bg: var(--navy);
  --main-step-ink: #fff;
  --main-step-no: #f2a6c3;
  --tel-bg: var(--navy);
  --tel-ink: #fff;

  /* 足もと */
  --footer-bg: #101b33;
  --footer-ink: rgba(255, 255, 255, .82);
  --footer-strong: #fff;

  /* 形と文字 */
  --radius: 16px;
  --radius-lg: 24px;
  --pill: 999px;
  --shadow: 0 18px 40px rgba(var(--shadow-rgb), .10);
  --shadow-soft: 0 8px 24px rgba(var(--shadow-rgb), .06);
  --head-weight: 700;
  --head-spacing: .03em;
  --h1-size: clamp(2.2rem, 4.6vw, 3.7rem);
  --h1-size-sp: 2.15rem;
  --h1-lh: 1.22;
  --section-pad: 96px;
  --section-pad-sp: 56px;

  --tbd-bg: #fff1a8;
  --tbd-line: #b08d00;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .02em;
  line-break: strict;
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
p { margin: 0 0 1em; }
h1, h2, h3 { line-height: 1.35; margin: 0; font-weight: var(--head-weight); letter-spacing: var(--head-spacing); }
h2, h3 { color: var(--head-color); }
strong, b { font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.sp-only { display: none; }
.nb { display: inline-block; }

/* 確かめる箇所の印（番号は確認表の番号）と、案のメモ（公開のときに外す） */
.tbd { background: var(--tbd-bg); box-shadow: inset 0 -2px 0 var(--tbd-line); padding: 0 .15em; color: #1c2230; }
.tbd[data-q]::before, .q-badge { content: attr(data-q); display: inline-grid; place-items: center; min-width: 1.45em; height: 1.45em; padding: 0 .2em; margin-right: .3em; border-radius: 999px; background: #8a6d00; color: #fff; font-size: .68em; font-weight: 700; letter-spacing: 0; vertical-align: .18em; line-height: 1; }
.q-badge { font-size: .8em; }
.draft-banner { background: #fff7cc; border-bottom: 1px solid #e8d77a; font-size: .9rem; color: #1c2230; }
.draft-banner p { margin: 0; padding: .6rem 24px; text-align: center; }
.draft-note { border: 2px dashed #c9b25a; background: #fffbea; color: #5c4b00; padding: .8rem 1rem; border-radius: 10px; font-size: .92rem; margin-top: 1.2rem; }
.photo-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 1.4rem; }
.photo-slot { border: 2px dashed #c9b25a; background: #fffbea; color: #5c4b00; border-radius: 12px; min-height: 120px; display: grid; place-items: center; text-align: center; padding: 1rem; font-size: .9rem; }

/* ボタン */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 56px; padding: .7rem 1.6rem; border-radius: var(--pill);
  font-weight: 700; font-size: 1.02rem; text-decoration: none; line-height: 1.3; letter-spacing: .05em;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn small { font-size: .74rem; font-weight: 400; letter-spacing: .04em; margin-top: .15rem; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.btn-apply { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px var(--accent-shadow); }
.btn-apply:hover { background: var(--accent-dark); }
.btn-ghost { border: 2px solid var(--ghost-line); color: var(--ghost-ink); }
.btn-ghost:hover { background: var(--ghost-hover); }
.btn-ghost-light { border: 2px solid rgba(255, 255, 255, .75); color: #fff; }
.btn-line { border: 2px solid var(--navy); color: var(--navy); background: var(--card-bg); }
.btn-tel { background: var(--tel-bg); color: var(--tel-ink); }
.btn-sm { min-height: 44px; padding: .45rem 1.3rem; font-size: .95rem; box-shadow: none; }
/* 濃い色の面の上の応募ボタンは、縁を付けて沈まないようにする */
.hero .btn-apply, .section-navy .btn-apply { background: var(--btn-dark-bg); color: var(--btn-dark-ink); box-shadow: var(--btn-dark-ring), 0 10px 24px rgba(0, 0, 0, .25); }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--header-bg); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; border-radius: min(10px, var(--radius)); background: var(--brand-mark-bg); color: var(--brand-mark-ink); display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 700; font-size: 1.08rem; letter-spacing: .06em; }
.brand-place { font-size: .74rem; color: var(--ink-soft); letter-spacing: .08em; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 22px; list-style: none; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { white-space: nowrap; flex-shrink: 0; }
.header-tel { display: flex; flex-direction: column; line-height: 1.2; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.08rem; letter-spacing: .04em; }
.header-tel span { font-size: .68rem; color: var(--ink-soft); font-weight: 700; }

/* 最初の画面 */
.hero { background: var(--hero-bg); color: var(--hero-ink); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: var(--hero-cols); gap: 56px; align-items: center; padding: 72px 0 84px; }
.eyebrow { display: inline-flex; gap: .6em; align-items: center; font-size: .86rem; font-weight: 700; letter-spacing: .12em; border: 1px solid var(--hero-line); border-radius: var(--pill); padding: .3rem 1rem; margin-bottom: 1.4rem; }
.eyebrow span { color: var(--hero-sub); }
.hero h1 { font-size: var(--h1-size); line-height: var(--h1-lh); letter-spacing: .04em; margin-bottom: 1.4rem; color: var(--hero-ink); }
.hero-lead { color: var(--hero-ink-soft); font-size: 1rem; max-width: 34em; }
.hero-chips { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 1.6rem 0 .8rem; max-width: 30rem; }
.hero-chips li { border: 1px solid var(--hero-chip-line); border-radius: 14px; padding: .6rem .8rem; background: var(--hero-chip-bg); font-size: .85rem; line-height: 1.3; white-space: nowrap; }
.hero-chips span { display: block; color: var(--hero-chip-label); font-size: .74rem; letter-spacing: .1em; margin-bottom: .15rem; }
.hero-chips strong { color: var(--hero-num); font-size: 1.9rem; letter-spacing: .01em; margin-right: .1em; font-feature-settings: "tnum"; }
.hero-shift { margin: 0 0 1.6rem; font-size: .9rem; color: var(--hero-ink-soft); }
.hero-shift b { color: var(--hero-ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 1rem 0 0; font-size: .9rem; color: var(--hero-sub); }
.hero-note::before { content: ""; display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--dot); margin-right: .5em; vertical-align: .1em; }
.hero-photo { position: relative; justify-self: center; width: 100%; max-width: var(--hero-photo-max); padding: var(--photo-frame); background: transparent; border-radius: calc(var(--hero-photo-radius) + var(--photo-frame)); }
.hero-photo img { border-radius: var(--hero-photo-radius); box-shadow: var(--photo-shadow); aspect-ratio: var(--hero-photo-ratio); object-fit: cover; width: 100%; filter: var(--photo-people); }
.hero-photo figcaption { position: absolute; left: calc(16px + var(--photo-frame)); bottom: calc(16px + var(--photo-frame)); background: var(--photo-cap-bg); color: var(--photo-cap-ink); font-size: .78rem; padding: .35rem .8rem; border-radius: var(--pill); line-height: 1.5; }

/* 会社の一言 */
.company-band { background: var(--cream); border-bottom: 1px solid var(--line); }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 1.1rem 0; }
.band-inner p { margin: 0; font-size: .95rem; }
.band-link { flex-shrink: 0; font-weight: 700; color: var(--navy); text-decoration: none; border: 1.5px solid var(--navy); border-radius: var(--pill); padding: .4rem 1.1rem; font-size: .9rem; }
.band-link::after { content: " →"; }

/* スマホ用の目次 */
.quick-nav { display: none; }

/* 共通の段 */
.section { padding: var(--section-pad) 0; scroll-margin-top: 64px; }
.section-small { padding: 64px 0; font-size: .92rem; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--band-bg); color: var(--band-ink); }
.section-navy h2, .section-navy h3 { color: var(--band-ink); }
.section-head { margin-bottom: 2.6rem; }
.label { font-size: .78rem; font-weight: 700; letter-spacing: var(--label-spacing); color: var(--label); margin: 0 0 .7rem; }
.section-navy .label { color: var(--band-label); }
.section-head h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
.sub-head { font-size: 1.3rem; margin: 3.4rem 0 1.4rem; }
.lead { font-size: 1.15rem; font-weight: 700; }
.asof { margin: .8rem 0 0; color: var(--ink-soft); font-size: .92rem; }

/* お仕事のこと */
.job-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.job-photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; filter: var(--photo-silicon); }
.job-photo figcaption, .about-photo figcaption, .nouki-photo figcaption { font-size: .8rem; color: var(--ink-soft); margin-top: .5rem; }
.mini-note { border-left: 4px solid var(--navy); background: var(--cream); padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; margin-top: 1.6rem; font-size: .95rem; }
.mini-note p { margin: 0; }
.mini-title { font-weight: 700; color: var(--navy); margin-bottom: .2rem !important; }
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 3.2rem; counter-reset: p; }
.process li { position: relative; background: var(--cream); padding: 1.4rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .2rem; border-top: 4px solid var(--steel); }
.process li + li { margin-left: 26px; }
.process li + li::before { content: ""; position: absolute; left: -22px; top: 50%; width: 14px; height: 14px; border-top: 3px solid var(--steel); border-right: 3px solid var(--steel); transform: translateY(-50%) rotate(45deg); }
.process li.is-main { background: var(--main-step-bg); color: var(--main-step-ink); border-top-color: var(--accent); }
.p-no { font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--mark); }
.is-main .p-no { color: var(--main-step-no); }
.p-title { font-weight: 700; font-size: 1.05rem; line-height: 1.5; }
.p-text { font-size: .84rem; opacity: .85; line-height: 1.6; }

/* 数字で見る */
.numbers { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); border-radius: 20px; overflow: hidden; }
.numbers li { background: var(--band-bg); padding: 2rem 1.8rem 1.8rem; display: flex; flex-direction: column; gap: .2rem; }
.n-label { font-size: .86rem; font-weight: 700; color: var(--band-sub); letter-spacing: .12em; }
.n-value { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.15; letter-spacing: .01em; font-feature-settings: "tnum"; }
.n-value small { font-size: .38em; margin-left: .15em; letter-spacing: .05em; }
.n-note { font-size: .84rem; color: var(--band-ink-soft); line-height: 1.6; }
.numbers-foot { margin: 1.2rem 0 0; font-size: .85rem; color: var(--band-ink-soft); }
.numbers-foot a { color: inherit; font-weight: 700; }

/* 働く時間の図 */
.shift { margin: 0 0 1.4rem; display: grid; gap: 12px; }
.shift-row { display: grid; grid-template-columns: 7.5em 1fr; gap: 14px; align-items: center; }
.shift-label { font-weight: 700; font-size: .95rem; }
.shift-track { position: relative; height: 44px; background: repeating-linear-gradient(90deg, var(--cream) 0 calc(25% - 1px), var(--line) calc(25% - 1px) 25%); border-radius: min(10px, var(--radius)); }
.shift-bar { position: absolute; top: 5px; bottom: 5px; border-radius: min(8px, var(--radius)); color: #fff; font-size: .85rem; font-weight: 700; display: flex; align-items: center; justify-content: center; white-space: nowrap; letter-spacing: .04em; }
.shift-bar.s1 { background: var(--s1); }
.shift-bar.s2 { background: var(--s2); }
.shift-bar.s0 { background: var(--s0); }
.shift-axis-row { margin-top: -4px; }
.shift-axis { position: relative; height: 1.4em; font-size: .78rem; color: var(--ink-soft); }
.shift-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.shift-axis span:first-child { transform: none; }
.shift-axis span:last-child { transform: translateX(-100%); }
.rotation { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.4rem; }
.rotation li { display: flex; align-items: center; gap: .6rem; background: var(--cream); border-radius: var(--pill); padding: .35rem .5rem .35rem 1rem; font-size: .92rem; }
.rot-week { font-weight: 700; }
.rot-shift { color: #fff; border-radius: var(--pill); padding: .1rem .8rem; font-weight: 700; font-size: .85rem; }
.rot-shift.s1 { background: var(--s1); }
.rot-shift.s2 { background: var(--s2); }
.rotation .rot-more { background: transparent; color: var(--ink-soft); padding-left: .2rem; }
.facts { list-style: none; display: grid; gap: .5rem; }
.facts li { padding-left: 1.4em; position: relative; }
.facts li::before { content: ""; position: absolute; left: .2em; top: .78em; width: .55em; height: .55em; border-radius: 50%; background: var(--mark); }

/* 研修 */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; background: var(--card-bg); border: var(--card-line); border-radius: var(--radius); padding: 1.6rem 1.4rem 1.4rem; counter-increment: s; box-shadow: 0 6px 18px rgba(var(--shadow-rgb), .05); }
.steps li::before { content: "STEP " counter(s); display: block; font-size: .74rem; font-weight: 700; letter-spacing: .2em; color: var(--mark); margin-bottom: .4rem; }
.step-when { display: block; font-weight: 700; font-size: 1.12rem; margin-bottom: .3rem; }
.step-what { display: block; font-size: .95rem; color: var(--ink-soft); }

/* 現場の様子 */
.genba-photo { max-width: var(--people-max); margin-inline: auto; }
.genba-photo img { border-radius: calc(var(--radius-lg) - 2px); box-shadow: var(--shadow); width: 100%; aspect-ratio: var(--people-ratio); object-fit: cover; object-position: center 35%; filter: var(--photo-people); }
.genba-photo figcaption { margin-top: .9rem; font-size: .92rem; color: var(--ink-soft); }

/* 働きやすさ */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefits li { border: var(--card-line); border-radius: var(--radius); padding: 1.5rem 1.4rem; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; row-gap: .2rem; align-content: start; background: var(--card-bg); }
.b-icon { grid-row: span 2; width: 52px; height: 52px; border-radius: min(14px, var(--radius)); background: var(--cream); display: grid; place-items: center; }
.b-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.b-title { font-weight: 700; font-size: 1.04rem; line-height: 1.5; }
.b-text { font-size: .9rem; color: var(--ink-soft); line-height: 1.7; }

/* 先にお伝えしたいこと */
.notice { background: var(--card-bg); border-radius: var(--radius-lg); padding: 3rem; box-shadow: var(--shadow); display: grid; grid-template-columns: .9fr 1.4fr; gap: 40px; border-top: var(--notice-top); }
.notice-head h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin-bottom: 1rem; }
.notice-head p:last-child { color: var(--ink-soft); margin: 0; }
.notice-list { list-style: none; display: grid; gap: .1rem; align-content: start; }
.notice-list li { padding: .7rem 0 .7rem 2rem; border-bottom: 1px solid var(--line); position: relative; }
.notice-list li::before { content: "!"; position: absolute; left: 0; top: .78rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--cream-2); color: var(--mark); font-weight: 700; font-size: .8rem; display: grid; place-items: center; line-height: 1; }
.notice-foot { grid-column: 1 / -1; margin: 0; background: var(--cream); border-radius: min(12px, var(--radius)); padding: 1rem 1.2rem; font-weight: 700; }
.notice-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 1.8rem; }
.notice-cta .btn { min-width: 260px; }

/* よくある質問（押すと答えが開く） */
.faq-hint { margin: -1.4rem 0 1.2rem; font-size: .86rem; color: var(--ink-soft); }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0; align-items: start; }
.faq-item { border: var(--card-line); border-radius: var(--radius); background: var(--card-bg); }
.faq-item summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 1.05rem; display: grid; grid-template-columns: 2rem 1fr 1.6rem; align-items: start; padding: 1.1rem 1.2rem; line-height: 1.6; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; color: var(--mark); font-weight: 700; }
.faq-item summary::after { content: "+"; justify-self: end; color: var(--navy); font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
.faq-item[open] summary::after { content: "−"; }
.faq-a { margin: 0; padding: 0 1.2rem 1.2rem; display: grid; grid-template-columns: 2rem 1fr; color: var(--ink-soft); font-size: .95rem; }
.faq-a::before { content: "A"; color: var(--accent-text); font-weight: 700; }

/* 募集の内容 */
.job { background: var(--card-bg); border-radius: 20px; padding: 2.2rem 2.4rem; margin-bottom: 1.6rem; box-shadow: var(--shadow-soft); }
.job h3 { font-size: 1.4rem; display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.job-tag { font-size: .8rem; background: var(--navy); color: #fff; border-radius: var(--pill); padding: .2rem .9rem; letter-spacing: .1em; }
.job-tag-part { background: var(--s1); }
.job-table, .company-table { margin: 0; }
.job-table > div, .company-table > div { display: grid; grid-template-columns: 10em 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.job-table > div:last-child, .company-table > div:last-child { border-bottom: 0; }
.job-table dt, .company-table dt { font-weight: 700; color: var(--navy); }
.job-table dd, .company-table dd { margin: 0; }
.sub { font-size: .88rem; color: var(--ink-soft); }
/* 2本目の募集と個人情報は、押すと開く */
.job-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.job-fold > summary::-webkit-details-marker { display: none; }
.job-fold > summary h3 { margin-bottom: 0; }
.job-fold[open] > summary { margin-bottom: 1.2rem; }
.fold-more { flex-shrink: 0; font-size: .9rem; font-weight: 700; color: var(--navy); border: 1.5px solid var(--navy); border-radius: var(--pill); padding: .3rem 1rem; }
.fold-more::after { content: " ＋"; }
.job-fold[open] .fold-more::after { content: " −"; }
.privacy-fold > summary { cursor: pointer; font-weight: 700; color: var(--navy); margin-bottom: .8rem; }

/* 応募のしかた */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 2.4rem 0 1.6rem; }
.flow li { background: var(--band-card); border: 1px solid var(--band-line); border-radius: var(--radius); padding: 1.4rem 1.3rem; display: flex; flex-direction: column; gap: .3rem; }
.flow-no { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; }
.flow-title { font-weight: 700; font-size: 1.08rem; margin-top: .3rem; }
.flow-text { font-size: .9rem; color: var(--band-ink-soft); }
.section-navy .tbd { color: #1c2230; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.cta .btn { min-width: 280px; }
.section-navy .btn-ghost-light { border-color: rgba(255, 255, 255, .75); color: var(--band-ink); }
.oubo-notes { font-size: .92rem; color: var(--band-ink-soft); border-top: 1px solid var(--band-line); padding-top: 1.4rem; }
.oubo-notes p:last-child { margin-bottom: 0; }

/* 会社のこと */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-photo img, .nouki-photo img, .gaiyou-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; filter: var(--photo-building); }
.license { font-weight: 700; color: var(--navy); }
.nouki { margin-top: 4rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; background: var(--cream); border-radius: var(--radius-lg); padding: 2.6rem; }
.label-dark { color: var(--navy-3); }
.nouki h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.tel-box { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1rem; }
.tel-hours { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.gaiyou { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.text-link { font-weight: 700; }

/* 個人情報 */
.section-small h2 { font-size: 1.25rem; margin-bottom: 1.2rem; }
.privacy { padding-left: 1.4em; display: grid; gap: .5rem; color: var(--ink-soft); }
.privacy strong { color: var(--ink); }

/* フッター */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 56px 0 7rem; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer a { color: var(--footer-strong); }
.site-footer p { margin: 0 0 .3rem; }
.foot-name { font-weight: 700; font-size: 1.1rem; color: var(--footer-strong); letter-spacing: .06em; }
.foot-links { list-style: none; display: grid; gap: .4rem; }
.copy { text-align: center; margin: 2.4rem 0 0; font-size: .8rem; opacity: .75; }

.bottom-bar { display: none; }

/* 横幅が中くらいのとき */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .header-cta { margin-left: auto; }
  .quick-nav { display: block; background: var(--paper); border-bottom: 1px solid var(--line); }
  .quick-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: .8rem 0; }
  .quick-nav a { display: inline-block; font-size: .86rem; font-weight: 700; color: var(--navy); text-decoration: none; border: 1px solid var(--line); background: var(--cream); border-radius: var(--pill); padding: .3rem .85rem; line-height: 1.5; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 56px; }
  .job-intro, .about, .nouki, .gaiyou, .notice { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 16px; }
  .process li + li { margin-left: 0; }
  .process li + li::before { display: none; }
}

/* スマートフォン */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .sp-only { display: inline; }
  .header-inner { min-height: 60px; gap: 12px; }
  .brand-mark { width: 34px; height: 34px; font-size: 1.05rem; }
  .brand-name { font-size: .98rem; }
  .header-cta .header-tel { display: none; }
  .hero-inner { padding: 36px 0 44px; }
  .hero h1 { font-size: var(--h1-size-sp); }
  .hero-chips { gap: 8px; }
  .hero-chips strong { font-size: 1.5rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-photo { max-width: none; }
  .band-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: var(--section-pad-sp) 0; }
  .section-head { margin-bottom: 1.6rem; }
  .process { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 2.2rem; }
  .process li { padding: 1rem .9rem; }
  .numbers li { padding: 1.4rem 1.2rem; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers .n-wide, .numbers li:last-child { grid-column: span 2; }
  .numbers .n-wide { order: -1; }
  .n-value { font-size: 2.2rem; }
  .shift-row { grid-template-columns: 5.4em 1fr; gap: 8px; }
  .shift-label { font-size: .82rem; }
  .shift-bar { font-size: .74rem; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .steps li { padding: 1.1rem 1.1rem 1rem; }
  .benefits { grid-template-columns: 1fr 1fr; gap: 10px; }
  .benefits li { grid-template-columns: 1fr; padding: 1.1rem 1rem; row-gap: .3rem; }
  .b-icon { grid-row: auto; width: 44px; height: 44px; }
  .faq { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: 10px; }
  .flow li { padding: 1rem .9rem; }
  .notice { padding: 1.8rem 1.4rem; }
  .notice-cta .btn { min-width: 0; flex: 1 1 100%; }
  .job { padding: 1.4rem 1.1rem; }
  .job-table > div, .company-table > div { grid-template-columns: 6.6em 1fr; gap: .6rem; padding: .65rem 0; line-height: 1.7; }
  .job-table dt, .company-table dt { font-size: .9rem; }
  .nouki { padding: 1.6rem 1.2rem; }
  .photo-slots { grid-template-columns: 1fr 1fr; }
  .cta .btn { min-width: 0; flex: 1 1 100%; }
  .bottom-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--header-bg); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(var(--shadow-rgb), .08);
  }
  .bottom-bar .btn { min-height: 50px; padding: .4rem .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* PDF用の画面（?pdf=pc / ?pdf=sp）：ヘッダーを固定しない、下の固定ボタンを出さない（&bar=1 のときだけ出す） */
html.is-pdf { scroll-behavior: auto; scrollbar-width: none; }
html.is-pdf::-webkit-scrollbar { display: none; }
.is-pdf .site-header { position: static; }
.is-pdf:not(.show-bar) .bottom-bar { display: none !important; }
.is-pdf .site-footer { padding-bottom: 56px; }
/* 清書（&clean=1）：印とメモを消して、公開したときの見た目にする */
.is-clean .draft-only, .is-clean .draft-note { display: none !important; }
.is-clean .tbd { background: none; box-shadow: none; padding: 0; color: inherit; }
.is-clean .tbd[data-q]::before { display: none; }

/* PDF・印刷 */
@media print {
  html { -webkit-print-color-adjust: exact; print-color-adjust: exact; scroll-behavior: auto; }
  .site-header { position: static; backdrop-filter: none; }
  .bottom-bar { display: none !important; }
  .site-footer { padding-bottom: 56px; }
  .btn:hover { transform: none; }
  .job-table > div, .company-table > div, .faq-item, .steps li, .benefits li, .numbers li, .flow li, .process li, figure, .notice-list li, .mini-note, .tel-box { break-inside: avoid; }
  h2, h3, .section-head, .label { break-after: avoid; }
}

/* ===== B案「あたたかい土色」：農機の「土と畑」の色（砂色・深い緑）に、呼びかけの朱色 ===== */
html[data-theme="b"] {
  --paper: #fbf7f0;
  --card-bg: #ffffff;
  --card-line: 0 solid transparent;
  --cream: #f1e8d8;
  --cream-2: #e8dcc6;
  --ink: #2a2420;
  --ink-soft: #6a5d50;
  --navy: #1f5a3c;
  --navy-2: #276348;
  --navy-3: #2f6b4a;
  --line: #e0d5c2;
  --accent: #b8411a;
  --accent-dark: #9a3514;
  --mark: var(--navy);
  --ice: #cfe6d4;
  --steel: #9fb7a5;
  --s1: #2f6b4a;
  --s2: #7a4a2a;
  --s0: #7d5f17;
  --dot: var(--navy);
  --link: var(--navy);
  --label: var(--navy);
  --label-spacing: .14em;
  --shadow-rgb: 42, 36, 32;
  --header-bg: rgba(251, 247, 240, .96);
  --focus: #1f5a3c;
  --notice-top: 6px solid var(--navy);
  --hero-bg: #f1e8d8;
  --hero-ink: #2a2420;
  --hero-ink-soft: #6a5d50;
  --hero-sub: var(--navy);
  --hero-line: transparent;
  --hero-chip-bg: #ffffff;
  --hero-chip-line: transparent;
  --hero-chip-label: #6a5d50;
  --hero-num: var(--navy);
  --hero-cols: 1.15fr .85fr;
  --hero-photo-max: 440px;
  --hero-photo-radius: 22px;
  --photo-cap-bg: rgba(255, 255, 255, .94);
  --photo-cap-ink: #2a2420;
  --photo-shadow: none;
  --photo-frame: 10px;
  --photo-people: sepia(.2) saturate(1.05) contrast(1.04);
  --photo-building: sepia(.15) saturate(1.05);
  --photo-silicon: saturate(.9);
  --people-max: 720px;
  --ghost-line: var(--navy);
  --ghost-ink: var(--navy);
  --ghost-hover: rgba(31, 90, 60, .06);
  --band-bg: var(--navy);
  --band-sub: #cfe6d4;
  --band-label: #cfe6d4;
  --main-step-no: #cfe6d4;
  --footer-bg: #163f2b;
  --radius: 20px;
  --radius-lg: 28px;
}
html[data-theme="b"] .hero-photo { background: #ffffff; box-shadow: 0 16px 36px rgba(42, 36, 32, .16); }
html[data-theme="b"] .hero .btn-apply { box-shadow: 0 10px 24px rgba(42, 36, 32, .18); }
html[data-theme="b"] .eyebrow { border: 0; padding: 0; color: var(--navy); }
html[data-theme="b"] .hero-chips li { box-shadow: 0 6px 16px rgba(42, 36, 32, .06); }
html[data-theme="b"] .label::before { content: ""; display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--navy); margin-right: .5em; vertical-align: .1em; }
html[data-theme="b"] .section-navy .label::before { background: var(--band-label); }
html[data-theme="b"] .benefits li, html[data-theme="b"] .steps li, html[data-theme="b"] .faq-item { box-shadow: 0 6px 16px rgba(42, 36, 32, .06); }

/* ===== C案「白と一色」：クリーンルームの白とシリコンの銀に、コバルト1色 ===== */
html[data-theme="c"] {
  --paper: #ffffff;
  --card-bg: #ffffff;
  --card-line: 1px solid var(--line);
  --cream: #f2f4f6;
  --cream-2: #e6e9ee;
  --ink: #111418;
  --ink-soft: #5a6370;
  --navy: #111418;
  --navy-2: #1c2026;
  --navy-3: #2a2f36;
  --line: #d9dde3;
  --accent: #1a4fd6;
  --accent-dark: #153fae;
  --accent-shadow: rgba(26, 79, 214, .22);
  --mark: var(--accent);
  --ice: #c7cdd6;
  --steel: #9aa3ad;
  --s1: #1a4fd6;
  --s2: #111418;
  --s0: #5a6370;
  --dot: var(--accent);
  --link: #1a4fd6;
  --label: var(--accent);
  --label-spacing: .2em;
  --shadow-rgb: 17, 20, 24;
  --focus: #1a4fd6;
  --notice-top: 2px solid #111418;
  --head-spacing: .01em;
  --h1-size: clamp(2.6rem, 5.4vw, 4.6rem);
  --h1-size-sp: 2.45rem;
  --h1-lh: 1.15;
  --hero-bg: #ffffff;
  --hero-ink: #111418;
  --hero-ink-soft: #5a6370;
  --hero-sub: var(--accent);
  --hero-line: transparent;
  --hero-chip-bg: transparent;
  --hero-chip-line: #d9dde3;
  --hero-chip-label: #5a6370;
  --hero-num: #111418;
  --hero-cols: 1.1fr .9fr;
  --hero-photo-max: 480px;
  --hero-photo-ratio: 3 / 2;
  --hero-photo-radius: 0px;
  --photo-cap-bg: transparent;
  --photo-cap-ink: #5a6370;
  --photo-shadow: none;
  --photo-people: grayscale(1) contrast(1.15) brightness(1.02);
  --photo-building: saturate(.75) contrast(1.05);
  --photo-silicon: grayscale(1) contrast(1.1);
  --people-max: 820px;
  --people-ratio: 3 / 2;
  --ghost-line: #1a4fd6;
  --ghost-ink: #1a4fd6;
  --ghost-hover: rgba(26, 79, 214, .06);
  --band-bg: #111418;
  --band-sub: #c7cdd6;
  --band-label: #9db4ff;
  --btn-dark-bg: #ffffff;
  --btn-dark-ink: #1a4fd6;
  --btn-dark-ring: 0 0 0 0 transparent;
  --main-step-bg: #111418;
  --main-step-no: #9db4ff;
  --tel-bg: #111418;
  --footer-bg: #0b0d10;
  --radius: 2px;
  --radius-lg: 4px;
  --pill: 4px;
  --shadow: none;
  --shadow-soft: none;
}
html[data-theme="c"] .hero { border-top: 1px solid #111418; }
html[data-theme="c"] .hero .btn-apply { background: var(--accent); color: #fff; box-shadow: none; }
html[data-theme="c"] .eyebrow { border: 0; padding: 0; color: var(--accent); }
html[data-theme="c"] .label::before { content: ""; display: inline-block; width: 24px; height: 2px; background: var(--accent); margin-right: .6em; vertical-align: .3em; }
html[data-theme="c"] .hero-chips li { border: 0; border-left: 1px solid #d9dde3; border-radius: 0; padding-left: 1rem; color: #111418; }
html[data-theme="c"] .hero-chips strong { font-size: 2.3rem; }
html[data-theme="c"] .hero-photo { border-top: 4px solid var(--accent); }
html[data-theme="c"] .hero-photo figcaption { position: static; padding: .5rem 0 0; font-size: .8rem; border-radius: 0; }
html[data-theme="c"] #suuji { background: var(--cream); color: var(--ink); }
html[data-theme="c"] #suuji h2 { color: var(--ink); }
html[data-theme="c"] #suuji .label { color: var(--accent); }
html[data-theme="c"] .numbers { background: transparent; border: 0; gap: 0; border-radius: 0; }
html[data-theme="c"] .numbers li { background: transparent; border-left: 1px solid var(--line); }
html[data-theme="c"] .n-label { color: var(--ink-soft); }
html[data-theme="c"] .n-value small { color: var(--accent); }
html[data-theme="c"] .n-note, html[data-theme="c"] .numbers-foot { color: var(--ink-soft); }
html[data-theme="c"] .job, html[data-theme="c"] .notice { box-shadow: none; border: 1px solid var(--line); }
html[data-theme="c"] .notice { border-top: 2px solid #111418; }
@media (max-width: 760px) {
  html[data-theme="c"] .hero-chips strong { font-size: 1.8rem; }
  html[data-theme="b"] .hero-photo { padding: 8px; }
}
/* 幅の狭いスマホ：数字の札と社名が折れないように */
@media (max-width: 400px) {
  .hero-chips { gap: 6px; }
  .hero-chips li { padding: .5rem .6rem; }
  .hero-chips strong, html[data-theme="c"] .hero-chips strong { font-size: 1.3rem; }
  html[data-theme="c"] .hero-chips li { padding-left: .7rem; }
}
@media (max-width: 360px) {
  .brand-name { font-size: .9rem; letter-spacing: .03em; }
  .eyebrow { font-size: .8rem; letter-spacing: .08em; }
}
@media (max-width: 340px) {
  .hero-chips strong, html[data-theme="c"] .hero-chips strong { font-size: 1.15rem; }
}