@charset "UTF-8";

.common-blue-btn {
	margin: 0 auto;
}

.edit-area.achievements {
	width: 100%;
	padding-top: 11rem;
	padding-bottom: 11rem;
	@media screen and (max-width: 767px) {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
	.achievements-title {
		font-style: normal;
		font-weight: 700;
		font-size: 3.4rem;
		line-height: 118%;
		/* identical to box height, or  */
		letter-spacing: 0.1em;
		color: #000000;
		margin-bottom: 2rem;
		@media screen and (max-width: 767px) {
			font-size: 2.2rem;
			margin-bottom: 1.2rem;
		}
	}
	.flex {
		display: flex;
		gap: 1.9rem;
		margin-bottom: 7rem;
		align-items: center;
		@media screen and (max-width: 767px) {
			gap: 1rem;
			margin-bottom: 4rem;
		}
		.set-list {
			display: flex;
			gap: 1rem;
			& li {
				font-style: normal;
				font-weight: 700;
				font-size: 2rem;
				line-height: 1;
				letter-spacing: 0.1em;
				color: #ffffff;
				border-radius: 10rem;
				padding: 0.6rem 1.4rem;
				box-sizing: border-box;
				@media screen and (max-width: 767px) {
					font-size: 1.4rem;
					padding: 0.6rem 1rem;
				}
			}
		}
		.duration {
			font-family: var(--inter);
			font-style: normal;
			font-weight: 400;
			font-size: 1.8rem;
			line-height: 1;
			letter-spacing: 0.05em;
			color: #000000;
			@media screen and (max-width: 767px) {
				font-size: 1.4rem;
			}
		}
	}
	.achievements-contents {
		width: 100%;
		.before-after-images {
			display: flex;
			gap: 6rem;
			margin-bottom: 10rem;
			@media screen and (max-width: 767px) {
				gap: 2rem;
				margin-bottom: 4rem;
				flex-direction: column;
			}
			.before,
			.after {
				width: 100%;
				height: 32rem;
				overflow: hidden;
				flex: 1;
				position: relative;
				& img {
					width: 100%;
					height: 32rem;
					object-fit: cover;
					object-position: center;
				}
				.before-text,
				.after-text {
					position: absolute;
					top: 0;
					left: 0;
					font-style: normal;
					font-weight: 700;
					font-size: 2.2rem;
					line-height: 1;
					letter-spacing: 0.08em;
					font-feature-settings: "palt" on;
					color: #ffffff;
					padding: 1rem 2rem;
					box-sizing: border-box;
					width: 12.2rem;
					height: 4.3rem;
					display: flex;
					justify-content: center;
					align-items: center;
					z-index: 99;
					@media screen and (max-width: 767px) {
						font-size: 1.4rem;
						width: 9.2rem;
						height: 3.8rem;
					}
				}
				.before-text {
					background-color: #d31414;
				}
				.after-text {
					background-color: #336ceb;
				}
			}
		}
		.flexwrap-gallery {
			display: flex;
			flex-wrap: wrap;
			gap: 2rem;
			width: 100%;
			@media screen and (max-width: 767px) {
				flex-direction: column;
			}
			& li {
				width: 34.6rem;
				height: 21.7rem;
				overflow: hidden;
				@media screen and (max-width: 767px) {
					width: 100%;
				}
				& img {
					width: 100%;
					object-fit: cover;
					object-position: center;
				}
			}
		}
	}
}

/* edit css */
/* h2 */
.achievements-area {
	& a {
		color: #003cb5;
		transition: all 0.3s ease-in;
		text-decoration: underline;
		&:hover {
			text-decoration: none;
			opacity: 0.75;
		}
	}
	& h2 {
		position: relative;
		margin-bottom: 3.3rem;
		padding-left: 3.3rem;
		font-style: normal;
		font-weight: 700;
		font-size: 2.8rem;
		line-height: 1;
		letter-spacing: 0.08em;
		color: #000000;
		@media screen and (max-width: 767px) {
			margin-bottom: 2.4rem;
			padding-left: 2.8rem;
			font-size: 1.8rem;
			letter-spacing: 0.05em;
		}
		&:after {
			content: "";
			position: absolute;
			left: 0;
			top: 0.3rem;
			display: block;
			width: 2.3rem;
			height: 2.3rem;
			background: #0d2d74;
			@media screen and (max-width: 767px) {
				width: 1.8rem;
				height: 1.8rem;
				top: 0.1rem;
			}
		}
		@media screen and (max-width: 767px) {
			/* &:after {
				width: 0.3rem;
			} */
		}
	}

	/* h3 */
	& h3 {
		position: relative;
		margin-bottom: 1.8rem;
		font-style: normal;
		font-weight: 700;
		font-size: 2rem;
		line-height: 140%;
		letter-spacing: 0.08em;
		font-feature-settings: "palt" on;
		color: #0d2d74;
		@media screen and (max-width: 767px) {
			margin-bottom: 1.6rem;
			font-size: 1.7rem;
			line-height: 160%;
		}
	}
	/* h4 */
	& h4 {
		margin-bottom: 2rem;
		font-size: 1.8rem;
		letter-spacing: 0.1em;
		line-height: 160%;
		@media screen and (max-width: 767px) {
			font-size: 1.6rem;
			margin-bottom: 1rem;
		}
	}
	/* h5 */
	& h5 {
		position: relative;
		margin-bottom: 2rem;
		padding-left: 1.8rem;
		font-weight: bold;
		@media screen and (max-width: 767px) {
			margin-bottom: 1rem;
		}
	}
	& h5:after {
		content: "";
		display: block;
		position: absolute;
		left: 0;
		top: 0.3rem;
		width: 1rem;
		height: 1rem;
		background: #0d2d74;
	}
	/* h6 */
	& h6 {
		margin-bottom: 2rem;
		font-weight: bold;
		@media screen and (max-width: 767px) {
			margin-bottom: 1rem;
		}
	}
	/* 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%;
		}
	}
	/* 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: #0d2d74;
			}
		}
	}
	/* 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: #0d2d74;
				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;
		@media screen and (max-width: 767px) {
			width: 100%;
		}
	}
	/* 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%;
		}
	}
}
