
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #fff;
}

* {
  box-sizing: border-box;
}

.lp {
  width: 100%;
}

.container {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}

.container img {
  display: block;
  width: 100%;
  height: auto;
}

/* 画像を基準にボタンを重ねる */
.img-box {
  position: relative;
  width: 100%;
}

.img-box > img {
  display: block;
  width: 100%;
  height: auto;
}

/* 通常ボタン */
.btn-overlay {
  position: absolute;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
  width: 88%;
  display: block;
  z-index: 2;
  animation: pulse 2s infinite;
}

.btn-overlay img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

/* 通常ボタンのアニメーション */
@keyframes pulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.05);
  }
}

/* 固定CTA */
.fixed-cta {
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: 92%;
  max-width: 750px;
  z-index: 9999;
  display: none;
  animation: float 2s ease-in-out infinite;
}

/* 表示時 */
.fixed-cta.is-visible {
  display: block;
}

/* 固定CTAの中のリンク */
.fixed-cta a {
  display: block;
  width: 100%;
}

/* 固定CTA画像 */
.fixed-cta img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
}

/* 固定CTAアニメーション */
@keyframes float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}