/* =====================
   リセット
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =====================
   ベース
===================== */
body {
  /*background: #ffd2d2;*/
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #000000;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* =====================
   LP全体
===================== */
.lp-wrap {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
}


/* =====================
   FV画像
===================== */
.FV {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================
   FV動画
===================== */

.fv-video-wrap {
    position: relative;
}

.fv-bg {
    display: block;
    width: 100%;
}

.fv-gif {
    position: absolute;
    top: 63%;
    left: 50%;
    width: 89%;

    transform: translateX(-50%);
    z-index: 10;
}


/* =====================
   テキスト共通
===================== */
.text-wrap {
  max-width: 600px;
  width: 95%;
  margin: 0 auto;
  text-align: center;
}

.margin {
  margin: 40px 0;
}

h1 {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.2;
}


h1.text-md {
  font-size: 24px
}

.maincopy {
  font-size: 4em;
  color: #e50012;
  display: inline-block;
  position: relative;
  line-height: 1.1;

  /* 上下左右・斜めの8方向に1pxの黒い影を配置 */
  text-shadow:
    /* 【内側】1px分：黄色の縁線 */
    1px 1px 0 #fff000, -1px -1px 0 #fff000,
    -1px 1px 0 #fff000, 1px -1px 0 #fff000,
    0px 1px 0 #fff000, 0px -1px 0 #fff000,
    1px 0px 0 #fff000, -1px 0px 0 #fff000,

    /* 【外側】2px分：黒色の縁線（追加部分） */
    4px 4px 0 #000, -4px -4px 0 #000,
    -4px 4px 0 #000, 4px -4px 0 #000,
    0px 4px 0 #000, 0px -4px 0 #000,
    4px 0px 0 #000, -4px 0px 0 #000;
}

h2 {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.4;
}

h3 {
  font-size: 40px;
}

p {
  font-size: 35px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 30px;
  /* 上の余白 */
  margin-bottom: 30px;
  /* 下の余白 */

}

p.annotation {
  font-size: 10px;
  line-height: 1.4;
  margin: 10px 0;
  color: #666;
  text-align: left;
}

sup {
  font-size: 20px;
  line-height: 1.4;
  margin: 10px 0;
  color: #3d3d3d;
  text-align: left;
}



/* =====================
   強調系
===================== */
.red {
  color: #e50012;
}

.friend {
  font-size: 42px;
  line-height: 1.2;
  color: #e50012;
  background: linear-gradient(transparent 60%, #fff176 60%);
  display: inline-block;
  padding: 0 5px;
  margin: 10px 0;
}

h4.redtitle {
  font-size: 45px;
  color: #e50012;
  line-height: 1.2;
  margin: 15px 0;
}

/* =====================
   リスト
===================== */
.list,
.check-list {
  padding: 16px;
  list-style: none;
  display: inline-block;
  text-align: left;
}

.list li,
.check-list li {
  font-size: 28px;
  font-weight: 600;
  position: relative;
  padding-left: 44px;
  margin-bottom: 10px;
}

/* チェックボックス */
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border: 2.5px solid #000;
  background: #fff;
}

.check-list li::after {
  content: "✔";
  position: absolute;
  left: 2.5px;
  top: -1px;
  color: red;
  font-size: 18px;
  font-weight: bold;
}

/* =====================
   超進化
===================== */

.evolution {
  font-size: 11em;
  color: #e50012;
  display: inline-block;
  position: relative;
  text-shadow: 2px 2px 0px #fff, 8px 8px 0px rgba(0, 0, 0, 0.9);
}

/* =====================
   矢印
===================== */
.arrow {
  font-size: 40px;
  font-weight: 700;
  color: #e50012;
  text-align: center;
  margin: 20px 0;
  display: block;
  animation: bounce 1.5s infinite;
}

/* =========================================
   2枚の画像を100%サイズでぴったり重ねる設定
========================================= */

/* 1. 外側の箱 */
.arrow-block-set {
  width: 100%;
  position: relative;
  /* 中の画像を重ねる基準 */
  overflow: hidden;
}

/* 2. 下に敷く背景画像 */
.arrow-block-set .bg-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 3. 上に重ねる矢印画像（JPGに対して100%サイズ） */
.arrow-block-set .scroll-arrow-img {
  width: 60%;
  height: auto;

  /* ★上下左右の「真ん中」に固定する設定 */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* これが重要です */

  /* アニメーション */
  animation: arrowUpDown 1.8s ease-in-out infinite;
  z-index: 10;
}

@keyframes arrowUpDown {

  0%,
  100% {
    /* 上下左右中央を維持 */
    transform: translate(-50%, -50%) translateY(0);
  }

  50% {
    /* 中央から上に10pxふわっと動く */
    transform: translate(-50%, -50%) translateY(-30px);
  }
}

/* =====================
   画像
===================== */
.content {
  width: 100%;
  margin: 10px auto;
}


/* =====================
   アンケートエリア
===================== */
.area {
  max-width: 600px;
  width: 100%;
  margin: 40px auto;
  position: relative;
}

.base {
  width: 100%;
}

.btn-group {
  position: absolute;
  width: 120%;
  left: -63px;
}

.btn {
  width: 82%;
  margin: 1% auto;
  cursor: pointer;
  transition: 0.2s;
}

.btn:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

.btn.active {
  outline: 4px solid #ffba59;
  outline-offset: -5px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(179, 146, 0, 0.6);
  transform: scale(1.05);
  position: relative;
  z-index: 10;
}

/* 位置調整 */
.group1 {
  top: 23%;
}

.group2 {
  top: 52.3%;
}

.group3 {
  top: 92%;
}

/* =====================
   CTA
===================== */
.cta-btn {
  display: block;
  text-decoration: none;
  margin: 20px 0;
}

.bounce {
  animation: bounce 1.5s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* =====================
   フッター
===================== */
.footer {
  padding: 40px 0;
  border-top: 1px solid #eee;
  margin-top: 40px;
}

.footer div {
  margin-bottom: 10px;
}

/* =====================
   補助
===================== */
.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

/* =====================
   画像重ねFV
===================== */
.image-FV-wrap {
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}

.base-img {
  width: 100%;
}

.overlay-img {
  position: absolute;
  top: 38.5%;
  left: 98%;
  width: 95%;
  transform: translate(-100%);
}

/* =====================
   画像重ね2
===================== */
.image-wrap {
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}

.base-img2 {
  width: 100%;
}

.overlay-img2 {
  position: absolute;
  top: 72%;
  left: 87.5%;
  width: 74%;
  transform: translate(-100%);
}

/* =====================
   空白
===================== */
.section {
  margin-top: 70px;
  margin-bottom: 40px;
}

/* =====================
   フローティングバナー
===================== */

.floating-banner {
  position: fixed;
  bottom: 20px;
  /* 画面下部からの距離 */
  /* right: 50px; を削除 */
  left: 50%;
  /* 画面の左端から50%の位置に配置 */
  transform: translateX(-50%);
  /* バナー自身の幅の半分だけ左にずらして中央に */

  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  width: 800px;
  /* ※注意：下のTipsを読んでください */
  cursor: pointer;
}

/* バナー画像が枠からはみ出さないように設定 */
.floating-banner img {
  width: 70%;
  height: auto;
  display: block;
  margin: 0 auto;
  /* 画像自体も枠内の中央に寄せる */
}

/* JavaScriptでこのクラスがついたら表示する */
.floating-banner.is-show {
  opacity: 1;
  visibility: visible;
}





/* =====================
   スマホ
===================== */
@media screen and (max-width: 768px) {

  h1 {
    font-size: 47px;
  }

  .maincopy {
    font-size: 3em;
    color: #e50012;
    display: inline-block;
    position: relative;
    line-height: 1.1;
    /* 文字を斜体にする */
    font-style: italic;

    /* 上下左右・斜めの8方向に1pxの黒い影を配置 */
    text-shadow:
      /* 【内側】1px分：黄色の縁線 */
      1px 1px 0 #fff000, -1px -1px 0 #fff000,
      -1px 1px 0 #fff000, 1px -1px 0 #fff000,
      0px 1px 0 #fff000, 0px -1px 0 #fff000,
      1px 0px 0 #fff000, -1px 0px 0 #fff000,

      /* 【外側】2px分：黒色の縁線（追加部分） */
      4px 4px 0 #000, -4px -4px 0 #000,
      -4px 4px 0 #000, 4px -4px 0 #000,
      0px 4px 0 #000, 0px -4px 0 #000,
      4px 0px 0 #000, -4px 0px 0 #000;

  }


  h1.text-md {
    font-size: 15px
  }

  /* =====================
   テキスト共通
===================== */
  .text-wrap {
    max-width: 600px;
    width: 95%;
    margin: 0 auto;
    text-align: center;
  }

  .margin {
    margin: 40px 0;
  }

  h1 {
    font-size: 35px;
    font-weight: 800;
    line-height: 1.2;
  }


  h1.text-md {
    font-size: 24px
  }

  .maincopy {
    font-size: 4em;
    color: #e50012;
    display: inline-block;
    position: relative;
    line-height: 1.1;

    /* 上下左右・斜めの8方向に1pxの黒い影を配置 */
    text-shadow:
      /* 【内側】1px分：黄色の縁線 */
      1px 1px 0 #fff000, -1px -1px 0 #fff000,
      -1px 1px 0 #fff000, 1px -1px 0 #fff000,
      0px 1px 0 #fff000, 0px -1px 0 #fff000,
      1px 0px 0 #fff000, -1px 0px 0 #fff000,

      /* 【外側】2px分：黒色の縁線（追加部分） */
      4px 4px 0 #000, -4px -4px 0 #000,
      -4px 4px 0 #000, 4px -4px 0 #000,
      0px 4px 0 #000, 0px -4px 0 #000,
      4px 0px 0 #000, -4px 0px 0 #000;
  }

  h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
  }

  h3 {
    font-size: 23px;
  }

  p {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 30px;
    /* 上の余白 */
    margin-bottom: 30px;
    /* 下の余白 */

  }

  p.annotation {
    font-size: 10px;
    line-height: 1.4;
    margin: 10px 0;
    color: #666;
    text-align: left;
  }

  sup {
    font-size: 10px;
    line-height: 1.4;
    margin: 10px 0;
    color: #3d3d3d;
    text-align: left;
  }


/* =====================
   超進化
===================== */

.evolution {
  font-size: 6.8em;
  color: #e50012;
  display: inline-block;
  position: relative;
  text-shadow: 1px 1px 0px #fff, 6px 6px 0px rgba(0, 0, 0, 0.9);
}



  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }


  .group1 {
    top: 24.4%;
  }

  .group2 {
    top: 54%;
  }

  .group3 {
    top: 92%;
  }


  /* チェックリスト */

  .list li,
  .check-list li {
    font-size: 18px;
    padding-left: 42px;
    margin-bottom: 10px;
    line-height: 1.6;
  }

  .check-list {
    padding: 12px;
  }

  .check-list li {
    font-size: 18px;
    padding-left: 42px;
    margin-bottom: 10px;
    line-height: 1.6;
  }

  .check-list li::before {
    width: 18px;
    height: 18px;
    top: 4px;
  }

  .check-list li::after {
    font-size: 24px;
    left: 2px;
    top: -5px;
  }


  /* =====================
   空白
===================== */
  .section {
    margin-top: 30px;
    margin-bottom: 20px;
  }

  /* =====================
   FV画像
===================== */
  .FV {
    width: 100%;
    height: auto;
    display: block;
  }

  /* =====================
   注釈
===================== */
  .annotation {
    font-size: 6px;
    line-height: 1.4;
    margin: 10px 0;
    color: #666;
    text-align: left;
  }

  /* =====================
   フローティングバナー
===================== */

  .floating-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    
    /* ❌ width: 600px; から以下に変更 */
    width: 90%; /* 画面幅の90%のサイズにして左右に少し余白を作る */
    max-width: 400px; /* 大きくなりすぎないようにストッパーをかける */
    
    cursor: pointer;
  }

  /* バナー画像の設定 */
  .floating-banner img {
    /* ❌ width: 45%; から以下に変更 */
    width: 100%; /* バナーの枠（最大400px）いっぱいに画像を表示 */
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* JavaScript用クラス */
  .floating-banner.is-show {
    opacity: 1;
    visibility: visible;
  }

/* =====================
   アンケートエリア
===================== */
.area {
  max-width: 600px;
  width: 100%;
  margin: 40px auto;
  position: relative;
}

.base {
  width: 100%;
}

.btn-group {
  position: absolute;
  width: 120%;
  left: -39px;
}

.btn {
  width: 80%;
  margin: 1% auto;
  cursor: pointer;
  transition: 0.2s;
}

.btn:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

.btn.active {
  outline: 4px solid #ffba59;
  outline-offset: -5px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(179, 146, 0, 0.6);
  transform: scale(1.05);
  position: relative;
  z-index: 10;
}

/* 位置調整 */
.group1 {
  top: 23%;
}

.group2 {
  top: 52.3%;
}

.group3 {
  top: 92%;
}


  /* =========================================
   2枚の画像を100%サイズでぴったり重ねる設定
========================================= */

  /* 1. 外側の箱 */
  .arrow-block-set {
    width: 100%;
    position: relative;
    /* 中の画像を重ねる基準 */
    overflow: hidden;
  }

  /* 2. 下に敷く背景画像 */
  .arrow-block-set .bg-img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* 3. 上に重ねる矢印画像（JPGに対して100%サイズ） */
  .arrow-block-set .scroll-arrow-img {
    width: 60%;
    height: auto;

    /* ★上下左右の「真ん中」に固定する設定 */
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* これが重要です */

    /* アニメーション */
    animation: arrowUpDown 1.8s ease-in-out infinite;
    z-index: 10;
  }

  @keyframes arrowUpDown {

    0%,
    100% {
      /* 上下左右中央を維持 */
      transform: translate(-50%, -50%) translateY(0);
    }

    50% {
      /* 中央から上に10pxふわっと動く */
      transform: translate(-50%, -50%) translateY(-30px);
    }
  }

}