@charset "UTF-8";
/**
 * ブログ（一覧・カテゴリ一覧・記事ページ）とトップのブログ欄
 *   一覧:   home.php / archive.php → template-parts/blog/list.php
 *   記事:   single.php（目次は Cocoon の目次機能。inc/blog.php で本文の先頭へ移す）
 *   部品:   template-parts/blog/*.php（カード card.php・カードの一覧 cards.php・パンくず・カテゴリ・ページ送り）
 *   トップ: template-parts/front/blog.php
 *   英語:   英語のブログ一覧 page-en-blog.php・英語のカテゴリの一覧・英語の記事・英語トップのブログ欄 template-parts/front_en/blog.php も同じ見た目
 *   ブログ系ページとトップでだけ読み込む（inc/enqueue.php）
 */

/* ---------- ブログで使う追加のトークン（命名は base.css の :root にそろえる。ブログ系ページとトップでだけ使うのでここに置く） ---------- */
:root {
  --c-blue-tint: #eaf1ff;         /* 薄い青（カテゴリのラベル・記事の h2 の帯。--c-hover-blue より濃い） */
  --c-blue-tint-strong: #d8e6ff;  /* 薄い青の hover */
  --card-shadow-soft: 0 1px 3px 0 rgba(0, 0, 0, .08), 0 1px 2px -1px rgba(0, 0, 0, .08);           /* 記事カード・記事の白いカード（--card-shadow より淡く） */
  --card-shadow-soft-hover: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);  /* 記事カード hover 時 */
  --radius-card-lg: 12px;         /* 記事の白いカード・アイキャッチ（--radius-card より大きく） */
}

/* =============================================================
   ページの外枠（薄いグレーの背景。Cocoon の本文枠は .bt365-front-page で外している）
   ============================================================= */
body.bt365-blog-page { background-color: var(--c-gray); }
/* 中身が画面より低いページ（記事が少ない一覧など）でも、フッターを画面の下端に付ける（フッターの下に背景のグレーが出ないように） */
body.bt365-blog-page #container { display: flex; flex-direction: column; min-height: 100vh; }
body.bt365-blog-page #content { flex: 1 0 auto; }
.bt365-blog { background-color: var(--c-gray); color: var(--c-text); }
.bt365-blog--list { padding: 32px 0 72px; }
.bt365-blog--single { padding: 32px 0 72px; }

/* 読み上げ用のテキスト（ページ送りの「前のページ」等） */
.bt365-blog .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================================
   パンくず（template-parts/blog/breadcrumbs.php）
   ============================================================= */
.blog-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.5;
}
.blog-breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
}
.blog-breadcrumbs li + li::before {
  content: "›";
  flex: 0 0 auto;
  color: var(--c-blue);
  font-weight: 700;
}
.blog-breadcrumbs a {
  color: var(--c-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-breadcrumbs a:hover { color: var(--c-heading); }
.blog-breadcrumbs [aria-current="page"] { color: var(--c-heading); font-weight: 500; }
/* 記事ページの記事名は 1 行で省略 */
.bt365-blog--single .blog-breadcrumbs [aria-current="page"] {
  max-width: 22em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--c-muted);
  font-weight: 400;
}
.blog-breadcrumbs a:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
}

/* =============================================================
   一覧（ブログ・カテゴリ。template-parts/blog/list.php）
   ============================================================= */
.blog-list-head { padding: 12px 0 28px; }
.blog-list-title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-heading);
}
.blog-list-desc { margin-top: 12px; max-width: 860px; font-size: 15px; line-height: 1.9; }
.blog-list-desc p { margin: 0; }

/* カテゴリのチップ（template-parts/blog/categories.php） */
.blog-categories { margin-bottom: 32px; }
.blog-categories-label {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-heading);
}
.blog-categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-categories-list li { margin: 0; }

/* カテゴリのラベル（チップ・カード共通。薄い青の角丸） */
.blog-cat-label {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--c-blue-dark);
  background-color: var(--c-blue-tint);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.blog-cat-label:hover { color: var(--c-blue-dark); background-color: var(--c-blue-tint-strong); }
