/* =========================================
   키움공간 메인페이지 전용 CSS  v2.0
   kiwoom_main.css
   ========================================= */

/* ── 기본 초기화 ── */
*, *::before, *::after { box-sizing: border-box; }

body {
	font-size: 18px;
	color: #222;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

/* ── 섹션 공통 ── */
.content_intro,
.content_branch,
.content_process,
.content_space,
.content_news,
.content_map_section {
	width: 100%;
	padding: 60px 0;
	max-width: 100%;
}

.intro_inner,
.branch_inner,
.process_inner,
.space_inner,
.news_inner,
.map_inner {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0;
}

/* ── 섹션 타이틀 공통 ── */
.section_title {
	font-size: 38px;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: #111;
	margin: 0 0 44px 0;
	display: inline-block;
	position: relative;
	width: 100%;
	text-align: center;
}


/* =========================================
   ① 소개 섹션
   ========================================= */
.content_intro {
	background: #f4f6fb;
	text-align: center;
	padding: 44px 0;
}
.intro_inner { max-width: 820px; }

.intro_title {
	font-size: 38px;
	font-weight: 900;
	color: #111;
	margin: 0 0 16px 0;
	letter-spacing: -0.02em;
	line-height: 1.2;
}
.intro_subtitle {
	font-size: 20px;
	font-weight: 700;
	color: #2e5fa3;
	margin: 0 0 28px 0;
}
.intro_desc {
	font-size: 18px;
	color: #555;
	line-height: 2;
	margin: 0;
	word-break: keep-all;
}

/* =========================================
   ② 지점 카드 (이미지 포함)
   ========================================= */
.content_branch { background: #fff; }

.branch_cards {
	display: flex;
	gap: 32px;
	align-items: stretch;
}

.branch_card {
	flex: 1;
	background: #fff;
	border-radius: 16px;
	/* box-shadow: 0 6px 30px rgba(0,0,0,0.10); */
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.28s ease, box-shadow 0.28s ease;
	border: 1px solid #ddd;
}
.branch_card:hover {
	transform: translateY(-8px);
	box-shadow: 0 18px 50px rgba(0,0,0,0.16);
}

/* 카드 이미지 */
.card_img_link { display: block; text-decoration: none; }
.card_img_wrap {
	position: relative;
	width: 100%;
	height: 220px;
	overflow: hidden;
}
.card_img_wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.branch_card:hover .card_img_wrap img {
	transform: scale(1.05);
}
.card_img_overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 14px 20px;
	background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
	display: flex;
	align-items: flex-end;
}
.card_badge {
	display: inline-block;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 6px 16px;
	border-radius: 20px;
}

/* 카드 본문 */
.card_body {
	padding: 32px 28px 28px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.card_info {
	list-style: none;
	margin: 0 0 28px 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1;
}
.card_info li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 17px;
	color: #444;
	line-height: 1.6;
}
.info_icon {
	flex-shrink: 0;
	margin-top: 2px;
	color: #999;
	display: flex;
	align-items: center;
}
.card_btn {
	display: block;
	text-align: center;
	color: #fff;
	text-decoration: none;
	font-size: 17px;
	font-weight: 700;
	padding: 15px 0;
	border-radius: 10px;
	letter-spacing: 0.02em;
	transition: opacity 0.2s, filter 0.2s;
	margin-top: auto;
}
.card_btn:hover { opacity: 0.88; filter: brightness(1.06); }
.jeonju_btn { background: #2e5fa3; }
.iksan_btn  { background: #2ea37a; }

/* =========================================
   ③ 투자 연계 성장 로드맵
   ========================================= */
.content_process {
	background: linear-gradient(135deg, #1d3f72 0%, #2e5fa3 60%, #3a7bd5 100%);
	padding: 60px 0;
}
.process_inner { text-align: center; }

.process_title {
	font-size: 32px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 14px 0;
	letter-spacing: -0.01em;
	position: relative;
	display: block;
}
.process_title::after {
	content: '';
	display: block;
	width: 44px;
	height: 4px;
	background: rgba(255,255,255,0.45);
	margin: 14px auto 0;
	border-radius: 2px;
}
.process_desc {
	font-size: 18px;
	color: rgba(255,255,255,0.75);
	margin: 0 0 30px 0;
}

.process_steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
}

/* 각 스텝 */
.process_step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	flex: 0 0 auto;
	width: 170px;
}
.step_icon_wrap {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background: rgba(255,255,255,0.13);
	border: 2px solid rgba(255,255,255,0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.25s, border-color 0.25s;
}
.process_step:hover .step_icon_wrap {
	background: rgba(255,255,255,0.24);
	border-color: rgba(255,255,255,0.8);
}
.step_num {
	font-size: 13px;
	font-weight: 700;
	color: rgba(255,255,255,0.5);
	letter-spacing: 0.1em;
}
.step_label {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin: 0;
	line-height: 1.3;
}
.step_desc {
	font-size: 15px;
	color: rgba(255,255,255,0.65);
	margin: 0;
	line-height: 1.5;
}

/* 커넥터 화살표 */
.step_connector {
	flex-shrink: 0;
	padding: 0 8px;
	margin-bottom: 54px; /* step_label 높이만큼 보정 */
	display: flex;
	align-items: center;
}

/* =========================================
   ④ 공간구성 탭 섹션
   ========================================= */
.content_space { background: #f4f6fb; }

/* 탭 버튼 */
.space_tabs {
	display: flex;
	gap: 0;
	margin-bottom: 40px;
	border-bottom: 2px solid #dde2ee;
}
.space_tab {
	padding: 14px 36px;
	font-size: 18px;
	font-weight: 700;
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	cursor: pointer;
	color: #888;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: color 0.2s, border-color 0.2s;
	letter-spacing: -0.01em;
}
.space_tab:hover { color: #333; }
.space_tab.active {color: #111;border-bottom-color: #2e5fa3;background-color: #ffffff00;}
.tab_dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

/* 패널 */
.space_panel { display: none; }
.space_panel.active { display: block; }

/* 공간 그리드 */
.space_grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-bottom: 36px;
}
.space_item {
	background: #fff;
	border-radius: 14px;
	padding: 32px 24px 28px;
	/* box-shadow: 0 2px 14px rgba(0,0,0,0.07); */
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	transition: transform 0.22s, box-shadow 0.22s;
}
.space_item:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.space_icon {
	width: 66px;
	height: 66px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.jeonju_icon {
	background: #edf2fb;
	color: #2e5fa3;
}
.iksan_icon {
	background: #e8f7f2;
	color: #2ea37a;
}
.space_name {
	font-size: 19px;
	font-weight: 800;
	color: #111;
	margin: 0;
	line-height: 1.3;
}
.space_desc {
	font-size: 16px;
	color: #555;
	line-height: 1.75;
	margin: 0;
	word-break: keep-all;
	flex: 1;
}

/* 공간 요약 정보 바 */
.space_summary {
	border-radius: 0;
	padding: 28px 36px;
	margin-top: 8px;
}
.jeonju_summary {background: #edf2fb;border-left: 5px solid #2e5fa3;border: 1px solid #99999936;}
.iksan_summary  {background: #e8f7f2;border-left: 5px solid #2ea37a;border: 1px solid #99999929;}

.space_summary dl {
	display: flex;
	flex-wrap: wrap;
	gap: 0 40px;
	margin: 0;
}
.space_summary dl > div {
	display: flex;
	gap: 12px;
	align-items: baseline;
	flex: 1 1 40%;
	padding: 6px 0;
	border-bottom: 1px solid rgba(0,0,0,0.06);
}
.space_summary dt {
	font-size: 14px;
	font-weight: 800;
	color: #2e5fa3;
	white-space: nowrap;
	flex-shrink: 0;
	min-width: 44px;
}
.iksan_summary dt { color: #2ea37a; }
.space_summary dd {
	font-size: 16px;
	color: #333;
	margin: 0;
	line-height: 1.6;
	word-break: keep-all;
}

/* =========================================
   ⑤ NEWS 섹션
   ========================================= */
.content_news { background: #fff; padding: 72px 0; }

.news_header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 0;
}
.news_header .section_title {margin-bottom: 0;width: auto;}

.news_more_btn {
	display: inline-block;
	font-size: 16px;
	font-weight: 700;
	color: #2e5fa3;
	text-decoration: none;
	border: 2px solid #2e5fa3;
	padding: 9px 22px;
	border-radius: 24px;
	letter-spacing: 0.02em;
	transition: background 0.2s, color 0.2s;
	margin-bottom: 6px;
}
.news_more_btn:hover { background: #2e5fa3; color: #fff; }

.news_list {
	list-style: none;
	margin: 36px 0 0;
	padding: 0;
	border-top: 2.5px solid #111;
}
.news_item { border-bottom: 1px solid #e8e8e8; }
.news_link {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 24px 10px;
	text-decoration: none;
	color: #222;
	transition: background 0.15s;
	border-radius: 4px;
}
.news_link:hover { background: #f4f6fb; }
.news_link:hover .news_title_txt { color: #2e5fa3; }
.news_link:hover .news_arrow { color: #2e5fa3; transform: translateX(4px); }

.news_date {
	font-size: 15px;
	color: #999;
	font-weight: 600;
	flex-shrink: 0;
	min-width: 100px;
}
.news_title_txt {
	font-size: 18px;
	font-weight: 500;
	flex: 1;
	line-height: 1.5;
	word-break: keep-all;
	transition: color 0.2s;
}
.news_arrow {
	flex-shrink: 0;
	color: #ccc;
	display: flex;
	align-items: center;
	transition: color 0.2s, transform 0.2s;
}

/* =========================================
   ⑥ 지도 섹션
   ========================================= */
.content_map_section {
	background: #f4f6fb;
	padding: 80px 0;
}
.content_map_section .section_title {
	display: block;
}

.map_branch {
	margin-bottom: 72px;
}
.map_branch:last-child { margin-bottom: 0; }

.map_branch_title {
	font-size: 20px;
	font-weight: 700;
	color: #111;
	margin: 0 0 24px;
	display: flex;
	align-items: center;
	gap: 12px;
	word-break: keep-all;
}
.branch_tag {
	display: inline-block;
	font-size: 14px;
	font-weight: 800;
	color: #fff;
	padding: 4px 14px;
	border-radius: 5px;
	letter-spacing: 0.04em;
	flex-shrink: 0;
}
.jeonju_tag { background: #2e5fa3; }
.iksan_tag  { background: #2ea37a; }

.map_area {
	display: flex;
	gap: 36px;
	align-items: flex-start;
}
.map_wrap {
	flex: 1 1 55%;
	min-width: 0;
	border-radius: 12px;
	overflow: hidden;
	/* box-shadow: 0 4px 20px rgba(0,0,0,0.10); */
}
.map_info {
	flex: 1 1 40%;
	min-width: 0;
}

.map_detail {
	margin: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0;
}
.map_detail dt {
	font-size: 15px;
	font-weight: 800;
	color: #2e5fa3;
	padding: 16px 18px 16px 0;
	border-bottom: 1px solid #e0e4ee;
	white-space: nowrap;
	vertical-align: top;
}
.map_detail dd {
	font-size: 17px;
	color: #333;
	padding: 16px 0;
	border-bottom: 1px solid #e0e4ee;
	margin: 0;
	line-height: 1.6;
	word-break: keep-all;
}

/* 교통 목록 */
.transport_list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.transport_list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 16px;
	color: #444;
	line-height: 1.6;
}
.transport_list li svg { flex-shrink: 0; margin-top: 3px; color: #888; }
.transport_list li strong {
	color: #111;
	font-weight: 700;
	margin-right: 4px;
}

/* =========================================
   반응형 — 모바일 767px 이하
   ========================================= */
@media (max-width: 767px) {
	body { font-size: 16px; }

	.content_intro,
	.content_branch,
	.content_process,
	.content_space,
	.content_news,
	.content_map_section { padding: 56px 0; }

	.intro_inner,
	.branch_inner,
	.process_inner,
	.space_inner,
	.news_inner,
	.map_inner { padding: 0 18px; }

	.intro_title  { font-size: 26px; }
	.intro_subtitle { font-size: 17px; }
	.intro_desc   { font-size: 16px; }

	/* 지점 카드 세로 쌓기 */
	.branch_cards { flex-direction: column; gap: 24px; }
	.card_img_wrap { height: 180px; }
	.card_body { padding: 24px 20px 20px; }
	.card_info li { font-size: 16px; }
	.card_btn { font-size: 16px; }

	/* 로드맵 세로 */
	.process_steps { flex-direction: column; gap: 8px; }
	.step_connector { display: none; }
	.process_step {
		flex-direction: row;
		width: 100%;
		max-width: 320px;
		gap: 20px;
		text-align: left;
	}
	.step_icon_wrap { width: 60px; height: 60px; flex-shrink: 0; }
	.step_icon_wrap svg { width: 30px; height: 30px; }
	.step_label { font-size: 17px; }
	.step_desc  { font-size: 14px; }
	.process_title { font-size: 24px; }
	.process_desc  { font-size: 16px; margin-bottom: 40px; }

	/* 공간구성 */
	.space_tab { padding: 12px 22px; font-size: 16px; }
	.space_grid { grid-template-columns: 1fr 1fr; gap: 16px; }
	.space_item { padding: 22px 16px 18px; gap: 10px; }
	.space_icon { width: 52px; height: 52px; }
	.space_name { font-size: 17px; }
	.space_desc { font-size: 15px; }
	.space_summary dl { flex-direction: column; gap: 0; }
	.space_summary dl > div { flex: none; }

	/* NEWS */
	.news_header { flex-direction: column; align-items: flex-start; gap: 16px; }
	.news_link { flex-wrap: wrap; gap: 6px; padding: 18px 6px; }
	.news_date { min-width: unset; width: 100%; font-size: 13px; }
	.news_title_txt { font-size: 16px; }
	.news_arrow { display: none; }
	.section_title { font-size: 24px; }

	/* 지도 */
	.map_area { flex-direction: column; gap: 22px; }
	.map_wrap, .map_info { flex: none; width: 100%; }
	.map_branch_title { font-size: 17px; flex-wrap: wrap; }
	.map_detail dt { font-size: 14px; }
	.map_detail dd { font-size: 16px; }
}

/* 반응형 — 태블릿 768~1024px */
@media (min-width: 768px) and (max-width: 1024px) {
	.space_grid { grid-template-columns: repeat(2, 1fr); }
	.branch_cards { gap: 20px; }
	.card_img_wrap { height: 180px; }
	.process_step { width: 140px; }
	.step_icon_wrap { width: 76px; height: 76px; }
}