/* ============================================================
   株式会社信龍 採用サイト — 共通スタイル

   ・サブディレクトリ設置前提のため、パスはすべて相対指定
     （例: innoxvia.com/dev/shinryu/ ／ 本番 shin-ryu.co.jp/recruit/）
   ============================================================ */

:root {
  /* brand */
  --navy:      #054B66;
  --navy-dk:   #06303f;
  --teal:      #26ACC3;
  --teal-lt:   #7fd8e6;
  --teal-dk:   #1c8fa8;
  --link:      #147d95;

  /* surface */
  --bg:        #eef3f5;
  --bg-hero:   #eef8fa;
  --card:      #ffffff;
  --border:    #e6eef1;
  --divider:   #eef3f5;
  --line:      #d7e3e8;
  --th-bg:     #f8fbfc;

  /* text */
  --text:      #12303a;
  --text-2:    #3f5860;
  --text-3:    #5a727b;
  --muted:     #8aa2ab;
  --note:      #7b929a;
  --req:       #dc3f45;

  --font: Inter, 'Noto Sans JP', sans-serif;

  --maxw:        1176px;
  --maxw-narrow: 1000px;
  --maxw-form:    760px;
  --pad: 56px;
}

/* ============================================================
   BASE
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-feature-settings: 'palt';
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* stickyフッター：中身が短いページでもフッターを画面下に張り付かせる */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img { max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--navy); }

/* 固定ヘッダー分だけアンカー位置をずらす */
[id] { scroll-margin-top: 90px; }

.container        { max-width: var(--maxw);        margin: 0 auto; padding: 0 var(--pad); }
.container-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 var(--pad); }
.container-form   { max-width: var(--maxw-form);   margin: 0 auto; padding: 0 var(--pad); }

@keyframes srMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes srFloat   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* reveal（初期状態。表示は js/site.js が行う） */
[data-reveal] { will-change: opacity, transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .welcome-fig { animation: none !important; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--divider);
  position: sticky; top: 0; z-index: 30;
}
.header-inner {
  height: 74px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand img { height: 28px; width: auto; display: block; }

.nav {
  display: flex; align-items: center; gap: 36px;
  font-size: 15px; font-weight: 600; color: var(--text-2);
}
/* エントリーボタンは別扱い（:not で除外しないと色・余白を奪われる） */
.nav a:not(.nav-cta) { color: var(--text-2); border-bottom: 2px solid transparent; padding-bottom: 6px; }
.nav a:not(.nav-cta):hover { color: var(--navy); }
.nav .is-current { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--teal); padding-bottom: 6px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--navy); color: #fff; font-weight: 700;
  padding: 12px 22px; border-radius: 10px; border-bottom: none;
  transition: background .18s ease;
}
.nav-cta:hover { background: #0a6386; color: #fff; }
.nav-cta .arrow { color: #fff; }

/* ハンバーガー（900px以下でのみ表示） */
.nav-toggle {
  display: none;
  background: none; border: 1px solid #dce8ec; border-radius: 9px;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--navy);
  transition: transform .18s ease, opacity .18s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  min-height: 660px;
  display: flex; flex-direction: column;
  background: var(--bg-hero);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,.15) 38%, rgba(255,255,255,0) 60%);
}
.hero-inner {
  position: relative; z-index: 3; flex: 1;
  display: flex; align-items: center;
  padding-top: 70px; padding-bottom: 60px;
  width: 100%;
}
.hero-copy { max-width: 720px; }

