@charset "UTF-8";
/* =========================================================
   ブログ記事の個別ページ（/blog/<ID>/、single-blog.php）
   functions.php でブログの個別ページだけ読み込む。main.p-blog-single の中だけに効かせる
   （サイト共通のヘッダー・フッター・追従 CTA、開発日誌など .c-news-content を共用するページには触れない）。

   無料テンプレートのページ（templates.css）と同じデザイン指針の読み替え:
   - 色は3つの役割だけ。値は factoryadvance.jp の既存の色を使う
       ベース     白と薄い青 #e3ebf5 …… h2 の帯、要点（引用・式）の囲み、表の見出し行、図の中の箱
       メイン     青 #1266b1 ……………… 見出しの文字、リンク、ボタン
       アクセント 銅色 #8a4f28 ………… 記事の図で「よくない例」を示す見出しだけ（料金ページの色）
     文字 #222222、補足 #555555、罫線 #cccccc、ごく薄い罫線 #ebebeb、図の矢印 #999999（無彩色）。
   - 線と塗りはどちらかひとつ。影・グラデーション・2px を超える角丸・丸い部品・ホバーの動きは使わない
   - 左揃え。本文の幅は今の枠（最大 960px）のまま（依頼者の判断で、指針の「1行は40字まで」は採らない）
   - 文字は本文 17px・h3 22px・h2 29px（1:1.28:1.71）、行間 1.85、補足でも 14px 以上
   - 本文は DB の HTML で、記事によってはインラインスタイル（custom-figure の図・表）が付いている。
     本文は書き換えず、ここで上書きする（インラインスタイルに勝つため、図の中は !important を使う）
   ========================================================= */
.p-blog-single {
  --bs-main: #1266b1;
  --bs-base: #e3ebf5;
  --bs-accent: #8a4f28;
  --bs-text: #222222;
  --bs-sub: #555555;
  --bs-line: #cccccc;
  --bs-faint: #ebebeb;
  --bs-arrow: #999999;
  font-family: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--bs-text);
  background: #fff;
}
.p-blog-single .c-news-content *,
.p-blog-single .c-news-content *::before,
.p-blog-single .c-news-content *::after {
  box-sizing: border-box;
}

/* ---------- パンくず（小さめの文字と「›」。左端を本文の枠にそろえる） ---------- */
.p-blog-single .l-bg-white .l-content {
  max-width: 960px;
}
.p-blog-single .breadcrumb {
  display: block; /* 長い題は行の途中で折り返す（flex だと題の塊ごと次の行に落ちる） */
  font-size: 14px;
  letter-spacing: 0;
  color: var(--bs-sub);
  padding: 20px 0 0;
  margin: 0;
}
.p-blog-single .breadcrumb span a {
  color: var(--bs-sub);
  text-decoration: underline;
}
.p-blog-single .breadcrumb span a:hover {
  color: var(--bs-sub);
  text-decoration-thickness: 2px;
}
.p-blog-single .breadcrumb span + span {
  padding-left: 0;
}
.p-blog-single .breadcrumb span + span::before {
  content: "›";
  position: static;
  display: inline;
  margin: 0 0.5em;
  width: auto;
  height: auto;
  border: 0;
  transform: none;
  color: var(--bs-sub);
}
.p-blog-single .l-content-gap {
  padding-top: 32px;
}

/* ---------- 題・日付・執筆者 ---------- */
.p-blog-single .c-news-single-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--bs-main);
  margin: 0 0 12px;
}
.p-blog-single .c-blog-author {
  flex-wrap: wrap;
  column-gap: 1.25em;
  font-size: 14px;
  line-height: 1.7;
  color: var(--bs-sub);
  margin: 0 0 40px;
}
.p-blog-single .c-blog-author .c-news-ul-day {
  margin-right: 0;
  color: var(--bs-sub);
}
.p-blog-single .c-blog-author a {
  color: var(--bs-sub);
  text-decoration: underline;
}

