﻿.seo-article {
  --seo-border: #e2e8f0;
  --seo-text: #334155;
  --seo-muted: #64748b;
  --seo-title: #111827;
  --seo-accent: #1d4ed8;
  --seo-bg: #f3f4f6;
  --seo-card-bg: #ffffff;
  --seo-marker: linear-gradient(transparent 58%, #fff3a5 58%);
  background: var(--seo-bg);
  color: var(--seo-text);
  padding: 34px 0 56px;
}

.seo-article__inner {
  width: min(1040px, 100% - 32px);
  margin: 0 auto;
}

.seo-article__frame {
  background: var(--seo-card-bg);
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
  padding: clamp(20px, 3vw, 32px);
}

.seo-article__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--seo-muted);
  margin-bottom: 20px;
}

.seo-article__breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.seo-article__breadcrumb a:hover {
  color: #0f172a;
  text-decoration: underline;
}

.seo-article__header {
  margin-bottom: 18px;
}

.seo-article__title {
  margin: 0;
  color: var(--seo-title);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.seo-article__meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--seo-muted);
}

.seo-article__meta time {
  font-weight: 700;
}

.seo-article__chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dbe0e8;
  border-radius: 999px;
  padding: 4px 10px;
  background: #fff;
  color: #334155;
  font-weight: 700;
  line-height: 1.4;
}

.seo-article__thumb {
  margin-top: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #e5e7eb;
  aspect-ratio: 16 / 9;
}

.seo-article__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seo-article__thumb-fallback {
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
  color: #6b7280;
  font-size: 14px;
  padding: 14px;
  text-align: center;
  background: repeating-linear-gradient(
    -45deg,
    #eceff3,
    #eceff3 12px,
    #f5f7fa 12px,
    #f5f7fa 24px
  );
}

.seo-article__toc {
  margin: 28px 0 34px;
  padding: 22px 24px 18px;
  border-radius: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  overflow: visible;
}

.seo-article__toc-title {
  margin: 0 0 10px;
  padding: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.6;
  color: #111827;
  background: transparent;
  border-bottom: none;
}

.seo-article__toc-list,
.seo-article__toc-list ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-article__toc-list {
  padding: 10px 0 0;
  border-top: 1px solid #e5e7eb;
  counter-reset: toc-lv1;
}

.seo-article__toc-list > li {
  counter-increment: toc-lv1;
  position: relative;
  padding: 9px 0 9px 34px;
  border-top: 1px solid #e5e7eb;
  border-bottom: none;
  font-size: 14px;
  line-height: 1.7;
}

.seo-article__toc-list > li:first-child {
  border-top: none;
}

.seo-article__toc-list > li:last-child {
  border-bottom: none;
}

.seo-article__toc-list > li::before {
  content: counter(toc-lv1) " |";
  position: absolute;
  left: 0;
  top: 9px;
  font-size: 13px;
  line-height: 1.7;
  color: #6b7280;
  font-weight: 400;
}

.seo-article__toc-list > li > a {
  display: inline;
  padding: 0;
  color: #111827;
  text-decoration: none;
  line-height: 1.7;
  font-weight: 600;
}

.seo-article__toc-list > li > a::before {
  content: none;
}

.seo-article__toc-list > li > a:hover {
  color: #111827;
  text-decoration: underline;
}

.seo-article__toc-list ol {
  margin-top: 6px;
  padding: 0 0 2px 18px;
  counter-reset: toc-lv2;
}

.seo-article__toc-list ol li {
  counter-increment: toc-lv2;
  position: relative;
  padding: 5px 0 5px 34px;
  margin: 0;
  border-top: none;
  font-size: 13.5px;
  line-height: 1.7;
}

.seo-article__toc-list ol li::before {
  content: counter(toc-lv1) "." counter(toc-lv2);
  position: absolute;
  left: 0;
  top: 5px;
  color: #6b7280;
  font-size: 13px;
}

.seo-article__toc-list ol a {
  display: inline;
  padding: 0;
  font-size: 13.5px;
  color: #374151;
  line-height: 1.7;
  text-decoration: none;
  font-weight: 400;
}

