@charset "utf-8";

/* =====================================================================
   하위 페이지 공통 (B안 · 기존 구조 + 울진군청 스타일)
   - component/lnb.jsp 에서 불러옴 → 각 페이지 CSS(introduce/application/machine/notice/noticeDetail) 다음에 적용
   - 모든 규칙은 .sub_page 아래로 한정 (메인 화면 영향 없음)
   - IE 모드 대응: CSS 변수·grid 미사용
   - 사업별 색: 농기계 임대·시험장 = 산(초록) / 영농 대행·알림 마당 = 바다(파랑) / 면허 교육 = 들(금색, 글씨는 진한 금색)
   ===================================================================== */

/* ---------- 틀: 상단 사진(first_div)·경로 바(second_div) 숨기고 왼쪽 메뉴 + 본문 ---------- */
.sub_page {
	position: relative;
	width: 1280px;
	min-height: 600px;
	margin: 0 auto;
	padding: 100px 0 90px 300px; /* 헤더(50px)+띠 아래 여백 / 왼쪽 메뉴 250px + 간격 50px */
	box-sizing: border-box;
	font-family: 'Noto Sans KR', sans-serif;
	color: #555;
}

.sub_page #first_div,
.sub_page #second_div {
	display: none;
}

.sub_stripe {
	position: fixed;
	top: 50px;
	left: 0;
	width: 100%;
	height: 4px;
	z-index: 99;
	background: linear-gradient(90deg, #2E6B4F 0, #2E6B4F 33.3%, #1F5F8B 33.3%, #1F5F8B 66.6%, #C9922E 66.6%);
}

/* ---------- 왼쪽 메뉴 ---------- */
.sub_page .lnb {
	position: absolute;
	top: 100px;
	left: 0;
	width: 250px;
}

.sub_page .lnb h2 {
	height: 150px;
	line-height: 150px;
	margin: 0;
	text-align: center;
	background-size: cover;
	background-position: center;
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.5px;
	border-bottom: 4px solid #2E6B4F;
}

.sub_page .lnb ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid #DDD;
	border-top: 0;
}

.sub_page .lnb li + li {
	border-top: 1px solid #DDD;
}

.sub_page .lnb a {
	position: relative;
	display: block;
	padding: 15px 36px 15px 20px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	color: #363636;
	text-decoration: none;
	background: #fff;
}

.sub_page .lnb a:after {
	content: "\203A";
	position: absolute;
	right: 18px;
	top: 50%;
	margin-top: -13px;
	font-size: 20px;
	color: #AAA;
}

.sub_page .lnb a:hover {
	background: #F5F6F7;
}

.sub_page .lnb a.on,
.sub_page .lnb a.on:hover {
	color: #fff;
	background: #2E6B4F;
}

.sub_page .lnb a.on:after {
	color: #fff;
}

/* ---------- 본문 공통 ---------- */
.sub_page #third_div {
	display: block;
	margin: 0;
}

.sub_page .content_wrap,
.sub_page .detail_list_div {
	width: auto;
}

.sub_page .content_wrap > div {
	margin-bottom: 40px;
}

/* 페이지 제목 */
.sub_page .content_title {
	padding-bottom: 18px;
	margin-bottom: 36px !important;
	border-bottom: 2px solid #222;
}

.sub_page .content_title > span {
	font-size: 34px;
	font-weight: 700;
	letter-spacing: -0.5px;
	color: #222;
}

/* 소제목 (위아래 얇은 선 + 사업 색 글씨) */
.sub_page .content_sub_title span {
	font-size: inherit;
	font-weight: inherit;
	font-family: inherit;
}

.sub_page .content_sub_title > div {
	margin-bottom: 6px;
}

.sub_page .content_sub_title .title_box {
	display: flex;
	align-items: center;
	min-height: 52px;
	padding: 0 18px;
	margin-bottom: 14px;
	border-top: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
	box-sizing: border-box;
}

.sub_page .content_sub_title .title_box .border {
	display: none;
}

.sub_page .content_sub_title .title_box span {
	font-size: 19px;
	font-weight: 700;
	color: #2E6B4F;
}

/* 항목 (작은 네모 점) · 하위 항목 (짧은 줄) */
.sub_page .text_box {
	margin-left: 0;
	padding: 0 18px;
	align-items: flex-start;
}

.sub_page .text_box > div:first-child,
.sub_page .many_lines {
	height: 28px;
	margin-right: 10px;
}

.sub_page .circle,
.sub_page .square {
	width: 6px;
	height: 6px;
	border-radius: 0;
	background: #2E6B4F;
}

.sub_page .border_line {
	width: 8px;
	background: #999;
}

.sub_page .content_text,
.sub_page .content_gap_text {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75;
	color: #555;
	font-family: 'Noto Sans KR', sans-serif;
}

.sub_page .content_text p {
	margin: 0;
}

.sub_page .important {
	color: #2E6B4F;
}

/* ---------- 표 공통 (상단 2px 진한 선 · 밝은 회색 머리줄) ---------- */
.sub_page #workfee_table,
.sub_page #schedule_table,
.sub_page #method_table,
.sub_page #list_table {
	width: 100%;
	border: 0;
	border-top: 2px solid #222;
	border-collapse: collapse;
	box-sizing: border-box;
}

.sub_page #workfee_table th,
.sub_page #schedule_table th,
.sub_page #method_table th,
.sub_page #list_table th {
	background: #F5F6F7;
	color: #222;
	font-size: 15px;
	font-weight: 700;
	height: auto;
	padding: 13px 10px;
	border: 0;
	border-bottom: 1px solid #DDD;
	border-right: 1px solid #DDD;
}

.sub_page #workfee_table td,
.sub_page #schedule_table td,
.sub_page #method_table td,
.sub_page #list_table td {
	color: #555;
	font-size: 15px;
	font-weight: 400;
	height: auto;
	line-height: 1.65;
	padding: 12px 12px;
	border: 0;
	border-bottom: 1px solid #DDD;
	border-right: 1px solid #DDD;
}

