@charset "UTF-8";
/* =========================================================
   株式会社ノックス 採用LP
   デザイントークン：設計書 3. デザインシステム に準拠
   --brand-accent は仮HEX。正式HEX確定後にここだけ差し替え
========================================================= */
:root {
  /* 清書ロゴ（2026.9.8納品）から採色 */
  --brand-primary: #7E68BB;
  --brand-primary-dark: #574492;
  --brand-accent: #88D14C;
  --brand-accent-dark: #67A92E; /* 黄緑は明るいため、文字色にはこちらを使う */
  --brand-ink: #241D3E;         /* フッター・スクリム等の最暗色 */
  --text-primary: #222222;
  --text-secondary: #666666;
  --bg-primary: #ffffff;
  --bg-subtle: #f7f5f8;
  --border: #e5e0ea;
  --radius: 14px;
  --radius-large: 28px;
  --container: 1080px;
  --header-h: 64px;
  --side: 240px; /* 左サイドバー幅 */
  --font-jp: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic Medium", "Meiryo", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  font-family: var(--font-jp);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.4; }

/* ---------- 汎用 ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.sp-only { display: none; }
.note { font-size: 13px; color: var(--text-secondary); margin-top: 16px; }
.note.light { color: rgba(255,255,255,.8); }

.section { padding: 88px 0; }
.section-subtle { background: var(--bg-subtle); }
.section-en {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--brand-accent-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 24px;
  letter-spacing: .02em;
}
.section-title.light { color: #fff; }
.section-body { color: var(--text-primary); margin-bottom: 16px; }
.section-body.light { color: rgba(255,255,255,.92); }
.center.section-body, .section-body.center { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
  line-height: 1.4;
}
.btn:hover { transform: translateY(-2px); opacity: .92; }
.btn-primary { background: var(--brand-primary); color: #fff; }
.btn-accent { background: var(--brand-accent); color: var(--brand-ink); }
.btn-outline { border-color: var(--brand-primary); color: var(--brand-primary); background: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-small { padding: 9px 20px; font-size: 14px; }
.btn-large { width: 100%; padding: 18px; font-size: 17px; }

/* ---------- 写真プレースホルダー（撮影素材差し替え用） ---------- */
.ph {
  background:
    repeating-linear-gradient(45deg, rgba(126, 104, 187, .12) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #efe9f4, #e2ecf5);
  border: 2px dashed rgba(126, 104, 187, .25);
  border-radius: var(--radius-large);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ph-label {
  font-size: 13px;
  color: var(--brand-primary);
  background: rgba(255,255,255,.85);
  padding: 8px 16px;
  border-radius: 8px;
  text-align: center;
  line-height: 1.6;
}
.ph-fv { aspect-ratio: 4 / 3; }
.ph-landscape { aspect-ratio: 16 / 10; }
.ph-portrait { aspect-ratio: 3 / 4; }
.ph-card { aspect-ratio: 16 / 10; border-radius: var(--radius); margin-bottom: 16px; }

/* ---------- 実写真 ---------- */
.photo {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-large);
}
.photo-landscape { aspect-ratio: 4 / 3; }
.photo-portrait { aspect-ratio: 3 / 4; object-position: 65% center; }
.photo-card { aspect-ratio: 4 / 3; border-radius: var(--radius); margin-bottom: 16px; }
.photo-step { aspect-ratio: 4 / 3; border-radius: 10px; margin-bottom: 10px; }

/* ---------- 左サイドバー ---------- */
.has-side main,
.has-side .site-footer { margin-left: var(--side); }
.has-side .fixed-cta { left: var(--side); }
.side {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--side);
  z-index: 70;
  background: linear-gradient(180deg, var(--brand-primary) 0%, #4A3B86 100%);
  box-shadow: 4px 0 24px rgba(36, 29, 62, .22);
  display: flex;
  flex-direction: column;
}
.side-logo {
  height: 96px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  flex-shrink: 0;
}
.side-logo img { width: 172px; height: auto; object-fit: contain; }
.side-nav { flex: 1; overflow-y: auto; padding: 6px 0; }
.side-nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 22px;
  color: rgba(255, 255, 255, .85);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
  transition: background .2s ease, color .2s ease;
}
.side-nav a::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand-accent);
  transform: scaleY(0);
  transition: transform .2s ease;
}
.side-nav a:hover, .side-nav a.active { background: rgba(255, 255, 255, .09); color: #fff; }
.side-nav a:hover::before, .side-nav a.active::before { transform: scaleY(1); }
.side-nav a.nav-apply { background: var(--brand-accent); color: var(--brand-ink); }
.side-nav a.nav-apply::before { background: var(--brand-ink); }
.side-nav a.nav-apply:hover, .side-nav a.nav-apply.active { background: #97DE5E; color: var(--brand-ink); }
.side-bottom { padding: 14px; border-top: 1px solid rgba(255, 255, 255, .12); flex-shrink: 0; }
.side-cta {
  display: block;
  background: #fff;
  color: var(--brand-primary);
  padding: 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}
.side-cta:hover { transform: translateY(-2px); opacity: .92; }
.hamburger { display: none; }

/* ---------- ヘッダー（privacy.html用に残置） ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-right: auto;
}
.logo-img { height: 36px; width: auto; }
.header-nav { display: flex; gap: 22px; }
.header-nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
}
.header-nav a:hover { color: var(--brand-primary); }

/* ---------- FV（全画面写真＋文字オーバーレイ） ---------- */
.fv {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
}
.fv::after {
  /* 文字可読性用スクリム */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(36, 29, 62, .30) 0%,
    rgba(36, 29, 62, .08) 40%,
    rgba(36, 29, 62, .50) 70%,
    rgba(36, 29, 62, .85) 100%
  );
}
.fv-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.fv-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.fv-photo img.is-active { opacity: 1; }
.fv-inner {
  /* .fv-photo(絶対配置)の基準を .fv にするため、ここは positioned にしない */
  position: static;
  width: 100%;
  padding: 0 56px 84px;
}
.fv-copy { position: relative; z-index: 1; }
.fv-title {
  font-size: 58px;
  font-weight: 900;
  color: #fff;
  letter-spacing: .02em;
  margin-bottom: 16px;
  text-shadow: 0 2px 14px rgba(36, 29, 62, .4);
}
.fv-sub {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  border-bottom: 4px solid var(--brand-accent);
  display: inline-block;
  padding-bottom: 4px;
  text-shadow: 0 1px 10px rgba(36, 29, 62, .4);
}
.fv-lead { color: rgba(255, 255, 255, .92); margin-bottom: 28px; }
.fv-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.fv-cta .btn-primary {
  /* 濃紫スクリムに沈まないよう、主CTAは白ベタで浮かせる */
  background: #fff;
  color: var(--brand-primary);
}
.fv-cta .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .85);
  color: #fff;
}
.fv-badges { display: flex; gap: 10px; list-style: none; flex-wrap: wrap; }
.fv-badges li {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(4px);
}
.fv-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, .85);
}
.fv-scroll-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
}
.fv-scroll-line {
  width: 1.5px;
  height: 26px;
  background: rgba(255, 255, 255, .8);
  transform-origin: top;
  animation: fvScroll 1.8s ease-in-out infinite;
}
@keyframes fvScroll {
  0% { transform: scaleY(0); opacity: 1; }
  55% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fv-scroll-line { animation: none; }
}

