@charset "UTF-8";
html {
	    background-color: #F1F1F1;
}

.edit-area.article {
	@media screen and (max-width: 767px) {
	}
}


.article-post-container {
	margin: 20rem 0 16rem;
	padding: 8rem;
	border-radius: 1.6rem;
	background: #fff;
}

.category-set {
	display: flex;
	gap: 4rem;
	margin-bottom: 4rem;
	align-items: center;

	.set-list {
		display: flex;
		gap: 0.5rem;
	}

	.set-list span {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		padding: 0.8rem 2.4rem;
		background: #D62328;
		border-radius: 5.6rem;
		font-style: normal;
		font-weight: 700;
		font-size: 1.8rem;
		line-height: 180%;
		text-align: center;
		letter-spacing: 0.05em;
		color: #FFFFFF;
	}

	.set-time {
		font-family: 'Jost';
		font-style: normal;
		font-weight: 500;
		font-size: 2rem;
		line-height: 180%;
		letter-spacing: 0.08em;
		color: #000000;
	}
}

.article-title {
	font-style: normal;
	font-weight: 700;
	font-size: 2.6rem;
	line-height: 180%;
	letter-spacing: 0.08em;
	color: #000000;
	margin-bottom: 6.4rem;
}

.common-btn {
	margin: 0 auto;
}

/* edit css */
/* h2 */
.article-area {

	& h2 {
		position: relative;
		margin-bottom: 2rem;
		padding-left: 1.7rem;
		font-weight: bold;
		font-size: 2.2rem;
		letter-spacing: 0.1em;
		line-height: 1.5;
		color: #000;
		@media screen and (max-width: 767px) {
			margin-bottom: 1rem;
			padding-left: 1.2rem;
			font-size: 1.7rem;
			letter-spacing: 0.05em;
		}

		&:after {
			content: "";
			position: absolute;
			left: 0;
			top: 0;
			display: block;
			width: 0.4rem;
			height: 100%;
			background: #d20000;
		}
		@media screen and (max-width: 767px) {
			&:after {
				width: 0.3rem;
			}
		}
	}

	/* h3 */
	& h3 {
		position: relative;
		margin-bottom: 2rem;
		padding: 0 0 1rem;
		font-size: 2rem;
		letter-spacing: 0.1em;
		line-height: 180%;
		@media screen and (max-width: 767px) {
			margin-bottom: 1rem;
			padding: 0 0 0.5rem;
			font-size: 1.6rem;
			line-height: 160%;
		}
		&:after {
			content: "";
			position: absolute;
			left: 0;
			bottom: 0;
			display: block;
			width: 4rem;
			height: 0.3rem;
			background: #d20000;
		}
	}
	/* h4 */
	& h4 {
		margin-bottom: 1rem;
		font-style: normal;
		font-weight: 700;
		font-size: 2rem;
		line-height: 150%;
		letter-spacing: 0.08em;
		color: #000000;
		@media screen and (max-width: 767px) {
			margin-bottom: 0.5rem;
		}
	}
	/* h5 */
	& h5 {
		position: relative;
		margin-bottom: 1rem;
		padding-left: 1.8rem;
		font-weight: bold;
		@media screen and (max-width: 767px) {
			margin-bottom: 0.5rem;
		}
	}
	& h5:after {
		content: "";
		display: block;
		position: absolute;
		left: 0;
		top: 0;
		width: 1.4rem;
		height: 1.4rem;
		background: #d20000;
	}
	/* h6 */
	& h6 {
		margin-bottom: 1rem;
		font-weight: bold;
		@media screen and (max-width: 767px) {
			margin-bottom: 0.5rem;
		}
	}
	/* p */
	& p {
		margin-bottom: 3rem;
		font-weight: bold;
		letter-spacing: 0.05em;
		line-height: 2;
		@media screen and (max-width: 767px) {
			margin-bottom: 1.5rem;
			line-height: 160%;
		}
	}

	& a {
		color: #d20000;

		&[target="_blank"] {
			position: relative;
			padding-right: 3rem;
			&:after,
			&:before {
				content: "";
				position: absolute;
				right: 0.8rem;
				bottom: 0.8rem;
				display: block;
				width: 1.4rem;
				height: 1rem;
				border: 1px solid #d20000;
				background: #fff;
				box-sizing: border-box;
			}
			&:before {
				right: 0.5rem;
				bottom: 1.2rem;
			}
			@media screen and (max-width: 767px) {
				&:after,
				&:before {
					bottom: 0.4rem;
				}
				&:before {
					bottom: 0.8rem;
				}
			}
		}
	}

	/* ul */
	& ul {
		margin-bottom: 2rem;
		& li {
			position: relative;
			padding-left: 1rem;
			font-weight: bold;
			line-height: 2;
			&:after {
				content: "";
				position: absolute;
				left: 0;
				top: 1.3rem;
				display: block;
				width: 0.6rem;
				height: 0.6rem;
				border-radius: 0.3rem;
				background: #d20000;
			}
		}
	}
	/* ol */
	& ol {
		margin-bottom: 2rem;
		counter-reset: number 0;
		& li {
			position: relative;
			padding-left: 2rem;
			line-height: 2;
			font-weight: bold;
			counter-increment: number 1;
			&:after {
				content: counter(number) ".";
				position: absolute;
				left: 0;
				top: 0.8rem;
				display: block;
				color: #d20000;
				font-size: 1.4rem;
				line-height: 100%;
			}
		}
	}
	/* img float */
	& img.alignleft {
		float: left;
		margin: 0.8rem 1rem 1rem 0;
		@media screen and (max-width: 767px) {
			float: none;
			display: block;
			margin: 0 auto 1rem;
		}
	}
	& img.aligncenter {
		display: block;
		margin: 0 auto 2rem;
	}
	& img.alignright {
		float: right;
		margin: 0.8rem 0 1rem 1rem;
	}
	@media screen and (max-width: 767px) {
		& img.alignright {
			float: none;
			display: block;
			margin: 0 auto 1rem;
		}
	}
	& img {
		vertical-align: top;
		max-width: 100%;
		height: auto;
	}
	/* blockquote */
	& blockquote {
		position: relative;
		margin: 0 0 3rem 3rem;
		padding-left: 6rem;
		font-size: 1.4rem;
		line-height: 180%;
		@media screen and (max-width: 767px) {
			margin: 0 0 1.5rem 0;
			padding-left: 4rem;
			line-height: 160%;
		}
		&:after,
		&:before {
			content: "";
			position: absolute;
			left: 0;
			top: 0;
			display: block;
		}
		&:after {
			top: 0.5rem;
			width: 0.2rem;
			height: 5rem;
			background: #ccc;
		}
		&:before {
			content: "“";
			position: absolute;
			left: 1rem;
			top: -0.5rem;
			color: #ccc;
			font-size: 6rem;
			line-height: 100%;
		}
	}
}


@media screen and (max-width: 767px) {
	.article-post-container {
		margin-top: 13rem;
        margin-bottom: 8rem;
		padding: 4rem 1.5rem;
	}

	.category-set {
		gap: 0rem;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 2rem;

		.set-time {
			font-size: 1.4rem;
			line-height: 160%;
		}

		.set-list {
			font-size: 1.2rem;
		}
		
		.set-list span {
			font-size: 1.4rem;
			padding: 0.6rem 1.4rem;
		} 
		
	}

	.article-title {
		font-size: 2rem;
		margin-bottom: 2rem;
	}
}