/*
 * ブログ記事用・新しい型の記事（要点の囲みと横に動かせる表がある記事）の CSS（2026-11-25 作成）
 * 元の直書き np-toc-anchor-offset・np-article-table・np-article-key-points。12 本の記事にだけあった。
 * 見出しへ飛んだときの止まる位置（scroll-margin-top）は、ほかの記事の見出しにも当たるので、元からあった記事だけで読む。
 * 読み込む位置: いちばん後ろ（headerfooter.css・zoom-support-cta.css の後ろ）。
 */
/* ---- 元の直書き: np-toc-anchor-offset ---- */
.entry-content h2[id], .entry-content h3[id] { scroll-margin-top: 88px; }
/* ---- 元の直書き: np-article-table（列ごとの折り返し止めは 1〜12 列ぶん。元の直書きは記事ごとに 3 列ぶんか 4 列ぶんだった。13 列以上の表を作るときは行を足す） ---- */
.entry-content .article-table-scroll { max-width: 100%; margin: 0 0 1.5em; overflow-x: auto; -webkit-overflow-scrolling: touch;
  /* 右端の影（2026-11-19 CEO 判断）: CSS だけで、横に動かせる余りがある間だけ出す。
     1枚目＝表の右端に付いて一緒に動く白い覆い（local）、2枚目＝箱の右端に留まる影（scroll）。
     表が箱に収まるとき・右端まで動かしたときは、覆いが影の上に来て影が消える。色はテーマの罫線の色（--site-border-gray） */
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0), var(--site-bg, #fff) 50%) right center / 32px 100% no-repeat local,
    linear-gradient(to left, var(--site-border-gray, #bdc3c7), rgba(189, 195, 199, 0)) right center / 14px 100% no-repeat scroll,
    var(--site-bg, #fff); }
.entry-content .article-table-note { display: none; margin: 0 0 .25em; font-size: .875em; line-height: 1.5; color: var(--font-gray, #656565); text-align: right; }
.entry-content .article-table-note::after { content: " →"; }
.entry-content .article-table-note.is-visible { display: block; }
.entry-content .article-table-scroll > table { margin: 0; }
.entry-content .article-table-scroll th, .entry-content .article-table-scroll td { vertical-align: top; }
@media (max-width: 599px) {
  .entry-content .article-table-scroll > table { min-width: var(--article-table-min, 100%); }
}
.entry-content .article-table-scroll[data-nowrap-cols~="1"] tr > :nth-child(1) { white-space: nowrap; }
.entry-content .article-table-scroll[data-nowrap-cols~="2"] tr > :nth-child(2) { white-space: nowrap; }
.entry-content .article-table-scroll[data-nowrap-cols~="3"] tr > :nth-child(3) { white-space: nowrap; }
.entry-content .article-table-scroll[data-nowrap-cols~="4"] tr > :nth-child(4) { white-space: nowrap; }
.entry-content .article-table-scroll[data-nowrap-cols~="5"] tr > :nth-child(5) { white-space: nowrap; }
.entry-content .article-table-scroll[data-nowrap-cols~="6"] tr > :nth-child(6) { white-space: nowrap; }
.entry-content .article-table-scroll[data-nowrap-cols~="7"] tr > :nth-child(7) { white-space: nowrap; }
.entry-content .article-table-scroll[data-nowrap-cols~="8"] tr > :nth-child(8) { white-space: nowrap; }
.entry-content .article-table-scroll[data-nowrap-cols~="9"] tr > :nth-child(9) { white-space: nowrap; }
.entry-content .article-table-scroll[data-nowrap-cols~="10"] tr > :nth-child(10) { white-space: nowrap; }
.entry-content .article-table-scroll[data-nowrap-cols~="11"] tr > :nth-child(11) { white-space: nowrap; }
.entry-content .article-table-scroll[data-nowrap-cols~="12"] tr > :nth-child(12) { white-space: nowrap; }
/* ---- 元の直書き: np-article-key-points ---- */
.entry-content .article-key-points { margin: 1.5em 0; padding: 24px 32px; background: #E6F3FF; border: 1px solid #20A4F3; border-radius: 5px; color: #2A3B4C; }
.entry-content .article-key-points__title { margin: 0 0 8px; font-size: .875em; line-height: 1.7; font-weight: 700; color: #2A3B4C; }
/* テーマの「.type-blog .entry-content div:not(.ys-toc) ul { margin: 1rem }」より強く当てる（同じ形の :not を足して詳しさを上げる） */
.entry-content div.article-key-points:not(.ys-toc) > ul.article-key-points__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.entry-content .article-key-points__list > li { position: relative; margin: 0; padding: 0 0 0 24px; line-height: 1.8; list-style: none; }
.entry-content .article-key-points__list > li::before { content: ""; position: absolute; left: 0; top: calc(0.9em - 1px); width: 10px; height: 2px; background: #20A4F3; }
@media (max-width: 599px) {
  .entry-content .article-key-points { padding: 16px 24px; }
}