/* ---------- MESSAGE / CULTURE / PRO 2カラム ---------- */
.message-grid, .culture-grid, .pro-grid, .company-grid, .voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
/* 写真を主役にするため、写真側のカラムを広めに取る */
.message-grid, .culture-grid, .company-grid { grid-template-columns: 1fr 1.3fr; }
.pro-grid, .voice-grid { grid-template-columns: 1.15fr 1fr; }

/* ---------- 社長メッセージ ---------- */
.message-grid .section-title { font-size: 29px; line-height: 1.6; }
.message-sign {
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: 13px;
}
.message-sign strong {
  display: block;
  color: var(--text-primary);
  font-size: 19px;
  letter-spacing: .08em;
  margin-top: 2px;
}

/* ---------- 先輩の声 ---------- */
.voice-qa { display: grid; gap: 18px; margin-top: 4px; }
.voice-qa dt {
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 15px;
  margin-bottom: 4px;
}
.voice-qa dt::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: var(--brand-ink);
  font-size: 12px;
  margin-right: 8px;
}
.voice-qa dd { font-size: 14.5px; color: var(--text-secondary); }
.voice-name {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  padding-left: 14px;
  border-left: 3px solid var(--brand-accent);
}

/* ---------- 1日の流れ ---------- */
.oneday { max-width: 680px; margin: 44px auto 0; }
.oneday-item { display: flex; gap: 22px; }
.oneday-time {
  width: 64px;
  flex-shrink: 0;
  text-align: right;
  font-weight: 800;
  color: var(--brand-primary);
  font-size: 15px;
  padding-top: 1px;
}
.oneday-body {
  border-left: 2px solid var(--border);
  padding: 0 0 30px 22px;
  position: relative;
  flex: 1;
}
.oneday-item:last-child .oneday-body { padding-bottom: 0; border-left-color: transparent; }
.oneday-body::before {
  content: "";
  position: absolute;
  left: -7px; top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brand-accent);
  border: 2px solid #fff;
}
.oneday-body h3 { font-size: 16px; color: var(--brand-primary); margin-bottom: 4px; }
.oneday-body p { font-size: 14px; color: var(--text-secondary); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-top: 40px; }
.faq details {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 15px;
  padding: 18px 48px 18px 54px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q";
  position: absolute;
  left: 18px; top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: var(--brand-ink);
  font-size: 13px;
}
.faq summary::after {
  content: "＋";
  position: absolute;
  right: 18px; top: 17px;
  color: var(--brand-primary);
  font-weight: 700;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "－"; }