.blog-cat-label[aria-current="page"] { color: #fff; background-color: var(--c-blue); }
.blog-cat-label:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
}

.blog-empty { padding: 48px 0; font-size: 16px; color: var(--c-muted); text-align: center; }

/* =============================================================
   記事カードの一覧（template-parts/blog/cards.php。PC 3 列 / タブレット 2 列 / スマホ 1 列）
   ============================================================= */
.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-cards > li { display: flex; min-width: 0; margin: 0; }

/* =============================================================
   記事カード（template-parts/blog/card.php）
   白・細い枠＋淡い影。カード全体がタイトルのリンクで押せる（.blog-card-link::after）
   ============================================================= */
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow-soft);
  transition: box-shadow .2s;
}
.blog-card:hover { box-shadow: var(--card-shadow-soft-hover); }

.blog-card-img { overflow: hidden; line-height: 0; background: var(--c-gray); }
.blog-card-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .3s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
/* アイキャッチがない記事はロゴを薄く */
.blog-card-noimg { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; }
.blog-card-img .blog-card-noimg img { width: 40%; aspect-ratio: auto; opacity: .3; transform: none; }

.blog-card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 24px 24px; }
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.blog-card-date { font-size: 14px; line-height: 20px; color: var(--c-muted); }
/* カテゴリのラベルはカード全体のリンクより上に置き、カテゴリ一覧へ */
.blog-card-meta .blog-cat-label { position: relative; z-index: 1; }

.blog-card-title {
  display: -webkit-box;
  margin: 0 0 12px;
  overflow: hidden;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-heading);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: auto-phrase;  /* 文節の途中で改行しない（ブランド名などが行をまたいで切れないように） */
  transition: color .2s;
}
.blog-card:hover .blog-card-title { color: var(--c-blue); }
.blog-card-link,
.blog-card-link:hover { color: inherit; text-decoration: none; }
.blog-card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.blog-card-link:focus-visible { outline: 0; }
.blog-card-link:focus-visible::after { outline: 2px solid var(--c-blue); outline-offset: -2px; border-radius: var(--radius-card); }

.blog-card-excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* =============================================================
   ページ送り（template-parts/blog/pagination.php。控えめに）
   ============================================================= */
.blog-pagination { margin-top: 48px; }
.blog-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-pagination li { margin: 0; }
/* Cocoon の .page-numbers（46px の枠）を上書き */
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 40px;
  height: 40px;
  margin: 0;
  padding: 0 10px;
  font-size: 14px;
  line-height: 1;
  color: var(--c-text);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.blog-pagination a.page-numbers:hover { color: var(--c-blue); border-color: var(--c-blue); }
.blog-pagination .page-numbers.current { color: var(--c-blue); border-color: var(--c-blue); font-weight: 700; }
.blog-pagination .page-numbers.dots { display: inline-flex; opacity: 1; color: var(--c-muted); background: transparent; border-color: transparent; }
.blog-pagination a.page-numbers:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
}

/* =============================================================
   トップのブログ欄（template-parts/front/blog.php。サーバーセキュリティの下）
   ============================================================= */
/* カードは 1 枚でも中央、2 枚なら中央 2 列（base.css の .cards と同じ並べ方。記事が少ないうちも左に寄らないように） */
.blog-section .blog-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1132px;
  margin: 0 auto;
}
.blog-section .blog-cards > li { flex: 0 1 calc((100% - 64px) / 3); }  /* 3 列（間隔 32px × 2） */
/* リードは文節の途中で改行しない（狭い幅で「す。」だけが次の行に残らないように） */
.blog-section .section-head p { word-break: auto-phrase; }
.blog-section-more { margin-top: 40px; text-align: center; }

/* =============================================================
   記事ページ（single.php）
   パンくず → 白いカード（タイトル・公開日 → 区切り線 → アイキャッチ → 目次 → 本文）
   ============================================================= */
.blog-single-wrap {
  width: 100%;
  max-width: 908px;  /* 白いカード 860px ＋左右の余白 */
  margin: 0 auto;
  padding: 0 24px;
}
.blog-single-wrap > .blog-breadcrumbs { margin-bottom: 32px; }

