@charset "utf-8";

/* ============================== 토큰 */
:root {
	--rc-navy: #1e3a5f;
	--rc-navy-deep: #14283f;
	--rc-blue: #2f6fb5;
	--rc-text: #1f2937;
	--rc-muted: #6b7280;
	--rc-light: #9aa4b2;
	--rc-line: #e5e9ef;
	--rc-bg: #ffffff;
	--rc-bg-gray: #f4f7fb;
	--rc-chip: #f2f5f9;
	--rc-max: 1280px;
	--rc-pad: 24px;
}

.content-wrapper {
	margin-bottom: 0 !important;
}

html {
	scroll-behavior: smooth;
}

/* ============================== 공통 레이아웃 */
.rc-head,
.rc-section {
	font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
	color: var(--rc-text);
	background: var(--rc-bg);
}

.rc-inner {
	max-width: var(--rc-max);
	margin: 0 auto;
	padding: 0 var(--rc-pad);
}

.rc-section {
	padding: 100px 0;
	scroll-margin-top: 90px;
}

.rc-section--gray {
	background: var(--rc-bg-gray);
}

/* ============================== 페이지 헤더 + 탭 */
.rc-head {
	padding: 64px 0 0;
}

.rc-head__title {
	margin: 0 0 26px;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #1f2329;
}

.rc-tabs {
	display: flex;
	gap: 34px;
	border-bottom: 1px solid #e3e6ea;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.rc-tabs::-webkit-scrollbar {
	display: none;
}

.rc-tab {
	position: relative;
	flex: none;
	padding: 0 2px 12px;
	font-size: 15px;
	font-weight: 500;
	color: var(--rc-light);
	white-space: nowrap;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.rc-tab:hover {
	color: #1f2329;
}

.rc-tab::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: #1f2329;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.rc-tab.is-active {
	color: #1f2329;
	font-weight: 700;
}

.rc-tab.is-active::after {
	opacity: 1;
}

/* ============================== 임직원 인터뷰 슬라이드 */
.rc-people {
	margin-top: 44px;
	font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
	overflow: hidden;
}

.rc-people__slider {
	overflow: visible;
}

/* 가운데 카드 1장이 화면 대부분을 차지하고 양옆 카드는 끝만 보인다 (slidesPerView: auto) */
.rc-person {
	position: relative;
	width: min(62vw, 1060px);
	aspect-ratio: 2 / 1;
	border-radius: 8px;
	overflow: hidden;
	background: #1f2933;
}

.rc-person__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 왼쪽 글자가 잘 읽히도록 왼쪽을 어둡게 */
.rc-person::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.32) 45%, rgba(0, 0, 0, 0.08) 80%);
	pointer-events: none;
}

.rc-person__body {
	position: absolute;
	left: 6%;
	right: 6%;
	bottom: 10%;
	z-index: 1;
	color: #fff;
}

.rc-person__meta {
	display: flex;
	align-items: center;
	margin: 0;
	font-size: clamp(13px, 1.05vw, 16px);
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.9);
}

.rc-person__meta span + span::before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 0.85em;
	margin: 0 0.7em;
	vertical-align: -1px;
	background: rgba(255, 255, 255, 0.7);
}

.rc-person__title {
	margin: 0.5em 0 0.9em;
	font-size: clamp(20px, 2vw, 30px);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.02em;
	color: #fff;
	word-break: keep-all;
}

.rc-person__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0.6em 1.3em;
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 999px;
	font-size: clamp(13px, 0.95vw, 15px);
	line-height: 1.4;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

a.rc-person__more:hover,
a.rc-person__more:focus-visible {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

/* ============================== 섹션 타이틀 */
.rc-title {
	margin: 0 0 16px;
	font-size: 36px;
	font-weight: 600;
	letter-spacing: -0.03em;
	color: #111827;
}

.rc-desc {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--rc-muted);
	word-break: keep-all;
}

/* ============================== 인재상 */
.rc-talent {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 40px;
}

.rc-talent__card {
	position: relative;
	padding: 40px 36px 44px;
	background: var(--rc-bg);
	border: 1px solid var(--rc-line);
	border-radius: 8px;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.rc-talent__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(20, 40, 63, 0.07);
}

