/* 옹달샘 채용 안내 — 내용 영역(.recruit) 안에만 적용한다. 사이트 머리·메뉴·꼬리는 건드리지 않는다.
   글꼴·글자색·선은 사이트(common.css)의 것을 물려받는다: Montserrat·Noto Sans KR, 글자 #333/#666, 선 #dddddd.
   강조색은 초록 하나만 쓴다: 사이트 초록 #6eb43f를 짙게 한 #3d7a1c (흰 글씨 대비 5.3:1, #6eb43f는 2.5:1이라
   시니어 지원자에게 읽기 어렵다). 큰 버튼·번호·링크·작은 머리말이 모두 이 한 색이다.
   큰 동작(초록 버튼)은 한 화면에 하나: 상세 위 "지원하기", 지원 방법 ①의 "입사지원서 내려받기".
   덩어리는 상자 대신 간격으로 묶는다. 휴대폰 기준으로 쓰고 641px·1024px 위를 덧붙인다. */

.recruit {
	--rc-green: #3d7a1c;
	--rc-green-dark: #33681a;
	color: #333333;
	font-size: 18px;
	line-height: 1.65;
	word-break: keep-all;
	overflow-wrap: anywhere;
}
.recruit *,
.recruit *::before,
.recruit *::after { box-sizing: border-box; }

/* 쪽 제목 — 사이트 section.page-title을 그대로 쓰고, 휴대폰 여백만 다른 하위 페이지(terms.css·board.css)와 같게 */
.recruit section.page-title {
	padding: 1.5rem 20px;
	overflow: visible;
}
.recruit section.page-title h1 {
	font-size: 1.6rem;
	line-height: 1.3;
	word-break: keep-all;
}

/* 아래 여백 120px: 사이트 공통 상담 버튼(오른쪽 아래에 떠 있음)이 마지막 글을 가리지 않게 */
.recruit .rc-body {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 120px;
}

.recruit p { margin: 0; }
.recruit a { color: inherit; }
.recruit strong { font-weight: 600; }

