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

* {
  box-sizing: border-box;
}

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

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

/* ボタン重ね用 */
.img-box {
  position: relative;
}

/* 画像上のボタン */
.img-box a {
  position: absolute;
  left: 50%;
  bottom: 1%;
  transform: translateX(-50%);
  width: 88%;
  animation: pulse 2s ease-in-out infinite;
}

.btn {
  width: 100%;
  display: block;
}

/* 固定フッターボタン */
.fixed-cta {
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: 92%;
  max-width: 750px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.fixed-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.fixed-cta a {
  display: block;
  animation: pulseFixed 2s ease-in-out infinite;
}

.fixed-cta img {
  width: 100%;
  display: block;
}

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

@keyframes pulseFixed {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

.footer {
  text-align: center;
  padding: 20px 10px 40px;
  font-size: 12px;
  color: #666;
  background: #fff;
}

.footer-inner a {
  color: #666;
  text-decoration: none;
  margin: 0 5px;
}

.footer-inner a:hover {
  text-decoration: underline;
}