/* 導入ガイド記事の共通スタイル。LPと同じトーンで揃えている */
:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg-soft: #f8fafc;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--ink);
  line-height: 1.9;
}
a { color: var(--brand); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); z-index: 10; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1000px; }
.logo { font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo span { color: var(--brand); }
.btn { display: inline-block; background: var(--brand); color: #fff !important; padding: 11px 22px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; }
.btn:hover { background: var(--brand-dark); }
.btn-lg { padding: 15px 32px; font-size: 16px; }

.crumb { font-size: 13px; color: var(--muted); padding: 24px 0 0; }
.crumb a { color: var(--muted); }

article { padding: 8px 0 60px; }
article h1 { font-size: 30px; line-height: 1.45; letter-spacing: -.02em; margin: 12px 0 16px; }
article .meta { color: var(--muted); font-size: 13px; margin-bottom: 32px; }
article h2 { font-size: 22px; margin: 48px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
article h3 { font-size: 17px; margin: 30px 0 8px; }
article p { margin: 0 0 16px; }
article ul, article ol { margin: 0 0 16px; padding-left: 1.4em; }
article li { margin-bottom: 8px; }
article img { max-width: 100%; }

.lead { font-size: 17px; color: var(--muted); }

.steps-box { counter-reset: s; margin: 24px 0; }
.step-item { position: relative; padding: 0 0 22px 46px; border-left: 2px solid var(--line); margin-left: 15px; }
.step-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.step-item::before { counter-increment: s; content: counter(s); position: absolute; left: -16px; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.step-item h3 { margin: 3px 0 6px; font-size: 16px; }
.step-item p { margin: 0 0 8px; font-size: 14.5px; }

.code { background: #0f172a; color: #e2e8f0; border-radius: 8px; padding: 14px 16px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; word-break: break-all; line-height: 1.7; margin: 0 0 16px; }
code { background: #eef2f7; padding: 2px 6px; border-radius: 4px; font-size: .9em; }

.note { border-radius: 10px; padding: 16px 18px; margin: 22px 0; font-size: 14.5px; line-height: 1.85; }
.note.warn { background: #fffbeb; border: 1px solid #fde68a; }
.note.info { background: #eff6ff; border: 1px solid #bfdbfe; }
.note p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--bg-soft); font-weight: 600; }

.cta-box { background: linear-gradient(135deg, var(--brand) 0%, #4f46e5 100%); color: #fff; border-radius: 14px; padding: 34px 30px; text-align: center; margin: 48px 0 0; }
.cta-box h2 { color: #fff; border: none; margin: 0 0 10px; padding: 0; font-size: 22px; }
.cta-box p { color: #dbeafe; margin: 0 0 22px; font-size: 14.5px; }
.cta-box .btn { background: #fff; color: var(--brand) !important; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.card-link { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; text-decoration: none; color: var(--ink); transition: .2s; }
.card-link:hover { border-color: var(--brand); box-shadow: 0 6px 20px rgba(37,99,235,.1); }
.card-link h3 { margin: 0 0 6px; font-size: 16px; color: var(--brand); }
.card-link p { margin: 0; font-size: 13.5px; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; max-width: 1000px; }
footer a { color: var(--muted); }

@media (max-width: 720px) {
  article h1 { font-size: 24px; }
  .cards { grid-template-columns: 1fr; }
}
