@charset "utf-8";

/* ==================================================
	공통 틀 CSS
================================================== */
.mcontents {
	position: relative;
	max-width: 100%;
	overflow-x: hidden;
}

/* ==================================================
	공통 사항
================================================== */
/* Overlay */
.main_overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/*background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 80%);*/
	background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 45%);
}

/* ==================================================
	메인 공통 섹션 헤더
================================================== */
.main-page-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.main-page-head__desc {
	margin: 0;
	font-size: 2.4rem;
	color: var(--color-gray4);
	font-weight: var(--font-lg);
	font-family: var(--font-GoogleSansFlex);
}

.main-page-head__title {
	font-size: 4.8rem;
	font-weight: var(--font-sb);
	color: var(--color-black);
}

@media screen and (max-width: 1024px) {

	.main-page-head__desc {
		font-size: 2rem;
	}

	.main-page-head__title {
		font-size: 3.6rem;
	}
}

@media screen and (max-width: 640px) {

	.main-page-head__desc {
		font-size: 1.6rem;
	}

	.main-page-head__title {
		font-size: 2.8rem;
	}
}


/* ==================================================
	메인비주얼
================================================== */
.hero-section {
	position: relative;
	padding: var(--header-hei) 0 0;
}

.hero-banner {
	position: relative;
	width: 100%;
	max-width: 100%;
	height: 72rem;
	overflow: hidden;
	margin: 0 auto;
}

.hero-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease-in-out, visibility 1s;
	z-index: 1;
}

.hero-slide.active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

/* 첫 로드: 깜빡임 없이 첫 슬라이드만 바로 노출(scale 1.05, 글씨 숨김) → 다음 프레임에 active로 애니 재생 */
.hero-slide.hero-initial {
	opacity: 1;
	visibility: visible;
	z-index: 2;
	transition: none;
}

.hero-bg-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.05);
	transition: transform 6s ease-out;
}

.hero-slide.active .hero-bg-img {
	transform: scale(1);
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 15%, rgba(0, 0, 0, 0.00) 80%);
}

.hero-text {
	position: relative;
	width: var(--px-base);
	z-index: 3;
	text-align: left;
	color: var(--color-white);
}

.hero-text .hero-text-line {
	display: block;
	opacity: 0;
	transform: translateY(2.4rem);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.active .hero-text .hero-text-line:nth-of-type(1) {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.3s;
}

.hero-slide.active .hero-text .hero-text-line:nth-of-type(2) {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.55s;
}

.hero-slide.active .hero-text p .hero-text-line:nth-of-type(1) {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.7s;
}

.hero-text h2 {
	font-family: var(--font-GoogleSansFlex);
	font-size: 6.5rem;
	font-weight: 800;
	line-height: 1.3;
	text-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);
}

.hero-text p {
	font-family: var(--font-GoogleSansFlex);
	font-size: 3.6rem;
	font-weight: 500;
	line-height: 1.3;
	text-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);
}

.hero-scroll {
	position: absolute;
	left: calc(var(--header-inner-padding) - 1rem);
	bottom: 0;
	transform: translateY(-50%);
	z-index: 10;
	width: 2rem;
	height: 34%;
	display: flex;
	flex-direction: column;
	align-items: center;
	pointer-events: none;
}

.hero-scroll .txt {
	margin-top: 4.4rem;
	font-size: var(--rem-16);
	font-weight: var(--font-md);
	color: var(--color-white);
	letter-spacing: 0;
	white-space: nowrap;
	line-height: 1;
	transform: rotate(90deg);
	transform-origin: center;
}

.hero-scroll::before,
.hero-scroll::after {
	content: "";
	position: absolute;
	display: block;
	width: 0.2rem;
	height: calc(100% - 10rem);
	top: 10.5rem;
	left: 50%;
	margin-top: 0;
}

.hero-scroll::before {
	transform: translateX(-50%);
	/* background: linear-gradient(180deg, #868e96 0%, #ffffff 100%); */
}

.hero-scroll::after {
	transform: translateX(-50%);
	background: linear-gradient(180deg,
			rgba(255, 255, 255, 0) 0%,
			rgba(255, 255, 255, 0) 30%,
			rgba(255, 255, 255, 0.95) 50%,
			rgba(255, 255, 255, 0) 70%,
			rgba(255, 255, 255, 0) 100%);
	background-size: 100% 300%;
	background-position: 0 0%;
	animation: heroScrollFlow 1.8s linear infinite;
	opacity: 1;
}