.sub_page #workfee_table tr > *:last-child,
.sub_page #schedule_table tr > *:last-child,
.sub_page #method_table tr > *:last-child,
.sub_page #list_table tr > *:last-child {
	border-right: 0;
}

/* ---------- 버튼 공통 ---------- */
.sub_page .btn_off,
.sub_page .right_div,
.sub_page .backBtn {
	height: 42px;
	line-height: 40px;
	padding: 0 18px;
	margin: 0 8px 8px 0;
	border: 1px solid #DDD;
	background: #fff;
	color: #222;
	font-family: 'Noto Sans KR', sans-serif;
	font-size: 15px;
	font-weight: 500;
	box-sizing: border-box;
	cursor: pointer;
}

.sub_page .btn_off:hover,
.sub_page .right_div:hover,
.sub_page .backBtn:hover {
	border-color: #2E6B4F;
	color: #2E6B4F;
	background: #fff;
}

.sub_page .btn_on,
.sub_page .btn_on:hover {
	background: #2E6B4F;
	border-color: #2E6B4F;
	color: #fff;
}

/* 임대 신청 방법: 안전수칙·준수사항 버튼 / 공지·자료실: 검색 — 제목 줄 오른쪽에 배치 */
.sub_page #top_btn_div,
.sub_page #search_div {
	position: absolute;
	top: 100px;
	right: 0;
	z-index: 5;
}

/* ---------- 임대 농기계 소개 ---------- */
.sub_page .button_box {
	justify-content: flex-start;
}

.sub_page .jiso_card {
	padding: 18px 22px;
	border: 1px solid #DDD;
	box-sizing: border-box;
	align-items: center;
}

.sub_page .jiso_address,
.sub_page .jiso_contact {
	font-size: 16px !important;
	font-family: 'Noto Sans KR', sans-serif !important;
	color: #555;
}

.sub_page .right_div {
	margin: 0;
	border-color: #222;
}

.sub_page .machineTypeLi {
	width: 180px;
	margin: 0 20px 20px 0;
	border: 1px solid #DDD;
	background: #fff;
}

.sub_page .machineTypeLi:hover {
	background: #fff;
	border-color: #2E6B4F;
}

/* 본문 폭 980px = 카드 180×5 + 간격 20×4 → 5번째마다 오른쪽 간격 제거해야 한 줄 5개 */
.sub_page .machineTypeLi:nth-of-type(5n) {
	margin-right: 0;
}

.sub_page .machineTypeSpan {
	height: 44px;
	font-size: 17px;
	font-weight: 700;
	color: #222;
	border-bottom: 1px solid #DDD;
}

.sub_page .machineTypeLi:hover .machineTypeSpan {
	background: #2E6B4F;
	color: #fff;
}

/* 사진 칸 크기 고정 + 불러오는 동안 회색 (모양만, 동작 변화 없음) */
.sub_page .machineTypeImg {
	height: 150px;
	border-top: 0;
	background: #E9ECEF;
	overflow: hidden;
}

.sub_page .machineTypeImg img,
.sub_page .images-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sub_page .workplaceName {
	height: 34px;
	font-size: 14px;
	font-family: 'Noto Sans KR', sans-serif;
	color: #777;
	border-top: 1px solid #DDD;
}

/* ---------- 장비 목록 (machineDetailList) ---------- */
.sub_page .detail_table {
	width: 100%;
	border-collapse: collapse;
}

.sub_page .detail_thead_tr {
	border-top: 2px solid #222;
	background: #F5F6F7;
}

.sub_page .detail_thead_th {
	border: 0;
	border-bottom: 1px solid #DDD;
	border-right: 1px solid #DDD;
	font-size: 15px;
	font-weight: 700;
	color: #222;
	height: 48px;
}

.sub_page .detail_tbody_td {
	border: 0;
	border-bottom: 1px solid #DDD;
	border-right: 1px solid #DDD;
	padding: 10px;
	font-size: 15px;
	font-family: 'Noto Sans KR', sans-serif;
	color: #555;
}

.sub_page .detail_thead_th:last-child,
.sub_page .detail_tbody_td:last-child {
	border-right: 0;
}

.sub_page .images-container {
	height: 120px;
	background: #E9ECEF;
	overflow: hidden;
}

.sub_page .text_array {
	margin-bottom: 4px;
}

.sub_page .text_array p {
	margin: 0 0 0 10px;
	line-height: 1.6;
}

.sub_page .spaceBetween {
	align-items: flex-end;
}

/* ---------- 페이징 ---------- */
.sub_page #paging_div {
	width: auto;
	margin-top: 30px;
}

.sub_page .pagingBtn {
	width: 38px;
	height: 38px;
	margin: 0 2px;
	border: 1px solid #DDD;
	background: #fff;
	color: #222;
	font-size: 14px;
}

.sub_page .pagingBtn.selected {
	background: #2E6B4F;
	border-color: #2E6B4F;
	color: #fff;
	font-weight: 700;
}

/* ---------- 공지사항 · 자료실 ---------- */
.sub_page .search_toggle,
.sub_page .search_box {
	height: 42px;
	border: 1px solid #DDD;
	border-radius: 0;
	font-size: 15px;
	font-weight: 400;
}

.sub_page .search_input {
	font-size: 15px;
	font-weight: 400;
}

/* 공지사항 · 자료실 검색 (안A): "총 게시물" 아래 [제목|내용|제목+내용] + 입력칸 + 검색 버튼, 공지 화면의 파란색(#1F5F8B)
   선택 표시는 전역 규칙 .on(header.css: 글자 초록 !important)과 부딪히지 않도록 .sel 을 씀 */
.sub_page .board_search {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
}

.sub_page .bs_seg {
	display: flex;
	flex: none;
	border: 1px solid #CFD8DE;
	border-radius: 22px;
	overflow: hidden;
	background: #fff;
}