.hero-eyebrow {
  font-weight: 700; font-size: 13px; letter-spacing: .26em;
  color: var(--teal-dk); text-transform: uppercase; margin-bottom: 24px;
}
.hero-title {
  font-weight: 700; letter-spacing: .02em; color: var(--navy);
  margin: 0 0 6px; text-wrap: pretty;
}
.hero-title-sub  { display: block; font-size: 30px; line-height: 1.5; }
.hero-title-main {
  display: inline-block; position: relative;
  font-size: 66px; line-height: 1.32; margin-top: 8px;
  background: linear-gradient(120deg, #054B66 0%, #0a78b5 32%, #12b6d6 60%, #26d3c2 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-title-mark {
  position: absolute; left: -6px; right: -6px; bottom: 10px; height: 14px;
  background: rgba(38,172,195,.34); border-radius: 3px; z-index: -1;
}
.hero-stroke {
  font-weight: 700; font-size: 35px; letter-spacing: .05em;
  color: transparent; -webkit-text-stroke: 0.8px rgba(38,172,195,.75);
  margin: 0 0 30px;
}
.hero-lead {
  max-width: 520px; color: var(--text-2);
  font-size: 15px; line-height: 2.05; margin: 0 0 34px;
}
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px;
  padding: 16px 28px; border-radius: 12px;
  transition: background .18s ease, border-color .18s ease;
}
.btn-primary {
  background: var(--navy); color: #fff;
  box-shadow: 0 16px 38px rgba(5,75,102,.18);
}
.btn-primary:hover { background: #0a6386; color: #fff; }
.btn-ghost {
  border: 1px solid #a7c6ce; color: var(--navy);
  background: rgba(255,255,255,.55);
}
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn .arrow { color: var(--teal); }

/* marquee */
.marquee {
  position: relative; z-index: 3; overflow: hidden;
  border-top: 1px solid rgba(5,75,102,.12);
  background: rgba(255,255,255,.4);
}
.marquee-track { display: flex; width: max-content; animation: srMarquee 34s linear infinite; }
.marquee-row {
  display: flex; gap: 38px; padding: 14px 38px 14px 0;
  font-weight: 700; font-size: 12.5px; letter-spacing: .2em;
  color: var(--teal-dk); text-transform: uppercase; white-space: nowrap;
}

/* ============================================================
   SECTIONS（共通）
   ============================================================ */
.section { position: relative; padding: 20px 0 104px; }
.section > .container,
.section > .container-narrow,
.section > .container-form { position: relative; z-index: 2; }

.section--white { background: #fff; }
.section--gray  { background: var(--bg); }
.section--highlights { padding: 56px 0 0; }
.section--stats      { padding: 34px 0 104px; }

/* セクション境界のカーブ */
.curve {
  position: absolute; top: -79px; left: 0;
  width: 100%; height: 80px; z-index: 1; display: block;
}
.curve--top { top: 0; }

.section-head { margin-bottom: 38px; }
.eyebrow {
  display: block; font-weight: 700; font-size: 13px; letter-spacing: .18em;
  color: var(--teal); text-transform: uppercase;
}
.eyebrow .dot { color: var(--navy); }
.section-title { font-weight: 700; font-size: 34px; color: var(--navy); margin: 8px 0 0; }
.section-lead  { font-size: 14px; color: var(--text-3); margin: 14px 0 0; line-height: 1.9; }
.section-lead--narrow { max-width: 560px; }
.note { margin: 16px 0 0; font-size: 12px; color: var(--note); line-height: 1.7; }
.note + .note { margin-top: 6px; }

/* ============================================================
   HIGHLIGHT カード
   ============================================================ */
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.highlight-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 14px 34px rgba(5,75,102,.06);
  padding: 28px 32px;
  display: flex; align-items: center; gap: 26px;
}
.highlight-figure { flex: 0 0 auto; }
.highlight-label { font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-bottom: 6px; }
.highlight-value { font-weight: 700; font-size: 32px; color: var(--navy); line-height: 1; }
.highlight-value em { font-style: normal; color: var(--teal); }
.highlight-text  { font-size: 13px; color: var(--text-3); line-height: 1.8; margin: 0; }

/* ============================================================
   DATA（3指標）
   ============================================================ */
.stats {
  background: var(--card); border-radius: 24px;
  box-shadow: 0 20px 50px rgba(5,75,102,.08);
  padding: 14px 8px;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stat { padding: 26px 40px; }
.stat:not(:last-child) { border-right: 1px solid var(--border); }
.stat-label {
  font-weight: 700; font-size: 12px; letter-spacing: .16em;
  color: var(--teal); text-transform: uppercase; margin-bottom: 10px;
}
.stat-value { display: flex; align-items: baseline; gap: 4px; }
.stat-num  { font-weight: 700; font-size: 40px; color: var(--navy); line-height: 1; }
.stat-unit { font-weight: 700; font-size: 18px; color: var(--navy); }
.stat-note { font-size: 12.5px; color: var(--text-3); margin-top: 10px; line-height: 1.7; }

/* ============================================================
   JOBS（募集職種）
   ============================================================ */
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.job-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 22px;
  overflow: hidden; box-shadow: 0 14px 34px rgba(5,75,102,.06);
  display: flex; flex-direction: column;
}
.job-media { position: relative; height: 200px; overflow: hidden; color: #fff; }
.job-media img { width: 100%; height: 100%; object-fit: cover; }
.job-media img.pos-lower { object-position: center 55%; }
.job-media-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,44,60,.1) 34%, rgba(3,44,60,.9) 100%);
}
.job-media-copy { position: absolute; left: 24px; right: 24px; bottom: 18px; }
.job-tag { font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--teal-lt); }
.job-title { font-weight: 700; font-size: 21px; margin: 6px 0 0; }
.job-title--long { font-size: 20px; }