.seo-article__toc-list ol a:hover {
  color: #111827;
  text-decoration: underline;
}

.seo-article__body {
  margin-top: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  padding: clamp(20px, 2.8vw, 38px);
}

.seo-article__lead {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.95;
  color: #1f2937;
}

.seo-article__section + .seo-article__section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #eceff4;
}

.seo-article__section h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.45vw, 30px);
  line-height: 1.55;
  color: var(--seo-title);
  font-weight: 800;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9dee6;
  position: relative;
}

.seo-article__section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 64px;
  height: 2px;
  background: #a5b4c7;
}

.seo-article__section h3 {
  margin: 26px 0 12px;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.6;
  color: #111827;
  font-weight: 700;
  border-left: 4px solid #cbd5e1;
  padding-left: 12px;
}

.seo-article__section p {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--seo-text);
}

.seo-article__section ul,
.seo-article__section ol {
  margin: 8px 0 20px;
  padding-left: 1.35em;
}

.seo-article__section li {
  margin-bottom: 10px;
  line-height: 1.9;
}

.seo-article__marker {
  font-weight: 800;
  background: var(--seo-marker);
}

.seo-article strong {
  font-weight: 700;
  color: #0f172a;
}

.seo-article__note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
}

.seo-article__table-wrap {
  margin: 24px 0 28px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  overflow-x: auto;
  background: #fff;
}

.seo-article__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

.seo-article__table th,
.seo-article__table td {
  border-bottom: 1px solid #e7edf5;
  padding: 14px 14px;
  vertical-align: top;
  text-align: left;
  line-height: 1.75;
}

.seo-article__table thead th {
  background: #f4f7fb;
  color: #0f172a;
  font-weight: 700;
}

.seo-article__table tbody tr:last-child th,
.seo-article__table tbody tr:last-child td {
  border-bottom: 0;
}

