/* 田中機工：個別ブログ記事限定。固定ページ、LP、一覧は対象外。 */
body.single-post .tkbr-content {
  --tkbr-text: #333333;
  --tkbr-navy: #173b56;
  --tkbr-blue: #145b91;
  --tkbr-pale: #f0f4f7;
  --tkbr-border: #d5e0e8;
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  min-width: 0;
  margin-inline: auto;
  color: var(--tkbr-text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
body.single-post .tkbr-article-title {
  color: #173b56;
  font-size: 30px !important;
  line-height: 1.45 !important;
  font-weight: 700;
  overflow-wrap: anywhere;
}
body.single-post .tkbr-content p {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0 0 24px;
}
body.single-post .tkbr-content h2 {
  box-sizing: border-box;
  margin: 52px 0 24px;
  padding: 15px 18px;
  color: var(--tkbr-navy);
  background: var(--tkbr-pale);
  border: 0;
  border-left: 5px solid var(--tkbr-navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.55;
  scroll-margin-top: 110px;
}
body.single-post .tkbr-content h3 {
  margin: 34px 0 18px;
  padding: 0 0 9px;
  color: var(--tkbr-navy);
  border: 0;
  border-bottom: 1px solid var(--tkbr-border);
  background: none;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
  scroll-margin-top: 110px;
}
body.single-post .tkbr-content a:not([role="button"]):not(.wp-block-button__link) {
  color: var(--tkbr-blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
body.single-post .tkbr-content a:not([role="button"]):not(.wp-block-button__link):hover {
  color: #0b3c65;
  text-decoration-thickness: 2px;
}
body.single-post .tkbr-content a:focus-visible,
body.single-post .tkbr-content summary:focus-visible {
  outline: 3px solid #145b91;
  outline-offset: 3px;
}
body.single-post .tkbr-content strong,
body.single-post .tkbr-content b { font-weight: 700; }
body.single-post .tkbr-content ul,
body.single-post .tkbr-content ol {
  margin: 0 0 24px;
  padding-inline-start: 1.65em;
}
body.single-post .tkbr-content ul { list-style: disc outside; }
body.single-post .tkbr-content ol { list-style: decimal outside; }
body.single-post .tkbr-content li {
  margin: 0 0 0.45em;
  padding: 0;
  font-size: inherit;
  line-height: 1.8;
}
body.single-post .tkbr-content figure { max-width: 100%; }
body.single-post .tkbr-content img,
body.single-post .tkbr-content video {
  max-width: 100%;
  height: auto;
}
body.single-post .tkbr-content .tkbr-table-scroll,
body.single-post .tkbr-content .wp-block-table {
  max-width: 100%;
  overflow-x: auto;
  margin: 24px 0;
}
body.single-post .tkbr-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94em;
  line-height: 1.65;
}
body.single-post .tkbr-content th,
body.single-post .tkbr-content td {
  border: 1px solid var(--tkbr-border);
  padding: 12px 14px;
  vertical-align: top;
  text-align: start;
}
body.single-post .tkbr-content th {
  background: var(--tkbr-pale);
  color: var(--tkbr-navy);
  font-weight: 700;
}
body.single-post .tkbr-content tbody tr:nth-child(even) td {
  background: #fafcfd;
}
body.single-post .tkbr-content .tkbr-toc {
  box-sizing: border-box;
  margin: 30px 0 38px;
  padding: 20px 24px;
  border: 1px solid var(--tkbr-border);
  border-radius: 6px;
  background: #f8fafc;
}
body.single-post .tkbr-content .tkbr-toc summary {
  color: var(--tkbr-navy);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.5;
}
body.single-post .tkbr-content .tkbr-toc ol {
  margin: 16px 0 0;
  padding-inline-start: 1.5em;
}
body.single-post .tkbr-content .tkbr-toc ol ol {
  margin-top: 5px;
  list-style-type: lower-alpha;
}
body.single-post .tkbr-content .tkbr-toc li {
  font-size: 0.94em;
  line-height: 1.6;
  margin-bottom: 0.5em;
}
@media (max-width: 767px) {
  body.single-post .tkbr-content { font-size: 16px; line-height: 1.9; }
  body.single-post .tkbr-article-title { font-size: 24px !important; }
  body.single-post .tkbr-content p { margin-bottom: 20px; }
  body.single-post .tkbr-content h2 {
    font-size: 21px;
    margin: 38px 0 20px;
    padding: 12px 13px;
    scroll-margin-top: 90px;
  }
  body.single-post .tkbr-content h3 {
    font-size: 18px;
    margin: 28px 0 16px;
    scroll-margin-top: 90px;
  }
  body.single-post .tkbr-content .tkbr-toc { padding: 17px 15px; }
  body.single-post .tkbr-content th,
  body.single-post .tkbr-content td { padding: 9px 10px; }
}
