.p-course-fv {
	position: relative;
	overflow: hidden;
	width: 100%;
	background: #fff;
}

/* Course flow: common study, course selection, then two course lanes. */
.p-course-flow__years {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 0;
	max-width: 900px;
	margin: 45px auto 0;
}

.p-course-flow-year {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width: min(100%, 900px);
	margin: 0;
}

.p-course-flow-year:not(:last-child)::after {
	content: none !important;
}

.p-course-flow-year > img {
	width: 280px;
	height: 190px;
	margin: 0 auto -1px;
	object-fit: contain;
	object-position: center bottom;
}

.p-course-flow-year--2 > img {
	width: 360px;
	height: 250px;
}

.p-course-flow-year--3 > img {
	width: 360px;
	height: 225px;
}

.p-course-flow-year--4 > img {
	width: 370px;
	height: 245px;
}

.p-course-flow-year__panel,
.p-course-flow-year--1 .p-course-flow-year__panel,
.p-course-flow-year--2 .p-course-flow-year__panel,
.p-course-flow-year--3 .p-course-flow-year__panel,
.p-course-flow-year--4 .p-course-flow-year__panel {
	display: grid;
	grid-template-columns: 126px minmax(0, 1fr);
	grid-template-rows: auto auto auto;
	column-gap: 30px;
	min-height: 0;
	padding: 30px 42px 34px;
	border-radius: 4px;
}

