@charset "utf-8";
/* ============================================================
   기관소개 (센터소개 > 기관소개) 전용 스타일
   - 페이지 스코프: .agency_renew
   - 2026 리뉴얼 시안 반영
   ============================================================ */

.agency_renew {
	--ag-red: #E83948;
	--ag-ink: #191919;
	--ag-ink2: #3C3A40;
	--ag-gray: #6B6A70;
	--ag-gray2: #9A989E;
	--ag-bg: #F7F6F4;
	--ag-bg2: #FBFAF9;
	--ag-line: rgba(0, 0, 0, .12);
	color: var(--ag-ink);
	/* board.css 의 `* { letter-spacing:-.02em !important }` 전역 규칙이 시안 자간을 덮어쓴다.
	   이 페이지 안에서는 상속을 되살려 시안 값(기본 normal + 지정 요소만 별도)을 그대로 재현한다. */
	letter-spacing: normal !important;
}
.agency_renew * { box-sizing: border-box; letter-spacing: inherit !important; }
.agency_renew p { margin: 0; }

/* 섹션 공통 */
.agency_renew .ag_sec { padding: 0 0 104px; }
.agency_renew .ag_sec:last-child { padding-bottom: 0; }
/* 회색 배경 섹션은 padding 을 덮어쓰므로 섹션 간 여백을 margin 으로 확보 */
.agency_renew .ag_sec.bg { background-color: var(--ag-bg); padding: 96px 80px; margin-bottom: 104px; }
.agency_renew .ag_sec.bg:last-child { margin-bottom: 0; }
.agency_renew .ag_eyebrow {
	margin-bottom: 20px;
	font-weight: 600; font-size: 12px; line-height: 1;
	letter-spacing: .16em !important; color: var(--ag-red);
}
.agency_renew .ag_eyebrow.gray { color: var(--ag-gray2); }
.agency_renew .ag_head {
	margin: 0; font-weight: 700; font-size: 44px; line-height: 1.3;
	letter-spacing: -.03em !important; color: var(--ag-ink);
}

/* 1. DECLARATION */
.agency_renew .ag_declare { padding-bottom: 72px; }
.agency_renew .ag_declare .slogan {
	/* 시안은 h2(24px)의 -.05em(=-1.2px)이 각 줄에 그대로 상속된다. em 으로 두면
	   이 사이트의 h2 기준 크기가 달라 값이 어긋나므로 px 로 고정한다. */
	margin: 0; font-weight: 600; letter-spacing: -1.2px !important;
	white-space: nowrap; color: var(--ag-gray2);
}
.agency_renew .ag_declare .slogan span { display: block; line-height: 1.06; }
.agency_renew .ag_declare .slogan .l1 { font-size: 64px; }
.agency_renew .ag_declare .slogan .l2 { font-size: 74px; padding-left: 44px; }
.agency_renew .ag_declare .slogan .l3 { font-size: 84px; padding-left: 92px; color: var(--ag-red); }
.agency_renew .ag_declare .lead {
	margin-top: 36px; max-width: 900px;
	font-weight: 700; font-size: 40px; line-height: 1.4;
	letter-spacing: -.03em !important; color: var(--ag-ink);
}

