/* 페이지 전용 스타일: 공통 헤더/푸터는 기존 layout.css를 사용합니다. */
/* 공통 레이아웃 — 콘텐츠 영역의 너비와 상하좌우 여백을 설정합니다. */ .container { padding: 100px 20px; margin: 0 auto; width: calc(100% - 320px); max-width: 1700px; }
#main { --ink: #1e293b; --text: #393939; color: #222; font-family: Pretendard, sans-serif; }
#main *, #main *::before, #main *::after { box-sizing: border-box; }
/* #main :where(h1,h2,h3,h4,p,ul,figure) { margin: 0; padding: 0; }
*/ #main ul { list-style: none; }
#main img { max-width: 100%; height: auto; vertical-align: top; }
.sub_container { width: min(1700px, calc(100% - 320px)); margin: 0 auto; padding: 100px 20px; }
#main .pc_img { display: block; }
#main .m_img { display: none; }
/* 히어로: 이미지는 살짝 축소되고 문구는 12px만 이동합니다. */ 

#main .sub_hero { position: relative; width: 100%; aspect-ratio: 1920 / 940; overflow: hidden; background: #777b7e; }
#main .sub_hero.second { aspect-ratio: 1920 / 680;; }
#main .sub_hero .img { position: absolute; inset: 0; }
#main .sub_hero .img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
#main .sub_hero .txt { position: absolute; left: max(40px, calc((100% - min(1700px, 100% - 320px)) / 2 + 20px)); top: 50%; transform: translateY(-50%); padding-right: 20px; color: #fff; }
#main .sub_hero h1 { font-size: clamp(36px, 3.125vw, 60px); line-height: 1.14; font-weight: 600; letter-spacing: -.03em; margin-bottom: 24px; }
#main .sub_hero p { font-size: clamp(16px, 1.25vw, 24px); line-height: 1.5; letter-spacing: -.03em; }


/* 소개: 넓은 화면은 2열, 태블릿부터 1열로 구성합니다. */ 

