@charset "utf-8";
/* ============================================================
   オフィシャルサイト（w-star.com）のフォーム用：ann-form の部品の見た目
   旧フォームの CSS（サイトの /css/form_pc.css・form_sp.css）は入力欄の見た目に使い、
   ここでは ann-form で増えた部品（ボタン・お知らせ・説明文など）を旧フォームに合わせる。
   ボタンは、旧フォームの「確認画面へ」（input[type="submit"]）と同じ色・大きさにした
   （サイトの CSS は input にだけ効くため、ann-form の button・a に同じ指定を書く）。
   ============================================================ */

/* テスト送信モードの表示（本番の送信に切り替えると出なくなる） */
.form #contents .af-testmode {
  background: #fff3cd;
  border: 2px solid #e0a800;
  color: #6b4e00;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  margin: 0 0 20px;
}

/* 画面上部のお知らせ（入力の誤り・有効期限切れなど） */
.form #contents .af-alert {
  color: #fff;
  background: #B54048;
  font-weight: bold;
  padding: 10px 15px;
  margin: 0 0 20px;
  line-height: 1.6;
}

/* 入力欄の下の説明文 */
.form #contents .af-note {
  font-size: 1.3rem;
  color: #555;
  line-height: 1.6;
  margin: 8px 0 0;
}
.form #contents .af-note a {
  text-decoration: underline;
}

/* 誤りのある行を見つけやすくする */
.form #contents tr.has-error td {
  background: #fff5f5;
}

/* ボタン（旧フォームの「確認画面へ」と同じ見た目） */
.form #contents .af-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  box-sizing: border-box;
  border: none;
  background: #B54048;
  color: #fff;
  font-family: inherit;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.form #contents .af-btn:hover,
.form #contents .af-btn:focus {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}
.form #contents .af-btn.is-back,
.form #contents .af-btn.is-back:hover,
.form #contents .af-btn.is-back:focus {
  background: #aaa;
}

/* 確認画面：未入力の項目 */
.form #contents .af-empty {
  color: #999;
}

/* 完了・エラー画面 */
.form #contents .af-receipt {
  margin: 1em 0;
}
.form #contents .af-error-title {
  font-size: 1.8rem;
  margin: 0 0 1em;
}
.form #contents .af-tel {
  margin: 1.5em 0 0;
  line-height: 1.8;
}
.form #contents .af-thanks p + p {
  margin-top: 0.8em;
}

/* パソコン */
@media screen and (min-width: 992px) {
  .form #contents .af-btn {
    width: 300px;
    height: 3.4em;
    line-height: 3.4em;
    padding: 0 2.5em;
    font-size: 1.6rem;
  }
  .form #contents .af-btn-wide {
    width: auto;
  }
  .form #contents .af-btns .af-btn {
    width: 42%;
    margin: 0 2%;
  }
}

/* スマートフォン */
@media screen and (max-width: 991px) {
  .form #contents .af-btn {
    width: 100%;
    padding: 0.9em 1.5em;
    font-size: 1.3rem;
    line-height: 1.6;
  }
  .form #contents .af-btns .af-btn {
    width: 46%;
    margin: 0 2%;
  }
  .form #contents .af-note {
    font-size: 1.2rem;
  }
}