.faq .faq-a {
  padding: 0 20px 20px 54px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* ---------- CTA：社長の吹き出し写真 ---------- */
.cta-photo {
  position: relative;
  max-width: 640px;
  margin: 40px auto 4px;
}
.cta-photo img {
  width: 100%;
  display: block;
  border-radius: var(--radius-large);
}
.cta-bubble {
  position: absolute;
  top: 7%;
  left: 4%;
  background: #fff;
  color: var(--brand-primary);
  font-weight: 800;
  font-size: clamp(15px, 3.2vw, 22px);
  line-height: 1.45;
  padding: 12px 20px;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(36, 29, 62, .3);
  transform: rotate(-4deg);
}
.cta-bubble::after {
  /* 社長の顔へ向く吹き出しのしっぽ */
  content: "";
  position: absolute;
  bottom: -12px;
  left: 62%;
  border-style: solid;
  border-width: 14px 4px 0 12px;
  border-color: #fff transparent transparent transparent;
  transform: rotate(-18deg);
}

/* ---------- CTA補足 ---------- */
.cta-note {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: 8px 20px;
  display: table;
  margin: 0 auto;
}
.pro-points { list-style: none; margin-top: 24px; display: grid; gap: 18px; }
.pro-points h3 {
  font-size: 16px;
  color: var(--brand-primary);
  padding-left: 14px;
  border-left: 4px solid var(--brand-accent);
}
.pro-points p { font-size: 14px; color: var(--text-secondary); padding-left: 18px; }

.culture-quotes { display: grid; gap: 14px; margin-bottom: 20px; }
.culture-quotes blockquote {
  background: var(--bg-subtle);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  position: relative;
}
.culture-motto {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 20px;
  color: var(--brand-accent-dark);
  letter-spacing: .04em;
}

/* ---------- WORK FLOW ---------- */
/* 写真を主役にするため、このセクションだけ幅を広げる */
#work .container { max-width: 1420px; }
.workflow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
  counter-reset: step;
}
.workflow-step {
  background: #fff;
  border-radius: var(--radius);
  padding: 0 0 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(126, 104, 187, .12);
}
/* 写真はカード幅いっぱい・縦長で大きく見せる */
.workflow-step .photo-step {
  aspect-ratio: 4 / 5;
  border-radius: 0;
  margin-bottom: 16px;
}
.workflow-step h3, .workflow-step p { padding: 0 14px; }
.workflow-step:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -14px; top: 50%;
  transform: translateY(-50%);
  color: var(--brand-accent);
  font-size: 24px;
  font-weight: 900;
}
.step-num {
  /* 写真左上に重ねるバッジ */
  position: absolute;
  top: 10px; left: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(36, 29, 62, .35);
}
.ph-step {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  margin-bottom: 10px;
  border-width: 1.5px;
}
.ph-step .ph-label { font-size: 11px; padding: 4px 8px; }
.workflow-step h3 { font-size: 16px; color: var(--brand-primary); margin-bottom: 6px; }
.workflow-step p { font-size: 12.5px; color: var(--text-secondary); line-height: 1.7; }

