@charset "utf-8";
/* ============================================================
   성우표준기술연구원 홈페이지 공통 스타일 (헤더 / 푸터 / 디자인 토큰)
   - style.css, setting.css 뒤에 로드되어 신규 시안 스타일을 적용한다.
   - 신규 마크업은 모두 .sw- 접두사를 사용하므로 기존 서브페이지
     (setting.css 기반) 스타일과 충돌하지 않는다.
   ============================================================ */

:root {
	--sw-blue: #2073eb;
	--sw-blue-d: #1b4aa6;
	--sw-blue-l: #4693ff;
	--sw-blue-pale: #9abef8;
	--sw-navy: #252855;
	--sw-ink: #111827;
	--sw-txt: #3f4756;
	--sw-mute: #8b93a1;
	--sw-line: #e5e7eb;
	--sw-bg: #f7f7f7;
	--sw-panel: #f3f8fb;

	--sw-header-h: 9rem;
	--sw-outer: 4.8rem;
	--sw-radius: 1.2rem;
	--sw-radius-l: 2.4rem;
}

/* ------------------------------------------------------------
   레거시 리셋
   setting.css 는 header / nav / footer 를 태그 선택자로 직접 스타일링한다
   (이전 버전 마크업 전용). 신규 .sw- 마크업에 새어 들어오는 값만
   여기서 되돌린다. 서브페이지의 기존 스타일에는 영향을 주지 않는다.
   ------------------------------------------------------------ */
header.sw-header,
nav.sw-gnb,
footer.sw-footer,
.sw-header *,
.sw-sitemap *,
.sw-footer *,
.sw-partners *,
.sw-scroll * {
	box-sizing: border-box;
}

header.sw-header {
	height: auto;
	text-align: left;
	background-color: #fff;
	border-bottom: 0;
}

header.sw-header:hover {
	background-color: #fff;
	border-bottom: 0;
}

/* setting.css 의 header a { font-size:2rem; color:#fff } 만 되돌린다.
   ※ header:hover a 까지 함께 되돌리면 마우스 오버 시 font-size 가 inherit(=10px)로
     떨어져 GNB / 버튼 글자가 작아진다. hover 상태의 색상은 아래 컴포넌트 규칙에
     .sw-header 접두사를 붙여 우선순위로 덮어쓴다. */
header.sw-header a {
	position: static;
	color: inherit;
	font-size: inherit;
	text-align: left;
}

nav.sw-gnb,
nav.sw-sub-nav {
	position: static;
	bottom: auto;
	width: auto;
	height: auto;
}

nav.sw-gnb ul,
nav.sw-sub-nav ul,
nav.sw-sub-nav ol {
	width: auto;
	height: auto;
	float: none;
}

nav.sw-gnb li,
nav.sw-sub-nav li {
	float: none;
	height: auto;
	font-size: inherit;
	font-weight: inherit;
	line-height: normal;
}

nav.sw-gnb li:first-child a {
	padding: 0;
}

/* setting.css 는 1040px 이하에서 header 를 숨기고 별도의 .header(모바일 전용)를
   노출시켰다. 신규 헤더는 하나로 반응형 대응하므로 다시 살린다. */
@media screen and (max-width: 1040px) {
	header.sw-header {
		display: block;
	}
}

footer.sw-footer {
	background-color: var(--sw-bg);
}

footer.sw-footer a {
	color: inherit;
}

footer.sw-footer ul li a,
footer.sw-footer ul li:last-child a {
	padding: 0;
	border-right: 0;
}

/* 신규 섹션 전체에 border-box 적용 (style.css 에 전역 설정이 없다) */
.sw-container,
.sw-wide,
.sw-container *:not([class*="swiper"]):not([class*="fp-"]),
.sw-wide *:not([class*="swiper"]):not([class*="fp-"]) {
	box-sizing: border-box;
}

/* ---------- base ---------- */
body {
	color: var(--sw-ink);
	background: #fff;
	letter-spacing: -0.02em;
}

.sw-container {
	width: 100%;
	/* 좌우 패딩 8rem 을 제외한 실제 콘텐츠 폭이 시안 기준(1920 에서 1560px) 이 되도록 한다 */
	max-width: 172rem;
	margin: 0 auto;
	/* 좌측 fullpage 도트 네비게이션과 겹치지 않도록 여백을 확보한다 */
	padding: 0 8rem;
}

.sw-wide {
	width: 100%;
	padding: 0 var(--sw-outer);
}

.sw-label {
	display: block;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--sw-blue);
	margin-bottom: 1.2rem;
}

.sw-h2 {
	font-size: 4.4rem;
	line-height: 1.3;
	font-weight: 700;
	color: var(--sw-ink);
}

.sw-desc {
	margin-top: 2.8rem;
	font-size: 1.7rem;
	line-height: 1.75;
	color: var(--sw-txt);
}