/* ---------- 本文 ---------- */
.p-blog-single .c-news-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--bs-text);
}
.p-blog-single .c-news-content p {
  font-size: 17px;
  line-height: 1.85;
  font-weight: 400;
  margin: 0 0 1em;
}
.p-blog-single .c-news-content a {
  color: var(--bs-main);
  border-bottom: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: none;
}
.p-blog-single .c-news-content a:hover {
  color: var(--bs-main);
  text-decoration-thickness: 2px;
}
.p-blog-single .c-news-content a:focus-visible {
  outline: 3px solid var(--bs-text);
  outline-offset: 2px;
}
/* 強調は太字だけ（色は付けない。リンクの青と紛れないように） */
.p-blog-single .c-news-content strong,
.p-blog-single .c-news-content b {
  color: inherit;
  font-weight: 700;
}

/* 見出し: h2 は薄い青の帯、h3 は「■」と下の罫線1本、h4 は太字の青の文字だけ */
.p-blog-single .c-news-content h2 {
  font-size: 29px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--bs-main);
  background: var(--bs-base);
  border: 0;
  padding: 12px 20px;
  margin: 64px 0 24px;
}
.p-blog-single .c-news-content h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--bs-main);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--bs-main);
  padding: 0 0 6px;
  margin: 40px 0 14px;
}
.p-blog-single .c-news-content h3::before {
  content: "■";
  margin-right: 0.3em;
}
.p-blog-single .c-news-content h2 + h3 {
  margin-top: 8px;
}
.p-blog-single .c-news-content h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--bs-main);
  border: 0;
  padding: 0;
  margin: 32px 0 8px;
}

/* 箇条書き・番号付きリスト */
.p-blog-single .c-news-content ul,
.p-blog-single .c-news-content ol {
  padding-left: 1.6em;
  margin: 0 0 1em;
}
.p-blog-single .c-news-content ul li {
  list-style: disc;
  font-weight: 400;
  margin-bottom: 0.4em;
}
.p-blog-single .c-news-content ol li {
  list-style: decimal;
  font-weight: 400;
  margin-bottom: 0.4em;
}
.p-blog-single .c-news-content ol li::marker {
  font-weight: 700;
  color: var(--bs-main);
}
.p-blog-single .c-news-content li ul,
.p-blog-single .c-news-content li ol {
  margin: 0.4em 0 0;
}

/* 引用（記事では式や要点に使われている）とコード: 薄い青の塗りだけ */
/* 管理画面の「追加 CSS」の blockquote（灰色の地・水色の左線・影・斜体・引用符のアイコン）も、ここで打ち消す */
.p-blog-single .c-news-content blockquote {
  position: static;
  margin: 0 0 1em;
  padding: 1em 1.25em;
  background: var(--bs-base);
  border: 0;
  box-shadow: none;
  font-style: normal;
  color: var(--bs-text);
}
.p-blog-single .c-news-content blockquote::before {
  content: none;
}
.p-blog-single .c-news-content blockquote p {
  margin: 0 0 0.5em;
  padding: 0;
  line-height: 1.85;
}
.p-blog-single .c-news-content blockquote p:last-child {
  margin-bottom: 0;
}
.p-blog-single .c-news-content blockquote cite {
  display: block;
  margin-top: 0.5em;
  text-align: left;
  font-size: 15px;
  font-style: normal;
  color: var(--bs-sub);
}
.p-blog-single .c-news-content pre {
  margin: 0 0 1em;
  padding: 1em 1.25em;
  background: var(--bs-base);
  border: 0;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.p-blog-single .c-news-content code {
  font-family: inherit;
  font-size: inherit;
  background: none;
}

/* 画像: 左端を本文にそろえる（記事側の margin: auto を打ち消す） */
.p-blog-single .c-news-content img {
  margin: 24px auto 24px 0 !important;
  border-radius: 0;
}
.p-blog-single .c-news-content figure.wp-block-image {
  margin: 0 0 1em;
}
.p-blog-single .c-news-content figcaption {
  font-size: 15px;
  line-height: 1.7;
  color: var(--bs-sub);
  text-align: left;
}

/* ---------- 目次（table-of-contents-plus。線だけの囲み、番号付き、左揃え） ---------- */
.p-blog-single #toc_container {
  display: block;
  width: auto;
  background: none;
  border: 1px solid var(--bs-line);
  border-radius: 0;
  padding: 1em 1.25em;
  margin: 32px 0;
  font-size: 16px;
  line-height: 1.75;
}
.p-blog-single #toc_container .toc_title {
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: var(--bs-main);
  margin: 0 0 0.5em;
}
.p-blog-single #toc_container ul,
.p-blog-single #toc_container li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-blog-single #toc_container li + li {
  margin-top: 0.3em;
}
.p-blog-single #toc_container ul ul {
  margin: 0.3em 0 0 1.5em;
}
.p-blog-single #toc_container .toc_number {
  margin-right: 0.2em;
}

