@charset "UTF-8";
/* ==========================================================================
   CTA2 / footer — Figma 10202:20825 (1440x498) / 10202:20984 (1440x48)
   ========================================================================== */

.cta2 {
  position: relative;
  padding: 60px 100px 48px;
  background: var(--c-white);
}

.cta2__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: var(--w-wide);
  margin-inline: auto;
  padding: 64px 100px;
  border-radius: 16px;
  background: #0B5728;
  overflow: hidden;
}

/* 背景パターンはカンプ実測どおり不透明度15%で重ねる */
.cta2__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../../img/cta2-bg.png") no-repeat center / cover;
  opacity: .15;
  pointer-events: none;
}
.cta2__head,
.cta2__actions { position: relative; z-index: 1; }

.cta2__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cta2__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 1.6px;
  color: var(--c-white);
  text-align: center;
}

.cta2__lead {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.36px;
  color: var(--c-white);
  text-align: center;
}

.cta2__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta2__btn {
  position: relative;
  width: 318px;
  height: 72px;
}

/* 走る作業員（カードの左右にはみ出す。カンプ 45,284 / 1171,284） */
.cta2__worker {
  position: absolute;
  z-index: 2;
  top: 284px;         /* カンプ実測（セクション基準） */
  width: 232px;
  height: 232px;
}
.cta2__worker--left  { left: 45px; }
.cta2__worker--right { left: 1171px; }

/* --- footer --- */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  background: var(--c-base-gray);
}

.footer__copy {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.28px;
  color: var(--c-text);
}

/* --------------------------------------------------
   中間幅（769〜1365px）
   -------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1365px) {
  .cta2 { padding: 48px 40px; }
  .cta2__card { padding: 48px 40px; }
  .cta2__worker { display: none; }
}

/* --------------------------------------------------
   SP（〜768px）
   -------------------------------------------------- */
@media (max-width: 768px) {
  .cta2 { padding: 40px var(--sp-pad) 40px; }
  .cta2__card { gap: 24px; padding: 32px 16px; border-radius: 12px; }
  .cta2__head { gap: 14px; }
  .cta2__title { font-size: 22px; letter-spacing: 0.44px; }
  .cta2__lead { font-size: 14px; letter-spacing: 0.28px; }

  .cta2__actions { flex-direction: column; gap: 28px; width: 100%; }
  .cta2__btn { width: 100%; max-width: 300px; height: 64px; }
  .cta2__btn .c-btn__icon { width: 40px; height: 40px; }

  .cta2__worker { display: none; }

  .footer { height: auto; padding: 14px var(--sp-pad); }
  .footer__copy { font-size: 12px; letter-spacing: 0.24px; text-align: center; }
}