@keyframes heroScrollFlow {
	0% {
		transform: translateX(-50%);
		background-position: 0 100%;
	}

	100% {
		transform: translateX(-50%);
		background-position: 0 0%;
	}
}

/* Hero Controls */
.hero-slider-controls {
	position: absolute;
	bottom: 5rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 2rem;
	z-index: 10;
	background: rgba(0, 0, 0, 0.5);
	padding: 1rem 2.5rem;
	border-radius: 3rem;
	display: none;
}

.page-current,
.page-total {
	color: var(--color-white);
	font-size: 1.6rem;
	font-weight: var(--font-sb);
}

.progress-bar {
	width: 10rem;
	height: 0.2rem;
	background: rgba(255, 255, 255, 0.2);
	position: relative;
}

.progress-inner {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background: var(--color-white);
}

.arrow {
	cursor: pointer;
	display: flex;
	align-items: center;
}

/* ==================
	반응형CSS
=====================*/
@media screen and (max-width: 1600px) {
	.hero-banner {
		height: 64rem;
	}

	.hero-text {
		padding: 0 var(--rem-80);
	}

	.hero-text h2 {
		font-size: 5.6rem;
	}

	.hero-slider-controls {
		bottom: 4rem;
		padding: 0.9rem 2.2rem;
		gap: 1.8rem;
	}
}

@media screen and (max-width: 1024px) {
	.hero-banner {
		height: 50rem;
	}

	.hero-text {
		padding: 0 var(--rem-50);
	}

	.hero-text h2 {
		font-size: 5rem;
	}

	.hero-text p {
		font-size: 3rem;
	}

	.hero-slider-controls {
		bottom: 3rem;
		padding: 0.8rem 2rem;
		gap: 1.5rem;
		border-radius: 2.5rem;
	}

	.progress-bar {
		width: 8rem;
	}
}

@media screen and (max-width: 768px) {
	.hero-banner {
		height: 42rem;
	}

	.hero-text h2 {
		font-size: 3.6rem;
		line-height: 1.35;
	}

	.hero-text p {
		font-size: 2rem;
	}

	.hero-slider-controls {
		bottom: 2rem;
		padding: 0.6rem 1.5rem;
		gap: 1.2rem;
		border-radius: 2rem;
	}

	.page-current,
	.page-total {
		font-size: 1.4rem;
	}

	.progress-bar {
		width: 6rem;
	}
}

@media screen and (max-width: 640px) {
	.hero-banner {
		height: 36rem;
	}

	.hero-text {
		padding: 0 var(--rem-30);
	}

	.hero-text h2 {
		font-size: 2.4rem;
	}

	.hero-text p {
		font-size: 1.7rem;
	}

	.hero-slider-controls {
		bottom: 1.5rem;
		padding: 0.5rem 1.2rem;
		gap: 1rem;
	}
}


/* ==================================================
	Product Area
================================================== */
.product-section {
	position: relative;
	padding-top: 9rem;
}

.product-section .product-inner {
	position: relative;
	z-index: 1;
}

.product-section .product-stage {
	margin-top: var(--rem-40);
	position: relative;
	height: 63rem;
	width: 100%;
	overflow: hidden;
}

.product-section .product-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	opacity: 0;
	transition: opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity;
}

.product-section .product-img.is-visible {
	opacity: 1;
}

.product-section .product-stage-dim {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.42);
}

.product-section .product-list {
	position: relative;
	z-index: 1;
	height: 100%;
	width: 100%;
	display: flex;
}