/* ---------- 3 REASONS ---------- */
/* 写真を主役にするため、このセクションだけ幅を広げる */
#reasons .container { max-width: 1420px; }
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.reason-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: 0 0 28px;
  overflow: hidden;
  position: relative;
}
/* 写真はカード幅いっぱいで大きく見せる */
.reason-card .photo-card {
  border-radius: 0;
  margin-bottom: 18px;
}
.reason-badge {
  /* 写真左上に重ねるバッジ */
  position: absolute;
  top: 14px; left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: var(--brand-ink);
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(36, 29, 62, .35);
}
.reason-card h3 { font-size: 19px; color: var(--brand-primary); margin-bottom: 10px; padding: 0 22px; }
.reason-card p { font-size: 14px; color: var(--text-secondary); padding: 0 22px; }

/* ---------- CAREER ---------- */
.career-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.career-step {
  background: #fff;
  border-radius: var(--radius-large);
  padding: 28px 24px;
  position: relative;
  box-shadow: 0 4px 20px rgba(126, 104, 187, .12);
}
.career-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -22px; top: 50%;
  transform: translateY(-50%);
  color: var(--brand-accent);
  font-size: 20px;
  font-weight: 900;
}
.career-badge {
  display: inline-block;
  background: var(--brand-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 12px;
}
.career-step h3 { font-size: 18px; color: var(--brand-primary); margin-bottom: 8px; }
.career-step p { font-size: 14px; color: var(--text-secondary); }

/* ---------- FIT ---------- */
.fit-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 32px 0 24px;
}
.fit-list li {
  background: var(--bg-subtle);
  border-radius: var(--radius);
  padding: 14px 18px 14px 44px;
  font-weight: 600;
  position: relative;
}
.fit-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--brand-accent-dark);
  font-weight: 900;
}
.fit-list li:last-child { grid-column: 1 / -1; }

/* ---------- JOB INFO ---------- */
.jobinfo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0 32px;
}
.job-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(126, 104, 187, .12);
}
.job-card-label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.job-card-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--brand-primary);
  line-height: 1.2;
}
.job-card-value small { font-size: 14px; font-weight: 700; margin-left: 2px; }

.jobinfo-table {
  background: #fff;
  border-radius: var(--radius-large);
  padding: 12px 28px;
  box-shadow: 0 4px 20px rgba(126, 104, 187, .12);
}
.jobinfo-table dl > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.jobinfo-table dl > div:last-child { border-bottom: none; }
.jobinfo-table dt { font-weight: 700; color: var(--brand-primary); font-size: 14px; }
.jobinfo-table dd { font-size: 14.5px; }

/* ---------- COMPANY ---------- */
#company .jobinfo-table { border: 1px solid var(--border); box-shadow: none; }

