:root {
	--post-link-color: #3B82F6;
	--post-media-margin: 20px 0;
	--post-media-border-radius: .375rem;
}

.posts-container{
	/* 見出し */
	h2{
		padding-bottom: 0.5rem;
		border-bottom: 1px solid #000;
	}
	h3{
		padding-top: 2px;
		padding-bottom: 0.25rem;
		padding-left: 7px;
		margin-bottom: 15px;
		border-bottom: 1px solid #111;
		border-left: 7px solid #111;
		font-size: 1.05rem;
	}
	h4{
		font-size: 1rem;
		padding-left: 6px;
		border-bottom: 1px solid;
		padding-bottom: 0.2rem;
	}
	h5{
		font-size: 1rem;
		padding-left: 6px;
		border-bottom: 1px dotted;
		padding-bottom: 0.2rem;
		font-weight: bold;
	}

	/* アイキャッチ画像 */
	.featured-image-container{
		margin: 20px auto;
		/* max-width: 1000px; */
	}
	.featured-image{
		position: absolute;
		height: 100%;
		width: 100%;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
		color: transparent;
	}
	.featured-image-source{
		position: absolute;
		bottom: 0;
		color: #fff;
		right: 0;
		background-color: rgba(0, 0, 0, 0.5);
		padding: 5px;
	}
	.featured-image-source__link a{
		text-decoration: underline;
	}

	/* カテゴリ */
	.post-categories{
		.post-categories__title{
			margin: 5px 0;
		}
	}
	.post-bottom-category{
		margin-top: 15px;
		.post-bottom-category__link{
			margin-right: 5px;
		}
	}

	/* 見出し */
	#dynamic-toc{
		border: 1px solid #000;
		padding: 10px 25px 10px 35px;

		margin: 0 auto 20px;
		border-radius: 5px;

		.toc-container__title{
			font-weight: bold;
			text-align: center;
			margin: 5px;
		}

		.toc-list.close{
			display: none;
		}

		.toc-list-li{
			list-style: disclosure-open;
			color: var(--post-link-color);
			margin-bottom: 5px;

			.toc-list-li-link a{
				color:var(--post-link-color);
			}

			.toc-list-li-link a:hover{
				text-decoration: underline !important;
			}
		}

		.toc-container__toggle-link{
			font-weight: initial;
			font-size: 0.95rem;
			color: var(--post-link-color);
			cursor: pointer;
		}

		.toc-list-li-h3{
			margin-left: 15px;
		}
		.toc-list-li-h4{
			margin-left: 25px;
		}
		.toc-list-li-h5{
			margin-left: 35px;
		}
	}

	/* 動画 */
	.video-container{
		margin: var(--post-media-margin);
		width: 100%;

		video-player {
			--media-border-radius: var(--post-media-border-radius) !important;
		}
	}

	/* youtube */
	.youtube-container{
		margin: var(--post-media-margin);
		position: relative;
		width: 100%;
		padding-top: 56.25%;
		height: 0;

		iframe{
			border-radius: var(--post-media-border-radius);
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
		}
	}

	/* 画像 */
	.image-container{
		img{
			margin: var(--post-media-margin);
			border-radius: var(--post-media-border-radius);
		}
	}

	/* ScrollHint用 */
	table{
		margin: 0;
	}
	@media screen and (max-width: 768px) {
		table{
			overflow: auto;
			display: block;
			white-space: nowrap;
		}
	}

	.posts-meta-data{
		/*padding-bottom: 15px;*/
	}

	.d-none{
		display: none !important;
	}
}

/* 見出しのスクロール調整 */
html{
	scroll-padding-top: 100px;
}