/* =====================================================
   BUZZ STOCK — Contact Form 7 カスタムスタイル
   main.css の末尾に追記、または contact-form.css として
   functions.php から読み込んでください
   ===================================================== */

/* フォーム全体 */
.bz-cf7-form {
  max-width: 600px;
  margin: 0 auto;
}

/* 各フィールド */
.bz-cf7-field {
  margin-bottom: 20px;
}

.bz-cf7-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

/* 必須バッジ */
.bz-cf7-required {
  font-size: 10px;
  font-weight: 700;
  background: #e91e8c;
  color: #fff;
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: .04em;
}

/* 入力・テキストエリア共通 */
.bz-cf7-form .wpcf7-form-control:not([type="submit"]),
.bz-cf7-form input[type="text"],
.bz-cf7-form input[type="email"],
.bz-cf7-form textarea {
  width: 100% !important;
  padding: 12px 14px !important;
  border: 1.5px solid #e8e8e8 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  background: #fafafa !important;
  color: #1a1a1a !important;
  outline: none !important;
  transition: border-color .15s, box-shadow .15s !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
}

.bz-cf7-form input[type="text"]:focus,
.bz-cf7-form input[type="email"]:focus,
.bz-cf7-form textarea:focus {
  border-color: #e91e8c !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(233, 30, 140, .08) !important;
}

.bz-cf7-form textarea {
  min-height: 140px !important;
  resize: vertical !important;
  line-height: 1.7 !important;
}

/* placeholder */
.bz-cf7-form input::placeholder,
.bz-cf7-form textarea::placeholder {
  color: #bbb !important;
  font-size: 13px !important;
}

/* 送信ボタン */
.bz-cf7-submit {
  margin-top: 28px;
}

.bz-cf7-form input[type="submit"],
.bz-cf7-form .wpcf7-submit {
  width: 100% !important;
  padding: 15px !important;
  background: linear-gradient(135deg, #e91e8c, #ff6bb5) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 100px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: opacity .15s, transform .1s !important;
  letter-spacing: .04em !important;
  box-shadow: 0 4px 16px rgba(233, 30, 140, .25) !important;
}

.bz-cf7-form input[type="submit"]:hover,
.bz-cf7-form .wpcf7-submit:hover {
  opacity: .88 !important;
}

.bz-cf7-form input[type="submit"]:active,
.bz-cf7-form .wpcf7-submit:active {
  transform: scale(.98) !important;
}

/* 送信中スピナー */
.bz-cf7-form .wpcf7-spinner {
  display: none !important;
}

/* バリデーションエラー */
.bz-cf7-form .wpcf7-not-valid-tip {
  font-size: 12px !important;
  color: #e91e8c !important;
  margin-top: 4px !important;
  display: block !important;
}

.bz-cf7-form .wpcf7-not-valid {
  border-color: #e91e8c !important;
  background: #fff8fb !important;
}

/* 送信完了・エラーメッセージ */
.bz-cf7-form .wpcf7-response-output {
  margin-top: 20px !important;
  padding: 14px 18px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border: none !important;
}

/* 送信完了 */
.bz-cf7-form .wpcf7-mail-sent-ok {
  background: #e8f5e9 !important;
  color: #2e7d32 !important;
}

/* エラー */
.bz-cf7-form .wpcf7-mail-sent-ng,
.bz-cf7-form .wpcf7-validation-errors,
.bz-cf7-form .wpcf7-spam-blocked {
  background: #fff3e0 !important;
  color: #e65100 !important;
}
