:root {
  --bg-start: #f4fbff;
  --bg-end: #ffffff;
  --primary: #2ca5f2;
  --primary-dark: #18324a;
  --text-main: #1b3145;
  --text-sub: #53697a;
  --card-bg: rgba(255, 255, 255, 0.94);
  --border: rgba(44, 165, 242, 0.14);
  --shadow: 0 18px 48px rgba(21, 53, 83, 0.14);
  --radius-lg: 28px;
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text-main);
  background: linear-gradient(145deg, var(--bg-start), var(--bg-end));
}
img { max-width: 100%; display: block; }

.wizard-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 24px 32px;
}

.hero-block {
  text-align: center;
  padding-top: 8px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.hero-block h1 {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.28;
  font-weight: 800;
}

.lead {
  width: min(920px, 100%);
  margin: 14px auto 0;
  color: var(--text-sub);
  font-size: clamp(0.97rem, 1.35vw, 1.05rem);
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  backdrop-filter: blur(6px);
}

.card-image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eaf5fd;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.card-body {
  display: flex;
  flex-direction: column;
  padding: 1px 24px 24px;
  height: 38%;
}

.card-label {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.card-body h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.25;
  color: var(--primary-dark);
}

.card-text {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--text-sub);
}

.card-button {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
  color: #fff;
  background: linear-gradient(135deg, #2ca5f2, #1d84d8);
  box-shadow: 0 12px 26px rgba(44, 165, 242, 0.28);
}

.card-button:hover { transform: translateY(-2px); opacity: 0.96; }

.wiz-card .card-button {
  background: linear-gradient(135deg, #f2b910, #f5ce59);
  box-shadow: 0 12px 26px rgba(24, 50, 74, 0.24);
}

.copyright {text-align: center; font-weight: 800;}

@media (max-width: 980px) {
  .wizard-page {
    min-height: auto;
    padding: 26px 18px 28px;
  }

  .service-grid { grid-template-columns: 1fr; }
  .lead { width: min(760px, 100%); }
}

@media (max-width: 640px) {
  html { font-size: 15px; }
  .wizard-page {
    gap: 18px;
    padding: 22px 14px 24px;
  }
  .hero-block { text-align: left; }
  .lead {
    margin-top: 12px;
    line-height: 1.75;
  }
  .service-grid { gap: 18px; }
  .card-image-wrap { aspect-ratio: 4 / 3; }
  .card-body { padding: 18px 16px 18px; }
  .card-button { width: 100%; }
}
