/* ============================================================
   お問い合わせページ (src/contact/index.njk) 専用スタイル
   元: src/contact/index.njk の <style> 部分から外部化 (2026-05-20)
   ============================================================ */

.th-contact-form {
  max-width: 100%;
  margin: 0 auto 40px;
  position: relative;
}
.th-form-group { margin-bottom: 22px; }
.th-form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.th-required { color: var(--accent); }
.th-form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.th-form-input::placeholder { color: var(--ink3); }
.th-form-input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200, 84, 30, 0.12);
  outline: none;
}
.th-form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235b4a35' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
  cursor: pointer;
}
.th-form-select option { background: var(--bg-soft); color: var(--ink); }
.th-form-textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
}
.th-form-note {
  margin: 18px 0;
  color: var(--ink3);
  font-size: 0.82rem;
  line-height: 1.65;
}
.th-form-submit { text-align: center; margin-top: 28px; }
.th-submit-button {
  min-width: 220px;
  padding: 14px 36px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg-soft);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.th-submit-button:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.th-submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}
.th-form-result {
  margin-top: 24px;
  padding: 16px 20px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  border: 1px solid;
}
.th-form-result.th-success {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.35);
  color: #2c6e3a;
}
.th-form-result.th-error {
  background: rgba(200, 84, 30, 0.08);
  border-color: rgba(200, 84, 30, 0.35);
  color: var(--accent);
}
@media (max-width: 768px) {
  .th-submit-button { width: 100%; }
}