.rc-talent__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 40px;
	background: var(--rc-chip);
	border-radius: 10px;
}

.rc-talent__icon img {
	width: 28px;
	height: 28px;
}

.rc-talent__name {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--rc-navy-deep);
}

.rc-talent__desc {
	margin: 0;
	font-size: 17px;
	line-height: 1.7;
	color: var(--rc-muted);
	word-break: keep-all;
}

/* ============================== 복리후생 */
.rc-benefit {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-top: 40px;
}

/* 같은 줄의 카드끼리 높이를 맞춘다 */
.rc-benefit__card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 32px 30px 34px;
	background: var(--rc-bg);
	border-radius: 12px;
	overflow: hidden;
}

.rc-benefit__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.rc-benefit__title {
	margin: 0;
	font-size: 21px;
	font-weight: 700;
	color: var(--rc-navy-deep);
}

.rc-benefit__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	color: var(--rc-blue);
	background: #e9f1fb;
	border-radius: 8px;
}

.rc-benefit__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rc-benefit__list li {
	padding: 20px 22px;
	background: #f7f9fc;
	border-radius: 8px;
}

.rc-benefit__list strong {
	display: block;
	margin-bottom: 8px;
	font-size: 17px;
	font-weight: 700;
	color: var(--rc-navy-deep);
}

.rc-benefit__list p {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--rc-muted);
	word-break: keep-all;
}

/* ============================== 채용절차 (2026-11-11 원형 디자인)
   큰 원 안에 단계명·설명을 넣고, 원 사이는 회색 선으로만 잇는다(중간 점 없음).
   원 테두리의 남색 호는 단계마다 늘어난다: --p = 단계 순서 / (단계 수 - 1), 0 → 1.
   12시 방향에서 시계 방향으로 그려지며 recruit.js 가 지나간 단계(is-passed)부터 차례로 채운다. */
@property --rc-arc {
	syntax: '<number>';
	inherits: true;
	initial-value: 0;
}

.rc-steps {
	--rc-step-gap: 36px;
	--rc-circle-max: 200px;
	--rc-ring: 4px;
	--rc-ring-gray: #d4d6da;
	--rc-ring-navy: #0f2d69;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	column-gap: var(--rc-step-gap);
	row-gap: 32px;
	margin: 72px 0 0;
	padding: 0;
	list-style: none;
}

.rc-step {
	position: relative;
	min-width: 0;
}

/* 원과 다음 원 사이를 잇는 회색 선 (칸이 원보다 넓어도 원 테두리끼리 닿게 계산) */
.rc-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(50% + min(50%, var(--rc-circle-max) / 2));
	width: calc(var(--rc-step-gap) + 100% - min(100%, var(--rc-circle-max)));
	height: 2px;
	margin-top: -1px;
	background: #e1e3e7;
}

.rc-step__circle {
	--rc-arc: var(--p, 0);
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: var(--rc-circle-max);
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	padding: 0 12%;
	text-align: center;
	border-radius: 50%;
	background: var(--rc-bg);
	transition: --rc-arc 0.9s ease-out;
}

/* 회색 바탕 테두리 */
.rc-step__circle::before,
.rc-step__circle::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	pointer-events: none;
}

.rc-step__circle::before {
	border: var(--rc-ring) solid var(--rc-ring-gray);
}

/* 남색 진행 호: 원뿔 그라데이션을 테두리 두께만 남기고 가린다 */
.rc-step__circle::after {
	background: conic-gradient(var(--rc-ring-navy) calc(var(--rc-arc) * 360deg), transparent 0);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--rc-ring) - 0.5px), #000 calc(100% - var(--rc-ring)));
	mask: radial-gradient(farthest-side, transparent calc(100% - var(--rc-ring) - 0.5px), #000 calc(100% - var(--rc-ring)));
}

/* 스크립트가 준비되면 지나가기 전 단계의 호를 비워 두었다가 차례로 채운다 */
.rc-steps.rc-anim .rc-step:not(.is-passed) .rc-step__circle {
	--rc-arc: 0;
}