.seo-article__faq {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.seo-article__faq details {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.seo-article__faq summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  position: relative;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.7;
}

.seo-article__faq summary::marker,
.seo-article__faq summary::-webkit-details-marker {
  display: none;
}

.seo-article__faq summary::before {
  content: "Q.";
  color: var(--seo-accent);
  font-weight: 800;
  margin-right: 8px;
}

.seo-article__faq details[open] summary {
  border-bottom: 1px solid #e5ebf3;
  background: #fafcff;
}

.seo-article__faq-answer {
  margin: 0;
  padding: 13px 16px 15px;
  line-height: 1.9;
  font-size: 15px;
}

.seo-article__faq-answer::before {
  content: "A.";
  color: var(--seo-accent);
  font-weight: 800;
  margin-right: 8px;
}

.seo-article__cta {
  margin-top: 28px;
  border-radius: 14px;
  border: 1px solid #dfe6ef;
  background: #fbfdff;
  padding: clamp(18px, 2.6vw, 28px);
}

.seo-article__cta-title {
  margin: 0 0 10px;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.6;
  color: #111827;
}

.seo-article__cta-text {
  margin: 0;
  line-height: 1.9;
  color: #334155;
  font-size: 15px;
}

.seo-article__cta-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-article__cta .btn {
  min-width: 240px;
  justify-content: center;
  font-weight: 700;
}

.seo-article__checklist {
  margin: 12px 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.seo-article__checklist li {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0;
  line-height: 1.8;
}

.seo-article__checklist li::before {
  content: "\2713 ";
  font-weight: 700;
  color: #1d4ed8;
}

@media (max-width: 768px) {
  .seo-article {
    padding: 20px 0 42px;
  }

  .seo-article__inner {
    width: min(1040px, 100% - 18px);
  }

  .seo-article__frame {
    border-radius: 16px;
    padding: 16px;
  }

  .seo-article__title {
    font-size: clamp(23px, 7vw, 30px);
  }

    .seo-article__toc {
    margin: 22px 0 28px;
    padding: 20px 18px 16px;
  }

  .seo-article__toc-title {
    font-size: 15px;
    letter-spacing: 0.16em;
  }

  .seo-article__toc-list {
    padding: 8px 0 0;
  }

  .seo-article__toc-list > li {
    padding: 8px 0 8px 30px;
    font-size: 13.5px;
  }

  .seo-article__toc-list > li::before {
    top: 8px;
    font-size: 12.5px;
  }

  .seo-article__toc-list > li > a {
    line-height: 1.7;
  }

  .seo-article__toc-list ol {
    padding: 0 0 4px 12px;
  }

  .seo-article__toc-list ol li {
    padding-left: 32px;
  }

  .seo-article__body {
    margin-top: 22px;
    padding: 18px 14px 22px;
  }

  .seo-article__section + .seo-article__section {
    margin-top: 30px;
    padding-top: 24px;
  }

  .seo-article__section p,
  .seo-article__faq-answer,
  .seo-article__cta-text {
    font-size: 15px;
  }

  .seo-article__table {
    min-width: 680px;
  }

  .seo-article__cta .btn {
    min-width: 0;
    width: 100%;
  }
}
/* =========================================================
   SEOブログ本文UI 調整版
   - 見出し余白
   - h2/h3デザイン
   - FAQ非表示
   - 本文のゆとり調整
   ========================================================= */

/* 本文カード内の余白を少し広げる */
.seo-article__body {
  padding: clamp(28px, 4vw, 52px);
}

/* 導入セクションも通常セクションと同じ扱いにする */
.seo-article__section:first-child {
  padding-top: 0;
}

/* セクション間の余白を広げる */
.seo-article__section + .seo-article__section {
  margin-top: 64px;
  padding-top: 0;
  border-top: none;
}

/* 大見出し：青＋薄青の下線 */
.seo-article__section h2 {
  margin: 0 0 28px;
  padding-bottom: 12px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.45;
  font-weight: 850;
  color: #0f172a;
  border-bottom: 1px solid #cfe3ff;
  position: relative;
}

.seo-article__section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 112px;
  height: 2px;
  background: #2563eb;
}

/* 中見出し：数字なし前提。左線は削除して、落ち着いた下線に変更 */
.seo-article__section h3 {
  margin: 44px 0 18px;
  padding: 0 0 9px;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
  font-weight: 800;
  color: #134e4a;
  border-left: none;
  border-bottom: 1px solid #cde7e3;
  position: relative;
}

.seo-article__section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 72px;
  height: 2px;
  background: #14b8a6;
}

/* 段落の詰まりを改善 */
.seo-article__section p {
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 2.05;
}

/* リストにもゆとりを出す */
.seo-article__section ul,
.seo-article__section ol {
  margin: 18px 0 26px;
  padding-left: 1.45em;
}

.seo-article__section li {
  margin-bottom: 12px;
  line-height: 1.95;
}

/* note枠を少し上品に */
.seo-article__note {
  margin: 28px 0 0;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  color: #334155;
  line-height: 1.9;
}

/* 表の上下余白をさらに広げる */
.seo-article__table-wrap {
  margin: 34px 0 36px;
}

/* 業者選びのポイント用 */
.seo-article__point-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 26px;
  padding: 0;
  list-style: none;
}

.seo-article__point-list li {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fbfdff;
  line-height: 1.9;
}

.seo-article__point-list strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 16px;
}

/* FAQは今回のブログ記事では非表示 */
.seo-article__faq-section {
  display: none;
}

/* スマホ調整 */
@media (max-width: 768px) {
  .seo-article__body {
    padding: 22px 16px 28px;
  }

  .seo-article__section + .seo-article__section {
    margin-top: 46px;
  }

  .seo-article__section h2 {
    margin-bottom: 22px;
    font-size: clamp(22px, 6vw, 28px);
  }

  .seo-article__section h2::after {
    width: 88px;
  }

  .seo-article__section h3 {
    margin-top: 34px;
    font-size: clamp(18px, 5vw, 22px);
  }

  .seo-article__section p {
    font-size: 15px;
    line-height: 2;
  }

  .seo-article__point-list li {
    padding: 15px 16px;
  }
}
/* =========================================================
   SEOブログ本文UI 再調整
   - BRISK記事風に見出し・本文サイズを落ち着かせる
   - h3の緑色を廃止
   - h2/h3ともに下線デザインへ統一
   ========================================================= */

