/* ============================================
   CSS Variables
   ============================================ */
:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #D1FAE5;
  --accent: #0EA5E9;
  --accent-light: #E0F2FE;
  --bg: #FFFFFF;
  --bg-alt: #F0FDF4;
  --text: #1F2937;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --text-hero: clamp(36px, 5vw, 56px);
  --text-h2: clamp(28px, 3.5vw, 40px);
  --text-h3: clamp(20px, 2.5vw, 24px);
  --text-body: 16px;
  --text-small: 14px;
  --text-caption: 12px;
  --space-section: clamp(80px, 10vw, 120px);
  --space-group: clamp(40px, 5vw, 64px);
  --space-element: clamp(16px, 2vw, 24px);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: fadeIn 0.5s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.section { padding: var(--space-section) 0; }
.section-alt { background: var(--bg-alt); }

.sp-only { display: none; }

/* ============================================
   Scroll Animation
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.visible .stagger-item:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll.visible .stagger-item:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll.visible .stagger-item:nth-child(3) { transition-delay: 0.15s; }
.animate-on-scroll.visible .stagger-item:nth-child(4) { transition-delay: 0.2s; }
.animate-on-scroll.visible .stagger-item:nth-child(5) { transition-delay: 0.25s; }
.animate-on-scroll.visible .stagger-item:nth-child(6) { transition-delay: 0.3s; }
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.animate-on-scroll.visible .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Section Header
   ============================================ */
.section-header { text-align: center; margin-bottom: var(--space-group); }
.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: var(--text-body);
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(5,150,105,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5,150,105,0.35);
  filter: brightness(1.05);
}
.btn-full { width: 100%; }

/* ============================================
   Form Styles
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
}
.form-input::placeholder { color: #9CA3AF; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-caption);
  color: var(--text-muted);
  margin-top: 12px;
  justify-content: center;
}
.form-note {
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ============================================
   Header
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.desktop-nav a {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.desktop-nav a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: all 0.2s !important;
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1002;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  z-index: 1001;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.mobile-logo { font-weight: 700; font-size: 16px; }
.mobile-close {
  background: none;
  border: none;
  color: var(--text);
}
.mobile-menu-links {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu-links a {
  display: block;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-menu-links .btn-primary {
  margin-top: 24px;
  text-align: center;
  border-bottom: none;
  color: #fff;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 1000;
}
.overlay.open { opacity: 1; pointer-events: auto; }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,150,105,0.85) 0%, rgba(14,165,233,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-text { color: #fff; }
.hero-label {
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  opacity: 0.9;
}
.hero-text h1 {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.highlight { color: #FDE68A; }
.hero-desc {
  font-size: var(--text-body);
  line-height: 1.8;
  opacity: 0.92;
  margin-bottom: 24px;
  max-width: 520px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: var(--text-small);
  font-weight: 500;
  backdrop-filter: blur(4px);
}
.hero-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.hero-form-card h2 {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

/* ============================================
   Merit
   ============================================ */
