#beginner {
	width: 100%;
	background-color: #292838;

	.top {
		padding-block: 64px;
		/* aspect-ratio: 1440 / 643; */
		background-image: url("../../img/beginner/bg_beginner.png");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center center;

		@media (max-width: 768px) {
			padding: 48px 20px;
			background-image: url("../../img/beginner/bg_beginner_sp.png");
		}

		.top-heading {
			position: relative;
			width: fit-content;
			margin-inline: auto;
			font-size: 3.2rem;
			font-weight: bold;
			line-height: 1.6em;
			letter-spacing: 0;
			color: #ffffff;

			@media (max-width: 768px) {
				font-size: 2.4rem;
			}

			&::before {
				content: '';
				display: block;
				background-image: url("../../img/beginner/check.svg");
				background-repeat: no-repeat;
				background-size: cover;
				background-position: center center;
				width: 28.41px;
				height: 24.85px;
				position: absolute;
				left: -25px;
				top: -15px;
			}
		}

		.top-text {
			font-size: 1.6rem;
			font-weight: 400;
			line-height: 1.8em;
			letter-spacing: 0;
			color: #ffffff;
			text-align: center;
		}

		.top-container {
			width: 100%;
			background-color: #ffffff;
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			gap: 18px;
			padding: 40px 32px;
			border-radius: 20px;
			max-width: 640px;
			margin-inline: auto;

			@media (max-width: 768px) {
				gap: 16px;
				padding: 24px;
				border-radius: 16px;
			}

			.center {
				text-align: center;

				.category {
					background: linear-gradient(90deg, #D43977 5.77%, #821742 94.23%);
					background-clip: text;
					-webkit-background-clip: text;
					-webkit-text-fill-color: transparent;
					font-size: 1.6rem;
					font-weight: 400;
					line-height: 1.2em;
					letter-spacing: 0;
	
					@media (max-width: 768px) {
						font-size: 1.4rem;
					}
				}
	
				.course {
					background: linear-gradient(90deg, #D43977 5.77%, #821742 94.23%);
					background-clip: text;
					-webkit-background-clip: text;
					-webkit-text-fill-color: transparent;
					font-size: 3.2rem;
					font-weight: 800;
					line-height: 1.2em;
					letter-spacing: 0;
	
					@media (max-width: 768px) {
						font-size: 2.4rem;
					}
				}
			}


			.appeal {
				font-size: 1.6rem;
				font-weight: 400;
				line-height: 1.8em;
				letter-spacing: 0;
				color: #000000;
				text-align: center;

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

			.course_btn {
				height: 46px;
				padding-inline: 32px;
				font-size: 1.6rem;
				line-height: 44px;
				letter-spacing: 0;
				color: #992453;
				border: 1px solid #992453;
				border-radius: 5px;

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

	.sp_only {
		display: none;

		@media (max-width: 768px) {
			display: block;
		}
	}

	.pc_only {
		display: block;

		@media (max-width: 768px) {
			display: none;
		}
	}
}