.contact-form {
  background: #000;
  padding: 2rem;
  color: #fff;
  font-family: "游ゴシック体", "Yu Gothic", sans-serif;
  border: 2px solid #cc0000;
  border-radius: 10px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-form h3 {
  margin-top: 1.5em;
  font-size: 1.1rem;
  color: #fff;
  background: #333;
  padding: 0.5em;
  border-left: 6px solid #e60033;
  font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 0.8em;
  margin-top: 0.5em;
  background: #111;
  border: 1px solid #888;
  color: #fff;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form input[type="checkbox"] {
  margin-right: 0.5em;
}

.contact-form .submit-button {
  text-align: center;
  margin-top: 2em;
}

.contact-form input[type="submit"],
.contact-form input[type="button"] {
  background: #000;
  color: #fff;
  padding: 0.8em 2em;
  font-size: 1rem;
  border: 2px solid #fff;
  border-radius: 6px;
  transition: 0.3s;
}

.contact-form input[type="submit"]:hover,
.contact-form input[type="button"]:hover {
  background: #e60033;
  color: #fff;
  border-color: #e60033;
}
.kana-input {
  font-family: "メイリオ", "Meiryo", sans-serif;
  letter-spacing: 0.1em;
}
.contact-form .required {
  color: #e60033;
  font-weight: bold;
  font-size: 0.95em;
}

/* ========== 確認画面スタイル ========== */
form.wpcf7-form.custom-wpcf7cf-confirm {
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #e60033;
  padding: 2em;
  border-radius: 8px;
  font-family: "Yu Gothic", sans-serif;
}

/* 表形式の値表示（table） */
form.wpcf7-form.custom-wpcf7cf-confirm table {
  width: 100%;
  color: #fff;
  border-collapse: collapse;
}

form.wpcf7-form.custom-wpcf7cf-confirm table tr {
  border-bottom: 1px dashed #444;
}

form.wpcf7-form.custom-wpcf7cf-confirm table td {
  padding: 0.5em 0;
}

/* ボタン周り */
div.wpcf7cfp-btns {
  text-align: center;
  margin-top: 2em;
}

div.wpcf7cfp-btns button {
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #fff;
  padding: 0.8em 2em;
  font-size: 1rem;
  border-radius: 6px;
  margin: 0 1em;
  cursor: pointer;
  transition: 0.3s;
}

div.wpcf7cfp-btns button:hover {
  background: #e60033 !important;
  border-color: #e60033 !important;
}

/* ====== 確認画面の完全対応CSS（正しいクラス指定） ====== */
form.custom-wpcf7cp-confirm {
  background: #000 !important;
  color: #fff !important;
  padding: 2em;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-family: "Yu Gothic", sans-serif;
}

form.custom-wpcf7cp-confirm * {
  color: #fff !important;
  font-size: 1rem;
  line-height: 1.8;
}

/* ボタンエリア */
.wpcf7cp-btns {
  text-align: center;
  margin-top: 2em;
}

.wpcf7cp-btns button {
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #e60033 !important;
  padding: 0.8em 2em;
  font-size: 1rem;
  border-radius: 6px;
  margin: 0 1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpcf7cp-btns button:hover {
  background: #e60033 !important;
  border-color: #e60033 !important;
  color: #fff !important;
}