/* ---------- 表（横罫は見出し行の下と表の最後、行の間はごく薄い罫線、縦罫なし、塗り分けなし） ---------- */
.p-blog-single .c-news-content figure.wp-block-table,
.p-blog-single .c-news-content .wp-block-table,
.p-blog-single .c-news-content table {
  background: none !important;
  border: 0;
  margin-bottom: 1.5em;
}
.p-blog-single .c-news-content table {
  border-collapse: collapse;
  font-size: 16px !important;
  line-height: 1.7;
}
.p-blog-single .c-news-content figure.wp-block-table table {
  margin-bottom: 0;
}
.p-blog-single .c-news-content table th,
.p-blog-single .c-news-content table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--bs-faint) !important;
  background: none !important;
  color: var(--bs-text) !important;
  font-weight: 400;
}
.p-blog-single .c-news-content table tr,
.p-blog-single .c-news-content table thead,
.p-blog-single .c-news-content table tbody {
  background: none !important;
  border: 0 !important;
  color: var(--bs-text) !important;
}
.p-blog-single .c-news-content table thead th,
.p-blog-single .c-news-content table thead td,
.p-blog-single .c-news-content table tr:first-child:not(:has(td)) > th {
  background: var(--bs-base) !important;
  color: var(--bs-main) !important;
  font-weight: 700;
  border-bottom: 0 !important;
}
.p-blog-single .c-news-content table tbody th {
  font-weight: 700;
}
.p-blog-single .c-news-content table tr:last-child > th,
.p-blog-single .c-news-content table tr:last-child > td {
  border-bottom: 1px solid var(--bs-line) !important;
}
/* 数値だけの列は右寄せ（目印は news-table.js の is-num） */
.p-blog-single .c-news-content table th.is-num,
.p-blog-single .c-news-content table td.is-num {
  text-align: right !important;
  white-space: nowrap;
}