/* 더보기 (전체보기 +) */
.sw-more {
	display: inline-flex;
	align-items: center;
	gap: 1.2rem;
	height: 4.4rem;
	padding: 0 2.2rem;
	border: 1px solid #d5d9e0;
	border-radius: 999px;
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--sw-ink);
	background: #fff;
	transition: 0.25s;
}

.sw-more:hover {
	border-color: var(--sw-blue);
	color: var(--sw-blue);
}

/* 원형 화살표 버튼 */
.sw-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.4rem;
	height: 4.4rem;
	border: 1px solid #d5d9e0;
	border-radius: 50%;
	background: #fff;
	color: var(--sw-ink);
	font-size: 1.6rem;
	transition: 0.25s;
}

.sw-arrow:hover {
	background: var(--sw-ink);
	border-color: var(--sw-ink);
	color: #fff;
}

.sw-arrow.is-disabled {
	color: #c9ced7;
	cursor: default;
}

.sw-arrow.is-disabled:hover {
	background: #fff;
	border-color: #d5d9e0;
	color: #c9ced7;
}

/* ============================================================
   헤더
   ============================================================ */
.sw-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 200;
	width: 100%;
	background: #fff;
	transition: box-shadow 0.3s;
}

.sw-header.is-scrolled {
	box-shadow: 0 2px 16px rgba(17, 24, 39, 0.07);
}

.sw-header-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	height: var(--sw-header-h);
	padding: 0 var(--sw-outer);
	background: #fff;
}

.sw-logo {
	flex: 0 0 auto;
}

.sw-logo img {
	height: 3.4rem;
	width: auto;
}

/* GNB */
.sw-gnb {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	/* 2depth 를 세로로 쌓기 때문에 nav 는 헤더 높이만큼만 차지하고
	   넘치는 2depth 는 헤더 아래(흰 패널 위)로 흘러넘치게 둔다 */
	align-self: stretch;
	align-items: flex-start;
}

.sw-gnb-list {
	/* 1depth 를 첫 줄, 2depth 를 둘째 줄에 두는 2행 그리드.
	   모든 컬럼을 1fr 로 두면 가장 넓은 컬럼에 맞춰 균등한 간격이 된다. */
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	grid-template-rows: auto auto;
	width: max-content;
	column-gap: 0;
	row-gap: 0;
	/* 닫혀 있을 때 2depth 자리(헤더 아래 영역)가 마우스를 가로채
	   메뉴 아래쪽만 스쳐도 메가메뉴가 열리는 것을 막는다 */
	pointer-events: none;
}

/* 1depth 링크는 항상, 2depth 는 메뉴가 열렸을 때만 마우스를 받는다 */
.sw-header .sw-gnb-list > li > a,
.sw-header.is-menu-open .sw-gnb-list {
	pointer-events: auto;
}

/* 1depth 와 그 2depth 를 하나의 세로 컬럼으로 묶는다.
   컬럼 너비가 둘 중 넓은 쪽에 맞춰지므로 옆 컬럼과 절대 겹치지 않는다.
   (기존에는 2depth 를 position:absolute 로 띄워 1depth 간격보다 넓어지면 겹쳤다) */
.sw-header .sw-gnb-list > li {
	/* li 상자를 없애 1depth 링크와 2depth 목록을 그리드 셀로 직접 배치한다 */
	display: contents;
}

.sw-header .sw-gnb-list > li > a {
	display: block;
	line-height: var(--sw-header-h);
	font-size: 1.8rem;
	font-weight: 500;
	color: #212529;
	text-align: center;
	position: relative;
}

.sw-header .sw-gnb-list > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 3px;
	background: var(--sw-blue);
	transition: width 0.25s;
}

.sw-header .sw-gnb-list > li:hover > a,
.sw-header .sw-gnb-list > li.is-active > a {
	color: var(--sw-blue);
	font-weight: 700;
}

.sw-header .sw-gnb-list > li:hover > a::after,
.sw-header .sw-gnb-list > li.is-active > a::after {
	width: 100%;
}