.sub_page .bs_seg button {
	height: 42px;
	padding: 0 16px;
	border: 0;
	background: #fff;
	color: #444;
	font-size: 14px;
	cursor: pointer;
}

.sub_page .bs_seg button.sel {
	background: #1F5F8B;
	color: #fff;
	font-weight: 700;
}

.sub_page .bs_input {
	flex: 1;
	min-width: 0;
	height: 42px;
	padding: 0 18px;
	border: 1px solid #CFD8DE;
	border-radius: 22px;
	background: #fff;
	font-size: 15px;
}

.sub_page .bs_input:focus {
	border-color: #1F5F8B;
}

.sub_page .bs_btn {
	flex: none;
	height: 42px;
	padding: 0 24px;
	border: 0;
	border-radius: 22px;
	background: #1F5F8B;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

/* 공지사항 · 자료실: 제목 줄과 "총 게시물" 사이 빈 공간 (예전 검색창 자리) 줄임 */
.sub_notice .content_title {
	margin-bottom: 16px !important;
}

.sub_page #four_div .content_sub_title span {
	font-size: 16px;
	color: #222;
}

.sub_page #list_table td {
	text-align: center;
}

.sub_page #list_table .top_th {
	text-align: left;
	font-size: 19px !important;
	background: #fff;
	padding: 18px 20px !important;
}

.sub_page #list_table .content_td {
	text-align: left;
	padding: 30px 20px;
	line-height: 1.9;
}

.sub_page .notice_list_go {
	margin-top: 30px;
	padding: 0;
	list-style: none;
}

.sub_page .notice_list_go li {
	width: auto;
	height: 42px;
	padding: 0 22px;
	border-radius: 0;
	font-family: 'Noto Sans KR', sans-serif;
	font-size: 15px;
	background: #2E6B4F;
}

.sub_page .notice_list_go li a,
.sub_page .notice_list_go li button {
	line-height: 42px;
	color: #fff;
	background: none;
	border: 0;
	font: inherit;
	font-size: 15px;
}

/* =====================================================================
   사업별 색
   ===================================================================== */

/* 영농 대행 · 알림 마당 = 바다(파랑) */
.sub_yeongnong .lnb h2, .sub_notice .lnb h2 { border-bottom-color: #1F5F8B; }
.sub_yeongnong .lnb a.on, .sub_notice .lnb a.on,
.sub_yeongnong .btn_on, .sub_notice .btn_on,
.sub_yeongnong .pagingBtn.selected, .sub_notice .pagingBtn.selected,
.sub_yeongnong .machineTypeLi:hover .machineTypeSpan, .sub_notice .machineTypeLi:hover .machineTypeSpan,
.sub_yeongnong .notice_list_go li, .sub_notice .notice_list_go li { background: #1F5F8B; border-color: #1F5F8B; }
.sub_yeongnong .content_sub_title .title_box span, .sub_notice .content_sub_title .title_box span,
.sub_yeongnong .important, .sub_notice .important { color: #1F5F8B; }
.sub_yeongnong .circle, .sub_notice .circle,
.sub_yeongnong .square, .sub_notice .square { background: #1F5F8B; }

/* 면허 교육 = 들(금색) — 흰 글씨가 올라가는 곳·글씨는 진한 금색(#8A5F12)으로 대비 확보 */
.sub_license .lnb h2 { border-bottom-color: #C9922E; }
.sub_license .lnb a.on,
.sub_license .btn_on,
.sub_license .pagingBtn.selected,
.sub_license .notice_list_go li { background: #8A5F12; border-color: #8A5F12; }
.sub_license .content_sub_title .title_box span,
.sub_license .important { color: #8A5F12; }
.sub_license .circle,
.sub_license .square { background: #C9922E; }

/* =====================================================================
   공지사항 · 자료실 — 목록 (구조 그대로, 모양만)
   ===================================================================== */
.sub_notice #list_table {
	border-top: 2px solid #222;
}

.sub_notice #list_table th {
	background: #fff;
	border: 0;
	border-bottom: 1px solid #DDD;
	color: #888;
	font-size: 14px;
	font-weight: 700;
	padding: 12px 8px;
}

.sub_notice #list_table td {
	border: 0;
	border-bottom: 1px solid #DDE2DF;
	padding: 16px 8px;
	font-size: 14px;
	color: #888;
}

.sub_notice #list_table td:nth-child(2) {
	text-align: left;
	padding-left: 18px;
	font-size: 17px;
	font-weight: 500;
	color: #222;
}

.sub_notice #list_table tr.link_click:hover td {
	background: #E4EEF6;
	cursor: pointer;
}

.sub_notice .search_toggle,
.sub_notice .search_box {
	border-radius: 21px;
}

/* =====================================================================
   공지사항 · 자료실 — 상세 (기사형: 제목 → 정보 한 줄 → 본문 → 첨부 → 이전/다음글)
   ===================================================================== */
.sub_detail #list_table {
	display: block;
	border: 0;
}

.sub_detail #list_table tbody,
.sub_detail #list_table tr {
	display: block;
}

.sub_detail #list_table th,
.sub_detail #list_table td {
	border: 0;
	background: none;
}

.sub_detail #list_table .top_th {
	display: block;
	padding: 6px 0 14px !important;
	font-size: 30px !important;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -.5px;
	text-align: left;
	color: #222;
}

/* 작성일 · 조회수 · 작성자 를 한 줄로 */
.sub_detail #list_table tr:nth-child(2),
.sub_detail #list_table tr:nth-child(3) {
	display: inline;
}

.sub_detail #list_table tr:nth-child(2) th,
.sub_detail #list_table tr:nth-child(3) th {
	display: inline-block;
	width: auto !important;
	padding: 0 6px 0 0;
	font-size: 14px;
	font-weight: 400;
	color: #888;
}

.sub_detail #list_table tr:nth-child(2) td,
.sub_detail #list_table tr:nth-child(3) td {
	display: inline-block;
	width: auto !important;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: #444;
}