/* ---------- 記事の図（custom-figure。表・流れ図・比べる図）。囲みを外し、題と中身だけにする ---------- */
.p-blog-single .custom-figure {
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 40px 0 !important;
}
.p-blog-single .custom-figure * {
  box-shadow: none !important;
  border-radius: 0 !important;
  text-align: left !important;
  letter-spacing: 0 !important;
}
.p-blog-single .custom-figure div,
.p-blog-single .custom-figure ul,
.p-blog-single .custom-figure li,
.p-blog-single .custom-figure p,
.p-blog-single .custom-figure span {
  color: var(--bs-text) !important;
  background-color: transparent !important;
}
/* 図の中の箇条書きは、記事側の list-style（none・square）に従う */
.p-blog-single .c-news-content .custom-figure li {
  list-style: inherit;
}
/* 図の題（h5）と、図の中の小見出し（h6） */
.p-blog-single .custom-figure h5 {
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  color: var(--bs-main) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
}
.p-blog-single .custom-figure h6 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--bs-main) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 8px !important;
}
/* 中央寄せの並びを左寄せに */
.p-blog-single .custom-figure [style*="justify-content: center"],
.p-blog-single .custom-figure [style*="justify-content:center"] {
  justify-content: flex-start !important;
}
.p-blog-single .custom-figure [style*="margin: 0 auto"],
.p-blog-single .custom-figure [style*="margin:0 auto"] {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* 表を包む枠は線を外す（表そのものの罫線だけにする） */
.p-blog-single .custom-figure div:has(> table) {
  border: 0 !important;
}
/* 図の表は枠の幅いっぱいに（top-add.css の display: block で表の幅が中身なりに縮むのを戻す。スクロールは包む枠が受け持つ） */
@media screen and (min-width: 769px) {
  .p-blog-single .custom-figure div:has(> table) > table {
    display: table;
  }
}
/* 流れ図・比べる図の箱は、薄い青の塗りだけ（線・上端や左端の色帯は外す） */
.p-blog-single .custom-figure div[style*="border: 1px solid #e2e8f0"]:not(:has(table)),
.p-blog-single .custom-figure div[style*="border:1px solid #e2e8f0"]:not(:has(table)),
.p-blog-single .custom-figure div[style*="border: 1px solid #cbd5e1"] {
  border: 0 !important;
  background-color: var(--bs-base) !important;
}
/* 見出しの帯を持つ比べる図の列は、塗らない（帯と箇条書きだけ） */
.p-blog-single .custom-figure div[style*="overflow:hidden"]:not(:has(table)),
.p-blog-single .custom-figure div[style*="overflow: hidden"]:not(:has(table)) {
  background-color: transparent !important;
}
.p-blog-single .custom-figure li[style*="dashed"] {
  border-bottom: 1px solid var(--bs-faint) !important;
}
/* 図の中の文字の大きさ（14px 未満にしない） */
.p-blog-single .custom-figure div,
.p-blog-single .custom-figure li,
.p-blog-single .custom-figure ul {
  font-size: max(15px, 1em) !important;
}
/* 矢印は目立たせない（無彩色の灰色） */
.p-blog-single .custom-figure [style*="color: #94a3b8"],
.p-blog-single .custom-figure [style*="color:#94a3b8"] {
  color: var(--bs-arrow) !important;
}
.p-blog-single .custom-figure div[style*="dashed #94a3b8"] {
  border-left: 1px solid var(--bs-arrow) !important;
}
/* 「STEP 1」などのラベルと、小さな色文字のラベルは、青の太字の文字だけにする */
.p-blog-single .custom-figure span[style*="background-color: #0284c7"],
.p-blog-single .custom-figure div[style*="color:#0284c7"],
.p-blog-single .custom-figure div[style*="color: #0284c7"] {
  color: var(--bs-main) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}
.p-blog-single .custom-figure span[style*="background-color: #0284c7"] {
  padding: 0 !important;
}
/* 番号の丸は四角にし、青の塗りに白い文字 */
.p-blog-single .custom-figure div[style*="border-radius: 50%"] {
  background-color: var(--bs-main) !important;
  color: #fff !important;
  justify-content: center !important;
}
/* 色の帯の見出し（比べる図）: よくない例は銅色、よい例・青い帯は青、灰色の帯は補足の灰色。文字は白 */
.p-blog-single .custom-figure div[style*="background-color:#b91c1c"],
.p-blog-single .custom-figure div[style*="background-color: #b91c1c"] {
  background-color: var(--bs-accent) !important;
  color: #fff !important;
}
.p-blog-single .custom-figure div[style*="background-color:#047857"],
.p-blog-single .custom-figure div[style*="background-color: #047857"],
.p-blog-single .custom-figure div[style*="background-color: #0284c7"][style*="padding: 8px 12px"],
.p-blog-single .custom-figure div[style*="background-color:#0284c7"][style*="padding:8px 12px"] {
  background-color: var(--bs-main) !important;
  color: #fff !important;
  font-size: 17px !important;
}
.p-blog-single .custom-figure div[style*="background-color: #64748b"],
.p-blog-single .custom-figure div[style*="background-color:#64748b"] {
  background-color: var(--bs-sub) !important;
  color: #fff !important;
  font-size: 17px !important;
}

/* ---------- 資料請求のブロック（[fa_cta_block]。線だけの囲み、左揃え、主ボタンは1つ） ---------- */
.p-blog-single .c-news-content .fa-cta-block {
  margin: 64px 0 0;
  padding: 1.5em 1.75em;
  border: 1px solid var(--bs-line);
  border-radius: 0;
  background: none;
}
.p-blog-single .c-news-content .fa-cta-block__heading {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--bs-main);
  text-align: left;
  border: 0;
  padding: 0;
  margin: 0 0 10px;
}
.p-blog-single .c-news-content .fa-cta-block__heading::before {
  content: none;
}
.p-blog-single .c-news-content .fa-cta-block__lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--bs-text);
  text-align: left;
  margin: 0 0 20px;
}
.p-blog-single .c-news-content .fa-cta-block__buttons {
  justify-content: flex-start;
  gap: 12px 16px;
}
.p-blog-single .c-news-content .fa-cta-block__buttons .l-btn-main {
  text-align: left;
}
.p-blog-single .c-news-content .fa-cta-block__buttons .l-btn-main a,
.p-blog-single .c-news-content .fa-cta-block__buttons .fa-cta-block__btn-secondary a {
  display: inline-block;
  min-width: 0;
  padding: 13px 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  border-radius: 0;
  transition: none;
}
.p-blog-single .c-news-content .fa-cta-block__buttons .l-btn-main a {
  background: var(--bs-main);
  border: 0;
  padding: 14px 25px;
  color: #fff;
}
.p-blog-single .c-news-content .fa-cta-block__buttons .fa-cta-block__btn-secondary a {
  background: #fff;
  border: 1px solid var(--bs-main);
  color: var(--bs-main);
}
.p-blog-single .c-news-content .fa-cta-block__buttons .l-btn-main a:hover,
.p-blog-single .c-news-content .fa-cta-block__buttons .fa-cta-block__btn-secondary a:hover {
  text-decoration: underline;
}
.p-blog-single .c-news-content .fa-cta-block__buttons .l-btn-main a:hover {
  background: var(--bs-main);
  color: #fff;
}
.p-blog-single .c-news-content .fa-cta-block__buttons .fa-cta-block__btn-secondary a:hover {
  background: #fff;
  color: var(--bs-main);
}
.p-blog-single .c-news-content .fa-cta-block__buttons a::after,
.p-blog-single .c-news-content .fa-cta-block__buttons a:hover::after {
  content: none;
}
.p-blog-single .c-news-content .fa-cta-block__sub {
  font-size: 14px;
  line-height: 1.7;
  color: var(--bs-sub);
  text-align: left;
  margin: 14px 0 0;
}