/* 2depth (메가메뉴) - 1depth 아래에 그대로 쌓이므로 top/left 지정이 필요 없다 */
.sw-gnb-sub {
	padding: 1rem 5.2rem;
	text-align: center;
	/* 메뉴별 세로 구분선 (컬럼이 맞붙어 있어 선이 한 줄로 보인다) - dytmi @color_lightgray */
	border-right: 1px solid #eaedef;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.6rem);
	transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.sw-header.is-menu-open .sw-gnb-sub {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.sw-header .sw-gnb-list > li:first-child .sw-gnb-sub {
	border-left: 1px solid #eaedef;
}

.sw-header .sw-gnb-sub a {
	display: block;
	white-space: nowrap;
	line-height: 4.5rem;
	font-size: 1.6rem;
	text-align: center;
	color: #495059;
	transition: 0.2s;
}

.sw-header .sw-gnb-sub a:hover {
	color: var(--sw-blue);
	font-weight: 600;
}

.sw-gnb-bg {
	position: absolute;
	top: var(--sw-header-h);
	left: 0;
	width: 100%;
	height: 0;
	background: #fff;
	border-top: 1px solid var(--sw-line);
	box-shadow: 0 12px 24px rgba(17, 24, 39, 0.06);
	overflow: hidden;
	z-index: 1;
	transition: height 0.25s;
}

/* 높이는 sw_common.js 가 가장 긴 2depth 기준으로 --sw-mega-h 에 넣어준다 */
.sw-header.is-menu-open .sw-gnb-bg {
	height: var(--sw-mega-h, 23rem);
}

/* 우측 유틸 */
.sw-util {
	flex: 0 0 auto;
	/* GNB 가 숨겨지는 모바일에서도 우측 정렬을 유지한다 */
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 2rem;
}

.sw-header .sw-btn-apply {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	height: 4.8rem;
	padding: 0 2.4rem;
	border: 1px solid #cfe0fb;
	border-radius: 999px;
	background: #fff;
	font-size: 1.7rem;
	font-weight: 600;
	color: var(--sw-blue);
	transition: 0.25s;
}

/* 버튼 안 아이콘도 글자 크기에 맞춰 키운다 */
.sw-header .sw-btn-apply i {
	font-size: 1.9rem;
}

.sw-header .sw-btn-apply:hover {
	background: var(--sw-blue);
	border-color: var(--sw-blue);
	color: #fff;
}

.sw-header .sw-util-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.6rem;
	height: 3.6rem;
	font-size: 2.6rem;
	color: var(--sw-ink);
	background: none;
	border: 0;
	cursor: pointer;
}

/* 햄버거 */
.sw-header .sw-burger {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	width: 3.6rem;
}

/* 3줄 모두 같은 길이 · 같은 정렬 (마지막 줄만 짧아 어긋나 보이던 문제) */
.sw-header .sw-burger span {
	display: block;
	width: 2.8rem;
	height: 2px;
	background: var(--sw-ink);
	transition: 0.3s;
}

.sw-header .sw-burger.is-open span:first-child {
	transform: translateY(0.9rem) rotate(45deg);
}

.sw-header .sw-burger.is-open span:nth-child(2) {
	opacity: 0;
}

.sw-header .sw-burger.is-open span:last-child {
	transform: translateY(-0.9rem) rotate(-45deg);
}

/* 서브페이지용 헤더 여백 */
.sw-header-spacer {
	height: var(--sw-header-h);
}

/* ============================================================
   사이트맵 오버레이
   ============================================================ */
.sw-sitemap {
	position: fixed;
	inset: 0;
	z-index: 190;
	background: #fff;
	padding: calc(var(--sw-header-h) + 6rem) var(--sw-outer) 6rem;
	opacity: 0;
	visibility: hidden;
	transition: 0.35s;
	overflow-y: auto;
}

.sw-sitemap.is-open {
	opacity: 1;
	visibility: visible;
}

.sw-sitemap h2 {
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: var(--sw-blue);
	margin-bottom: 4rem;
}

.sw-sitemap-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4rem;
	max-width: 156rem;
	margin: 0 auto;
}

.sw-sitemap-list > li > strong {
	display: block;
	font-size: 2.4rem;
	font-weight: 700;
	padding-bottom: 2rem;
	border-bottom: 2px solid var(--sw-ink);
	margin-bottom: 2rem;
}

.sw-sitemap-list ul li + li {
	margin-top: 1.6rem;
}

.sw-sitemap-list ul a {
	font-size: 1.6rem;
	color: #5b6472;
}

.sw-sitemap-list ul a:hover {
	color: var(--sw-blue);
}

/* ============================================================
   좌측 고정 UI (SCROLL DOWN)
   ============================================================ */
.sw-scroll {
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 90;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.2rem;
	width: 7.6rem;
	padding: 3rem 0 3.4rem;
	background: #fff;
	border-radius: 0 var(--sw-radius-l) 0 0;
	pointer-events: none;
}

.sw-scroll span {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--sw-ink);
}

.sw-scroll i {
	display: block;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #b9c0cb;
	animation: swScroll 1.4s infinite;
}

.sw-scroll i:nth-of-type(2) {
	animation-delay: 0.2s;
}

@keyframes swScroll {
	0%, 100% { opacity: 0.25; }
	50% { opacity: 1; }
}

/* fullpage 좌측 도트 네비게이션 */
#fp-nav.right,
#fp-nav.left {
	left: 3.2rem !important;
	right: auto !important;
}

