:root {
  --bg: #f5f8fc;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eaf2ff;
  --border: #e5e7eb;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}

a {
  color: var(--primary);
}

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

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-icon {
  width: 2rem;
  height: 2rem;
  display: block;
  border-radius: 0.65rem;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
  object-fit: cover;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--primary);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero {
  padding: 4rem 0 3rem;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
h4 {
  line-height: 1.35;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.3rem);
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

h3 {
  margin: 1.2rem 0 0.45rem;
  font-size: 1.08rem;
}

p {
  margin: 0.45rem 0 0.9rem;
}

.lead {
  color: #374151;
  font-size: 1.08rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.hero-actions.compact {
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}

.button.primary {
  color: #fff;
  background: var(--primary);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  color: var(--primary);
  background: #fff;
  border-color: #bfdbfe;
}

.hero-card,
.card,
.card-section,
.page-head,
.info-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.4rem;
}

.check-list,
ul,
ol {
  padding-left: 1.25rem;
}

.check-list li {
  margin: 0.4rem 0;
}

.section {
  padding: 2.6rem 1rem 0;
}

main > .section:last-of-type {
  padding-bottom: 3rem;
}

.section-title {
  max-width: 720px;
  margin-bottom: 1.2rem;
}

.steps,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.card {
  padding: 1.2rem;
  box-shadow: none;
}

.step-card {
  position: relative;
}

.step-number {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.info-panel {
  padding: 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
}

.link-list {
  display: grid;
  gap: 0.6rem;
}

.link-list a {
  display: block;
  padding: 0.7rem 0.9rem;
  background: var(--primary-soft);
  border-radius: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.page {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.page-head,
.card-section {
  padding: 1.35rem;
  margin-bottom: 1rem;
}

.page-head h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.contact-line {
  font-size: 1.05rem;
  font-weight: 800;
}

.last-updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  text-align: center;
  padding: 1.4rem 1rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid,
  .info-panel {
    grid-template-columns: 1fr;
  }

  .steps,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 2.8rem 0 2rem;
  }

  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  nav {
    gap: 0.7rem;
  }

  nav a {
    font-size: 0.9rem;
  }
}
