/* ========================================
   CF7 Form Reset / Base
======================================== */

.wpcf7 {
  width: 100%;
  padding: 1rem 2rem;
  background-color: #fbfbfb;
}

.wpcf7 form {
  width: 100%;
}

/* フィールド余白 */
.wpcf7 p {
  margin-bottom: 24px;
}

/* ラベル */
.wpcf7 label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
}

/* ========================================
   Form Wrapper（境界）
======================================== */

.lc-form-box {
  background: #f7f7f7;
  padding: 40px 32px;
}

@media (max-width: 768px) {
  .lc-form-box {
    padding: 28px 20px;
  }
}

/* ========================================
   Input / Textarea / Select
======================================== */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9rem;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  line-height: 1.5;
}

/* textarea */
.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}

/* フォーカス */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: var(--lc-accent-color);
}

/* ========================================
   Checkbox / Radio
======================================== */

.wpcf7-checkbox,
.wpcf7-radio {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: normal;
}

/* ========================================
   File
======================================== */

.wpcf7-file {
  font-size: 0.85rem;
}

/* ========================================
   Submit Button
======================================== */

.wpcf7-submit {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;

  background: transparent;
  color: var(--lc-accent-color);
  border: 1px solid var(--lc-accent-color);

  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.wpcf7-submit:hover {
  background: var(--lc-accent-color);
  color: #fff;
}

/* スピナー */
.wpcf7-spinner {
  margin-left: 8px;
}

/* ========================================
   Submit Alignment
======================================== */

.wpcf7 form p:last-of-type {
  text-align: center;
}

/* ========================================
   Validation / Messages
======================================== */

.wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #d00;
  margin-top: 6px;
}

.wpcf7-response-output {
  margin-top: 24px;
  font-size: 0.85rem;
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.1);
}

/* 成功 */
.wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(0,0,0,0.2);
}

/* エラー */
.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #d00;
}

/* ========================================
   Responsive
======================================== */

@media (max-width: 768px) {
  .wpcf7 p {
    margin-bottom: 20px;
  }
}