#main .intro_tit { display: grid; grid-template-columns: 1fr 1.7fr; gap: 10px 48px; align-items: start; }
#main .intro_tit > span { grid-column: 1 / -1; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.55; }
#main .intro_tit p {font-size: 20px;}
#main .intro_tit .tit, #main .sub_tit { font-size: 36px; line-height: 1.34; font-weight: 700; letter-spacing: -.035em; }
#main .sub_desc { color: #393939; text-align: center;font-size: 20px;font-style: normal;font-weight: 400;line-height: 28px;letter-spacing: -0.4px; margin-top: 20px; }
#main .desc { color: var(--text); font-size: 18px; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
#main .desc p + p { margin-top: 12px; }
#main .intro_img { margin-top: 60px; overflow: hidden; border-radius: 12px; }
#main .intro_img img { width: 100%; }
#main .sub_tit { text-align: center; }
/* 버튼은 내용을 숨기는 탭이 아닌 해당 설명으로 이동하는 앵커입니다. */ /* 채취 방법 영역 안에서 헤더 아래에 고정됩니다. 조상 요소에 overflow/transform을 추가하지 마세요. */ #main .tab_menu { position: sticky; top: var(--tab-top, 0px); z-index: 30; transition: none; margin: 48px 0 60px; padding: 12px 0; backdrop-filter: blur(1rem); }
/* sticky 요소에는 GSAP transform을 적용하지 않습니다. */ #main .tab_menu ul { display: flex; justify-content: center; gap: 12px; }
#main .tab_menu li { flex: 1 1 0; min-width: 0; max-width: 240px; }
#main .tab_menu a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; height: 100%; padding: 12px 8px; border-radius: 8px; color: #666; background: #f4f5f5; font-size: clamp(14px, 1.1vw, 20px); line-height: 1.4; text-align: center; text-decoration: none; word-break: keep-all; overflow-wrap: anywhere; }
#main .tab_menu a.active { background: var(--ink); color: #fff; font-weight: 600; }
#main .tab_menu a:focus-visible { outline: 3px solid #627b9e; outline-offset: 4px; }
#main .con_list { scroll-margin-top: calc(var(--tab-top, 0px) + var(--tab-height, 76px) + 24px); }
#main .con_list + .con_list { margin-top: 24px; }
#main .con_list > ul > li { padding: 60px; border-radius: 16px; background: #fafafa; }
#main .con_tit h4 { display: inline-block; max-width: 100%; padding: 8px 24px; border-radius: 40px; background: var(--ink); color: #fff; font-size: 20px; line-height: 28px; font-weight: 600; }
#main .con_tit .desc { margin-top: 18px; }
#main .con_img { margin-top: 50px; overflow: hidden; border-radius: 12px; }
#main .con_img img { width: 100%; }
#main .con_img p, #main .box_list .txt { padding: 28px 32px; background: #fff; border-radius: 0 0 12px 12px; font-size: 22px; line-height: 1.4; font-weight: 600; }
#main .con_typeB .box_list { margin-top: 24px; }
#main .con_typeB .box_tit { color: #FFF;font-size: 20px;font-weight: 600;line-height: 28px;display: flex;padding: 8px 20px;align-items: center;align-self: stretch;border-radius: 8px;background: #1E293B; margin-top: 60px; }
#main .con_typeB .box_tit.first { margin-top: 24px; }
#main .con_typeB .box_desc { color: #393939;font-size: 18px;font-weight: 400;line-height: 28px;margin-top: 20px; }
#main .box_list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
#main .box_list.el_2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#main .box_list.el_3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#main .box_list.el_4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#main .box_list.el_5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
#main .box_list > li { min-width: 0; overflow: hidden; border-radius: 12px; background: #fff; }
#main .box_list > li:only-child { grid-column: 1 / -1; }
#main .box_list .txt ul { display: flex;flex-direction: column;align-items: flex-start;gap: 5px;align-self: stretch; margin-top: 8px; }
#main .box_list .txt ul > li { color: #393939;font-size: 16px;font-weight: 400;line-height: 24px;letter-spacing: -0.5px;padding-left: 28px; position: relative; }
#main .box_list .txt ul > li::before { position: absolute;content: "";left: 0;top: 0;background-image: url("/img/sub/con_check_icon.svg");background-repeat: no-repeat;background-size: contain;width: 24px;height: 24px; }
#main .box_list img { width: 100%; }
#main .box_list .txt { padding: 24px 32px; }
#main .box_list .txt span { display: block; margin-bottom: 8px; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 20px; /* 142.857% */ letter-spacing: -0.28px; }
#main .box_list .txt span:only-child { margin-bottom: 0; }
#main .box_list .txt h4 { color: #222; font-size: 20px; line-height: 1.4; font-weight: 600;letter-spacing: -0.65px; }
#main .box_list .txt p { color: #4E4E4E; font-size: 16px; font-weight: 400; line-height: 24px; letter-spacing: -0.32px;margin-top: 8px; }
#main .box_list em { font-style: normal; font-weight: 400; }
#main .tip_box { display: flex; padding: 24px 32px; flex-direction: column; align-items: flex-start; gap: 10px; align-self: stretch;border-radius: 16px; background: #E8E8E8;margin-top: 28px; }
#main .tip_box .tit { color: #222; font-size: 20px; font-weight: 600; line-height: 30px; position: relative; padding-left: 32px; }
#main .tip_box .tit::before { position: absolute; content: ""; background-image: url("/img/sub/tip_box_icon.svg"); background-size: contain; background-repeat: no-repeat; left: 0; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; }
#main .tip_box p { color: #393939; font-size: 18px; font-weight: 400; line-height: 26px; /* 144.444% */ }
/* 공통 이미지·설명 카드 레이아웃 */ 

