@charset "utf-8";

/*全体の設定
---------------------------------------------------------------------------*/
body {
  background: #ffffff;
  color: #313131;
  /*全体の文字色*/
  margin: 0px;
  padding: 0px;
  font: 16px/1.6 "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka,
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
}

p {
  line-height: 40px;
  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;
}

/*フォーム
---------------------------------------------------------------------------*/

.form {
  display: block;
  background-color: #dff5ff;
  padding: 20px 0px 10px;
}

input {
  font-size: 150%;
  background-color: #fff;
  border-radius: 1%;
  height: 70px;
  width: 90%;
  margin: 10px 0 20px;
}

.btn {
  background: url(../img/btn.png) center top no-repeat;
  width: 90%;
  height: 155px;
  border: none;
  width: 100%;
}

hr {
  color: #ffffff;
}

/*メインコンテンツ
---------------------------------------------------------------------------*/
.countdown {
  display: flex; /* まずは !important 外してOK */
  align-items: center;
  justify-content: center;
  gap: 20px;
  background-color: #ffffff;
  padding: 30px 0 15px;
}

/* 中央テキスト */
.text-box {
  text-align: center;
}

/* 上の説明文 */
.label {
  color: #f06a4a;
  font-size: 30px;
  font-weight: normal;
  margin: 0;
}

/* タイマー文字（white は色違い用として残す） */
.timer {
  font-size: 40px;
  font-weight: bold;
  margin-top: 10px;
  color: #f06a4a;
}

/* 装飾画像 */
.decor {
  width: 40px;
  height: auto;
  opacity: 0.6;
}

/* 小さめ文字が必要な場合 */
.small {
  font-size: 20px;
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
  width: 100%;
  margin: 0 auto;
  padding: 20px 120px 15px;
  background-color: #ffffff;
  color: #323232;
  font-size: 90%;
}

/* 中身を横並びにする */
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;

  display: flex;
  align-items: flex-start;
  gap: 30px;
}

/* ロゴ */
.footer-logo img {
  width: 70px;
  height: auto;
}

/* リンクエリア */
.footer-links {
  text-align: center; /* ←ここ重要 */
}

footer a {
  color: #323232;
  margin: 0;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer p {
  margin: 10px 0;
}

/* コピーライト */
.copy {
  color: #323232;
  font-size: 65%;
}

/*その他
---------------------------------------------------------------------------*/
.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: 1px;
    height: 120px;
    width: 94%;
    margin: 10px 0 20px;
  }

  .btn {
    background: url(../img/btn.png) center top no-repeat;
    width: 100%;
    height: 155px;
    border: none;
  }
}
@media screen and (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }

  .footer-logo img {
    width: 100px;
    margin-bottom: 10px;
  }
}
