:root {
  --primary: #1a56db;
  --primary-dark: #1440a8;
  --accent: #ff6b35;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-gray: #f9fafb;
  --border: #e5e7eb;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
.site-header {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .logo { font-size: 1.1rem; font-weight: 700; }
.site-header .tel {
  font-size: 1rem;
  font-weight: 700;
  background: var(--accent);
  padding: 6px 14px;
  border-radius: 4px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: #fff;
  text-align: center;
  padding: 48px 16px 40px;
}
.hero h1 { font-size: 1.7rem; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.hero .sub { font-size: 1rem; opacity: 0.9; margin-bottom: 24px; }
.hero .cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ===== BADGES ===== */
.badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 16px;
  background: var(--bg-gray);
}
.badge {
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
}

/* ===== SECTION ===== */
.section { padding: 40px 16px; }
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}
.section-wrap { text-align: center; }

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}
.feature-card {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon { font-size: 2rem; flex-shrink: 0; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.feature-card p { font-size: 0.9rem; color: var(--text-light); }

/* ===== FLOW ===== */
.flow-steps {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  position: relative;
}
.flow-step::before {
  content: attr(data-step);
  position: absolute;
  left: -14px;
  top: 14px;
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.flow-step p { font-size: 0.88rem; color: var(--text-light); }

/* ===== FORM ===== */
.form-section {
  background: var(--bg-gray);
  padding: 40px 16px;
}
.form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
}
.form-wrap h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; text-align: center; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group label .required {
  color: #ef4444;
  margin-left: 4px;
  font-size: 0.75rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.submit-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}
.submit-btn:hover { background: #e55a28; }
.submit-btn:disabled { background: #9ca3af; cursor: not-allowed; }

.form-note { font-size: 0.8rem; color: var(--text-light); text-align: center; margin-top: 12px; }

/* ===== SUCCESS MESSAGE ===== */
.success-msg {
  display: none;
  text-align: center;
  padding: 24px;
  color: #065f46;
  background: #d1fae5;
  border-radius: var(--radius);
  margin-top: 16px;
}
.success-msg.show { display: block; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--text);
  color: #9ca3af;
  text-align: center;
  padding: 24px 16px;
  font-size: 0.85rem;
}

/* ===== TABLET+ ===== */
@media (min-width: 640px) {
  .hero h1 { font-size: 2.2rem; }
  .features { grid-template-columns: 1fr 1fr; }
  .form-wrap { padding: 36px 32px; }
}
