@charset "UTF-8";
/* =========================================================
 * お問い合わせフォーム専用スタイル
 * - 見た目の基本はサイト共通CSS（style.css / contact.css の com_table・input・.submit）に任せ、
 *   ここではエラー表示など、フォーム処理で増えた部品だけを #cf 配下に限定して定義する
 * ======================================================= */
#cf [hidden] { display: none !important; }

/* サイトCSSは input[type="text"] だけを装飾しているため、email / tel も同じ見た目に揃える */
#cf input[type="email"],
#cf input[type="tel"] {
  padding: 10px;
  border: 1px solid #dddddd;
  font-size: 1em;
  box-sizing: border-box;
}
#cf .cf-input { max-width: 100%; }
#cf .cf-field + .cf-field { margin-top: 10px; }

/* ボット対策の入力欄（画面には出さない） */
#cf .cf-hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- エラー ---------- */
#cf .cf-alert {
  margin: 0 0 24px; padding: 16px 20px;
  color: #c62828; background: #fdeeee;
  border: 1px solid #c62828;
}
#cf .cf-alert:focus { outline: none; }
#cf .cf-alert-title { font-weight: bold; margin: 0 0 4px; }
#cf .cf-alert ul { margin: 0; padding-left: 1.4em; list-style: disc; }
#cf .cf-error { margin: 6px 0 0; color: #c62828; font-size: 0.9em; }
#cf .cf-error-summary { text-align: center; margin: 0 0 16px; }
#cf .is-error input[type="text"],
#cf .is-error input[type="email"],
#cf .is-error input[type="tel"],
#cf .is-error textarea,
#cf .is-error select { border-color: #c62828; background: #fffafa; }

/* ---------- 補足・選択肢 ---------- */
#cf .cf-note { margin: 6px 0 0; color: #666; font-size: 0.9em; }
#cf .cf-sublabel { margin: 10px 0 4px; font-size: 0.9em; }
#cf .cf-choices { margin: 0; padding: 0; list-style: none; }
#cf .cf-choices li { display: inline-block; margin: 0 1.5em 0 0; }
#cf .cf-choices input { margin-right: 4px; }
#cf .cf-captcha img { vertical-align: middle; border: 1px solid #ddd; }
#cf .cf-captcha .cf-btn-small { margin: 0 8px; padding: 6px 10px; cursor: pointer; }

/* ---------- 確認画面 ---------- */
#cf .cf-value { word-break: break-all; }
#cf .cf-empty { color: #999; }

/* ---------- ボタン ---------- */
#cf .cf-actions { text-align: center; }
#cf .cf-actions input[type="submit"]:disabled { opacity: 0.6; cursor: default; }
#cf .cf-back {
  display: inline-block;
  margin: 0 10px 10px;
  padding: 15px 40px;
  font-size: 1.2em;
  color: #333;
  background: #fff;
  border: 1px solid #999;
  text-decoration: none;
  vertical-align: top;
  transition: 0.5s;
}
#cf .cf-back:hover { background: #eee; }

@media screen and (max-width: 768px) {
  #cf .cf-back,
  #cf .cf-actions input[type="submit"] { display: block; width: 100%; margin: 0 0 10px; padding: 15px 10px; box-sizing: border-box; }
}