/* ---------- よくある質問（「Q.」「A.」は文字、質問は太字、質問同士は余白と細い罫線） ---------- */
.p-blog-single .c-func-faq {
  margin: 0 0 1em;
}
.p-blog-single .c-func-faq > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--bs-line);
}
.p-blog-single .c-func-faq > div:first-child {
  padding-top: 0;
}
.p-blog-single .c-func-faq > div:last-child {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bs-line);
}
.p-blog-single .c-func-faq dt,
.p-blog-single .c-func-faq dd {
  padding-left: 2em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--bs-text);
}
.p-blog-single .c-func-faq dt {
  font-weight: 700;
}
.p-blog-single .c-func-faq dd {
  font-weight: 400;
  margin-top: 8px;
}
.p-blog-single .c-func-faq dt::before,
.p-blog-single .c-func-faq dd::before {
  color: var(--bs-main);
  font-weight: 700;
}

/* ---------- 次に読む・関連する機能・ツール（parts/blog-next.php。カードにせず、罫線で区切った行） ---------- */
.p-blog-single .fa-next {
  margin: 64px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.p-blog-single .fa-next .fa-next__col {
  flex: 1 1 320px;
  min-width: 0;
}
.p-blog-single .c-news-content .fa-next .fa-next__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--bs-main);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--bs-main);
  padding: 0 0 6px;
  margin: 0;
}
.p-blog-single .c-news-content .fa-next .fa-next__title::before {
  content: "■";
  margin-right: 0.3em;
}
.p-blog-single .c-news-content .fa-next .fa-next__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.p-blog-single .c-news-content .fa-next .fa-next__list li {
  list-style: none;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--bs-line);
  font-weight: 400;
}
.p-blog-single .c-news-content .fa-next .fa-next__list a {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}
/* 補足は改行して、下線を付けずに出す（inline-block にするとリンクの下線が及ばない） */
.p-blog-single .c-news-content .fa-next .fa-next__note {
  display: inline-block;
  width: 100%;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--bs-sub);
}

