@charset "UTF-8";
/**
 * SALUTO - Contact Page Specific CSS
 * /contact.html 専用スタイル
 */

.container {
  max-width: 760px;
  margin: 48px auto 80px;
  padding: 0 24px;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.form-label span {
  color: var(--coral);
  font-size: .75rem;
  margin-left: 6px;
  background: rgba(255, 107, 107, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: .95rem;
  font-family: 'Noto Sans JP', sans-serif;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

select.form-control option {
  background: #1e293b;
  color: #fff;
}

/* ── 送信ボタン：lp-common.css の .btn / .btn-coral に合わせる ── */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 56px;
  padding: 0 32px;
  background: var(--grad-coral, linear-gradient(135deg, #f97316, #ea580c));
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(234, 88, 12, .35);
  transition: transform .18s, box-shadow .18s;
  text-decoration: none;
  text-align: center;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(234, 88, 12, .5);
}

.btn-submit:active {
  transform: translateY(0);
}

/* エラーメッセージ */
#form-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-size: .85rem;
  margin-bottom: 1rem;
}

/* 成功モーダル */
.success-modal {
  display: none !important;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.success-modal.active {
  display: flex !important;
}

.modal-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 40px;
  text-align: center;
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: #0F172A;
}

.modal-desc {
  color: #64748b;
  font-size: .9rem;
  margin-bottom: 28px;
}

.modal-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 99, 235, .35);
  transition: all .18s;
}

.modal-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, .5);
}
