@charset "UTF-8";
/* ==========================================================================
   CTA1 — Figma 10202:20084 / 1440x918
   上端の白いフキダシ形状はカンプの画像fillをimageTransformで実寸化したもの
   ========================================================================== */

.cta1 {
  position: relative;
  padding: 160px 200px 100px;
  background: var(--c-main);
  overflow: hidden;
}

/* 上端の白い波形＋フキダシの尾（カンプ実測: 尾の最下点 x810 / y117） */
.cta1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: url("../../img/cta1-top.png") no-repeat top center;
  background-size: 100% 100%;
  pointer-events: none;
}

.cta1__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: var(--w-slim);
  margin-inline: auto;
}

/* --- 見出し＋リード（縦gap28 / 見出し内gap20） --- */
.cta1__head {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

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

/* --- 白カード --- */
.cta1__card {
  position: relative;
  padding: 48px 100px;
  border-radius: 16px;
  background: var(--c-white);
}

.cta1__body {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cta1__workers {
  flex-shrink: 0;
  width: 352px;
  height: 300px;
}

.cta1__panel {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 464px;
}

.cta1__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta1__line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.96px;
  color: var(--c-text);
  white-space: nowrap;
}
.cta1__line--center { display: block; text-align: center; }

/* 黄色マーカー（カンプ: 下から30%だけ不透明） */
.cta1__mark {
  padding: 0 2px;
  background: linear-gradient(to top, var(--c-accent-yellow) 30%, transparent 30%);
  color: var(--c-accent);
}

/* --- LINEボタン（カンプ 464x80 / padding 16,90,16,80） --- */
.cta1__btn {
  position: relative;
  width: 464px;
  height: 80px;
  padding: 16px 90px 16px 80px;
  gap: 8px;
  font-size: 20px;
  letter-spacing: 0.4px;
}
.cta1__btn .c-btn__icon { width: 48px; height: 48px; }

.cta1__btn-badge {
  position: absolute;
  bottom: calc(100% - 16px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 213px;
  height: 35px;
  border: 2px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.32px;
  color: var(--c-line);
  white-space: nowrap;
}
.cta1__btn-badge::after {
  content: "";
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 6px 7px 0 7px;
  border-color: var(--c-white) transparent transparent transparent;
}

/* --- 装飾（カード外にはみ出す） --- */
.cta1__deco { position: absolute; z-index: 2; }
.cta1__deco--helmet { top: 387px; left: 1110px; width: 171px; height: 126px; }
.cta1__deco--drill  { top: 706px; left: 159px;  width: 113px; height: 144px; }

/* --------------------------------------------------
   中間幅（769〜1365px）
   -------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1365px) {
  .cta1 { padding-inline: 40px; }
  .cta1__deco { display: none; }
  .cta1__card { padding-inline: 40px; }
  .cta1__body { justify-content: center; }
  .cta1__workers { width: 300px; height: auto; }
  .cta1__panel { width: auto; max-width: 464px; }
  .cta1__btn { width: 100%; max-width: 464px; padding-inline: 40px; }
}

/* --------------------------------------------------
   SP（〜768px）
   -------------------------------------------------- */
@media (max-width: 768px) {
  .cta1 { padding: 70px 0 56px; }
  .cta1::before { height: 60px; }
  .cta1__inner { gap: 32px; padding-inline: var(--sp-pad); }

  .cta1__head { gap: 16px; }
  .cta1__title { font-size: 22px; letter-spacing: 0.44px; }
  .cta1__lead { font-size: 14px; letter-spacing: 0.28px; text-align: left; }

  .cta1__card { padding: 24px 16px 28px; border-radius: 12px; }
  .cta1__body { flex-direction: column; gap: 8px; }
  .cta1__workers { width: 100%; max-width: 280px; height: auto; }
  .cta1__panel { width: 100%; gap: 24px; align-items: center; }

  .cta1__line { font-size: 16px; letter-spacing: 0.32px; white-space: normal; }
  .cta1__copy { gap: 4px; text-align: center; }

  .cta1__btn {
    width: 100%;
    max-width: 335px;
    height: 64px;
    padding: 12px 20px 12px 16px;
    font-size: 16px;
  }
  .cta1__btn .c-btn__icon { width: 40px; height: 40px; }
  .cta1__btn-badge { width: 190px; height: 30px; font-size: 13px; }

  .cta1__deco { display: none; }
}
