﻿:root {
	--navy: #0c1424;
	--navy-2: #141c30;
	--ink: #1a2236;
	--muted: #6d7588;
	--line: #e7ebf2;
	--paper: #f6f8fb;
	--white: #fff;
	--blue: #3b6dff;
	--blue-2: #5b7cff;
	--violet: #6a5bff;
	--shadow: 0 18px 50px rgba(18, 32, 64, 0.08);
	--radius: 28px;
	--header-h: 86px;
	--wrap: 100%;
	--page-pad: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; border: 0; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
ul, ol { list-style: none; }
body {
	font-family: "SCoreDream", Pretendard, "Apple SD Gothic Neo", sans-serif;
	font-weight: 400;
	color: var(--ink);
	background: var(--white);
	line-height: 1.5;
	overflow-x: hidden;
}
.skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 12px 18px;
	background: var(--navy);
	color: #fff;
	font-weight: 600;
}
.skip:focus { left: 16px; top: 16px; }
.sr-only, .screen_out {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.wrap {
	width: 100%;
	padding: 0 var(--page-pad);
	margin: 0 auto;
}

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 50px; padding: 0 35px; border-radius: 999px;
	font-size: 16px; font-weight: 600; white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--line {
	background: var(--white);
	color: var(--navy);
	border: 1px solid #d5dbe6;
}
.btn--gradient {
	color: #fff;
	background: linear-gradient(90deg, #3aa8ff 0%, #6a6bff 48%, #6a6bff 100%);
	box-shadow: 0 10px 28px rgba(74, 110, 255, .28);
}
.btn--gradient:hover { box-shadow: 0 14px 32px rgba(74, 110, 255, .36); }
.btn--ghost {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,.85);
}

/* Header / GNB */
.header {
	position: sticky; top: 0; z-index: 40;
	height: var(--header-h);
	background: rgba(255,255,255);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(16, 24, 40, .04);
}
.header.is-scrolled {
	box-shadow: 0 8px 24px rgba(18, 32, 64, .06);
}
.header__inner {
	height: 100%;
	width: 100%;
	padding: 0 var(--page-pad);
	margin: 0 auto;
	display: flex; align-items: center; gap: 40px;
}
.logo { flex: 0 0 auto; }
.logo img { height: 50px; width: auto; }

.gnb { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.gnb__list { display: flex; align-items: center; gap: 4px; }
.gnb__item { position: relative; }
.gnb__link {
	display: flex; align-items: center;
	height: 46px; padding: 0 18px;
	font-size: 22px; font-weight: 500; letter-spacing: -.02em;
	white-space: nowrap;
}
.gnb__item:hover .gnb__link,
.gnb__item:focus-within .gnb__link { color: #111; }
.gnb__sub {
	position: absolute;
	left: 50%;
	top: calc(100% + 7px);
	transform: translateX(-50%) translateY(6px);
	z-index: 30;
	min-width: 240px;
	text-align: center;
	padding: 10px;
	background: var(--white);
	border-radius: 16px;
	box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
/* 1뎁스 → 하위메뉴 이동 시 호버 끊김 방지 */
.gnb__sub::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -22px;
	height: 22px;
}
.gnb__item:hover .gnb__sub,
.gnb__item:focus-within .gnb__sub {
	opacity: 1; visibility: visible; pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}
.gnb__sub a {
	display: flex; align-items: center; justify-content: center; gap: 6px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 16px;
	color: #3a4358;
	font-weight: 500;
}
.gnb__sub a:hover { color: #111; background: #f3f6fb; }
.gnb__link.is-external { gap: 6px; }
.icon-external {
	flex: 0 0 auto;
	width: 14px; height: 14px;
	opacity: .72;
	vertical-align: middle;
}
.gnb__link .icon-external { width: 15px; height: 15px; }
.gnb__sub a.is-external:hover .icon-external,
.all-menu__grid a.is-external:hover .icon-external { opacity: 1; }

/* GNB·전체메뉴 공통 형광펜 호버 */
.gnb__link > span,
.gnb__sub a > span,
.all-menu__grid a > span {
	display: inline;
	padding: 0 2px;
	background-image: linear-gradient(#a8cff9, #a8d2ff);
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: 0 10px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	transition: background-size 0.45s ease, color 0.3s ease;
}
.gnb__link > span {
	background-size: 0 12px;
	white-space: nowrap;
}
.gnb__item:hover .gnb__link > span,
.gnb__item:focus-within .gnb__link > span,
.gnb__link:focus-visible > span,
.gnb__sub a:hover > span,
.gnb__sub a:focus-visible > span,
.all-menu__grid a:hover > span,
.all-menu__grid a:focus-visible > span {
	background-size: 100% 10px;
	color: #111;
}
.gnb__item:hover .gnb__link > span,
.gnb__item:focus-within .gnb__link > span,
.gnb__link:focus-visible > span {
	background-size: 100% 12px;
}

.header__util { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.search {
	display: flex; align-items: center;
	box-sizing: border-box;
	width: 268px; height: 42px; padding: 0 16px 0 20px;
	border: 1px solid transparent;
	border-radius: 999px; background: #f3f5f8; color: #98a0ae;
	transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.search:hover,
.search:focus-within {
	background: #fff;
	border-color: var(--blue, #3b6dff);
	border: 2px solid #3b6dff;
	/* box-shadow: 0 0 0 3px rgba(59, 109, 255, 0.14); */
}
.search input {
	width: 100%; border: 0; background: transparent; outline: none;
	font-size: 13px; font-weight: 400; color: #5b6474;
}
.search input::placeholder { color: #9aa3b2; }
.search button { border: 0; background: none; color: #6d7588; cursor: pointer; display: flex; }
.search:hover button,
.search:focus-within button { color: var(--blue, #3b6dff); }
.util-link { font-size: 14px; font-weight: 400; color: #4b5568; }
.util-link--icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 42px;
	border-radius: 50%;
	color: #3a4358;
	font-size: 22px;
	line-height: 1;
	transition: color .2s ease, background .2s ease;
}
.util-link--icon i {
	font-size: inherit;
	line-height: 1;
}
.util-link--icon:hover,
.util-link--icon:focus-visible {
	color: var(--blue);
}
.util-link--icon + .util-link--icon {
	margin-left: 2px;
}
.all-menu-btn {
	width: 36px; height: 36px; border: 0; background: none; cursor: pointer;
	display: flex; flex-direction: column; justify-content: center; gap: 5px;
}
.all-menu-btn span {
	display: block; height: 2px; width: 18px; background: var(--ink); border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.all-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.all-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.all-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.dim { position: fixed; inset: 0; background: rgba(10,16,28,.4); z-index: 45; }
.all-menu {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 60;
	height: 80vh;
	max-height: 80vh;
	padding: 0;
	margin: 0;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	box-shadow: 0 24px 60px rgba(18, 32, 64, .12);
}
.all-menu__bg {
	position: absolute;
	inset: 0;
	background: #eef3f9;
	pointer-events: none;
	/* background: url(../images/hero-1.png) center / cover no-repeat; */
}
.all-menu__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../images/hero-1.png") center / cover no-repeat;
	opacity: 0.3;
	pointer-events: none;
}
.all-menu__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(247, 249, 252, .4) 42%, rgba(236, 243, 252, .5) 100%),
		radial-gradient(ellipse 70% 55% at 88% 12%, rgba(58, 168, 255, .12), transparent 58%),
		radial-gradient(ellipse 50% 40% at 8% 88%, rgba(106, 91, 255, .08), transparent 60%);
	pointer-events: none;
}
.all-menu__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	min-height: 100%;
	padding: 36px var(--page-pad) 56px;
	margin: 0 auto;
	box-sizing: border-box;
}
.all-menu__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 0;
	margin: 0 0 8px;
	padding: 0 0 20px;
	border-bottom: 1px solid rgba(16, 24, 40, .08);
}
.all-menu h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--ink);
}
.all-menu__close {
	position: relative;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(16, 24, 40, .1);
	border-radius: 50%;
	background: rgba(255, 255, 255, .72);
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.all-menu__close:hover,
.all-menu__close:focus-visible {
	background: #fff;
	border-color: rgba(59, 109, 255, .35);
	transform: rotate(90deg);
}
.all-menu__close span {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: var(--ink);
}
.all-menu__close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.all-menu__close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.all-menu__util { display: none; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid rgba(16, 24, 40, .08); }
.all-menu__auth { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 14px; }
.all-menu__auth a {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 96px; height: 40px; padding: 0 14px;
	border-radius: 999px; border: 1px solid #d5dbe6;
	background: rgba(255, 255, 255, .7);
	font-size: 14px; font-weight: 600; color: var(--ink);
}
.all-menu__auth a:hover { color: var(--blue); border-color: #b8c4db; }
.search--all {
	width: 100%; max-width: none;
}
.all-menu__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 32px 24px;
	margin-top: 28px;
	padding-bottom: 8px;
}
.all-menu h3 {
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--navy);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -.02em;
}
.all-menu__grid a {
	display: flex; align-items: center; gap: 6px;
	padding: 9px 0; font-size: 16px; color: #3a4358; font-weight: 500;
}
.all-menu__grid a:hover { color: #111; }
.all-menu__grid .icon-external { width: 13px; height: 13px; }
body.is-all-menu-open .header {
	z-index: 50;
	pointer-events: none;
}

/* Footer */
.footer { background: #111827; color: #c9d0dc; padding: 36px 0 42px; }
.footer__inner { display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: start; }
.logo--footer img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.footer__links { display: flex; gap: 16px; margin-bottom: 10px; font-size: 13px; color: #e6ebf3; }
.footer__links a {
	color: inherit;
	position: relative;
	transition: color .2s ease;
}
.footer__links a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -2px;
	height: 1px;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .22s ease;
}
.footer__links a:hover {
	color: #fff;
}
.footer__links a:hover::after {
	transform: scaleX(1);
}
.footer__info p { font-size: 13px; line-height: 1.7; color: #9aa3b5; }
.footer__info a { color: inherit; text-underline-offset: 2px; }
.footer__info a:hover { color: #fff; }
.footer__copy { margin-top: 8px; }
.footer__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
}
.footer__sns { display: flex; align-items: center; gap: 10px; }
.footer__sns a {
	width: 32px; height: 32px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255,255,255,.18); font-size: 13px; color: #fff;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.footer__sns a:hover {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .55);
	color: #fff;
	transform: translateY(-2px);
}
.footer__sns-img {
	width: 16px; height: 16px; object-fit: contain;
	display: block;
	transition: opacity .2s ease, filter .2s ease;
}
.footer__sns a:hover .footer__sns-img {
	opacity: 1;
	filter: brightness(1.15);
}
.footer__sns .top { width: auto; padding: 0 10px; border-radius: 999px; font-size: 11px; }
.footer__sites { position: relative; width: 100%; max-width: 220px; }
.footer__sites-menu { position: relative; }
.footer__sites-select {
	display: flex;
	align-items: center;
	width: 100%;
	height: 36px;
	padding: 0 34px 0 12px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 4px;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 10px 7px;
	color: #ffffff78;
	font-size: 13px;
	line-height: 1.2;
	cursor: pointer;
	list-style: none;
}
.footer__sites-select::-webkit-details-marker { display: none; }
.footer__sites-select:focus {
	outline: 2px solid rgba(255, 255, 255, .45);
	outline-offset: 2px;
}
.footer__sites-menu[open] > .footer__sites-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M10.6 7.4 6 2.8 1.4 7.4 0 6l6-6 6 6z'/%3E%3C/svg%3E");
}
.footer__sites-panel {
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(100% + 6px);
	z-index: 5;
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	pointer-events: none;
	transition: grid-template-rows .32s ease, opacity .22s ease;
}
.footer__sites-menu[open] > .footer__sites-panel {
	grid-template-rows: 1fr;
	opacity: 1;
	pointer-events: auto;
}
.footer__sites-panel > ul {
	min-height: 0;
	max-height: 240px;
	margin: 0;
	padding: 6px 0;
	overflow: hidden;
	list-style: none;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(12, 20, 36, .22);
}
.footer__sites-menu[open] > .footer__sites-panel > ul { overflow: auto; }
.footer__sites-panel a {
	display: block;
	padding: 8px 14px;
	color: #1a2236;
	font-size: 13px;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.footer__sites-panel a:hover,
.footer__sites-panel a:focus-visible {
	background: #f3f6fb;
	color: var(--blue);
}
@media (prefers-reduced-motion: reduce) {
	.footer__sites-panel { transition: none; }
}

/* ========== Responsive ========== */

@media (max-width: 1650px) {
	:root { --page-pad: 40px; --header-h: 76px; }

	.header__inner { gap: 20px; }

	.gnb { display: none; }

	.header__util .search { display: none; }

	.logo img { height: 44px; }

	.util-link { font-size: 20px; }

	.all-menu-btn { width: 28px; height: 40px; }

	.all-menu-btn span { width: 100%; }

	.all-menu {
		top: 0;
		height: 80vh;
		max-height: 80vh;
		padding: 0;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}

	.all-menu__bg { inset: 0; }

	.all-menu__inner { padding: 28px var(--page-pad) 48px; }

	.all-menu__head { min-height: 0; padding: 0 0 18px; }

	.all-menu__util { display: block; margin: 28px 0 0; }

	.search--all { display: flex; width: 100%; }

	.all-menu__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px 20px; margin-top: 24px; }
}

@media (max-width: 1440px) {
	:root { --page-pad: 40px; --header-h: 76px; }

	.header__inner { gap: 20px; }
}

@media (max-width: 1300px) {
	:root { --page-pad: 28px; --header-h: 68px; }

	.header__inner { gap: 16px; }

	.logo img { height: 40px; }

	.all-menu-btn { width: 25px; height: 40px; }

	.all-menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; margin-top: 20px; }

	.footer__inner { grid-template-columns: 1fr; gap: 20px;  justify-items: center;  text-align: center;}

	.footer__links {justify-content: center;}

	.footer__aside { align-items: center; }

	.footer__sns { justify-content: center; flex-wrap: wrap; }

	.footer__sites { max-width: 260px; }
}

@media (max-width: 720px) {
	:root { --page-pad: 16px; --header-h: 60px; }

	.header__util { gap: 10px; }

	.util-link { display: none; }

	.logo img { height: 34px; }

	.all-menu {
		height: 100vh;
		height: 100dvh;
		max-height: 100vh;
		max-height: 100dvh;
	}

	.all-menu__bg {
		position: fixed;
		inset: 0;
		z-index: 0;
	}

	.all-menu__bg::before {
		opacity: 1;
        background-position: right top;
		background-size: cover;
	}

	.all-menu__bg::after {
		background:
			linear-gradient(180deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .84) 48%, rgba(247, 249, 252, .9) 100%);
	}

	.all-menu__inner {
		position: relative;
		z-index: 1;
		padding: 20px var(--page-pad) 40px;
		background: transparent;
	}

	.all-menu__grid { grid-template-columns: 1fr; gap: 22px; margin-top: 18px; }

	.all-menu h2 { font-size: 20px; }

	.all-menu h3 { font-size: 17px; }

	.all-menu__grid a {
		font-size: 15px;
		padding: 5px 0;
		color: #1a2236;
	}

	.all-menu__util {
		margin-top: 28px;
		padding-top: 22px;
	}

	.all-menu__auth {
		justify-content: stretch;
	}

	.all-menu__auth a {
		flex: 1 1 calc(50% - 8px);
		background: rgba(255, 255, 255, .92);
	}

	.btn { height: 44px; padding: 0 22px; font-size: 14px; }

	.footer { padding: 28px 0 32px; }

	.footer__links { flex-wrap: wrap; gap: 5px 10px; justify-content: center; }

	.footer__info p { font-size: 12px; word-break: keep-all; }

	.logo--footer img { height: 36px; }
}

/* ========== 서브 페이지 (기존 sub.css) ========== */

/* 서브 페이지 공통 레이아웃: sub_visual, sub_nav, page_tabs, sub_contents.
   본문 컨텐츠 스타일은 menu-content.css */

.gbgc-sub {
  padding-top: 0;
  color: #171717;
  font-family: "SCoreDream", "Pretendard Variable", Pretendard, "Noto Sans KR", sans-serif;
  background: #fff;
}

.sub_visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 350px;
  color: #fff;
  text-align: center;
}

.sub_visual.sub01_bg {
  /* 배경 이미지 대신 원본 이미지와 같은 색상의 그라데이션으로 표현 (캐릭터는 .sub_v_char로 분리) */
  background-color: #070e20;
  background-image: linear-gradient(90deg, #070e20 0%, #0c1a38 25%, #132e6a 50%, #1e46a0 75%, #3369d7 100%);
}

.sub_v_head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}

/* 분리 캐릭터: 배경 속 캐릭터와 같은 자리(우측 중앙)에 겹쳐 얹고 안쪽 이미지만 둥실 움직인다 */
.sub_v_char {
  position: absolute;
  top: 45%;
  right: max(80px, 7%);
  z-index: 1;
  width: clamp(190px, 21vw, 300px);
  transform: translateY(-50%);
  pointer-events: none;
}

.sub_v_char img {
  display: block;
  width: 100%;
  height: auto;
  animation: subCharFloat 3.8s ease-in-out infinite alternate;
}

.sub_visual.is-support .sub_v_char,
.sub_visual.is-incub .sub_v_char,
.sub_visual.is-equip .sub_v_char,
.sub_visual.is-news .sub_v_char {
  width: auto;
}

.sub_visual.is-support .sub_v_char img,
.sub_visual.is-incub .sub_v_char img,
.sub_visual.is-equip .sub_v_char img,
.sub_visual.is-news .sub_v_char img {
  width: auto;
  height: 100%;
}

.sub_visual.is-support .sub_v_char {
  top: 50%;
  right: auto;
  left: max(28px, 3.5%);
  height: 232px;
}

.sub_visual.is-incub .sub_v_char {
  top: 50%;
  right: max(36px, 3%);
  height: 220px;
}

.sub_visual.is-equip .sub_v_char {
  top: 50%;
  right: auto;
  left: max(88px, 9%);
  height: 228px;
}

.sub_visual.is-news .sub_v_char {
  top: 48%;
  right: max(150px, 13%);
  height: 190px;
}

@keyframes subCharFloat {
  from { transform: translateY(-7px) rotate(-1.6deg); }
  to { transform: translateY(9px) rotate(1.8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .sub_v_char img { animation: none; }
}

/* 왼쪽 장식(행성·지구·별): 각자 다른 주기로 둥실 떠다니고 별은 반짝인다 */
.sub_v_deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sub_v_deco .deco {
  position: absolute;
  display: block;
}

.sub_v_deco .deco--planet {
  left: 5%;
  top: 12%;
  width: 118px;
  animation: subDecoFloat 5.2s ease-in-out infinite alternate;
}

.sub_v_deco .deco--earth {
  left: 15.5%;
  top: 55%;
  width: 60px;
  animation: subDecoFloat 4.4s ease-in-out -1.4s infinite alternate;
}

.sub_v_deco .deco--orange {
  left: 3.2%;
  top: 63%;
  width: 38px;
  animation: subDecoFloat 3.9s ease-in-out -2.1s infinite alternate;
}

.sub_v_deco .deco--star {
  animation: subDecoTwinkle 2.8s ease-in-out infinite;
}

.sub_v_deco .deco--star1 { left: 11%; top: 8%; width: 26px; }
.sub_v_deco .deco--star2 { left: 20%; top: 30%; width: 18px; animation-delay: -.9s; }
.sub_v_deco .deco--star3 { left: 7.5%; top: 42%; width: 14px; animation-delay: -1.7s; opacity: .85; }
.sub_v_deco .deco--star4 { left: 23%; top: 68%; width: 20px; animation-delay: -.4s; }

.sub_v_deco .deco--s1,
.sub_v_deco .deco--i1,
.sub_v_deco .deco--i2,
.sub_v_deco .deco--i4,
.sub_v_deco .deco--e1,
.sub_v_deco .deco--e2,
.sub_v_deco .deco--n1,
.sub_v_deco .deco--n4 {
  animation: subDecoFloat 4.8s ease-in-out infinite alternate;
}

.sub_v_deco .deco--s2,
.sub_v_deco .deco--s3,
.sub_v_deco .deco--s4,
.sub_v_deco .deco--s5,
.sub_v_deco .deco--s6,
.sub_v_deco .deco--s7,
.sub_v_deco .deco--s8,
.sub_v_deco .deco--s9,
.sub_v_deco .deco--i3,
.sub_v_deco .deco--i5,
.sub_v_deco .deco--i6,
.sub_v_deco .deco--e3,
.sub_v_deco .deco--e4,
.sub_v_deco .deco--e5,
.sub_v_deco .deco--e6,
.sub_v_deco .deco--n2,
.sub_v_deco .deco--n3,
.sub_v_deco .deco--n5,
.sub_v_deco .deco--n6,
.sub_v_deco .deco--n7 {
  animation: subDecoTwinkle 3.2s ease-in-out infinite;
}

.sub_v_deco .deco--s1 { right: 6%; top: 12%; width: 120px; }
.sub_v_deco .deco--s2 { right: 2%; top: 62%; width: 36px; animation-delay: -.8s; }
.sub_v_deco .deco--s3 { right: 18%; top: 8%; width: 16px; animation-delay: -1.4s; }
.sub_v_deco .deco--s4 { right: 22%; top: 40%; width: 22px; animation-delay: -2s; }
.sub_v_deco .deco--s5 { right: 11%; top: 46%; width: 22px; animation-delay: -.3s; }
.sub_v_deco .deco--s6 { right: 30%; top: 58%; width: 16px; animation-delay: -1.1s; }
.sub_v_deco .deco--s7 { left: 24%; top: 7%; width: 18px; animation-delay: -.6s; }
.sub_v_deco .deco--s8 { left: 36%; top: 18%; width: 14px; animation-delay: -1.8s; }
.sub_v_deco .deco--s9 { right: 34%; top: 16%; width: 20px; animation-delay: -2.4s; }

.sub_v_deco .deco--i1 { left: 4%; top: 16%; width: 52px; }
.sub_v_deco .deco--i2 { left: 16%; top: 48%; width: 34px; animation-delay: -1.2s; }
.sub_v_deco .deco--i3 { left: 11%; top: 7%; width: 16px; animation-delay: -.5s; }
.sub_v_deco .deco--i4 { left: 26%; top: 18%; width: 30px; animation-delay: -1.8s; }
.sub_v_deco .deco--i5 { left: 7%; top: 58%; width: 18px; animation-delay: -.9s; }
.sub_v_deco .deco--i6 { left: 30%; top: 42%; width: 14px; animation-delay: -2.1s; }

.sub_v_deco .deco--e1 { right: 5%; top: 14%; width: 52px; }
.sub_v_deco .deco--e2 { right: 20%; top: 46%; width: 48px; animation-delay: -.7s; }
.sub_v_deco .deco--e3 { right: 16%; top: 8%; width: 18px; animation-delay: -1.6s; }
.sub_v_deco .deco--e4 { right: 30%; top: 20%; width: 16px; animation-delay: -2.2s; }
.sub_v_deco .deco--e5 { right: 8%; top: 52%; width: 16px; animation-delay: -.4s; }
.sub_v_deco .deco--e6 { right: 26%; top: 62%; width: 14px; animation-delay: -1.3s; }

.sub_v_deco .deco--n1 { left: 4%; top: 14%; width: 92px; }
.sub_v_deco .deco--n2 { left: 20%; top: 50%; width: 32px; animation-delay: -1.1s; }
.sub_v_deco .deco--n3 { left: 15%; top: 7%; width: 20px; animation-delay: -.6s; }
.sub_v_deco .deco--n4 { left: 28%; top: 20%; width: 30px; animation-delay: -1.9s; }
.sub_v_deco .deco--n5 { left: 8%; top: 54%; width: 16px; animation-delay: -.4s; }
.sub_v_deco .deco--n6 { left: 24%; top: 34%; width: 14px; animation-delay: -2.2s; }
.sub_v_deco .deco--n7 { left: 33%; top: 46%; width: 16px; animation-delay: -1.4s; }

@keyframes subDecoFloat {
  from { transform: translateY(-6px) rotate(-2deg); }
  to { transform: translateY(8px) rotate(2deg); }
}

@keyframes subDecoTwinkle {
  0%, 100% { transform: scale(.8) rotate(0deg); opacity: .5; }
  50% { transform: scale(1.1) rotate(12deg); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .sub_v_deco .deco { animation: none; }
}

@media (max-width: 1200px) {
  .sub_v_deco .deco--planet { width: 92px; }
  .sub_v_deco .deco--earth { width: 48px; }
}

@media (max-width: 760px) {
  .sub_v_deco .deco--planet { left: 4%; top: 8%; width: 64px; }
  .sub_v_deco .deco--earth,
  .sub_v_deco .deco--orange,
  .sub_v_deco .deco--star2,
  .sub_v_deco .deco--star4,
  .sub_v_deco .deco--s2,
  .sub_v_deco .deco--s4,
  .sub_v_deco .deco--s6,
  .sub_v_deco .deco--s8,
  .sub_v_deco .deco--s9,
  .sub_v_deco .deco--i2,
  .sub_v_deco .deco--i5,
  .sub_v_deco .deco--i6,
  .sub_v_deco .deco--e2,
  .sub_v_deco .deco--e5,
  .sub_v_deco .deco--e6,
  .sub_v_deco .deco--n2,
  .sub_v_deco .deco--n5,
  .sub_v_deco .deco--n6,
  .sub_v_deco .deco--n7 { display: none; }
  .sub_v_deco .deco--star1 { left: 16%; top: 6%; width: 18px; }
  .sub_v_deco .deco--star3 { left: 10%; top: 34%; width: 12px; }
  .sub_v_deco .deco--s1 { width: 52px; }
  .sub_v_deco .deco--i1,
  .sub_v_deco .deco--e1,
  .sub_v_deco .deco--n1 { width: 46px; }
}

@media (max-width: 960px) {
  /* 이 구간은 배경이 그라데이션으로 바뀌어 캐릭터가 배경에 없다 */
  .sub_v_char,
  .sub_visual.is-support .sub_v_char,
  .sub_visual.is-incub .sub_v_char,
  .sub_visual.is-equip .sub_v_char,
  .sub_visual.is-news .sub_v_char {
    top: 22%;
    right: 10px;
    left: auto;
    width: 96px;
    height: auto;
  }

  .sub_visual.is-support .sub_v_char,
  .sub_visual.is-equip .sub_v_char {
    right: auto;
    left: 10px;
    top: 16%;
  }

  .sub_visual.is-support .sub_v_char {
    top: 50%;
    width: 116px;
    height: auto;
  }

  .sub_visual.is-equip .sub_v_char { top: 50%; width: 118px; }

  .sub_visual.is-incub .sub_v_char { top: 50%; right: 16px; }
  .sub_visual.is-news .sub_v_char { top: 30%; right: 8px; width: 112px; }

  .sub_visual.is-support .sub_v_char img,
  .sub_visual.is-incub .sub_v_char img,
  .sub_visual.is-equip .sub_v_char img,
  .sub_visual.is-news .sub_v_char img {
    width: 100%;
    height: auto;
  }
}

.sub_v_tit {
  margin: 0 0 10px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.sub_v_eng,
.sub_visual .f_eng {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

/* 서브 비주얼 인트로: 섹션이 먼저 나타나고 제목·영문·하위 메뉴 항목이 차례로 떠오른다 */
@keyframes subVisualFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes subVisualRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes subVisualRiseEng {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 0.7; transform: translateY(0); }
}

@keyframes subVisualItemRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.sub_visual {
  animation: subVisualFade .7s ease both;
}

.sub_v_tit {
  animation: subVisualRise .9s cubic-bezier(.22, .61, .36, 1) .15s both;
}

.sub_v_eng,
.sub_visual .f_eng {
  animation: subVisualRiseEng .9s cubic-bezier(.22, .61, .36, 1) .3s both;
}

/* 하위 메뉴는 통째로가 아니라 항목(li) 하나씩 차례로 나타난다 */
.sub_visual .sub_nav li {
  animation: subVisualItemRise .7s cubic-bezier(.22, .61, .36, 1) both;
}

.sub_visual .sub_nav li:nth-child(1) { animation-delay: .45s; }
.sub_visual .sub_nav li:nth-child(2) { animation-delay: .53s; }
.sub_visual .sub_nav li:nth-child(3) { animation-delay: .61s; }
.sub_visual .sub_nav li:nth-child(4) { animation-delay: .69s; }
.sub_visual .sub_nav li:nth-child(5) { animation-delay: .77s; }
.sub_visual .sub_nav li:nth-child(6) { animation-delay: .85s; }
.sub_visual .sub_nav li:nth-child(7) { animation-delay: .93s; }
.sub_visual .sub_nav li:nth-child(8) { animation-delay: 1.01s; }
.sub_visual .sub_nav li:nth-child(n+9) { animation-delay: 1.09s; }

@media (prefers-reduced-motion: reduce) {
  .sub_visual,
  .sub_v_tit,
  .sub_v_eng,
  .sub_visual .f_eng,
  .sub_visual .sub_nav li {
    animation: none;
  }
}

.sub_nav {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: min(1450px, calc(100% - 40px));
  height: auto;
  padding: 0 20px;
  overflow: visible;
  border: 0;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(20, 32, 56, 0.12);
  transform: translate(-50%, 50%);
}

.sub_nav ul {
  display: flex;
  height: auto;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  list-style: none;
  scrollbar-width: none;
}

.sub_nav ul::-webkit-scrollbar {
  display: none;
}

.sub_nav li {
  flex: 1 1 0;
  min-width: 0;
  height: auto;
}

.sub_nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 68px;
  padding: 0 12px;
  border: 0;
  color: #3a4354;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sub_nav a.is-external {
  gap: 6px;
}

.sub_nav a > span {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 0 2px;
  background-image: linear-gradient(#a8cff9, #a8d2ff);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 10px;
  transition: background-size 0.45s ease, color 0.3s ease;
}

.sub_nav a .icon-external {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  opacity: 0.72;
}

.sub_nav a:hover,
.sub_nav a:focus-visible {
  color: #111;
}

.sub_nav a:hover > span,
.sub_nav a:focus-visible > span {
  color: #111;
  background-size: 100% 10px;
}

.sub_nav a.is-current:hover > span,
.sub_nav a.is-current:focus-visible > span {
  color: #111;
  background-size: 100% 10px;
}

.sub_nav a.is-external:hover .icon-external,
.sub_nav a.is-external:focus-visible .icon-external {
  opacity: 1;
}

.sub_nav a.is-current {
  background: transparent;
  color: var(--blue, #3b6dff);
  font-weight: 700;
}

.sub_nav a.is-current > span {
  color: inherit;
}

.sub_nav a.is-current::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  background: var(--blue, #3b6dff);
}

.sub_nav .container {
  display: flex;
  align-items: stretch;
  max-width: 1560px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.s_home {
  display: grid;
  place-items: center;
  width: 64px;
  border-right: 1px solid #d1d1d1;
  border-left: 1px solid #d1d1d1;
}

.s_home a {
  display: grid;
  place-items: center;
  color: #171717;
}

.s_home svg {
  width: 18px;
  height: 18px;
}

.s_nav_wrap {
  position: relative;
  min-width: 220px;
  border-right: 1px solid #d1d1d1;
}

.s_nav_btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0 22px;
  border: 0;
  background: #fff;
  color: #171717;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.s_nav_btn svg {
  width: 12px;
  height: 12px;
  margin-left: 16px;
}

.s_nav_btn.is-open svg {
  transform: rotate(180deg);
}

.s_nav {
  display: none;
  position: absolute;
  top: 100%;
  left: -1px;
  right: -1px;
  z-index: 20;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border-right: 1px solid #d1d1d1;
  border-bottom: 1px solid #d1d1d1;
  border-left: 1px solid #d1d1d1;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.s_nav_wrap.is-open .s_nav {
  display: block;
}

.s_nav a {
  display: block;
  padding: 12px 22px;
  color: #333;
  font-size: 15px;
  text-decoration: none;
}

.s_nav a:hover,
.s_nav a.is-current {
  color: #111;
  font-weight: 700;
  background: #f5f5f5;
}

.sub_contents {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  padding: 150px 20px 160px;
  word-break: keep-all;
  /* 페이지가 열리면 본문 전체가 아래에서 자연스럽게 올라온다 (종료 후에는 원래 상태로 복귀) */
  animation: subContentsRise .95s cubic-bezier(.22, .61, .36, 1) .15s backwards;
}

@keyframes subContentsRise {
  from { opacity: 0; transform: translateY(38px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .sub_contents { animation: none; }
}

.page_tabs {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin: 0 0 56px;
}
.page_tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 0 10px;
  color: #3a4354;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-decoration: none;
}
.page_tabs a.is-current {
  color: #3b6dff;
}
.page_tabs a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #3b6dff;
}

@media (max-width: 960px) {  
  .sub_contents {padding: 80px 20px 60px;}
  .gbgc-sub .sub_contents { padding: 88px 20px 48px; }
  .sub_visual { height: 280px; }
  .sub_visual.sub01_bg {
    background-image: linear-gradient(90deg, #070e20 0%, #0c1a38 25%, #132e6a 50%, #1e46a0 75%, #3369d7 100%);
  }
  .sub_v_tit { font-size: 36px; }
  .sub_v_eng,
  .sub_visual .f_eng { font-size: 16px; }
  .sub_nav { width: calc(100% - 32px); padding: 0 10px; }
  .sub_nav ul { align-items: stretch; flex-wrap: wrap; overflow: visible; justify-content: center; }
  .sub_nav li { display: flex; flex: 1 1 30%; }
  .sub_nav a { flex: 1 1 auto; height: 48px; padding: 0 10px; font-size: 14px; white-space: normal; }
  .sub_visual.is-support .sub_nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
  }
  .sub_visual.is-support .sub_nav li { flex: none; }
  .sub_visual.is-support .sub_nav a {
    height: auto;
    min-height: 48px;
    padding: 10px 8px;
    overflow: visible;
    line-height: 1.3;
  }
  .sub_visual.is-incub .sub_nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
  }
  .sub_visual.is-incub .sub_nav li {
    flex: none;
    min-width: 0;
  }
  .sub_visual.is-incub .sub_nav a {
    height: auto;
    min-height: 48px;
    padding: 10px 8px;
    overflow: visible;
    line-height: 1.3;
    white-space: normal;
  }
  .sub_visual.is-incub .sub_nav a > span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .page_tabs a { font-size: 16px;}
  .s_nav_wrap { min-width: 0; flex: 1 1 0; }
  .s_nav_btn {
    padding: 0 14px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
  }
  .s_nav_btn svg { flex-shrink: 0; }
}

@media (max-width: 480px) {
  .sub_visual { height: 240px; }
  .sub_v_tit { font-size: 30px; }
}

@media (max-width: 360px) {
  .sub_nav .container { padding: 0 4px; }
  .s_home { width: 40px; flex: 0 0 40px; }
  .s_nav_btn { padding: 0 6px; font-size: 11px; }
  .s_nav_btn svg { margin-left: 2px; }
}

/* 스크롤 리빌: JS(main.js)가 .rv를 붙인 요소만 숨김 상태로 시작해, 화면에 들어오면 나타난다 */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}

.rv.is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
