/* ── contact.html 専用スタイル ── */

.contact-form-content { width: 100%; }
.contact-form-content form { width: 100%; }

.form-group { margin-bottom: 24px; }
.form-label { display: block; font-size: 16px; font-weight: 700; color: var(--color-ink); margin-bottom: 8px; }
.form-required { font-size: var(--font-label); color: #fff; background: #D98345; padding: 2px 8px; border-radius: 100px; margin-left: 6px; vertical-align: middle; }
.form-optional { margin-left: 6px; color: var(--color-muted); font-size: 12px; font-weight: 400; }
.form-input,
.form-textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #D1D1D1;
  border-radius: 6px;
  font-size: var(--font-form);
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-select {
  width: 100%;
  padding: 16px 44px 16px 16px;
  border: 1px solid #D1D1D1;
  border-radius: 6px;
  font-size: var(--font-form);
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%230874C7' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 22px;
  transition: border-color 0.2s;
  box-sizing: border-box;
  cursor: pointer;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #0874C7;
}
.form-textarea { resize: vertical; }
.form-note { font-size: var(--font-note); color: var(--color-muted); margin-top: 12px; line-height: 1.8; }
.form-honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-agree { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; cursor: pointer; }
.form-agree input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.form-agree-box {
  margin-top: 2px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid #D98345;
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.form-agree input[type="checkbox"]:checked + .form-agree-box {
  background: #D98345;
  border-color: #D98345;
}
.form-agree-box::after {
  content: '';
  display: none;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.form-agree input[type="checkbox"]:checked + .form-agree-box::after { display: block; }
.form-agree-text { font-size: var(--font-form); color: var(--color-text); line-height: 1.85; }
.form-submit-button { width: 100%; justify-content: center; padding: 16px; font-size: 16px; }
.related-card--recommend .related-card-title { font-size: 16px; }
.related-card--recommend .related-card-sub { font-size: var(--font-note); }
.btn--form-disabled { background: #D1D1D1 !important; color: var(--color-muted) !important; cursor: not-allowed; pointer-events: none; }
.btn--form-disabled .material-symbols-outlined { color: var(--color-muted) !important; }
.contact-highlight {
  background: linear-gradient(rgba(245,166,35,0.5) 0%, rgba(245,166,35,0.5) 100%);
  background-size: 0% 45%;
  background-position: left bottom;
  background-repeat: no-repeat;
}

/* 確認画面 */
.confirm-table { width: 100%; border-top: 1px solid #E8E8E8; margin-bottom: 32px; }
.confirm-table tr { border-bottom: 1px solid #E8E8E8; }
.confirm-table th { width: 9em; padding: 14px 8px 14px 0; font-size: var(--font-body); font-weight: 700; color: var(--color-muted); text-align: left; vertical-align: top; white-space: nowrap; }
.confirm-table td { padding: 14px 0; font-size: var(--font-body); color: var(--color-ink); word-break: break-all; }
.confirm-actions { display: flex; gap: 12px; margin-bottom: 12px; }
.confirm-actions > * { flex: 1; justify-content: center; padding: 16px; font-size: 16px; }

/* オレンジゴーストボタン */
.btn-ghost-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #D98345;
  color: #D98345;
  background: transparent;
  border-radius: 100px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost-orange:hover { background: #D98345; color: #fff; }

/* 完了画面 */
.complete-view { text-align: center; padding: 48px 0 32px; }
.complete-icon { font-size: 64px; color: #D98345; display: block; }
.complete-title { font-size: var(--font-subsection-title); font-weight: 900; color: var(--color-ink); margin: 16px 0; }
.complete-text { font-size: var(--font-body); color: var(--color-text); line-height: 2; margin-bottom: 36px; }
