/* =============================================
   ハコビト運輸 採用LP v2
   「今日も、ちゃんと帰れる。」
   空色×橙黄・丸ゴシック・道路モチーフ
   ============================================= */

:root {
  /* Primary: 開放感のある空色 */
  --primary-color: #2d8fdd;
  --primary-light: #5aaee8;
  --primary-dark: #1a6fb5;
  --primary-pale: #e8f4fd;

  /* Accent: 元気なオレンジ黄 */
  --accent-color: #f5a623;
  --accent-light: #ffc65c;
  --accent-dark: #d4891a;

  /* LINE グリーン */
  --line-color: #06c755;
  --line-dark: #04a344;

  /* Neutral */
  --ink: #22384a;
  --text-main: #2b3d4f;
  --text-muted: #64798c;
  --bg-sky: #f2f8fd;
  --bg-white: #ffffff;
  --border: #dbe8f2;
  --asphalt: #54657a;

  /* Layout */
  --container-max: 1080px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(34, 56, 74, 0.07);
  --shadow-md: 0 8px 24px rgba(34, 56, 74, 0.12);

  --banner-h: 38px;
  --topbar-h: 62px;

  --font-rounded: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  font-family: var(--font-rounded);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
  border-radius: 4px;
}

section { scroll-margin-top: calc(var(--banner-h) + var(--topbar-h) + 8px); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== スクロール表示アニメーション ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* =============================================
   ポートフォリオ用デモバナー（トップページ導線）
   ============================================= */
.demo-banner {
  position: sticky;
  top: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--banner-h);
  padding: 0 16px;
  background-color: #f0f0f0;
  color: #333;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  border-bottom: 1px solid #dcdcdc;
}

.demo-banner a {
  color: #333;
  font-weight: 700;
  text-decoration: underline;
}

.demo-banner a:hover { opacity: 0.7; }

/* =============================================
   固定ナビ
   ============================================= */
.topbar {
  position: sticky;
  top: var(--banner-h); /* デモバナー直下 */
  z-index: 1000;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  white-space: nowrap;
}

.topbar__tag {
  background: var(--primary-pale);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.topbar__btns {
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn--apply {
  background: var(--accent-color);
  color: #fff;
  padding: 10px 22px;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(245, 166, 35, 0.4);
}

.btn--apply:hover { background: var(--accent-dark); transform: translateY(-2px); }

.btn--line {
  background: var(--line-color);
  color: #fff;
  padding: 10px 22px;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(6, 199, 85, 0.35);
}

.btn--line:hover { background: var(--line-dark); transform: translateY(-2px); }

/* =============================================
   Hero
   ============================================= */
.hero {
  background: linear-gradient(180deg, #bfe1f9 0%, #e3f2fd 55%, var(--bg-sky) 100%);
  overflow: hidden;
}

.hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 72px 24px 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  background: #fff;
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: normal;
  /* 蛍光マーカー風の下線 */
  background: linear-gradient(transparent 62%, var(--accent-light) 62%, var(--accent-light) 94%, transparent 94%);
  padding: 0 2px;
}

.hero__lead {
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.hero__lead strong { color: var(--primary-dark); }

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn--cta {
  flex-direction: column;
  gap: 2px;
  background: var(--accent-color);
  color: #fff;
  padding: 14px 34px;
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.45);
  text-align: center;
}

.btn--cta:hover { background: var(--accent-dark); transform: translateY(-3px); }

.btn--cta-line {
  background: var(--line-color);
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.4);
}

.btn--cta-line:hover { background: var(--line-dark); }

.btn__small {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.95;
}

.btn__main {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
}

.hero__reassure {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}

.hero__reassure li {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__reassure li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  flex-shrink: 0;
}

/* --- SVGイラストシーン --- */
.hero__scene { align-self: end; }

.hero__scene svg {
  width: 100%;
  height: auto;
  display: block;
}

/* トラックがゆっくり上下に揺れる */
.truck {
  animation: truck-bob 2.4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes truck-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* 雲がゆっくり流れる */
.cloud--1 { animation: cloud-drift 14s ease-in-out infinite alternate; }
.cloud--2 { animation: cloud-drift 18s ease-in-out infinite alternate-reverse; }

@keyframes cloud-drift {
  from { transform: translateX(0); }
  to { transform: translateX(36px); }
}

/* 路面の白線が流れる（走っている表現） */
.road-line {
  animation: road-move 1.2s linear infinite;
}

@keyframes road-move {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -60; }
}

/* スピード線の明滅 */
.speed-lines line {
  animation: speed-blink 1.2s ease-in-out infinite;
}

.speed-lines line:nth-child(2) { animation-delay: 0.2s; }
.speed-lines line:nth-child(3) { animation-delay: 0.4s; }

@keyframes speed-blink {
  0%, 100% { opacity: 0.2; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(-10px); }
}

/* =============================================
   Section 共通
   ============================================= */
section { padding: 88px 0; }

.hero { padding: 0; }

.section__label {
  text-align: center;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.section__title {
  text-align: center;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 48px;
}

.section__title--left { text-align: left; }

.section__title--left + * { margin-top: 0; }

/* =============================================
   数字で見る
   ============================================= */
.stats { background: var(--bg-white); }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat {
  background: var(--bg-sky);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
}

.stat__value {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.stat__unit {
  font-size: 1.1rem;
  margin-left: 2px;
  color: var(--primary-color);
}

.stat__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

.stats__note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 20px;
}

/* =============================================
   給与・待遇
   ============================================= */
.salary { background: var(--bg-sky); }

/* 給与明細モチーフのカード */
.payslip {
  max-width: 560px;
  margin: 0 auto 56px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.payslip__header {
  background: var(--primary-color);
  color: #fff;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.payslip__tag {
  background: #fff;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

.payslip__profile {
  font-size: 0.9rem;
  font-weight: 700;
}

.payslip__rows { padding: 20px 28px 0; }

.payslip__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border); /* 明細の点線 */
}

.payslip__row dt {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.payslip__row dd {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.payslip__row dd span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.payslip__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 28px 0;
  padding: 16px 20px;
  background: var(--primary-pale);
  border-radius: 12px;
  font-weight: 800;
}

.payslip__total span { color: var(--primary-dark); }

.payslip__total strong {
  font-size: 1.7rem;
  color: var(--primary-dark);
  font-variant-numeric: tabular-nums;
}

.payslip__annual {
  text-align: center;
  padding: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.payslip__annual strong { color: var(--accent-dark); }

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--primary-pale);
  color: var(--primary-color);
  border-radius: 14px;
  margin-bottom: 14px;
}

.benefit__icon svg { width: 24px; height: 24px; }

.benefit h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.benefit p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =============================================
   1日の流れ（道路モチーフのタイムライン）
   ============================================= */
.daily__note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: -32px 0 48px;
}

.timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding-left: 56px;
}

