:root {
  --text: #1f2933;
  --navy: #0f2a4a;
  --accent: #1e5fb3;
  --bg-soft: #f4f7fb;
  --border: #d9e2ec;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
}

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

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

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  flex-wrap: wrap;
  gap: 8px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 20px;
}

.hero p {
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 0 32px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.btn:hover { opacity: 0.9; }

.btn-outline {
  background: var(--white);
  color: var(--accent);
  border: 2px solid var(--accent);
}

/* Sections */
section { padding: 72px 0; }

section.soft { background: var(--bg-soft); }

h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 24px;
  line-height: 1.4;
}

h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin: 0 0 12px;
}

.lead {
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 0 40px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.card .label {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 8px;
}

.card p { margin: 0 0 16px; }

.card a.more {
  font-weight: 700;
  text-decoration: none;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: 20px;
}

.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 28px 24px 84px;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; }

/* Page header */
.page-hero {
  padding: 64px 0 48px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 12px;
}

.page-hero p { margin: 0; max-width: 720px; }

.breadcrumb {
  font-size: 0.85rem;
  margin: 0 0 16px;
}

.breadcrumb a { color: var(--text); }

/* Lists */
ul.check {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.check li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}

ul.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Form */
form.contact-form {
  display: grid;
  gap: 20px;
  max-width: 640px;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.field .req {
  color: #b42318;
  font-size: 0.85rem;
  margin-left: 6px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #9aa5b1;
  border-radius: 6px;
  font: inherit;
}

.field textarea { min-height: 160px; resize: vertical; }

.checks label {
  display: block;
  font-weight: 400;
  margin-bottom: 8px;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

legend {
  font-weight: 700;
  margin-bottom: 8px;
  padding: 0;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 32px;
  font-size: 0.92rem;
}

.site-footer a { color: var(--white); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li { margin-bottom: 8px; }

.footer-note {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 720px) {
  .hero { padding: 64px 0 56px; }
  section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-nav ul { gap: 14px; }
}

/* FAQ and related links */
.faq dt {
  font-weight: 700;
  color: var(--navy);
  margin: 20px 0 6px;
}

.faq dd {
  margin: 0;
  padding-left: 0;
}

ul.related {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

ul.related li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
}
