/* ============================================================
   AI社員 & AIバイト by DERTA — LP
   Design tokens & implementation based on design handoff
   (design_handoff_derta_ai_staff_lp / DERTA AI社員 LP v2)
   ============================================================ */

:root {
  --red: #ff3b45;
  --red-deep: #8f1f27;
  --red-soft: #ff5a63;
  --red-line: #ff8f96;
  --red-pale: #ffd0d4;
  --red-tint: #fff1f2;
  --bg: #f5f5f6;
  --white: #ffffff;
  --black: #17171a;
  --black-card: #1f1f24;
  --ink: #3d3d44;
  --sub: #6b6b70;
  --sub-2: #5b5b60;
  --sub-3: #4b4b50;
  --cap: #8a8a90;
  --cap-2: #a8a8ae;
  --cap-3: #a0a0a6;
  --line: #ececee;
  --line-2: #e4e4e7;
  --line-3: #dcdce0;
  --line-4: #d5d5d9;
  --dot: #e0e0e5;
  --byte-bg: #eef3f6;
  --byte: #5a7c92;
  --byte-deep: #2f4351;
  --byte-text: #4b5c68;
  --byte-line: #dbe4ea;
  --byte-cap: #8298a7;
  --staff-text: #6b4247;
  --staff-cap: #c98a90;
  --green: #0e9f6e;
  --training-green: #2fbe8c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: var(--red); text-decoration: none; }
a:hover { opacity: .7; }

img { display: block; max-width: 100%; }

h1, h2, h3, p { margin: 0; }

/* ---- scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- common section ---- */
.section {
  padding: 88px 48px;
  scroll-margin-top: 76px;
}
.section--white {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--dots {
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 22px 22px;
}
.section--stripes {
  background-color: var(--bg);
  background-image: linear-gradient(135deg, rgba(23,23,26,.035) 0 1px, transparent 1px 12px);
}
.section--dark {
  background-color: #45454d;
  background-image: linear-gradient(135deg, rgba(255,255,255,.045) 0 1px, transparent 1px 14px);
  color: #fff;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--red);
}
.section--dark .eyebrow { color: var(--red-soft); }

.h2 { font-size: 38px; font-weight: 900; line-height: 1.5; }
.h2--36 { font-size: 36px; }
.h2--32 { font-size: 32px; }

.sec-head { display: flex; flex-direction: column; gap: 14px; }
.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.lead { font-size: 15px; line-height: 2; color: var(--sub); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }

/* ---- pills / tags ---- */
.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill--red { background: var(--red); color: #fff; }
.pill--black { background: var(--black); color: #fff; }
.pill--byte { background: var(--byte); color: #fff; }
.pill--outline { color: var(--red); border: 1px solid var(--red-line); padding: 5px 12px; }
.pill--white { background: #fff; color: var(--red); }

/* ---- buttons ---- */
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  padding: 17px 34px;
  border-radius: 999px;
  text-align: center;
  cursor: pointer;
  transition: filter .18s ease, transform .18s ease;
}
.btn:hover { opacity: 1; filter: brightness(1.06); transform: translateY(-1px); }
.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255,59,69,.28);
}
.btn--ghost {
  background: #fff;
  border: 1px solid var(--line-3);
  color: var(--ink);
}

/* ============ header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 12px rgba(23,23,26,.06);
}
.site-header__left { display: flex; align-items: center; gap: 36px; }
.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  color: var(--ink);
}
.logo:hover { opacity: 1; }
.logo__main { font-size: 19px; font-weight: 900; letter-spacing: -.02em; }
.logo__by { font-size: 12px; font-weight: 700; color: var(--cap-2); letter-spacing: .08em; }
.site-nav { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
.site-nav a { color: var(--sub-3); }
.site-header__right { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; }
.site-header__doc { color: var(--sub-3); }
.site-header__cta {
  background: var(--red);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
}

/* ============ 01 hero（全面画像＋左グレー透過） ============ */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background: #eef0f1;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(243,243,245,.95) 0%,
    rgba(243,243,245,.86) 32%,
    rgba(243,243,245,.55) 52%,
    rgba(243,243,245,0) 70%);
  pointer-events: none;
}
.hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
  padding: 64px 48px;
  max-width: 720px;
}
.hero__badge {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(255,59,69,.25);
}
.hero__title {
  font-size: 62px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--black);
  text-wrap: pretty;
}
.hero__title em { font-style: normal; color: var(--red); }
.hero__sub {
  max-width: 560px;
  font-size: 17px;
  line-height: 2;
  font-weight: 500;
  color: var(--sub);
}
.hero__ctas { display: flex; gap: 12px; padding-top: 4px; }
.hero__ctas .btn { min-width: 230px; }