/* 縦の道路 */
.timeline__road {
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 22px;
  background: var(--asphalt);
  border-radius: 999px;
  /* センターラインの白い破線 */
  background-image: linear-gradient(to bottom, transparent 0 10px, #fff 10px 26px, transparent 26px 36px);
  background-size: 4px 36px;
  background-repeat: repeat-y;
  background-position: center top;
}

/* 道路を走るミニトラック（スクロール連動: 対応ブラウザのみ） */
.timeline__truck {
  display: none;
  position: absolute;
  left: 50%;
  top: 0;
  width: 44px;
  transform: translateX(-50%) rotate(90deg);
  filter: drop-shadow(0 2px 3px rgba(34, 56, 74, 0.3));
}

@supports (animation-timeline: view()) {
  .timeline__truck {
    display: block;
    animation: truck-drive linear both;
    animation-timeline: view(block 75% 15%);
  }

  @keyframes truck-drive {
    from { top: 0; }
    to { top: calc(100% - 30px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline__truck { display: none; }
}

.timeline__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.timeline__item {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.timeline__time {
  flex-shrink: 0;
  width: 76px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 800;
  text-align: center;
  border-radius: 999px;
  padding: 6px 0;
  font-variant-numeric: tabular-nums;
}

.timeline__item--break .timeline__time { background: var(--accent-color); }
.timeline__item--goal .timeline__time { background: var(--ink); }

.timeline__content {
  background: var(--bg-sky);
  border-radius: var(--radius);
  padding: 18px 22px;
  flex: 1;
  border: 1px solid var(--border);
}

.timeline__content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.timeline__content p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.tag-goal {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 12px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: 2px;
}

.daily__photo {
  max-width: 640px;
  margin: 48px auto 0;
}

.daily__photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.daily__photo figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-weight: 700;
}

/* =============================================
   先輩の声
   ============================================= */
.voices { background: var(--bg-sky); }

.voices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.voice__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

/* 漢字イニシャルのアバター */
.voice__avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.voice__avatar--blue { background: linear-gradient(135deg, var(--primary-light), var(--primary-dark)); }
.voice__avatar--orange { background: linear-gradient(135deg, var(--accent-light), var(--accent-dark)); }
.voice__avatar--green { background: linear-gradient(135deg, #6cc98e, #3d9e63); }

.voice__name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.voice__name span {
  font-size: 0.85rem;
  font-weight: 700;
  margin-left: 2px;
}

.voice__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
}

.voice__qa { flex: 1; }

.voice__qa dt {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.voice__qa dd {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 16px;
}

.voice__income {
  border-top: 1px dashed var(--border);
  padding-top: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
}

.voice__income strong {
  color: var(--accent-dark);
  font-size: 1.05rem;
}

.voices__hint { display: none; }

/* =============================================
   職場環境
   ============================================= */
.env__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.env {
  background: var(--bg-sky);
  border-radius: var(--radius);
  padding: 26px 24px;
  border: 1px solid var(--border);
}

.env h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  padding-left: 14px;
  position: relative;
}

.env h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  border-radius: 999px;
  background: var(--accent-color);
}

.env p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =============================================
   募集要項
   ============================================= */
.requirements { background: var(--bg-sky); }

.req__card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.req__table {
  width: 100%;
  border-collapse: collapse;
}

.req__table th,
.req__table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}

.req__table tr:last-child th,
.req__table tr:last-child td { border-bottom: none; }

.req__table th {
  width: 160px;
  background: var(--primary-pale);
  color: var(--primary-dark);
  font-weight: 800;
  white-space: nowrap;
}

.req__table td small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* =============================================
   採用の流れ
   ============================================= */
.flow__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.flow__step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* 道路の破線でステップをつなぐ */
.flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 20px;
  border-top: 3px dashed var(--primary-light);
}

.flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.flow__step h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.flow__step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.flow__note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* =============================================
   FAQ（details/summary アコーディオン）
   ============================================= */
.faq { background: var(--bg-sky); }

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  font-weight: 800;
  color: var(--ink);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::before {
  content: "Q";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-right: -4px;
}

.faq__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-left: auto;
}

.faq__item[open] .faq__chevron { transform: rotate(225deg); }

.faq__a {
  padding: 0 24px 20px 66px;
  font-size: 0.93rem;
  color: var(--text-muted);
  animation: faq-open 0.3s ease;
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* =============================================
   会社紹介
   ============================================= */
.company__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

.company__text .section__label { text-align: left; }

.company__message {
  background: var(--bg-sky);
  border-left: 6px solid var(--primary-color);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin-bottom: 32px;
}

.company__message p {
  font-size: 0.98rem;
  margin-bottom: 12px;
}

.company__message cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.company__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.company__table th,
.company__table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.company__table th {
  width: 108px;
  color: var(--primary-dark);
  font-weight: 800;
  white-space: nowrap;
}

.company__photos {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.company__photos img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.company__photos figcaption {
  font-size: 0.83rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 10px;
}

/* =============================================
   最終CTA
   ============================================= */
.final-cta {
  background: linear-gradient(160deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
}

.final-cta__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 20px;
}

.final-cta__body {
  opacity: 0.95;
  margin-bottom: 40px;
}

.final-cta__btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn--final { min-width: 260px; padding: 16px 40px; }

.final-cta__notes {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.final-cta__notes li {
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.final-cta__notes li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 28px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}

.footer__logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.footer__sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  max-width: 480px;
}

.footer__nav a {
  font-size: 0.85rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer__nav a:hover { color: var(--accent-light); }

.footer__copy {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* =============================================
   Responsive
   ============================================= */

/* --- 〜1024px --- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 56px; }

  .hero__scene { max-width: 560px; margin: 0 auto; width: 100%; }

  .stats__grid { grid-template-columns: repeat(3, 1fr); }

  .benefits__grid,
  .env__grid { grid-template-columns: repeat(2, 1fr); }

  .flow__steps { grid-template-columns: repeat(2, 1fr); }

  .flow__step:not(:last-child)::after { display: none; }

  /* 先輩の声: 横スクロールのカルーセルに */
  .voices__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .voice {
    flex: 0 0 78%;
    max-width: 380px;
    scroll-snap-align: center;
  }

  .voices__hint {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-top: 8px;
  }

  .company__grid { grid-template-columns: 1fr; }

  .company__photos { flex-direction: row; }

  .company__photos figure { flex: 1; }
}

/* --- 〜768px --- */
@media (max-width: 768px) {
  section { padding: 64px 0; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .stat { padding: 20px 12px; }

  .stat__value { font-size: 2.1rem; }

  .benefits__grid,
  .env__grid { grid-template-columns: 1fr; }

  .timeline { padding-left: 46px; }

  .timeline__item { flex-direction: column; gap: 10px; }

  .company__photos { flex-direction: column; }

  .req__table th,
  .req__table td {
    display: block;
    width: 100%;
    padding: 12px 20px;
  }

  .req__table th { padding-bottom: 4px; border-bottom: none; }
}

/* --- 〜480px --- */
@media (max-width: 480px) {
  .demo-banner { font-size: 11px; gap: 8px; padding: 0 12px; }

  .topbar { padding: 0 14px; }

  .topbar__tag { display: none; }

  .topbar__logo { font-size: 1.05rem; }

  .btn--apply, .btn--line { padding: 9px 14px; font-size: 0.8rem; }

  .hero__inner { padding: 40px 20px 0; }

  .hero__cta { flex-direction: column; }

  .btn--cta { width: 100%; }

  .flow__steps { grid-template-columns: 1fr; }

  .voice { flex: 0 0 88%; }

  .final-cta__btns { flex-direction: column; align-items: center; }

  .btn--final { width: 100%; min-width: 0; }
}

@media (max-width: 360px) {
  .demo-banner { font-size: 10px; }
}