.product-section .product-item {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-section .product-item:not(:last-child) {
	border-right: 1px solid rgba(255, 255, 255, 0.95);
}

.product-section .product-link {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-section .product-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: var(--color-white);
	padding: 0 2rem;
}

.product-section .product-name {
	margin: 0;
	font-size: 4.5rem;
	font-weight: var(--font-sb);
	letter-spacing: -0.02em;
}

.product-section .product-text {
	font-size: 2.4rem;
	font-weight: var(--font-lg);
	line-height: 1.1;
	opacity: 0.85;
}

/* ==================
	반응형CSS
=====================*/
@media screen and (max-width: 1600px) {

	.product-section .product-stage {
		height: 56rem;
	}

	.product-section .product-name {
		font-size: 4.1rem;
	}

	.product-section .product-text {
		font-size: 2.1rem;
	}
}

@media screen and (max-width: 1024px) {
	.product-section {
		padding-top: 8rem;
	}

	.product-section .product-stage {
		height: 48rem;
	}

	.product-section .product-name {
		font-size: 3.7rem;
	}

	.product-section .product-text {
		font-size: 1.95rem;
	}
}

@media screen and (max-width: 768px) {
	.product-section {
		padding-top: 6rem;
	}

	.product-section .product-stage {
		height: 38rem;
	}

	.product-section .product-list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 1fr;
	}

	.product-section .product-item {
		border-right: none;
		border-bottom: none;
	}

	.product-section .product-item:not(:nth-child(2n)) {
		border-right: 1px solid rgba(255, 255, 255, 0.95);
	}

	.product-section .product-item:not(:nth-last-child(-n + 2)) {
		border-bottom: 1px solid rgba(255, 255, 255, 0.95);
	}

	.product-section .product-name {
		font-size: 2.8rem;
	}

	.product-section .product-text {
		font-size: 1.6rem;
	}
}

@media screen and (max-width: 640px) {
	.product-section .product-stage {
		height: 32rem;
	}

	.product-section .product-name {
		font-size: 2.4rem;
	}

	.product-section .product-text {
		font-size: 1.4rem;
	}
}

/* ==================================================
	실적 영역 (Figma 41-570/41-575/41-601)
================================================== */
.result-section {
	padding: 11rem 0;
	background: linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 45%), #dbe3e8;
}

.result-inner {
	padding: 0 var(--header-inner-padding);
}

/* 호버 시 translateY 확보 + 세로클립 방지 (Slick 뷰포트 패딩 + 바깥 오버플로우 허용) */
.result-slider-outer {
	margin-top: 5rem;
	overflow: visible;
}

.result-slider-wrap {
	position: relative;
	overflow: visible;
}

/* slick.css(.slick-slider pan-y) 이후 로드 대비 — 가로 스와이프 */
.result-section .result-slider.slick-slider {
	touch-action: pan-x pinch-zoom !important;
}

.result-section .result-slider {
	--result-slide-gap: 3rem;
}

.result-slider:not(.slick-initialized) {
	display: flex;
	gap: var(--result-slide-gap);
	min-width: min-content;
	padding: 5.5rem 4rem 2rem;
	margin: -5.5rem 0 -2rem;
	box-sizing: border-box;
}

.result-slider:not(.slick-initialized) .result-card {
	flex: 0 0 calc((100% - (var(--result-slide-gap) * 4)) / 5);
	max-width: calc((100% - (var(--result-slide-gap) * 4)) / 5);
}

.result-section .result-slider.slick-slider .slick-list {
	overflow: hidden;
	padding: 5.5rem 4rem 2rem;
	margin: -5.5rem 0 -2rem;
	box-sizing: border-box;
}

.result-section .result-slider.slick-initialized .slick-slide {
	box-sizing: border-box;
	height: auto;
}

.result-section .result-slider.slick-initialized .slick-slide>div {
	height: 100%;
}

.result-section .result-slider.slick-initialized .result-card {
	box-sizing: border-box;
	width: calc(100% - var(--result-slide-gap));
	margin-right: var(--result-slide-gap);
}

.result-card {
	display: block;
	width: 100%;
	padding: 2rem;
	border-radius: 1.4rem;
	background: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	color: #1e1e1e;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.result-card.is-active,
.result-card:hover {
	background: #fff;
	transform: translateY(-5rem);
	box-shadow: 0 2.4rem 4.2rem rgba(0, 0, 0, 0.24);
}

.result-card-image-wrap {
	position: relative;
	width: 100%;
	padding-top: 67.857%;
	height: 0;
	border-radius: 1.4rem;
	overflow: hidden;
}

.result-card-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.result-card-title {
	margin: 2rem 0 1.2rem;
	font-size: 2.6rem;
	font-weight: var(--font-sb);
	line-height: 1.2;
	color: #1e1e1e;
}

.result-card-date {
	margin: 0;
	font-size: 1.6rem;
	font-weight: var(--font-rg);
	color: #868686;
}

.result-progress {
	position: relative;
	width: calc(100% - 8rem);
	margin: 2.2rem auto 0;
	height: 0.4rem;
}

.result-progress-track,
.result-progress-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
}

