/* kakemo SEO / 情報ページ共通スタイル（compare / privacy / ai 等） */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}
body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', 'Meiryo',
    'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: #0f172a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #0f172a;
  text-decoration: underline;
  text-decoration-color: #5eead4;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3 {
  line-height: 1.35;
  margin: 0 0 0.5em;
}
h1 {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-top: 1.2em;
}
h3 {
  font-size: 1.0625rem;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}
ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

/* レイアウト */
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}
header.site {
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
}
header.site .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
header.site .brand {
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  color: #0f172a;
  text-decoration: none;
}
header.site .priv {
  color: #64748b;
  font-size: 0.75rem;
}
main {
  padding: 32px 0 64px;
}
section {
  margin: 0 0 36px;
}

/* ヒーロー */
.hero {
  background: #0f172a;
  color: #ffffff;
  margin: 0;
  padding: 44px 0 48px;
  border-bottom: 4px solid #5eead4;
}
.hero h1 {
  color: #ffffff;
  font-size: 1.875rem;
  line-height: 1.3;
}
.hero p.lead {
  color: #cbd5e1;
  font-size: 1.0625rem;
  max-width: 38em;
  margin-bottom: 0;
}

/* 定義文の強調ボックス（AI 引用ターゲット） */
.definition {
  border-left: 4px solid #14b8a6;
  background: #f0fdfa;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 0 0 28px;
}
.definition p {
  margin: 0;
  font-size: 1.0625rem;
}

/* 比較表 */
.table-scroll {
  overflow-x: auto;
}
table.compare {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9375rem;
  min-width: 480px;
}
table.compare th,
table.compare td {
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
table.compare thead th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
}
table.compare tbody th {
  background: #f8fafc;
  font-weight: 600;
}
table.compare td.kakemo {
  background: #f0fdfa;
  font-weight: 600;
}

/* チェックリスト */
.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.features li {
  padding-left: 1.5em;
  position: relative;
  font-size: 0.9375rem;
  color: #1e293b;
}
.features li::before {
  content: '✓';
  color: #14b8a6;
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* 手順 */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  padding: 14px 16px 14px 56px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 30px;
  height: 30px;
  background: #0f172a;
  color: #5eead4;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.875rem;
}
.steps li h3 {
  margin: 0 0 4px;
  font-size: 0.9375rem;
}
.steps li p {
  margin: 0;
  color: #475569;
  font-size: 0.875rem;
}

/* Q&A ブロック（AI 抽出しやすい質問見出し + 答え） */
.qa {
  margin: 0 0 18px;
}
.qa h3 {
  margin: 0 0 6px;
  font-size: 1.0625rem;
}
.qa p {
  margin: 0 0 0.5em;
  color: #334155;
}

/* CTA */
.cta-block {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.cta-block a.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: #5eead4;
  color: #0f172a;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  margin: 4px 6px;
}
.cta-block a.btn:hover {
  background: #2dd4bf;
}
.cta-block .links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 0.875rem;
}
.cta-block .links a {
  color: #475569;
}

/* パンくず */
.crumbs {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0 0 18px;
}
.crumbs a {
  color: #475569;
}

/* フッタ */
footer {
  border-top: 1px solid #e2e8f0;
  padding: 20px 0 40px;
  color: #64748b;
  font-size: 0.8125rem;
  text-align: center;
}
footer a {
  color: #475569;
}
:focus-visible {
  outline: 2px solid #14b8a6;
  outline-offset: 2px;
}
