/* style.css */
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300;400;500;700;800;900&display=swap");

body {
  font-family: "M PLUS Rounded 1c", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP",
    Meiryo, sans-serif;
  background-color: #fff;
  line-height: 1.8;
}

.container {
  width: 100%;
  margin: 0 auto;
  background-color: white;
}

/* 800px以上の場合のみドロップシャドウを適用 */
@media (min-width: 801px) {
  .container {
    max-width: 800px;
    box-shadow: 15px 0 15px -5px rgba(0, 0, 0, 0.1),
      -15px 0 15px -5px rgba(0, 0, 0, 0.1);
  }
}
.fv {
  position: relative;
}

.cta-button.fv {
  margin-top: -40px;
}
.lp-section {
  width: 100%;
  display: block;
}

.lp1-section {
  position: relative;
}

.lp-section img {
  width: 100%;
  height: auto;
  display: block;
}
.lp3 {
  width: 90%;
  margin: 0 auto;
  margin-bottom: 16px;
}

.lp4 {
  margin-top: 60px;
}

.lp7 {
  margin-bottom: 40px;
}

.cta-section {
  text-align: center;
}

.cta-overlay {
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 100%;
}

.cta-section img {
  width: 100%;
}

.cta-section img:hover {
  transform: translateY(-5px);
}

.cta-section-small {
  width: 66%;
  margin: 0 auto;
  margin-top: -12px;
  margin-bottom: 12px;
}

.video-section {
  text-align: center;
}

.video-container {
  width: 90%;
  margin: 0 auto;
  position: relative;
  background-color: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  aspect-ratio: 16/9;
}

.present-section {
  background: url("img/bg.jpg") no-repeat top center / cover;
  padding-top: 30%;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 48px;
}
.cta-present {
  margin-bottom: 60px;
  margin-top: 12px;
  cursor: pointer;
}

.present2 {
  margin-top: -50px;
}

video {
  width: 100%;
  height: auto;
}

/* CTAボタンのベーススタイル */
.cta-button {
  display: inline-block;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  width: 96%;
  margin: 20px auto;
  display: block;

  /* 波打つアニメーション */
  animation: scale 2s ease 0s infinite normal;
  -webkit-animation: scale 2s ease 0s infinite normal;
  filter: drop-shadow(0px 0px 16px rgba(255, 255, 255, 0.4));
  transition: filter 0.3s ease, transform 0.2s ease;
}

.arrow {
  width: 20px;
}

.cta-button-inner {
  background: linear-gradient(135deg, #c65dba 0%, #e4497e 100%);
  color: white;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  padding: 20px 40px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(198, 93, 186, 0.3);
  border: none;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  letter-spacing: 0.12em;
}

/* 波紋効果 */
.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  animation: scale2 2s ease 0s infinite normal;
  -webkit-animation: scale2 2s ease 0s infinite normal;
  z-index: -1;
  pointer-events: none;
}

/* ホバー効果 */
.cta-button:hover {
  filter: drop-shadow(0px 0px 20px rgba(255, 255, 255, 0.6));
  transform: scale(1.02);
}

.cta-button:hover::before {
  animation-duration: 1.5s;
}