/* ---------- 投稿者プロフィール（vk-post-author-display。囲まず、上の罫線1本で区切る） ---------- */
.p-blog-single #padSection {
  max-width: none;
  margin: 64px 0 0;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--bs-line);
  font-size: 16px;
  line-height: 1.8;
  color: var(--bs-text);
}
.p-blog-single #padSection .padSectionTitle {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--bs-main);
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}
.p-blog-single #padSection .avatar img {
  width: 100px;
  border: 1px solid var(--bs-line);
  border-radius: 0;
  margin: 0 0 15px !important;
}
.p-blog-single #padSection .profileTxtSet {
  margin-left: 124px;
}
.p-blog-single #padSection dl dt .authorName {
  font-size: 18px;
  font-weight: 700;
}
.p-blog-single #padSection .profileTxtSet dd {
  font-size: 16px;
  line-height: 1.8;
}
.p-blog-single #padSection .c-pad-sns {
  list-style: none;
  padding: 0;
}
.p-blog-single #padSection .c-pad-sns li {
  list-style: none;
  margin: 0;
}
.p-blog-single #padSection .c-pad-sns a {
  border: 1px solid var(--bs-line);
  border-radius: 0;
  background: #fff;
  color: var(--bs-text);
  transition: none;
}
.p-blog-single #padSection .c-pad-sns a:hover,
.p-blog-single #padSection .c-pad-sns a:focus-visible {
  border-color: var(--bs-main);
  background: #fff;
  color: var(--bs-main);
}