.sub_detail #list_table tr:nth-child(2) td + th,
.sub_detail #list_table tr:nth-child(3) th {
	margin-left: 14px;
	padding-left: 14px;
	border-left: 1px solid #CCC;
}

.sub_detail #list_table td:empty {
	display: none;
}

.sub_detail #list_table .content_tr {
	margin-top: 18px;
	border-top: 1px solid #DDD;
}

.sub_detail #list_table .content_td {
	display: block;
	min-height: 240px;
	padding: 34px 4px 40px;
	font-size: 18px;
	line-height: 1.95;
	color: #333;
}

/* 첨부파일 칸 */
.sub_detail #list_table tr:last-child {
	padding: 16px 20px;
	border-radius: 14px;
	background: #F6F7F7;
}

.sub_detail #list_table tr:last-child th {
	display: block;
	width: auto !important;
	padding: 0 0 8px;
	font-size: 14px;
	text-align: left;
	color: #444;
}

.sub_detail #list_table tr:last-child td {
	display: block;
	padding: 0;
	text-align: left;
}

/* 이전글 / 다음글 */
.sub_detail #list_table.page_table {
	margin-top: 26px;
	border-top: 2px solid #222;
}

.sub_detail #list_table.page_table tr {
	border-bottom: 1px solid #E6E9E7;
}

.sub_detail #list_table.page_table tr:last-child {
	padding: 0;
	border-radius: 0;
	background: none;
}

.sub_detail #list_table.page_table th {
	display: inline-block;
	width: 80px !important;
	padding: 15px 8px;
	font-size: 13px;
	color: #666;
}

.sub_detail #list_table.page_table td {
	display: inline-block;
	padding: 15px 8px;
	font-size: 15px;
	color: #333;
	text-align: left;
}

.sub_detail #list_table.page_table tr:hover {
	background: #E4EEF6;
	cursor: pointer;
}

/* 목록보기 · 뒤로가기: 아래 가운데 */
.sub_detail .notice_list_go {
	text-align: center;
	margin-top: 26px;
}

.sub_detail .notice_list_go li {
	display: inline-block;
	margin: 0 4px;
	border-radius: 23px;
}

/* 상세: 본문 영역을 가로 전체로, 빈 칸은 숨김 */
.sub_detail .detail_list_div {
	display: block;
	width: 100%;
}

.sub_detail #list_table {
	width: 100%;
}

.sub_detail #list_table tr:nth-child(3) td:empty {
	display: none;
}

/* =====================================================================
   카드형 본문 (.sp_cards) — 임대 사업 소개·영농 대행·면허 교육·시험장·임대 신청 방법
   색: 기본 초록 / 영농 대행·알림 마당 = 파랑 / 면허 교육 = 금색(글씨는 #8A5F12)
   IE 모드 대응: grid·CSS 변수 미사용 (flex + 여백)
   ===================================================================== */
.sub_page .sp_cards ul,
.sub_page .sp_cards dl,
.sub_page .sp_cards dd {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sub_page .sp_cards .grid {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -8px;
}

.sub_page .sp_cards .card {
	box-sizing: border-box;
	width: calc(50% - 16px);
	margin: 0 8px 16px;
	padding: 22px 24px;
	border: 1px solid #E1E5E3;
	border-radius: 16px;
	background: #fff;
}

.sub_page .sp_cards .card.wide {
	width: calc(100% - 16px);
}

.sub_page .sp_cards .card h4 {
	display: flex;
	align-items: center;
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 700;
	color: #222;
}

.sub_page .sp_cards .card h4 i {
	flex: none;
	width: 10px;
	height: 10px;
	margin-right: 8px;
	border-radius: 50%;
	background: #2E6B4F;
}

/* 항목 목록 — 넓은 카드는 2열 */
.sub_page .sp_cards .card.wide > ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -20px;
}

.sub_page .sp_cards .card.wide > ul > li {
	box-sizing: border-box;
	width: 50%;
	padding-left: 20px;
	padding-right: 20px;
}

.sub_page .sp_cards .card > ul > li {
	position: relative;
	padding: 8px 0 8px 22px;
	border-top: 1px solid #EEF0EF;
	font-size: 17px;
	line-height: 1.65;
	color: #444;
}

.sub_page .sp_cards .card.wide > ul > li {
	padding-left: 42px;
}

.sub_page .sp_cards .card > ul > li:first-child,
.sub_page .sp_cards .card.wide > ul > li:nth-child(2) {
	border-top: 0;
}

.sub_page .sp_cards .card > ul > li:before {
	content: "\2713";
	position: absolute;
	left: 0;
	font-weight: 800;
	color: #2E6B4F;
}

.sub_page .sp_cards .card.wide > ul > li:before {
	left: 20px;
}

.sub_page .sp_cards .card > ul > li.kv {
	display: flex;
	padding-left: 0;
}

.sub_page .sp_cards .card.wide > ul > li.kv {
	padding-left: 20px;
}

.sub_page .sp_cards .card > ul > li.kv:before {
	display: none;
}

.sub_page .sp_cards .card li.kv span {
	flex: none;
	align-self: flex-start;
	min-width: 74px;
	margin: 2px 12px 0 0;
	padding: 2px 10px;
	border-radius: 12px;
	background: #E7F1EB;
	color: #2E6B4F;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.sub_page .sp_cards .card li.kv em {
	flex: 1;
	font-style: normal;
}

.sub_page .sp_cards ul.sub {
	margin: 4px 0 6px;
	padding-left: 4px;
}

.sub_page .sp_cards ul.sub li {
	position: relative;
	width: auto;
	padding: 3px 0 3px 16px;
	border: 0;
	font-size: 15px;
	color: #666;
}

.sub_page .sp_cards ul.sub li:before {
	content: "\2013";
	position: absolute;
	left: 0;
	font-weight: 400;
	color: #666;
}