.job-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.job-desc { font-size: 13.5px; line-height: 1.95; color: var(--text-3); margin: 0; }
.job-specs { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.job-specs li {
  display: grid; grid-template-columns: 80px 1fr; gap: 10px;
  padding-top: 10px; border-top: 1px solid var(--divider);
  font-size: 12.5px; color: var(--text-3); line-height: 1.6;
}
.job-specs--wide li { grid-template-columns: 96px 1fr; }
.job-specs strong { color: var(--link); font-weight: 700; }

/* ============================================================
   WELCOME（歓迎する方）
   ============================================================ */
.welcome-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.welcome-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 30px; display: flex; gap: 22px; align-items: flex-start;
}
.welcome-fig { flex: 0 0 auto; animation: srFloat 6s ease-in-out infinite; }
.welcome-card:nth-child(2) .welcome-fig { animation-duration: 6.4s; }
.welcome-card:nth-child(3) .welcome-fig { animation-duration: 5.8s; }
.welcome-card:nth-child(4) .welcome-fig { animation-duration: 6.8s; }
.welcome-fig img { width: 156px; height: 128px; object-fit: contain; display: block; }
.welcome-num   { font-weight: 700; font-size: 13px; color: var(--teal); letter-spacing: .08em; margin-bottom: 8px; }
.welcome-title { font-weight: 700; font-size: 18px; color: var(--navy); margin: 0 0 10px; }
.welcome-text  { font-size: 13.5px; color: var(--text-3); line-height: 1.95; margin: 0; }

/* ============================================================
   SUPPORT 帯（全幅写真）
   ============================================================ */
.band { position: relative; height: 340px; overflow: hidden; }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.band-veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,75,102,.88) 0%, rgba(5,75,102,.5) 46%, rgba(5,75,102,.12) 100%);
}
.band-inner { position: relative; height: 100%; display: flex; align-items: center; }
.band-copy-wrap { color: #fff; max-width: 560px; }
.band-eyebrow {
  font-weight: 700; font-size: 12px; letter-spacing: .22em;
  color: var(--teal-lt); text-transform: uppercase; margin-bottom: 16px;
}
.band-copy { font-size: 24px; font-weight: 700; line-height: 1.7; margin: 0; text-wrap: pretty; }

/* ============================================================
   CONDITIONS（待遇・条件テーブル）
   ============================================================ */
.spec-table-wrap { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th {
  width: 180px; text-align: left; padding: 20px 26px;
  background: var(--th-bg); color: var(--navy); font-weight: 700; vertical-align: top;
}
.spec-table td { padding: 20px 26px; color: var(--text-2); line-height: 1.8; }
.spec-table tr:not(:last-child) th,
.spec-table tr:not(:last-child) td { border-bottom: 1px solid var(--divider); }

/* ============================================================
   FLOW（応募〜就業の流れ）
   ============================================================ */
.flow-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 34px;
  align-items: baseline; padding: 28px 0;
  border-top: 1px solid var(--line);
}
.flow-row:last-child { border-bottom: 1px solid var(--line); }
.flow-step { display: flex; align-items: baseline; gap: 10px; }
.flow-step-label { font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--teal); }
.flow-step-num {
  font-weight: 700; font-size: 52px; line-height: .8;
  color: transparent; -webkit-text-stroke: 1.1px #9cc4ce;
}
.flow-step-num.is-last { color: var(--teal); -webkit-text-stroke: 0; }
.flow-title { font-weight: 700; font-size: 19px; color: var(--navy); margin: 0 0 8px; }
.flow-text  { font-size: 13.5px; color: var(--text-3); line-height: 1.9; margin: 0; }