/* 本文全体：文字の圧を下げる */
.seo-article__body {
  padding: clamp(30px, 4vw, 48px);
}

/* セクション間の余白 */
.seo-article__section + .seo-article__section {
  margin-top: 58px;
  padding-top: 0;
  border-top: none;
}

/* 大見出し h2：青系。文字を少し小さく・太さ控えめに */
.seo-article__section h2 {
  margin: 0 0 28px;
  padding-bottom: 13px;
  font-size: clamp(22px, 2.1vw, 27px);
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2f343b;
  border-bottom: 3px solid #dbeafe;
  position: relative;
}

/* h2の濃い下線：短め */
.seo-article__section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 150px;
  height: 3px;
  background: #2563eb;
}

/* 中見出し h3：緑をやめて、落ち着いた青グレー系へ */
.seo-article__section h3 {
  margin: 46px 0 20px;
  padding: 0 0 11px;
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #374151;
  border-left: none;
  border-bottom: 2px solid #e5edf7;
  position: relative;
}

/* h3の濃い下線：h2より控えめ */
.seo-article__section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 95px;
  height: 2px;
  background: #7aa6d9;
}

/* 本文：BRISK寄せでやや小さめ・行間ゆったり */
.seo-article__section p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 2.05;
  letter-spacing: 0.02em;
  color: #4b5563;
}

/* リストも本文と同じトーンに */
.seo-article__section ul,
.seo-article__section ol {
  margin: 20px 0 30px;
  padding-left: 1.4em;
}

.seo-article__section li {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.02em;
  color: #4b5563;
}

/* leadだけ少し本文より強め */
.seo-article__lead {
  font-size: 15.5px;
  line-height: 2.05;
  color: #374151;
}

/* 強調マーカー：文字色は変えず、自然に */
.seo-article__marker {
  font-weight: 800;
  color: inherit;
  background: linear-gradient(transparent 60%, #fff3a5 60%);
}

/* note枠：主張しすぎない見た目に */
.seo-article__note {
  margin: 30px 0 0;
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  color: #4b5563;
  font-size: 14.5px;
  line-height: 1.95;
}

/* 表の前後余白 */
.seo-article__table-wrap {
  margin: 36px 0 40px;
}

/* スマホ */
@media (max-width: 768px) {
  .seo-article__body {
    padding: 24px 16px 30px;
  }

  .seo-article__section + .seo-article__section {
    margin-top: 48px;
  }

  .seo-article__section h2 {
    margin-bottom: 24px;
    font-size: clamp(21px, 5.8vw, 25px);
    line-height: 1.55;
  }

  .seo-article__section h2::after {
    width: 110px;
  }

  .seo-article__section h3 {
    margin-top: 38px;
    margin-bottom: 18px;
    font-size: clamp(18px, 5vw, 21px);
  }

  .seo-article__section h3::after {
    width: 80px;
  }

  .seo-article__section p,
  .seo-article__section li {
    font-size: 14.8px;
    line-height: 2;
  }
}
/* =========================================================
   SEOブログ末尾CTA
   - トップページの予約CTA / LINE CTA をブログ用に再現
   ========================================================= */

.seo-article__bottom-cta {
  margin-top: 52px;
  padding: clamp(26px, 4vw, 38px);
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.seo-article__bottom-cta-head {
  text-align: center;
  margin-bottom: 22px;
}

.seo-article__bottom-cta-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.seo-article__bottom-cta-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.55;
  font-weight: 800;
  color: #0f172a;
}

.seo-article__bottom-cta-lead {
  margin: 10px auto 0;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.9;
  color: #475569;
}

.seo-article__bottom-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* 予約カード */
.seo-article__reserve-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #1d4ed8;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.18);
}

.seo-article__reserve-head {
  text-align: center;
  padding: 18px 18px 8px;
}

.seo-article__reserve-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
}

.seo-article__reserve-title {
  margin: 8px 0 0;
  padding: 0;
  border: none;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 900;
  color: #fff;
}

.seo-article__reserve-title::after {
  content: none;
}