#main .con_typeA { display: flex; align-items: center; gap: 24px; margin-top: 50px; }
#main .con_typeA .txt { flex: 0 1 502px; min-width: 0; }
#main .con_typeA .txt ul { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 24px; width: 100%; height: auto; margin: 0; padding: 0; list-style: none; }
#main .con_typeA .txt ul li { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 60px 24px; border-radius: 16px; background: #fafafa; }
#main .con_typeA .txt ul li h4 { display: inline-block; max-width: 100%; padding: 8px 24px; border-radius: 40px; background: var(--ink); color: #fff; font-size: 20px; line-height: 28px; font-weight: 600; }
#main .con_typeA .txt ul li p { color: var(--text); font-size: 18px; line-height: 1.5; word-break: keep-all;text-align: center; overflow-wrap: anywhere; }
#main .con_typeA .img { flex: 1 1 0; min-width: 0; }
#main .con_typeA .img img { width: 100%; max-width: 100%; height: auto; vertical-align: top; }
#main .con_typeA .img .pc_img { display: block; }
#main .con_typeA .img .m_img { display: none; }
.check_list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 50px; }
.check_list li { display: flex; align-items: center; gap: 12px; box-sizing: border-box; padding: 28px 32px; align-items: center; border-radius: 8px; background: #FAFAFA; color: #222; font-size: 20px; line-height: 28px; /* 140% */ letter-spacing: -0.4px; word-break: keep-all; }
.check_list li::before { content: ""; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: #202b3d url("/img/sub/check_list_icon.svg") center / 24px 24px no-repeat; }
#main .con_typeA .typeA_list {display: flex;flex-direction: column;justify-content: center;align-items: flex-start;gap: 20px;flex: 1 0 0;align-self: stretch;flex: 0 1 636px; min-width: 0;}
#main .con_typeA .typeA_list li{ display: flex;padding: 28px 32px;align-items: center;gap: 16px;align-self: stretch;border-radius: 16px;background: #FAFAFA; }
#main .con_typeA .typeA_list li span { color: #FFF; font-size: 14px; font-weight: 700; line-height: 20px; display: flex; width: 40px; height: 40px; padding: 10px; justify-content: center; align-items: center; border-radius: 500px; background: #1E293B;}
#main .con_typeA .typeA_list li h4 {color: #393939; leading-trim: both; text-edge: cap; font-size: 20px; font-weight: 400; line-height: 28px;}

/* 영상은 2개 기준 2열, 모바일에서는 1열입니다. */ 
#main .sub_video { background: #fafafa; }
#main .sub_video .sub_tit { text-align: left; }
#main .video_list { margin-top: 50px; }
#main .video_list > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
#main .video_list li { min-width: 0; overflow: hidden; border-radius: 12px; }
#main .video_list p { display: flex; padding: 28px 32px; align-items: flex-start; gap: 5px; align-self: stretch; color: #222; font-size: 18px; font-weight: 600; line-height: 30px; letter-spacing: -0.44px; border-radius: 0 0 16px 16px; background: #FFF; }
#main .video_list video,#main .video_list iframe { display: block; width: 100%; aspect-ratio: 16 / 9; background: #ddd; object-fit: contain; }
/* 태블릿 */ 
@media (max-width: 1600px) { 
	.sub_container { width: calc(100% - 80px); } #main .sub_hero .txt { left: 60px; }
	.container { width: calc(100% - 80px); }
	#main .common_hero .txt  {width: calc(100% - 80px); }
}
@media (max-width: 1200px) {
	.sub_container { padding-block: 80px; }
	#main .intro_tit { grid-template-columns: 1fr; gap: 12px; }
	#main .con_typeA .txt { flex-basis: 42%; }
	#main .con_typeA .txt ul li { padding: 28px 16px; gap: 16px; }
	#main .con_typeA .txt ul li h4 { padding: 8px 20px; font-size: 18px; line-height: 26px; }
	#main .con_typeA .txt ul li p { font-size: 16px; line-height: 24px; }
	#main .desc br { display: none; }
	#main .con_list > ul > li { padding: 36px; }
	#main .box_list, #main .box_list.el_2, #main .box_list.el_3, #main .box_list.el_4, #main .box_list.el_5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 모바일: 첨부 시안처럼 배너 하단 문구 / 카드 및 영상 1열 */ 
@media (max-width: 768px) { /* 공통 레이아웃 — 콘텐츠 영역의 너비와 상하좌우 여백을 설정합니다. */ 
	.container { width: 100%; max-width: none; padding: 60px 16px; }
	.sub_container { width: 100%; padding: 60px 16px; }
	
	#main .pc_img { display: none; }
	#main .m_img { display: block; }
	#main .sub_hero,#main .sub_hero.second { aspect-ratio: 320 / 400; }
	#main .sub_hero .img img { object-position: 65% center; }
	#main .sub_hero .txt { left: 16px; right: 0; top: auto; bottom: 40px; transform: none; }
	#main .sub_hero h1 { font-size: 40px; line-height: 48px;letter-spacing: -1.2px;margin-bottom: 12px; }
	#main .sub_hero p { font-size: 14px;line-height: 20px; letter-spacing: -0.42px; }
	
	
	
	#main .intro_tit > span,#main .intro_tit p  { font-size: 14px; }
	#main .intro_tit .tit { max-width: 8em; font-size: 28px;line-height: 34px; }
	#main .intro_tit .desc { margin-top: 8px; }
	#main .desc { font-size: 14px; line-height: 1.5; line-height: 20px;letter-spacing: -0.42px; }
	#main .desc p + p { margin-top: 8px; }
	#main .intro_img { margin-top: 32px; border-radius: 8px; }
	#main .sub_tit { font-size: 28px; line-height: 34px; letter-spacing: -0.98px; text-align: left; }
	#main .sub_desc { margin-top: 20px; font-size: 14px; line-height: 20px; letter-spacing: -0.42px; word-break: keep-all;text-align: left; overflow-wrap: break-word; }
	#main .sub_desc br { display: none; }
	#main .con_typeA { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 32px; }
	#main .con_typeA .img { order: 0; flex: none; width: 100%; margin: 0 auto; }
	#main .con_typeA .txt { order: 1; flex: none; width: 100%; }
	#main .con_typeA .txt ul { gap: 16px; width: 100%; height: auto; }
	#main .con_typeA .txt ul li { gap: 16px; padding: 16px 12px; border-radius: 16px; }
	#main .con_typeA .txt ul li h4 { padding: 6px 24px; font-size: 16px; line-height: 20px; letter-spacing: -0.42px; }
	#main .con_typeA .txt ul li p { font-size: 14px; line-height: 20px; letter-spacing: -0.42px; }
	#main .con_typeA .typeA_list {order: 1; flex: none; width: 100%; gap: 16px; width: 100%; height: auto;}
	#main .con_typeA .typeA_list li {padding: 16px 12px; gap: 8px;}
	#main .con_typeA .typeA_list li span {font-size: 12px; display: flex; width: 26px;height: 26px;}
	#main .con_typeA .typeA_list li h4 {font-size: 14px; line-height: 20px; letter-spacing: -0.42px; }
	
	/* 모바일에서도 sticky 유지. 좌우 배경까지 채워 스크롤 내용이 비치지 않게 합니다. */ 
	#main .tab_menu { position: sticky; top: var(--tab-top, 0px); margin: 32px -16px; padding: 12px 16px; }
	/* 모바일 기본 3열. ul에 tab_col2 / tab_col3 / tab_col4를 지정합니다. */ 
	#main .tab_menu ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; overflow: visible; }
	#main .tab_menu ul.tab_col2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#main .tab_menu ul.tab_col3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	#main .tab_menu ul.tab_col4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	#main .tab_menu li { min-width: 0; }
	#main .tab_menu a { width: 100%; box-sizing: border-box; min-width: 0; min-height: 44px; padding: 10px 6px; font-size: 13px; white-space: normal; overflow-wrap: anywhere; }
	#main .con_list > ul > li { padding: 20px 12px; border-radius: 12px; }
	#main .con_tit h4 { font-size: 16px; padding: 5px 16px; }
	#main .con_tit h4 em { font-size: 14px; }
	#main .con_tit .desc { margin-top: 12px; }
	#main .con_img, #main .box_list { margin-top: 12px; }
	#main .box_list, #main .box_list.el_2, #main .box_list.el_3, #main .box_list.el_4, #main .box_list.el_5 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	#main .con_typeB .box_list { margin-top: 24px; }
	#main .con_typeB .box_tit { font-size: 16px;line-height: 24px; padding: 5px 16px; border-radius: 5px; margin-top: 32px; }
	#main .con_typeB .box_tit.first { margin-top: 24px; }
	#main .con_typeB .box_desc { font-size: 14px;font-weight: 400;line-height: 20px;letter-spacing: -0.42px;margin-top: 10px; }
	#main .con_typeB .box_desc br { display: none; }
	#main .con_img p, #main .box_list .txt, #main .video_list p { padding: 18px 16px; font-size: 16px; }
	#main .box_list .txt span { font-size: 12px; margin-bottom:4px; letter-spacing: -0.24px; }
	#main .box_list .txt h4 { font-size: 16px; letter-spacing: -0.32px; }
	#main .box_list .txt p { font-size: 14px; letter-spacing: -0.42px;line-height: 20px; word-break: keep-all; }
	#main .box_list .txt p br { display: none; }
	#main .box_list .txt ul > li { font-size: 14px;ine-height: 20px;padding-left: 28px; position: relative; }
	#main .box_list .txt ul > li::before { position: absolute;content: "";left: 0;top: 0;background-image: url("/img/sub/con_check_icon.svg");background-repeat: no-repeat;background-size: contain;width: 24px;height: 24px; }
	#main .tip_box { padding:18px 16px; gap: 4px; border-radius: 12px; background: #E8E8E8;margin-top: 28px; }
	#main .tip_box .tit { color: #222; font-size: 16px; padding-left: 24px; }
	#main .tip_box .tit::before { width: 18px; height: 18px; }
	#main .tip_box p { font-size: 14px; line-height: 1.4; word-break: keep-all;}
	#main .tip_box p br {display: none;}
	.check_list { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 22px; }
	.check_list li { padding: 16px; font-size: 14px; }
	.check_list li::before { content: ""; flex-shrink: 0; width:18px; height:18px; border-radius: 50%; background: #202b3d url("/img/sub/check_list_icon.svg") center / 18px 18px no-repeat; }
	#main .video_list { margin-top: 32px; }
	#main .video_list > ul { grid-template-columns: 1fr; gap: 24px; }

}
/* CSS로 미리 숨기지 않아 JS/CDN 오류가 발생해도 내용을 읽을 수 있습니다. */ 

@media (prefers-reduced-motion: reduce) { #main { scroll-behavior: auto; }}
.sub_container { box-sizing: border-box; }

/* ===================================
	 COMMON HERO
=================================== */

#main .common_hero {
	position: relative;
	width: 100%;
	aspect-ratio: 1920 / 532;
	overflow: hidden;
	min-height: 600px;
}

#main .common_hero .txt {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	width: calc(100% - 320px);
	max-width: 1700px;
	margin: 0 auto;
	padding: 188px 20px 80px;
	box-sizing: border-box;
}

#main .common_hero .txt span {
	color: var(--ink);
	font-size: 24px;
	font-weight: 700;
	line-height: 120%;
	letter-spacing: -0.72px;
}

#main .common_hero .txt h2 {
	color: #222;
	font-size: 60px;
	font-weight: 700;
	line-height: 68px;
	letter-spacing: -1.8px;
	margin: 64px 0 24px;
}

#main .common_hero .txt p {
	color: #222;
	font-size: 24px;
	font-weight: 400;
	line-height: 32px;
	letter-spacing: -0.72px;
}

