@charset "UTF-8";

.sub_visual {
	position: relative;
	height: max(440px, calc(70lvh / var(--z)));
	margin-top: calc(var(--hd-h) * -1);
	overflow: hidden;
	background: var(--dark-color);
	color: #fff;
}

.sub_visual_img {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.sub_visual_img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sub_visual_img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 35%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.5) 100%);
}

.sub_visual_txt {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	text-align: center;
}

.sub_visual_tit {
	overflow: hidden;
	padding-bottom: 0.15em;
	font-size: var(--fs-visual);
	line-height: 1;
	font-weight: 700;
}

.sub_visual_tit span {
	display: block;
	transform: translateY(120%);
	animation: sub-tit-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

@keyframes sub-tit-up {
	to {
		transform: none;
	}
}

.sub_nav {
	position: absolute;
	bottom: 40px;
	left: 50%;
	z-index: 3;
	display: flex;
	padding: 4px 24px 4px 4px;
	border-radius: 999px;
	background: transparent;
	-webkit-backdrop-filter: blur(30px);
	backdrop-filter: blur(30px);
	opacity: 0;
	transform: translate(-50%, 16px);
	animation: sub-nav-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

@keyframes sub-nav-in {
	to {
		opacity: 1;
		transform: translate(-50%, 0);
	}
}

.sub_nav_home {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: transparent;
	color: #fff;
}

.sub_nav_home svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.sub_nav_depth {
	position: relative;
	min-width: 160px;
	padding-left: 24px;
}

.sub_nav_btn {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	height: 100%;
	font-size: 16px;
	line-height: 1;
	color: #fff;
	white-space: nowrap;
	cursor: pointer;
}

.sub_nav_btn::after {
	content: "";
	flex: none;
	width: 8px;
	height: 4px;
	margin-left: auto;
	background: currentColor;
	clip-path: polygon(0 100%, 50% 0, 100% 100%);
	transition: transform 0.3s;
}

.sub_nav_depth.is-open .sub_nav_btn::after {
	transform: scaleY(-1);
}

.sub_nav_list {
	display: none;
	position: absolute;
	bottom: calc(100% + 8px);
	left: 0;
	width: 100%;
	padding: 16px 24px;
	border-radius: 24px;
	background: rgba(0, 0, 0, 0.6);
	-webkit-backdrop-filter: blur(50px);
	backdrop-filter: blur(50px);
}

.sub_nav_depth.is-open .sub_nav_list {
	display: block;
}

.sub_nav_list a {
	display: block;
	padding: 4px 0;
	font-size: 16px;
	color: #fff;
	white-space: nowrap;
	opacity: 0.6;
	transition: opacity 0.3s;
}

.sub_nav_list a:hover,
.sub_nav_list a:focus-visible,
.sub_nav_list a[aria-current] {
	opacity: 1;
}

@media (max-width: 768px) {
	.sub_nav {
		bottom: 24px;
		padding-right: 16px;
	}

	.sub_nav_home {
		width: 40px;
		height: 40px;
	}

	.sub_nav_depth {
		min-width: 0;
		padding-left: 16px;
	}

	.sub_nav_list {
		width: max-content;
		min-width: 100%;
		padding: 16px;
	}
}

@media (max-width: 480px) {
	.sub_nav_btn,
	.sub_nav_list a {
		font-size: 14px;
	}
}

.sub_tit {
	margin-bottom: var(--head-gap);
	text-align: center;
}

.sub_tit .sec_h {
	word-break: keep-all;
}

.sub_tit_desc {
	margin-top: 24px;
	font-size: 20px;
	font-weight: 300;
	color: var(--text-color);
	word-break: keep-all;
	text-wrap: pretty;
}

@media (max-width: 1024px) {
	.sub_tit_desc {
		margin-top: 16px;
		font-size: var(--fs-body);
	}
}

.sub_bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}

.sub_count {
	flex: none;
	font-size: var(--fs-body);
	line-height: 1;
	color: var(--text-color);
}

.sub_count b {
	font-weight: 700;
	color: var(--theme-color);
}

.sub_tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sub_tabs.is-center {
	justify-content: center;
	margin-bottom: 40px;
}

@media (max-width: 768px) {
	.sub_bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.sub_tabs {
		flex-wrap: nowrap;
		width: calc(100% + var(--side) * 2);
		margin: 0 calc(var(--side) * -1);
		padding: 0 var(--side);
		overflow-x: auto;
		scrollbar-width: none;
	}

	.sub_tabs::-webkit-scrollbar {
		display: none;
	}

	.sub_tabs.is-center {
		justify-content: flex-start;
		margin-bottom: 24px;
	}

	.sub_tabs .btn {
		height: 40px;
		padding: 0 20px;
	}
}

[data-filter-list] > [hidden] {
	display: none !important;
}

.sub_table_wrap {
	overflow-x: auto;
}

.sub_table {
	width: 100%;
	border-top: 2px solid var(--title-color);
	border-collapse: collapse;
	font-size: var(--fs-body);
	text-align: center;
}

.sub_table th,
.sub_table td {
	padding: 24px 16px;
	border-bottom: 1px solid var(--line-color);
	word-break: keep-all;
}

.sub_table th {
	font-weight: 700;
	color: var(--title-color);
}

.sub_table td {
	color: var(--sub-color);
}

.sub_table .is-left {
	text-align: left;
}

.sub_table .is-num {
	font-family: Montserrat, Pretendard, sans-serif;
	color: var(--muted-color);
}

@media (max-width: 768px) {
	.sub_table {
		min-width: 640px;
	}

	.sub_table th,
	.sub_table td {
		padding: 16px 8px;
	}
}
