.article-body {
  --article-accent: #0B4F9C;
  --article-accent-soft: #EEF5FC;
  --article-text: #222;
  --article-muted: #667085;
  --article-border: #E3E8EF;

  color: var(--article-text);
  font-size: 16px;
  line-height: 1.95;
}

.article-body.category-seo {
  --article-accent: #0B4F9C;
  --article-accent-soft: #EEF5FC;
}

.article-body.category-meo {
  --article-accent: #22A06B;
  --article-accent-soft: #EFF9F4;
}

.article-body.category-homepage {
  --article-accent: #00A6B2;
  --article-accent-soft: #EDFAFB;
}

.article-body.category-website {
  --article-accent: #00A6B2;
  --article-accent-soft: #EDFAFB;
}

.article-body p {
  margin: 0 0 1.5em;
}

.article-body h2 {
  margin: 3.2em 0 1.2em;
  padding-bottom: 0.55em;
  border-bottom: 2px solid var(--article-accent);
  font-size: 1.55em;
  line-height: 1.5;
  font-weight: 700;
}

.article-body h3 {
  margin: 2.4em 0 0.9em;
  font-size: 1.2em;
  line-height: 1.6;
  font-weight: 700;
}

.article-body ul,
.article-body ol {
  margin: 1.2em 0 1.8em;
  padding-left: 1.5em;
}

.article-body li {
  margin-bottom: 0.6em;
}

.article-list {
  margin: 1.6em 0 2em;
  padding: 0;
  padding-left: 0 !important;
  list-style: none !important;
  counter-reset: article-list;
  background: #FAFBFC;
}

.article-list li {
  position: relative;
  margin: 0;
  padding: 14px 16px 14px 54px;
  border-bottom: 1px solid var(--article-border);
  list-style: none !important;
  counter-increment: article-list;
}

.article-list li::marker {
  content: "";
}

.article-list li:first-child {
  border-top: 1px solid var(--article-border);
}

.article-list li::before {
  content: counter(article-list, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--article-accent);
  font-size: 0.9em;
  font-weight: 700;
}

.article-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--article-text);
}

.article-list span {
  display: block;
  color: var(--article-muted);
  line-height: 1.75;
}

.article-body a {
  color: var(--article-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-highlight {
  padding: 0 0.08em;
  background: linear-gradient(
    transparent 58%,
    #FFF1A8 58%
  );
  font-weight: 700;
}

.article-body .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-body table {
  width: 100%;
  margin: 1.8em 0 2.2em;
  border-collapse: collapse;
  font-size: 0.95em;
}

.article-body th,
.article-body td {
  padding: 14px 16px;
  border: 1px solid var(--article-border);
  vertical-align: top;
}

.article-body th {
  background: var(--article-accent-soft);
  font-weight: 700;
}

.article-body .article-decision-table {
  margin: 1.4em 0 2em;
}

.article-point {
  margin: 1.6em 0;
  padding: 14px 16px;
  border: 1px solid var(--article-border);
  border-left: 3px solid var(--article-accent);
  border-radius: 6px;
  background: var(--article-accent-soft);
}

.article-point__label {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-bottom: 8px;
  padding: 0 7px;
  border-radius: 4px;
  background: var(--article-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.article-point__body strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1em;
}

.article-point__body p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.75;
}

.article-faq-item {
  margin: 0 0 14px;
  padding: 18px 20px;
  border: 1px solid var(--article-border);
  border-radius: 8px;
  background: #fff;
}

.article-faq-item__question {
  margin-bottom: 8px;
  color: var(--article-text);
  font-size: 1em;
  line-height: 1.6;
  font-weight: 700;
}

.article-faq-item__question::before {
  content: "Q.";
  margin-right: 8px;
  color: var(--article-accent);
  font-weight: 700;
}

.article-faq-item__answer p:last-child {
  margin-bottom: 0;
}

.article-related-guide {
  margin: 2.2em 0 1.8em;
  padding: 16px 18px;
  border: 1px solid var(--article-border);
  border-radius: 8px;
  border-left: 3px solid var(--article-accent);
  background: #fff;
}

.article-related-guide__title {
  margin-bottom: 8px;
  font-size: 1.02em;
  line-height: 1.5;
  font-weight: 700;
}

.article-related-guide__title::before {
  content: "関連ガイド";
  display: inline-block;
  margin-right: 8px;
  color: var(--article-accent);
  font-size: 0.76em;
  font-weight: 700;
}

.article-related-guide p {
  margin-bottom: 8px;
  color: var(--article-muted);
  font-size: 0.94em;
  line-height: 1.75;
}

.article-related-guide a {
  display: inline;
  color: var(--article-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-related-guide a::after {
  content: " →";
}

@media (max-width: 767px) {
  .article-body {
    font-size: 15px;
    line-height: 1.9;
  }

  .article-body h2 {
    margin-top: 2.6em;
    font-size: 1.35em;
  }

  .article-body h3 {
    font-size: 1.15em;
  }

  .article-point {
    padding: 13px 14px;
  }

  .article-point__label {
    margin-bottom: 7px;
  }

  .article-list li {
    padding: 13px 14px 13px 46px;
  }

  .article-list li::before {
    left: 14px;
    top: 13px;
  }

  .article-faq-item {
    padding: 17px 18px;
  }

  .article-related-guide {
    padding: 20px 18px;
  }
}