.sub_page .sp_cards .callout {
	margin: 12px 0 0;
	padding: 12px 16px;
	border-radius: 12px;
	background: #FAF0DC;
	color: #6B4A0C;
	font-size: 15px;
	line-height: 1.6;
}

.sub_page .sp_cards .plain {
	margin: 8px 0;
	font-size: 17px;
}

/* 개요(시험장) */
.sub_page .sp_cards .facts dl {
	display: flex;
	flex-wrap: wrap;
	/* 글자 크기를 정하지 않아 body 의 12px 이 그대로 적용되던 것 → 다른 카드 글자(17px)와 맞춤 */
	font-size: 17px;
	line-height: 1.6;
	color: #444;
}

.sub_page .sp_cards .facts dl > div {
	box-sizing: border-box;
	display: flex;
	width: 50%;
	padding: 4px 24px 4px 0;
}

.sub_page .sp_cards .facts dt {
	flex: none;
	min-width: 48px;
	margin-right: 12px;
	font-weight: 700;
	color: #2E6B4F;
}

/* 표 */
.sub_page .sp_cards .tbl2 {
	overflow-x: auto;
	border: 1px solid #E1E5E3;
	border-radius: 12px;
}

.sub_page .sp_cards .tbl2 table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	font-size: 16px;
}

.sub_page .sp_cards .tbl2 th {
	padding: 12px;
	border: 0;
	background: #E7F1EB;
	color: #2E6B4F;
	font-weight: 700;
}

.sub_page .sp_cards .tbl2 td {
	padding: 12px;
	border: 0;
	border-top: 1px solid #EEF0EF;
	text-align: center;
	line-height: 1.6;
	color: #444;
}

.sub_page .sp_cards .tbl2 th + th,
.sub_page .sp_cards .tbl2 td + td {
	border-left: 1px solid #EEF0EF;
}

/* 영농 대행 신청 — 5단계 */
.sub_page .sp_cards .flow {
	display: flex;
	margin: 0 -6px;
}

.sub_page .sp_cards .fs {
	position: relative;
	box-sizing: border-box;
	flex: 1;
	margin: 0 6px;
	padding: 18px 12px;
	border-radius: 14px;
	background: #E4EEF6;
	text-align: center;
}

.sub_page .sp_cards .fs .n {
	display: inline-block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	border-radius: 50%;
	background: #fff;
	color: #1F5F8B;
	font-weight: 800;
}

.sub_page .sp_cards .fs b {
	display: block;
	margin: 8px 0;
	font-size: 17px;
	color: #222;
}

.sub_page .sp_cards .fs p {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: #555;
}

.sub_page .sp_cards .fs:not(:last-child):after {
	content: "\203A";
	position: absolute;
	right: -14px;
	top: 50%;
	margin-top: -16px;
	font-size: 24px;
	color: #AAA;
	z-index: 2;
}

/* 문의전화 바 */
.sub_page .sp_cards .contact {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 18px;
	padding: 20px 26px;
	border-radius: 16px;
	background: #E7F1EB;
}

.sub_page .sp_cards .contact .ct {
	margin-right: 16px;
	padding: 4px 12px;
	border-radius: 14px;
	background: #2E6B4F;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.sub_page .sp_cards .contact .cn {
	font-size: 17px;
	color: #444;
}

.sub_page .sp_cards .contact b {
	margin-left: auto;
	font-size: 26px;
	color: #2E6B4F;
}

/* 임대 신청 방법 — 3단계 + 규칙 */
.sub_page .sp_cards .steps3 {
	display: flex;
	margin: 0 -8px 16px;
}

.sub_page .sp_cards .st {
	position: relative;
	box-sizing: border-box;
	flex: 1;
	margin: 0 8px;
	padding: 26px 22px 22px;
	border-radius: 16px;
	background: #E7F1EB;
}

