/*-- キャンペーンの申し込みはこちらへ ボタンのCSS --*/
.ta-campaign-apply {
  justify-content: center;
  width: 100%;
}

.ta-campaign-apply {
  --bg1: rgba(255, 165, 0, .88);
  --bg2: rgba(255, 94, 0, .88);
  --blur: 14px;
}

.ta-campaign-apply__cta {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 820px;
  padding: clamp(16px, 3vw, 36px) clamp(20px, 4vw, 48px);

  font: 700 clamp(18px, 3vw, 30px) / 1.2 system-ui, -apple-system, Segoe UI,
        Roboto, Helvetica, Arial, 'Hiragino Kaku Gothic ProN', 'Yu Gothic',
        Meiryo, sans-serif;
  text-decoration: none;
  color: #fff;

  min-height: 60px;
  max-height: 126px;
  box-sizing: border-box;

  background: linear-gradient(135deg, var(--bg1), var(--bg2));
  backdrop-filter: blur(var(--blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);

  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, .22),
    inset 0 1px rgba(255, 255, 255, .45);

  position: relative;
  overflow: hidden;

  transition:
    transform .25s ease,
    box-shadow .25s ease;
  will-change: transform;
  margin: 0 auto;
}

.ta-campaign-apply__fx {
  position: absolute;
  top: 0;
  left: 0;
  width: 52%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0));
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
  transition: transform .6s ease;
}

/* hover */
.ta-campaign-apply__cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(255, 140, 0, .45),
    inset 0 1px rgba(255, 255, 255, .45);
}
.ta-campaign-apply__cta:hover .ta-campaign-apply__fx {
  transform: translateX(180%) skewX(-20deg);
}

.ta-campaign-apply__cta:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, .35);
}

.ta-campaign-apply__cta:active:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 12px 28px rgba(255, 140, 0, .4),
    inset 0 1px rgba(255, 255, 255, .45);
}

.ta-campaign-apply__cta:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 165, 0, .35),
    0 8px 24px rgba(0, 0, 0, .22),
    inset 0 1px rgba(255, 255, 255, .45);
}

@media (prefers-reduced-motion: reduce) {
  .ta-campaign-apply__cta,
  .ta-campaign-apply__fx {
    transition: none;
  }
  .ta-campaign-apply__cta:hover,
  .ta-campaign-apply__cta:active,
  .ta-campaign-apply__cta:active:hover {
    transform: none;
  }
}
/*----------------------------------------------*/