/* 2. INTRO */
.agency_renew .ag_intro {
	display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.agency_renew .ag_intro h3 { margin: 0; font-weight: 700; font-size: 44px; line-height: 1.35; letter-spacing: -.03em !important; }
.agency_renew .ag_intro .txt { display: flex; flex-direction: column; gap: 26px; padding-top: 52px; }
.agency_renew .ag_intro .txt p { font-weight: 400; font-size: 18px; line-height: 1.85; color: var(--ag-ink2); }

/* 3. 비전 · 미션 */
.agency_renew .ag_vision { display: flex; flex-direction: column; gap: 44px; }
.agency_renew .ag_vision .vis { display: flex; flex-direction: column; gap: 18px; }
.agency_renew .ag_vision .vis .lb { font-weight: 700; font-size: 12px; line-height: 1; letter-spacing: .16em !important; color: var(--ag-red); }
.agency_renew .ag_vision .vis h3 { margin: 0; font-weight: 700; font-size: 44px; line-height: 1.3; letter-spacing: -.03em !important; max-width: 900px; }
.agency_renew .ag_vision .mis {
	display: flex; flex-direction: column; gap: 16px; max-width: 720px;
	padding-top: 36px; border-top: 1px solid rgba(0, 0, 0, .12);
}
.agency_renew .ag_vision .mis .lb { font-weight: 700; font-size: 12px; line-height: 1; letter-spacing: .16em !important; color: var(--ag-gray2); }
.agency_renew .ag_vision .mis p { font-weight: 500; font-size: 22px; line-height: 1.65; color: var(--ag-ink2); }
.agency_renew .ag_vision .mis p b { color: #17161A; font-weight: 700; }

/* 4. 사업목표 */
.agency_renew .ag_goal .head { margin-bottom: 32px; }
.agency_renew .ag_goal .head h3 { margin: 0; font-weight: 700; font-size: 34px; line-height: 1.3; letter-spacing: -.03em !important; }
.agency_renew .ag_goal .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.agency_renew .ag_goal .card {
	border: 1px solid var(--ag-line); border-radius: 4px; padding: 24px 24px 26px;
	display: flex; flex-direction: column; min-height: 180px;
}
.agency_renew .ag_goal .card .num { font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: -.04em !important; color: var(--ag-red); }
.agency_renew .ag_goal .card .body { margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.agency_renew .ag_goal .card .tit { font-weight: 700; font-size: 18px; line-height: 1.4; }
.agency_renew .ag_goal .card .sub { font-weight: 400; font-size: 14px; line-height: 1.55; color: var(--ag-gray); }

/* 5. 함께하는 사람들 */
.agency_renew .ag_people .ag_head { margin-bottom: 48px; }
.agency_renew .ag_people .chief {
	border-top: 2px solid var(--ag-red); padding: 40px 32px; background: var(--ag-bg2);
	display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start;
}
.agency_renew .ag_people .chief .who { display: flex; flex-direction: column; gap: 6px; }
.agency_renew .ag_people .chief .who .nm { font-weight: 700; font-size: 30px; line-height: 1.3; }
.agency_renew .ag_people .chief .who .ps { font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--ag-red); }
.agency_renew .ag_people .chief .desc { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.agency_renew .ag_people .chief .desc .duty { font-weight: 400; font-size: 17.5px; line-height: 1.6; color: var(--ag-ink2); }

/* 팀 아코디언 */
.agency_renew .ag_team { border-top: 1px solid rgba(0, 0, 0, .14); }
.agency_renew .ag_team:last-of-type { border-bottom: 1px solid rgba(0, 0, 0, .14); }
.agency_renew .ag_team .team_btn {
	width: 100%; padding: 32px 12px; display: flex; align-items: center; gap: 20px;
	text-align: left; background: transparent; transition: background-color .2s;
}
.agency_renew .ag_team .team_btn:hover,
.agency_renew .ag_team .team_btn:focus-visible { background-color: var(--ag-bg2); }
.agency_renew .ag_team .team_btn .nm { font-weight: 700; font-size: 28px; line-height: 1.3; color: var(--ag-ink); }
.agency_renew .ag_team .team_btn .cnt { font-weight: 400; font-size: 15px; line-height: 1.4; color: var(--ag-gray); }
.agency_renew .ag_team .team_btn .ico {
	margin-left: auto; width: 26px; height: 26px; flex: none; position: relative; color: var(--ag-red);
}
.agency_renew .ag_team .team_btn .ico::before,
.agency_renew .ag_team .team_btn .ico::after {
	content: ""; position: absolute; top: 50%; left: 50%; background-color: currentColor;
	transform: translate(-50%, -50%); transition: transform .25s ease;
}
.agency_renew .ag_team .team_btn .ico::before { width: 18px; height: 2px; }
.agency_renew .ag_team .team_btn .ico::after { width: 2px; height: 18px; }
.agency_renew .ag_team .team_btn[aria-expanded="true"] .ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.agency_renew .ag_team .team_panel { overflow: hidden; height: 0; transition: height .3s ease; }
.agency_renew .ag_team .team_panel .inner { padding: 0 0 40px; display: flex; flex-direction: column; }
.agency_renew .ag_team .member {
	background: var(--ag-bg2); padding: 24px 28px;
	display: grid; grid-template-columns: 120px 1fr 160px; gap: 24px; align-items: start;
	border-top: 1px solid rgba(0, 0, 0, .07);
}
.agency_renew .ag_team .member .ps { font-weight: 700; font-size: 16.5px; line-height: 1.5; }
.agency_renew .ag_team .member .duty { font-weight: 400; font-size: 16.5px; line-height: 1.7; color: var(--ag-ink2); }
.agency_renew .ag_team .member .tel,
.agency_renew .ag_people .chief .tel {
	font-weight: 500; font-size: 15.5px; line-height: 1.5; color: var(--ag-gray);
	font-variant-numeric: tabular-nums;
}

/* 6. 발자취 */
.agency_renew .ag_history .head {
	display: flex; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.agency_renew .ag_history .head .ag_head { margin: 0; }
.agency_renew .ag_history .tabs { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.agency_renew .ag_history .yr_btn {
	padding: 12px 20px; border-radius: 100px; font-weight: 600; font-size: 15px; line-height: 1;
	background: var(--ag-bg); color: var(--ag-gray); border: 1px solid var(--ag-line);
	transition: background-color .2s, color .2s, border-color .2s;
}
.agency_renew .ag_history .yr_btn:hover { color: var(--ag-ink); }
.agency_renew .ag_history .yr_btn.on { background: var(--ag-red); color: #fff; border-color: var(--ag-red); }
/* 서울시NPO지원센터(구 센터) 연도 선택 드롭다운 */
.agency_renew .ag_history .oldsel {
	display: none; justify-content: flex-end; margin-bottom: 40px;
	padding-top: 20px; border-top: 1px dashed var(--ag-line);
}
.agency_renew .ag_history .oldsel.on { display: flex; }
.agency_renew .ag_history .oldsel select {
	/* 공통 input_form.css 의 select { width:100%; height:45px } 를 덮어쓴다 */
	flex: none; width: auto; height: auto; min-width: 200px; padding: 13px 44px 13px 20px;
	border: 1px solid var(--ag-line); border-radius: 100px; background-color: #fff;
	font-weight: 600; font-size: 15px; line-height: 1; color: var(--ag-ink);
	appearance: none; -webkit-appearance: none; -moz-appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23E83948' stroke-width='1.8' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 18px center;
	transition: border-color .2s;
}
.agency_renew .ag_history .oldsel select:hover,
.agency_renew .ag_history .oldsel select:focus { border-color: var(--ag-red); }
.agency_renew .ag_history .hs_panel { display: none; }
.agency_renew .ag_history .hs_panel.on { display: block; }
.agency_renew .ag_history .periods { border-bottom: 1px solid rgba(0, 0, 0, .14); }
.agency_renew .ag_history .period {
	display: grid; grid-template-columns: 200px 1fr; gap: 40px;
	padding: 36px 0; border-top: 1px solid rgba(0, 0, 0, .14);
}
.agency_renew .ag_history .period.is_hidden { display: none; }
.agency_renew .ag_history .period .pd { font-weight: 700; font-size: 24px; line-height: 1.3; }
.agency_renew .ag_history .period .items { display: flex; flex-direction: column; gap: 12px; }
.agency_renew .ag_history .period .items div { font-weight: 400; font-size: 16.5px; line-height: 1.6; color: var(--ag-ink2); }
.agency_renew .ag_history .more_wrap { margin-top: 40px; display: flex; justify-content: center; }
.agency_renew .ag_history .more_btn2 {
	padding: 16px 32px; border: 1px solid rgba(0, 0, 0, .2); border-radius: 100px;
	font-weight: 600; font-size: 15.5px; line-height: 1; color: var(--ag-ink2);
	transition: background-color .2s, color .2s, border-color .2s;
}
.agency_renew .ag_history .more_btn2:hover { background: var(--ag-ink); color: #fff; border-color: var(--ag-ink); }

/* 7. CI 소개 */
.agency_renew .ag_ci .ag_head { margin-bottom: 20px; }
.agency_renew .ag_ci .desc {
	margin-bottom: 48px; max-width: 820px;
	font-weight: 400; font-size: 17.5px; line-height: 1.8; color: var(--ag-ink2);
}
.agency_renew .ag_ci .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.agency_renew .ag_ci .item { display: flex; flex-direction: column; gap: 14px; }
.agency_renew .ag_ci .item .tit_row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.agency_renew .ag_ci .item .tit_row .nm { font-weight: 700; font-size: 17px; line-height: 1.4; color: var(--ag-ink); }
.agency_renew .ag_ci .item .tit_row .dl { font-weight: 500; font-size: 14px; line-height: 1; color: #424242; }
.agency_renew .ag_ci .item .tit_row .dl:hover { color: var(--ag-red); }
.agency_renew .ag_ci .item .thumb {
	height: 210px; display: flex; align-items: center; justify-content: center;
	background: #fff; border: 1px solid #ededed; padding: 32px;
}
.agency_renew .ag_ci .item .thumb.full { padding: 0; }
.agency_renew .ag_ci .item .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.agency_renew .ag_ci .item .thumb.full img { width: 100%; height: 100%; object-fit: cover; }
.agency_renew .ag_ci .note { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.agency_renew .ag_ci .note .t { font-weight: 400; font-size: 15px; line-height: 1.6; color: var(--ag-gray); }
.agency_renew .ag_ci .note .colors { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 13px; line-height: 1; color: var(--ag-gray); }
.agency_renew .ag_ci .note .colors span { display: flex; align-items: center; gap: 6px; }
.agency_renew .ag_ci .note .colors i { width: 14px; height: 14px; border-radius: 100px; display: block; }

/* 8. 마스코트 */
.agency_renew .ag_mascot { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; }
.agency_renew .ag_mascot h3 { margin: 0 0 10px; font-weight: 700; font-size: 52px; line-height: 1.2; letter-spacing: -.035em !important; }
.agency_renew .ag_mascot .sub { font-weight: 600; font-size: 19px; line-height: 1.6; color: var(--ag-gray); margin-bottom: 32px; }
.agency_renew .ag_mascot .story { display: flex; flex-direction: column; gap: 18px; font-weight: 400; font-size: 17px; line-height: 1.85; color: var(--ag-ink2); }
.agency_renew .ag_mascot .story p.strong { font-weight: 700; }
.agency_renew .ag_mascot .thumb {
	display: flex; align-items: center; justify-content: center; background: #fff;
	border: 1px solid rgba(0, 0, 0, .08); border-radius: 8px; padding: 16px; aspect-ratio: 1;
}
.agency_renew .ag_mascot .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }

/* 9. 운영법인 */
.agency_renew .ag_corp .box {
	border: 1px solid var(--ag-line); border-radius: 4px; padding: 48px;
	display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center;
}
.agency_renew .ag_corp .box img { width: 100%; height: auto; object-fit: contain; }
.agency_renew .ag_corp .box .cont { display: flex; flex-direction: column; gap: 24px; }
.agency_renew .ag_corp .box .cont p { font-weight: 400; font-size: 17.5px; line-height: 1.85; color: var(--ag-ink2); }

/* 공통 pill 링크 버튼 */
.agency_renew .ag_btn {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 22px; border: 1px solid #17161A; border-radius: 100px;
	font-weight: 600; font-size: 15.5px; line-height: 1; color: #17161A;
	transition: background-color .2s, color .2s;
}
.agency_renew .ag_btn:hover { background: #17161A; color: #fff; }
.agency_renew .ag_btn.dark { background: #17161A; color: #fff; margin-top: 36px; padding: 16px 26px; border-color: #17161A; }
.agency_renew .ag_btn.dark:hover { background: var(--ag-red); border-color: var(--ag-red); }

/* ============================================================
   반응형
   ============================================================ */
@media screen and (max-width: 1400px) {
	.agency_renew .ag_sec.bg { padding: 96px 40px; }
}
@media screen and (max-width: 1280px) {
	.agency_renew .ag_declare .slogan .l1 { font-size: 52px; }
	.agency_renew .ag_declare .slogan .l2 { font-size: 60px; padding-left: 34px; }
	.agency_renew .ag_declare .slogan .l3 { font-size: 68px; padding-left: 72px; }
	.agency_renew .ag_declare .lead { font-size: 32px; }
	.agency_renew .ag_head,
	.agency_renew .ag_intro h3,
	.agency_renew .ag_vision .vis h3 { font-size: 36px; }
	.agency_renew .ag_intro { gap: 48px; }
	.agency_renew .ag_mascot { grid-template-columns: 1fr 300px; gap: 40px; }
	.agency_renew .ag_mascot h3 { font-size: 42px; }
	.agency_renew .ag_corp .box { grid-template-columns: 240px 1fr; gap: 40px; padding: 36px; }
}
@media screen and (max-width: 1080px) {
	.agency_renew .ag_sec { padding-bottom: 80px; }
	.agency_renew .ag_sec.bg { padding: 72px 30px; margin-bottom: 80px; }
	.agency_renew .ag_goal .grid { grid-template-columns: repeat(2, 1fr); }
	.agency_renew .ag_intro { grid-template-columns: 1fr; gap: 28px; }
	.agency_renew .ag_intro .txt { padding-top: 0; }
	.agency_renew .ag_mascot { grid-template-columns: 1fr; gap: 36px; }
	.agency_renew .ag_mascot .thumb { max-width: 380px; }
	.agency_renew .ag_history .period { grid-template-columns: 150px 1fr; gap: 24px; }
}
@media screen and (max-width: 767px) {
	.agency_renew .ag_sec { padding-bottom: 60px; }
	.agency_renew .ag_sec.bg { padding: 56px 20px; margin: 0 -15px 60px; }
	.agency_renew .ag_declare { padding-bottom: 48px; }
	.agency_renew .ag_declare .slogan .l1 { font-size: 34px; }
	.agency_renew .ag_declare .slogan .l2 { font-size: 39px; padding-left: 20px; }
	.agency_renew .ag_declare .slogan .l3 { font-size: 44px; padding-left: 42px; }
	.agency_renew .ag_declare .lead { margin-top: 24px; font-size: 22px; }
	.agency_renew .ag_eyebrow { margin-bottom: 14px; }
	.agency_renew .ag_head,
	.agency_renew .ag_intro h3,
	.agency_renew .ag_vision .vis h3,
	.agency_renew .ag_goal .head h3 { font-size: 26px; }
	.agency_renew .ag_intro .txt p { font-size: 16px; line-height: 1.75; }
	.agency_renew .ag_vision { gap: 32px; }
	.agency_renew .ag_vision .mis { padding-top: 28px; }
	.agency_renew .ag_vision .mis p { font-size: 18px; }
	.agency_renew .ag_goal .grid { grid-template-columns: 1fr; gap: 12px; }
	.agency_renew .ag_goal .card { min-height: 0; padding: 20px; }
	.agency_renew .ag_people .ag_head { margin-bottom: 28px; }
	.agency_renew .ag_people .chief { grid-template-columns: 1fr; gap: 16px; padding: 28px 20px; }
	.agency_renew .ag_people .chief .who .nm { font-size: 24px; }
	.agency_renew .ag_team .team_btn { padding: 24px 4px; gap: 12px; flex-wrap: wrap; }
	.agency_renew .ag_team .team_btn .nm { font-size: 21px; }
	.agency_renew .ag_team .team_btn .cnt { font-size: 13px; }
	.agency_renew .ag_team .member { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
	.agency_renew .ag_team .member .duty,
	.agency_renew .ag_team .member .ps { font-size: 15.5px; }
	.agency_renew .ag_history .head { margin-bottom: 28px; gap: 16px; }
	.agency_renew .ag_history .tabs { margin-left: 0; width: 100%; gap: 6px; }
	.agency_renew .ag_history .yr_btn { padding: 10px 16px; font-size: 14px; }
	.agency_renew .ag_history .oldsel { margin-bottom: 28px; }
	.agency_renew .ag_history .oldsel select { width: 100%; min-width: 0; font-size: 14px; padding: 12px 40px 12px 16px; }
	.agency_renew .ag_history .period { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
	.agency_renew .ag_history .period .pd { font-size: 19px; }
	.agency_renew .ag_history .period .items div { font-size: 15.5px; }
	.agency_renew .ag_history .more_wrap { margin-top: 28px; }
	.agency_renew .ag_ci .desc { margin-bottom: 28px; font-size: 15.5px; line-height: 1.7; }
	.agency_renew .ag_ci .grid { grid-template-columns: 1fr; gap: 20px; }
	.agency_renew .ag_ci .item .thumb { height: 170px; padding: 24px; }
	.agency_renew .ag_mascot h3 { font-size: 34px; }
	.agency_renew .ag_mascot .sub { font-size: 16px; margin-bottom: 24px; }
	.agency_renew .ag_mascot .story { font-size: 15.5px; line-height: 1.75; }
	.agency_renew .ag_corp .box { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
	.agency_renew .ag_corp .box img { max-width: 240px; }
	.agency_renew .ag_corp .box .cont p { font-size: 15.5px; line-height: 1.75; }
	.agency_renew .ag_btn { font-size: 14px; padding: 12px 18px; }
	.agency_renew .ag_btn.dark { margin-top: 24px; padding: 14px 20px; }
}

/* ============================================================
   공익희 이야기 뷰어 (모달 팝업)
   - 기관소개 마스코트 섹션의 '익희 이야기 보러가기' 로 열림
   - 시안: 1120x760 카드 / 좌측 23컷 썸네일 / 우측 scroll-snap 뷰어
   ============================================================ */
.ikhui_modal {
	position: fixed; inset: 0; z-index: 9999;
	display: none; align-items: center; justify-content: center;
	padding: 24px; background: rgba(23, 22, 26, .72);
}
.ikhui_modal.on { display: flex; }
body.ikhui_open { overflow: hidden; }

.ikhui_modal .card {
	width: 1120px; max-width: 100%; height: 760px; max-height: 100%;
	background: #fff; border-radius: 8px; overflow: hidden;
	display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

/* 헤더 */
.ikhui_modal .hd {
	height: 70px; flex: none; padding: 0 24px 0 28px; border-bottom: 1px solid #ededed;
	display: flex; align-items: center; gap: 16px;
}
.ikhui_modal .hd .tit { font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.02em !important; color: #191919; }
.ikhui_modal .hd .cnt { font-weight: 400; font-size: 14px; line-height: 1; color: #8A8A90; }
.ikhui_modal .hd .acts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ikhui_modal .hd .pdf {
	padding: 11px 18px; border: 1px solid rgba(0, 0, 0, .18); border-radius: 100px;
	font-weight: 600; font-size: 14px; line-height: 1; color: #3C3A40; transition: background-color .2s, color .2s;
}
.ikhui_modal .hd .pdf:hover { background: #17161A; border-color: #17161A; color: #fff; }
.ikhui_modal .hd .close {
	width: 38px; height: 38px; flex: none; border-radius: 100px; background: #F1F1F3;
	display: flex; align-items: center; justify-content: center; position: relative; transition: background-color .2s;
}
.ikhui_modal .hd .close:hover { background: #E4E4E8; }
.ikhui_modal .hd .close::before,
.ikhui_modal .hd .close::after {
	content: ""; position: absolute; width: 16px; height: 1.6px; background: #191919;
}
.ikhui_modal .hd .close::before { transform: rotate(45deg); }
.ikhui_modal .hd .close::after { transform: rotate(-45deg); }

/* 본문 2단 */
.ikhui_modal .bd { flex: 1; min-height: 0; display: flex; }

/* 좌측 썸네일 */
.ikhui_modal .rail {
	width: 176px; flex: none; border-right: 1px solid #ededed; background: #FAFAFA;
	overflow-y: auto; overflow-x: hidden; padding: 16px 0;
}
.ikhui_modal .rail .inner { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.ikhui_modal .rail .th { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.ikhui_modal .rail .th .box {
	width: 118px; height: 118px; border: 1px solid rgba(0, 0, 0, .14); border-radius: 4px;
	overflow: hidden; display: block; background: #fff; transition: border-color .2s;
}
.ikhui_modal .rail .th .box img { width: 100%; height: 100%; object-fit: cover; }
.ikhui_modal .rail .th .no { font-weight: 500; font-size: 12px; line-height: 1; color: #8A8A90; }
.ikhui_modal .rail .th:hover .box { border-color: rgba(0, 0, 0, .35); }
.ikhui_modal .rail .th.on .box { border: 2px solid var(--ag-red, #E83948); }
.ikhui_modal .rail .th.on .no { font-weight: 600; color: var(--ag-red, #E83948); }

/* 우측 뷰어 */
.ikhui_modal .view {
	flex: 1; min-width: 0; overflow-y: auto; background: #F7F6F4;
	scroll-behavior: smooth; scroll-snap-type: y mandatory;
}
.ikhui_modal .view .cut {
	height: 690px; flex: none; scroll-snap-align: start;
	display: flex; align-items: center; justify-content: center; padding: 24px 40px;
}
.ikhui_modal .view .cut img {
	display: block; max-width: 100%; max-height: 100%; width: auto; height: 100%;
	object-fit: contain; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .10);
}
.ikhui_modal .view .totop { padding: 0 0 28px; display: flex; justify-content: center; }
.ikhui_modal .view .totop button {
	padding: 14px 24px; border-radius: 100px; background: #191919; color: #fff;
	font-weight: 600; font-size: 14.5px; line-height: 1; transition: background-color .2s;
}
.ikhui_modal .view .totop button:hover { background: var(--ag-red, #E83948); }

@media screen and (max-width: 1080px) {
	.ikhui_modal { padding: 16px; }
	.ikhui_modal .card { height: 100%; }
	.ikhui_modal .rail { width: 140px; }
	.ikhui_modal .rail .th .box { width: 96px; height: 96px; }
	.ikhui_modal .view .cut { height: 560px; padding: 20px 24px; }
}
@media screen and (max-width: 767px) {
	.ikhui_modal { padding: 0; }
	.ikhui_modal .card { border-radius: 0; }
	.ikhui_modal .hd { height: 58px; padding: 0 12px 0 16px; gap: 10px; }
	.ikhui_modal .hd .tit { font-size: 17px; }
	.ikhui_modal .hd .cnt { display: none; }
	.ikhui_modal .hd .pdf { padding: 9px 13px; font-size: 13px; }
	/* 모바일에서는 썸네일을 하단 가로 스트립으로 */
	.ikhui_modal .bd { flex-direction: column-reverse; }
	.ikhui_modal .rail {
		width: 100%; height: 92px; flex: none; border-right: 0; border-top: 1px solid #ededed;
		overflow-x: auto; overflow-y: hidden; padding: 10px 12px;
	}
	.ikhui_modal .rail .inner { flex-direction: row; gap: 8px; align-items: flex-start; width: max-content; }
	.ikhui_modal .rail .th .box { width: 56px; height: 56px; }
	.ikhui_modal .view .cut { height: calc(100vh - 58px - 92px); padding: 14px 12px; }
	.ikhui_modal .view .totop { padding: 0 0 18px; }
}
