@charset "utf-8";

.sogoRecommendations {
	font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

.sogoRecommendations > h2 {
	margin: 50px 0 20px;
	padding: 0;
	border: 0;
	background: none;
	color: #555;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.topSogoBanner,
.topSogoCourseList {
	box-sizing: border-box;
	width: calc(100% - 40px);
	margin-right: auto;
	margin-left: auto;
}

.topSogoBanner {
	max-width: 1148px;
	margin-bottom: 30px;
	text-align: center;
}

.topSogoCourseList {
	width: calc(100% - 20px);
	max-width: none;
	margin-right: 0;
	margin-left: 20px;
}

.topSogoBannerLink {
	display: block;
	width: 100%;
}

.topSogoBannerImage {
	display: block;
	width: 100%;
	height: auto;
}

.topSogoCourseList .sogoRecommendationSwiper {
	padding-right: 0;
	padding-bottom: 20px;
	padding-left: 0;
}

.topSogoCourseList .sogoRecommendationSwiper > .swiper-scrollbar {
	display: none;
}

.sogoRecommendationSwiper {
	position: relative;
	overflow: hidden;
	padding: 0 6px 26px;
}

.sogoRecommendationScroller {
	align-items: stretch;
}

.sogoRecommendationSwiper > .swiper-scrollbar {
	position: relative;
	bottom: auto;
	left: auto;
	width: 100%;
	height: 8px;
	margin-top: 18px;
	border-radius: 8px;
	background: #e6f4ff;
}

.sogoRecommendationSwiper > .swiper-scrollbar .swiper-scrollbar-drag {
	border-radius: 8px;
	background: #166eb8;
}

.sogoRecommendationCard {
	position: relative;
	display: flex;
	flex: 0 0 268px;
	flex-direction: column;
	width: 268px;
	height: 433px;
	margin-top: 59px;
	background: #fff;
	box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.1);
}

.sogoRecommendationRibbon {
	position: absolute;
	z-index: 1;
	top: -59px;
	left: 0;
	display: flex;
	box-sizing: border-box;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 51px;
	padding: 8px;
	background: #166eb8;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.sogoRecommendationRibbon span {
	display: block;
	max-width: 100%;
}

.sogoRecommendationRibbon::after {
	position: absolute;
	bottom: -6px;
	left: 50%;
	width: 0;
	height: 0;
	border-top: 6px solid #166eb8;
	border-right: 6px solid transparent;
	border-left: 6px solid transparent;
	content: "";
	transform: translateX(-50%);
}

.sogoRecommendationOverview {
	display: flex;
	flex-direction: column;
	flex: 0 0 141px;
	gap: 6px;
	height: 141px;
	margin-top: 8px;
	padding: 0 12px;
	background: #fff;
}

.sogoRecommendations .sogoRecommendationTitle {
	display: flex;
	box-sizing: border-box;
	flex: 0 0 60px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 60px;
	width: 100%;
	margin: 0;
	padding: 0 0 8px;
	border-bottom: 1px dashed #ccc;
	color: #166eb8;
	font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.sogoRecommendationCourseName,
.sogoRecommendationCourseType {
	display: block;
	max-width: 100%;
}

.sogoRecommendationCourseName {
	overflow: hidden;
	width: 100%;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sogoRecommendationCourseType {
	font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
	font-size: 16px;
	line-height: 1;
}

.sogoRecommendationImageWrap {
	overflow: hidden;
	width: 268px;
	flex: 0 0 141px;
	height: 141px;
	background: #fff;
}

.sogoRecommendationImage {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sogoRecommendations .sogoRecommendationDescription {
	display: -webkit-box;
	overflow: hidden;
	width: 100%;
	flex: 0 0 51px;
	height: 51px;
	margin: 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: #313131;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
}

.sogoRecommendationDetails {
	display: flex;
	box-sizing: border-box;
	flex: 0 0 143px;
	flex-direction: column;
	height: 143px;
	padding: 0 8px 16px;
	background: #fff;
}

.sogoRecommendationTags {
	display: flex;
	align-items: flex-start;
	flex-wrap: nowrap;
	gap: 4px;
	overflow: hidden;
	width: 100%;
	flex: 0 0 18px;
	height: 18px;
}

.sogoRecommendationTag {
	display: inline-flex;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	height: 18px;
	min-height: 18px;
	padding: 4px;
	border-radius: 1px;
	background: #166eb8;
	color: #fff;
	font-size: 10px;
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
}

.sogoRecommendationDivider {
	display: none;
}

.sogoRecommendationPricing {
	display: flex;
	flex: 0 0 53px;
	flex-direction: column;
	justify-content: flex-end;
	width: 218px;
	height: 53px;
	margin: 16px auto 0;
}

.sogoRecommendationPricing.is-sale {
	gap: 8px;
}

.sogoRecommendationSale {
	display: flex;
	align-items: flex-start;
	height: 19px;
}

.sogoRecommendationSaleLimit,
.sogoRecommendationSaleRate {
	display: inline-flex;
	box-sizing: border-box;
	align-items: center;
	height: 19px;
	padding: 0 2px;
	border: 1px solid #ea1e1e;
	font-family: "Yu Gothic", Meiryo, sans-serif;
	font-size: 10px;
	font-weight: 400;
	line-height: 17px;
	white-space: nowrap;
}

.sogoRecommendationSaleLimit {
	background: #ea1e1e;
	color: #fff;
}

.sogoRecommendationSaleLimit b {
	font-size: 12px;
	font-weight: 400;
}

.sogoRecommendationSaleRate {
	background: #fff;
	color: #ea1e1e;
	font-size: 11px;
}

.sogoRecommendationPrice {
	display: flex;
	align-items: flex-end;
	height: 26px;
	font-family: "Yu Gothic", Meiryo, sans-serif;
}

.sogoRecommendationPriceLabel {
	display: flex;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-right: 4px;
	border-radius: 2px;
	background: #f2f2f2;
	color: #313131;
	font-size: 10px;
	line-height: 1.05;
	text-align: center;
}

.sogoRecommendationCurrentPrice {
	display: inline-flex;
	align-items: flex-end;
	color: #f75b58;
}

.sogoRecommendationCurrentPrice > span {
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
}

.sogoRecommendationCurrentPrice strong {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 32px;
	font-weight: 400;
	line-height: 0.8;
	letter-spacing: -0.04em;
}

.sogoRecommendationPrice del {
	margin-left: 8px;
	color: #333;
	font-size: 14px;
	line-height: 1;
}

.sogoRecommendationFree {
	color: #f75b58;
	font-size: 26px;
	font-weight: 400;
	line-height: 1;
}

.sogoRecommendationLink {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 230px;
	height: 42px;
	margin: 16px auto 0;
	padding: 12px 12px 12px 24px;
	border: 1px solid #166eb8;
	border-radius: 27px;
	background: #fff;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
	color: #166eb8;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.sogoRecommendationLinkIcon {
	display: inline-block;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

.sogoRecommendationLink:visited,
.sogoRecommendationLink:link {
	color: #166eb8;
}

.sogoRecommendationLink:hover,
.sogoRecommendationLink:focus {
	background: #166eb8;
	color: #fff;
	text-decoration: none;
}

@media only screen and (max-width: 768px) {
	.topSogoBanner {
		width: calc(100% - 30px);
	}

	.topSogoCourseList {
		width: calc(100% - 15px);
		margin-right: 0;
		margin-left: 15px;
	}

	.sogoRecommendationSwiper {
		margin-right: -20px;
		margin-left: -20px;
		padding-right: 6px;
		padding-left: 6px;
	}

	.topSogoCourseList .sogoRecommendationSwiper {
		margin-right: 0;
		margin-left: 0;
		padding-right: 0;
		padding-left: 0;
	}

	.sogoRecommendationCard {
		flex-basis: min(268px, calc(100vw - 24px));
		width: min(268px, calc(100vw - 24px));
	}

	.sogoRecommendationImageWrap {
		width: 100%;
	}

	.sogoRecommendationTags {
		width: 100%;
	}

	.sogoRecommendationLink {
		width: min(230px, calc(100% - 12px));
	}
}