/* ---------- CTA / FORM ---------- */
.section-cta {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  padding-bottom: 120px;
}
.contact-form {
  background: #fff;
  border-radius: var(--radius-large);
  padding: 36px 32px;
  margin-top: 40px;
  display: grid;
  gap: 20px;
}
.form-type { border: none; display: flex; gap: 18px; flex-wrap: wrap; }
.form-type legend {
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-primary);
  margin-bottom: 10px;
}
.form-type label { font-size: 14.5px; display: flex; align-items: center; gap: 6px; }
.form-type input { accent-color: var(--brand-primary); width: 18px; height: 18px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-weight: 700; font-size: 14px; }
.req {
  background: var(--brand-accent);
  color: var(--brand-ink);
  font-size: 11px;
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-row input, .form-row textarea {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  background: var(--bg-subtle);
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 1px;
  background: #fff;
}
.form-status { font-size: 14px; font-weight: 700; color: var(--brand-accent-dark); min-height: 1em; }
.form-status.error { color: #c0392b; }
.contact-form .note { margin-top: 4px; color: var(--text-secondary); }

/* ---------- 同意チェックボックス ---------- */
.privacy-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  flex-wrap: wrap;
}
.privacy-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--brand-primary);
  flex-shrink: 0;
}
.privacy-check a { color: var(--brand-primary); }
/* ---------- プライバシーポリシー ---------- */
.privacy-body { font-size: 15px; }
.privacy-body h2 {
  font-size: 18px;
  color: var(--brand-primary);
  margin: 36px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--brand-accent);
}
.privacy-body ul { padding-left: 1.4em; margin: 8px 0 16px; }
.privacy-body p { margin-bottom: 12px; }
.privacy-date {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #241D3E;
  color: rgba(255,255,255,.85);
  padding: 48px 0 96px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: grid;
  gap: 12px;
}
.footer-name { font-weight: 800; font-size: 18px; color: #fff; }
.footer-address { font-size: 13px; }
.footer-nav { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,.75); text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.copyright { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 8px; }

/* ---------- 固定CTA ---------- */
.fixed-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(36, 29, 62,.92);
  backdrop-filter: blur(8px);
  z-index: 90;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.fixed-cta.visible { transform: translateY(0); }
.fixed-cta .btn { flex: 1; padding: 13px 8px; font-size: 14.5px; }
/* PCはサイドバーに常設CTAがあるため、下部固定CTAはスマホ専用 */
@media screen and (min-width: 769px) {
  .has-side .fixed-cta { display: none; }
}

/* ---------- フェードイン ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   印刷用（PDF出力・紙持参用）
========================================================= */
@media print {
  /* A4比率のまま版面を広く取り、PC版レイアウトで出力する（印刷時は用紙に合わせて縮小） */
  @page {
    size: A3;
    margin: 10mm;
  }
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .site-header { position: static; }
  /* サイドバーは印刷しない（コンテンツを全幅に） */
  .side, .hamburger { display: none !important; }
  .has-side main, .has-side .site-footer { margin-left: 0; }
  /* CTA・フォームのセクションは紙では不要（ベタ塗りでインク消費が大きい） */
  .section-cta { display: none !important; }
  .fixed-cta, .fv-scroll { display: none !important; }
  /* スクロール連動フェードは印刷では常に表示 */
  .fade-in { opacity: 1 !important; transform: none !important; transition: none !important; }
  /* FVは「写真＋その下に文字」の静的構成に組み替える */
  .fv { min-height: auto; display: block; }
  .fv::after { display: none; }
  .fv-photo { position: static; }
  /* スライドショーは1枚目だけ静的に印刷する */
  .fv-photo img { display: none; }
  .fv-photo img:first-child {
    display: block;
    position: static;
    opacity: 1;
    height: auto;
    aspect-ratio: 21 / 9;
  }
  .fv-inner { padding: 24px 0 0; }
  .fv-title { color: var(--brand-primary); text-shadow: none; font-size: 44px; }
  .fv-sub { color: var(--text-primary); text-shadow: none; }
  .fv-lead { color: var(--text-secondary); }
  .fv-cta .btn-primary { background: var(--brand-primary); color: #fff; }
  .fv-cta .btn-outline { background: #fff; border-color: var(--brand-primary); color: var(--brand-primary); }
  .fv-badges li { background: var(--bg-subtle); border-color: var(--border); color: var(--brand-primary); }
  .workflow { overflow: visible; }
  .workflow-step, .reason-card, .career-step, .job-card,
  .jobinfo-table, .contact-form { break-inside: avoid; }
  .section { padding: 48px 0; }
}

/* =========================================================
   レスポンシブ（タブレット以下）
========================================================= */
@media screen and (max-width: 960px) {
  .workflow { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
  .reasons-grid, .career-steps { grid-template-columns: 1fr; }
  .career-step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -26px; transform: translateX(-50%); }
  .career-steps { gap: 36px; }
}

@media screen and (max-width: 768px) {
  .sp-only { display: inline; }
  .section { padding: 64px 0; }
  .section-title { font-size: 26px; }
  .header-nav { display: none; }
  html { scroll-padding-top: calc(var(--header-h) + 8px); }

  /* --- サイドバー：スマホでは上部バー＋ハンバーガー開閉 --- */
  .has-side main, .has-side .site-footer { margin-left: 0; }
  .has-side .fixed-cta { left: 0; }
  .side {
    flex-direction: row;
    width: 100%;
    height: var(--header-h);
    bottom: auto;
    padding-right: 64px; /* ハンバーガー分の逃げ */
    box-shadow: 0 4px 20px rgba(36, 29, 62, .22);
  }
  .side-logo { width: 152px; height: var(--header-h); padding: 8px 12px; }
  .side-logo img { width: 126px; }
  .side-nav { display: none; }
  .side-bottom { display: none; }
  .side.open { flex-direction: column; height: auto; max-height: 92svh; overflow-y: auto; padding-right: 0; }
  .side.open .side-logo { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .side.open .side-nav { display: block; overflow: visible; }
  .side.open .side-bottom { display: block; }
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 12px; top: 11px;
    z-index: 97;
    width: 44px; height: 42px;
    border: 1.5px solid rgba(255, 255, 255, .4);
    border-radius: 10px;
    background: rgba(126, 104, 187, .92);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    backdrop-filter: blur(6px);
  }

  /* --- FV：スマホ調整（写真を主役に、文字は下部へ凝縮） --- */
  .fv-photo img { object-position: center 30%; } /* 見上げ構図の顔と空が残るように */
  .fv-inner { padding: calc(var(--header-h) + 32px) 20px 62px; }
  .fv-scroll { bottom: 8px; gap: 4px; }
  .fv-scroll-line { height: 20px; }
  .fv-title {
    font-size: 37px;
    line-height: 1.28;
    margin-bottom: 6px;
  }
  .fv-sub {
    font-size: 16px;
    margin-bottom: 18px;
    padding-bottom: 3px;
    border-bottom-width: 3px;
  }
  /* スマホFVは「H1＋サブ＋CTA」のみに絞る（リード・バッジは後続セクションで担保） */
  .fv-lead { display: none; }
  .fv-badges { display: none; }
  .fv-cta { flex-direction: row; gap: 10px; margin-bottom: 0; }
  .fv-cta .btn {
    flex: 1;
    width: auto;
    padding: 13px 6px;
    font-size: 13.5px;
    white-space: nowrap;
  }

  .message-grid, .culture-grid, .pro-grid, .company-grid, .voice-grid { grid-template-columns: 1fr; gap: 28px; }
  .oneday-time { width: 52px; font-size: 14px; }
  .pro-grid .photo { order: 2; aspect-ratio: 16 / 10; object-position: center; }

  .workflow { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
  .workflow-step:not(:last-child)::after { display: none; }
  .workflow-step:last-child { grid-column: 1 / -1; }

  .fit-list { grid-template-columns: 1fr; }
  .fit-list li:last-child { grid-column: auto; }

  .jobinfo-cards { grid-template-columns: 1fr 1fr; }
  .jobinfo-table { padding: 8px 18px; }
  .jobinfo-table dl > div { grid-template-columns: 1fr; gap: 2px; }
  .jobinfo-table dt { font-size: 13px; }

  .contact-form { padding: 28px 20px; }
}
