:root {
  --lp-max-width: 750px;
  --page-bg: #ffffff;

  /* CTA調整用: 2枚目画像下部の緑ボタンに透明リンクを重ねています */
  --cta-live-left: 4.2%;
  --cta-live-right: 4.2%;
  --cta-live-top: 88.15%;
  --cta-live-height: 11.33%;
  --cta-live-radius: 999px;
  --cta-live-zoom-scale: 1.055;
  --cta-live-zoom-speed: 1.45s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-width: 320px;
  background: var(--page-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page-bg);
  -webkit-text-size-adjust: 100%;
}

/* PCでは最大750px、スマホでは画面幅いっぱいで自然に縮小します */
.lp {
  width: min(100%, var(--lp-max-width));
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

/* 画像同士のつなぎ目に余白が出ないようにします */
.lp-section {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.lp-section img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

/* CTAリンク領域。リンク先はindex.html側のhrefで変更できます */
.cta-button {
  position: absolute;
  z-index: 2;
  display: block;
  min-height: 52px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 90, 45, 0.18);
}

.cta-button--live {
  left: var(--cta-live-left);
  right: var(--cta-live-right);
  top: var(--cta-live-top);
  height: var(--cta-live-height);
  border-radius: var(--cta-live-radius);
  overflow: visible;
  transform-origin: center center;
}

/* CTA画像だけを重ねてズームさせます */
.cta-button .cta-button__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  animation: cta-image-zoom-up-down var(--cta-live-zoom-speed) ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

@keyframes cta-image-zoom-up-down {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(var(--cta-live-zoom-scale));
  }
}

.cta-button:focus-visible {
  outline: 3px solid rgba(0, 80, 180, 0.75);
  outline-offset: 4px;
}

/* #formへの仮リンク用アンカー。フォーム設置時はこの位置を差し替えてください */
.form-anchor {
  width: 100%;
  height: 1px;
}
