.single-body h2,
.single-body h3,
.single-body h4 {
  scroll-margin-top: 100px;
}

main {
	margin-top: 83px;
	padding: 1rem 0 5rem;
	background-image: url("https://www.tknet.co.jp/wp/wp-content/themes/tknet/images/bg.webp");
	background-repeat: repeat;
	background-size: 1366px auto;
}
.single-content {
  max-width: 1000px;
  margin: 60px auto;
  padding: 4rem;
  color: rgba(15,15,15,1.00);
	background: #fff;
	border-radius: 10px;
}

/* --- タイトル --- */
.single-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: #222;
}

/* --- メタ情報 --- */
.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 1.2rem;
  color: #777;
  margin-bottom: 40px;
}

.single-meta a {
  color: #777;
  text-decoration: none;
}

/* --- 本文 --- */
.single-body p {
  margin: 1rem 0 1.6em;
  font-size: 1.6rem;
  line-height: 1.9;
}

.single-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 20px 0;
}

/* --- h2：薄いグリーンに変更 --- */
.single-body h2 {
  margin-top: 2.2em;
  font-size: 2.2rem;
  border-left: 6px solid #6bbf73; /* ← 薄いグリーン */
  padding-left: 12px;
  font-weight: 700;
}

/* --- h3 --- */
.single-body h3 {
  margin-top: 1.8em;
	padding-bottom: .3rem;
  font-size: 1.9rem;
  font-weight: 700;
	border-bottom: 1px solid #898989;
}

/* --- h4（調整） --- */
.single-body h4 {
  margin-top: 1.4em;
  font-size: 1.7rem;
  font-weight: 600;
  border-left: 4px solid #a7e3b3; /* ← h2より柔らかい薄グリーン */
  padding-left: 10px;
  color: #444;
}

/* --- リスト --- */
.single-body ul,
.single-body ol {
  margin-left: 1.4em;
  margin-bottom: 1.6em;
  font-size: 1.6rem;
}

/* --- 一覧へ戻る --- */
.single-back {
  display: inline-block;
  margin-top: 50px;
  color: #6bbf73; /* ← 統一した薄グリーン */
  font-weight: 600;
  text-decoration: none;
  font-size: 1.6rem;
}

.single-back:hover {
  text-decoration: underline;
}

.toc {
  margin-bottom: 40px;
  padding: 20px;
  background: #f6faf6;
  border-left: 6px solid #0a6028;
  border-radius: 6px;
}

.toc h2 {
  margin:0 0 12px;
  font-size: 1.8rem;
  color: #094c1f;
}
.toc-list {
  margin: 0!important;
  padding-left: 20px;
}

.toc-list li {
  margin-bottom: 6px;
  font-size: 1.4rem;
}

.toc-level-3 {
  margin-left: 16px;
}

.toc-level-4 {
  margin-left: 32px;
}

.toc-list a {
  color: #094c1f;
  text-decoration: none;
}

.toc-list a:hover {
  text-decoration: underline;
}