.p-course-flow-year--1 .p-course-flow-year__panel {
	background: linear-gradient(180deg, #fffde8 0%, #fffef4 100%);
}

.p-course-flow-year--2 .p-course-flow-year__panel {
	border: 3px solid #f1d529;
	background: #fffbd7;
	box-shadow: none;
}

.p-course-flow-year--3 .p-course-flow-year__panel {
	background: linear-gradient(180deg, #e4f4dc 0%, #cae9c0 100%);
}

.p-course-flow-year--4 .p-course-flow-year__panel {
	background: #bce6f3;
}

.p-course-flow-year__number {
	grid-row: 1 / 4;
	align-self: center;
	justify-content: center;
	margin: 0;
}

.p-course-flow-year__number strong {
	font-size: 7rem;
}

.p-course-flow-year__panel > h3 {
	min-height: 0;
	margin: 0 0 12px;
	padding: 0 0 12px;
	font-size: 2.4rem;
	line-height: 1.45;
}

.p-course-flow-year--2 .p-course-flow-year__panel > h3 {
	font-size: 2.8rem;
}

.p-course-flow-year__panel > p {
	font-size: 1.45rem;
	line-height: 1.85;
}

.p-course-flow-year__degree {
	grid-column: 2;
	margin-top: 18px;
}

.p-course-flow-arrow {
	width: 58px;
	height: 78px;
	margin: 12px auto 2px;
	clip-path: polygon(28% 0, 72% 0, 72% 58%, 100% 58%, 50% 100%, 0 58%, 28% 58%);
	background: #bce6f3;
}

.p-course-flow-branch {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 86px;
	width: min(100%, 760px);
	margin: 12px auto 20px;
	padding: 0 52px;
}

.p-course-flow-branch__lane {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.p-course-flow-branch__lane i {
	display: block;
	width: 52px;
	height: 72px;
	clip-path: polygon(28% 0, 72% 0, 72% 58%, 100% 58%, 50% 100%, 0 58%, 28% 58%);
	background: #bce6f3;
}

.p-course-flow-branch__lane span {
	display: block;
	width: 100%;
	padding: 9px 14px 10px;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
}

.p-course-flow-branch__lane--business span {
	background: #d95ba6;
}

.p-course-flow-branch__lane--advanced span {
	background: #62b2e8;
}

@media (max-width: 575.98px) {
	.p-course-flow__years {
		margin-top: 34px;
		padding: 0;
	}

	.p-course-flow-year {
		width: 100%;
		margin: 0;
	}

	.p-course-flow-year > img {
		width: 210px;
		height: 145px;
	}

	.p-course-flow-year--2 > img {
		width: 280px;
		height: 195px;
	}

	.p-course-flow-year--3 > img {
		width: 275px;
		height: 175px;
	}

	.p-course-flow-year--4 > img {
		width: 285px;
		height: 190px;
	}

	.p-course-flow-year__panel,
	.p-course-flow-year--1 .p-course-flow-year__panel,
	.p-course-flow-year--2 .p-course-flow-year__panel,
	.p-course-flow-year--3 .p-course-flow-year__panel,
	.p-course-flow-year--4 .p-course-flow-year__panel {
		display: block;
		padding: 22px 20px 26px;
	}

	.p-course-flow-year__number {
		justify-content: flex-start;
		margin-bottom: 12px;
	}

	.p-course-flow-year__number strong {
		font-size: 5.4rem;
	}

	.p-course-flow-year__panel > h3,
	.p-course-flow-year--2 .p-course-flow-year__panel > h3 {
		margin-bottom: 12px;
		font-size: 2rem;
	}

	.p-course-flow-year__panel > p {
		font-size: 1.3rem;
	}

	.p-course-flow-year__degree {
		margin-top: 16px;
	}

	.p-course-flow-arrow {
		width: 44px;
		height: 62px;
		margin-top: 8px;
	}

	.p-course-flow-branch {
		gap: 16px;
		width: 100%;
		margin: 8px auto 16px;
		padding: 0 8px;
	}

	.p-course-flow-branch__lane i {
		width: 38px;
		height: 58px;
	}

	.p-course-flow-branch__lane span {
		padding: 8px 5px;
		font-size: 1.1rem;
	}
}

.p-course-fv__images {
	display: grid;
	grid-template-columns: 29.3% 40% 30.7%;
	height: clamp(340px, 28vw, 520px);
}

.p-course-fv__image {
	overflow: hidden;
	min-width: 0;
}

.p-course-fv__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-course-fv__image--programming img {
	object-position: 40% center;
}

.p-course-fv__image--sales img {
	object-fit: cover;
	object-position: center top;
}

.p-course-fv__image--sales {
	background: linear-gradient(90deg, #e7efed 0%, #dfe8e5 58%, #c5cecb 100%);
}

.p-course-fv__image--ai img {
	height: 112%;
	object-position: 45% top;
}

@media (min-width: 769px) {
	.p-course-fv__image--sales img,
	.p-course-fv__image--ai img {
		transform: translateY(32px);
	}
}

.p-course-fv__title {
	position: absolute;
	z-index: 2;
	bottom: 0;
	left: 0;
	box-sizing: border-box;
	width: fit-content;
	min-width: 450px;
	padding: 40px 100px 40px 8.35vw;
	border-radius: 0 100px 0 0;
	background: #fff;
}

.p-course-fv__title h1 {
	margin: 0 0 5px;
	color: #111;
	font-size: 5rem;
	font-weight: 700;
	line-height: 1.2;
}

.p-course-fv__title p {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: #111;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.4;
}

.p-course-fv__title p::before {
	display: block;
	flex: 0 0 auto;
	width: 58px;
	height: 5px;
	border-radius: 4px;
	background: linear-gradient(90deg, #0089cf 0 26px, transparent 26px 32px, #d964a6 32px 58px);
	content: "";
}

.p-course {
	padding: 0 8.35vw 100px;
	background: #f4f4f6;
}

.p-course__inner {
	display: flex;
	flex-direction: column;
	max-width: 1200px;
	margin: 0 auto;
}

.p-course__breadcrumb {
	order: 1;
}

.p-course-intro {
	order: 2;
}

.p-course-detail--business {
	order: 3;
}

.p-course-detail--advanced {
	order: 4;
}

.p-course-flow {
	order: 5;
}

.p-course-related {
	order: 6;
}

.p-course-intro .p-faculty-anchor02-card__item.is-business {
	background-color: #e895b0;
}

.p-course-intro .p-faculty-anchor02-card__item.is-business .p-faculty-anchor02-card__img {
	margin-bottom: auto;
}

.p-course-intro .p-faculty-anchor02-card__item.is-advanced {
	background-color: #8bcde1;
}

.p-course-intro .p-faculty-anchor02-card__item.is-advanced .p-faculty-anchor02-card__img {
	margin-bottom: 30px;
}

@media (max-width: 575.98px) {
	.p-course-intro .p-faculty-anchor02-card__item.is-business .p-faculty-anchor02-card__img,
	.p-course-intro .p-faculty-anchor02-card__item.is-advanced .p-faculty-anchor02-card__img {
		margin-bottom: 12px;
	}
}

.p-course__breadcrumb {
	padding: 32px 0 68px;
}

.p-course__breadcrumb p {
	margin: 0;
	font-size: 1.2rem;
}

.p-course-heading {
	position: relative;
	padding-top: 20px;
	border-top: 2px solid #222;
}

.p-course-heading::before {
	position: absolute;
	top: 10px;
	left: 0;
	width: 18px;
	height: 5px;
	background: linear-gradient(90deg, #009fe8 0 44%, transparent 44% 57%, #e9539b 57% 100%);
	content: "";
}

.p-course-heading h2 {
	position: relative;
	margin: 0;
	color: #111;
	font-size: clamp(2.8rem, 2.7vw, 4.2rem);
	font-weight: 700;
	line-height: 1.3;
}

.p-course-heading h2 span {
	display: inline-block;
	min-width: 44%;
	padding: 0 30px 5px 0;
	background: #fff;
}

.p-course-heading h2::before {
	position: absolute;
	bottom: -34px;
	left: 26px;
	width: 22px;
	height: 22px;
	border-bottom: 2px solid #222;
	border-left: 2px solid #222;
	transform: rotate(-45deg);
	content: "";
}

.p-course-heading h2::after {
	position: absolute;
	bottom: -17px;
	left: 20px;
	width: 34px;
	height: 5px;
	background: #f4f4f6;
	content: "";
}

.p-course-choice {
	padding-top: 76px;
}

.p-course-choice > h3 {
	width: fit-content;
	min-width: min(430px, 80%);
	margin: 0 auto;
	padding: 6px 30px 7px;
	border: 1px solid #c8b635;
	border-radius: 12px;
	color: #111;
	background: #fbf170;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .16);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

.p-course-choice__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	margin-top: 76px;
}

.p-course-choice-card {
	position: relative;
	padding: 92px 28px 24px;
	border: 1px solid #686868;
	border-radius: 15px;
}

.p-course-choice-card--business {
	background: #e38daf;
}

.p-course-choice-card--advanced {
	background: #80c5d8;
}

.p-course-choice-card__image {
	position: absolute;
	top: -64px;
	left: 50%;
	width: 62%;
	height: 170px;
	transform: translateX(-50%);
}

.p-course-choice-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.p-course-choice-card__catch {
	width: 78%;
	margin: 0 auto 8px;
	padding: 6px 12px;
	background: #fff;
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.p-course-choice-card > a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 72px;
	padding: 16px 52px 16px 24px;
	border: 1px solid #666;
	border-radius: 15px;
	color: #00267f;
	background: #fff;
	font-size: clamp(2rem, 2vw, 3rem);
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

.p-course-choice-card > a::before {
	position: absolute;
	top: 50%;
	right: 24px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #00267f;
	transform: translateY(-50%);
	content: "";
}

.p-course-choice-card > a::after {
	position: absolute;
	top: calc(50% - 3px);
	right: 31px;
	width: 8px;
	height: 8px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
	content: "";
}

.p-course-choice-card > a:hover {
	color: #fff;
	background: #00267f;
	text-decoration: none;
}

.p-course-choice-card > a:hover::before {
	background: #fff;
}

.p-course-choice-card > a:hover::after {
	border-color: #00267f;
}

.p-course-detail {
	padding-top: 110px;
	scroll-margin-top: 100px;
}

.p-course-detail-heading {
	position: relative;
	padding: 18px 0 16px;
	border-top: 2px solid #222;
	border-bottom: 2px solid #222;
}

.p-course-detail-heading::before {
	position: absolute;
	top: 9px;
	left: 0;
	width: 19px;
	height: 6px;
	background: linear-gradient(90deg, #009fe8 0 44%, transparent 44% 57%, #e9539b 57% 100%);
	content: "";
}

.p-course-detail-heading h2 {
	margin: 0;
	color: #111;
	font-size: clamp(2.8rem, 2.7vw, 4.2rem);
	font-weight: 700;
	line-height: 1.3;
}

.p-course-detail-heading h2 span {
	display: inline-block;
	min-width: 52%;
	padding: 0 30px 4px 12px;
	background: #fff;
}

.p-course-detail-heading h2::before {
	position: absolute;
	bottom: -18px;
	left: 30px;
	width: 24px;
	height: 24px;
	border-bottom: 2px solid #222;
	border-left: 2px solid #222;
	background: #f4f4f6;
	transform: rotate(-45deg);
	content: "";
}

.p-course-detail-heading h2::after {
	position: absolute;
	bottom: -3px;
	left: 24px;
	width: 37px;
	height: 6px;
	background: #f4f4f6;
	content: "";
}

.p-course-detail__body {
	margin-top: 34px;
	padding: 20px 16px 30px;
	background: #fae7f3;
}

.p-course-detail__showcase {
	display: grid;
	grid-template-columns: 58% 42%;
}

.p-course-detail__summary {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.p-course-detail__summary > h3 {
	margin: 0;
	padding: 18px 24px;
	color: #fff;
	background: #d952a1;
	font-size: clamp(2.2rem, 2.1vw, 3.5rem);
	font-weight: 700;
	line-height: 1.5;
}

.p-course-detail__summary > p {
	margin: 0;
	padding: 10px 20px 11px;
	font-size: 1.4rem;
	line-height: 1.75;
	text-align: center;
}

.p-course-detail__gallery {
	display: grid;
	flex: 1;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.p-course-detail__gallery img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 150px;
	object-fit: cover;
}

.p-course-detail__main-image {
	min-width: 0;
}

.p-course-detail__main-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.p-course-detail__information {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	padding: 34px 0 0;
}

.p-course-detail__information h3 {
	display: inline-block;
	margin: 0 0 14px;
	padding: 6px 14px 7px;
	color: #fff;
	background: #d952a1;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.3;
}

.p-course-detail__recommend {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	align-items: center;
	gap: 34px;
	margin: 0;
	padding: 28px 30px;
	border-top: 1px solid #d9dee7;
	border-bottom: 1px solid #d9dee7;
	color: #00267f;
}

.r13-course-recommend__label {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	padding-right: 30px;
	border-right: 2px dotted #00267f;
	text-align: center;
}

.r13-course-recommend__label span {
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.35;
	white-space: nowrap;
}

.r13-course-recommend__label svg {
	width: 158px;
	height: auto;
	margin: 0;
	fill: currentColor;
}

.r13-course-recommend__label text {
	fill: currentColor;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
}

.p-course-detail__recommend .r13-course-recommend__list {
	display: grid;
	gap: 15px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-course-detail__recommend .r13-course-recommend__list li {
	position: relative;
	margin: 0;
	padding-left: 44px;
	color: #00267f;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.55;
}

.p-course-detail__recommend .r13-course-recommend__list li::before {
	position: absolute;
	top: 50%;
	left: 0;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	background: #f2f4f7;
	transform: translateY(-50%);
	content: "✓";
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1;
}

.p-course-detail__careers {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	grid-template-rows: auto auto;
	align-items: center;
	gap: 6px 34px;
	padding: 28px 30px 4px;
}

.p-course-detail__information .p-course-detail__careers h3 {
	grid-row: 1 / 3;
	justify-self: center;
	margin: 0;
}

.p-course-detail__careers p {
	margin: 0;
	padding: 0;
	color: #00267f;
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 1.75;
}

.p-course-detail__careers small {
	display: block;
	padding: 0;
	font-size: 1.2rem;
}

.p-course-points {
	margin-top: 38px;
}

.p-course-points > h3 {
	display: inline-block;
	margin: 0;
	padding: 7px 16px 8px;
	color: #fff;
	background: #d952a1;
	font-size: 1.9rem;
	font-weight: 700;
	line-height: 1.3;
}

.p-course-points__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 24px 0 16px;
}

.p-course-point {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 0 28px;
	border-right: 2px dotted #00267f;
}

.p-course-point:last-child {
	border-right: 0;
}

.p-course-point__heading {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	min-height: 116px;
	margin-bottom: 24px;
}

.p-course-point__heading > p {
	margin: 0;
	color: #00267f;
	line-height: 1;
}

.p-course-point__heading span {
	display: block;
	margin-bottom: 7px;
	font-size: 1.3rem;
	font-weight: 700;
}

.p-course-point__heading strong {
	display: block;
	font-size: 5.2rem;
	font-weight: 500;
	letter-spacing: -.05em;
	line-height: .9;
}

.p-course-point__heading h4 {
	margin: 0;
	color: #eb1483;
	font-size: clamp(2.1rem, 2vw, 3rem);
	font-weight: 700;
	line-height: 1.5;
}

.p-course-point__text {
	flex: 1;
	margin: 0 0 28px;
	color: #00267f;
	font-size: 1.45rem;
	line-height: 1.95;
}

.p-course-point > img {
	display: block;
	width: 100%;
	aspect-ratio: 1.5 / 1;
	object-fit: cover;
}

.p-course-curriculum {
	margin-top: 42px;
}

.p-course-curriculum__heading {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	align-items: center;
}

.p-course-curriculum__heading > h3 {
	display: flex;
	align-items: center;
	min-height: 40px;
	margin: 0;
	padding: 7px 16px 8px;
	color: #fff;
	background: #d952a1;
	font-size: 1.9rem;
	font-weight: 700;
	line-height: 1.3;
}

.p-course-curriculum__heading > p {
	display: flex;
	align-items: stretch;
	flex: 0 1 auto;
	width: max-content;
	max-width: 100%;
	margin: 0;
	color: #fff;
	font-weight: 700;
	line-height: 1.3;
}

.p-course-curriculum__heading span {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: max-content;
	min-width: 0;
	min-height: 40px;
	padding: 7px 60px 8px 30px;
	background: linear-gradient(90deg, #b16ab5 0%, #e64c9b 100%);
	clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 50%, calc(100% - 30px) 100%, 0 100%);
	font-size: 1.2rem;
	white-space: nowrap;
}

.p-course-curriculum__heading strong {
	display: flex;
	align-items: center;
	flex: 0 1 auto;
	min-height: 40px;
	margin-left: -30px;
	padding: 7px 32px 8px 58px;
	background: #00267f;
	font-size: 1.35rem;
	white-space: nowrap;
}

.p-course-curriculum__lead {
	margin: 14px 0 18px;
	color: #231f20;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.8;
}

.p-course-curriculum__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.p-course-curriculum-card {
	min-width: 0;
	padding: 0;
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
}

.p-course-curriculum-card > img {
	display: block;
	width: 100%;
	aspect-ratio: 1.55 / 1;
	border-radius: 24px 24px 0 0;
	object-fit: cover;
}

.p-course-curriculum-card > h4 {
	margin: 0;
	padding: 16px 18px 0;
	color: #00267f;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.4;
}

.p-course-curriculum-card > p {
	margin: 8px 0 0;
	padding: 0 18px 20px;
	color: #00267f;
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.8;
}

.p-course-curriculum__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 360px));
	justify-content: center;
	gap: 42px;
	margin-top: 34px;
}

.p-course-curriculum__button.c-btn01 {
	width: 100%;
	max-width: 360px;
	min-height: 62px;
}

.p-course-detail--advanced .p-course-detail__body {
	background: #e7f4fd;
}

.p-course-detail--advanced .p-course-detail__summary > h3,
.p-course-detail--advanced .p-course-detail__information h3,
.p-course-detail--advanced .p-course-points > h3,
.p-course-detail--advanced .p-course-curriculum__heading > h3 {
	background: #62b2e8;
}

.p-course-detail--advanced .p-course-curriculum__heading span {
	background: linear-gradient(90deg, #7984bd 0%, #40a8df 100%);
}

.p-course-detail--advanced .p-course-detail__summary > p {
	border-bottom-color: #62b2e8;
}

.p-course-detail--advanced .p-course-point__heading h4 {
	color: #00267f;
}

.p-course-flow {
	padding-top: 110px;
}

.p-course-flow__years {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: end;
	min-height: 760px;
	margin-top: 45px;
}

.p-course-flow-year {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-width: 0;
}

.p-course-flow-year > img {
	position: relative;
	z-index: 1;
	display: block;
	width: 82%;
	height: 150px;
	margin: 0 auto -1px;
	object-fit: contain;
	object-position: center bottom;
}

.p-course-flow-year__panel {
	box-sizing: border-box;
	padding: 20px 24px 28px;
	color: #00267f;
	background: #fffde7;
}

.p-course-flow-year--1 .p-course-flow-year__panel {
	min-height: 390px;
	background: linear-gradient(180deg, #fffde8 0%, #fff 100%);
}

.p-course-flow-year--2 .p-course-flow-year__panel {
	min-height: 465px;
	background: #fbf6a5;
}

.p-course-flow-year--3 .p-course-flow-year__panel {
	min-height: 540px;
	background: linear-gradient(180deg, #e3f4d6 0%, #c9e9bc 100%);
}

.p-course-flow-year--4 .p-course-flow-year__panel {
	min-height: 615px;
	background: #bce6f3;
}

.p-course-flow-year__number {
	display: flex;
	align-items: flex-end;
	gap: 7px;
	margin: 0 0 20px;
	font-weight: 700;
	line-height: 1;
}

.p-course-flow-year__number strong {
	font-size: clamp(5rem, 5.2vw, 7.2rem);
	font-weight: 700;
	letter-spacing: -.04em;
}

.p-course-flow-year__number span {
	padding-bottom: 9px;
	font-size: 1.6rem;
}

.p-course-flow-year__panel > h3 {
	min-height: 78px;
	margin: 0 0 20px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(0, 38, 127, .2);
	font-size: clamp(1.7rem, 1.45vw, 2.2rem);
	font-weight: 700;
	line-height: 1.55;
}

.p-course-flow-year__panel > p {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 1.85;
}

.p-course-flow-year__courses {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 20px;
}

.p-course-flow-year__courses span {
	flex: 0 0 auto;
	padding: 6px 22px 7px 10px;
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
	color: #fff;
	background: #00267f;
	font-size: 1.15rem;
	font-weight: 700;
}

.p-course-flow-year__courses p {
	margin: 0;
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.5;
}

.p-course-flow-year__degree {
	margin-top: 20px;
	padding: 14px;
	border: 1px solid rgba(0, 38, 127, .6);
}

.p-course-flow-year__degree strong,
.p-course-flow-year__degree span {
	display: block;
}

.p-course-flow-year__degree strong {
	margin-bottom: 8px;
	font-size: 1.45rem;
}

.p-course-flow-year__degree span {
	font-size: 1.1rem;
	font-weight: 500;
	line-height: 1.7;
}

.p-course-flow__subjects {
	display: grid;
	grid-template-columns: 47% 53%;
	gap: 18px;
	margin-top: 22px;
}

.p-course-flow__subjects p {
	position: relative;
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 0;
	color: #25a95a;
}

.p-course-flow__subjects p:nth-child(2) {
	color: #00a8b4;
}

.p-course-flow__subjects p::after {
	position: absolute;
	right: 0;
	bottom: -9px;
	left: 0;
	height: 8px;
	clip-path: polygon(0 30%, calc(100% - 24px) 30%, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, calc(100% - 24px) 70%, 0 70%);
	background: currentColor;
	content: "";
}

.p-course-flow__subjects strong {
	font-size: 2rem;
}

.p-course-flow__subjects span {
	padding: 3px 10px;
	border-radius: 15px;
	color: #fff;
	background: currentColor;
	font-size: 1.15rem;
	font-weight: 700;
}

.p-course-related {
	margin: 130px calc(50% - 50vw) -100px;
	padding: 70px max(8.35vw, calc((100vw - 1200px) / 2)) 90px;
	border-radius: 100px 100px 0 0;
	background: #fae7f3;
}

.p-course-related > h2 {
	position: relative;
	width: fit-content;
	margin: 0 0 46px;
	padding: 8px 22px 9px;
	border: 3px solid #231f20;
	border-radius: 18px;
	background: #fff;
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1.3;
}

.p-course-related > h2::before,
.p-course-related > h2::after {
	position: absolute;
	bottom: -23px;
	left: 22px;
	width: 24px;
	height: 23px;
	clip-path: polygon(0 0, 100% 0, 0 100%);
	background: #231f20;
	content: "";
}

.p-course-related > h2::after {
	bottom: -16px;
	left: 25px;
	width: 17px;
	height: 17px;
	background: #fff;
}

.p-course-related__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 34px;
}

@media (max-width: 768.98px) {
	.p-course-fv__images {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		height: clamp(280px, 62vw, 420px);
	}

	.p-course-fv__image--programming img {
		object-position: 32% center;
	}

	.p-course-fv__image--sales img {
		object-position: 74% top;
		transform: translateY(12px);
	}

	.p-course-fv__image--ai img {
		object-position: 43% top;
	}

	.p-course-fv__title {
		width: fit-content;
		min-width: 200px;
		padding: 20px 20px 15px 17px;
		border-radius: 0 60px 0 0;
	}

	.p-course-fv__title h1 {
		font-size: 2.5rem;
	}

	.p-course-fv__title p {
		gap: 6px;
		font-size: 1rem;
	}

	.p-course-fv__title p::before {
		width: 40px;
		height: 3px;
		background: linear-gradient(90deg, #0089cf 0 18px, transparent 18px 22px, #d964a6 22px 40px);
	}

	.p-course {
		padding-right: 24px;
		padding-bottom: 70px;
		padding-left: 24px;
	}

	.p-course__breadcrumb {
		padding: 24px 0 48px;
	}

	.p-course-heading h2 {
		font-size: 2.6rem;
	}

	.p-course-heading h2 span {
		min-width: 72%;
	}

	.p-course-choice__cards {
		gap: 22px;
	}

	.p-course-choice-card {
		padding-right: 18px;
		padding-left: 18px;
	}

	.p-course-choice-card__image {
		width: 72%;
	}

	.p-course-choice-card__catch {
		width: 94%;
		font-size: 1.2rem;
	}

	.p-course-detail {
		padding-top: 90px;
	}

	.p-course-detail__showcase {
		grid-template-columns: 1fr;
	}

	.p-course-detail__main-image {
		order: -1;
		height: 52vw;
		min-height: 300px;
	}

	.p-course-detail__information {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.p-course-points__list {
		grid-template-columns: 1fr;
		padding: 0 22px;
	}

	.p-course-point {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 42%;
		gap: 0 24px;
		padding: 30px 0;
		border-right: 0;
		border-bottom: 2px dotted #00267f;
	}

	.p-course-point:last-child {
		border-bottom: 0;
	}

	.p-course-point__heading {
		grid-column: 1;
		min-height: 0;
		margin-bottom: 18px;
	}

	.p-course-point__text {
		grid-column: 1;
		margin-bottom: 0;
	}

	.p-course-point > img {
		grid-row: 1 / 3;
		grid-column: 2;
		align-self: stretch;
		height: 100%;
	}
}

@media (max-width: 575.98px) {
	.p-course-fv__images {
		height: 72vw;
		min-height: 270px;
	}

	.p-course-fv__title {
		width: fit-content;
		padding: 20px 20px 15px 17px;
		border-radius: 0 60px 0 0;
	}

	.p-course-fv__title h1 {
		margin-bottom: 5px;
		font-size: 2.5rem;
	}

	.p-course-fv__title p {
		font-size: 1rem;
	}

	.p-course {
		padding-right: 20px;
		padding-bottom: 60px;
		padding-left: 20px;
	}

	.p-course__breadcrumb {
		padding-bottom: 40px;
	}

	.p-course-heading {
		padding-top: 18px;
	}

	.p-course-heading h2 {
		font-size: 2.3rem;
	}

	.p-course-heading h2 span {
		min-width: 88%;
	}

	.p-course-choice {
		padding-top: 62px;
	}

	.p-course-choice > h3 {
		min-width: 0;
		max-width: 100%;
		padding: 7px 18px 8px;
		border-radius: 9px;
		font-size: 1.6rem;
	}

	.p-course-choice__cards {
		grid-template-columns: 1fr;
		gap: 90px;
		margin-top: 86px;
	}

	.p-course-choice-card {
		padding: 86px 16px 18px;
		border-radius: 12px;
	}

	.p-course-choice-card__image {
		top: -70px;
		width: 68%;
		height: 164px;
	}

	.p-course-choice-card__catch {
		width: 100%;
		font-size: 1.25rem;
	}

	.p-course-choice-card > a {
		min-height: 62px;
		padding: 13px 48px 13px 18px;
		border-radius: 12px;
		font-size: 2rem;
	}

	.p-course-detail {
		padding-top: 72px;
	}

	.p-course-detail-heading {
		padding: 16px 0 14px;
	}

	.p-course-detail-heading h2 {
		font-size: 2.3rem;
	}

	.p-course-detail-heading h2 span {
		min-width: 90%;
		padding-left: 8px;
	}

	.p-course-detail__body {
		margin-right: -20px;
		margin-left: -20px;
		padding: 18px 14px 26px;
	}

	.p-course-detail__main-image {
		height: 64vw;
		min-height: 240px;
	}

	.p-course-detail__summary > h3 {
		padding: 14px 16px;
		font-size: 2rem;
	}

	.p-course-detail__summary > p {
		padding: 10px 12px;
		font-size: 1.3rem;
		text-align: left;
	}

	.p-course-detail__gallery img {
		min-height: 94px;
	}

	.p-course-detail__information {
		padding-top: 28px;
	}

	.p-course-detail__information h3 {
		margin-bottom: 10px;
		font-size: 1.6rem;
	}

	.p-course-detail__recommend {
		grid-template-columns: 1fr;
		gap: 16px;
		padding-top: 4px;
	}

	.r13-course-recommend__label {
		padding: 0 0 12px;
		border-right: 0;
		border-bottom: 2px dotted #00267f;
	}

	.r13-course-recommend__label svg {
		width: 112px;
	}

	.p-course-detail__recommend .r13-course-recommend__list li {
		font-size: 1.35rem;
	}

	.p-course-detail__careers p {
		font-size: 1.4rem;
	}

	.p-course-detail__careers {
		display: block;
		padding: 24px 0 0;
	}

	.p-course-detail__information .p-course-detail__careers h3 {
		margin-bottom: 10px;
	}

	.p-course-detail__careers small {
		margin-top: 8px;
	}

	.p-course-points {
		margin-top: 32px;
	}

	.p-course-points > h3 {
		font-size: 1.6rem;
	}

	.p-course-points__list {
		padding: 0 16px;
	}

	.p-course-point {
		display: flex;
		padding: 28px 0;
	}

	.p-course-point__heading {
		grid-template-columns: 62px minmax(0, 1fr);
		gap: 12px;
	}

	.p-course-point__heading strong {
		font-size: 4.3rem;
	}

	.p-course-point__heading h4 {
		font-size: 2.2rem;
	}

	.p-course-point__text {
		margin-bottom: 20px;
		font-size: 1.35rem;
	}

	.p-course-point > img {
		width: 100%;
		height: auto;
	}
}

@media (max-width: 768.98px) {
	.p-course-curriculum {
		margin-top: 34px;
	}

	.p-course-curriculum__heading {
		gap: 10px;
	}

	.p-course-curriculum__heading > h3 {
		font-size: 1.6rem;
	}

	.p-course-curriculum__heading > p {
		width: 100%;
	}

	.p-course-curriculum__heading strong {
		flex: 1;
	}

	.p-course-curriculum__lead {
		font-size: 1.35rem;
	}

	.p-course-curriculum__list {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.p-course-curriculum-card {
		display: grid;
		grid-template-columns: minmax(140px, 36%) minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		column-gap: 18px;
		padding: 0;
		border-radius: 18px;
	}

	.p-course-curriculum-card > img {
		grid-row: 1 / 3;
		height: 100%;
		min-height: 180px;
		border-radius: 18px 0 0 18px;
	}

	.p-course-curriculum-card > h4 {
		margin-top: 0;
		padding: 14px 16px 0 0;
		font-size: 1.8rem;
	}

	.p-course-curriculum-card > p {
		margin-top: 6px;
		padding: 0 16px 14px 0;
		font-size: 1.3rem;
	}

	.p-course-curriculum__actions {
		gap: 24px;
	}
}

@media (max-width: 575.98px) {
	.p-course-curriculum__heading > p {
		display: flex;
		width: 100%;
	}

	.p-course-curriculum__heading span,
	.p-course-curriculum__heading strong {
		display: flex;
	}

	.p-course-curriculum__heading span {
		width: max-content;
		min-width: 0;
		padding-right: 38px;
		padding-left: 14px;
		font-size: 1rem;
		text-align: center;
	}

	.p-course-curriculum__heading strong {
		width: auto;
		padding-right: 12px;
		padding-left: 48px;
		font-size: 1.2rem;
		white-space: normal;
	}

	.p-course-curriculum-card {
		display: block;
	}

	.p-course-curriculum-card > img {
		height: auto;
		min-height: 0;
		border-radius: 18px 18px 0 0;
	}

	.p-course-curriculum-card > h4 {
		margin-top: 0;
		padding: 14px 16px 0;
	}

	.p-course-curriculum-card > p {
		padding: 0 16px 18px;
	}

	.p-course-curriculum__actions {
		grid-template-columns: 1fr;
		gap: 20px;
		margin: 28px 4px 0;
	}

	.p-course-curriculum__button {
		min-height: 56px;
		padding-right: 45px;
		font-size: 1.35rem;
	}
}

@media (max-width: 768.98px) {
	.p-course-flow {
		padding-top: 72px;
	}

	.p-course-flow__years {
		display: block;
		min-height: 0;
		margin-top: 45px;
		padding: 0 18px;
	}

	.p-course-flow-year {
		position: relative;
		max-width: 560px;
		margin: 0 auto 86px;
	}

	.p-course-flow-year:not(:last-child)::after {
		position: absolute;
		z-index: 2;
		bottom: -68px;
		left: 50%;
		width: 58px;
		height: 54px;
		clip-path: polygon(28% 0, 72% 0, 72% 55%, 100% 55%, 50% 100%, 0 55%, 28% 55%);
		background: #bce6f3;
		transform: translateX(-50%);
		content: "";
	}

	.p-course-flow-year > img {
		width: 74%;
		height: 160px;
	}

	.p-course-flow-year__panel,
	.p-course-flow-year--1 .p-course-flow-year__panel,
	.p-course-flow-year--2 .p-course-flow-year__panel,
	.p-course-flow-year--3 .p-course-flow-year__panel,
	.p-course-flow-year--4 .p-course-flow-year__panel {
		min-height: 0;
		padding: 22px 24px 28px;
	}

	.p-course-flow-year__panel > h3 {
		min-height: 0;
		font-size: 2rem;
	}

	.p-course-flow-year__panel > p {
		font-size: 1.35rem;
	}

	.p-course-flow-year__courses p {
		font-size: 1.5rem;
	}

	.p-course-flow__subjects {
		grid-template-columns: 1fr;
		gap: 34px;
		padding: 0 18px;
	}

	.p-course-related {
		margin-top: 90px;
		padding-top: 54px;
		border-radius: 60px 60px 0 0;
	}

	.p-course-related__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (max-width: 575.98px) {
	.p-course-flow__years {
		padding: 0;
	}

	.p-course-flow-year {
		margin-bottom: 78px;
	}

	.p-course-flow-year:not(:last-child)::after {
		bottom: -62px;
		width: 48px;
		height: 48px;
	}

	.p-course-flow-year > img {
		width: 82%;
		height: 130px;
	}

	.p-course-flow-year__panel,
	.p-course-flow-year--1 .p-course-flow-year__panel,
	.p-course-flow-year--2 .p-course-flow-year__panel,
	.p-course-flow-year--3 .p-course-flow-year__panel,
	.p-course-flow-year--4 .p-course-flow-year__panel {
		padding: 18px 18px 24px;
	}

	.p-course-flow-year__number {
		margin-bottom: 14px;
	}

	.p-course-flow-year__number strong {
		font-size: 5rem;
	}

	.p-course-flow-year__panel > h3 {
		margin-bottom: 15px;
		padding-bottom: 14px;
		font-size: 1.8rem;
	}

	.p-course-flow-year__panel > p {
		font-size: 1.25rem;
	}

	.p-course-flow-year__courses {
		align-items: flex-start;
	}

	.p-course-flow-year__courses p {
		font-size: 1.35rem;
	}

	.p-course-flow__subjects {
		padding: 0;
	}

	.p-course-flow__subjects strong {
		font-size: 1.55rem;
	}

	.p-course-flow__subjects span {
		font-size: 1rem;
	}

	.p-course-related {
		margin-top: 76px;
		padding: 44px 20px 64px;
		border-radius: 42px 42px 0 0;
	}

	.p-course-related > h2 {
		margin-bottom: 40px;
		padding: 7px 16px 8px;
		border-width: 2px;
		border-radius: 14px;
		font-size: 2rem;
	}

	.p-course-related__list {
		grid-template-columns: 1fr;
		gap: 14px;
	}

}

/* Final flow layout overrides (kept after legacy responsive rules). */
.p-course-flow__years {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 0;
	max-width: 900px;
	margin: 45px auto 0;
}

.p-course-flow-year {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width: min(100%, 900px);
	margin: 0;
}

.p-course-flow-year:not(:last-child)::after {
	content: none !important;
}

.p-course-flow-year > img {
	width: 280px;
	height: 190px;
	margin: 0 auto -1px;
	object-fit: contain;
	object-position: center bottom;
}

.p-course-flow-year--2 > img {
	width: 360px;
	height: 250px;
}

.p-course-flow-year--3 > img {
	width: 360px;
	height: 225px;
}

.p-course-flow-year--4 > img {
	width: 370px;
	height: 245px;
}

.p-course-flow-year__panel,
.p-course-flow-year--1 .p-course-flow-year__panel,
.p-course-flow-year--2 .p-course-flow-year__panel,
.p-course-flow-year--3 .p-course-flow-year__panel,
.p-course-flow-year--4 .p-course-flow-year__panel {
	display: grid;
	grid-template-columns: 126px minmax(0, 1fr);
	grid-template-rows: auto auto auto;
	column-gap: 30px;
	min-height: 0;
	padding: 30px 42px 34px;
	border-radius: 4px;
}

.p-course-flow-year--1 .p-course-flow-year__panel {
	background: linear-gradient(180deg, #fffde8 0%, #fffef4 100%);
}

.p-course-flow-year--2 .p-course-flow-year__panel {
	border: 3px solid #f1d529;
	background: #fffbd7;
	box-shadow: none;
}

.p-course-flow-year--3 .p-course-flow-year__panel {
	background: linear-gradient(180deg, #e4f4dc 0%, #cae9c0 100%);
}

.p-course-flow-year--4 .p-course-flow-year__panel {
	background: #bce6f3;
}

.p-course-flow-year__number {
	grid-row: 1 / 4;
	align-self: center;
	justify-content: center;
	margin: 0;
}

.p-course-flow-year__number strong {
	font-size: 7rem;
}

.p-course-flow-year__panel > h3 {
	min-height: 0;
	margin: 0 0 12px;
	padding: 0 0 12px;
	font-size: 2.4rem;
	line-height: 1.45;
}

.p-course-flow-year--2 .p-course-flow-year__panel > h3 {
	font-size: 2.8rem;
}

.p-course-flow-year__panel > p {
	font-size: 1.45rem;
	line-height: 1.85;
}

.p-course-flow-year__degree {
	grid-column: 2;
	margin-top: 18px;
}

@media (max-width: 575.98px) {
	.p-course-flow__years {
		margin-top: 34px;
		padding: 0;
	}

	.p-course-flow-year {
		width: 100%;
		margin: 0;
	}

	.p-course-flow-year > img {
		width: 210px;
		height: 145px;
	}

	.p-course-flow-year--2 > img {
		width: 280px;
		height: 195px;
	}

	.p-course-flow-year--3 > img {
		width: 275px;
		height: 175px;
	}

	.p-course-flow-year--4 > img {
		width: 285px;
		height: 190px;
	}

	.p-course-flow-year__panel,
	.p-course-flow-year--1 .p-course-flow-year__panel,
	.p-course-flow-year--2 .p-course-flow-year__panel,
	.p-course-flow-year--3 .p-course-flow-year__panel,
	.p-course-flow-year--4 .p-course-flow-year__panel {
		display: block;
		min-height: 0;
		padding: 22px 20px 26px;
	}

	.p-course-flow-year__number {
		justify-content: flex-start;
		margin-bottom: 12px;
	}

	.p-course-flow-year__number strong {
		font-size: 5.4rem;
	}

	.p-course-flow-year__panel > h3,
	.p-course-flow-year--2 .p-course-flow-year__panel > h3 {
		min-height: 0;
		margin-bottom: 12px;
		font-size: 2rem;
	}

	.p-course-flow-year__panel > p {
		font-size: 1.3rem;
	}

	.p-course-flow-year__degree {
		margin-top: 16px;
	}
}

/* Two clearly separated course lanes after the second year. */
.p-course-flow-year--1 .p-course-flow-year__panel {
	background: #fffde7;
}

.p-course-flow-year--2 .p-course-flow-year__panel {
	align-content: center;
	background: #f7f4a7;
}

.p-course-flow-paths {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 34px;
	width: min(100%, 900px);
	margin: 0 auto;
	padding-top: 82px;
}

.p-course-flow-paths::before {
	position: absolute;
	top: 0;
	left: 50%;
	width: 3px;
	height: 38px;
	background: #bce6f3;
	transform: translateX(-50%);
	content: "";
}

.p-course-flow-paths::after {
	position: absolute;
	top: 38px;
	left: 25%;
	width: 50%;
	border-top: 3px solid #bce6f3;
	content: "";
}

.p-course-flow-path {
	--course-accent: #62b2e8;
	--course-soft: #eef8fd;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: 0 16px 20px;
	border: 2px solid var(--course-accent);
	border-radius: 22px;
	background: var(--course-soft);
}

.p-course-flow-path::before {
	position: absolute;
	top: -44px;
	left: 50%;
	width: 44px;
	height: 44px;
	clip-path: polygon(28% 0, 72% 0, 72% 54%, 100% 54%, 50% 100%, 0 54%, 28% 54%);
	background: #bce6f3;
	transform: translateX(-50%);
	content: "";
}

.p-course-flow-path--business {
	--course-accent: #d95ba6;
	--course-soft: #fff1f8;
}

.p-course-flow-path > h3 {
	margin: -2px -18px 0;
	padding: 14px 20px 15px;
	border-radius: 20px 20px 0 0;
	color: #fff;
	background: var(--course-accent);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
}

.p-course-flow-path__arrow {
	display: block;
	width: 46px;
	height: 62px;
	margin: 14px auto;
	clip-path: polygon(28% 0, 72% 0, 72% 58%, 100% 58%, 50% 100%, 0 58%, 28% 58%);
	background: var(--course-accent);
	opacity: .72;
}

.p-course-flow-path__stage {
	position: relative;
	padding: 22px 22px 26px;
	border-top: 5px solid var(--course-accent);
	border-radius: 12px;
	background: #dcefcf;
	color: #00267f;
}

.p-course-flow-path__stage:last-of-type {
	background: #bce6f3;
}

.p-course-flow-path__stage > img {
	display: block;
	width: 280px;
	height: 190px;
	max-width: 100%;
	margin: -8px auto 4px;
	object-fit: contain;
	object-position: center bottom;
}

.p-course-flow-path__year {
	display: flex;
	align-items: flex-end;
	gap: 7px;
	margin: 0 0 12px;
	font-weight: 700;
	line-height: 1;
}

.p-course-flow-path__year strong {
	font-size: 5.4rem;
	letter-spacing: -.04em;
}

.p-course-flow-path__year span {
	padding-bottom: 7px;
	font-size: 1.4rem;
}

.p-course-flow-path__stage > h4 {
	margin: 0 0 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(0, 38, 127, .2);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.45;
}

.p-course-flow-path__stage > p:last-child {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.85;
}

@media (max-width: 575.98px) {
	.p-course-flow-paths {
		display: flex;
		flex-direction: column;
		gap: 28px;
		padding-top: 32px;
	}

	.p-course-flow-paths::before,
	.p-course-flow-paths::after {
		content: none;
	}

	.p-course-flow-path::before {
		content: none;
	}

	.p-course-flow-path {
		padding-right: 12px;
		padding-left: 12px;
	}

	.p-course-flow-path > h3 {
		margin-right: -14px;
		margin-left: -14px;
		font-size: 1.7rem;
	}

	.p-course-flow-path__stage {
		padding: 18px 16px 22px;
	}

	.p-course-flow-path__stage > img {
		width: 230px;
		height: 160px;
	}

	.p-course-flow-path__stage > h4 {
		font-size: 1.8rem;
	}

	.p-course-flow-path__stage > p:last-child {
		font-size: 1.3rem;
	}
}

/* Shared year stages: one common stage with two clearly separated course paths. */
.p-course-flow-tracks {
	position: relative;
	width: min(100%, 900px);
	margin-top: 70px;
}

.p-course-flow-tracks::before {
	content: none;
}

.p-course-flow-tracks::after {
	content: none;
}

.p-course-flow-tracks__connector {
	position: absolute;
	top: -70px;
	left: 0;
	display: block;
	width: 100%;
	height: 70px;
	overflow: visible;
}

.p-course-flow-tracks__connector path {
	fill: none;
	stroke: #00267f;
	stroke-width: 6;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.p-course-flow-tracks__connector .is-left {
	stroke: url(#course-flow-left);
}

.p-course-flow-tracks__connector .is-right {
	stroke: url(#course-flow-right);
}

.p-course-flow-tracks__headings,
.p-course-flow-tracks__arrows,
.p-course-flow-track-stage__courses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 34px;
}

.p-course-flow-tracks__headings span {
	position: relative;
	padding: 15px 20px;
	border-radius: 9px;
	color: #fff;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

.p-course-flow-tracks__headings span::before {
	content: none;
}

.p-course-flow-tracks__headings span:first-child {
	background: #62b2e8;
}

.p-course-flow-tracks__headings span:last-child {
	background: #d95ba6;
}

.p-course-flow-tracks__headings span.is-business {
	background: #d95ba6;
}

.p-course-flow-tracks__headings span.is-advanced {
	background: #62b2e8;
}

.p-course-flow-tracks__arrows {
	position: relative;
	z-index: 1;
	padding: 0;
	margin-bottom: -2px;
}

.p-course-flow-tracks__arrows i {
	width: 54px;
	height: 62px;
	margin: 0 auto;
	clip-path: polygon(34% 0, 66% 0, 66% 56%, 100% 56%, 50% 100%, 0 56%, 34% 56%);
}

.p-course-flow-tracks__arrows i:first-child {
	background: #62b2e8;
}

.p-course-flow-tracks__arrows i:last-child {
	background: #d95ba6;
}

.p-course-flow-tracks__arrows i.is-business {
	background: #d95ba6;
}

.p-course-flow-tracks__arrows i.is-advanced {
	background: #62b2e8;
}

.p-course-flow-track-stage {
	box-sizing: border-box;
	width: min(100%, 900px);
	margin-right: auto;
	margin-left: auto;
	padding: 30px 34px 34px;
	border-radius: 4px;
	color: #00267f;
}

.p-course-flow-track-stage--3 {
	background: #dcefcf;
}

.p-course-flow-track-stage--4 {
	background: #bce6f3;
}

.p-course-flow-track-stage__common {
	display: grid;
	grid-template-columns: 270px 105px minmax(0, 1fr);
	align-items: center;
	gap: 24px;
}

.p-course-flow-track-stage__common img {
	width: 270px;
	height: 175px;
	object-fit: contain;
}

.p-course-flow-track-stage__year {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	margin: 0;
	font-weight: 700;
	line-height: 1;
}

.p-course-flow-track-stage__year strong {
	font-size: 6rem;
	letter-spacing: -.05em;
}

.p-course-flow-track-stage__year span {
	padding-bottom: 8px;
	font-size: 1.5rem;
}

.p-course-flow-track-stage__common h3 {
	margin: 0;
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.45;
}

.p-course-flow-track-stage__courses {
	margin-top: 24px;
}

.p-course-flow-track-stage__lead {
	margin: 8px 0 0;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.8;
	text-align: center;
}

.p-course-flow-track-stage__body {
	margin: 22px 0 0;
	padding-top: 20px;
	border-top: 1px solid rgba(0, 38, 127, .2);
	font-size: 1.45rem;
	font-weight: 500;
	line-height: 2;
}

.p-course-flow-year--2 .p-course-flow-year__panel > h3,
.p-course-flow-year--2 .p-course-flow-year__panel > p:not(.p-course-flow-year__number) {
	transform: translateY(18px);
}

.p-course-flow-year--2 .p-course-flow-year__number {
	transform: none;
}

.p-course-flow-track-stage__course {
	padding: 22px 24px 24px;
	border: 3px solid;
	border-radius: 10px;
	background: #fff;
}

.p-course-flow-track-stage__course.is-advanced {
	border-color: #62b2e8;
}

.p-course-flow-track-stage__course.is-business {
	border-color: #d95ba6;
}

.p-course-flow-track-stage__course h4 {
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(0, 38, 127, .18);
	font-size: 1.9rem;
	font-weight: 700;
}

.p-course-flow-track-stage__course.is-advanced h4 {
	color: #1689c7;
}

.p-course-flow-track-stage__course.is-business h4 {
	color: #c7378d;
}

.p-course-flow-track-stage__course p {
	margin: 0;
	color: #00267f;
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.85;
}

/* Reuse the same button component as /tuiton/; hover only fades. */
.p-course-related__list .c-btn04 {
	width: 100%;
	transition: opacity .2s ease;
}

.p-course-related__list .c-btn04:hover {
	color: #00267f;
	background-color: #fff;
	opacity: .7;
}

@media (max-width: 768.98px) {
	.p-course-flow-tracks {
		margin-top: 58px;
	}

	.p-course-flow-tracks::before {
		content: none;
	}

	.p-course-flow-tracks::after {
		content: none;
	}

	.p-course-flow-tracks__connector {
		top: -58px;
		height: 58px;
	}

	.p-course-flow-tracks__headings,
	.p-course-flow-tracks__arrows,
	.p-course-flow-track-stage__courses {
		gap: 20px;
	}

	.p-course-flow-tracks__headings span {
		padding: 13px 10px;
		font-size: 1.65rem;
	}

	.p-course-flow-track-stage {
		padding: 24px;
	}

	.p-course-flow-track-stage__common {
		grid-template-columns: 220px 90px minmax(0, 1fr);
		gap: 16px;
	}

	.p-course-flow-track-stage__common img {
		width: 220px;
		height: 150px;
	}

	.p-course-flow-track-stage__common h3 {
		font-size: 2.1rem;
	}
}

@media (max-width: 575.98px) {
	.p-course-flow-tracks::after {
		left: calc(25% - 3px);
		width: calc(50% + 6px);
	}

	.p-course-flow-tracks__headings,
	.p-course-flow-tracks__arrows {
		gap: 12px;
	}

	.p-course-flow-tracks__headings span {
		font-size: 1.35rem;
	}

	.p-course-flow-tracks__arrows {
		padding: 0;
	}

	.p-course-flow-tracks__arrows i {
		width: 42px;
		height: 50px;
	}

	.p-course-flow-track-stage {
		padding: 22px 16px 18px;
	}

	.p-course-flow-track-stage__common {
		display: grid;
		grid-template-columns: 100px minmax(0, 1fr);
		gap: 10px 16px;
	}

	.p-course-flow-track-stage__common img {
		grid-column: 1 / -1;
		width: 220px;
		height: 145px;
		margin: 0 auto;
	}

	.p-course-flow-track-stage__year strong {
		font-size: 5rem;
	}

	.p-course-flow-track-stage__common h3 {
		font-size: 1.8rem;
	}

	.p-course-flow-track-stage__courses {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-top: 18px;
	}

	.p-course-flow-track-stage__course {
		padding: 18px;
	}
}

/* Course detail redesign
   "Course detail" means the advanced/business course sections. */
.p-course-detail--advanced {
	--course-accent: #62b2e8;
	--course-accent-dark: #1689c7;
	--course-soft: #eaf6fd;
	--course-line: #b9dff4;
}

.p-course-detail--business {
	--course-accent: #d952a1;
	--course-accent-dark: #bd2f82;
	--course-soft: #fcedf6;
	--course-line: #efbfda;
}

.p-course-detail__body,
.p-course-detail--advanced .p-course-detail__body {
	margin-top: 38px;
	padding: 28px;
	border-radius: 22px;
	background: var(--course-soft);
}

.p-course-detail__showcase {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px;
}

.p-course-detail__summary,
.p-course-detail__main-image {
	overflow: hidden;
	border: 1px solid var(--course-line);
	border-radius: 18px;
	background: #fff;
}

.p-course-detail__summary > h3,
.p-course-detail--advanced .p-course-detail__summary > h3 {
	position: relative;
	margin: 0;
	padding: 30px 30px 18px 42px;
	color: #00267f;
	background: #fff;
	font-size: clamp(2.5rem, 2.55vw, 3.7rem);
	line-height: 1.45;
}

.p-course-detail__summary > h3::before {
	position: absolute;
	top: 34px;
	bottom: 23px;
	left: 22px;
	width: 7px;
	border-radius: 999px;
	background: var(--course-accent);
	content: "";
}

.p-course-detail__summary > p {
	margin: 0;
	padding: 0 30px 25px;
	color: #00267f;
	font-size: 1.45rem;
	font-weight: 500;
	line-height: 1.9;
	text-align: left;
}

.p-course-detail__gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: auto;
	padding: 0 12px 12px;
}

.p-course-detail__gallery img {
	width: 100%;
	height: 150px;
	min-height: 0;
	border-radius: 10px;
	object-fit: cover;
}

.p-course-detail__main-image {
	min-height: 470px;
}

.p-course-detail__main-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-course-detail--advanced .p-course-detail__main-image img {
	object-position: center top;
}

.p-course-detail--business .p-course-detail__main-image img {
	object-position: center top;
}

.p-course-detail__information {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
	gap: 22px;
	padding: 24px 0 0;
}

.p-course-detail__recommend {
	display: grid;
	grid-template-columns: 165px minmax(0, 1fr);
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 24px;
	border: 1px solid var(--course-line);
	border-radius: 18px;
	background: #fff;
}

.r13-course-recommend__label {
	padding-right: 20px;
	border-right: 2px dotted var(--course-accent);
}

.r13-course-recommend__label svg {
	width: 138px;
	color: #00267f;
}

.p-course-detail__recommend .r13-course-recommend__list {
	gap: 13px;
}

.p-course-detail__recommend .r13-course-recommend__list li {
	padding-left: 38px;
	font-size: 1.45rem;
	line-height: 1.65;
}

.p-course-detail__recommend .r13-course-recommend__list li::before {
	width: 27px;
	height: 27px;
	border-radius: 7px;
	color: #00267f;
	background: var(--course-soft);
	font-size: 2rem;
}

.p-course-detail__careers {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	padding: 24px;
	border: 1px solid var(--course-line);
	border-radius: 18px;
	background: #fff;
}

.p-course-detail__information .p-course-detail__careers h3,
.p-course-detail--advanced .p-course-detail__information .p-course-detail__careers h3 {
	display: inline-flex;
	grid-row: auto;
	align-items: center;
	justify-self: auto;
	margin: 0 0 15px;
	padding: 5px 12px 6px;
	border-radius: 7px;
	color: #fff;
	background: var(--course-accent);
	font-size: 1.55rem;
}

.p-course-detail__careers p {
	color: #00267f;
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.9;
}

.p-course-detail__careers small {
	margin-top: auto;
	padding-top: 14px;
	color: #4c5875;
	font-size: 1.1rem;
}

.p-course-points {
	margin-top: 42px;
}

.p-course-points > h3,
.p-course-detail--advanced .p-course-points > h3 {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 20px;
	padding: 0;
	color: #00267f;
	background: transparent;
	font-size: 2.2rem;
}

.p-course-points > h3::before {
	width: 8px;
	height: 30px;
	border-radius: 999px;
	background: var(--course-accent);
	content: "";
}

.p-course-points__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	padding: 0;
}

.p-course-point {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	padding: 0;
	border: 1px solid var(--course-line);
	border-radius: 18px;
	background: #fff;
}

.p-course-point:last-child {
	border-right: 1px solid var(--course-line);
}

.p-course-point > img {
	order: -1;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 0;
	object-fit: cover;
}

.p-course-point__heading {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	align-items: start;
	gap: 14px;
	min-height: 0;
	margin: 0;
	padding: 22px 22px 14px;
}

.p-course-point__heading > p {
	color: var(--course-accent-dark);
}

.p-course-point__heading span {
	margin-bottom: 5px;
	font-size: 1.05rem;
	letter-spacing: .08em;
}

.p-course-point__heading strong {
	font-size: 4.2rem;
	font-weight: 700;
}

.p-course-point__heading h4,
.p-course-detail--advanced .p-course-point__heading h4 {
	color: #00267f;
	font-size: clamp(1.9rem, 1.75vw, 2.5rem);
	line-height: 1.45;
}

.p-course-point__text {
	flex: 1;
	margin: 0;
	padding: 0 22px 24px;
	color: #00267f;
	font-size: 1.35rem;
	line-height: 1.9;
}

.p-course-curriculum {
	margin-top: 48px;
	padding-top: 38px;
	border-top: 1px solid var(--course-line);
}

@media (max-width: 768.98px) {
	.p-course-detail__body,
	.p-course-detail--advanced .p-course-detail__body {
		padding: 22px;
		border-radius: 18px;
	}

	.p-course-detail__showcase {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.p-course-detail__main-image {
		order: -1;
		height: clamp(300px, 58vw, 460px);
		min-height: 0;
	}

	.p-course-detail__information {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.p-course-detail__careers small {
		margin-top: 0;
	}

	.p-course-points__list {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 0;
	}

	.p-course-point {
		display: grid;
		grid-template-columns: minmax(220px, 38%) minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		gap: 0;
		border-bottom: 1px solid var(--course-line);
	}

	.p-course-point > img {
		grid-row: 1 / 3;
		grid-column: 1;
		order: initial;
		width: 100%;
		height: 100%;
		aspect-ratio: auto;
	}

	.p-course-point__heading,
	.p-course-point__text {
		grid-column: 2;
	}
}

@media (max-width: 575.98px) {
	.p-course-curriculum__actions {
		justify-items: center;
	}

	.p-course-curriculum__button.c-btn01 {
		justify-content: center;
		margin-right: auto;
		margin-left: auto;
		text-align: center;
	}

	.p-course-detail__body,
	.p-course-detail--advanced .p-course-detail__body {
		margin-right: -20px;
		margin-left: -20px;
		padding: 16px;
		border-radius: 0;
	}

	.p-course-detail__summary,
	.p-course-detail__main-image,
	.p-course-detail__recommend,
	.p-course-detail__careers,
	.p-course-point {
		border-radius: 14px;
	}

	.p-course-detail__summary > h3,
	.p-course-detail--advanced .p-course-detail__summary > h3 {
		padding: 22px 20px 13px 34px;
		font-size: 2.1rem;
	}

	.p-course-detail__summary > h3::before {
		top: 26px;
		bottom: 18px;
		left: 18px;
		width: 6px;
	}

	.p-course-detail__summary > p {
		padding: 0 20px 20px;
		font-size: 1.3rem;
	}

	.p-course-detail__gallery {
		gap: 5px;
		padding: 0 8px 8px;
	}

	.p-course-detail__gallery img {
		height: 92px;
		border-radius: 7px;
	}

	.p-course-detail__recommend {
		grid-template-columns: 105px minmax(0, 1fr);
		gap: 14px;
		padding: 18px 16px;
	}

	.r13-course-recommend__label {
		padding: 0 12px 0 0;
		border-right: 2px dotted var(--course-accent);
		border-bottom: 0;
	}

	.r13-course-recommend__label svg {
		width: 96px;
	}

	.p-course-detail__recommend .r13-course-recommend__list {
		gap: 10px;
	}

	.p-course-detail__recommend .r13-course-recommend__list li {
		padding-left: 29px;
		font-size: 1.2rem;
	}

	.p-course-detail__recommend .r13-course-recommend__list li::before {
		width: 22px;
		height: 22px;
		font-size: 1.7rem;
	}

	.p-course-detail__careers {
		display: flex;
		padding: 20px;
	}

	.p-course-detail__careers p {
		font-size: 1.3rem;
	}

	.p-course-points > h3,
	.p-course-detail--advanced .p-course-points > h3 {
		font-size: 1.9rem;
	}

	.p-course-point {
		display: flex;
	}

	.p-course-point > img {
		order: -1;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.p-course-point__heading {
		padding: 18px 18px 12px;
	}

	.p-course-point__text {
		padding: 0 18px 20px;
		font-size: 1.3rem;
	}
}

/* Cleaner hierarchy for the curriculum header. */
.p-course-curriculum__heading {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.p-course-curriculum__heading > h3,
.p-course-detail--advanced .p-course-curriculum__heading > h3 {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	color: #00267f;
	background: transparent;
	font-size: 2.2rem;
	line-height: 1.35;
}

.p-course-curriculum__heading > h3::before {
	width: 8px;
	height: 30px;
	border-radius: 999px;
	background: var(--course-accent);
	content: "";
}

.p-course-curriculum__heading > p {
	display: flex;
	gap: 18px;
	align-items: stretch;
	width: max-content;
	max-width: 100%;
	margin: 0;
	overflow: visible;
	border: 0;
	border-radius: 0;
	color: #00267f;
	background: transparent;
}

.p-course-curriculum__heading span,
.p-course-detail--advanced .p-course-curriculum__heading span {
	min-height: 0;
	padding: 4px 0;
	clip-path: none;
	color: var(--course-accent-dark);
	background: transparent;
	font-size: 1.15rem;
}

.p-course-curriculum__heading strong {
	min-height: 0;
	margin-left: 0;
	padding: 4px 0 4px 18px;
	border-left: 3px solid var(--course-accent);
	color: #00267f;
	background: transparent;
	font-size: 1.25rem;
}

.p-course-curriculum__lead {
	margin: 20px 0 24px;
	padding: 21px 24px;
	border: 1px solid var(--course-line);
	border-radius: 10px;
	color: #00267f;
	background: #fff;
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1.8;
}

/* Curated course-detail hero: one strong image and one focused message. */
.p-course-detail__showcase {
	grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.p-course-detail__summary {
	justify-content: center;
	padding: 44px 38px;
}

.p-course-detail__summary::before {
	display: block;
	align-self: flex-start;
	margin-bottom: 18px;
	color: var(--course-accent-dark);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.3;
}

.p-course-detail--advanced .p-course-detail__summary::before {
	content: "ADVANCED IT COURSE";
}

.p-course-detail--business .p-course-detail__summary::before {
	content: "BUSINESS IT COURSE";
}

.p-course-detail__summary > h3,
.p-course-detail--advanced .p-course-detail__summary > h3 {
	padding: 0 0 22px;
	border-bottom: 1px solid var(--course-line);
	font-size: clamp(2.3rem, 2.1vw, 3.1rem);
	line-height: 1.55;
}

.p-course-detail__summary > h3::before {
	content: none;
}

.p-course-detail__summary > p {
	padding: 22px 0 0;
}

.p-course-detail__gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 26px 0 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--course-line);
	border-radius: 12px;
}

.p-course-detail__gallery img {
	display: block;
	width: 100%;
	height: 92px;
	min-height: 0;
	border-radius: 0;
	object-fit: cover;
}

.p-course-detail__gallery img + img {
	border-left: 2px solid #fff;
}

.p-course-detail__main-image {
	min-height: 430px;
}

@media (max-width: 575.98px) {
	.p-course-curriculum__heading {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 14px;
	}

	.p-course-curriculum__heading > h3,
	.p-course-detail--advanced .p-course-curriculum__heading > h3 {
		font-size: 1.9rem;
	}

	.p-course-curriculum__heading > p {
		width: 100%;
		gap: 10px;
	}

	.p-course-curriculum__heading span,
	.p-course-detail--advanced .p-course-curriculum__heading span {
		padding-right: 0;
		padding-left: 0;
		font-size: 1rem;
	}

	.p-course-curriculum__heading strong {
		flex: 1;
		padding-right: 12px;
		padding-left: 10px;
		font-size: 1.15rem;
		white-space: normal;
	}

	.p-course-curriculum__lead {
		margin-top: 16px;
		padding: 16px 17px;
		font-size: 1.35rem;
	}

	.p-course-detail__summary {
		padding: 28px 22px;
	}

	.p-course-detail__summary::before {
		margin-bottom: 13px;
		font-size: 1rem;
	}

	.p-course-detail__summary > h3,
	.p-course-detail--advanced .p-course-detail__summary > h3 {
		padding: 0 0 16px;
		font-size: 2.1rem;
	}

	.p-course-detail__summary > p {
		padding: 16px 0 0;
	}

	.p-course-detail__gallery {
		margin-top: 20px;
		border-radius: 9px;
	}

	.p-course-detail__gallery img {
		height: 72px;
	}
}

/* Editorial course-detail hero: fewer boxes and a quieter image hierarchy. */
.p-course-detail__showcase {
	grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
	align-items: center;
	gap: 46px;
	padding: 24px 26px;
}

.p-course-detail__summary {
	justify-content: center;
	padding: 18px 0;
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.p-course-detail__summary::before {
	margin-bottom: 16px;
}

.p-course-detail__summary > h3,
.p-course-detail--advanced .p-course-detail__summary > h3 {
	padding-bottom: 18px;
	background: transparent;
}

.p-course-detail__summary > p {
	padding-top: 18px;
}

.p-course-detail__visuals {
	display: grid;
	gap: 10px;
	min-width: 0;
}

.p-course-detail__visuals .p-course-detail__main-image {
	width: 100%;
	height: 330px;
	min-height: 0;
	overflow: hidden;
	border: 0;
	border-radius: 10px;
	background: transparent;
}

.p-course-detail__visuals .p-course-detail__gallery {
	margin: 0;
	border: 0;
	border-radius: 8px;
}

.p-course-detail__visuals .p-course-detail__gallery img {
	height: 78px;
}

@media (max-width: 768.98px) {
	.p-course-detail__showcase {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 8px;
	}

	.p-course-detail__visuals {
		order: -1;
	}

	.p-course-detail__visuals .p-course-detail__main-image {
		height: clamp(230px, 52vw, 360px);
	}
}

@media (max-width: 575.98px) {
	.p-course-detail__showcase {
		padding: 0;
	}

	.p-course-detail__summary {
		padding: 8px 4px 14px;
	}

	.p-course-detail__visuals .p-course-detail__main-image {
		height: 58vw;
	}

	.p-course-detail__visuals .p-course-detail__gallery img {
		height: 64px;
	}

}

.p-course-detail__recommend,
.p-course-detail__careers,
.p-course-point,
.p-course-point:last-child,
.p-course-curriculum__lead {
	border: 0;
}

.p-course-curriculum__heading .p-course-curriculum__ability {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	width: auto;
	max-width: 62%;
	margin: 0;
	padding: 3px 0 3px 24px;
	overflow: visible;
	border: 0;
	border-left: 4px solid var(--course-accent);
	border-radius: 0;
	color: #00267f;
	background: transparent;
	text-align: right;
}

.p-course-curriculum__heading .p-course-curriculum__ability span {
	display: block;
	min-height: 0;
	padding: 0;
	clip-path: none;
	color: var(--course-accent-dark);
	background: transparent;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: .08em;
	white-space: nowrap;
}

.p-course-curriculum__heading .p-course-curriculum__ability strong {
	display: block;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	color: #00267f;
	background: transparent;
	font-size: clamp(1.35rem, 1.35vw, 1.8rem);
	font-weight: 700;
	line-height: 1.5;
	white-space: normal;
}

@media (max-width: 575.98px) {
	.p-course-curriculum__heading .p-course-curriculum__ability {
		align-items: flex-start;
		width: 100%;
		max-width: 100%;
		padding: 3px 0 3px 14px;
		text-align: left;
	}

	.p-course-curriculum__heading .p-course-curriculum__ability span {
		font-size: 1rem;
	}

	.p-course-curriculum__heading .p-course-curriculum__ability strong {
		font-size: 1.35rem;
	}
}

/* Course-colour ability band. */
.p-course-curriculum__heading .p-course-curriculum__ability {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0;
	width: max-content;
	max-width: 72%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-align: left;
}

.p-course-curriculum__heading .p-course-curriculum__ability span {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 54px;
	padding: 11px 54px 12px 25px;
	clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 50%, calc(100% - 32px) 100%, 0 100%);
	color: #fff;
	font-size: 1.4rem;
	letter-spacing: .03em;
	white-space: nowrap;
}

.p-course-detail--advanced .p-course-curriculum__ability span {
	background: linear-gradient(90deg, #7c88bd 0%, #62b2e8 100%);
}

.p-course-detail--business .p-course-curriculum__ability span {
	background: linear-gradient(90deg, #b16ab5 0%, #d952a1 100%);
}

.p-course-curriculum__heading .p-course-curriculum__ability strong {
	display: flex;
	align-items: center;
	flex: 0 1 auto;
	min-height: 54px;
	margin: 0 0 0 -32px;
	padding: 11px 24px 12px 56px;
	border: 0;
	color: #fff;
	background: #00267f;
	font-size: 1.4rem;
	line-height: 1.4;
	white-space: nowrap;
}

@media (max-width: 575.98px) {
	.p-course-fv__images {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.p-course-fv__image--sales {
		order: 1;
	}

	.p-course-fv__image--programming {
		display: none;
	}

	.p-course-fv__image--ai {
		order: 2;
	}

	.p-course-detail__visuals {
		order: initial;
	}

	.p-course-curriculum__heading .p-course-curriculum__ability {
		width: 100%;
		max-width: 100%;
	}

	.p-course-curriculum__heading .p-course-curriculum__ability span {
		min-height: 50px;
		padding-right: 38px;
		padding-left: 12px;
		font-size: 1.05rem;
	}

	.p-course-curriculum__heading .p-course-curriculum__ability strong {
		flex: 1;
		min-height: 50px;
		padding-right: 12px;
		padding-left: 44px;
		font-size: 1.05rem;
		white-space: normal;
	}
}

/* Stable mobile layout for the 2nd–4th year flow cards. */
@media (max-width: 575.98px) {
	.p-course-flow-year--1 .p-course-flow-year__panel,
	.p-course-flow-year--2 .p-course-flow-year__panel {
		display: grid;
		grid-template-columns: 82px minmax(0, 1fr);
		grid-template-rows: auto auto;
		align-content: start;
		align-items: center;
		gap: 12px 12px;
		height: auto;
		min-height: 0;
		padding: 18px 22px 24px;
	}

	.p-course-flow-year--1 .p-course-flow-year__number,
	.p-course-flow-year--2 .p-course-flow-year__number {
		grid-row: 1;
		grid-column: 1;
		align-self: center;
		justify-content: flex-start;
		margin: 0;
		transform: none;
	}

	.p-course-flow-year--1 .p-course-flow-year__panel > h3,
	.p-course-flow-year--2 .p-course-flow-year__panel > h3 {
		grid-row: 1;
		grid-column: 2;
		align-self: center;
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 1.7rem;
		line-height: 1.45;
		transform: none;
	}

	.p-course-flow-year--1 .p-course-flow-year__number strong,
	.p-course-flow-year--2 .p-course-flow-year__number strong {
		font-size: 4.4rem;
	}

	.p-course-flow-year--1 .p-course-flow-year__number span,
	.p-course-flow-year--2 .p-course-flow-year__number span {
		padding-bottom: 5px;
		font-size: 1.25rem;
	}

	.p-course-flow-year--1 .p-course-flow-year__panel > p:not(.p-course-flow-year__number),
	.p-course-flow-year--2 .p-course-flow-year__panel > p:not(.p-course-flow-year__number) {
		grid-row: 2;
		grid-column: 1 / -1;
		margin: 0;
		padding-top: 14px;
		border-top: 1px solid rgba(0, 38, 127, .2);
		font-size: 1.25rem;
		line-height: 1.8;
		transform: none;
	}

	.p-course-flow-track-stage__common {
		grid-template-columns: 90px minmax(0, 1fr);
		column-gap: 10px;
	}

	.p-course-flow-track-stage__common h3 {
		justify-self: start;
		text-align: left;
		font-size: 1.6rem;
		line-height: 1.45;
	}

	.p-course-flow-track-stage__lead {
		font-size: clamp(1.05rem, 3.2vw, 1.25rem);
		line-height: 1.7;
		white-space: nowrap;
	}

	.p-course-flow-track-stage__body,
	.p-course-flow-track-stage__course p {
		font-size: 1.25rem;
		line-height: 1.8;
	}
}