.result-progress-track {
	width: 100%;
	background: rgba(255, 255, 255, 0.4);
}

.result-progress-fill {
	width: 55%;
	background: #9ca7bf;
	transition: width 0.2s linear;
}

.result-slider-empty {
	margin: 0;
	padding: 4rem 0;
	text-align: center;
	font-size: 1.8rem;
	color: #868686;
}


@media screen and (max-width: 1024px) {
	.result-section {
		padding: 9rem 0;
	}

	.result-slider:not(.slick-initialized) {
		padding-top: 3rem;
		padding-bottom: 1.6rem;
		margin-top: -3rem;
		margin-bottom: -1.6rem;
	}

	.result-slider:not(.slick-initialized) .result-card {
		flex: 0 0 calc((100% - var(--result-slide-gap)) / 2);
		max-width: calc((100% - var(--result-slide-gap)) / 2);
	}

	.result-section .result-slider.slick-slider .slick-list {
		padding-top: 3rem;
		padding-bottom: 1.6rem;
		margin-top: -3rem;
		margin-bottom: -1.6rem;
	}

	.result-card.is-active,
	.result-card:hover {
		transform: translateY(-2.4rem);
	}

	.result-card-image-wrap {
		padding-top: 66.667%;
	}
}

@media screen and (max-width: 640px) {
	.result-section {
		padding: 7rem 0;
	}

	.result-section .result-slider:not(.slick-initialized) {
		padding: 2rem 0 1.2rem;
		margin: -2rem 0 -1.2rem;
	}

	.result-section .result-slider.slick-slider .slick-list {
		padding: 2rem 0 1.2rem;
		margin: -2rem 0 -1.2rem;
	}

	.result-section .result-slider {
		--result-slide-gap: 2rem;
	}

	.result-slider:not(.slick-initialized) .result-card {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.result-section .result-slider.slick-initialized .result-card {
		width: 100%;
		margin-right: 0;
	}

	.result-card.is-active,
	.result-card:hover {
		transform: translateY(0);
		box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
	}

	.result-card-title {
		font-size: 2.2rem;
	}

	.result-progress {
		width: 100%;
	}
}

/* ==================================================
	소개 (Figma 41-604) — flex / grid, absolute 미사용
================================================== */
.abu-section {
	color: var(--color-white);
	padding: 13rem var(--header-inner-padding);
	overflow: hidden;
	background-image: url('../../lib/images/main/company_bg.jpg');
	background-repeat: no-repeat, no-repeat;
	background-position: center, center;
	background-size: cover, cover;
}

.abu-inner {
	max-width: var(--px-base);
	margin: 0 auto;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 8rem;
}

/* 상단: 좌·가운데 구분선·우 (3열 그리드) */
.abu-top {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem 3rem;
}

.abu-top-heading p {
	margin: 0;
	font-size: 4.8rem;
	line-height: 1.5;
	font-weight: var(--font-bd);
	color: var(--color-white);
	word-break: keep-all;
}

.abu-top-divider {
	width: calc(100% - 85rem);
	height: 0.2rem;
	background: rgba(255, 255, 255, 0.92);
	align-self: center;
}

.abu-top-right {
	text-align: right;
}

.abu-top-right p {
	margin: 0;
	font-size: 3.6rem;
	line-height: 1.5;
	font-weight: var(--font-bd);
	color: var(--color-white);
	word-break: keep-all;
}

/* 하단: 3열 그리드 + 열 구분선 */
.abu-bottom {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	align-items: start;
}

.abu-bottom-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.4rem;
	min-width: 0;
	padding: 0 3rem;
}

.abu-bottom-col:first-child {
	padding-left: 0;
}

.abu-bottom-col:last-child {
	padding-right: 0;
}