.seo-article__reserve-body {
  padding: 12px 20px 22px;
  text-align: center;
}

.seo-article__reserve-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.94);
}

.seo-article__reserve-btn-wrap {
  margin-top: 16px;
}

.seo-article__reserve-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 320px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.seo-article__reserve-btn:hover {
  opacity: 0.95;
}

/* LINEカード */
.seo-article__line-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #86efac;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.seo-article__line-head {
  background: #06C755;
  color: #fff;
  padding: 18px 18px 12px;
  text-align: center;
}

.seo-article__line-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: #16a34a;
  font-size: 11px;
  font-weight: 800;
}

.seo-article__line-title {
  margin: 8px 0 0;
  padding: 0;
  border: none;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 900;
  color: #fff;
}

.seo-article__line-title::after {
  content: none;
}

.seo-article__line-body {
  padding: 18px 20px 22px;
  text-align: center;
}

.seo-article__line-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #334155;
}

.seo-article__line-btn-wrap {
  margin-top: 16px;
}

.seo-article__line-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 320px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #06C755;
  color: #fff;
  border: 1px solid #06C755;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.seo-article__line-btn:hover {
  opacity: 0.9;
}

/* 既存のh3共通CSS干渉を防ぐ */
.seo-article__bottom-cta h3 {
  border-left: none;
  border-bottom: none;
}

.seo-article__bottom-cta h3::after {
  content: none;
}

/* スマホ */
@media (max-width: 768px) {
  .seo-article__bottom-cta {
    margin-top: 42px;
    padding: 22px 16px;
  }

  .seo-article__bottom-cta-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .seo-article__bottom-cta-title {
    font-size: 22px;
  }

  .seo-article__bottom-cta-lead {
    font-size: 14px;
  }

  .seo-article__reserve-title,
  .seo-article__line-title {
    font-size: 18px;
  }

  .seo-article__reserve-text,
  .seo-article__line-text {
    font-size: 13.5px;
  }

  .seo-article__reserve-btn,
  .seo-article__line-btn {
    max-width: none;
  }
}
/* =========================================================
   SEOブログ末尾CTA 再調整
   - フロントページ風に「予約サイト」→「LINE公式アカウント」の上下並び
   - 既存の2カラムCTAを廃止
   ========================================================= */

.seo-article__contact-cta {
  margin-top: 56px;
}

.seo-article__contact-title {
  margin: 0 0 28px;
  padding: 0 0 10px;
  text-align: center;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.5;
  font-weight: 800;
  color: #0f172a;
  border-bottom: none;
  position: relative;
}

.seo-article__contact-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  background: #0f172a;
  opacity: 0.18;
  margin: 8px auto 0;
}

/* 既存h2/h3共通CSSの干渉防止 */
.seo-article__contact-cta h2,
.seo-article__contact-cta h3,
.seo-article__contact-cta h4 {
  border: none;
}

.seo-article__contact-cta h2::after,
.seo-article__contact-cta h3::after,
.seo-article__contact-cta h4::after {
  content: none;
}

/* =========================
   予約サイトCTA
   ========================= */

.seo-article__reserve-box {
  display: block;
  min-height: 248px;
  padding: 24px 18px;
  border: 1px solid #1d4ed8;
  border-radius: 18px;
  background: #4f52e8;
  color: #fff;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.18);
  text-align: center;
}

.seo-article__reserve-box-head {
  padding: 0 8px 12px;
}

.seo-article__reserve-box-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: #4f52e8;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.seo-article__reserve-box-title {
  margin: 8px 0 0;
  padding: 0;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 900;
  color: #fff;
}

.seo-article__reserve-box-body {
  padding: 4px 8px 0;
}

.seo-article__reserve-box-text {
  margin: 0 auto 16px;
  max-width: 640px;
  font-size: 14.5px;
  line-height: 1.9;
  color: #fff;
}

.seo-article__reserve-box-btn-wrap {
  margin-top: 10px;
}

.seo-article__reserve-box-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(360px, 100%);
  min-height: 56px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #bfdbfe;
  color: #4f52e8;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.seo-article__reserve-box-btn:hover {
  opacity: 0.95;
}