.sub_page .sp_cards .st:nth-child(2) { background: #E4EEF6; }
.sub_page .sp_cards .st:nth-child(3) { background: #FAF0DC; }

.sub_page .sp_cards .st .n {
	display: inline-block;
	width: 34px;
	height: 34px;
	line-height: 34px;
	border-radius: 50%;
	background: #fff;
	text-align: center;
	font-weight: 800;
	color: #2E6B4F;
}

.sub_page .sp_cards .st:nth-child(2) .n { color: #1F5F8B; }
.sub_page .sp_cards .st:nth-child(3) .n { color: #8A5F12; }

.sub_page .sp_cards .st b {
	display: block;
	margin-top: 12px;
	font-size: 19px;
	line-height: 1.4;
	color: #222;
}

.sub_page .sp_cards .st p {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.65;
	color: #555;
}

.sub_page .sp_cards .st:not(:last-child):after {
	content: "\203A";
	position: absolute;
	right: -16px;
	top: 50%;
	margin-top: -16px;
	font-size: 26px;
	color: #AAA;
	z-index: 2;
}

.sub_page .sp_cards .law {
	margin: 0 0 10px;
	font-size: 15px;
	color: #777;
}

.sub_page .sp_cards .card.rules > ul > li:before {
	content: "";
	left: 2px;
	top: 17px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #BBB;
}

/* ---- 사업별 색 ---- */
.sub_yeongnong .sp_cards .card h4 i,
.sub_yeongnong .sp_cards .contact .ct { background: #1F5F8B; }
.sub_yeongnong .sp_cards .card > ul > li:before,
.sub_yeongnong .sp_cards .card li.kv span,
.sub_yeongnong .sp_cards .facts dt,
.sub_yeongnong .sp_cards .tbl2 th,
.sub_yeongnong .sp_cards .contact b { color: #1F5F8B; }
.sub_yeongnong .sp_cards .card li.kv span,
.sub_yeongnong .sp_cards .tbl2 th,
.sub_yeongnong .sp_cards .contact { background: #E4EEF6; }

.sub_license .sp_cards .card h4 i,
.sub_license .sp_cards .contact .ct { background: #C9922E; }
.sub_license .sp_cards .card > ul > li:before,
.sub_license .sp_cards .card li.kv span,
.sub_license .sp_cards .facts dt,
.sub_license .sp_cards .tbl2 th,
.sub_license .sp_cards .contact b { color: #8A5F12; }
.sub_license .sp_cards .card li.kv span,
.sub_license .sp_cards .tbl2 th,
.sub_license .sp_cards .contact { background: #FAF0DC; }

.sub_page .sp_cards .card.wide.rules > ul {
	display: block;
	margin: 0;
}

.sub_page .sp_cards .card.wide.rules > ul > li {
	width: auto;
	padding: 6px 0 6px 18px;
	border-top: 0;
}

/* =====================================================================
   임대 농기계 소개 · 장비 목록 — 모서리·색 정리 (구조·동작 그대로)
   ===================================================================== */
.sub_page .machineTypeLi {
	border-color: #E1E5E3;
	border-radius: 16px;
	overflow: hidden;
	transition: transform .15s;
}

.sub_page .machineTypeLi:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, .08);
}

.sub_page .jiso_card {
	border: 0;
	border-radius: 16px;
	background: #E7F1EB;
}

.sub_page .detail_thead_tr {
	background: #F5F6F7;
}

.sub_page .detail_thead_th,
.sub_page .detail_tbody_td {
	border-right: 0;
}

.sub_page .detail_tbody_td {
	border-bottom: 1px solid #DDE2DF;
}

.sub_page .images-container {
	border-radius: 12px;
}

.sub_page .lease_fee {
	font-size: 22px;
	font-weight: 800;
	color: #2E6B4F;
}

/* 카드형 표 구분선 — 모든 칸을 같은 진하기의 선으로 (병합 칸 rowspan이 있어도 선이 끊기지 않게) */
.sub_page .sp_cards .tbl2 {
	overflow: hidden;
	border: 1px solid #CFD6D2;
}

.sub_page .sp_cards .tbl2 table {
	width: calc(100% + 2px);
	margin: -1px; /* 바깥 테두리는 .tbl2 가 그림 (이중선 방지) */
	border-collapse: collapse;
}

.sub_page .sp_cards .tbl2 th,
.sub_page .sp_cards .tbl2 td,
.sub_page .sp_cards .tbl2 th + th,
.sub_page .sp_cards .tbl2 td + td {
	border: 1px solid #CFD6D2;
}

.sub_page .sp_cards .tbl2 .nw {
	white-space: nowrap;
}

/* =====================================================================
   공지사항 · 자료실 — 목록 (안A 표 정돈형)
   목록 영역 폭: 예전 notice.css 가 #four_div 를 가운데 정렬 flex 로 두고 '총 게시물' 줄을 1380px 로
   고정해서 목록은 내용 폭으로 줄고 '총 게시물' 줄은 본문보다 넓어졌음 → 본문 폭 그대로 사용
   ===================================================================== */
.sub_notice #four_div {
	display: block;
	margin-bottom: 70px;
}

.sub_notice #four_div .content_sub_title,
.sub_notice #four_div .detail_list_div,
.sub_notice #four_div #paging_div {
	width: auto;
}

.sub_notice #four_div .detail_list_div {
	text-align: left;
}

.sub_notice .ntbl {
	width: 100%;
	margin-bottom: 20px;
	border-collapse: collapse;
	border-top: 2px solid #222;
	table-layout: fixed;
}

.sub_notice .ntbl th {
	height: 52px;
	padding: 0 8px;
	border: 0;
	border-bottom: 1px solid #CFD8DE;
	background: #E4EEF6;
	color: #1F5F8B;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}

.sub_notice .ntbl td {
	height: 62px;
	padding: 0 8px;
	border: 0;
	border-bottom: 1px solid #DDE2DF;
	background: #fff;
	color: #666;
	font-size: 15px;
	text-align: center;
}

.sub_notice .ntbl td.n {
	font-size: 14px;
	color: #999;
}

.sub_notice .ntbl td.t {
	padding: 0 16px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: left;
	font-size: 18px;
	font-weight: 500;
	color: #222;
}

.sub_notice .ntbl tr.link_click:hover {
	background: none;
}

.sub_notice .ntbl tr.link_click:hover td {
	background: #F4F8FB;
	color: #666;
}

.sub_notice .ntbl tr.link_click:hover td.t {
	color: #1F5F8B;
}

/* 첨부 표시: 확인 중에는 회색 점, 있으면 클립 아이콘 */
.sub_notice .ntbl .clip {
	display: inline-block;
	width: 20px;
	height: 20px;
	vertical-align: middle;
}

.sub_notice .ntbl .clip.load {
	border-radius: 50%;
	background: #ECEFF0;
}

.sub_notice .ntbl .clip img {
	display: block;
	width: 20px;
	height: 20px;
}

/* 데이터 없음 · 검색 결과 없음 */
.sub_notice .ntbl tr.empty td {
	height: auto;
	padding: 70px 20px 64px;
	cursor: default;
	background: #fff;
}

.sub_notice .ntbl tr.empty .em_ic svg {
	display: inline-block;
}

.sub_notice .ntbl tr.empty b {
	display: block;
	margin-top: 14px;
	font-size: 18px;
	font-weight: 700;
	color: #333;
}

.sub_notice .ntbl tr.empty span {
	display: block;
	margin-top: 6px;
	font-size: 15px;
	color: #888;
}

/* 상세: 이전글/다음글 줄이 첨부 칸용 ‘마지막 줄’ 규칙(tr:last-child)에 덮여 위아래로 쌓이던 것을 바로잡음 */
.sub_detail #list_table.page_table tr:last-child {
	padding: 0;
	border-radius: 0;
	background: none;
}

.sub_detail #list_table.page_table tr:last-child th {
	display: inline-block;
	width: 80px !important;
	padding: 15px 8px;
	font-size: 13px;
	color: #666;
	text-align: left;
}

.sub_detail #list_table.page_table tr:last-child td {
	display: inline-block;
	padding: 15px 8px;
	font-size: 15px;
	color: #333;
	text-align: left;
}

.sub_detail .no_attach {
	margin: 0;
	font-size: 15px;
	color: #888;
}

.sub_detail #list_table.page_table tr {
	text-align: left;
}

/* 이전글/다음글 표의 둘째 줄이 위쪽 ‘정보 한 줄’ 규칙(tr:nth-child(2))에 걸려 inline 이 되던 것을 막음 */
.sub_detail #list_table.page_table tr {
	display: block;
}

/* 상세 하단 버튼: 목록보기(채움) / 뒤로가기(테두리) — 글꼴·높이·글자 위치를 같게 맞춤
   (예전에는 뒤로가기만 페이지 안 스타일의 'SB Aggro' 20px 가 적용돼 글자 높이가 어긋났음) */
.sub_detail .notice_list_go {
	margin-top: 34px;
	text-align: center;
}

.sub_detail .notice_list_go li {
	display: inline-block;
	width: auto;
	height: 48px;
	margin: 0 6px;
	padding: 0;
	border: 1px solid #1F5F8B;
	border-radius: 24px;
	background: #1F5F8B;
	overflow: hidden;
	vertical-align: top;
}

.sub_detail .notice_list_go li a,
.sub_detail .notice_list_go li button {
	display: block;
	box-sizing: border-box;
	width: auto;
	height: 46px;
	margin: 0;
	padding: 0 38px;
	border: 0;
	background: none;
	color: #fff;
	font-family: 'Noto Sans KR', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 46px;
	text-align: center;
	cursor: pointer;
}

.sub_detail .notice_list_go li:hover {
	background: #17496B;
	border-color: #17496B;
}

.sub_detail .notice_list_go li + li {
	background: #fff;
}

.sub_detail .notice_list_go li + li button {
	color: #1F5F8B;
}

.sub_detail .notice_list_go li + li:hover {
	background: #E4EEF6;
	border-color: #1F5F8B;
}

/* 이전글/다음글: 두 줄 모두 같은 글자 크기·굵기·색 (위쪽 '정보 한 줄' 규칙이 둘째 줄에 섞여 굵기가 달라지던 것을 막음)
   tr:nth-child(n) 은 해당 규칙보다 우선순위를 높이기 위한 것 */
.sub_detail #list_table.page_table tr:nth-child(n) th {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	color: #555;
}

