:root {
  --bg: #f5f5f7;
  --card-bg: #ffffff;
  --border: #e5e7eb;
  --text-main: #111827;
  --text-muted: #6b7280;
  --accent: #111827;
  --accent-soft: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.7;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-main);
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 24px 20px 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border);
}

.card-wrapper {
  margin-bottom: 2px; /* ← ここに余白 */
}

@media (min-width: 640px) {
  .card {
    padding: 20px 32px 28px;
  }
}

.intro {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin-bottom: 20px;
}

.intro p {
  margin: 0;
  font-size: 14px;
}

.service-name {
  font-weight: 600;
}

h2.article-title {
  font-size: 18px;
  margin: 24px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent-soft);
}

.article-body {
  font-size: 14px;
  margin: 0 0 8px;
}

ol.article-list {
  margin: 4px 0 12px 1.2em;
  padding: 0;
  font-size: 14px;
}

ol.article-list li {
  margin: 4px 0;
  padding-left: 4px;
}

ul.bullet-list {
  margin: 4px 0 12px 1.1em;
  padding: 0;
  font-size: 14px;
  list-style: disc;
}

ul.bullet-list li {
  margin: 2px 0;
}

.section-footer {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px dashed var(--accent-soft);
  font-size: 13px;
  color: var(--text-muted);
}

.enact {
  margin-top: 8px;
  font-size: 13px;
}

/** 以下root用 */

.card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 640px) {
  .card-list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.08s ease, box-shadow 0.15s ease;
}

.card-link:hover {
  transform: translateY(-2px); /* ← -3px → -2pxに控えめ */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); /* ← もっと軽く */
}

.card-title-center {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.card-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 960px;
  margin: 0 auto 12px;
  padding: 0 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 6px;
  color: var(--text-muted);
}

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

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  color: var(--text-main);
  font-weight: 500;
}
