html,
body {
  scrollbar-width: thin;
  scrollbar-color: #ffde23 #f7f7f7;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f7f7f7;
}

::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 999px;
  border: 2px solid #f7f7f7;
}

::-webkit-scrollbar-thumb:hover {
  background: #b8b8b8;
}

/* umekomi専用：全体 */
body.umekomi {
  margin: 0;
  padding: 0.75rem;
  background: #f7f7f7;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
  color: #333;
  font-size: 14px;
}

/* 関連ページ一覧の外枠 */
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.6rem;
}

/* 関連ページカード */
.related-item {
  box-sizing: border-box;
  min-height: 5.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.45rem;
  background: #fff;
  border: 1px solid #e2e2e2;
  overflow: hidden;
}

/* ホバー時 */
.related-item:hover {
  border-color: #c8d7ef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* タイトルリンク */
.related-item a {
  display: block;
  margin-bottom: 0.35rem;
  color: #2f66b3;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

/* タイトルホバー */
.related-item a:hover {
  text-decoration: underline;
}

/* 抜粋 */
.related-excerpt {
  color: #666;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* 抜粋内の画像や装飾が暴れた時の保険 */
.related-excerpt img,
.related-excerpt iframe,
.related-excerpt video {
  display: none;
}

.related-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 6rem;
  background: #f0f0f0;
  overflow: hidden;
  border-radius: 3px;
  margin: auto;
}

.related-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

.pagelinks{
  font-size:1.2em;
	text-align:center;
	line-height:0.95em;
	font-weight:bold;
	color: transparent;
	background: linear-gradient( 45deg, var(--main-color) 0% 50%, var(--link-color) 50% 100% );
  -webkit-background-clip: text;
}

/*非表示*/
.logstatus-fixed 
.dateseparator,
.utilitylinks,
.num,
.catseparator{
  display: none !important;
}