/* =========================
   LINE CTA
   ========================= */

.seo-article__line-box {
  min-height: 248px;
  margin-top: 18px;
  border: 1px solid #86efac;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.seo-article__line-box-head {
  background: #06C755;
  color: #fff;
  padding: 14px 16px 16px;
  text-align: center;
}

.seo-article__line-box-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: #16a34a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.seo-article__line-box-title {
  margin: 8px 0 0;
  padding: 0;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 900;
  color: #fff;
}

.seo-article__line-box-body {
  padding: 24px 32px 26px;
}

.seo-article__line-box-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.seo-article__line-box-text h4 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 21px;
  line-height: 1.55;
  font-weight: 900;
  color: #0f172a;
}

.seo-article__line-box-desc {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  padding: 14px 16px;
}

.seo-article__line-box-desc ul {
  margin: 0;
  padding-left: 1.25em;
}

.seo-article__line-box-desc li {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #111827;
}

.seo-article__line-box-desc li:last-child {
  margin-bottom: 0;
}

.seo-article__line-box-qr {
  display: flex;
  justify-content: center;
  align-items: center;
}

.seo-article__line-box-qr img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.seo-article__line-box-btn-wrap {
  margin-top: 22px;
  text-align: center;
}

.seo-article__line-box-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(360px, 100%);
  min-height: 56px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #06C755;
  border: 1px solid #06C755;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.seo-article__line-box-btn:hover {
  opacity: 0.9;
}

/* 旧CTAが残っていても非表示 */
.seo-article__bottom-cta {
  display: none;
}

/* スマホ */
@media (max-width: 768px) {
  .seo-article__contact-cta {
    margin-top: 44px;
  }

  .seo-article__contact-title {
    margin-bottom: 22px;
    font-size: 24px;
  }

  .seo-article__reserve-box,
  .seo-article__line-box {
    min-height: auto;
    border-radius: 16px;
  }

  .seo-article__reserve-box {
    padding: 22px 16px;
  }

  .seo-article__reserve-box-title,
  .seo-article__line-box-title {
    font-size: 20px;
  }

  .seo-article__reserve-box-text {
    font-size: 13.5px;
  }

  .seo-article__line-box-body {
    padding: 22px 16px 24px;
  }

  .seo-article__line-box-content {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }

  .seo-article__line-box-text h4 {
    font-size: 19px;
    text-align: center;
  }

  .seo-article__line-box-qr {
    order: -1;
  }

  .seo-article__line-box-qr img {
    width: 170px;
  }

  .seo-article__reserve-box-btn,
  .seo-article__line-box-btn {
    width: 100%;
    min-height: 52px;
  }
}
/* =========================================================
   SEOブログ末尾CTA コンパクト調整
   - ブログ記事内で大きすぎるCTAを圧縮
   - フロントページCTAの雰囲気を維持
   ========================================================= */

.seo-article__contact-cta {
  margin-top: 44px;
}

/* 見出しを少し小さく */
.seo-article__contact-title {
  margin: 0 0 20px;
  padding-bottom: 8px;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.45;
}

.seo-article__contact-title::after {
  width: 110px;
  height: 2px;
  margin-top: 8px;
}

/* =========================
   予約サイトCTA：高さを圧縮
   ========================= */

.seo-article__reserve-box {
  min-height: 0;
  padding: 20px 16px 22px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
}

.seo-article__reserve-box-head {
  padding: 0 8px 8px;
}

.seo-article__reserve-box-pill {
  padding: 3px 10px;
  font-size: 10.5px;
}

.seo-article__reserve-box-title {
  margin-top: 6px;
  font-size: 20px;
  line-height: 1.45;
}

.seo-article__reserve-box-body {
  padding: 2px 4px 0;
}

.seo-article__reserve-box-text {
  margin: 0 auto 12px;
  max-width: 640px;
  font-size: 13.5px;
  line-height: 1.75;
}

.seo-article__reserve-box-btn-wrap {
  margin-top: 8px;
}

.seo-article__reserve-box-btn {
  width: min(320px, 100%);
  min-height: 44px;
  padding: 9px 18px;
  font-size: 15px;
}