/* ============================================================
   APPLY（エントリーフォーム）
   ============================================================ */
.section--apply {
  background: linear-gradient(135deg, #054B66 0%, #0a6386 55%, #1893ac 100%);
  padding: 20px 0 96px;
}
.apply-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 84% 12%, rgba(127,216,230,.24), transparent 44%);
}
.apply-inner { padding-top: 64px; }
.apply-head { text-align: center; margin-bottom: 36px; }
.apply-head .eyebrow { color: var(--teal-lt); }
.apply-head .eyebrow .dot { color: #fff; }
.apply-head .section-title { color: #fff; }
.apply-head .section-lead { color: rgba(255,255,255,.86); }

.form-card {
  background: #fff; border-radius: 22px; padding: 34px;
  box-shadow: 0 30px 70px rgba(3,32,44,.28);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--navy); }
.field .req { color: var(--req); font-size: 12px; }
.field input,
.field select,
.field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 15px; font-size: 14px; font-family: inherit;
  color: var(--text); background: #fff; outline: none;
  transition: border-color .18s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--teal); }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.8; }

.form-submit {
  width: 100%; margin-top: 20px; border: 0; cursor: pointer;
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: 15px; font-family: inherit;
  padding: 17px; border-radius: 12px;
  transition: background .18s ease;
}
.form-submit:hover { background: #0a6386; }
.form-note { margin: 16px 0 0; font-size: 12px; color: var(--note); text-align: center; line-height: 1.8; }
.form-note a { font-weight: 700; }

/* honeypot：人には見えない位置に飛ばす（display:none だと一部ボットに検知されるため） */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 送信結果メッセージ */
.form-msg { border-radius: 12px; padding: 14px 16px; font-size: 13.5px; line-height: 1.7; margin-bottom: 18px; }
.form-msg.ok  { background: #eef8f1; border: 1px solid #bfe0c8; color: #276b3a; }
.form-msg.err { background: #fdeeee; border: 1px solid #eec2c4; color: #a12a2f; }

/* ============================================================
   LEGAL（プライバシーポリシー等の下層テキストページ）
   ============================================================ */
.legal { padding: 56px 0 96px; background: #fff; }
.legal-head { margin-bottom: 40px; }
.legal-head .eyebrow { margin-bottom: 8px; }
.legal-head h1 { font-weight: 700; font-size: 34px; color: var(--navy); margin: 0; }
.legal-head .legal-date { margin: 16px 0 0; font-size: 12.5px; color: var(--note); }
.legal-lead { font-size: 14px; color: var(--text-3); line-height: 2; margin: 0 0 40px; }
.legal-section { margin-bottom: 34px; }
.legal-section h2 {
  font-weight: 700; font-size: 18px; color: var(--navy);
  margin: 0 0 12px; padding-left: 12px; border-left: 4px solid var(--teal);
}
.legal-section p { font-size: 14px; color: var(--text-2); line-height: 2; margin: 0 0 12px; }
.legal-section ul { margin: 0 0 12px; padding-left: 1.4em; }
.legal-section li { font-size: 14px; color: var(--text-2); line-height: 1.95; margin-bottom: 6px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-contact {
  margin-top: 8px; background: var(--th-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 24px; font-size: 14px; color: var(--text-2); line-height: 2;
}
.legal-back { margin-top: 44px; }
.legal-back a { font-weight: 700; font-size: 14px; color: var(--link); }

/* ============================================================
   CONFIRM / COMPLETE（確認画面・完了画面）
   ============================================================ */
.confirm-head { text-align: center; margin-bottom: 30px; }
.confirm-head .section-lead { max-width: 520px; margin-left: auto; margin-right: auto; }
.confirm-item { padding: 16px 2px; border-bottom: 1px solid var(--divider); }
.confirm-item:first-child { padding-top: 2px; }
.confirm-label { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--teal); margin-bottom: 6px; }
.confirm-value { font-size: 14.5px; color: var(--text); line-height: 1.9; word-break: break-word; }
.confirm-value.empty { color: var(--muted); }
.confirm-actions { display: flex; gap: 14px; margin-top: 26px; }
.confirm-actions .form-submit,
.confirm-actions .btn-back { flex: 1; margin-top: 0; width: auto; }
.btn-back {
  border: 1px solid var(--border); background: #eff4f6; color: var(--navy);
  font-weight: 700; font-size: 15px; font-family: inherit;
  padding: 17px; border-radius: 12px; cursor: pointer;
  transition: background .18s ease;
}
.btn-back:hover { background: #e4edf0; }
@media (max-width: 560px) { .confirm-actions { flex-direction: column; } }

.complete-card { text-align: center; }
.complete-badge {
  width: 60px; height: 60px; margin: 4px auto 18px; border-radius: 50%;
  background: #eef8f1; border: 2px solid #bfe0c8; color: #2f9e57;
  display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700;
}
.complete-title { font-weight: 700; font-size: 26px; color: var(--navy); margin: 0 0 14px; }
.complete-text { font-size: 14.5px; color: var(--text-3); line-height: 2; margin: 0 0 28px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-dk); color: rgba(255,255,255,.82); padding: 52px 0 40px; margin-top: auto; }
.footer-logo { height: 26px; width: auto; display: block; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-address { margin: 0; font-size: 13px; line-height: 1.95; color: rgba(255,255,255,.78); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.16); margin-top: 26px; padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-copy  { margin: 0; font-size: 12px; color: rgba(255,255,255,.62); letter-spacing: .03em; }
.footer-links { display: flex; gap: 24px; font-size: 12.5px; }
.footer-links a { color: rgba(255,255,255,.78); }
.footer-links a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE — タブレット（〜1024px）
   ============================================================ */
@media (max-width: 1024px) {
  :root { --pad: 32px; }
  .hero-title-main { font-size: 52px; }
  .hero-title-sub  { font-size: 26px; }
  .hero-stroke     { font-size: 28px; }
}

/* ============================================================
   RESPONSIVE — タブレット縦／大きめスマホ（〜900px）
   ハンバーガーメニューに切替 + 各グリッドを1カラムへ
   ============================================================ */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 0 16px;
    box-shadow: 0 22px 34px -22px rgba(5,75,102,.4);
  }
  .site-header.is-open .nav { display: flex; }
  .nav a:not(.nav-cta),
  .nav .is-current {
    padding: 15px var(--pad); border-bottom: 1px solid var(--divider);
    border-radius: 0;
  }
  .nav .nav-cta {
    margin: 14px var(--pad) 0; padding: 15px;
    border-radius: 10px; justify-content: center;
  }
  .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: 0; }
  .hero-title-main { font-size: 42px; }
  .hero-title-sub  { font-size: 22px; }
  .hero-title-mark { height: 10px; bottom: 6px; }
  .hero-stroke     { font-size: 24px; }

  .highlights, .job-grid, .welcome-grid { grid-template-columns: 1fr; }

  .stats { grid-template-columns: 1fr; }
  .stat:not(:last-child) { border-right: none; border-bottom: 1px solid var(--border); }

  .section-title { font-size: 27px; }
  .band { height: 300px; }
  .band-copy { font-size: 20px; }
}

/* ============================================================
   RESPONSIVE — スマホ（〜640px）
   ============================================================ */
@media (max-width: 640px) {
  :root { --pad: 20px; }

  .section { padding-bottom: 72px; }
  .section--stats { padding-bottom: 72px; }
  .section--apply { padding-bottom: 72px; }

  .hero-inner { padding-top: 48px; padding-bottom: 42px; }
  .hero-title-main { font-size: 34px; }
  .hero-title-sub  { font-size: 19px; }
  .hero-stroke     { font-size: 19px; }
  .hero-lead { font-size: 14px; line-height: 1.95; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .highlight-card { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; }
  .stat { padding: 20px 24px; }
  .section-title { font-size: 24px; }

  .job-body { padding: 22px 20px 24px; }
  .welcome-card { padding: 24px 22px; }
  .band { height: 250px; }
  .band-copy { font-size: 17px; }

  /* 待遇・条件テーブルは行を縦積みに */
  .spec-table th,
  .spec-table td { display: block; width: auto; padding: 14px 20px; }
  .spec-table tr:not(:last-child) th { border-bottom: none; }
  .spec-table th { padding-bottom: 4px; }

  .flow-row { grid-template-columns: 1fr; gap: 12px; padding: 22px 0; }

  .form-card { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — 小さいスマホ（〜560px）
   ============================================================ */
@media (max-width: 560px) {
  .welcome-card { flex-direction: column; }
}
