@charset "utf-8";

/*全体の設定
---------------------------------------------------------------------------*/
body {
  background: #f5f5f5;
  color: #313131;
  /*全体の文字色*/
  margin: 0px;
  padding: 0px;
  font: 16px/1.6 "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
}



p {
  line-height: 24px;
  margin-bottom: 10px;
}

table {
  border-spacing: 0;
  font-size: 100%;
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
  color: #555;
  /*リンクテキストの色*/
  text-decoration: none;
}

a:hover {
  color: #006ddc;
  /*マウスオン時の文字色（全体）*/
}

a:hover .btn {
  position: relative;
  top: 3pt;
  left: 3pt;
}

/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#container {
  width: 750px;
  /*コンテナー幅*/
  background-color: #fff;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  text-align: center;
  margin: 0 auto;
  overflow: hidden;
}

/*フォーム
---------------------------------------------------------------------------*/


/*メインコンテンツ
---------------------------------------------------------------------------*/
.text-box {
  width: 90%;
  margin: 1em auto;
}

/* .countdown{
  background-color: #00364F;
  padding: 30px 0px 15px;
}

.countdown p{
  color: #ffde2f;
  font-size: 28px;
  font-weight: bold;
} */



.white{
  color: #ea4b4b;
  font-size: 26px;
  font-weight: bold;
  margin: 10px;
}

.small{
  font-size: 20px;
}



/*フッター設定
---------------------------------------------------------------------------*/
footer {
  width: 100%;
  margin: 0 auto;
  font-size: 85%;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 15px;
  color: #fff;
  position: relative;
  background-color: #00364F;
  font-size: 90%;
}

footer a {
  color: #fff;
  margin: 10px 0;
}

footer p {
  margin: 10px 0;
}

.copy{
  color: #fff;
  font-size: 65%;
  text-align: center;
 
}


/*その他
---------------------------------------------------------------------------*/
.clear {
  clear: both;
}


/*フォント設定
---------------------------------------------------------------------------*/
.red { color: #C00;}

.purple{ color: indigo;}

.bold { font-weight: bold;}




dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

dt,
dd {
  padding: 6px;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 768px) {
  .pc { display: none !important; }
  .sp { display: block !important; }
}



@media only screen and (max-width: 768px) {

  input {
    font-size: 180%;
    background-color: #fff;
    border-radius: 5px;
    border: solid 2px #ea4b4b;
    height: 120px;
    width: 100%;
    margin: 10px 0 20px;
  }
  
  .btn{
    background: url(../img/btn-sp.png) center top no-repeat;
    width: 100%;
    height: 150px;
    border: none;
  }



}

/* =========================
   カウントダウン＋フォーム＋ボタン 最終統一版
========================= */

/* ▼ セクション全体（背景） */
.cta-section {
  position: relative;
  width: 100%;
  min-height: 428px;
  background: url(../img/timer_back.png) center top no-repeat;
  background-size: cover;
  background-color: #eaf6fb; /* 画像が読み込めない時の補色 */
  text-align: center;
  color: #00364F;
  padding: 60px 0;
}

/* ▼ タイトルとタイマー */
.countdown-title {
  font-size: 22px;
  font-weight: bold;
  color: #00364F;
  margin-bottom: 10px;
}

.countdown-timer {
  font-size: 44px;
  font-weight: 800;
  color: #00364F;
  line-height: 1.3;
  margin-bottom: 38px;
}

/* ▼ メール入力欄 */
.cta-section input[type="email"] {
  width: 100%;
  max-width: 560px;
  height: 80px;
  background-color: #cae5f2; /* 水色帯 */
  border: none; /* 枠なし */
  border-radius: 10px;
  margin-bottom: 35px;
  font-size: 20px;
  text-align: center;
  color: #333;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}
.cta-section input[type="email"]::placeholder {
  color: #555;
  opacity: 0.9;
}

/* ▼ ボタン */
.cta-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 130px;
  background: url(../img/button_back.png) center center / contain no-repeat;
  border: none;
  border-radius: 65px;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  line-height: 0.5;
  text-align: center;
  padding: 0 80px 0 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  margin: 0 auto;
}
.cta-btn .line1,
.cta-btn .line2 {
  display: block;
  line-height: 1.05;
  margin: 0;
  padding: 0;
}

/* ▼ 白丸＋▶ */
.cta-btn .circle {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #f4f4f4 60%, #dddddd 100%);
  box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.1),
              inset 2px 2px 5px rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-btn .arrow {
  color: #c8102e;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
}

/* ▼ hover時 */
.cta-btn:hover {
  transform: translateY(1px);
  opacity: 0.95;
}
.cta-btn:hover .circle {
  transform: translateY(-50%) scale(1.05);
  transition: transform 0.2s ease;
}

/* ▼ スマホ用 */
@media only screen and (max-width: 768px) {
  .cta-section {
    padding: 50px 20px;
    background: url(../img/timer_back_sp.png) center top no-repeat;
    background-size: cover;
  }
  .countdown-timer {
    font-size: 36px;
  }
  .cta-section input[type="email"] {
    height: 100px;
    font-size: 22px;
  }
  .cta-btn {
    height: 120px;
    font-size: 22px;
    max-width: 100%;
  }
  .cta-btn .circle {
    width: 52px;
    height: 52px;
    right: 20px;
  }
}

/* =========================
   form-section 統一デザイン
========================= */
.form-section {
  background: url(../img/timer_back.png) center top no-repeat;
  background-size: cover;
  background-color: #eaf6fb;
  text-align: center;
  color: #00364F;
  padding: 60px 0;
}

/* タイマー */
.countdown-title {
  font-size: 22px;
  font-weight: bold;
  color: #00364F;
  margin-bottom: 10px;
}
.countdown-time {
  font-size: 44px;
  font-weight: 800;
  color: #00364F;
  margin-bottom: 38px;
}

/* メールフォーム */
.form-section input[type="email"] {
  width: 100%;
  max-width: 560px;
  height: 80px;
  background-color: #cae5f2;
  border: none;
  border-radius: 10px;
  margin-bottom: 35px;
  font-size: 20px;
  text-align: center;
  color: #333;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}
.form-section input[type="email"]::placeholder {
  color: #555;
  opacity: 0.9;
}

/* ボタン */
.cta-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 130px;
  background: url(../img/button_back.png) center center / contain no-repeat;
  border: none;
  border-radius: 65px;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  line-height: 0.5;
  text-align: center;
  cursor: pointer;
  margin: 0 auto;
}
.cta-btn .circle {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #f4f4f4 60%, #dddddd 100%);
  box-shadow: inset -2px -2px 4px rgba(0,0,0,0.1),
              inset 2px 2px 5px rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-btn .arrow {
  color: #c8102e;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
}
/* =========================
   カウントダウン上下の行間調整
========================= */

/* タイトルと数字の間を少し広げる */
.countdown-title {
  margin-bottom: 8px; /* ここで上下の間隔を作る */
}

/* 数字行の行間をやや広く */
.countdown-time {
  line-height: 1.3;  /* 行の高さ */
  margin-bottom: 4px; /* 数字ブロックと次の要素の間に余白 */
}
