:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #142033;
  --text-soft: #4c5a70;
  --muted: #6b7280;
  --line: #d9e1ec;
  --line-strong: #c9d5e6;
  --primary: #1f4ed8;
  --primary-dark: #173ea9;
  --primary-soft: #eef4ff;
  --notice-bg: #f8fbff;
  --notice-line: #cfe0ff;
  --max: 1120px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 14px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #fbfdff 0%, #f5f7fb 38%, #f5f7fb 100%);
  line-height: 1.85;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 213, 230, 0.85);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  color: var(--text);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 500;
}

.nav a:not(.btn):hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(31, 78, 216, 0.18);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--line-strong);
  background: #fdfefe;
  color: var(--text);
}

.hero {
  padding: 44px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.hero-card,
.panel,
.card,
.notice,
.form-wrap,
.cta-band,
.faq-item,
.flow-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-card {
  padding: 38px 38px 30px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.05rem, 4vw, 3.45rem);
  line-height: 1.22;
  letter-spacing: 0.01em;
}

.lead {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 18px;
}

.micro-note {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-side {
  padding: 28px 28px 24px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.hero-side h2 {
  margin: 0 0 14px;
  font-size: 1.32rem;
  line-height: 1.4;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding: 15px 0 15px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
}

.check-list li:last-child {
  border-bottom: none;
}

section {
  padding: 32px 0;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 2.7vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.section-head p {
  margin: 0;
  max-width: 780px;
  color: var(--text-soft);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 24px 24px 22px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.5;
}

.card p,
.card li {
  color: var(--text-soft);
}

.card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.card li + li {
  margin-top: 6px;
}

.notice {
  padding: 28px 30px;
  background: var(--notice-bg);
  border-color: var(--notice-line);
  box-shadow: none;
}

.notice h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.notice p {
  margin: 0;
  color: var(--text-soft);
}

.flow {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.flow-item {
  position: relative;
  padding: 24px 24px 22px 82px;
  box-shadow: none;
}

.flow-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.98rem;
}

.flow-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.flow-item p {
  margin: 0;
  color: var(--text-soft);
}

.faq-item {
  padding: 22px 24px;
  box-shadow: none;
}

.faq-item + .faq-item {
  margin-top: 14px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.55;
}

.faq-item p {
  margin: 0;
  color: var(--text-soft);
}

.cta-band {
  padding: 28px 30px;
  background: linear-gradient(135deg, #eff5ff 0%, #ffffff 100%);
  border-color: #d8e5ff;
}

.cta-band h2 {
  margin-top: 0;
}

.kicker {
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
}

.form-wrap {
  padding: 30px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field,
.field-full {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.95rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #91a0b5;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #8baef8;
  box-shadow: 0 0 0 4px rgba(31, 78, 216, 0.08);
}

textarea {
  min-height: 180px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex: 0 0 auto;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  margin-top: 48px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 52px 0 20px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  line-height: 1.3;
}

.page-content {
  padding-bottom: 52px;
}

.page-content .panel {
  padding: 30px;
}

.page-content h2 {
  margin-top: 28px;
}

.page-content p,
.page-content li {
  color: var(--text-soft);
}

.page-content ul {
  padding-left: 20px;
}

.center-box {
  max-width: 820px;
  margin: 0 auto;
}

.back-link {
  margin-top: 18px;
  display: inline-block;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-card,
  .hero-side,
  .card,
  .notice,
  .cta-band,
  .form-wrap,
  .faq-item,
  .flow-item,
  .page-content .panel {
    padding: 22px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.7rem);
  }

  .flow-item {
    padding-left: 72px;
  }

  .flow-item::before {
    left: 20px;
    top: 20px;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .hero-card,
  .hero-side,
  .card,
  .notice,
  .cta-band,
  .form-wrap,
  .faq-item,
  .flow-item {
    border-radius: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .micro-note {
    font-size: 0.86rem;
  }

  .section-head h2 {
    font-size: 1.45rem;
  }
}