/* 배경 텍스트 */
#main .common_hero .bg_text {
	position: absolute;
	right: 65px;
	bottom: 20px;
	z-index: 1;
	pointer-events: none;
}

#main .common_hero .bg_text img {
	display: block;
	width: 100%;
	height: auto;
}

/* PC / 모바일 이미지 구분 */
#main .common_hero .bg_text .pc_img {
	display: block;
}

#main .common_hero .bg_text .m_img {
	display: none;
}

/* 태블릿 */ 
@media (max-width: 1600px) { 
	#main .common_hero .txt  {width: calc(100% - 80px); }
}
/* ===================================
	 TABLET - 1200px
=================================== */

@media (max-width: 1200px) {

	#main .common_hero {
		aspect-ratio: auto;
		min-height: 450px;
	}

	#main .common_hero .txt {
		padding: 140px 30px 80px;
	}

	#main .common_hero .bg_text {
		right: 30px;
		bottom: 20px;
		width: 70%;
	}

}


/* ===================================
	 MOBILE - 768px
=================================== */

@media (max-width: 768px) {

	#main .common_hero {
		width: 100%;
		min-height: 0;
		aspect-ratio: 320 / 291;
	}

	#main .common_hero .txt {
		width: 100%;
		max-width: none;
		padding: 60px 16px 0;
	}

	#main .common_hero .txt span {
		font-size: 16px;
		letter-spacing: -0.48px;
	}

	#main .common_hero .txt h2 {
		font-size: 40px;
		line-height: 48px;
		letter-spacing: -1.2px;
		margin: 32px 0 12px;
	}

	#main .common_hero .txt p {
		color: #222;
		font-size: 14px;
		line-height: 20px;
		letter-spacing: -0.42px;
	}

	#main .common_hero .bg_text {
		right: 0;
		bottom: 0;
		width: calc(100% - 32px);
	}

	#main .common_hero .bg_text .pc_img {
		display: none;
	}

	#main .common_hero .bg_text .m_img {
		display: block;
	}

}

