@charset "UTF-8";

/* Cherry Bomb One と M PLUS Rounded 1c をまとめて読み込む */
@import url('https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&family=M+PLUS+Rounded+1c:wght@400;500;700&display=swap');


/* =========================================
   ベース設定・変数
========================================= */


img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
}



/* =========================================
   カウントダウンLP
========================================= */




/* --- カウントダウンデザイン設定 (必要に応じて変更してください) --- */
.countdown-container {
  text-align: center;
  background: #fff;
  padding: 20px 0;
}

.timer-box {
  display: flex;
  justify-content: center;
  gap: 50px;
  font-size: 4rem;
  color: #333;
  font-weight: bold;
  margin-bottom: 10px;
  top: -45px;
  position: relative;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.number {
  font-size: 10rem;
  color: #05b2d0;
  /* 数字の色 */
  line-height: 1;
  font-family: "Cherry Bomb One", system-ui;
  font-weight: 400;
  font-style: normal;
}


.label {
  font-size: 2rem;
  color: #555151;
}

.countdown-message {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}



a.btnExpect {
  padding: 50px 30px;
  margin: 60px auto;
  background: #0fc9e8;
  display: block;
  max-width: 600px;
  font-size: 2.8rem;
  border-radius: 10vh;
  color: #fff;
  font-weight: bold;
}


/* --- タブレット用の中間調整（画面幅900px以下ではみ出さないように縮小） --- */
@media (max-width: 900px) and (min-width: 769px) {
  .timer-box {
    gap: 20px;
    /* 隙間を50pxから20pxに縮める */
  }

  .number {
    font-size: 6rem;
    /* 10remから6remに縮める */
  }

  .label {
    font-size: 1.5rem;
  }
}

/* =========================================
   上部レスポンシブ
========================================= */

@media (max-width: 768px) {
  .countdown-container {
    padding: 30px 10px;
    /* 余白を少し調整 */
  }

  .timer-box {
    gap: 8px;
    /* さらに狭めて確実に収める */
    top: -25px;
  }

  .number {
   font-size: clamp(3.9rem, 12vw, 5.5rem);
    /* 画面幅に合わせて伸縮させる */
  }

  .label {
    font-size: 1.1rem;
  }

  /* 重複を削除し、一つに統合 */
  a.btnExpect {
    padding: 22px 14px;
    max-width: 500px;
    margin: 35px auto 65px;
    font-size: 1.5rem;
    width: 90%;
    transition: background 0.3s;
    /* アニメーション追加 */
  }
}

/************ 上部レスポンシブここまで ***********/




/* ボタンに動きをつける（追加） */
a.btnExpect:hover {
  background: #0baec9;
  text-decoration: none;
}

a.btnExpect:active {
  transform: translateY(2px);
  /* 押した感 */
}



/* コメント */
:root {
  --bubble-bg: #ffffff;
  --bubble-border: #e6e6e6;
  --bubble-shadow: 0 10px 25px rgba(0, 0, 0, .08);
  --text: #222;
}



/* ★ コメントを流したいセクション */
.bubble-section {
  position: relative;
  margin-top: 40px;
  margin-bottom: 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff7f0, #fffaee);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .04);
  overflow: hidden;
  
  /* PC時は既存の 600px を活かす（長文でも3列なら余裕たっぷりです） */
  height: 600px; 
}

.bubble-section-inner {
  position: relative;
  z-index: 1;
}

.bubble-section h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 22px;
}

.bubble-section p {
  margin-top: 0;
  margin-bottom: 0;
}

/* ★ このセクション内限定のレイヤー */
.bubble-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bubble {
  position: absolute;
  left: 100%;
  /* --- 横長を保つための設定 --- */
  width: max-content;
  /* 内容に合わせた幅にする */
  min-width: 150px;
  /* 最低でも150pxは確保して縦長を防ぐ */
  max-width: 320px;
  /* 広がりすぎないように制限 */
  /* -------------------------- */
  padding: 10px 16px;
  border-radius: 18px;
  background: var(--bubble-bg);
  border: 1px solid var(--bubble-border);
  box-shadow: var(--bubble-shadow);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
  white-space: normal;
  /* 改行を許可 */
  word-wrap: break-word;
  /* 長い単語を折る */
  animation: drift var(--dur, 10s) linear forwards;
  /* transform に 3d を混ぜて Safari の描画を強制する */
  transform: translate3d(0, 0, 0);
  will-change: transform;
  z-index: 10;
}

.bubble::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: var(--bubble-bg);
  border-right: 1px solid var(--bubble-border);
  border-bottom: 1px solid var(--bubble-border);
  transform: rotate(45deg);
  border-bottom-right-radius: 3px;
}