.merit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.merit-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.merit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.merit-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.merit-icon-1 { background: var(--primary-light); color: var(--primary); }
.merit-icon-2 { background: var(--accent-light); color: var(--accent); }
.merit-icon-3 { background: #ECFDF5; color: #10B981; }
.merit-card h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.merit-card p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.merit-number {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.counter {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}
.merit-number-label {
  font-size: var(--text-small);
  color: var(--text-muted);
}

/* ============================================
   Results
   ============================================ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.result-item {
  text-align: center;
  padding: 32px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(5,150,105,0.1);
}
.result-number {
  display: block;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.result-label {
  font-size: var(--text-small);
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   Simulation
   ============================================ */
.sim-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.sim-input-area {
  padding: 40px;
}
.sim-input-area h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 24px;
}
.sim-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.sim-yen {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}
.sim-number-input {
  flex: 1;
  font-size: 24px;
  font-weight: 700;
  padding: 16px;
}
.sim-unit {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}
.sim-slider-wrapper { margin-bottom: 32px; }
.sim-slider-wrapper input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--primary-light), var(--primary));
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  margin-bottom: 8px;
}
.sim-slider-wrapper input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(5,150,105,0.3);
  cursor: pointer;
}
.sim-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-caption);
  color: var(--text-muted);
}
.sim-result-area {
  padding: 40px;
  background: var(--bg-alt);
  border-top: 2px solid var(--primary);
}
.sim-result-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.sim-result-header h3 {
  font-size: var(--text-h3);
  font-weight: 700;
}
.sim-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.sim-result-item {
  padding: 16px;
  background: #fff;
  border-radius: var(--radius);
}
.sim-result-label {
  display: block;
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-bottom: 4px;
}
.sim-result-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}
.sim-result-highlight { color: var(--primary); font-size: 28px; }
.sim-note {
  font-size: var(--text-caption);
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ============================================
   Cases
   ============================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.case-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.case-card:hover .case-img img {
  transform: scale(1.05);
}
.case-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--primary);
  color: #fff;
  font-size: var(--text-caption);
  font-weight: 600;
  border-radius: 100px;
}
.case-body { padding: 24px; }
.case-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
}
.case-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.case-spec {
  padding: 10px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  text-align: center;
}
.case-spec-label {
  display: block;
  font-size: var(--text-caption);
  color: var(--text-muted);
  margin-bottom: 2px;
}
.case-spec-value {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.case-spec-value.highlight { color: var(--primary); }
.case-voice {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.8;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ============================================
   Subsidy
   ============================================ */
.subsidy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.subsidy-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.subsidy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.subsidy-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--primary);
}
.subsidy-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.subsidy-list { display: flex; flex-direction: column; gap: 0; }
.subsidy-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.subsidy-list li:last-child { border-bottom: none; }
.subsidy-name {
  font-size: var(--text-small);
  color: var(--text);
  font-weight: 500;
}
.subsidy-amount {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.subsidy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 32px;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}
.subsidy-note svg { flex-shrink: 0; margin-top: 2px; }
.subsidy-note p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   Flow
   ============================================ */
.flow-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.flow-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
}
.flow-step {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  position: relative;
}
.flow-step:last-child { margin-bottom: 0; }
.flow-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(5,150,105,0.3);
}
.flow-content {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 28px;
  flex: 1;
}
.flow-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.flow-content p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.flow-period {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: var(--text-caption);
  font-weight: 600;
  border-radius: 100px;
}

/* ============================================
   Gallery
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: var(--text-small);
  font-weight: 500;
}

/* ============================================
   Contact / CTA
   ============================================ */
.section-cta {
  background: linear-gradient(135deg, #059669 0%, #0EA5E9 100%);
  color: #fff;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 60px;
  align-items: flex-start;
}
.contact-text h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}
.contact-text p {
  font-size: var(--text-body);
  line-height: 1.8;
  opacity: 0.92;
  margin-bottom: 28px;
}
.contact-checks { display: flex; flex-direction: column; gap: 12px; }
.contact-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}
.contact-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--text);
}
.contact-form-card h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

/* ============================================
   Footer
   ============================================ */
footer {
  background: #111827;
  color: #D1D5DB;
  padding: 64px 0 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: var(--text-small);
  line-height: 1.7;
  color: #9CA3AF;
}
.footer-links-group h4 {
  font-size: var(--text-small);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links-group a {
  display: block;
  font-size: var(--text-small);
  color: #9CA3AF;
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-links-group a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: var(--text-caption);
  color: #6B7280;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: var(--text-caption);
  color: #6B7280;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: #9CA3AF; }

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* ============================================
   Responsive - Tablet
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-form-card { max-width: 480px; }
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-card { max-width: 540px; }
}

/* ============================================
   Responsive - Tablet (768px)
   ============================================ */
@media (max-width: 768px) {
  .sp-only { display: inline; }
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  .hero { min-height: auto; padding-top: 72px; padding-bottom: 0; }
  .hero-content { padding-top: 40px; padding-bottom: 40px; }
  .hero-text h1 { font-size: clamp(28px, 7vw, 40px); }
  .hero-badges { gap: 8px; }
  .badge { font-size: 12px; padding: 4px 10px; }
  .hero-form-card { max-width: 100%; }

  .merit-grid { grid-template-columns: 1fr; gap: 20px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cases-grid { grid-template-columns: 1fr; gap: 24px; }
  .subsidy-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sim-result-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .flow-timeline::before { left: 20px; }
  .flow-step { gap: 20px; }
  .flow-number { width: 40px; height: 40px; font-size: 14px; }
  .flow-content { padding: 20px; }

  .contact-wrapper { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-card { max-width: 100%; }

  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}

/* ============================================
   Responsive - Mobile (375px)
   ============================================ */
@media (max-width: 480px) {
  .results-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .sim-input-wrapper { flex-wrap: wrap; }
  .sim-number-input { font-size: 20px; }
  .hero-form-card { padding: 24px; }
  .contact-form-card { padding: 24px; }
}