/* ============ 02 issues ============ */
.issues { display: flex; flex-direction: column; gap: 32px; }
.issue-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(23,23,26,.05);
}
.issue-card__art {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.issue-card__art img { max-width: 100%; max-height: 100%; object-fit: contain; }
.issue-card__label { font-size: 12px; font-weight: 700; color: var(--cap-2); }
.issue-card h3 { font-size: 19px; font-weight: 900; line-height: 1.6; }
.issue-card p { font-size: 14px; line-height: 1.95; color: var(--sub); }

/* ============ 03 concept ============ */
.concept { display: flex; flex-direction: column; gap: 36px; }
.concept-card {
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.concept-card--old { background: var(--bg); }
.concept-card--new { background: var(--black); color: #fff; }
.concept-card__head { display: flex; align-items: center; gap: 10px; }
.concept-card__icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.concept-card--old .concept-card__icon { background: #c4c4c9; }
.concept-card--new .concept-card__icon { background: var(--red); }
.concept-card__label { font-size: 13px; font-weight: 700; }
.concept-card--old .concept-card__label { color: var(--cap); }
.concept-card--new .concept-card__label { color: var(--red-line); }
.concept-card h3 { font-size: 24px; font-weight: 900; line-height: 1.6; }
.concept-card--old h3 { color: var(--sub-2); }
.concept-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.9;
}
.concept-card--old .concept-card__list { color: var(--sub); }
.concept-card--new .concept-card__list { color: var(--line-4); }
.concept-card__list span { display: flex; gap: 10px; }
.concept-card--old .concept-card__list i { font-style: normal; color: #c4c4c9; }
.concept-card--new .concept-card__list i { font-style: normal; color: var(--red-soft); }

/* ---- カード内シーン挿絵 ---- */
.safety-card__art {
  border-radius: 12px;
  background: #fff;
  height: 150px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.safety-card__art img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ============ 3b training band ============ */
.training-band {
  background: #fff;
  padding: 40px 48px;
  display: flex;
  justify-content: center;
}
.training-card {
  width: 100%;
  max-width: 1000px;
  background: #fff;
  border: 1.5px solid #b9e6d3;
  border-radius: 20px;
  padding: 26px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 10px 28px rgba(47,190,140,.14);
}
.training-card__owl { width: 96px; flex-shrink: 0; }
.training-card__owl img { width: 100%; height: auto; }
.pill--green { background: var(--training-green); color: #fff; }
.training-card__text { display: flex; flex-direction: column; gap: 10px; }
.training-card__text .pill { align-self: flex-start; }
.training-card__hook { font-size: 13px; font-weight: 700; color: #1e9e73; }
.training-card__title { font-size: 24px; font-weight: 900; line-height: 1.6; color: var(--black); }
.training-card__btn {
  background: var(--training-green);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  padding: 18px 32px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(47,190,140,.35);
  transition: filter .18s ease, transform .18s ease;
}
.training-card__btn:hover { opacity: 1; filter: brightness(1.06); transform: translateY(-1px); }

/* ============ 04 hiring ============ */
.hiring { display: flex; flex-direction: column; gap: 36px; }
.hire-card {
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hire-card--byte { background: var(--byte-bg); border: 1px solid var(--byte-line); }
.hire-card--staff { background: var(--red-tint); border: 1px solid var(--red-pale); }
.hire-card .pill { align-self: flex-start; }
.hire-card__art {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  height: 250px;
}
.hire-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hire-card__tags { display: flex; align-items: center; gap: 10px; }
.hire-card__type { font-size: 12px; font-weight: 700; }
.hire-card--byte .hire-card__type { color: var(--byte-cap); }
.hire-card--staff .hire-card__type { color: var(--staff-cap); }
.hire-card__head { display: flex; align-items: center; gap: 16px; }
.hire-card__icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hire-card__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hire-card--byte .hire-card__icon { color: var(--byte); }
.hire-card--staff .hire-card__icon { color: var(--red); }
.hire-card h3 { font-size: 24px; font-weight: 900; line-height: 1.6; }
.hire-card--byte h3 { color: var(--byte-deep); }
.hire-card--staff h3 { color: var(--red-deep); }
.hire-card__list { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.9; }
.hire-card--byte .hire-card__list { color: var(--byte-text); }
.hire-card--staff .hire-card__list { color: var(--staff-text); }
.hire-card__list span { display: flex; align-items: center; gap: 12px; }
.hire-card__list i {
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  min-width: 20px;
}
.hire-card__list i svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hire-card--byte .hire-card__list i { color: var(--byte); }
.hire-card--staff .hire-card__list i { color: var(--red); }
.hire-card__fit { padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.hire-card--byte .hire-card__fit { border-top: 1px solid var(--byte-line); }
.hire-card--staff .hire-card__fit { border-top: 1px solid var(--red-pale); }
.hire-card__fit-label { font-size: 12px; font-weight: 700; }
.hire-card--byte .hire-card__fit-label { color: var(--byte-cap); }
.hire-card--staff .hire-card__fit-label { color: var(--staff-cap); }
.hire-card__fit-text { font-size: 14px; line-height: 1.9; }
.hire-card--byte .hire-card__fit-text { color: var(--byte-text); }
.hire-card--staff .hire-card__fit-text { color: var(--staff-text); }

.promote-band {
  background: #fff;
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 1px 2px rgba(23,23,26,.05);
}
.promote-band__body { display: flex; flex-direction: column; gap: 6px; }
.promote-band__title { font-size: 16px; font-weight: 900; line-height: 1.7; }
.promote-band__desc { font-size: 13.5px; line-height: 1.9; color: var(--sub); }
.promote-band__pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  background: var(--red-tint);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.promote-band__text { font-size: 15px; line-height: 1.9; }
.promote-band__text strong { font-weight: 900; }

/* ============ 05 members ============ */
.members { display: flex; flex-direction: column; gap: 40px; }
.members__group { display: flex; flex-direction: column; gap: 20px; }
.group-label { display: flex; align-items: center; gap: 12px; }
.group-label__desc { font-size: 14px; font-weight: 700; color: var(--sub-2); }
.group-label__line { flex: 1; height: 1px; background: var(--line); }

.member-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.member-card--byte { border-color: var(--line-3); }
.member-card__img {
  height: 190px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-card--byte .member-card__img { height: 170px; }
.member-card__img img { width: 100%; height: 100%; object-fit: contain; }
.member-card__tags { display: flex; align-items: center; gap: 8px; }
.member-card__tags .pill { font-size: 11px; padding: 5px 10px; }
.member-card--byte .member-card__tags .pill--outline { padding: 4px 10px; }
.member-card__type { font-size: 11px; color: var(--cap-2); }
.member-card h3 { font-size: 22px; font-weight: 900; letter-spacing: .02em; }
.member-card--byte h3 { font-size: 20px; }
.member-card__catch { font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--black); }
.member-card--byte .member-card__catch { font-size: 14px; }
.member-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.member-card__chips span {
  font-size: 12px;
  color: var(--sub-2);
  background: var(--bg);
  padding: 6px 10px;
  border-radius: 999px;
}
.member-card__safe {
  margin-top: auto;
  border-top: 1px dashed var(--line-2);
  padding-top: 12px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--sub);
}
.member-card__safe b {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--red);
  border: 1px solid var(--red-line);
  border-radius: 999px;
  padding: 1px 8px;
  margin-right: 8px;
  vertical-align: 1px;
  white-space: nowrap;
}

/* ============ 06 tasks ============ */
.tasks { display: flex; flex-direction: column; gap: 32px; }
.tasks .sec-head-row .lead { max-width: 380px; }
.task-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 130px;
  box-shadow: 0 1px 2px rgba(23,23,26,.05);
}
.task-card__title { font-size: 16px; font-weight: 900; line-height: 1.6; }
.task-card p { font-size: 13px; line-height: 1.8; color: var(--sub); }
.task-card__who { margin-top: auto; display: flex; align-items: center; gap: 8px; }
.task-card__face {
  width: 48px; height: 48px; min-width: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.task-card__face img { width: 100%; height: 100%; object-fit: cover; }
.task-card__who .pill { font-size: 11px; padding: 5px 11px; }
.task-card__who .pill--outline { padding: 4px 11px; }
.tasks__more {
  background: #fff;
  border-radius: 14px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(23,23,26,.05);
}
.tasks__more-title { font-size: 18px; font-weight: 900; color: var(--black); }
.tasks__more-text { font-size: 14px; line-height: 1.95; color: var(--sub); }

/* ============ 07 flow ============ */
.flow {
  position: relative;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.flow__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flow__dim {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.82);
  pointer-events: none;
}
.flow__inner { position: relative; display: flex; flex-direction: column; gap: 40px; }
.flow__head { display: flex; flex-direction: column; gap: 12px; }
.flow__head .lead { max-width: 640px; }
.flow__steps { gap: 12px; align-items: stretch; }
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 4px 16px rgba(23,23,26,.06);
}
.step-card__num {
  width: 30px; height: 30px; min-width: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card__body { display: flex; flex-direction: column; gap: 6px; }
.step-card__label { font-size: 11px; font-weight: 700; color: var(--cap-2); }
.step-card h3 { font-size: 17px; font-weight: 900; }
.step-card p { font-size: 14px; line-height: 1.9; color: var(--sub); }
.flow { padding-top: 150px; padding-bottom: 150px; }

/* ============ 08 dashboard ============ */
.dash-section { display: flex; flex-direction: column; gap: 36px; align-items: center; }
.dash-section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.dash-section__head .lead { max-width: 640px; text-wrap: pretty; }
.dash {
  width: 100%;
  max-width: 1000px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(23,23,26,.06);
}
.dash__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-3); }
.dash__url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--cap);
}
.dash__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.dash__titlerow { display: flex; align-items: center; justify-content: space-between; }
.dash__title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 900; }
.dash__live { font-size: 11px; font-weight: 700; color: var(--green); }
.dash__range {
  font-size: 12px;
  color: var(--cap);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 6px 12px;
}
.dash__tiles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.dash-tile { background: var(--bg); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.dash-tile__label { font-size: 12px; color: var(--cap); }
.dash-tile__value { font-size: 26px; font-weight: 900; }
.dash-tile__value small { font-size: 13px; font-weight: 700; color: var(--cap); }
.dash-tile__value--red { color: var(--red); }
.dash__tablewrap { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.dash__row {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1.8fr) minmax(0,.8fr) minmax(0,1fr);
  gap: 12px;
  padding: 13px 18px;
  font-size: 14px;
  align-items: center;
  border-bottom: 1px solid #f6f6f7;
}
.dash__row:last-child { border-bottom: none; }
.dash__row--head {
  padding: 11px 18px;
  font-size: 11px;
  color: var(--cap-2);
  letter-spacing: .06em;
  background: #fafafb;
  border-bottom: 1px solid #f0f0f2;
}
.dash__member { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.dash__member .pill { font-size: 10px; padding: 3px 8px; }
.dash__member .pill--outline { padding: 2px 8px; }
.dash__cell { color: var(--sub-2); }
.dash__state--green { color: var(--green); }
.dash__state--red { color: var(--red); }
.dash__note { font-size: 11px; color: var(--cap-2); }
.dash-section__closing { font-size: 16px; font-weight: 900; color: var(--black); }

/* ============ 09 results ============ */
.results { display: flex; flex-direction: column; gap: 24px; }
.results__block {
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.results__block--own { background: var(--red-tint); }
.results__block--own .group-label__line { background: var(--red-pale); }
.results__block--own .result-card { background: #fff; }
.results__block--own .result-kv { background: var(--bg); }
.results__block--case { background: var(--bg); }
.results__block--case .group-label__line { background: var(--line-3); }
.results__block--case .case-card { background: #fff; }
.result-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.result-card__who { display: flex; align-items: center; gap: 10px; }
.result-card__who .pill { font-size: 11px; padding: 5px 11px; }
.result-card__dept { font-size: 13px; font-weight: 700; color: var(--sub-2); }
.result-card__title { font-size: 19px; font-weight: 900; line-height: 1.7; color: var(--black); }
.result-card__kv { display: flex; gap: 12px; }
.result-kv {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.result-kv__num { font-size: 26px; font-weight: 900; }
.result-kv__num--red { color: var(--red); }
.result-kv__label { font-size: 12px; color: var(--cap); }
.case-card {
  border: 1.5px dashed var(--line-3);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case-card__tag {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--cap);
  background: var(--bg);
  border-radius: 99px;
  padding: 3px 10px;
}
.case-card__ind { font-size: 12px; color: var(--cap-2); }
.case-card__title { font-size: 17px; font-weight: 900; line-height: 1.7; }
.results__note { font-size: 12px; color: var(--cap-2); line-height: 1.9; }

/* ============ 10 safety ============ */
.safety { display: flex; flex-direction: column; gap: 36px; }
.safety-card {
  background: #52525b;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.safety-card__label { font-size: 12px; font-weight: 700; color: var(--red-soft); }
.safety-card h3 { font-size: 20px; font-weight: 900; line-height: 1.6; }
.safety-card p { font-size: 14px; line-height: 1.95; color: #c9c9cf; }

/* ============ 11 pricing ============ */
.pricing { display: flex; flex-direction: column; gap: 36px; align-items: center; }
.pricing__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.pricing__plans { max-width: 900px; width: 100%; }
.plan {
  border-radius: 18px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plan--byte { background: var(--bg); }
.plan--staff {
  background: var(--red);
  color: #fff;
  position: relative;
  box-shadow: 0 14px 40px rgba(255,59,69,.28);
}
.plan__badge {
  position: absolute;
  top: -11px;
  left: 34px;
  background: var(--black);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan__head { display: flex; flex-direction: column; gap: 6px; }
.plan__head .pill { align-self: flex-start; }
.plan__tagline { font-size: 18px; font-weight: 900; padding-top: 8px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; }
.plan__price-num { font-size: 38px; font-weight: 900; letter-spacing: -.02em; }
.plan__price-num--text { font-size: 32px; letter-spacing: .02em; }
.plan--byte .plan__price-num { color: var(--black); }
.plan__price-unit { font-size: 14px; color: var(--cap); }
.plan--staff .plan__price-unit { color: #fff; }
.plan__price-note { font-size: 12px; color: var(--sub); }
.plan__discount { font-size: 13px; font-weight: 700; color: #fff; }
.plan__divider { height: 1px; background: var(--line-2); }
.plan--staff .plan__divider { background: rgba(255,255,255,.32); }
.plan__list { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.plan--byte .plan__list { color: var(--sub-2); }
.plan--staff .plan__list { color: #fff; }
.plan__list span { display: flex; gap: 8px; }
.plan--byte .plan__list i { font-style: normal; color: var(--red); }
.plan--staff .plan__list i { font-style: normal; color: var(--red-pale); }
.plan__cta {
  display: block;
  text-align: center;
  border-radius: 999px;
  margin-top: auto;
  transition: filter .18s ease, transform .18s ease;
}
.plan__cta:hover { opacity: 1; filter: brightness(1.04); transform: translateY(-1px); }
.plan--byte .plan__cta {
  background: #fff;
  border: 1px solid var(--line-3);
  font-size: 14px;
  font-weight: 700;
  padding: 15px;
  color: var(--ink);
}
.plan--staff .plan__cta {
  background: #fff;
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
  padding: 17px;
  box-shadow: 0 6px 18px rgba(23,23,26,.18);
}
.pricing__note {
  font-size: 13px;
  color: var(--cap);
  text-align: center;
  line-height: 1.9;
  max-width: 760px;
}

/* ============ 12 FAQ ============ */
.faq {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: 56px;
  background-color: var(--bg);
}
.faq__list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line-2); }
.faq-item:last-child { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 16px;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .mark { color: var(--red); flex-shrink: 0; }
.faq-item summary .mark::before { content: "＋"; }
.faq-item[open] summary .mark::before { content: "ー"; }
.faq-item[open] summary { padding-bottom: 12px; }
.faq-item p {
  font-size: 14px;
  line-height: 2;
  color: var(--sub);
  max-width: 640px;
  padding-bottom: 24px;
}

/* ============ 13 final CTA ============ */
.final {
  position: relative;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 80px 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  overflow: hidden;
}
.final__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.final__grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 42%, rgba(255,255,255,.48) 100%);
  pointer-events: none;
}
.final__title { position: relative; font-size: 40px; font-weight: 900; line-height: 1.5; }
.final__sub { position: relative; font-size: 15px; line-height: 2; color: var(--sub); }
.final__ctas { position: relative; display: flex; gap: 12px; }
.final__ctas .btn { min-width: 234px; padding: 17px 36px; }
.final__group {
  position: relative;
  width: 100%;
  max-width: 1180px;
  height: 460px;
  margin-top: 8px;
  overflow: hidden;
}
.final__group img { width: 100%; height: 100%; object-fit: contain; }

/* ============ 14 contact modal ============ */
.contact-modal {
  border: none;
  border-radius: 20px;
  padding: 0;
  width: min(620px, 92vw);
  max-height: 88vh;
  box-shadow: 0 24px 80px rgba(23,23,26,.35);
}
.contact-modal::backdrop {
  background: rgba(23,23,26,.55);
  backdrop-filter: blur(3px);
}
.contact-modal__inner {
  position: relative;
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--bg);
  color: var(--sub);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.contact-modal__close:hover { background: var(--line-2); }
.contact__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.contact__head .lead { line-height: 1.8; }
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.f-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.f-label .req { color: var(--red); margin-left: 4px; }
.f-label input,
.f-label textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line-3);
  border-radius: 10px;
  padding: 13px 16px;
  width: 100%;
}
.f-label textarea { resize: vertical; line-height: 1.8; }
.f-label input:focus,
.f-label textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}
.contact__submit {
  border: none;
  margin-top: 6px;
  padding: 17px 34px;
  font-family: inherit;
}

/* ============ footer（derta.co.jp 準拠） ============ */
.site-footer {
  background: #101013;
  color: #d5d5d9;
  padding: 72px 48px 36px;
  font-size: 13px;
}
.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
}
.site-footer__logo img { width: 120px; height: auto; }
.site-footer__company { display: flex; flex-direction: column; gap: 6px; line-height: 1.9; }
.site-footer__name { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.site-footer__divider {
  max-width: 1180px;
  margin: 48px auto;
  height: 1px;
  background: rgba(255,255,255,.16);
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
}
.site-footer__contact { display: flex; flex-direction: column; gap: 24px; }
.site-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  background: #fff;
  color: #101013;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 999px;
}
.site-footer__cta .arr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #101013;
  color: #fff;
  font-size: 12px;
}
.site-footer__sns { display: flex; gap: 16px; align-items: center; }
.site-footer__sns a { color: #fff; display: flex; align-items: center; justify-content: center; }
.site-footer__sns svg { width: 26px; height: 26px; }
.site-footer__note {
  width: 26px;
  height: 26px;
  border: 2px solid #fff;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}
.site-footer__cols { display: flex; gap: 56px; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col a { color: #8a8a90; font-size: 13px; }
.site-footer__col a.site-footer__head { color: #fff; font-weight: 500; font-size: 16px; margin-bottom: 4px; }
.site-footer__copy {
  max-width: 1180px;
  margin: 56px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8a8a90;
  font-size: 12px;
}
.site-footer__copy a { color: #8a8a90; }

/* ============ responsive ============ */
@media (max-width: 1180px) {
  .section, .training-band, .site-header { padding-left: 28px; padding-right: 28px; }
  .site-nav { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .section, .training-band, .site-header { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 52px; padding-bottom: 52px; }
  .site-header__doc { display: none; }
  .site-header { padding-top: 14px; padding-bottom: 14px; }
  .site-header__left { gap: 16px; }
  .logo__main { font-size: 16px; }
  .logo__by { font-size: 10px; }
  .site-header__cta { padding: 10px 16px; font-size: 13px; white-space: nowrap; }
  .grid-2, .grid-3, .grid-4, .faq, .dash__tiles { grid-template-columns: 1fr; }
  .sec-head-row { flex-wrap: wrap; }
  .hero { min-height: auto; flex-direction: column; align-items: stretch; }
  .hero picture { order: 2; display: block; }
  .hero__bg { position: static; width: 100%; height: 460px; object-position: center 22%; }
  .hero__scrim { display: none; }
  .hero__copy { padding: 44px 20px 32px; max-width: none; }
  .hero__title { font-size: 38px; }
  .hero__sub br { display: none; }
  .h2, .h2--36, .h2--32 { font-size: 26px; }
  .hero__ctas, .final__ctas { flex-direction: column; align-items: stretch; }
  .training-card { flex-direction: column; align-items: flex-start; position: relative; padding-bottom: 28px; }
  .training-card__owl {
    position: absolute;
    right: 18px;
    bottom: 16px;
    width: 78px;
  }
  .result-card__kv { flex-direction: column; }
  .final__title { font-size: 26px; }
  .final__group { height: 240px; }
  .flow { padding-top: 52px; padding-bottom: 52px; }
  .issue-card__art { height: 140px; }
  .safety-card__art { height: 150px; }
  .hire-card__art { height: 180px; }
  .dash__tablewrap { overflow-x: auto; }
  .dash__table { min-width: 600px; }
  .contact-modal__inner { padding: 40px 20px 28px; }
  .site-footer { padding: 52px 20px 28px; }
  .site-footer__top, .site-footer__bottom { flex-direction: column; gap: 28px; }
  .site-footer__cols { flex-wrap: wrap; gap: 28px; }
  .site-footer__divider { margin: 32px auto; }
  .site-footer__copy { margin-top: 36px; flex-wrap: wrap; gap: 10px; }
}
