/* 共通CTA「カンタン申込」スタイル（top.css より抽出。下層ページ共有用） */
.cta-apply {
  padding: 50px 50px;
  display: flex;
  justify-content: center;
  background: #fff;
}
.cta-apply__card {
  position: relative;
  width: 100%;
  max-width: 1820px;
  height: 481px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  isolation: isolate;
}
.cta-apply__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #ffd447;
  /* 市松模様（チェッカーパターン）— 2枚の45度グラデを重ねて格子化 */
  background-image:
    linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.35) 25%,
      transparent 25%,
      transparent 75%,
      rgba(255, 255, 255, 0.35) 75%
    ),
    linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.35) 25%,
      transparent 25%,
      transparent 75%,
      rgba(255, 255, 255, 0.35) 75%
    );
  background-size: 120px 120px;
  background-position:
    0 0,
    60px 60px;
}
.cta-apply__content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
.cta-apply__title {
  margin: 0;
  padding: 0;
  text-align: center;
  line-height: 0;
}
.cta-apply__title img {
  display: inline-block;
  width: auto;
  height: 104px; /* Figma実寸：1148×208 @2x → 574×104 */
  max-width: 100%;
}
.cta-apply__lead {
  margin: 0;
  font-family: var(--font-jp-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  color: #006d83;
  text-align: center;
}
.cta-apply__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 295px;
  padding: 20px 60px;
  background: linear-gradient(90deg, #1fa6c1 0%, #006d83 100%);
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-jp-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.15s var(--ease),
    filter 0.15s var(--ease);
}
.cta-apply__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  opacity: 1;
}
.cta-apply__btn-arrow {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.cta-apply__illust {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.cta-apply__illust--left {
  left: 100px;
  top: 189px;
  width: 214px;
  height: 292px;
}
.cta-apply__illust--right {
  right: 121px;
  bottom: 0;
  width: 301px;
  height: 280px;
}
@media (max-width: 767px) {
  .cta-apply {
    padding: 0 20px 40px;
  }
  .cta-apply__card {
    height: auto;
    border-radius: 12px;
  }
  .cta-apply__bg {
    background-size: 60px 60px;
    background-position:
      0 0,
      30px 30px;
  }
  .cta-apply__card {
    padding-bottom: 170px;
  }
  .cta-apply__content {
    padding-bottom: 60px !important;
  }
  .cta-apply__illust {
    position: absolute;
    top: auto;
    bottom: 0;
    height: 160px;
    object-fit: contain;
    object-position: center bottom;
    z-index: 2;
  }
  .cta-apply__illust--left {
    left: -30px;
    right: auto;
  }
  .cta-apply__illust--right {
    right: -50px;
    left: auto;
  }
  .cta-apply__content {
    padding: 40px 20px;
    gap: 24px;
  }
  .cta-apply__title img {
    height: auto;
    max-height: 64px;
    width: auto;
  }
  .cta-apply__lead {
    font-size: 14px;
    line-height: 1.7;
  }
  .cta-apply__lead br {
    display: none;
  }
  .cta-apply__btn {
    width: 100%;
    max-width: 295px;
    padding: 16px 20px;
    font-size: 14px;
  }
  .cta-apply__btn-arrow {
    width: 24px;
    height: 24px;
  }
}