.blog-article {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--card-shadow-soft);
}
.blog-article-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}
.blog-article-title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-heading);
  overflow-wrap: break-word;
  word-break: auto-phrase;  /* 文節の途中で改行しない（対応していないブラウザでは通常の改行） */
}
.blog-article-date { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--c-muted); }

.blog-article-eyecatch { margin: 0 0 32px; overflow: hidden; border-radius: var(--radius-card-lg); line-height: 0; }
.blog-article-eyecatch img { display: block; width: 100%; height: auto; }

/* ---------- 目次（Cocoon の目次機能。見出し「INDEX」、h3 は字下げ） ---------- */
.blog-article-content .toc {
  display: block;
  width: auto;
  margin: 0 0 40px;
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.6;
  background: var(--c-gray);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
}
.blog-article-content .toc-title {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: left;
  color: var(--c-navy);
}
.blog-article-content .toc-content { display: block; }
.blog-article-content .toc ul,
.blog-article-content .toc ol { margin: 0; padding: 0; list-style: none; }
.blog-article-content .toc li {
  margin: 6px 0;
  padding: 0;
  font-size: inherit;
  line-height: 1.6;
}
.blog-article-content .toc li::before { content: none; }
.blog-article-content .toc li li { margin-left: 1.25em; font-size: .95em; }
/* 文字色は --c-blue-dark（グレーの背景の上で 5.9:1。--c-blue だと 4.2:1 で AA に届かない）。hover は下線で示す */
.blog-article-content .toc a { color: var(--c-blue-dark); text-decoration: none; }
.blog-article-content .toc a:hover { color: var(--c-blue-dark); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 本文（行間広め。h2 は左に太い青線＋薄い青の帯） ---------- */
.blog-article-content {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .02em;
  color: var(--c-text);
  overflow-wrap: break-word;
}
.blog-article-content > :first-child { margin-top: 0; }
.blog-article-content > :last-child { margin-bottom: 0; }
.blog-article-content p { margin: 0 0 1.5em; }
.blog-article-content a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 2px; }
.blog-article-content a:hover { color: var(--c-blue-dark); }
/* キーボードフォーカス（目次・本文のリンク。パンくずやカードと同じ青い枠） */
.blog-article-content a:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
  border-radius: 2px;
}
.blog-article-content strong,
.blog-article-content b { font-weight: 700; color: var(--c-heading); }

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
  color: var(--c-navy);
  font-weight: 700;
  letter-spacing: normal;
}
/* 目次のリンク先（Cocoon が見出しの中に入れる <span id="tocN">）。h2 の帯が切れないよう少し上に余白 */
.blog-article-content :is(h2, h3, h4) > span[id] { scroll-margin-top: 32px; }
.blog-article-content h2 {
  margin: 56px 0 24px;
  padding: 12px 16px;
  font-size: 24px;
  line-height: 1.5;
  background-color: var(--c-blue-tint);
  border-left: 6px solid var(--c-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.blog-article-content h3 {
  margin: 40px 0 16px;
  padding: 0 0 8px;
  font-size: 20px;
  line-height: 1.6;
  /* 下線は左が青・右がグレー */
  background: linear-gradient(to right, var(--c-blue) 0, var(--c-blue) 38%, var(--c-border) 38%, var(--c-border) 100%) left bottom / 100% 2px no-repeat;
}
.blog-article-content h4 { margin: 32px 0 12px; font-size: 17px; line-height: 1.6; }
.blog-article-content h2 + h3 { margin-top: 24px; }

/* 箇条書き: 青い丸 / 番号付き: 青い番号 */
.blog-article-content ul,
.blog-article-content ol { margin: 0 0 1.5em; padding: 0; list-style: none; }
.blog-article-content li { position: relative; margin: 8px 0; line-height: 1.8; }
.blog-article-content ul > li { padding-left: 1.5em; }
.blog-article-content ul > li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: .3em;
  width: .45em;
  height: .45em;
  background-color: var(--c-blue);
  border-radius: 50%;
}
.blog-article-content ol { counter-reset: bt365-ol; }
.blog-article-content ol > li { padding-left: 2em; counter-increment: bt365-ol; }
.blog-article-content ol > li::before {
  content: counter(bt365-ol) ".";
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 700;
  color: var(--c-blue);
}
.blog-article-content li > ul,
.blog-article-content li > ol { margin: 8px 0 0; }

/* 表 */
.blog-article-content table {
  width: 100%;
  margin: 0 0 1.5em;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: normal;
}
.blog-article-content th,
.blog-article-content td {
  padding: 12px 16px;
  font-size: inherit;  /* Cocoon の狭い画面用の小さい文字を打ち消す */
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--c-border);
}
.blog-article-content th { font-weight: 700; color: var(--c-navy); background-color: var(--c-gray); }
.blog-article-content tr:nth-of-type(2n+1) { background-color: transparent; }
/* 金額などの表（<table class="blog-table-nowrap">）はセルの中で改行しない（狭い画面で「95,000 / 円」のように数字と単位が分かれないように）。見出しのセルは折り返す */
.blog-article-content .blog-table-nowrap td { white-space: nowrap; }