/* ===================================
	 배경 로고 흐름(마퀴)
	 js/sub.js가 .bg_text에 .is-marquee를 붙이고 로고를 여러 개 복제해 가로로 이어 붙입니다.
	 JS가 동작하지 않으면 기존 배치(로고 1개) 그대로 보입니다.
	 - 트랙 margin-left: 첫 로고를 배너 텍스트 시작선에 맞춥니다.
	 - 로고 크기는 높이로 정합니다. (이미지 가로 길이가 바뀌어도 글자 크기가 유지됩니다)
	 - 로고 간격(padding-right)은 margin-left와 따로 정해도 됩니다. (반복은 js/sub.js가 두 번째 세트부터 잡습니다)
=================================== */
#main .common_hero .bg_text.is-marquee { left: 0; right: 0; width: auto; overflow: hidden; }
#main .common_hero .bg_track { display: flex; width: max-content; margin-left: max(calc((100% - 1700px) / 2 + 20px), 180px); will-change: transform; }
#main .common_hero .bg_text.is-marquee img { flex: none; box-sizing: content-box; width: auto; height: 177px; max-width: none; padding-right: 80px; }
@media (max-width: 1600px) {
	#main .common_hero .bg_track { margin-left: 60px; }
	#main .common_hero .bg_text.is-marquee img { padding-right: 60px; }
}
@media (max-width: 1200px) {
	#main .common_hero .bg_track { margin-left: 70px; }
	#main .common_hero .bg_text.is-marquee img { height: calc(70vw * 177 / 1182); padding-right: 40px; }
}
@media (max-width: 768px) {
	#main .common_hero .bg_track { margin-left: 16px; }
	#main .common_hero .bg_text.is-marquee img { height: calc((100vw - 32px) * 45 / 288); padding-right: 24px; }
}