/* =========================
   LINE CTA：高さを圧縮
   ========================= */

.seo-article__line-box {
  min-height: 0;
  margin-top: 16px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.seo-article__line-box-head {
  padding: 12px 16px 13px;
}

.seo-article__line-box-pill {
  padding: 3px 10px;
  font-size: 10.5px;
}

.seo-article__line-box-title {
  margin-top: 6px;
  font-size: 20px;
  line-height: 1.45;
}

.seo-article__line-box-body {
  padding: 18px 24px 20px;
}

.seo-article__line-box-content {
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

/* フロントページ同様、PCではQRを左・テキストを右に寄せる */
.seo-article__line-box-qr {
  order: 0;
}

.seo-article__line-box-text {
  order: 1;
}

.seo-article__line-box-text h4 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.5;
}

.seo-article__line-box-desc {
  padding: 12px 14px;
}

.seo-article__line-box-desc ul {
  margin: 0;
  padding-left: 1.2em;
}

.seo-article__line-box-desc li {
  margin-bottom: 4px;
  font-size: 13.5px;
  line-height: 1.65;
}

/* QRをブログ内では少し小さめに */
.seo-article__line-box-qr img {
  width: 170px;
  max-width: 100%;
  height: auto;
}

.seo-article__line-box-btn-wrap {
  margin-top: 16px;
}

.seo-article__line-box-btn {
  width: min(320px, 100%);
  min-height: 44px;
  padding: 9px 18px;
  font-size: 15px;
}

/* =========================
   スマホ調整
   ========================= */

@media (max-width: 768px) {
  .seo-article__contact-cta {
    margin-top: 38px;
  }

  .seo-article__contact-title {
    margin-bottom: 18px;
    font-size: 22px;
  }

  .seo-article__reserve-box {
    padding: 18px 14px 20px;
  }

  .seo-article__reserve-box-title,
  .seo-article__line-box-title {
    font-size: 18px;
  }

  .seo-article__reserve-box-text {
    font-size: 13px;
    line-height: 1.75;
  }

  .seo-article__line-box-body {
    padding: 18px 14px 20px;
  }

  .seo-article__line-box-content {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: left;
  }

  .seo-article__line-box-qr {
    order: -1;
  }

  .seo-article__line-box-qr img {
    width: 150px;
  }

  .seo-article__line-box-text h4 {
    font-size: 18px;
    text-align: center;
  }

  .seo-article__line-box-desc li {
    font-size: 13px;
  }

  .seo-article__reserve-box-btn,
  .seo-article__line-box-btn {
    width: 100%;
    min-height: 42px;
    font-size: 14.5px;
  }
}
/* =========================================================
   SEOブログ末尾CTA 最終調整
   - フロントページCTAのHTML構造をブログ内で再現
   - 予約サイト → LINE公式アカウントの上下並び
   - LINEの緑枠を消し、影＋白カードに戻す
   ========================================================= */

.seo-article__contact-cta {
  margin-top: 46px;
}

/* 見出し */
.seo-article__contact-heading {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.45;
  font-weight: 800;
  color: #0f172a;
}

/* 既存本文h2/h3の下線干渉を止める */
.seo-article__contact-cta h2,
.seo-article__contact-cta h3,
.seo-article__contact-cta h4,
.seo-article__contact-cta p {
  border: none;
}

.seo-article__contact-cta h2::after,
.seo-article__contact-cta h3::after,
.seo-article__contact-cta h4::after {
  content: none;
}

/* =========================
   予約サイトCTA
   ========================= */

.seo-article__contact-cta .home-reserve-cta {
  display: block;
  margin: 0;
  padding: 20px 16px;
  border: 1px solid #1d4ed8;
  border-radius: 18px;
  background: #4f52e8;
  color: #fff;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.18);
}

.seo-article__contact-cta .reserve-head {
  text-align: center;
  padding: 0 8px 8px;
}

.seo-article__contact-cta .reserve-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: #4f52e8;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.seo-article__contact-cta .reserve-head-title {
  margin: 7px 0 0;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 900;
  color: #fff;
}