/* 引用 */
.blog-article-content blockquote {
  margin: 0 0 1.5em;
  padding: 16px 20px;
  color: var(--c-text);
  background-color: var(--c-gray);
  border: 0;
  border-left: 4px solid var(--c-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.blog-article-content blockquote::before,
.blog-article-content blockquote::after { content: none; }
.blog-article-content blockquote p:last-child { margin-bottom: 0; }

/* 画像 */
.blog-article-content img { max-width: 100%; height: auto; border-radius: var(--radius-card); }
.blog-article-content figure { margin: 0 0 1.5em; }
.blog-article-content figcaption { margin-top: 8px; padding: 0; font-size: 13px; line-height: 1.6; color: var(--c-muted); opacity: 1; text-align: center; }
.blog-article-content hr { margin: 40px 0; border: 0; border-top: 1px solid var(--c-border); }

/* 注記（<p class="blog-note">。出典・料金の但し書き・商標など ※ で始まる補足）。本文より小さく薄い色で、直前の段落に寄せる。本文側の番号は <sup>※1</sup> */
.blog-article-content .blog-note { margin-top: -0.5em; font-size: 13px; line-height: 1.7; color: var(--c-muted); }
.blog-article-content sup { font-size: .7em; line-height: 0; }

/* ---------- 本文の中の CTA（<div class="blog-cta">。見出し・説明・ボタン。動画・コストシミュレーション・メールでの相談へ） ---------- */
/* 薄い青の箱（枠・角丸・影は記事カードと同じ）。ボタンは 1 つ目が青、2 つ目以降が白地・黒枠（base.css の .btn.btn-outline と同じ） */
.blog-article-content .blog-cta {
  margin: 40px 0;
  padding: 28px 32px;
  background-color: var(--c-hover-blue);
  border: 1px solid var(--c-blue-tint-strong);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow-soft);
}
.blog-article-content .blog-cta p { margin: 0 0 12px; font-size: 15px; line-height: 1.8; }
.blog-article-content .blog-cta .blog-cta-title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: normal;
  color: var(--c-navy);
  word-break: auto-phrase;  /* 文節の途中で改行しない */
}
.blog-article-content .blog-cta .blog-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 0;
}
.blog-article-content .blog-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  color: var(--c-heading);
  background-color: #fff;
  border: 1px solid var(--c-heading);
  border-radius: var(--radius);
  transition: background-color .2s, border-color .2s, color .2s;
}
.blog-article-content .blog-cta-btn:hover { color: var(--c-heading); background-color: #f3f3f3; }
/* 1 つ目は青地に白（白の文字は 4.5:1）。hover で濃い青 */
.blog-article-content .blog-cta-btn:first-child { color: #fff; background-color: var(--c-blue); border-color: var(--c-blue); }
.blog-article-content .blog-cta-btn:first-child:hover { color: #fff; background-color: var(--c-blue-dark); border-color: var(--c-blue-dark); }
.blog-article-content .blog-cta-btn:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* 複数ページの記事のページ送り */
.blog-page-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; font-size: 14px; }
.blog-page-links .post-page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  text-decoration: none;
}
.blog-page-links .post-page-numbers.current { color: var(--c-blue); border-color: var(--c-blue); font-weight: 700; }

/* 記事の末尾（区切り線の下に「‹ ブログ一覧に戻る」） */
.blog-article-footer { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--c-border); }
.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-blue);
  text-decoration: none;
}
/* 左向きのキャレット（base.css の .cat-quicknav のキャレットと同じ作り。文字と同色） */
.blog-back-link::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateX(2px) rotate(45deg);
}
.blog-back-link:hover { color: var(--c-blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.blog-back-link:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* =============================================================
   レスポンシブ
   ============================================================= */
@media (max-width: 1023px) {
  /* ヘッダー（モバイルボタン）の分の body の上の余白（layout.css）を差し引き、短いページで余計なスクロールが出ないように */
  body.bt365-blog-page.mblt-header-mobile-buttons #container { min-height: calc(100vh - var(--cocoon--mobile-header-menu-buttons--height)); }

  .blog-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .blog-section .blog-cards > li { flex-basis: calc((100% - 24px) / 2); }  /* 2 列（間隔 24px） */

  .bt365-blog--list,
  .bt365-blog--single { padding: 24px 0 56px; }
  .blog-list-title { font-size: 30px; }
  .blog-article { padding: 32px; }
  .blog-article-title { font-size: 28px; }
}
/* タブレット（2 列）のトップのブログ欄は 2 件だけ（3 件目が 1 枚だけ残らないように。続きは「ブログ一覧を見る」から） */
@media (min-width: 768px) and (max-width: 1023px) {
  .blog-section .blog-cards > li:nth-child(n+3) { display: none; }
}

@media (max-width: 767px) {
  .blog-cards { grid-template-columns: minmax(0, 1fr); }
  .blog-section .blog-cards { max-width: 460px; }
  .blog-section .blog-cards > li { flex-basis: 100%; }

  /* 本文の中の CTA のボタンは縦に並べて全幅 */
  .blog-article-content .blog-cta-actions { flex-direction: column; }
  .blog-article-content .blog-cta-btn { width: 100%; min-width: 0; padding-right: 16px; padding-left: 16px; }
}

@media (max-width: 480px) {
  .bt365-blog--list,
  .bt365-blog--single { padding: 20px 0 48px; }
  .blog-list-title { font-size: 28px; }
  .blog-card-body { padding: 14px 20px 20px; }

  .blog-single-wrap { padding: 0 16px; }
  .blog-single-wrap > .blog-breadcrumbs { margin-bottom: 20px; }
  .bt365-blog--single .blog-breadcrumbs [aria-current="page"] { max-width: 100%; }
  .blog-article { padding: 24px 20px; border-radius: var(--radius-card); }
  .blog-article-header { margin-bottom: 24px; padding-bottom: 20px; }
  .blog-article-title { font-size: 24px; }
  .blog-article-eyecatch { margin-bottom: 24px; border-radius: var(--radius-card); }
  .blog-article-content .toc { padding: 18px 20px; margin-bottom: 32px; }
  .blog-article-content .blog-cta { margin: 32px 0; padding: 22px 20px; }
  .blog-article-content .blog-cta .blog-cta-title { font-size: 17px; }
  .blog-article-footer { margin-top: 40px; padding-top: 24px; }
  .blog-article-content h2 { margin-top: 44px; font-size: 20px; }
  .blog-article-content h3 { font-size: 18px; }
  /* 列の多い表は記事の幅に収まらないとき表の中で横にスクロール（ページが横にはみ出さないように） */
  .blog-article-content table { display: block; overflow-x: auto; }
  .blog-article-content th,
  .blog-article-content td { padding: 8px 10px; font-size: 14px; }
  /* 改行しない表は余白と文字を詰めて、4 列の料金表がスクロールせずに収まるように */
  .blog-article-content .blog-table-nowrap th,
  .blog-article-content .blog-table-nowrap td { padding: 8px 6px; font-size: 13px; }
}
