@charset "UTF-8";

#contents {
	padding: 16rem 0 12rem;
	background-color: #f0f6fa;

	@media screen and (max-width: 767px) {
		padding: 8rem 0 10rem;
	}

	.edit-area {
		background-color: #fff;
		padding: 9rem 19rem;

		@media screen and (max-width: 767px) {
			padding: 4rem 1.5rem;
		}

		.category-set {
			display: flex;
			align-items: center;
			gap: 1.4rem;

			& .set-time {
				font-family: 'Roboto';
				font-weight: 500;
				font-size: 1.6rem;
				line-height: 1;
				letter-spacing: 0.05em;
				color: #267BCA;
			}

			& .set-list {
				display: flex;
				gap: 0.8rem;
				align-items: center;

				& li {
					height: 2.2rem;
					border-radius: 1.1rem;
					padding: 0 1rem;
					font-family: 'Noto Sans JP';
					font-weight: 700;
					font-size: 1.4rem;
					letter-spacing: 0.05em;
					color: #FFFFFF;
					display: flex;
					justify-content: center;
					align-items: center;
				}

				& li.briefing {
					background-color: #77b750;
				}

				& li.is {
					background-color: #267bca;
				}

				& li.volunteer {
					background-color: #db5f5f;
				}

				& li.thanks {
					background-color: #F88634;
				}
			}
		}

		.article-title {
			padding: 2rem 0;
			border-bottom: 0.1rem solid #ACACAC;
			font-family: 'Noto Sans JP';
			font-weight: 700;
			font-size: 3.4rem;
			line-height: 1.5;
			letter-spacing: 0.1em;

			@media screen and (max-width: 767px) {
				font-size: 2rem;
			}
		}

		.back-btn {
			margin: 6rem auto 0;

			@media screen and (max-width: 767px) {
				margin: 4rem auto 0;
			}
		}
	}
}

/* edit css */
/* h2 */
.article-area {
	& h2 {
		position: relative;
		margin: 3rem 0;
		padding-left: 1em;
		font-family: 'Noto Sans JP';
		font-weight: 700;
		font-size: 2.8rem;
		line-height: 1.5;
		letter-spacing: 0.08em;

		@media screen and (max-width: 767px) {
			font-size: 1.8rem;
			margin: 2rem 0;
		}

		&:after {
			content: "";
			position: absolute;
			left: 0;
			top: 50%;
			transform: translateY(-50%);
			display: block;
			width: 2.3rem;
			height: 2.3rem;
			background: #267bca;
		}

		@media screen and (max-width: 767px) {
			&:after {
				width: 1.6rem;
				height: 1.6rem;
			}
		}
	}

	/* h3 */
	& h3 {
		margin: 2.5rem 0;
		font-family: 'Noto Sans JP';
		font-weight: 700;
		font-size: 2rem;
		line-height: 1.5;
		letter-spacing: 0.08em;
		color: #267BCA;

		@media screen and (max-width: 767px) {
			margin: 2rem 0;
			font-size: 1.6rem;
		}
	}

	/* h4 */
	& h4 {
		margin-bottom: 1rem;
		font-size: 1.8rem;
		letter-spacing: 0.1em;
		line-height: 160%;

		@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: #267bca;
	}

	/* h6 */
	& h6 {
		margin-bottom: 1rem;
		font-weight: bold;

		@media screen and (max-width: 767px) {
			margin-bottom: 0.5rem;
		}
	}

	/* p */
	& p {
		margin: 2rem 0;
		font-family: 'Noto Sans JP';
		font-weight: 400;
		font-size: 1.8rem;
		line-height: 1.8;
		letter-spacing: 0.08em;

		@media screen and (max-width: 767px) {
			margin: 1.5rem 0;
			font-size: 1.4rem;
		}
	}

	& a {
		color: #267bca;
		text-decoration: underline;
	}

	& a[target="_blank"] {
		&::after {
			content: "";
			display: inline-block;
			position: relative;
			width: 1.6rem;
			height: 1.6rem;
			background-image: url("../../common/img/general/external.svg");
			background-size: contain;
			background-repeat: no-repeat;
			background-position: center;
		}
	}

	/* ul */
	& ul {
		margin: 2rem 0;

		@media screen and (max-width: 767px) {
			margin: 1.5rem 0;
		}

		& li {
			position: relative;
			padding-left: 1.5rem;
			font-family: 'Noto Sans JP';
			font-weight: 400;
			font-size: 1.8rem;
			line-height: 1.8;
			letter-spacing: 0.08em;

			&:after {
				content: "";
				position: absolute;
				left: 0;
				top: 1.3rem;
				display: block;
				width: 0.6rem;
				height: 0.6rem;
				border-radius: 0.3rem;
				background: #267bca;
			}

			@media screen and (max-width: 767px) {
				font-size: 1.4rem;
			}
		}
	}

	/* ol */
	& ol {
		margin: 2rem 0;
		counter-reset: number 0;

		@media screen and (max-width: 767px) {
			margin: 1.5rem 0;
		}

		& li {
			counter-increment: number 1;
			position: relative;
			padding-left: 2rem;
			font-family: 'Noto Sans JP';
			font-weight: 400;
			font-size: 1.8rem;
			line-height: 1.8;
			letter-spacing: 0.08em;

			&:after {
				content: counter(number) ".";
				position: absolute;
				left: 0;
				top: 0.8rem;
				display: block;
				color: #267bca;
				font-size: 1.8rem;
				line-height: 100%;
			}

			@media screen and (max-width: 767px) {
				font-size: 1.4rem;

				&::after {
					font-size: 1.4rem;
				}
			}
		}
	}

	/* 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 {
		display: block;
		margin: 2rem 0;
		/* width: 60rem; */
		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%;
		}
	}
}