/* ---------------------------------------------------------------------- */
/* 汎用 */
/* ---------------------------------------------------------------------- */

/* ベース */
.single-content {
	display: grid;
	/* flex-direction: column; */
	gap: 16px;
	padding: 40px 20px;
}

/* カテゴリ名 */
.category-name {
	background-image: url(../img/page/title-sp.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: inset var(--sh-s);
	font-size: 18px;
	font-weight: 700;
	line-height: var(--lh);
	padding: 23px 18px;
}

/* タグリスト */
.tag-list {
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 4px;
}

.tag-list li {
	font-size: 14px;
	line-height: var(--lh-s);
}

.tag-list li a {
	align-items: center;
	border: 2px solid var(--rd);
	box-sizing: border-box;
	color: var(--rd);
	display: inline-flex;
	height: 30px;
	justify-content: center;
	padding: 10px 20px;
}

.tag-list li a:hover {
	background-color: var(--rd);
	color: var(--wh);
}

.tag-list li.is-category a {
	border: 2px solid var(--bl);
	color: var(--bl);
}

.tag-list li.is-category a:hover {
	background-color: var(--bl);
	color: var(--wh);
}

/* 本文 */
.single-content article {
	border: 2px solid var(--bl);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-s);
	color: var(--bk);
	padding: 20px 20px 40px 20px;
}

.single-content article h1 {
	border-bottom: 1px solid var(--bk);
	font-size: 20px;
	margin-bottom: 11px;
	padding: 10px 0;
}

.single-content article p {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
}

.single-content article time {
	display: block;
	font-size: 12px;
	margin-bottom: 24px;
}

/* タグクラウド */
.tag-cloud {
	background-color: var(--gy);
	border-radius: var(--r-lg);
	padding: 20px 10px 40px 10px;
}

.tag-cloud h2 {
	border-bottom: 1px solid var(--bl);
	color: var(--bl);
	font-size: 18px;
	line-height: var(--lh-s);
	margin-bottom: 24px;
	padding: 5px;
}

.tag-cloud-list {
	gap: 10px;
	grid-template-columns: repeat(2, 1fr);
}

.tag-cloud-list li {
	font-size: 14px;
	line-height: var(--lh-s);
}

.tag-cloud-list li a {
	align-items: center;
	background-color: var(--wh);
	border: 2px solid var(--bl);
	box-sizing: border-box;
	color: var(--bl);
	display: flex;
	gap: 10px;
	justify-content: center;
	padding: 10px;
	width: 100%;
}

.tag-cloud-list li a.is-current {
	border: 2px solid var(--rd);
	color: var(--rd);
}

.tag-cloud-list li a:hover {
	background-color: var(--bl);
	color: var(--wh);
}

.tag-cloud-list li a.is-current:hover {
	background-color: var(--rd);
	color: var(--wh);
}

@container (min-width: 769px) {

	/* ベース */
	.single-content {
		/* flex-direction: row; */
		grid-template-columns: 1fr auto;
		gap: 40px;
		justify-content: center;
		margin: auto;
		max-width: var(--content-w);
		/* padding: 70px 0px; */
		padding: 70px 20px;
	}

	/* カテゴリ名 */
	.category-name {
		align-items: center;
		background-image: url(../img/page/title-pc.webp);
		display: flex;
		font-size: 40px;
		height: 450px;
		padding: 0 7.5vw;
		width: 100%;
	}

	/* 本文 */
	.single-content article {
		padding:40px;
		max-width: 675px;
	}

	.single-content article h1 { 
		font-size: 26px;
		margin-bottom:11px;
	}
	
	.single-content article img {
		margin-bottom: 0.5lh;
	}

	.single-content article p,
	.single-content article time {
		font-size: 18px;
		text-align: justify;
	}
	
	.single-content article p + p {
		margin-top: 1lh;
	}

	.single-content article time {
		margin-bottom: 18px;
	}

}