#fp-nav ul li,
.fp-slidesNav ul li {
	width: 1.4rem;
	height: 1.8rem;
	margin: 0;
}

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
	width: 5px;
	height: 5px;
	margin: -2px 0 0 -2px;
	background: #c2c8d2;
	transition: 0.25s;
}

#fp-nav ul li a.active span,
#fp-nav ul li:hover a.active span {
	width: 7px;
	height: 7px;
	margin: -3px 0 0 -3px;
	background: var(--sw-ink);
}

#fp-nav ul li .fp-tooltip {
	font-size: 1.2rem;
	color: var(--sw-ink);
}

/* ============================================================
   푸터
   ============================================================ */
.sw-partners {
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 4rem;
	max-width: 132rem;
	margin: 0 auto;
	padding: 4.4rem 2.4rem;
}

.sw-partners img {
	height: 4rem;
	width: auto;
	object-fit: contain;
	filter: grayscale(0.1);
}

.sw-footer {
	background: var(--sw-bg);
	border-top: 1px solid #ececec;
	padding: 4rem 0 5rem;
}

.sw-foot-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 3.2rem;
}

.sw-foot-links {
	display: flex;
	gap: 3.2rem;
}

.sw-foot-links a {
	font-size: 1.5rem;
	color: #4b5563;
}

.sw-foot-links a:hover {
	color: var(--sw-blue);
}

.sw-foot-links .is-point a {
	color: var(--sw-blue);
	font-weight: 600;
}

.sw-top-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	width: 9.6rem;
	height: 4.4rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #e3e3e3;
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--sw-ink);
	cursor: pointer;
}

.sw-top-btn:hover {
	border-color: var(--sw-ink);
}

.sw-foot-info {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 40rem));
	gap: 1.4rem 8rem;
	padding-bottom: 3.6rem;
}

.sw-foot-info div {
	display: flex;
	gap: 2.4rem;
	font-size: 1.5rem;
}

/* 주소처럼 긴 항목은 두 칸을 모두 사용한다 */
.sw-foot-info .is-full {
	grid-column: 1 / -1;
}

.sw-foot-info dt {
	flex: 0 0 8rem;
	color: var(--sw-mute);
}

.sw-foot-info dd {
	color: #3f4756;
}

.sw-foot-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 2.8rem;
	border-top: 1px solid #e6e6e6;
}

.sw-copy {
	font-size: 1.4rem;
	color: #6b7280;
}

.sw-copy b {
	color: var(--sw-blue);
	font-weight: 600;
}

.sw-foot-etc {
	display: flex;
	gap: 3.2rem;
}

.sw-foot-etc a {
	font-size: 1.4rem;
	color: #6b7280;
}

.sw-foot-etc a:hover {
	color: var(--sw-ink);
}

/* ============================================================
   반응형
   ============================================================ */
@media screen and (max-width: 1600px) {
	:root {
		--sw-outer: 3.2rem;
	}

	.sw-gnb-sub {
		padding-left: 3.2rem;
		padding-right: 3.2rem;
	}
}

@media screen and (max-width: 1280px) {
	.sw-container {
		padding: 0 3.2rem;
	}

	/* 로고 · 우측 버튼과 붙지 않도록 컬럼 좌우 여백을 더 줄인다 */
	.sw-gnb-sub {
		padding-left: 1.6rem;
		padding-right: 1.6rem;
	}

	/* 좌측 도트/스크롤 인디케이터는 컨테이너 여백이 좁아지는 시점부터 숨긴다 */
	.sw-scroll,
	#fp-nav {
		display: none !important;
	}

	.sw-sitemap-list {
		grid-template-columns: repeat(2, 1fr);
	}

	.sw-partners {
		flex-wrap: wrap;
		justify-content: center;
		gap: 3rem 5rem;
	}
}

@media screen and (max-width: 1024px) {
	.sw-gnb {
		display: none !important;
	}
}

@media screen and (max-width: 768px) {
	.sw-container {
		padding: 0 2rem;
	}

	:root {
		--sw-header-h: 6.4rem;
		--sw-outer: 2rem;
	}

	.sw-logo img {
		height: 2.8rem;
	}

	.sw-header .sw-btn-apply span {
		display: none;
	}

	.sw-header .sw-btn-apply {
		width: 4.4rem;
		height: 4.4rem;
		padding: 0;
		justify-content: center;
	}

	.sw-h2 {
		font-size: 2.8rem;
	}

	.sw-desc {
		font-size: 1.5rem;
		margin-top: 2rem;
	}

	.sw-sitemap-list {
		grid-template-columns: 1fr;
		gap: 2.4rem;
	}

	.sw-sitemap-list > li > strong {
		font-size: 2rem;
		padding-bottom: 1.4rem;
		margin-bottom: 1.4rem;
	}

	.sw-foot-info {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.sw-foot-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.6rem;
	}

	.sw-partners img {
		height: 3rem;
	}
}
