#contactForm {
  --vnn-form-border:        #E0D0A8;
  --vnn-form-border-strong: #C8B898;
  --vnn-form-text:          #3D3020;
  --vnn-form-muted:         #8C7A5E;
  --vnn-form-bg:            #fff;
  --vnn-form-soft:          #FDFAF4;
  --vnn-form-accent:        var(--c-primary, #FFC300);
  --vnn-form-accent-dark:   #E0AB00;
  --vnn-form-accent-text:   #3D2800;
  --vnn-form-danger:        var(--c-danger, #cc1818);
  color: var(--vnn-form-text);
}

#contactForm *,
#contactForm *::before,
#contactForm *::after {
  box-sizing: border-box;
}

/* ---- メッセージ ---- */
#contactForm .vnn-input-message,
#contactForm .vnn-confirm-message,
#contactForm .vnn-complete-wrap {
  padding: 1rem 0;
  line-height: 1.8;
  font-weight: 700;
}

/* ---- フォームラッパー ---- */
#contactForm .c-form__wrap {
  border-top: 1.5px solid var(--vnn-form-border-strong);
  border-bottom: 1.5px solid var(--vnn-form-border-strong);
}

/* ---- 見出し ---- */
#contactForm .c-form__heading {
  margin: 2.5rem 0 0;
  padding: 0 0 0.75rem;
  border-bottom: 1px solid var(--vnn-form-border);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
}

#contactForm .c-form__heading:first-child {
  margin-top: 0;
}

/* ---- グループ ---- */
#contactForm .c-form__group {
  margin: 0;
}

#contactForm .c-form__group::after {
  content: "";
  display: block;
  clear: both;
}

#contactForm .c-form__label,
#contactForm .c-form__body {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--vnn-form-border);
}

#contactForm .c-form__group > .c-form__label:last-of-type,
#contactForm .c-form__group > .c-form__body:last-of-type {
  border-bottom: none;
}

#contactForm .c-form__label {
  font-weight: 700;
  line-height: 1.7;
  color: #685B43;
}

/* 必須バッジ */
#contactForm .c-form__label.is-require::after {
  content: "必須";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.6rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: #FFC300;
  color: #3D2800;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

#contactForm .c-form__body {
  line-height: 1.8;
}

/* ---- 入力フィールド ---- */
#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm input[type="tel"],
#contactForm input[type="date"],
#contactForm select,
#contactForm textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--vnn-form-border-strong);
  border-radius: 6px;
  background: var(--vnn-form-bg);
  color: inherit;
  font: inherit;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#contactForm textarea {
  min-height: 11rem;
  resize: vertical;
}

#contactForm input[name="postal_code"] {
  width: min(14rem, 100%);
}

/* フォーカス */
#contactForm input[type="text"]:focus,
#contactForm input[type="email"]:focus,
#contactForm input[type="tel"]:focus,
#contactForm input[type="date"]:focus,
#contactForm select:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: #FFC300;
  box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.18);
}

/* ---- ラジオ・チェックボックス ---- */
#contactForm .c-form__radio,
#contactForm .c-form__checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

#contactForm .vnn-choice-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  cursor: pointer;
  line-height: 1.6;
}

#contactForm .vnn-choice-label input {
  margin: 0;
}

#contactForm .vnn-choice-label input[type="radio"],
#contactForm .vnn-choice-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 1.2rem;
  border: 1.5px solid var(--vnn-form-border-strong);
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#contactForm .vnn-choice-label input[type="radio"] {
  border-radius: 50%;
}

#contactForm .vnn-choice-label input[type="checkbox"] {
  border-radius: 4px;
}

#contactForm .vnn-choice-label input[type="radio"]:hover,
#contactForm .vnn-choice-label input[type="checkbox"]:hover {
  border-color: #FFC300;
}

#contactForm .vnn-choice-label input[type="radio"]:focus-visible,
#contactForm .vnn-choice-label input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.22);
}

#contactForm .vnn-choice-label input[type="radio"]::before,
#contactForm .vnn-choice-label input[type="checkbox"]::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.18s ease;
}

#contactForm .vnn-choice-label input[type="radio"]:checked {
  border-color: #FFC300;
}

#contactForm .vnn-choice-label input[type="radio"]:checked::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #FFC300;
  transform: translate(-50%, -50%) scale(1);
}

#contactForm .vnn-choice-label input[type="checkbox"]:checked {
  border-color: #685B43;
  background: #685B43;
}

#contactForm .vnn-choice-label input[type="checkbox"]:checked::before {
  width: 0.35rem;
  height: 0.7rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -58%) rotate(45deg) scale(1);
}

/* ---- 郵便番号検索 ---- */
#contactForm .vnn-zip-button {
  margin-top: 0.75rem;
  padding: 0.72rem 1rem;
  border: 1.5px solid #C8B898;
  border-radius: 6px;
  background: #fff;
  color: #685B43;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

#contactForm .vnn-zip-button:hover {
  background: #F5EDD8;
  border-color: #685B43;
}

#contactForm .vnn-zip-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#contactForm .vnn-zip-message {
  display: block;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ---- reCAPTCHA ---- */
#contactForm .g-recaptcha {
  margin-top: 1.5rem;
}

/* ---- 同意文 ---- */
#contactForm .c-agree {
  margin: 1.5rem 0 0;
  color: var(--vnn-form-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

#contactForm .c-agree a {
  color: #685B43;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

#contactForm .c-agree a:hover {
  color: #3D3020;
}

/* ---- 送信ボタン ---- */
#contactForm .c-submit {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* 送信ボタン（メイン）*/
#contactForm .c-submit button {
  min-width: 13rem;
  padding: 0.95rem 1.4rem;
  border: 1.5px solid #E0AB00;
  border-radius: 8px;
  background: #FFC300;
  color: #3D2800;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

#contactForm .c-submit button:hover {
  background: #E0AB00;
  border-color: #C89800;
}

/* 修正するボタン（サブ）*/
#contactForm #vnn-back-btn {
  background: #fff;
  border-color: #C8B898;
  color: #685B43;
}

#contactForm #vnn-back-btn:hover {
  background: #F5EDD8;
  border-color: #685B43;
  color: #3D3020;
}

#contactForm .c-submit button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---- 送信結果 ---- */
#contactForm #contact-result {
  margin-top: 1rem;
  text-align: center;
  line-height: 1.7;
}

/* ---- PC レイアウト ---- */
@media (min-width: 768px) {
  #contactForm .c-form__group {
    display: grid;
    grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr);
  }

  #contactForm .c-form__label,
  #contactForm .c-form__body {
    min-width: 0;
  }

  #contactForm .c-form__label {
    padding-right: 1.5rem;
  }

  #contactForm .vnn-zip-button {
    margin-top: 0;
    margin-left: 0.65rem;
    vertical-align: middle;
  }

  #contactForm input[name="postal_code"] {
    width: min(11rem, calc(100% - 8.5rem));
  }
}

/* ---- SP レイアウト ---- */
@media (max-width: 767px) {
  #contactForm .c-form__heading {
    margin-top: 2rem;
    font-size: 1rem;
  }

  #contactForm .c-form__label {
    padding-bottom: 0.35rem;
    border-bottom: none;
  }

  #contactForm .c-form__body {
    padding-top: 0.35rem;
  }

  #contactForm .c-submit {
    flex-direction: column-reverse;
  }

  #contactForm .c-submit button {
    width: 100%;
    min-width: 0;
  }
}