.fre.hero {
	position: relative;
	overflow: hidden;
	padding: 1.5rem 0 4rem;
}

@media screen and (min-width: 1199px) {

	.fre.hero {
		padding: 5.625rem 0 10.8125rem;
	}
}

@media screen and (min-width: 1199px) {

	.fre.hero .container {
		position: relative;
		overflow: visible;
	}

	.fre.hero .container::after {
		content: "";
		position: absolute;
		width: 85.5%;
		height: calc(100% + 263px);
		background-color: #fff;
		top: -5.625rem;
		right: 0;
		clip-path: polygon(100% 0, 0% 100%, 100% 100%);
		z-index: 0;
	}

	.fre.hero .container::before {
		content: "";
		position: absolute;
		width: 50vw;
		background-color: #fff;
		height: calc(100% + 263px);
		right: calc(-50vw + 5px);
		top: -5.625rem;
		z-index: 0;
	}
}

.fre.hero figure {
	pointer-events: none;
	background-color: #1fe186;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
	min-width: 34.1875rem;
	width: 100%;
	min-height: 39%;
	aspect-ratio: 547 / 351;
	clip-path: polygon(0 0, 100% 0, 0% 100%, 0% 100%);
}

@media screen and (min-width: 1199px) {

	.fre.hero figure {
		clip-path: unset;
		left: 50%;
		transform: translateX(-50%);
	}
}

.fre.hero figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fre.hero .h1,
.fre.hero .hero__lottie,
.fre.hero article,
.fre.hero .l-btn,
.fre.hero picture {
	position: relative;
	z-index: 1;
}

.fre.hero .h1 {
	padding-right: 2%;
	margin-bottom: 0;
	max-width: 49.25rem;
}

.fre.hero .h1:has(~ *) {
	margin-bottom: 0.3125rem;
}

@media screen and (min-width: 1199px) {

	.fre.hero .h1:has(~ *) {
		margin-bottom: 3rem;
	}
}

.fre.hero .h1 span {
	display: block;
}

.fre.hero .hero__lottie {
	aspect-ratio: 514 / 418;
	min-width: 31.5625rem;
	max-width: 31.5625rem;
	margin-left: auto;
	margin-bottom: 0.3125rem;
}

@media screen and (min-width: 1199px) {

	.fre.hero .hero__lottie {
		position: absolute;
		right: 0;
		bottom: -11.125rem;
		aspect-ratio: 700 / 568;
		max-width: 43.75rem;
	}
}

.fre.hero .hero__lottie svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.fre.hero article {
	margin-bottom: 2rem;
	max-width: 36.375rem;
}

@media screen and (min-width: 1199px) {

	.fre.hero article {
		margin-bottom: 2.5rem;
	}
}

.fre.hero article p,
.fre.hero article li {
	font-size: 1.25rem;
	line-height: 1.3;
	font-weight: 500;
	font-family: "Kanit", sans-serif;
}

@media screen and (min-width: 1199px) {

	.fre.hero article p,
	.fre.hero article li {
		font-size: 1.875rem;
	}
}

.fre.hero a.l-btn {
	padding: 0.5rem 3.25rem;
}

@media screen and (min-width: 1199px) {

	.fre.hero a.l-btn {
		padding: 0.5rem 3.625rem;
		font-size: 1.75rem;
		line-height: 1.5;
		border-radius: 0.75rem;
	}
}

.fre.hero.hero--plain {
	background-color: rgba(229, 252, 252, 0.5);
	padding: 1.5rem 0 1.25rem;
}

@media screen and (min-width: 1199px) {

	.fre.hero.hero--plain {
		padding: 5.625rem 0 16.25rem;
	}
}

.fre.hero.hero--plain:has(article) {
	padding: 1.5rem 0 4rem;
}

@media screen and (min-width: 1199px) {

	.fre.hero.hero--plain:has(article) {
		padding: 5.625rem 0 8.75rem;
	}
}

@media screen and (min-width: 1199px) {

	.fre.hero.hero--plain:has(article) .container::after {
		width: 90%;
		height: calc(100% + 276px);
	}

	.fre.hero.hero--plain:has(article) .container::before {
		height: calc(100% + 276px);
	}
}

.fre.hero.hero--plain:has(article) picture {
	margin-bottom: 2rem;
}

@media screen and (min-width: 1199px) {

	.fre.hero.hero--plain:has(article) picture {
		margin-bottom: 0;
		bottom: -11rem;
	}
}

@media screen and (min-width: 1199px) {

	.fre.hero.hero--plain .container::after {
		width: 86%;
		height: calc(100% + 400px);
		background-color: #f2fdfd;
	}

	.fre.hero.hero--plain .container::before {
		height: calc(100% + 400px);
		background-color: #f2fdfd;
	}
}

.fre.hero.hero--plain .h1 {
	margin-bottom: 2.1875rem;
}

@media screen and (min-width: 1199px) {

	.fre.hero.hero--plain .h1 {
		margin-bottom: 2.875rem;
	}
}

.fre.hero.hero--plain picture {
	aspect-ratio: 450 / 330;
	max-width: 28.125rem;
	min-width: 28.125rem;
	display: block;
	margin-bottom: 0;
	margin-left: auto;
}

@media screen and (min-width: 1199px) {

	.fre.hero.hero--plain picture {
		position: absolute;
		right: 0.125rem;
		bottom: -19.25rem;
		aspect-ratio: 600 / 440;
		max-width: 37.5rem;
	}
}

.fre.hero.hero--plain picture img {
	width: 100%;
	object-fit: contain;
}

.fre.hero.hero--plain article {
	margin: 0;
	max-width: 36.25rem;
}