.abu-bottom-col+.abu-bottom-col {
	border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.abu-bottom-text {
	max-width: 24rem;
	font-size: 2rem;
	font-weight: var(--font-sb);
	color: var(--color-white);
	word-break: keep-all;
}

.abu-btn-link {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	width: fit-content;
	max-width: 100%;
	padding: 1rem 3rem;
	border-radius: 3rem;
	border: 0.1rem solid rgba(255, 255, 255, 0.95);
	background: rgba(0, 0, 0, 0.25);
	color: var(--color-white);
	font-weight: var(--font-md);
}

.abu-btn-link:focus,
.abu-btn-link:focus-visible,
.abu-btn-link:active {
	outline: none;
	border-radius: 3rem;
}

.abu-btn-arrow img {
	width: 1.9rem;
	height: 1.2rem;
	display: block;
	filter: brightness(0) invert(1);
}

/* ==================
	반응형CSS
=====================*/
@media screen and (max-width: 1600px) {
	.abu-section {
		padding: 12rem var(--header-inner-padding);
	}

	.abu-top-heading p {
		font-size: 4.2rem;
	}

	.abu-top-right p {
		font-size: 3.2rem;
	}

	.abu-bottom-text {
		font-size: 1.85rem;
	}
}

@media screen and (max-width: 1024px) {
	.abu-section {
		padding: 10rem var(--header-inner-padding);
	}

	.abu-top {
		flex-wrap: wrap;
		gap: 2.4rem;
	}

	.abu-top-divider {
		width: calc(100% - 72rem);
	}

	.abu-top-right {
		text-align: left;
	}

	.abu-bottom {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.abu-bottom-col {
		padding: 0;
		border-left: 0;
	}

	.abu-bottom-col+.abu-bottom-col {
		border-left: 0;
		padding-top: 3rem;
		border-top: 1px solid rgba(255, 255, 255, 0.35);
	}
}

@media screen and (max-width: 768px) {
	.abu-section {
		padding: 8rem var(--header-inner-padding);
	}

	.abu-inner {
		gap: 6rem;
	}

	.abu-top-heading p {
		font-size: 3.2rem;
	}

	.abu-top-right p {
		font-size: 2.4rem;
	}

	.abu-top-divider {
		width: calc(100% - 60rem);
	}

	.abu-bottom-text {
		font-size: 1.65rem;
	}

	.abu-btn-link {
		padding: 1.2rem 2.4rem;
		font-size: 1.65rem;
	}
}

@media screen and (max-width: 640px) {
	.abu-section {
		padding: 4rem var(--header-inner-padding);
	}

	.abu-top-heading p {
		font-size: 2.6rem;
	}

	.abu-top-right p {
		font-size: 2rem;
	}

	.abu-bottom-text {
		font-size: 1.5rem;
	}

	.abu-btn-link {
		font-size: 1.5rem;
		padding: 1rem 2rem;
		width: 60%;
		justify-content: center;
	}
}

/* ==================================================
	스크롤 진입 reveal 애니메이션 (공통)
.reveal + data-animation + .is-visible, --reveal-delay
================================================== */
.reveal {
	opacity: 0;
	transition: opacity 0.75s ease-out, transform 0.75s ease-out;
	transition-delay: var(--reveal-delay, 0);
}

.reveal.is-visible {
	opacity: 1;
}

/* fade-up */
.reveal[data-animation="fade-up"] {
	transform: translateY(2.8rem);
}

.reveal.is-visible[data-animation="fade-up"] {
	transform: translateY(0);
}

/* slide-up (아래에서 위로) */
.reveal[data-animation="slide-up"] {
	transform: translateY(3.6rem);
}

.reveal.is-visible[data-animation="slide-up"] {
	transform: translateY(0);
}

/* slide-left (왼쪽에서 슬라이드 인) */
.reveal[data-animation="slide-left"] {
	transform: translateX(-3.2rem);
}

.reveal.is-visible[data-animation="slide-left"] {
	transform: translateX(0);
}

/* scale-in (살짝 확대 등장) */
.reveal[data-animation="scale-in"] {
	transform: scale(0.97);
}

.reveal.is-visible[data-animation="scale-in"] {
	transform: scale(1);
}

/* fade-in (opacity만) */
.reveal[data-animation="fade-in"] {
	transform: none;
}

.reveal.is-visible[data-animation="fade-in"] {
	opacity: 1;
}