.seo-article__contact-cta .reserve-body {
  padding: 4px 4px 0;
  text-align: center;
}

.seo-article__contact-cta .reserve-text {
  margin: 0 0 13px;
  font-size: 13.5px;
  line-height: 1.75;
  color: #fff;
}

.seo-article__contact-cta .reserve-btn-wrap {
  margin-top: 8px;
  text-align: center;
}

.seo-article__contact-cta .btn--reserve {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: min(320px, 100%);
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  color: #4f52e8;
  border: 1px solid #bfdbfe;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

/* =========================
   LINE CTA
   ========================= */

.seo-article__contact-cta .line-card {
  margin-top: 16px;
  padding: 0;
  overflow: hidden;
  border: none;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
}

/* 明るい緑枠が残っている場合も強制的に消す */
.seo-article__contact-cta .seo-article__line-cta {
  border: none !important;
}

.seo-article__contact-cta .line-head {
  background: #06C755;
  color: #fff;
  padding: 12px 16px 14px;
  text-align: center;
}

.seo-article__contact-cta .line-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: #16a34a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.seo-article__contact-cta .line-head-title {
  margin: 7px 0 0;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 900;
  color: #fff;
}

.seo-article__contact-cta .line-body {
  padding: 20px 28px 22px;
  background: #fff;
}

.seo-article__contact-cta .line-body-inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  grid-template-areas: "qr text";
  align-items: center;
  gap: 24px;
}

.seo-article__contact-cta .line-qr {
  grid-area: qr;
  justify-self: center;
}

.seo-article__contact-cta .line-qr a {
  display: inline-block;
}

.seo-article__contact-cta .line-qr img {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.seo-article__contact-cta .line-text {
  grid-area: text;
  width: 100%;
}

.seo-article__contact-cta .line-text h2 {
  margin: 0 0 10px;
  padding: 0;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 900;
  color: #0f172a;
}

.seo-article__contact-cta .line-desc-box {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
}

.seo-article__contact-cta .line-desc-box .lead {
  margin: 0;
  padding-left: 1.2em;
  font-size: 13.5px;
  line-height: 1.7;
}

.seo-article__contact-cta .line-desc-box li {
  margin-bottom: 4px;
}

.seo-article__contact-cta .line-desc-box li:last-child {
  margin-bottom: 0;
}

.seo-article__contact-cta .line-btn-wrap {
  margin-top: 16px;
  text-align: center;
}

.seo-article__contact-cta .btn--line-wide {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: min(320px, 100%);
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #06C755;
  border: 1px solid #06C755;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

/* 旧独自CTAを完全に隠す */
.seo-article__bottom-cta,
.seo-article__reserve-card,
.seo-article__line-card,
.seo-article__reserve-box,
.seo-article__line-box {
  display: none !important;
}

/* =========================
   スマホ
   ========================= */

@media (max-width: 768px) {
  .seo-article__contact-cta {
    margin-top: 38px;
  }

  .seo-article__contact-heading {
    margin-bottom: 20px;
    font-size: 23px;
  }

  .seo-article__contact-cta .home-reserve-cta {
    padding: 18px 14px 20px;
    border-radius: 16px;
  }

  .seo-article__contact-cta .reserve-head-title,
  .seo-article__contact-cta .line-head-title {
    font-size: 19px;
  }

  .seo-article__contact-cta .reserve-text {
    font-size: 13px;
    line-height: 1.75;
  }

  .seo-article__contact-cta .line-card {
    border-radius: 16px;
  }

  .seo-article__contact-cta .line-body {
    padding: 18px 14px 20px;
  }

  .seo-article__contact-cta .line-body-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "qr"
      "text";
    gap: 14px;
  }

  .seo-article__contact-cta .line-qr img {
    width: 148px;
  }

  .seo-article__contact-cta .line-text h2 {
    text-align: center;
    font-size: 18px;
  }

  .seo-article__contact-cta .line-desc-box .lead {
    font-size: 13px;
  }

  .seo-article__contact-cta .btn--reserve,
  .seo-article__contact-cta .btn--line-wide {
    width: 100%;
    min-height: 42px;
    font-size: 14.5px;
  }
}