.sub_detail #list_table.page_table tr:nth-child(n) td {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #222;
}

.sub_detail #list_table.page_table tr:hover td {
	color: #1F5F8B;
}

/* 왼쪽 메뉴 선택 항목: 회색 테두리 안쪽에만 색이 칠해져 위 제목 칸(250px)보다 양쪽 1px씩 작아 보이고
   테두리·구분선이 어긋나 보이던 것 → 선택된 항목의 색이 테두리 위까지 덮어 250px 전체가 한 색으로 보이게 함
   (색은 선택 배경색과 같아야 하므로 사업별 색을 아래에서 다시 지정) */
.sub_page .lnb a.on {
	z-index: 1;
	box-shadow: -1px 0 0 0 #2E6B4F, 1px 0 0 0 #2E6B4F, 0 1px 0 0 #2E6B4F;
}

.sub_page .lnb li + li a.on {
	box-shadow: -1px 0 0 0 #2E6B4F, 1px 0 0 0 #2E6B4F, 0 1px 0 0 #2E6B4F, 0 -1px 0 0 #2E6B4F;
}

.sub_yeongnong .lnb a.on,
.sub_notice .lnb a.on {
	box-shadow: -1px 0 0 0 #1F5F8B, 1px 0 0 0 #1F5F8B, 0 1px 0 0 #1F5F8B;
}

.sub_yeongnong .lnb li + li a.on,
.sub_notice .lnb li + li a.on {
	box-shadow: -1px 0 0 0 #1F5F8B, 1px 0 0 0 #1F5F8B, 0 1px 0 0 #1F5F8B, 0 -1px 0 0 #1F5F8B;
}

.sub_license .lnb a.on {
	box-shadow: -1px 0 0 0 #8A5F12, 1px 0 0 0 #8A5F12, 0 1px 0 0 #8A5F12;
}

.sub_license .lnb li + li a.on {
	box-shadow: -1px 0 0 0 #8A5F12, 1px 0 0 0 #8A5F12, 0 1px 0 0 #8A5F12, 0 -1px 0 0 #8A5F12;
}

/* 왼쪽 메뉴 선택 표시 (제안 B): 연한 사업색 배경 + 사업색 굵은 글자 + 왼쪽 6px 막대
   선택/비선택 글자 굵기를 700/400 으로 벌리고, :link/:visited 까지 색을 지정해 다른 규칙에 덮이지 않게 함 */