.recruit .rc-lead { color: #666666; margin: 24px 0 0; }

.recruit .rc-h2 { font-size: 22px; font-weight: 600; line-height: 1.4; margin: 0 0 16px; color: #333333; }
.recruit .rc-h3 { font-size: 18px; font-weight: 600; margin: 16px 0 4px; color: #333333; }

/* 큰 버튼 — 사이트 button.reserv처럼 모서리 4px. 한 화면에 하나만 쓴다 */
.recruit .rc-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 60px;
	padding: 10px 18px;
	border-radius: 4px;
	font-family: inherit;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
.recruit .rc-btn-main { background: var(--rc-green); color: #ffffff; border: 1px solid var(--rc-green); }
.recruit .rc-btn-main:hover { background: var(--rc-green-dark); }
.recruit .rc-btn-sub { font-size: 15px; font-weight: 400; opacity: 0.92; margin-top: 2px; }
.recruit .rc-btn:focus-visible,
.recruit a:focus-visible,
.recruit button:focus-visible { outline: 3px solid var(--rc-green); outline-offset: 2px; }

/* 글자 링크 — 초록 + 밑줄 */
.recruit .rc-jump a,
.recruit .rc-ask a,
.recruit .rc-tolist a,
.recruit .rc-back a {
	color: var(--rc-green);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 가. 목록 */
.recruit .rc-jump { margin-top: 12px; }
.recruit .rc-jump a { display: inline-block; padding: 6px 0; }

.recruit .rc-count {
	font-size: 22px;
	font-weight: 600;
	margin: 40px 0 0;
	padding-bottom: 12px;
	border-bottom: 2px solid #333333;
}
.recruit .rc-count strong { color: var(--rc-green); }

.recruit .rc-list { margin: 0; padding: 0; list-style: none; }
.recruit .rc-list li { border-bottom: 1px solid #dddddd; }
.recruit .rc-row {
	position: relative;
	display: block;
	padding: 20px 32px 20px 0;
	text-decoration: none;
}
.recruit .rc-row-kicker { display: block; font-size: 16px; font-weight: 600; color: var(--rc-green); }
.recruit .rc-row-title { display: block; font-size: 24px; font-weight: 600; line-height: 1.35; margin: 2px 0 6px; color: #333333; }
.recruit .rc-row-meta { display: block; font-size: 16px; color: #666666; line-height: 1.6; }
.recruit .rc-row-more {
	position: absolute;
	right: 6px;
	top: 50%;
	width: 12px;
	height: 12px;
	margin-top: -6px;
	border-top: 2px solid #333333;
	border-right: 2px solid #333333;
	transform: rotate(45deg);
}
.recruit .rc-row:hover .rc-row-title { color: var(--rc-green); }

/* 지원 방법 — 겉 상자 없이 번호 세 줄. 번호 원 + 한 줄 제목 + 한 줄 설명 */
.recruit .rc-apply { margin-top: 56px; scroll-margin-top: 16px; }
.recruit .rc-steps { margin: 0; padding: 0; list-style: none; }
.recruit .rc-steps li { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; }
.recruit .rc-steps li:first-child { margin-top: 0; }
.recruit .rc-num {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--rc-green);
	color: #ffffff;
	font-size: 17px;
	font-weight: 600;
	line-height: 1;
}
.recruit .rc-step-body { flex: 1; min-width: 0; }
.recruit .rc-step-title { font-size: 19px; font-weight: 600; line-height: 1.5; }
.recruit .rc-step-text { color: #666666; font-size: 16px; margin-top: 4px; }
.recruit .rc-step-body .rc-btn { margin-top: 12px; }
.recruit .rc-step-body .rc-btn + .rc-btn { margin-top: 10px; }

.recruit .rc-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 8px; }
/* 메일 주소는 링크가 아닌 글자 — 길게 누르면 주소 전체가 한 번에 잡히게 */
.recruit .rc-mail-addr {
	font-size: 22px;
	font-weight: 700;
	color: #333333;
	word-break: break-all;
	-webkit-user-select: all;
	user-select: all;
}
/* 주소 복사 — 이 줄의 주된 동작 */
.recruit .rc-copy {
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	color: var(--rc-green);
	background: #ffffff;
	border: 2px solid var(--rc-green);
	border-radius: 4px;
	min-height: 48px;
	padding: 8px 18px;
	cursor: pointer;
}
.recruit .rc-copy:hover { background: var(--rc-green); color: #ffffff; }
.recruit .rc-copy-done { color: var(--rc-green); font-weight: 600; font-size: 16px; margin-top: 6px; min-height: 1em; }
.recruit .rc-copy-done:empty { display: none; }

.recruit .rc-ask {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid #dddddd;
	font-size: 17px;
	color: #666666;
}
.recruit .rc-ask-tel { white-space: nowrap; }
.recruit .rc-ask a { font-size: 18px; }

/* 나. 상세 */
.recruit .rc-back { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; font-size: 16px; color: #666666; }
.recruit .rc-back a { display: inline-block; padding: 6px 0; }

.recruit .rc-summary {
	margin: 16px 0;
	padding: 6px 18px;
	border: 1px solid #dddddd;
	border-radius: 4px;
}
.recruit .rc-summary div { display: flex; padding: 10px 0; border-top: 1px solid #efefef; }
.recruit .rc-summary div:first-child { border-top: 0; }
.recruit .rc-summary dt { flex: none; width: 84px; color: #666666; font-size: 16px; padding-top: 1px; }
.recruit .rc-summary dd { margin: 0; font-weight: 600; }
.recruit .rc-summary small { font-size: 15px; font-weight: 400; color: #666666; }

.recruit .rc-main .rc-lead { margin-top: 32px; }
.recruit .rc-block { margin-top: 40px; }
.recruit .rc-dot { margin: 0; padding: 0; list-style: none; }
.recruit .rc-dot li { position: relative; padding-left: 16px; margin: 4px 0; }
.recruit .rc-dot li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.75em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #999999;
}

.recruit .rc-rows { margin: 0; border-top: 1px solid #dddddd; }
.recruit .rc-rows div { padding: 12px 0; border-bottom: 1px solid #dddddd; }
.recruit .rc-rows dt { font-weight: 600; font-size: 16px; color: #666666; }
.recruit .rc-rows dd { margin: 2px 0 0; }

/* 전형절차 — 배민 "합류여정"처럼 단계를 화살표로 잇되, 상자 대신 글자만 */
.recruit .rc-flow { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; font-weight: 600; }
.recruit .rc-flow li { display: flex; align-items: baseline; }
.recruit .rc-flow li:not(:last-child)::after { content: "›"; color: #999999; margin: 0 12px; font-weight: 400; }
.recruit .rc-flow span { font-size: 14px; color: var(--rc-green); margin-right: 6px; }
.recruit .rc-hint { color: #666666; font-size: 16px; margin-top: 8px; }

.recruit .rc-notes .rc-dot li { color: #666666; font-size: 16px; }
.recruit .rc-tolist { margin-top: 40px; font-size: 17px; }

/* 꼬리 위 두 묶음("지금 예약가능한 프로그램" section.now-program, "옹달샘 스페셜" section.etc)을 이 쪽에서 뺀다
   (팀장 2026-12-02 "지금 예약 가능한 프로그램, 옹달샘 스페셜 이건 빼").
   사이트 하위 페이지도 같은 방식이다: 소개(story.css)·개인정보(terms.css) 등은 그 쪽 CSS에서 두 묶음을 숨긴다
   (2026-12-02 운영 화면에서 소개·개인정보·도움방·찾아오는 길 모두 숨김 확인).
   두 묶음은 공통 꼬리 foot.goc → foot.sub.goc 안에 진짜 꼬리(<footer>)·공통 script와 함께 있어서
   $no_sub로 끄면 <footer>까지 사라지므로 쓰지 않는다. .recruit 뒤에 오는 형제만 고르고,
   휴대폰의 .now-program.on(display: block)보다 우선하게 !important를 붙였다. */
.recruit ~ section.now-program,
.recruit ~ section.etc { display: none !important; }

/* 넓은 화면 — 사이트 page-title처럼 왼쪽 정렬 1200px. 글은 읽기 좋은 폭(약 760px)으로 */
@media (min-width: 641px) {
	.recruit section.page-title { padding: 3.5rem 0 0.5rem; }
	.recruit section.page-title h1 { font-size: 2rem; }
	.recruit .rc-body { padding: 0 0 120px; }
	.recruit .rc-intro { margin-top: 28px; }
	.recruit .rc-intro .rc-lead { margin: 0; }
	/* 지원 방법은 넓은 화면에서도 세로 한 줄 — 순서대로 읽는 길이 하나라 시니어가 따라가기 쉽고,
	   ①의 버튼과 ③의 메일 주소가 좁은 칸에서 줄바꿈되지 않는다 */
	.recruit .rc-apply { max-width: 760px; }
	.recruit .rc-step-body .rc-btn { width: auto; display: inline-flex; padding: 10px 36px; }
	.recruit .rc-rows div { display: flex; }
	.recruit .rc-rows dt { flex: none; width: 120px; }
	.recruit .rc-rows dd { margin: 0; }
}
@media (min-width: 641px) and (max-width: 1240px) {
	.recruit section.page-title { padding-left: 20px; padding-right: 20px; }
	.recruit .rc-body { padding-left: 20px; padding-right: 20px; }
}
/* 배민 PC 상세처럼 요약+지원하기를 오른쪽 기둥에. 배민은 이 기둥이 스크롤을 따라오지만(sticky),
   사이트 common.css가 body·html에 overflow-x: hidden을 걸어 sticky가 듣지 않는다. 사이트 CSS는 고치지 않으므로
   따라오게 하지 않는다(지원하기가 아래 지원 방법으로 데려간다). */
@media (min-width: 1024px) {
	.recruit .rc-detail-grid { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: flex-start; gap: 56px; }
	.recruit .rc-side { flex: none; width: 340px; margin-top: 32px; }
	.recruit .rc-side .rc-summary { margin-top: 0; border-top: 2px solid #333333; }
	.recruit .rc-main { flex: 1; min-width: 0; max-width: 760px; }
}