.rc-step__name {
	margin-bottom: 10px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	color: #111827;
	white-space: nowrap;
	letter-spacing: -0.02em;
}

.rc-step__desc {
	font-size: 14px;
	line-height: 1.6;
	color: #4b5563;
	word-break: keep-all;
}

/* ============================== 반응형 */
/* 6개가 한 줄일 때 원이 작아지는 폭에서는 간격과 글자를 줄인다 */
@media (max-width: 1200px) {
	.rc-steps {
		--rc-step-gap: 22px;
	}

	.rc-step__name {
		font-size: 16px;
	}

	.rc-step__desc {
		font-size: 13px;
	}
}

/* 3개씩 두 줄: 줄 끝(3번째) 원 뒤의 선은 지운다 */
@media (max-width: 900px) {
	.rc-benefit {
		grid-template-columns: 1fr;
	}

	.rc-steps {
		--rc-step-gap: 32px;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rc-step:nth-child(3n)::after {
		display: none;
	}

	.rc-step__name {
		font-size: 18px;
	}

	.rc-step__desc {
		font-size: 14px;
	}
}

@media (max-width: 768px) {
	:root {
		--rc-pad: 16px;
	}

	.rc-head {
		padding-top: 40px;
	}

	.rc-people {
		margin-top: 28px;
	}

	.rc-person {
		width: 84vw;
		aspect-ratio: 714 / 456;
	}

	.rc-person__body {
		left: 20px;
		right: 20px;
		bottom: 22px;
	}

	.rc-person__title {
		font-size: 18px;
	}

	.rc-section {
		padding: 60px 0;
	}

	.rc-title {
		font-size: 24px;
	}

	.rc-talent {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-top: 28px;
	}

	.rc-talent__card {
		padding: 30px 26px 32px;
	}


	.rc-talent__icon {
		margin-bottom: 26px;
	}

	.rc-talent__name {
		font-size: 20px;
	}

	.rc-talent__desc {
		font-size: 16px;
	}

	.rc-benefit {
		gap: 16px;
		margin-top: 28px;
	}

	.rc-benefit__card {
		padding: 26px 22px 28px;
	}

	.rc-benefit__title {
		font-size: 20px;
	}

	.rc-benefit__list li {
		padding: 16px 18px;
	}

	.rc-benefit__list strong {
		font-size: 16px;
	}

	/* 2개씩 세 줄: 줄 끝(짝수 번째) 원 뒤의 선은 지운다 */
	.rc-steps {
		--rc-step-gap: 20px;
		--rc-circle-max: 170px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 24px;
		margin-top: 44px;
	}

	.rc-step:nth-child(3n)::after {
		display: block;
	}

	.rc-step:nth-child(2n)::after {
		display: none;
	}

	.rc-desc {
		font-size: 16px;
	}

	.rc-step__name {
		font-size: 17px;
	}

	.rc-step__desc {
		font-size: 14px;
	}

}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.rc-talent__card {
		transition: none;
	}
}

/* ============================== 노트북 폭 보정 (2026-11-05 추가)
   Windows 배율 125~150% 노트북은 화면을 가로 약 1,265~1,536px 로 인식해 확대돼 보인다.
   이 폭에서만 제목·슬라이드·인재상 카드를 한 단계 줄인다. 되돌리려면 이 블록만 지우면 된다. */
@media (min-width: 769px) and (max-width: 1440px) {
	.rc-section {
		padding: 80px 0;
	}

	.rc-title {
		font-size: 30px;
	}

	.rc-people {
		margin-top: 36px;
	}

	.rc-person {
		width: 56vw;
	}

	.rc-person__meta {
		font-size: 14px;
	}

	.rc-person__title {
		font-size: 21px;
	}

	.rc-person__more {
		font-size: 14px;
	}

	.rc-talent {
		margin-top: 32px;
	}

	.rc-talent__card {
		padding: 32px 28px 34px;
	}


	.rc-talent__icon {
		width: 48px;
		height: 48px;
		margin-bottom: 30px;
	}

	.rc-talent__icon img {
		width: 24px;
		height: 24px;
	}

	.rc-talent__name {
		font-size: 20px;
	}

	.rc-talent__desc {
		font-size: 16px;
	}
}