.sub_page .lnb a { font-weight: 400; color: #474747; }
.sub_page .lnb a.on,
.sub_page .lnb a.on:link,
.sub_page .lnb a.on:visited,
.sub_page .lnb a.on:hover,
.sub_page .lnb li + li a.on {
	color: #2E6B4F;
	background: #E6F0EA;
	font-weight: 700;
	box-shadow: inset 6px 0 0 #2E6B4F;
}
.sub_page .lnb a.on:after { color: #2E6B4F; }

.sub_yeongnong .lnb a.on, .sub_yeongnong .lnb a.on:link, .sub_yeongnong .lnb a.on:visited, .sub_yeongnong .lnb a.on:hover, .sub_yeongnong .lnb li + li a.on,
.sub_notice .lnb a.on, .sub_notice .lnb a.on:link, .sub_notice .lnb a.on:visited, .sub_notice .lnb a.on:hover, .sub_notice .lnb li + li a.on {
	color: #1F5F8B;
	background: #E4EEF6;
	box-shadow: inset 6px 0 0 #1F5F8B;
}
.sub_yeongnong .lnb a.on:after, .sub_notice .lnb a.on:after { color: #1F5F8B; }

.sub_license .lnb a.on, .sub_license .lnb a.on:link, .sub_license .lnb a.on:visited, .sub_license .lnb a.on:hover, .sub_license .lnb li + li a.on {
	color: #8A5F12;
	background: #F7EEDB;
	box-shadow: inset 6px 0 0 #8A5F12;
}
.sub_license .lnb a.on:after { color: #8A5F12; }

/* =====================================================================
   모바일·태블릿 기본 대응 (화면 폭 1100px 이하일 때만 적용 → 넓은 화면은 그대로)
   틀(왼쪽 메뉴 → 위쪽 가로 메뉴) · 표 · 검색 · 임대 농기계 카드를 좁은 화면에 맞춤
   ===================================================================== */
@media (max-width: 1100px) {
	.sub_page {
		width: auto;
		padding: 84px 16px 60px;
	}

	.sub_page .lnb {
		position: static;
		width: auto;
		margin-bottom: 24px;
	}

	.sub_page .lnb h2 {
		height: 80px;
		line-height: 80px;
		font-size: 22px;
	}

	.sub_page .lnb ul {
		display: flex;
		flex-wrap: wrap;
	}

	.sub_page .lnb li {
		flex: 1 1 50%;
		min-width: 0;
	}

	.sub_page .lnb li + li {
		border-top: 0;
		border-left: 1px solid #DDD;
	}

	.sub_page .lnb a {
		padding: 13px 10px;
		font-size: 15px;
		text-align: center;
	}

	.sub_page .lnb a:after {
		display: none;
	}

	.sub_page .content_wrap,
	.sub_page .content_wrap > div,
	.sub_page .content_wrap img {
		max-width: 100%;
	}

	.sub_page .content_title > span {
		font-size: 26px;
	}

	.sub_page .detail_list_div {
		overflow-x: auto;
	}
}

@media (max-width: 760px) {
	/* 공지사항 · 자료실: 번호·제목·작성일만 (작성자·조회수·첨부는 숨김) */
	.sub_notice .ntbl {
		table-layout: auto;
	}

	.sub_notice .ntbl col,
	.sub_notice .ntbl th:nth-child(n+4),
	.sub_notice .ntbl td:nth-child(n+4) {
		display: none;
	}

	.sub_notice .ntbl th:nth-child(1),
	.sub_notice .ntbl td:nth-child(1) {
		width: 44px;
	}

	.sub_notice .ntbl th:nth-child(3),
	.sub_notice .ntbl td:nth-child(3) {
		width: 88px;
		white-space: nowrap;
		font-size: 13px;
	}

	/* 제목은 한 줄로 잘리지 않고 줄바꿈 */
	.sub_notice .ntbl td.t {
		padding: 12px 8px;
		font-size: 15px;
		line-height: 1.45;
		white-space: normal;
		overflow: visible;
		text-overflow: clip;
		word-break: keep-all;
		overflow-wrap: anywhere;
	}

	.sub_notice .ntbl td {
		height: auto;
	}

	.sub_page .board_search {
		flex-wrap: wrap;
	}

	.sub_page .bs_seg {
		width: 100%;
	}

	.sub_page .bs_seg button {
		flex: 1;
		padding: 0 4px;
	}

	.sub_page .bs_input {
		flex: 1 1 0;
	}

	/* 임대 농기계 종류 카드: 한 줄 2개 */
	.sub_page .machineTypeLi,
	.sub_page .machineTypeLi:nth-of-type(5n) {
		width: calc(50% - 6px);
		margin-right: 12px;
	}

	.sub_page .machineTypeLi:nth-of-type(2n) {
		margin-right: 0;
	}
}

/* =====================================================================
   모바일: 카드형 본문(.sp_cards) 한 줄 한 칸 — 임대 사업 소개·영농 대행·면허 교육·시험장·임대 신청 방법
   ===================================================================== */
@media (max-width: 760px) {
	.sub_page .sp_cards .grid {
		margin: 0;
	}

	.sub_page .sp_cards .card,
	.sub_page .sp_cards .card.wide {
		width: 100%;
		margin: 0 0 14px;
		padding: 18px 16px;
	}

	.sub_page .sp_cards .card h4 {
		font-size: 18px;
	}

	.sub_page .sp_cards .card > ul > li {
		font-size: 16px;
	}

	/* 넓은 카드의 2열 목록 → 1열 */
	.sub_page .sp_cards .card.wide > ul {
		display: block;
		margin: 0;
	}

	.sub_page .sp_cards .card.wide > ul > li {
		width: 100%;
		padding-left: 22px;
		padding-right: 0;
	}

	.sub_page .sp_cards .card.wide > ul > li:nth-child(2) {
		border-top: 1px solid #EEF0EF;
	}

	.sub_page .sp_cards .card.wide > ul > li:before {
		left: 0;
	}

	.sub_page .sp_cards .card.wide > ul > li.kv {
		padding-left: 0;
	}

	.sub_page .sp_cards .card li.kv span {
		min-width: 64px;
		margin-right: 10px;
	}

	/* 개요(시험장) */
	.sub_page .sp_cards .facts dl > div {
		width: 100%;
		padding-right: 0;
	}

	/* 영농 대행 신청 5단계: 가로 → 세로 */
	.sub_page .sp_cards .flow {
		display: block;
		margin: 0;
	}

	.sub_page .sp_cards .fs {
		margin: 0 0 24px;
	}

	.sub_page .sp_cards .fs:not(:last-child):after {
		content: "\203A";
		right: auto;
		left: 50%;
		top: auto;
		bottom: -30px;
		margin: 0 0 0 -8px;
		transform: rotate(90deg);
	}

	.sub_page .sp_cards .contact {
		padding: 16px;
	}

	/* 넓은 표(교육 시간표 등): 칸이 찌그러지지 않게 최소 폭을 두고 옆으로 밀어서 봄 */
	.sub_page .sp_cards .tbl2 {
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
	}

	.sub_page .sp_cards .tbl2 table {
		min-width: 640px;
	}
}