/* ---------- 開発日誌へのリンク・ブログ一覧（線だけのボタン、左揃え） ---------- */
.p-blog-single .c-news-content .c-devlog-link {
  margin: 24px 0 0;
  font-size: 16px;
}
.p-blog-single .c-news-content .l-btn-wrap {
  margin-top: 48px;
}
.p-blog-single .c-news-content .l-btn-wrap .l-btn-main {
  text-align: left;
}
.p-blog-single .c-news-content .l-btn-wrap .l-btn-main a {
  display: inline-block;
  padding: 13px 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  background: #fff;
  border: 1px solid var(--bs-main);
  border-radius: 0;
  color: var(--bs-main);
  text-decoration: none;
  transition: none;
}
.p-blog-single .c-news-content .l-btn-wrap .l-btn-main a:hover {
  background: #fff;
  color: var(--bs-main);
  text-decoration: underline;
}
.p-blog-single .c-news-content .l-btn-wrap .l-btn-main a::after,
.p-blog-single .c-news-content .l-btn-wrap .l-btn-main a:hover::after {
  content: none;
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 768px) {
  .p-blog-single .l-content-gap {
    padding-top: 20px;
  }
  .p-blog-single .c-news-single-title {
    font-size: 24px;
  }
  .p-blog-single .c-blog-author {
    margin-bottom: 28px;
  }
  .p-blog-single .c-news-content,
  .p-blog-single .c-news-content p,
  .p-blog-single .c-func-faq dt,
  .p-blog-single .c-func-faq dd {
    font-size: 16px;
  }
  .p-blog-single .c-news-content h2 {
    font-size: 23px;
    padding: 10px 14px;
    margin-top: 48px;
  }
  .p-blog-single .c-news-content h3,
  .p-blog-single .c-news-content .fa-next .fa-next__title {
    font-size: 19px;
  }
  .p-blog-single .c-news-content h4,
  .p-blog-single .custom-figure h5 {
    font-size: 17px !important;
  }
  .p-blog-single .c-news-content .fa-cta-block {
    margin-top: 48px;
    padding: 1em 1.25em;
  }
  .p-blog-single .c-news-content .fa-cta-block__heading {
    font-size: 18px;
  }
  .p-blog-single .c-news-content .fa-cta-block__buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  .p-blog-single .c-news-content .fa-cta-block__buttons .l-btn-main a,
  .p-blog-single .c-news-content .fa-cta-block__buttons .fa-cta-block__btn-secondary a {
    display: inline-block;
  }
  .p-blog-single .fa-next {
    margin-top: 48px;
    gap: 32px;
  }
  .p-blog-single .fa-next .fa-next__col {
    flex: 1 1 100%;
  }
  .p-blog-single .c-news-content .fa-next .fa-next__list a {
    font-size: 16px;
  }
  .p-blog-single #padSection {
    margin-top: 48px;
  }
  .p-blog-single #padSection .avatar img {
    width: 72px;
  }
  .p-blog-single #padSection .profileTxtSet {
    margin-left: 88px;
  }
  .p-blog-single .c-news-content table td,
  .p-blog-single .c-news-content table th {
    padding: 8px 10px !important;
  }

  /* スマホでも表は表のまま見せる（目印は news-table.js）。行の間は薄い罫線、見出し行は薄い青 */
  .p-blog-single .c-news-content table.is-sp-table,
  .p-blog-single .c-news-content table.is-sp-scroll {
    font-size: 14px;
    line-height: 1.6;
  }
  .p-blog-single .c-news-content table.is-sp-table th,
  .p-blog-single .c-news-content table.is-sp-table td,
  .p-blog-single .c-news-content table.is-sp-scroll th,
  .p-blog-single .c-news-content table.is-sp-scroll td {
    padding: 8px 6px !important;
    white-space: normal !important;
    vertical-align: top;
  }
  /* 4列まで: 画面幅に収め、文字は折り返す */
  .p-blog-single .c-news-content table.is-sp-table {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    table-layout: auto;
  }
  .p-blog-single .c-news-content table.is-sp-table th,
  .p-blog-single .c-news-content table.is-sp-table td {
    overflow-wrap: anywhere;
  }
  /* 1列目は行の名前なので太字にする */
  .p-blog-single .c-news-content table.is-sp-table tbody tr > :first-child,
  .p-blog-single .c-news-content table.is-sp-scroll tbody tr > :first-child {
    font-weight: 700;
  }
  /* 短い文字だけの列（区分など）は折り返さない */
  .p-blog-single .c-news-content table th.is-nowrap,
  .p-blog-single .c-news-content table td.is-nowrap {
    white-space: nowrap !important;
  }
  /* 数値の列は右寄せで、途中で折り返さない */
  .p-blog-single .c-news-content table th.is-num,
  .p-blog-single .c-news-content table td.is-num {
    text-align: right !important;
    white-space: nowrap !important;
  }
  /* 5列以上: 横にスクロールし、1列目を左に固定する */
  .p-blog-single .c-news-content table.is-sp-scroll {
    display: block !important;
    overflow-x: auto;
    table-layout: auto !important;
    width: auto !important;
    min-width: 0 !important;
  }
  .p-blog-single .c-news-content table.is-sp-scroll th,
  .p-blog-single .c-news-content table.is-sp-scroll td {
    width: auto !important;
    min-width: 5em;
    max-width: 13em;
  }
  .p-blog-single .c-news-content table.is-sp-scroll th.is-wide,
  .p-blog-single .c-news-content table.is-sp-scroll td.is-wide {
    min-width: 16em;
    max-width: 18em;
  }
  .p-blog-single .c-news-content table.is-sp-scroll tr > :first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff !important;
    box-shadow: 1px 0 0 var(--bs-faint);
  }
  .p-blog-single .c-news-content table.is-sp-scroll thead tr > :first-child,
  .p-blog-single .c-news-content table.is-sp-scroll tr:first-child > th:first-child {
    background: var(--bs-base) !important;
  }
}