.bubble span {
  display: block;
  /* 改行させる */
  font-size: 11px;
  color: #888;
  margin-top: 6px;
  text-align: right;
  border-top: 1px dashed #eee;
  padding-top: 4px;
}

/* ★ 距離は JS から --dx に入れる */
@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    /* JS から渡される --dx を使用 */
    transform: translate3d(var(--dx, -2000px), 0, 0);
  }
}

@keyframes bob {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bubble {
    animation: none;
  }
}

.bubbleTitle h2 {
  padding: 27px 0;
  background: #0fc9e8;
  color: #fff;
  font-size: 2.3rem;
}

.bubbleTitle p {
  margin-top: 35px;
}

/* =========================================
   コメント　レスポンシブ
========================================= */

@media (max-width: 768px) {
  .bubbleTitle h2 {
    padding: 20px 0;
    font-size: 1.5rem;
  }

  /* バブルセクションの高さ調整（追加） */
.bubble-section {
height: 550px !important; 
    margin-top: 20px;
    margin-bottom: 20px;
  }

.bubble {
max-width: 80vw !important;
    font-size: 13px;
    line-height: 1.3 !important;
    padding: 12px !important;
}
}


/* =========================================
   キャンペーンページ　レイアウト・共通パーツ
========================================= */

.campaign-bg {
  margin: 0 auto;
  background-color: #fffaf0;
  background-image:
    linear-gradient(rgba(230, 180, 150, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 180, 150, 0.3) 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 0 0 100px;
}

.campaign-period {
  background-color: #e6324b;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  font-size: 1.4rem;
  font-weight: bold;
}

.campaign-wrapper {
  margin: 0 auto;
  padding: 20px;
  max-width: 760px;
  /* わずかに広げつつ、ゆとりを持たせる */
  padding-bottom: 120px;
  /* 下部の余白を倍に */
}

.btn {
  display: inline-block;
  padding: 17px 40px;
  max-width: 400px;
  width: 100%;
  border-radius: 30px;
  font-weight: bold;
  text-align: center;
  transition: all 0.2s;
  font-size: 1.2rem;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
}

.btn-orange {
  background-color: #f39800;
  box-shadow: 3px 5px 0 #d1761c;
  color: #fff;
}


.btn-blue {
  background-color: #14b4d6;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 4px 6px 0 #2494a0;
}

.icon-question {
  background-color: #fff;
  /* 丸の背景は白 */
  color: #00a0e9;
  /* はてなマークはボタンと同じ青 */
  width: 28px;
  /* 丸の大きさ */
  height: 28px;
  /* 丸の大きさ */
  border-radius: 50%;
  /* 正円にする */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  /* アイコンと文字の間の距離 */
  font-size: 1.2rem;
  /* はてなマークの大きさ */
  flex-shrink: 0;
  /* スマホで丸が潰れないようにする */
}

.btn-red {
  padding: 20px 80px;
  /* もっと大きく */
  font-size: 1.5rem;
  /* 文字も大きく */
  box-shadow: 0 8px 0 #b32035;
  /* 立体感を強く */
  animation: pulse 2s infinite;
  /* わずかに拍動させて目立たせる */
  background-color: #e6324b;
  box-shadow: 3px 5px 0 #ab2438;
  color: #fff;
  max-width: 300px;
  width: 100%;
}

/* =========================================
   お手紙セクション（修正版）
========================================= */
.letter-box {
  background-color: #fff;
  border-radius: 15px;
  margin: 50px 30px 30px;
  padding: 20px 20px 40px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  position: relative;
}

.letter-title {
  max-width: 500px;
  width: 100%;
  top: auto;
  left: auto;
  z-index: 10;
  margin: -60px auto 20px;
  display: block;
}

.letter-text {
    font-size: 1rem;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #444;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 500;
}

.character-icon {
  position: absolute;
  bottom: 1px;
  z-index: 1;
  right: -5%;
}



.section-heading {
  text-align: center;
  margin: 50px 0 20px;
  width: 60vw;
  margin-left: calc(50% - 30vw);
  margin-right: calc(50% - 30vw);
  margin-top: 120px;
  margin-bottom: 20px;
}

.section-heading img {
  max-width: 945px;
  width: 100%;
}

.present-lead {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 40px;
  padding: 0 20px;
}

.btn-wrapper {
  text-align: center;
  margin-bottom: 30px;
}



/* 3. 賞品カードを「主役」にする */
.prize-card {
  margin: 40px 20px;
  padding: 0 20px;
  display: block;
  text-align: center;
  filter: drop-shadow(0 10px 20px rgba(243, 152, 0, 0.15));
}



/* ステップカード */
.step-card {
  background-color: #fff;
  border-radius: 15px;
  margin: 60px 0px 20px;
  padding: 40px 20px 54px;
  text-align: center;
  position: relative;
}

.step-label {
  max-width: 500px;
  width: 100%;
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #14b4d6;
  color: #fff;
  font-weight: bold;
  padding: 20px 30px;
  border-radius: 50px;
  white-space: nowrap;
  font-size: 1.4rem;
}

.step-text {
  font-size: 1rem;
  margin: 46px 0 35px;
  line-height: 2;
}

.step-caution {
  background: #fffbeb;
  padding: 40px;
  margin: 0 0 29px;
  line-height: 1.9;
}

.text-red {
  color: #e6324b;
  font-weight: bold;
}

.text-blue {
  color: #0b73c1;
  font-weight: bold;
}

.step-link {
  text-decoration: underline;
}

.step-image {
  margin: 10px 0;
  max-width: 300px;
  width: 100%;
}

.step-note {
  font-size: 0.8rem;
  color: #666;
  text-align: left;
  display: inline-block;
}

/* キャンペーン概要 */
.summary-area {
  background-color: #fff;
  margin: 100px 0px 20px;
  padding: 50px 20px 30px;
}

.summary-heading {
  left: auto;
  top: auto;
  width: 100%;
  max-width: 500px;
  text-align: center;
  margin: -80px auto 20px;
  display: block;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.summary-table th,
.summary-table td {
  padding: 15px 10px;
  border-bottom: 1px dotted #ccc;
  text-align: left;
  vertical-align: top;
}

.summary-table th {
  width: 25%;
  font-weight: bold;
  white-space: nowrap;
}

.note-red {
  color: #e6324b;
  display: block;
  margin-top: 5px;
}

ul.list-disc {
  padding-left: 0px;
  list-style-type: disc;
  margin-bottom: 10px;
}



/* =========================================
   6. レスポンシブ対応
========================================= */
@media (max-width: 768px) {


  .letter-box,
  .prize-card,
  .step-card,
  .summary-area {
    margin-left: 6px;
    margin-right: 6px;
  }


  .letter-text,
  .present-lead,
  .step-text {
    font-size: 0.9rem;
    text-align: left;
    line-height: 1.8;
  }


  .campaign-wrapper {
    padding: 12px;
  }

  .letter-title {
    width: 95%;
    margin-top: -45px;

  }

  .letter-box {
    padding: 36px 25px 40px;
  }

  .campaign-period {
    font-size: 18px;
  }


  .section-heading {
    margin-top: 40px;
    margin-bottom: 10px;
  }

  .character-icon {
    width: 98px;
    right: -10px;
    bottom: -18px;
    max-width: 25vw;
  }

  .btn {
    width: 100%;
    /* 横幅を画面に合わせる */
    max-width: 400px;
    padding: 18px 10px;
    /* 左右のpaddingを減らす */
    font-size: 0.88rem;
    /* 文字を少し小さく */
    white-space: normal;
    /* 折り返しを許可する */
    box-sizing: border-box;
  }

  .btn-blue {
    width: 92%;
    font-size: 0.95rem;
    padding: 10px 15px;
  }

  .icon-question {
    width: 24px;
    height: 24px;
    font-size: 1rem;
    margin-right: 6px;
  }


  .btn-red {
    padding: 15px 20px;
    font-size: 1.2rem;
  }

  .prize-card {
    padding: 0;
    margin: 0;
  }

  .present-lead {
    max-width: 500px;
    margin: 0 auto 30px;
  }

  .step-label {
    width: 85%;
    /* 画面幅に収まるように指定 */
    white-space: normal;
    /* 長い場合は折り返しを許可 */
    padding: 10px 15px 15px;
    font-size: 1rem;
    top: -20px;
    /* 位置を微調整 */
  }

  .step-card {
    margin: 65px 0 20px;
    padding: 40px 13px 54px;
  }

  .step-text {
    margin: 36px auto;
  }

  .step-subtext {
    text-align: left;
  }

  .step-caution {
    padding: 18px 12px;
    margin: 0 0 22px;
  }

  .summary-area {
    /* スマホでは箱自体のマージンを少し詰め、上パディングを維持 */
    margin-top: 80px;
    padding: 20px 15px 30px;
  }

  .summary-heading {
    width: 80%;
    margin-top: -70px;
    margin-bottom: 15px;
  }

  .summary-table th,
  .summary-table td {
    display: block;
    width: 100%;
  }

  .summary-table th {
    padding-bottom: 5px;
    border-bottom: none;
  }
}

@media (min-width: 769px) {
  .character-icon {
    width: 140px;
    right: -20px;
  }
}

/*
@media (min-width: 1024px) {
.character-icon {
    width: 140px; 
    right: -20px; 
  }

}
*/