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

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

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

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

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

h1 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin: 25px 0;
}

h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin: 20px 0;
}

h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin: 20px 0;
}

p {
  font-size: 18px;
  line-height: 1.6;
  margin: 15px 0;
}

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

.red {
  color: #e50012;
}

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

/* =====================
   超進化（evolution）
===================== */
/* 見出し全体 */
.text-wrap h3 {
  margin: 30px 0;
  line-height: 1.2;
}

/* 「超進化」という文字単体への装飾 */
.evolution {
  font-size: 3em;       
  color: #e50012;        
  display: inline-block;
  position: relative;
  /* 文字の影で奥行きを出す */
  text-shadow: 2px 2px 0px #fff, 4px 4px 0px rgba(229, 0, 18, 0.2);
}

/* スマホ版の調整 */
@media screen and (max-width: 768px) {
  .evolution {
    font-size: 1.3em;      /* スマホでも画面からはみ出さないサイズ */
  }
}

/* アニメーションを矢印にも適用する場合 */
.arrow {
  font-size: 40px;
  font-weight: 700;
  color: #e50012;
  text-align: center;
  margin: 30px 0;
  display: block;
  animation: bounce 1.5s infinite; /* 購入ボタンと同じ動き */
}

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

/* =====================
   選択エリア（アンケート）
===================== */
.area {
  max-width: 600px;
  width: 100%;
  margin: 40px auto;
  position: relative;
  /* ボタンの配置基準 */
}

.base {
  width: 100%;
  height: auto;
}

.btn-group {
  position: absolute;
  width: 100%;
  left: 0;
}

.btn {
  width: 80%;
  /* スマホでも画像幅に収まるよう調整 */
  margin: 1% auto;
  /* 固定pxから%に変更 */
  cursor: pointer;
  transition: 0.2s;
}

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

/* 選択されたボタンのスタイル（かなり強調） */
.btn.active {
  outline: 3px 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;
}

/* 選択された際、他のボタンより少し暗くして目立たせる（任意） */
.btn-group img {
  transition: all 0.3s ease;
}

/* 位置調整（画像内の各設問の位置に合わせて%で指定） */
.group1 {
  top: 23%;
}

.group2 {
  top: 53.6%;
}

.group3 {
  top: 93%;
}

/* =====================
   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;
}

/* =====================
   スマホ最適化
===================== */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 19px;
  }

  h3 {
    font-size: 24px;
  }

  p {
    font-size: 16px;
  }


  /* スマホでのボタン位置微調整が必要な場合はこちらで */
  .group1 {
    top: 23.4%;
  }

  .group2 {
    top: 53%;
  }

  .group3 {
    top: 93%;
  }
}

/* --- PC版（デフォルト）は改行を無効化 --- */
.sp-only {
  display: none;
}

/* --- スマホ版（768px以下など）で改行を有効化 --- */
@media screen and (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  /* 見出しの調整 */
  h3.red {
    font-size: 35px;
    line-height: 1.2;
    /* 行間が空きすぎないよう調整 */
    margin: 15px 0;
  }


  /* ★ここを追加：注釈を小さくする */
  h3.red sup {
    font-size: 0.4em;
    /* 親の文字サイズに対して40%の大きさに */
    vertical-align: super;
    /* 上付き位置の微調整 */
    margin-left: 2px;
  }
}

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

/*======= cta =======*/
.cta{ 
  position: relative;
}
.cta .btn_cart.teiki{
  position: absolute;
  left: 5%;
  width: 90%;
}

.cta .btn_cart.teiki.honeybrown{
  top: 1%;
}
.cta .btn_cart.teiki.rosebrown{
  top: 20%;
}
.cta .btn_cart.teiki.marronbrown{
  top: 36%;
}
.cta .btn_cart.teiki.darkbrown{
  top: 54%;
}
.cta .btn_cart.teiki.black{
  top: 74%;
}

.cta.short .btn_cart.teiki{
  top: 74.5%
}
.btn_cart.anime {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-animation-name: hvr-pop;
  animation-name: hvr-pop;
  -webkit-animation-duration: 1.25s;
  animation-duration: 1.25s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
@-webkit-keyframes hvr-pop {
  50% {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
}
@keyframes hvr-pop {
	10% {
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
	}
	30% {
    -webkit-transform: scale(1);
    transform: scale(1);
	}
  40% {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
  }
	50% {
    -webkit-transform: scale(1);
    transform: scale(1);
	}
	100% {
    -webkit-transform: scale(1);
    transform: scale(1);
	}
}

.cta.float_bnr.is-hidden {
	visibility: hidden;
	opacity: 0;
}