.cta-button:hover .cta-button-inner {
  background: linear-gradient(135deg, #d070c4 0%, #e85988 100%);
  box-shadow: 0 12px 35px rgba(198, 93, 186, 0.4);
}

/* アクティブ状態 */
.cta-button:active {
  transform: scale(0.98);
}

/* 波打つアニメーション */
@keyframes scale {
  0% {
    transform: scale(1, 1);
  }
  30% {
    transform: scale(0.98, 0.98);
  }
  40% {
    transform: scale(1, 1);
  }
}

/* 波紋アニメーション（モバイル用） */
@keyframes scale2 {
  35% {
    box-shadow: 0 0 0 0 rgba(198, 93, 186, 0.9), 0 0 0 0 rgba(198, 93, 186, 0.6),
      0 0 0 0 rgba(198, 93, 186, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(198, 93, 186, 0),
      0 0 0 25px rgba(198, 93, 186, 0), 0 0 0 50px rgba(198, 93, 186, 0);
  }
}

/* 小さいCTAボタン */
.cta-button-small {
  max-width: 300px;
}

.cta-button-small .cta-button-inner {
  font-size: 16px;
  padding: 15px 30px;
  min-height: 50px;
}

/* プレゼント用CTAボタン（色違い） */
.cta-button-present .cta-button-inner {
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8e9b 100%);
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.cta-button-present:hover .cta-button-inner {
  background: linear-gradient(135deg, #ff7ba7 0%, #ff9eab 100%);
  box-shadow: 0 12px 35px rgba(255, 107, 157, 0.4);
}

.cta-button-present::before {
  animation: scale2-present 2s ease 0s infinite normal;
}

@keyframes scale2-present {
  35% {
    box-shadow: 0 0 0 0 rgba(255, 107, 157, 0.9),
      0 0 0 0 rgba(255, 107, 157, 0.6), 0 0 0 0 rgba(255, 107, 157, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 107, 157, 0),
      0 0 0 25px rgba(255, 107, 157, 0), 0 0 0 50px rgba(255, 107, 157, 0);
  }
}

/* レスポンシブ対応 */
@media screen and (max-width: 480px) {
  .cta-button-inner {
    padding: 18px 20px;
  }

  .cta-button-small .cta-button-inner {
    font-size: 15px;
    padding: 12px 20px;
  }
}

@media screen and (min-width: 768px) {
  /* PC用の大きな波紋アニメーション */
  @keyframes scale2 {
    0%,
    33% {
      box-shadow: 0 0 0 0 rgba(198, 93, 186, 0.9),
        0 0 0 0 rgba(198, 93, 186, 0.6), 0 0 0 0 rgba(198, 93, 186, 0.5);
    }
    35% {
      box-shadow: 0 0 0 2px rgba(198, 93, 186, 0.9),
        0 0 0 0 rgba(198, 93, 186, 0.6), 0 0 0 0 rgba(198, 93, 186, 0.5);
    }
    70% {
      box-shadow: 0 0 0 30px rgba(198, 93, 186, 0),
        0 0 0 70px rgba(198, 93, 186, 0), 0 0 0 120px rgba(198, 93, 186, 0);
    }
  }

  /* プレゼントボタン用のPC波紋アニメーション */
  @keyframes scale2-present {
    0%,
    20% {
      box-shadow: 0 0 0 0 rgba(255, 107, 157, 0.9),
        0 0 0 0 rgba(255, 107, 157, 0.6), 0 0 0 0 rgba(255, 107, 157, 0.5);
    }
    35% {
      box-shadow: 0 0 0 2px rgba(255, 107, 157, 0.9),
        0 0 0 0 rgba(255, 107, 157, 0.6), 0 0 0 0 rgba(255, 107, 157, 0.5);
    }
    70% {
      box-shadow: 0 0 0 30px rgba(255, 107, 157, 0),
        0 0 0 70px rgba(255, 107, 157, 0), 0 0 0 120px rgba(255, 107, 157, 0);
    }
  }

  .cta-button-inner {
    min-height: 140px;
    font-size: 2.5rem;
    width: 90%;
    margin: 0 auto;
    border-radius: 100px;
  }

  .cta-button::before {
    border-radius: 100px;
  }

  /* ホバー時の波紋も大きく */
  .cta-button:hover {
    filter: drop-shadow(0px 0px 40px rgba(255, 255, 255, 0.6));
  }

  .cta-button:hover .cta-button-inner {
    box-shadow: 0 24px 70px rgba(198, 93, 186, 0.4);
  }

  .cta-button-present:hover .cta-button-inner {
    box-shadow: 0 24px 70px rgba(255, 107, 157, 0.4);
  }

  /* 小さいボタンのPC対応 */
  .cta-button-small .cta-button-inner {
    min-height: 110px;
    font-size: 2rem;
    border-radius: 80px;
  }

  .cta-button-small::before {
    border-radius: 80px;
  }
  .video-section {
    padding: 40px 20px;
  }
  .lp4 {
    margin-top: 120px;
  }
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
  .cta-button {
    animation: none;
  }

  .cta-button::before {
    animation: none;
  }
}
