/* 노무법인 청사진 공용 서식 (모든 페이지가 함께 씀) */
/* =====================================================
   노무법인 청사진 홈페이지2 - 모든 페이지가 함께 쓰는 꾸밈 파일
   ===================================================== */
:root {
  --bg: #ffffff;
  --bg-soft: #f3f7fc;
  --ink: #16202e;
  --muted: #5a6779;
  --navy: #0b2a5b;
  --navy-2: #12397a;
  --blue: #0b72c4;
  --sky: #6cc6f2;
  --line: #dfe6ef;
  --blank: #e8692e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 19px; line-height: 1.75;
  color: var(--ink); background: var(--bg);
  word-break: keep-all;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.blank { display: inline-block; padding: 0 8px; border: 2px dashed var(--blank); border-radius: 6px; color: var(--blank); font-weight: 700; font-size: 0.85em; }

/* ---------- 맨 위 막대 ---------- */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 46px; height: 46px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text .ko { font-weight: 900; font-size: 23px; letter-spacing: -0.5px; color: #111; }
.logo-text .ko span { color: var(--blue); }
.logo-text .en { font-size: 10px; font-weight: 500; letter-spacing: 1.2px; color: var(--muted); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 18px; font-weight: 700; font-size: 19px; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--navy); }
.top-call { display: inline-flex; flex-direction: column; align-items: stretch; text-decoration: none; line-height: 1.2; }
.top-call .num { font-size: 25px; font-weight: 900; color: var(--navy); letter-spacing: -0.3px; }
.top-call .free { margin-top: 4px; text-align: center; font-size: 14px; font-weight: 700; color: #fff; background: var(--navy); border-radius: 6px; padding: 3px 8px; letter-spacing: 1px; }
.menu-btn { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 32px; height: 32px; }

/* 휴대폰 전체 메뉴 */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--navy); color: #fff; display: none; flex-direction: column; padding: 24px 24px 40px; }
.mobile-menu.show { display: flex; }
.mobile-menu .close { align-self: flex-end; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 20px; }
.mobile-menu nav a { font-size: 28px; font-weight: 900; text-decoration: none; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.mobile-menu nav a.active { color: var(--sky); }
.mobile-menu .m-call { margin-top: auto; display: block; text-align: center; background: #fff; color: var(--navy); border-radius: 14px; padding: 16px; font-size: 24px; font-weight: 900; text-decoration: none; }

/* ---------- 버튼 ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 62px; padding: 0 30px; border-radius: 14px; font-size: 20px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-line:hover { background: var(--bg-soft); }
.btn-white { background: #fff; color: var(--navy); }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--navy); padding-bottom: 2px; }
.more-link:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- 공통 칸 ---------- */
section { padding: 96px 0; scroll-margin-top: 100px; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 16px; letter-spacing: 2px; margin: 0 0 8px; }
h2 { font-size: clamp(28px, 4.2vw, 40px); line-height: 1.35; margin: 0 0 16px; font-weight: 900; letter-spacing: -0.5px; color: #111; }
h2 em { font-style: normal; color: var(--blue); }
.lead { color: var(--muted); font-size: 20px; margin: 0 0 44px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.head-row .lead { margin: 0; }
.soft { background: var(--bg-soft); }
.dark { background: var(--navy); color: #fff; }
.dark h2 { color: #fff; }
.dark .eyebrow { color: var(--sky); }
.dark .lead { color: #c4d2e8; }
.grid-bg {
  background-color: #fff;
  background-image: linear-gradient(rgba(11,114,196,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(11,114,196,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ---------- 메인 첫 화면 ---------- */
.hero { padding: 120px 0 110px; }
.stat { display: inline-block; margin: 0 0 18px; padding: 8px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 18px; }
.stat b { font-size: 24px; color: var(--sky); }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.25; margin: 0 0 28px; font-weight: 900; letter-spacing: -1.5px; color: #111; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .sub { font-size: 22px; color: var(--muted); margin: 0 0 40px; max-width: 660px; }
.hero .sub b { color: var(--navy); }

/* ---------- 하위 페이지 머리 ---------- */
.page-head {
  padding: 72px 0 64px; color: #fff;
  background-color: var(--navy);
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.page-head .crumb { font-size: 15px; color: #b8c8e2; margin: 0 0 10px; }
.page-head .crumb a { text-decoration: none; }
.page-head h1 { margin: 0 0 10px; font-size: clamp(34px, 5vw, 50px); font-weight: 900; letter-spacing: -1px; }
.page-head p { margin: 0; font-size: 20px; color: #d4e0f2; }
.tabs { position: sticky; top: 83px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.tabs .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs .wrap::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 16px 18px; font-weight: 700; font-size: 18px; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.tabs a:hover, .tabs a.active { color: var(--navy); border-color: var(--navy); }

/* ---------- 업무영역 카드 ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.work:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: 0 10px 28px rgba(11,42,91,0.1); }
.work .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 16px; }
.work h3 { margin: 0 0 8px; font-size: 23px; color: #111; }
.work p { margin: 0; color: var(--muted); font-size: 17px; }
.work .go { display: inline-block; margin-top: 14px; color: var(--navy); font-weight: 700; font-size: 16px; }

/* 업무영역 자세히 (work.html) */
.area { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 160px; }
.area:last-child { border-bottom: 0; }
.area .side .ico { width: 72px; height: 72px; font-size: 40px; border-radius: 18px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.area .side h3 { margin: 0 0 8px; font-size: 30px; font-weight: 900; color: #111; }
.area .side p { margin: 0; color: var(--muted); font-size: 18px; }
.area h4 { margin: 0 0 12px; font-size: 18px; color: var(--navy); }
.area ul { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 8px; }
.area li { position: relative; padding-left: 22px; font-size: 18px; }
.area li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.area .cases { display: flex; flex-wrap: wrap; gap: 8px; }
.area .cases span { background: var(--navy); color: #fff; font-size: 15px; font-weight: 700; padding: 5px 12px; border-radius: 8px; }
.area .tip { margin-top: 20px; background: var(--bg-soft); border-left: 4px solid var(--navy); border-radius: 0 12px 12px 0; padding: 16px 20px; font-size: 17px; }

/* ---------- 스스로 확인 ---------- */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.check { display: flex; align-items: center; gap: 16px; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 24px; font-size: 20px; font-weight: 700; cursor: pointer; user-select: none; transition: border-color .15s, background .15s; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { flex: none; width: 34px; height: 34px; border-radius: 9px; border: 2px solid #b6c3d4; display: flex; align-items: center; justify-content: center; color: transparent; font-size: 22px; font-weight: 900; }
.check:has(input:checked) { border-color: var(--navy); background: #eef4fc; }
.check:has(input:checked) .box { background: var(--navy); border-color: var(--navy); color: #fff; }
.check-result { display: none; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: 18px; padding: 20px 26px; font-size: 20px; font-weight: 700; }
.check-result.show { display: flex; }
.check-hint { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- 상담 띠 ---------- */
.cta-band { padding: 72px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: #c4d2e8; font-size: 19px; }

/* ---------- 성공사례 ---------- */
.feature { background: var(--navy); color: #fff; border-radius: 24px; padding: 40px 38px; margin-bottom: 28px; }
.feature .tag { display: inline-block; background: var(--sky); color: var(--navy); font-weight: 900; font-size: 15px; padding: 4px 12px; border-radius: 8px; margin-bottom: 14px; }
.feature h3 { margin: 0 0 22px; font-size: clamp(22px, 3vw, 28px); line-height: 1.45; }
.feature .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature .steps div { background: rgba(255,255,255,0.08); border-radius: 14px; padding: 20px; }
.feature .steps b { display: block; color: var(--sky); font-size: 15px; margin-bottom: 4px; }
.feature .steps p { margin: 0; font-size: 17px; }
.feature .tip { margin: 20px 0 0; font-size: 17px; color: #d4e0f2; }
.case-list { border-top: 2px solid var(--navy); }
.case-row { display: grid; grid-template-columns: 150px 1fr 160px; gap: 20px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--line); text-decoration: none; }
.case-row .cat { justify-self: start; background: var(--bg-soft); color: var(--navy); font-weight: 700; font-size: 15px; padding: 4px 12px; border-radius: 999px; }
.case-row .title { font-size: 20px; font-weight: 700; color: #111; }
.case-row .who { color: var(--muted); font-size: 15px; text-align: right; }
.case-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.case-filter button { font: inherit; font-size: 16px; font-weight: 700; border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.case-filter button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.wins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.win-card { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; transition: border-color .2s; }
a.win-card:hover { border-color: var(--navy); }
.win-card .ok { display: inline-block; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; padding: 3px 10px; border-radius: 6px; margin-bottom: 10px; }
.win-card h4 { margin: 0 0 6px; font-size: 20px; color: #111; line-height: 1.45; }
.win-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* 의뢰인 말씀 */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.voice .say { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.6; color: #111; }
.voice .say::before { content: "“"; display: block; font-size: 56px; line-height: 0.8; color: var(--blue); font-family: Georgia, serif; }
.voice .who { margin: 0; color: var(--muted); font-size: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.voice .who b { color: var(--navy); }

/* ---------- 법인소개 ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story .big { font-size: clamp(26px, 3.4vw, 34px); font-weight: 900; line-height: 1.45; color: #111; margin: 0 0 24px; }
.story .big em { font-style: normal; color: var(--blue); }
.story p { font-size: 19px; margin: 0 0 18px; }
.story .mark { aspect-ratio: 1; border-radius: 28px; display: flex; align-items: center; justify-content: center; }
.story .mark img { width: 52%; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); border-radius: 20px; padding: 30px 26px; }
.value .ico { font-size: 38px; line-height: 1; margin-bottom: 14px; }
.value p { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.55; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.person { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 8px 30px rgba(11,42,91,0.08); }
.person .photo { aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--bg-soft); }
.person .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.person .body { padding: 28px 30px 32px; }
.person .role { margin: 0 0 2px; color: var(--blue); font-weight: 700; font-size: 16px; }
.person .name { margin: 0 0 22px; font-size: 30px; font-weight: 900; color: #111; }
.bio h4 { margin: 0 0 10px; font-size: 16px; color: var(--navy); padding-bottom: 8px; border-bottom: 2px solid var(--navy); display: inline-block; }
.bio ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 6px; }
.bio li { position: relative; padding-left: 18px; font-size: 17px; line-height: 1.6; }
.bio li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.bio .win li::before { content: "✔"; width: auto; height: auto; background: none; top: 0; color: var(--blue); font-weight: 900; font-size: 15px; }
.bio .more { margin: 0; color: var(--muted); font-size: 16px; }
.mini-people { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mini-person { display: flex; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; text-decoration: none; }
.mini-person img { width: 110px; height: 130px; object-fit: cover; object-position: center 10%; border-radius: 14px; }
.mini-person .role { margin: 0; color: var(--blue); font-weight: 700; font-size: 15px; }
.mini-person .name { margin: 0 0 6px; font-size: 25px; font-weight: 900; color: #111; }
.mini-person .one { margin: 0; color: var(--muted); font-size: 16px; }

/* 오시는 길 */
.map-box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: stretch; }
.map-box iframe { width: 100%; min-height: 360px; border: 0; border-radius: 20px; background: var(--bg-soft); }
.info { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.info dl { margin: 0; display: grid; gap: 18px; }
.info dt { font-weight: 700; color: var(--navy); font-size: 16px; }
.info dd { margin: 2px 0 0; font-size: 19px; }

/* 걱정 마세요 */
.worries { display: grid; gap: 16px; }
.worry { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 30px; }
.worry .q { margin: 0; font-size: 21px; font-weight: 900; color: #111; }
.worry .q::before { content: "Q. "; color: var(--blue); }
.worry .a { margin: 0; font-size: 18px; padding-left: 24px; border-left: 3px solid var(--navy); }
.worry .a b { color: var(--navy); }
.clock { margin-top: 36px; border: 2px solid var(--navy); border-radius: 20px; padding: 32px; background: #fff; }
.clock h3 { margin: 0 0 10px; font-size: 26px; color: var(--navy); }
.clock p { margin: 0 0 6px; font-size: 18px; }
.clock .law { color: var(--muted); font-size: 15px; }
.clock .strong { margin-top: 12px; font-size: 21px; font-weight: 900; color: #111; }

/* ---------- 문의하기 ---------- */
.apply { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: flex; align-items: center; gap: 18px; text-decoration: none; border-radius: 18px; padding: 22px 24px; border: 1px solid var(--line); background: #fff; }
.c-card .ic { flex: none; width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.c-card .ic svg { width: 28px; height: 28px; }
.c-card .t { margin: 0; font-size: 15px; color: var(--muted); font-weight: 700; }
.c-card .n { margin: 0; font-size: 26px; font-weight: 900; color: #111; letter-spacing: -0.3px; }
.c-card.call { background: var(--navy); border-color: var(--navy); }
.c-card.call .t { color: #c4d2e8; }
.c-card.call .n { color: #fff; }
.c-card.call .ic { background: rgba(255,255,255,0.12); color: #fff; }
.c-card.kakao .ic { background: #fee500; color: #191919; }
.c-card.blog .ic { background: #03c75a; color: #fff; }
.reply { margin: 18px 0 0; font-size: 18px; color: var(--muted); }
.reply b { color: var(--navy); }
form.apply-form { background: #fff; color: #111; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: 0 8px 30px rgba(11,42,91,0.06); }
form.apply-form h3 { margin: 0 0 20px; font-size: 24px; color: #111; }
label { display: block; font-weight: 700; margin: 0 0 8px; font-size: 18px; }
.field { margin-bottom: 20px; }
input[type="text"], input[type="tel"], textarea { width: 100%; font: inherit; font-size: 19px; color: #111; background: var(--bg-soft); border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; }
input:focus, textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
textarea { min-height: 110px; resize: vertical; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { font-weight: 500; display: inline-flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; margin: 0; cursor: pointer; }
.radios input { width: 20px; height: 20px; accent-color: var(--navy); }
.agree { display: flex; gap: 10px; align-items: center; }
.agree input { width: 22px; height: 22px; accent-color: var(--navy); }
.agree label { margin: 0; font-weight: 500; font-size: 16px; }
form .btn { width: 100%; margin-top: 6px; }
.form-msg { display: none; margin: 16px 0 0; padding: 14px 18px; border-radius: 12px; background: #eef4fc; border: 1px solid var(--navy); font-size: 17px; }
.runs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.run { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); border-radius: 20px; padding: 30px 26px; }
.run .ico { font-size: 38px; line-height: 1; margin-bottom: 14px; }
.run p { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.55; }

/* ---------- 맨 아래 ---------- */
footer.site { background: #0a1a33; color: #9fb0c8; padding: 48px 0 110px; font-size: 15px; line-height: 1.9; }
footer.site .top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
footer.site .logo-text .ko { color: #fff; }
footer.site .logo-text .ko span { color: var(--sky); }
footer.site .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site .links a { text-decoration: none; color: #d4e0f2; font-weight: 700; }
footer.site b { color: #fff; font-weight: 700; }
footer.site .notice { margin: 14px 0 0; font-size: 13.5px; }

/* ---------- 옆에 떠 있는 버튼 ---------- */
.float { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 45; display: flex; flex-direction: column; gap: 10px; }
.float a { width: 72px; height: 72px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 13px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 18px rgba(11,42,91,0.18); transition: transform .2s; }
.float a:hover { transform: translateX(-4px); }
.float svg { width: 26px; height: 26px; }
.float .f-call { background: var(--navy); color: #fff; }
.float .f-kakao { background: #fee500; color: #191919; }
.float .f-blog { background: #03c75a; color: #fff; }
.float .f-form { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: #111; color: #fff; padding: 14px 22px; border-radius: 12px; font-size: 17px; z-index: 70; display: none; max-width: calc(100% - 32px); text-align: center; }
.mobile-bar { display: none; }

/* ---------- 부드럽게 나타나기 ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ========== 화면 크기별 ========== */
@media (max-width: 1240px) {
  .float { top: auto; bottom: 20px; transform: none; }
  .float a { width: 62px; height: 62px; border-radius: 50%; font-size: 11px; }
  .float svg { width: 22px; height: 22px; }
}
@media (max-width: 1060px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .tabs { top: 83px; }
}
@media (max-width: 900px) {
  body { font-size: 18px; }
  section { padding: 64px 0; }
  .hero { padding: 72px 0; }
  .works, .wins { grid-template-columns: 1fr 1fr; }
  .checks, .voices, .runs, .values, .feature .steps, .story, .people, .apply, .map-box, .mini-people { grid-template-columns: 1fr; }
  .area { grid-template-columns: 1fr; gap: 20px; padding: 44px 0; }
  .worry { grid-template-columns: 1fr; gap: 10px; }
  .worry .a { padding-left: 16px; }
  .case-row { grid-template-columns: 1fr; gap: 6px; }
  .case-row .who { text-align: left; }
  .story .mark { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  header.site .wrap { padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .logo { gap: 8px; }
  .logo img { width: 30px; height: 30px; }
  header.site .logo-text .ko { font-size: 17px; white-space: nowrap; }
  header.site .logo-text .en { display: none; }
  .top-call { margin-left: auto; }
  .top-call .num { font-size: 16px; white-space: nowrap; }
  .top-call .num .tel-ico { display: none; }
  .menu-btn { padding: 4px; }
  .menu-btn svg { width: 28px; height: 28px; }
  .top-call .free { font-size: 10.5px; padding: 2px 4px; letter-spacing: 0; }
  .tabs { top: 63px; }
  .tabs a { font-size: 16px; padding: 13px 12px; }
  section { padding: 48px 0; }
  .hero { padding: 48px 0 52px; }
  .hero .sub { font-size: 18px; margin-bottom: 28px; }
  h2 { font-size: 25px; }
  .lead { font-size: 17px; margin-bottom: 28px; }
  .page-head { padding: 44px 0 40px; }
  .page-head p { font-size: 17px; }
  .btns .btn { width: 100%; }
  .works { gap: 10px; }
  .work { padding: 16px 14px; border-radius: 14px; }
  .work .ico { width: 40px; height: 40px; font-size: 22px; margin-bottom: 8px; border-radius: 10px; }
  .work h3 { font-size: 17px; margin: 0; }
  .work p, .work .go { display: none; }
  .check { padding: 16px 18px; font-size: 18px; }
  .check br { display: none; }
  .wins { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .wins::-webkit-scrollbar { display: none; }
  .win-card { flex: 0 0 62%; scroll-snap-align: start; }
  .feature { padding: 26px 20px; }
  .mini-person img { width: 84px; height: 100px; }
  .mini-person .name { font-size: 21px; }
  .cta-band { padding: 48px 0; }
  .cta-band .btn { width: 100%; }
  form.apply-form, .clock, .info { padding: 24px 18px; }
  .c-card .n { font-size: 22px; }
  .map-box iframe { min-height: 260px; }
  /* 휴대폰: 아래 고정 막대 + 카카오톡·블로그만 띄우기 */
  .float { right: 12px; bottom: 80px; gap: 8px; }
  .float .f-call, .float .f-form { display: none; }
  .float a { width: 54px; height: 54px; }
  .float a span { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; box-shadow: 0 -4px 16px rgba(0,0,0,0.08); }
  .mobile-bar a { min-height: 64px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 19px; text-decoration: none; }
  .mobile-bar .m-call { background: var(--navy); color: #fff; }
  .mobile-bar .m-form { background: #fff; color: var(--navy); border-top: 1px solid var(--line); }
}


  /* ===== 홈페이지4 전용 꾸밈 ===== */

  /* ===== 성공사례 카드 + 자세히 보기 창 ===== */
  .case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
  .case-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 26px rgba(11,42,91,0.06); }
  .case-thumb { aspect-ratio: 16 / 10; background: var(--bg-soft) center top / cover no-repeat; position: relative; border-bottom: 1px solid var(--line); }
  .case-thumb.plain { background: var(--navy); display: flex; align-items: center; padding: 22px; border-bottom: 0; }
  .case-thumb.plain p { margin: 0; color: #fff; font-size: 19px; font-weight: 700; line-height: 1.5; }
  .case-count { position: absolute; right: 10px; bottom: 10px; background: rgba(11,42,91,0.88); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
  .case-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
  .case-meta { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
  .case-field { background: var(--bg-soft); color: var(--navy); font-size: 13.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
  .case-who { color: var(--muted); font-size: 13.5px; font-weight: 700; }
  .case-title { margin: 0 0 10px; font-size: 19px; font-weight: 900; line-height: 1.45; color: #111; }
  .case-result { margin: 0 0 16px; font-size: 16px; color: var(--ink); }
  .case-result b { color: var(--navy); font-size: 18px; }
  .case-open { margin-top: auto; width: 100%; min-height: 48px; border: 2px solid var(--navy); background: #fff; color: var(--navy); border-radius: 12px; font: inherit; font-size: 16.5px; font-weight: 700; cursor: pointer; }
  .case-open:hover { background: var(--navy); color: #fff; }
  .case-open:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
  .wins-title { margin: 0 0 16px; font-size: 22px; font-weight: 900; color: #111; }

  .case-modal { width: min(760px, calc(100% - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,0.35); }
  .case-modal::backdrop { background: rgba(10,26,51,0.6); }
  .case-modal .modal-close { position: absolute; top: 12px; right: 12px; margin: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
  .modal-body { padding: 26px 64px 30px 30px; overflow-y: auto; max-height: calc(100vh - 40px); }
  .modal-title { margin: 6px 0 8px; font-size: 25px; line-height: 1.4; font-weight: 900; color: #111; }
  .modal-quote { margin: 0 0 18px; color: var(--blue); font-weight: 700; font-size: 17px; }
  .modal-body h3 { margin: 24px 0 8px; font-size: 18px; color: var(--navy); }
  .modal-body p, .modal-body li { font-size: 17px; line-height: 1.75; }
  .modal-body ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
  .modal-result { background: #eef4fc; border-left: 4px solid var(--navy); padding: 14px 16px; border-radius: 0 10px 10px 0; font-weight: 700; }
  .modal-tip { margin-top: 16px; background: var(--bg-soft); padding: 14px 16px; border-radius: 10px; }
  .modal-note { margin: 0 0 10px; color: var(--muted); font-size: 14px !important; }
  .modal-imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
  .modal-imgs figure { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
  .modal-imgs img { width: 100%; display: block; }
  .modal-imgs figcaption { padding: 8px 10px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); }
  .modal-call { display: flex; align-items: center; justify-content: center; margin-top: 24px; min-height: 54px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; }

  @media (max-width: 900px) { .case-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) {
    .case-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px 32px; padding: 0 16px 8px; scrollbar-width: none; }
    .case-grid::-webkit-scrollbar { display: none; }
    .case-card { flex: 0 0 84%; scroll-snap-align: start; }
    .case-title { font-size: 17.5px; }
    .wins-title { font-size: 19px; }
    .case-modal { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border-radius: 0; }
    .modal-body { padding: 18px 18px 28px; max-height: 100%; }
    .modal-body .case-meta { padding-right: 52px; }
    .modal-title { font-size: 21px; }
    .modal-body p, .modal-body li { font-size: 16px; }
    .modal-imgs { grid-template-columns: 1fr; }
  }

  /* ===== 물 흐르듯 움직이는 띠 (성공사례 카드, 감사 문자) ===== */
  .flow { overflow: hidden; margin: 0 -20px; padding: 4px 0 10px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  .flow .flow-track { display: flex; align-items: stretch; width: max-content; gap: 16px; margin: 0; padding: 0 8px; overflow: visible; }
  .flow.moving .flow-track { animation: flowLeft var(--flow-time, 40s) linear infinite; }
  .flow.moving:hover .flow-track { animation-play-state: paused; }
  @keyframes flowLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  /* 성공사례 카드 */
  .flow-cases .case-card { flex: 0 0 330px; scroll-snap-align: none; cursor: pointer; }
  .flow-cases .case-card:hover { border-color: var(--navy); }
  /* 감사 문자 캡처 */
  .thx { margin: 0; flex: 0 0 auto; background: #fff; border-radius: 16px; padding: 10px; display: flex; align-items: center; }
  .thx img { display: block; height: 230px; width: auto; border-radius: 10px; }
  @media (max-width: 560px) {
    .flow { margin: 0 -16px; }
    .flow .flow-track { gap: 12px; padding: 0 6px; }
    .flow-cases .case-card { flex-basis: 270px; }
    .thx { padding: 8px; border-radius: 14px; }
    .thx img { height: 170px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .flow { overflow-x: auto; }
  }

  /* 언론 인터뷰와 활동 */
  .press { margin-top: 64px; }
  .press-title { margin: 0 0 6px; font-size: 26px; font-weight: 900; color: #111; }
  .press-lead { margin: 0 0 24px; color: var(--muted); font-size: 18px; }
  .press-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .press-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
  .press-card:hover { border-color: var(--navy); transform: translateY(-3px); }
  .press-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
  .press-thumb { aspect-ratio: 16 / 9; background: var(--navy) center / cover no-repeat; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
  .press-thumb .play-ico { width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; font-size: 20px; padding-left: 4px; }
  .press-thumb.text span { font-size: 24px; font-weight: 900; }
  .press-thumb.text small { font-size: 14px; color: #c4d2e8; margin-top: 4px; }
  .press-thumb.insta { background: linear-gradient(135deg, #12397a, #0b2a5b); }
  .press-thumb.photo-top { background-position: center top; }
  .press-thumb.photo-contain { background-color: #fff; background-size: contain; border-bottom: 1px solid var(--line); }
  .press-card:hover .press-thumb.photo-contain { background-color: #fff; }
  .press-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
  .press-src { margin: 0 0 6px; font-size: 13.5px; font-weight: 700; color: var(--blue); }
  .press-head { margin: 0 0 10px; font-size: 18px; font-weight: 900; line-height: 1.45; color: #111; }
  .press-quote { margin: 0 0 14px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
  .press-who { margin: auto 0 0; font-size: 14px; font-weight: 700; color: var(--navy); }
  @media (max-width: 900px) { .press-list { grid-template-columns: 1fr; } .press-thumb { aspect-ratio: 16 / 7; } }
  @media (max-width: 560px) {
    .press { margin-top: 40px; }
    .press-title { font-size: 21px; }
    .press-lead { font-size: 15.5px; margin-bottom: 16px; }
    .press-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
    .press-list::-webkit-scrollbar { display: none; }
    .press-card { flex: 0 0 82%; scroll-snap-align: start; }
    .press-thumb { aspect-ratio: 16 / 9; }
  }

  /* 박희진 노무사 인터뷰 반영: 사례 담당자 표시, 노무사 한마디 */
  .feature + .feature { margin-top: -4px; }
  .feature .case-who { display: inline-block; margin-left: 10px; font-size: 14px; font-weight: 700; color: #c4d2e8; }
  .person .pmsg { margin: -12px 0 18px; font-size: 16.5px; line-height: 1.7; color: var(--muted); }
  @media (max-width: 560px) {
    .person .pmsg { display: none; }
  }

  /* 블로그 버튼 2개: 이름 두 줄 + 휴대폰에서도 구분되게 성(김·박) 표시 */
  .float .f-blog span { font-size: 11px; line-height: 1.25; text-align: center; }
  .float .f-blog { position: relative; }
  .float .f-blog::after { content: attr(data-badge); position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #03c75a; border: 2px solid #03c75a; font-size: 12px; font-weight: 900; line-height: 16px; text-align: center; }

  /* ===== 첫 화면: 사진 5장 슬라이드 ===== */
  .phero { position: relative; height: min(680px, calc(100vh - 82px)); min-height: 560px; overflow: hidden; color: #fff; display: flex; align-items: center; background: #0a1a33; padding: 0; }
  .pslide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
  .pslide.on { opacity: 1; }
  .pbg { position: absolute; inset: 0; background-size: cover; background-position: center; }
  .pslide.on.run .pbg { animation: p-zoom 7s linear forwards; }
  @keyframes p-zoom { from { transform: scale(1); } to { transform: scale(1.1); } }
  .pslide.office { background: #6f5b4c; }
  .pslide.office .pbg { left: auto; width: 62%; background-position: center 18%; }
  .pslide.office .pbg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #6f5b4c 0%, rgba(111,91,76,0) 30%); }
  .pslide.room .pbg { background-position: center 62%; }
  .pshade { position: absolute; inset: 0; z-index: 1; transition: background 1.2s ease; background: linear-gradient(90deg, rgba(10,26,51,0.85) 0%, rgba(10,26,51,0.55) 50%, rgba(10,26,51,0.15) 100%); }
  .phero.is-office .pshade { background: linear-gradient(90deg, rgba(10,26,51,0.88) 0%, rgba(10,26,51,0.55) 42%, rgba(10,26,51,0) 68%); }
  .phero .wrap { position: relative; z-index: 2; width: 100%; }
  .phero h1 { margin: 0 0 18px; font-size: clamp(30px, 5vw, 58px); line-height: 1.3; letter-spacing: -1px; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,0.3); }
  .phero h1 .l1, .phero h1 .l2 { display: block; }
  .phero h1 .l1 { font-weight: 700; color: rgba(255,255,255,0.78); }
  .phero h1 .l2 { font-weight: 900; }
  .phero h1 .mark { background: linear-gradient(transparent 62%, rgba(108,198,242,0.6) 62%, rgba(108,198,242,0.6) 92%, transparent 92%); background-repeat: no-repeat; padding: 0 4px; }
  .phero .sub { margin: 0 0 28px; max-width: 600px; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.7; color: rgba(255,255,255,0.88); }
  .phero .sub b { color: #fff; }
  .pbtns { display: flex; gap: 12px; flex-wrap: wrap; }
  .pbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 28px; border-radius: 14px; font-size: 19px; font-weight: 700; text-decoration: none; }
  .pbtn-white { background: #fff; color: var(--navy); }
  .pbtn-line { border: 2px solid rgba(255,255,255,0.85); color: #fff; }
  .pchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
  .pchips span { font-size: 14px; font-weight: 700; color: #fff; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; padding: 4px 12px; }
  .pchips span::before { content: "✔ "; color: var(--sky); }
  .pbars { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
  .pbars button { width: 40px; height: 18px; padding: 7px 0; border: 0; background: none; cursor: pointer; }
  .pbars button span { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.35); overflow: hidden; position: relative; }
  .pbars button.on span::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: p-bar 6s linear forwards; }
  @keyframes p-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .pcredit { position: absolute; right: 12px; bottom: 10px; z-index: 3; font-size: 11px; color: rgba(255,255,255,0.55); }
  .phero.play .w { display: inline-block; opacity: 0; animation: h-rise .45s cubic-bezier(.2,.7,.2,1) forwards; }
  .phero.play .w:nth-child(2) { animation-delay: .1s; }
  .phero.play .w:nth-child(3) { animation-delay: .2s; }
  .phero.play .l2 { opacity: 0; animation: h-rise .5s cubic-bezier(.2,.7,.2,1) .4s forwards; }
  .phero.play .mark { background-size: 0% 100%; animation: h-pen .6s cubic-bezier(.6,0,.2,1) .85s forwards; }
  .phero.play .sub, .phero.play .pbtns, .phero.play .pchips { opacity: 0; animation: h-fade .5s ease 1.2s forwards; }
  @media (prefers-reduced-motion: reduce) {
    .pslide.on.run .pbg { animation: none; }
    .phero.play .w, .phero.play .l2, .phero.play .sub, .phero.play .pbtns, .phero.play .pchips { opacity: 1; animation: none; transform: none; }
    .phero.play .mark { animation: none; background-size: 100% 100%; }
    .pbars button.on span::after { animation: none; transform: none; }
  }
  @media (max-width: 560px) {
    .phero { height: 600px; min-height: 0; align-items: flex-end; padding-bottom: 60px; }
    .pshade { background: linear-gradient(180deg, rgba(10,26,51,0.15) 0%, rgba(10,26,51,0.6) 42%, rgba(10,26,51,0.93) 100%); }
    .phero.is-office .pshade { background: linear-gradient(180deg, rgba(10,26,51,0) 0%, rgba(10,26,51,0.55) 40%, rgba(10,26,51,0.93) 100%); }
    .pslide.office .pbg { width: 100%; background-size: 118% auto; background-position: center -10px; }
    .pslide.office .pbg::before { display: none; }
    .pslide.room .pbg { background-position: center 40%; }
    .phero h1 { font-size: min(28px, 6.3vw); letter-spacing: -1.2px; }
    .phero h1 .l2 { white-space: nowrap; } /* "이제 보상받으실 차례입니다."를 한 줄로 */
    .phero .sub { font-size: 15.5px; margin-bottom: 18px; }
    .phero .sub br { display: none; }
    .pbtns { gap: 8px; }
    .pbtn { width: 100%; min-height: 52px; font-size: 17px; }
    .pchips { margin-top: 14px; }
    .pchips span { font-size: 12px; padding: 3px 9px; }
    .pbars { bottom: 18px; }
  }

  /* 첫 화면 글자 효과: ① 빠른 형광펜 (약 1.5초) */
  .hero h1 .l1, .hero h1 .l2 { display: block; }
  .hero h1 .l1 { font-weight: 700; color: var(--ink); }
  .hero h1 .l2 { font-weight: 900; color: #111; }
  .hero h1 .mark {
    color: var(--navy); padding: 0 4px;
    background-image: linear-gradient(transparent 60%, rgba(108,198,242,0.45) 60%, rgba(108,198,242,0.45) 92%, transparent 92%);
    background-repeat: no-repeat; background-size: 100% 100%;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
  }
  .hero.play .w { display: inline-block; opacity: 0; animation: h-rise .45s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero.play .w:nth-child(2) { animation-delay: .1s; }
  .hero.play .w:nth-child(3) { animation-delay: .2s; }
  .hero.play .l2 { opacity: 0; animation: h-rise .5s cubic-bezier(.2,.7,.2,1) .4s forwards; }
  .hero.play .l1 { animation: h-recede .6s ease .9s forwards; }
  .hero.play .mark { background-size: 0% 100%; animation: h-pen .6s cubic-bezier(.6,0,.2,1) .85s forwards; }
  .hero.play .sub { opacity: 0; animation: h-fade .5s ease 1.2s forwards; }
  @keyframes h-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes h-recede { to { color: #8a95a6; } }
  @keyframes h-pen { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
  @keyframes h-fade { from { opacity: 0; } to { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) {
    .hero.play .w, .hero.play .l2, .hero.play .sub { opacity: 1; animation: none; transform: none; }
    .hero.play .l1 { animation: none; color: #8a95a6; }
    .hero.play .mark { animation: none; background-size: 100% 100%; }
  }
  @media (max-width: 560px) {
    .hero h1 { font-size: 28px; letter-spacing: -1px; }
    .hero h1 .pre { display: block; }
    .hero .sub br { display: none; }
  }
  .nav a { padding: 8px 12px; font-size: 18px; white-space: nowrap; }
  /* 메뉴가 6개라 화면이 좁으면 줄 바꿈 대신 ☰ 메뉴로 */
  .top-call .num { white-space: nowrap; }
  @media (max-width: 1240px) { .nav { display: none; } .menu-btn { display: block; } }
  @media (min-width: 1241px) and (max-width: 1420px) { .nav a { padding: 8px 9px; font-size: 17px; } }
  .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
  .chips span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 16px; color: var(--navy); }
  .chips span::before { content: "✔"; color: var(--blue); }

  /* 숫자 띠: 청사진을 선택해야 하는 이유 */
  .why {
    color: #fff; text-align: center; padding: 88px 0 80px;
    background-color: #0a1f44;
    background-image:
      radial-gradient(ellipse at 50% 0%, rgba(108,198,242,0.18), transparent 60%),
      linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: auto, 32px 32px, 32px 32px;
  }
  .why h2 { color: #fff; margin-bottom: 18px; }
  .why h2 em { color: var(--sky); }
  .why .badge { display: inline-block; background: rgba(0,0,0,0.45); padding: 8px 18px; font-weight: 700; font-size: 18px; margin: 0 0 56px; }
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); }
  .stat-item { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 6px 16px; }
  .stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,0.2); }
  .stat-item .ic { flex: none; width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; }
  .stat-item .ic svg { width: 40px; height: 40px; }
  .stat-item .txt { text-align: left; }
  .stat-item .lb { margin: 0 0 4px; font-size: 17px; color: #d4e0f2; }
  .stat-item .val { margin: 0; font-size: 46px; font-weight: 900; line-height: 1; letter-spacing: -1px; white-space: nowrap; }
  .stat-item .val small { font-size: 18px; font-weight: 700; letter-spacing: 0; margin: 0 2px; }
  .why .foot { margin: 44px 0 0; font-size: 14px; color: #9fb0c8; }
  /* 세 가지 약속 */
  .promises { margin-top: 56px; text-align: left; }
  .promise-title { margin: 0 0 20px; text-align: center; font-size: 26px; font-weight: 900; color: #fff; }
  .promise-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .promise { background: #fff; color: var(--ink); border-radius: 18px; padding: 24px 24px 22px; }
  .promise-name { margin: 0 0 12px; font-size: 20px; font-weight: 900; color: var(--navy); }
  .promise ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
  .promise li { position: relative; padding-left: 14px; font-size: 16.5px; line-height: 1.6; }
  .promise li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
  .promise b { color: var(--navy); }
  @media (max-width: 900px) { .promise-list { grid-template-columns: 1fr; } }
  @media (max-width: 560px) {
    .promises { margin-top: 36px; }
    .promise-title { font-size: 21px; margin-bottom: 14px; }
    .promise-list { gap: 10px; }
    .promise { padding: 18px; border-radius: 14px; }
    .promise-name { font-size: 18px; margin-bottom: 8px; }
    .promise li { font-size: 15px; }
  }

  /* 2번 칸: 직업별 */
  .jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 56px; }
  .job { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
  .job .ico { font-size: 36px; line-height: 1; }
  .job p { margin: 0; font-size: 19px; font-weight: 500; flex: 1; }
  .job .tag { align-self: flex-start; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; padding: 4px 12px; border-radius: 8px; }
  .sub-title { font-size: 24px; font-weight: 900; margin: 0 0 16px; color: #111; }

  /* 3번 칸: 포기하지 마세요 */
  .also { background: var(--navy); color: #fff; border-radius: 22px; padding: 34px; margin-top: 40px; }
  .also h3 { margin: 0 0 20px; font-size: 24px; }
  .also ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
  .also li { font-size: 19px; font-weight: 700; padding-left: 34px; position: relative; }
  .also li::before { content: "✔"; position: absolute; left: 0; color: var(--sky); font-weight: 900; }
  .also li small { display: block; font-weight: 400; color: #c4d2e8; font-size: 15.5px; }

  /* 4-1번 칸: 의뢰인 감사 인사 (문자 화면형) */
  .chats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .chat { background: #fff; color: var(--ink); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
  .chat .tag { align-self: flex-start; font-size: 13.5px; font-weight: 700; color: var(--navy); background: var(--bg-soft); border-radius: 999px; padding: 3px 12px; }
  .bub { max-width: 92%; background: #eef1f5; border-radius: 4px 20px 20px 20px; padding: 14px 18px; font-size: 18px; line-height: 1.65; }
  .bub.mine { align-self: flex-end; background: #e3f1fb; border-radius: 20px 4px 20px 20px; }
  .bub mark { background: linear-gradient(transparent 58%, rgba(108,198,242,0.5) 58%); color: inherit; padding: 0 2px; }
  .bub .gift { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; color: #8a5a00; background: #fff4cc; border-radius: 8px; padding: 2px 10px; }
  .chat .who { margin: auto 0 0; padding-top: 8px; font-size: 14px; color: var(--muted); }
  .thanks-foot { margin: 22px 0 0; font-size: 14px; color: #9fb0c8; }
  @media (max-width: 560px) {
    .chats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
    .chats::-webkit-scrollbar { display: none; }
    .chat { flex: 0 0 86%; scroll-snap-align: start; padding: 18px; }
    .bub { font-size: 16px; padding: 12px 14px; }
    .thanks-foot { font-size: 12.5px; }
  }

  /* 5번 칸: 청사진 사람들 */
  .story-box { background: #fff; border-left: 5px solid var(--navy); border-radius: 0 20px 20px 0; padding: 30px 34px; margin-bottom: 44px; }
  .story-box .big { font-size: clamp(22px, 3vw, 28px); font-weight: 900; color: #111; margin: 0 0 14px; line-height: 1.45; }
  .story-box .big em { font-style: normal; color: var(--blue); }
  .story-box p { margin: 0 0 10px; font-size: 18.5px; }
  .story-box p:last-child { margin: 0; }
  .bio-btn { display: none; }
  .runs { margin-top: 44px; }
  .run { background: var(--navy); border: 0; color: #fff; }

  /* 6번 칸: 자주 묻는 질문 */
  .faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; }
  .faq summary { cursor: pointer; padding: 22px 26px; font-size: 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: #111; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::before { content: "Q."; color: var(--blue); font-weight: 900; margin-right: 6px; }
  .faq summary span { flex: 1; }
  .faq summary::after { content: "+"; color: var(--navy); font-size: 28px; line-height: 1; }
  .faq details[open] summary::after { content: "−"; }
  .faq .a { padding: 0 26px 22px 56px; margin: 0; font-size: 18px; }
  .faq .a b { color: var(--navy); }
  .faq .a a { color: var(--blue); font-weight: 700; }

  /* 산재 가이드 */
  .guide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
  .g-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
  .g-item[open] { grid-column: 1 / -1; border-color: var(--navy); }
  .g-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; padding: 20px 22px; font-size: 19px; font-weight: 700; color: #111; }
  .g-item summary::-webkit-details-marker { display: none; }
  .g-item summary span:nth-child(2) { flex: 1; }
  .g-item summary::after { content: "+"; color: var(--navy); font-size: 26px; line-height: 1; }
  .g-item[open] summary::after { content: "−"; }
  .g-item summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 16px; }
  .g-no { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-soft); color: var(--blue); font-weight: 900; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
  .g-body { padding: 0 24px 22px; font-size: 17px; line-height: 1.75; }
  .g-body p { margin: 0 0 12px; }
  .g-body b { color: var(--navy); }
  .g-body ol, .g-body ul { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; }
  .g-note { background: var(--bg-soft); border-radius: 10px; padding: 12px 14px; }
  .g-table { width: 100%; border-collapse: collapse; margin: 4px 0 14px; font-size: 16px; }
  .g-table th, .g-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
  .g-table thead th { background: var(--navy); color: #fff; }
  .g-table tbody th { background: var(--bg-soft); color: var(--navy); white-space: nowrap; }
  .g-table small { font-weight: 400; opacity: .85; }
  .g-num { max-width: 520px; }
  .g-num td { text-align: center; }
  .g-num tbody tr:nth-child(even) td { background: #f7f9fc; }
  .g-grid, .g-check { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 10px !important; }
  .g-grid li, .g-check li { background: var(--bg-soft); border-radius: 10px; padding: 12px 14px; font-size: 15.5px; line-height: 1.55; }
  .g-grid li b, .g-check li b { display: block; font-size: 17px; margin-bottom: 2px; }
  .g-check { grid-template-columns: repeat(3, 1fr); }
  .g-more { margin: 22px 0 0; color: var(--muted); font-size: 16px; }
  .g-more a { color: var(--blue); font-weight: 700; }
  @media (max-width: 760px) {
    .guide-list { grid-template-columns: 1fr; }
    .g-item summary { padding: 16px; font-size: 17px; }
    .g-no { width: 32px; height: 32px; font-size: 14px; }
    .g-body { padding: 0 16px 18px; font-size: 16px; }
    .g-table { font-size: 14.5px; }
    .g-table th, .g-table td { padding: 8px; }
    .g-grid, .g-check { grid-template-columns: 1fr; }
  }

  /* 7번 칸 */
  .apply .big-call { display: block; text-decoration: none; background: #fff; color: var(--navy); border-radius: 20px; padding: 30px; text-align: center; margin-bottom: 16px; }
  .apply .big-call .t { font-size: 18px; font-weight: 700; margin: 0; }
  .apply .big-call .n { font-size: clamp(30px, 4vw, 42px); font-weight: 900; margin: 4px 0; }
  .apply .big-call .s { font-size: 15px; margin: 0; color: var(--muted); }
  .dark .reply { color: #dbe6f5; margin: 0 0 6px; }
  .dark .reply b { color: #fff; }
  .map-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; min-height: 46px; padding: 0 18px; border: 2px solid rgba(255,255,255,0.7); border-radius: 12px; color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; }
  .map-btn:hover { background: #fff; color: var(--navy); }
  .map-btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
  .swipe-hint { display: none; }

  @media (max-width: 1100px) {
    .stats { grid-template-columns: 1fr 1fr; row-gap: 36px; }
    .stat-item:nth-child(3) { border-left: 0; }
  }
  @media (max-width: 900px) {
    .jobs { grid-template-columns: 1fr 1fr; }
    .also ul { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    /* 휴대폰: 짧고 눈에 띄게 */
    .chips span { font-size: 14px; padding: 5px 11px; }
    .why { padding: 52px 0 48px; }
    .why .badge { font-size: 14.5px; margin-bottom: 32px; }
    .stats { row-gap: 28px; }
    .stat-item { flex-direction: column; gap: 10px; padding: 0 6px; }
    .stat-item .txt { text-align: center; }
    .stat-item .ic { width: 56px; height: 56px; }
    .stat-item .ic svg { width: 28px; height: 28px; }
    .stat-item .lb { font-size: 14px; }
    .stat-item .val { font-size: 32px; }
    .stat-item .val small { font-size: 14px; }
    .why .foot { font-size: 12.5px; margin-top: 30px; }
    .jobs { grid-template-columns: 1fr; gap: 10px; margin-bottom: 36px; }
    .job { flex-direction: row; align-items: center; padding: 16px; gap: 12px; }
    .job .ico { font-size: 28px; }
    .job p { font-size: 16.5px; }
    .job .tag { display: none; }
    .voices { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
    .voices::-webkit-scrollbar { display: none; }
    .voice { flex: 0 0 84%; scroll-snap-align: start; padding: 24px 20px; }
    .voice .say { font-size: 18px; }
    .also { padding: 22px 18px; margin-top: 28px; }
    .also h3 { font-size: 20px; }
    .also li { font-size: 17px; }
    .also li small { display: none; }
    .feature h3 { margin: 0; font-size: 20px; }
    .feature .steps, .feature .tip { display: none; }
    .story-box { padding: 20px; margin-bottom: 28px; }
    .story-box p:not(.big) { display: none; }
    .people { grid-template-columns: 1fr 1fr; gap: 12px; }
    .person .body { padding: 14px 12px 16px; }
    .person .role { font-size: 12px; }
    .person .name { font-size: 21px; margin-bottom: 10px; }
    .bio-btn { display: block; width: 100%; background: #fff; border: 1px solid var(--navy); color: var(--navy); border-radius: 10px; padding: 7px 4px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
    .person .bio { display: none; }
    .person.open .bio { display: block; margin-top: 12px; }
    .bio li { font-size: 13.5px; padding-left: 14px; }
    .bio h4, .bio .more { font-size: 13px; }
    .runs { gap: 10px; margin-top: 28px; }
    .run { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
    .run .ico { font-size: 28px; margin: 0; }
    .run p { font-size: 17px; }
    .faq summary { padding: 16px 18px; font-size: 17.5px; }
    .faq .a { padding: 0 18px 18px 18px; font-size: 16px; }
    .swipe-hint { display: block; margin: -10px 0 12px; color: var(--blue); font-weight: 700; font-size: 15px; }
  }

/* =====================================================
   분리형 홈페이지에서 새로 쓰는 서식
   ===================================================== */
/* 다른 페이지 맨 위 띠 */
.page-hero { background: var(--navy); color: #fff; padding: 56px 0 50px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(108,198,242,0.28), transparent 70%); }
.page-hero .crumb { margin: 0 0 10px; font-size: 15px; color: #9fb0c8; }
.page-hero .crumb a { color: #c4d2e8; text-decoration: none; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero h1 { margin: 0 0 12px; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.3; letter-spacing: -1px; }
.page-hero h1 em { font-style: normal; color: var(--sky); }
.page-hero p.sub { margin: 0; font-size: 18px; color: #dbe6f5; max-width: 720px; }
.page-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; position: relative; z-index: 1; }
.page-tabs a { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; border: 1px solid rgba(255,255,255,0.45); border-radius: 999px; padding: 6px 14px; }
.page-tabs a:hover { background: #fff; color: var(--navy); }

/* 첫 페이지: 더 알아보기 카드 */
.more-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.more-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.more-card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11,42,91,0.1); }
.more-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.more-card .ico { font-size: 30px; }
.more-card h3 { margin: 0; font-size: 21px; color: #111; }
.more-card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.more-card .go { margin-top: auto; padding-top: 8px; color: var(--blue); font-weight: 700; font-size: 15.5px; }

/* 첫 페이지: 짧은 사람 소개 */
.people-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.pm { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.pm img { width: 110px; height: 130px; object-fit: cover; object-position: center top; border-radius: 12px; flex: 0 0 auto; }
.pm .role { margin: 0; font-size: 14px; font-weight: 700; color: var(--blue); }
.pm .name { margin: 2px 0 6px; font-size: 24px; font-weight: 900; color: #111; }
.pm .msg { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.see-more { display: flex; justify-content: center; margin-top: 26px; }
.see-more a { display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 26px; border: 2px solid var(--navy); border-radius: 12px; color: var(--navy); background: #fff; font-weight: 700; font-size: 17px; text-decoration: none; }
.see-more a:hover { background: var(--navy); color: #fff; }
.dark .see-more a { border-color: rgba(255,255,255,0.7); color: #fff; background: transparent; }
.dark .see-more a:hover { background: #fff; color: var(--navy); }

/* 첫 페이지: 직업 카드를 누르면 업무 영역으로 */
a.job { text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
a.job:hover { border-color: var(--navy); transform: translateY(-3px); }
a.job .more { display: block; margin-top: 10px; color: var(--blue); font-weight: 700; font-size: 15px; }

/* 업무 영역 페이지 */
.areas { display: grid; gap: 22px; }
.area { display: grid; grid-template-columns: 260px 1fr; gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; scroll-margin-top: 110px; }
.area-head .ico { font-size: 40px; }
.area-head h2 { margin: 8px 0 6px; font-size: 26px; color: #111; }
.area-head .who { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.area-body { font-size: 17px; line-height: 1.75; }
.area-body p { margin: 0 0 12px; }
.area-body b { color: var(--navy); }
.area-body h3 { margin: 18px 0 8px; font-size: 17.5px; color: var(--navy); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; padding: 0; list-style: none; }
.tags li { background: var(--bg-soft); color: var(--navy); font-weight: 700; font-size: 15px; border-radius: 999px; padding: 4px 12px; }
.how { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.rel { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.rel a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--navy); border-radius: 10px; color: var(--navy); font-weight: 700; font-size: 15px; text-decoration: none; }
.rel a:hover { background: var(--navy); color: #fff; }
.rel span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; background: var(--bg-soft); border-radius: 10px; color: var(--muted); font-size: 15px; }

/* 성공사례 페이지 */
.case-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.case-filters button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer; }
.case-filters button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.case-filters button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
#caseList .case-card { cursor: pointer; scroll-margin-top: 110px; }
#caseList .case-card:hover { border-color: var(--navy); }

/* 다른 페이지 맨 아래 상담 띠 */
.cta-band { background: var(--navy); color: #fff; padding: 48px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; color: #fff; font-size: 28px; }
.cta-band p { margin: 0; color: #c4d2e8; font-size: 17px; }
.cta-band .btns2 { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band .btns2 a { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 18px; text-decoration: none; }
.cta-band .b-call { background: #fff; color: var(--navy); }
.cta-band .b-form { border: 2px solid rgba(255,255,255,0.7); color: #fff; }
.cta-band .b-form:hover { background: #fff; color: var(--navy); }

@media (max-width: 1000px) { .more-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .area { grid-template-columns: 1fr; gap: 10px; padding: 22px 18px; }
  .area-head h2 { font-size: 22px; }
  .area-body { font-size: 16px; }
  .people-mini { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .page-hero { padding: 36px 0 32px; }
  .page-hero p.sub { font-size: 16px; }
  .more-cards { grid-template-columns: 1fr; gap: 12px; }
  .more-card { padding: 18px; }
  .pm img { width: 86px; height: 104px; }
  .pm .name { font-size: 21px; }
  .cta-band h2 { font-size: 22px; }
  .cta-band .btns2, .cta-band .btns2 a { width: 100%; }
}
/* 성공사례 페이지: 휴대폰에서는 옆으로 넘기지 않고 위아래로 쌓기 */
@media (max-width: 560px) {
  #caseList { display: grid; grid-template-columns: 1fr; overflow: visible; margin: 0; padding: 0; gap: 14px; }
  #caseList .case-card { flex: none; }
}
/* =====================================================
   글 페이지 (성공사례 하나, 산재 가이드 하나)
   ===================================================== */
.post-hero { padding: 48px 0 44px; }
.post-hero h1 { font-size: clamp(26px, 3.6vw, 38px); max-width: 860px; }
.post-cat { display: inline-block; margin: 0 0 12px; background: rgba(255,255,255,0.14); color: #fff; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 4px 12px; }
.post-meta { margin: 14px 0 0; color: #9fb0c8; font-size: 15px; font-weight: 700; }
.post-section { padding: 48px 0 64px; }
.wrap.post { max-width: 840px; font-size: 17.5px; line-height: 1.8; }
.post.g-body { padding-top: 0; padding-bottom: 0; }
.post h2 { margin: 36px 0 12px; font-size: 24px; color: #111; line-height: 1.4; padding-left: 14px; border-left: 5px solid var(--blue); }
.post h3 { margin: 22px 0 8px; font-size: 19px; color: var(--navy); }
.post p { margin: 0 0 14px; }
.post ul, .post ol { margin: 0 0 16px; padding-left: 24px; display: grid; gap: 8px; }
.post a:not(.modal-call) { color: var(--blue); font-weight: 700; }
.post-result { display: flex; flex-direction: column; gap: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; }
.post-result span { font-size: 15px; font-weight: 700; color: var(--muted); }
.post-result strong { font-size: 24px; color: #111; }
.post-result strong b { color: var(--navy); }
.post-steps li::marker { color: var(--blue); font-weight: 900; }
.post .modal-imgs figure a { display: block; }
.post-back { margin-top: 26px !important; }
.post-back a { color: var(--navy) !important; text-decoration: none; }
.more-title { margin: 0 0 18px; font-size: 24px; color: #111; }

/* 카드가 링크일 때 */
a.case-card { text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
a.case-card:hover { border-color: var(--navy); transform: translateY(-3px); }
a.case-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
span.case-open { display: flex; align-items: center; justify-content: center; }
a.case-card:hover span.case-open { background: var(--navy); color: #fff; }

/* 산재 가이드 글 카드 */
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.guide-card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11,42,91,0.08); }
.guide-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.gc-cat { align-self: flex-start; background: var(--bg-soft); color: var(--blue); font-weight: 700; font-size: 13.5px; border-radius: 999px; padding: 3px 10px; }
.guide-card h3 { margin: 0; font-size: 19px; line-height: 1.45; color: #111; }
.guide-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gc-go { margin-top: auto; padding-top: 6px; color: var(--blue); font-weight: 700; font-size: 15px; }

@media (max-width: 900px) { .guide-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .post-hero { padding: 32px 0 30px; }
  .post-section { padding: 28px 0 44px; }
  .wrap.post { font-size: 16.5px; }
  .post h2 { font-size: 20px; margin-top: 28px; }
  .post-result strong { font-size: 20px; }
  .guide-cards { grid-template-columns: 1fr; gap: 12px; }
  .guide-card { padding: 18px; }
  .rel-grid { display: grid !important; grid-template-columns: 1fr; overflow: visible !important; margin: 0 !important; padding: 0 !important; gap: 14px !important; }
  .rel-grid .case-card { flex: none !important; }
}
/* =====================================================
   첫 페이지 (짧은 후킹형) 추가 서식
   ===================================================== */
/* 이런 경우도 됩니다 */
.ok-chips { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ok-chips li { background: var(--bg-soft); color: var(--navy); font-weight: 700; font-size: 16px; border-radius: 999px; padding: 8px 16px; }
.check-cta { margin: 26px 0 0; text-align: center; }
.check-cta .btn { display: inline-flex; min-height: 56px; padding: 0 28px; font-size: 18px; }
/* 흰 바탕의 상담 신청 칸: 전화 상자를 남색으로 */
#apply:not(.dark) .big-call { background: var(--navy); color: #fff; box-shadow: 0 14px 34px rgba(11,42,91,0.22); }
#apply:not(.dark) .big-call .s { color: #c4d2e8; }
/* 숫자 칸이 3개 */
.why .stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) {
  .ok-chips { gap: 8px; }
  .ok-chips li { font-size: 14.5px; padding: 6px 12px; }
  .check-cta .btn { width: 100%; font-size: 16.5px; padding: 0 14px; }
  .why .stats { grid-template-columns: 1fr; row-gap: 22px; }
}
/* =====================================================
   첫 페이지 5칸형 서식 (감사 문자 캡처, 흐르는 결정통지서)
   ===================================================== */
/* 2번 칸: 감사 문자 캡처 - 컴퓨터에서는 2줄로 나란히 */
@media (min-width: 761px) {
  .flow-m { overflow: visible; margin: 0; padding: 0; -webkit-mask-image: none; mask-image: none; }
  .flow-m .flow-track { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: auto; padding: 0; align-items: start; }
  .flow-m .thx { padding: 12px; box-shadow: 0 10px 28px rgba(11,42,91,0.08); border: 1px solid var(--line); }
  .flow-m .thx img { width: 100%; height: auto; }
}
.caps-foot { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* 3번 칸: 흐르는 결정통지서 */
.doc-card { flex: 0 0 250px; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 16px; text-decoration: none; color: var(--ink); box-shadow: 0 10px 26px rgba(11,42,91,0.08); transition: transform .2s, border-color .2s; }
.doc-card:hover { transform: translateY(-4px); border-color: var(--navy); }
.doc-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.doc-card img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: center top; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.doc-field { margin-top: 6px; align-self: flex-start; background: var(--bg-soft); color: var(--navy); font-size: 13px; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
.doc-res { font-size: 16px; font-weight: 700; color: #111; line-height: 1.45; }
.doc-res b { color: var(--navy); }
@media (max-width: 560px) {
  .doc-card { flex-basis: 200px; }
  .doc-card img { height: 240px; }
  .doc-res { font-size: 15px; }
}
/* =====================================================
   첫 페이지 다듬기 (원래 디자인 유지, 이모티콘과 영어 소제목만 없음)
   ===================================================== */
.dark h2 em { color: var(--sky); }
#cases h2 { margin-bottom: 36px; }

/* 직업 칸 */
.jobs { margin-bottom: 40px; }

/* 스르륵 나타나는 줄글 */
.flowtext { margin: 0 auto; max-width: 860px; text-align: center; font-size: 23px; line-height: 1.7; font-weight: 500; color: var(--ink); word-break: keep-all; }
.flowtext b { color: var(--blue); }
.flowtext a { color: var(--navy); font-weight: 900; text-underline-offset: 4px; }
.flowtext.ready span { opacity: 0; transition: opacity 1.1s ease; }
.flowtext.ready.in span { opacity: 1; }
.flowtext.ready.in span:nth-child(2) { transition-delay: .45s; }
.flowtext.ready.in span:nth-child(3) { transition-delay: .9s; }
.flowtext.ready.in span:nth-child(4) { transition-delay: 1.35s; }
.flowtext.ready.in span:nth-child(5) { transition-delay: 1.8s; }
.flowtext.ready.in span:nth-child(6) { transition-delay: 2.4s; }

/* 전국 어디든 발로 뛰는 칸 (남색 바탕 + 흰 카드) */
.why .promise-list { margin-top: 36px; }
.why .promise { text-align: left; }
.why .promise p { margin: 0; font-size: 18px; line-height: 1.7; }
.why-note { margin: 32px 0 0; font-size: 20px; font-weight: 700; color: #fff; }

/* 오시는 길 지도 */
.map-wrap { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg-soft); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }
.see-more.map-link { justify-content: flex-start; margin-top: 18px; }

/* 휴대폰 옆 메뉴 글씨 */
.mobile-menu { padding: 18px 22px 28px; }
.mobile-menu .close { font-size: 30px; }
.mobile-menu nav { margin-top: 8px; }
.mobile-menu nav a { font-size: 17px; font-weight: 500; padding: 14px 2px; }
.mobile-menu .m-call { font-size: 17px; font-weight: 700; padding: 13px; }

@media (max-width: 560px) {
  .job { flex-direction: column; align-items: flex-start; gap: 10px; }
  .job .tag { display: inline-block; font-size: 13.5px; }
  .jobs { margin-bottom: 28px; }
  .flowtext { font-size: 18px; text-align: left; }
  .why .promise p { font-size: 16px; }
  .why-note { margin-top: 22px; font-size: 16.5px; }
  .map-wrap { border-radius: 14px; }
  .map-wrap iframe { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .flowtext.ready span { opacity: 1; transition: none; } }

/* 전화번호가 줄바꿈으로 끊기지 않게 */
.flowtext a { white-space: nowrap; }

/* 직업 칸: 분야 이름을 위로, 질문을 아래로 */
.jobs-new .job { gap: 8px; padding: 26px 26px 28px; border: 1px solid var(--line); border-top: 4px solid var(--blue); box-shadow: 0 10px 28px rgba(11,42,91,0.07); transition: transform .25s ease, box-shadow .25s ease; }
.jobs-new .job:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11,42,91,0.12); }
.jobs-new .job h3 { margin: 0; font-size: 21px; font-weight: 900; color: var(--navy); }
.jobs-new .job p { margin: 0; font-size: 17.5px; line-height: 1.65; font-weight: 400; color: var(--ink); word-break: keep-all; }

/* 샤르륵 나타나는 문구 */
.flowtext { font-size: 24px; word-break: keep-all; }
.flowtext.ready span { filter: blur(6px); transition: opacity 1.2s ease, filter 1.2s ease; }
.flowtext.ready.in span { filter: blur(0); }

/* 남색 칸: 가운데 정렬 세 줄 */
.pledges { max-width: 820px; margin: 40px auto 0; }
.pledges p { margin: 0; padding: 26px 12px; font-size: 21px; line-height: 1.7; color: #dbe6f5; text-align: center; word-break: keep-all; border-top: 1px solid rgba(255,255,255,0.16); }
.pledges p:last-child { border-bottom: 1px solid rgba(255,255,255,0.16); }
.pledges b { display: block; margin: 2px 0; font-size: 26px; font-weight: 900; color: #fff; }

@media (max-width: 560px) {
  .jobs-new .job { padding: 18px 18px 20px; flex-direction: column; align-items: flex-start; }
  .jobs-new .job h3 { font-size: 18.5px; }
  .jobs-new .job p { font-size: 16px; }
  .flowtext { font-size: 19px; text-align: center; }
  .pledges { margin-top: 26px; }
  .pledges p { padding: 20px 4px; font-size: 16px; }
  .pledges b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .flowtext.ready span { filter: none; } .jobs-new .job:hover { transform: none; } }
/* 직업 칸: 파란 윗줄 빼기 */
.jobs-new .job { border-top: 1px solid var(--line); }

/* 남색 칸: 가로 세 칸 */
.pledges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: none; margin: 40px 0 0; }
.pledges p, .pledges p:last-child { margin: 0; padding: 30px 22px; display: flex; flex-direction: column; justify-content: center; background: #fff; border: 0; border-radius: 18px; color: var(--ink); font-size: 17px; line-height: 1.7; text-align: center; word-break: keep-all; }
.pledges p br { display: none; }
.pledges b { display: block; margin: 0; font-size: 19px; font-weight: 900; line-height: 1.5; color: var(--navy); }

/* 업무 영역 */
.wks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wk { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 30px 28px; }
.wk-wide { grid-column: 1 / -1; }
.wk h2 { margin: 0 0 12px; font-size: 23px; color: var(--navy); }
.wk p { margin: 0 0 10px; font-size: 17px; line-height: 1.75; color: var(--ink); word-break: keep-all; }
.wk-link { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0 !important; }
.wk-link a { color: var(--blue); font-size: 16px; font-weight: 700; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .pledges { grid-template-columns: 1fr; gap: 12px; }
  .wks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pledges { margin-top: 26px; }
  .pledges p, .pledges p:last-child { padding: 22px 16px; font-size: 16px; }
  .pledges b { font-size: 17.5px; }
  .wks { gap: 12px; }
  .wk { padding: 22px 18px 20px; }
  .wk h2 { font-size: 20px; }
  .wk p { font-size: 16px; }
}
/* =====================================================
   디자인 검토 반영 (2026-11-05)
   ===================================================== */
/* 1. 떠 있는 블로그 버튼: PC는 작고 차분하게, 휴대폰은 뺌 */
.float .f-blog { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.float .f-blog svg { color: var(--muted); }
.float .f-blog::after { content: none; }
.float a { box-shadow: 0 4px 12px rgba(11,42,91,0.12); }
.float .f-call { width: 80px; height: 80px; }
.float .f-blog, .float .f-form { width: 68px; height: 68px; font-size: 12px; align-self: flex-end; }
@media (max-width: 760px) { .float .f-blog { display: none; } }

/* 2. 흐르는 결정통지서: 결과를 먼저, 크게 */
.flow-docs .doc-card { flex-basis: 290px; padding: 18px 16px 16px; gap: 4px; }
.flow-docs .doc-field { order: 0; margin: 0; padding: 0; background: none; color: var(--muted); font-size: 14px; font-weight: 500; }
.flow-docs .doc-res { order: 1; min-height: 92px; font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.4; word-break: keep-all; }
.flow-docs .doc-res b { display: block; margin: 2px 0; font-size: 28px; font-weight: 900; line-height: 1.25; letter-spacing: -0.5px; color: var(--navy); }
.flow-docs .doc-card img { order: 2; height: 230px; margin-top: 8px; }

/* 3. 첫 화면: 글씨 뒤를 더 어둡게, 윗줄을 더 또렷하게 */
.phero h1 .l1 { color: rgba(255,255,255,0.95); }
.phero .sub { color: #fff; }
@media (min-width: 561px) {
  .pshade, .phero.is-office .pshade { background: linear-gradient(90deg, rgba(8,22,46,0.9) 0%, rgba(8,22,46,0.72) 42%, rgba(8,22,46,0.15) 80%); }
}
@media (max-width: 560px) {
  .pshade, .phero.is-office .pshade { background: linear-gradient(180deg, rgba(8,22,46,0.12) 0%, rgba(8,22,46,0.72) 40%, rgba(8,22,46,0.95) 100%); }
}

/* 4. 직업 칸: 분야 이름을 크게, 그림자와 움직임은 빼기 */
.jobs-new .job, .jobs-new .job:hover { box-shadow: none; transform: none; transition: none; }
.jobs-new .job { padding: 28px 26px 30px; gap: 10px; }
.jobs-new .job h3 { font-size: 25px; letter-spacing: -0.5px; }

/* 5. 남색 칸: 무늬 없는 단색, 세 칸의 줄 수 맞추기 */
.why { background-color: var(--navy); background-image: none; }
.pledges p, .pledges p:last-child { padding: 30px 12px; font-size: 16.5px; }
.pledges b { font-size: 17.5px; letter-spacing: -0.4px; }
@media (max-width: 1160px) { .pledges { grid-template-columns: 1fr; gap: 12px; } }

@media (max-width: 560px) {
  .flow-docs .doc-card { flex-basis: 240px; padding: 14px 12px 12px; }
  .flow-docs .doc-res { min-height: 84px; font-size: 14px; }
  .flow-docs .doc-res b { font-size: 24px; }
  .flow-docs .doc-card img { height: 180px; }
  .jobs-new .job { padding: 18px 18px 20px; gap: 6px; }
  .jobs-new .job h3 { font-size: 20px; }
  .pledges p, .pledges p:last-child { padding: 22px 12px; font-size: 16px; }
  .pledges b { font-size: 17.5px; }
}
/* =====================================================
   다른 페이지 맨 위 사진: 페이지를 열면 천천히 제자리로 (참고: 크게 시작 → 줄어듦)
   ===================================================== */
.page-hero { min-height: 340px; display: flex; align-items: center; background: #0a1f44; }
.page-hero::after { content: none; }
.page-hero .wrap { position: relative; z-index: 2; width: 100%; }
.ph-bg { position: absolute; inset: 0; z-index: 0; background-position: center; background-size: cover; background-repeat: no-repeat; animation: phZoom 6s cubic-bezier(.16,.6,.3,1) both; will-change: transform; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,22,46,0.88) 0%, rgba(8,22,46,0.66) 55%, rgba(8,22,46,0.4) 100%); }
.ph-work { background-image: url('https://images.unsplash.com/photo-1598302936625-6075fbd98dd7?w=1800&q=80&auto=format&fit=crop'); }
.ph-cases { background-image: url('https://images.unsplash.com/photo-1775049728396-d641f91f6c62?w=1800&q=80&auto=format&fit=crop'); }
.ph-about { background-image: url('https://images.unsplash.com/photo-1717565813196-8944b57877f8?w=1800&q=80&auto=format&fit=crop'); }
.ph-post { background-image: url('https://images.unsplash.com/photo-1717565813196-8944b57877f8?w=1800&q=80&auto=format&fit=crop'); }
@keyframes phZoom { from { transform: scale(1.2); } to { transform: scale(1); } }
@media (max-width: 560px) {
  .page-hero { min-height: 240px; }
  .page-hero::before { background: linear-gradient(180deg, rgba(8,22,46,0.62) 0%, rgba(8,22,46,0.82) 100%); }
}
@media (prefers-reduced-motion: reduce) { .ph-bg { animation: none; } }
/* =====================================================
   글자가 앞에서부터 끊김 없이 스르륵 (외국인 문구, 남색 칸 제목)
   ===================================================== */
.write .ch { opacity: 0; filter: blur(6px); transition: opacity .9s ease, filter .9s ease; transition-delay: calc(var(--i) * 34ms); }
.write.go .ch { opacity: 1; filter: blur(0); }
@media (prefers-reduced-motion: reduce) { .write .ch { opacity: 1; filter: none; transition: none; } }

/* =====================================================
   2026-11-15 삼광 참고 개편
   ===================================================== */

/* ---------- 1. 첫 페이지 업무 영역: 왼쪽 분야 목록 + 오른쪽 남색 카드 (가운데 줄은 위로 엇갈림) ---------- */
.wa { display: grid; grid-template-columns: 210px 1fr; gap: 48px; align-items: start; margin-bottom: 64px; }
.wa-side { position: sticky; top: 120px; }
.wa-list { list-style: none; margin: 0; padding: 0; }
.wa-list a { display: block; padding: 10px 0; font-size: 18px; font-weight: 500; color: #8792a3; text-decoration: none; transition: color .2s; }
.wa-list a:hover { color: var(--navy); font-weight: 700; }
.wa-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 56px; }
.wa-card { position: relative; display: flex; flex-direction: column; min-height: 380px; padding: 30px 26px 28px; border-radius: 18px; background: var(--navy); color: #fff; text-decoration: none; overflow: hidden; transition: background-color .3s ease; }
.wa-card:nth-child(3n+2) { top: -56px; }
.wa-card:nth-child(3n) { top: -20px; }
.wa-card:hover { background-color: #12397a; }
.wa-ico { width: 66px; height: 66px; margin-left: auto; color: var(--sky); flex: none; }
.wa-card h3 { margin: auto 0 10px; font-size: 24px; font-weight: 900; line-height: 1.35; letter-spacing: -0.5px; color: #fff; word-break: keep-all; }
.wa-card p { margin: 0 0 22px; font-size: 16px; line-height: 1.65; color: #c9d6ea; word-break: keep-all; }
.wa-more { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; color: #fff; }
.wa-more svg { width: 14px; height: 14px; transition: transform .25s ease; }
.wa-card:hover .wa-more svg { transform: translateX(4px); }
@media (max-width: 1024px) {
  .wa { grid-template-columns: 1fr; gap: 0; }
  .wa-side { display: none; }
  .wa-cards { padding-top: 44px; }
}
@media (max-width: 760px) {
  .wa { margin-bottom: 44px; }
  .wa-cards { grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 0; }
  .wa-card, .wa-card:nth-child(3n+2), .wa-card:nth-child(3n) { top: 0; min-height: 0; padding: 20px 16px 18px; border-radius: 14px; }
  .wa-ico { width: 40px; height: 40px; margin: 0 0 16px; }
  .wa-card h3 { margin: 0 0 6px; font-size: 18.5px; }
  .wa-card p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; }
  .wa-more { font-size: 14px; margin-top: auto; }
}

/* ---------- 2. 첫 페이지 성공사례: 사진 + 제목 + [분야] 결과, 4개만 ---------- */
.hc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.hc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .3s ease; }
.hc-card:hover { box-shadow: 0 14px 30px rgba(11, 42, 91, 0.12); }
.hc-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.hc-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hc-card:hover .hc-thumb img { transform: scale(1.04); }
.hc-title { display: block; padding: 20px 18px 18px; min-height: 96px; font-size: 17.5px; font-weight: 700; line-height: 1.5; text-align: center; color: #111; word-break: keep-all; }
.hc-foot { display: block; margin-top: auto; padding: 16px 14px 20px; border-top: 1px solid var(--line); text-align: center; }
.hc-field { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 700; color: var(--blue); }
.hc-res { display: block; font-size: 16.5px; color: #333; word-break: keep-all; }
.hc-res b { font-weight: 900; color: #111; }
#cases .see-more { margin-top: 36px; }
@media (max-width: 1024px) { .hc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .hc-grid { gap: 10px; }
  .hc-title { min-height: 0; padding: 12px 10px 10px; font-size: 14.5px; }
  .hc-foot { padding: 10px 8px 14px; }
  .hc-field { font-size: 13px; }
  .hc-res { font-size: 14px; }
}

/* ---------- 3. 성공사례 페이지: 게시판 목록 ---------- */
.board { padding: 56px 0 96px; }
.bd-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 8px; margin: 0 0 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.bd-tabs button { padding: 8px 12px; border: 0; background: none; font: inherit; font-size: 17px; font-weight: 500; color: #8792a3; cursor: pointer; }
.bd-tabs button:hover { color: var(--navy); }
.bd-tabs button.on { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.bd-count { margin: 0 0 18px; font-size: 15px; color: var(--muted); }
.bd-count b { color: var(--navy); }
.bd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.bd-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.bd-thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); }
.bd-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bd-card:hover .bd-thumb img { transform: scale(1.04); }
.bd-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 14px; font-size: 17px; line-height: 1.55; color: #222; word-break: keep-all; }
.bd-title b { margin-right: 4px; font-weight: 700; color: var(--blue); }
.bd-card:hover .bd-title { text-decoration: underline; text-underline-offset: 3px; }
.bd-date { margin-top: 6px; font-size: 14px; color: #98a3b3; }
@media (max-width: 900px) { .bd-grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; } }
@media (max-width: 560px) {
  .board { padding: 36px 0 64px; }
  .bd-tabs { gap: 0 2px; }
  .bd-tabs button { padding: 6px 9px; font-size: 15px; }
  .bd-grid { gap: 24px 12px; }
  .bd-title { margin-top: 10px; font-size: 15px; }
  .bd-date { font-size: 13px; }
}

/* ---------- 4. 성공사례 글: 블로그 글처럼 ---------- */
.blog-post { padding: 64px 0 88px; }
.wrap.bp { max-width: 820px; font-size: 18px; line-height: 1.85; color: #222; word-break: keep-all; }
.bp-head { margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); text-align: center; }
.bp-board { margin: 0 0 14px; font-size: 15px; }
.bp-board a { color: var(--muted); font-weight: 700; text-decoration: none; }
.bp-head h1 { margin: 0; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.45; letter-spacing: -0.5px; color: #111; }
.bp-head h1 span { color: var(--blue); }
.bp-meta { display: flex; justify-content: center; gap: 14px; margin: 16px 0 0; font-size: 15px; color: #8792a3; }
.bp-meta span + span::before { content: ""; display: inline-block; width: 1px; height: 12px; margin-right: 14px; background: #cdd5df; vertical-align: -1px; }
.bp-cover { max-width: 520px; margin: 0 auto 40px; }
.bp-cover img { display: block; width: 100%; border-radius: 12px; }
.bp h2 { margin: 48px 0 16px; font-size: 23px; line-height: 1.4; letter-spacing: -0.3px; color: #111; }
.bp p { margin: 0 0 16px; }
.bp-info { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); font-size: 17px; }
.bp-info th, .bp-info td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.bp-info th { width: 140px; background: var(--bg-soft); color: var(--navy); font-weight: 700; white-space: nowrap; }
.bp-steps { list-style: none; counter-reset: st; display: grid; gap: 14px; margin: 0 0 16px; padding: 0; }
.bp-steps li { position: relative; padding-left: 42px; counter-increment: st; }
.bp-steps li::before { content: counter(st); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; line-height: 28px; text-align: center; }
.bp-tip { padding: 20px 22px; border-radius: 12px; background: var(--bg-soft); }
.bp-tip b { display: block; margin-bottom: 4px; color: var(--navy); }
.bp-small { font-size: 15px; color: var(--muted); }
.bp-imgs { display: grid; gap: 28px; }
.bp-imgs figure { margin: 0; text-align: center; }
.bp-imgs img { max-width: 100%; max-height: 900px; border: 1px solid var(--line); border-radius: 8px; }
.bp-imgs figcaption { margin-top: 8px; font-size: 15px; color: var(--muted); }
.bp-call { display: flex; align-items: center; justify-content: center; min-height: 62px; margin: 48px 0 0; padding: 0 16px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 19px; font-weight: 700; text-align: center; text-decoration: none; }
.bp-call:hover { background: #12397a; }
.bp-nav { margin-top: 48px; border-top: 2px solid #222; border-bottom: 1px solid var(--line); }
.bp-nav-row { display: flex; gap: 20px; margin: 0; padding: 16px 8px; font-size: 16px; color: #222; text-decoration: none; }
.bp-nav-row + .bp-nav-row { border-top: 1px solid var(--line); }
.bp-nav-label { flex: none; width: 64px; font-weight: 700; color: #8792a3; }
.bp-nav-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
a.bp-nav-row:hover .bp-nav-title { text-decoration: underline; }
.bp-nav-row.none { color: #aab3c0; }
.bp-list { margin: 32px 0 0 !important; text-align: center; }
.bp-list a { display: inline-flex; align-items: center; justify-content: center; min-width: 120px; min-height: 50px; border: 1px solid #c8d1dd; border-radius: 10px; color: #222; font-weight: 700; text-decoration: none; }
.bp-list a:hover { border-color: var(--navy); color: var(--navy); }
@media (max-width: 560px) {
  .blog-post { padding: 36px 0 64px; }
  .wrap.bp { font-size: 16.5px; }
  .bp-head { margin-bottom: 28px; padding-bottom: 20px; }
  .bp h2 { margin-top: 36px; font-size: 20px; }
  .bp-info { font-size: 15px; }
  .bp-info th { width: 84px; padding: 12px 10px; white-space: normal; }
  .bp-info td { padding: 12px 10px; }
  .bp-call { font-size: 16.5px; }
  .bp-nav-row { gap: 12px; font-size: 15px; }
  .bp-nav-label { width: 52px; }
}

/* ---------- 5. 대표 인사말 ---------- */
.greet { padding: 96px 0; }
.gr { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.gr-head { position: sticky; top: 120px; }
.gr-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.45; word-break: keep-all; }
.gr-head p { margin: 18px 0 0; font-size: 18px; color: var(--muted); }
.gr-body { font-size: 18.5px; line-height: 1.9; color: #2a3442; word-break: keep-all; }
.gr-body p { margin: 0 0 20px; }
.gr-promise { list-style: none; margin: 4px 0 32px; padding: 0; border-top: 2px solid var(--navy); }
.gr-promise li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.gr-promise b { display: block; margin-bottom: 6px; font-size: 20px; color: var(--navy); }
.gr-body .gr-sign { margin: 40px 0 0; text-align: right; font-size: 18px; color: var(--muted); }
.gr-sign b { margin-left: 4px; font-size: 22px; color: #111; }
@media (max-width: 900px) {
  .gr { grid-template-columns: 1fr; gap: 32px; }
  .gr-head { position: static; }
}
@media (max-width: 560px) {
  .greet { padding: 56px 0; }
  .gr-body { font-size: 17px; }
  .gr-promise li { padding: 18px 0; }
  .gr-promise b { font-size: 18px; }
  .gr-sign b { font-size: 19px; }
}
@media (max-width: 560px) { #caseList.bd-grid { gap: 24px 12px; } }
/* ---------- 2026-11-15 추가 수정 ---------- */
/* 제목 바로 아래 샤르륵 문구 */
.flowtext.wa-flow { max-width: none; margin: 0 0 8px; text-align: left; font-size: 22px; }
@media (max-width: 560px) { .flowtext.wa-flow { font-size: 18px; text-align: left; } }

/* 사례 글 맨 위 현장 사진 (가로로 넓게) */
.bp-cover.wide { max-width: none; }
.bp-cover.wide img { aspect-ratio: 16 / 9; object-fit: cover; }

/* 아이콘에 마우스를 올리면 살짝 움찔 */
@keyframes icoWiggle {
  0%, 100% { transform: rotate(0) scale(1); }
  20% { transform: rotate(-10deg) scale(1.08); }
  40% { transform: rotate(8deg) scale(1.08); }
  60% { transform: rotate(-5deg) scale(1.04); }
  80% { transform: rotate(3deg) scale(1.02); }
}
.wa-ico, .float a svg, .top-call .tel-ico { transform-origin: 50% 50%; }
.wa-card:hover .wa-ico, .wa-card:focus-visible .wa-ico,
.float a:hover svg, .float a:focus-visible svg,
.top-call:hover .tel-ico { animation: icoWiggle .6s ease; }
@media (prefers-reduced-motion: reduce) {
  .wa-card:hover .wa-ico, .float a:hover svg, .top-call:hover .tel-ico { animation: none; }
}
/* 아주 작은 휴대폰(가로 375px 미만): 맨 위 막대 글씨가 겹치지 않게 */
@media (max-width: 374px) {
  header.site .wrap { gap: 6px; padding: 0 12px; }
  header.site .logo { gap: 6px; }
  header.site .logo img { width: 26px; height: auto; }
  header.site .logo-text, header.site .logo-text .ko { font-size: 15px; letter-spacing: -0.5px; white-space: nowrap; }
  header.site .top-call .num { font-size: 14px; }
  header.site .top-call .free { font-size: 10.5px; }
}
/* 접는 휴대폰 바깥 화면처럼 더 좁거나, 글씨를 아주 크게 해 둔 휴대폰: 로고 그림을 빼서 글씨와 전화번호가 겹치지 않게 */
@media (max-width: 319px) {
  header.site .logo img { display: none; }
}
/* ---------- 인블로그 최신 글 (첫 페이지) ---------- */
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .3s ease; }
.bl-card:hover { box-shadow: 0 14px 30px rgba(11, 42, 91, 0.12); }
.bl-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.bl-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bl-card:hover .bl-thumb img { transform: scale(1.04); }
.bl-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.bl-title { font-size: 18px; font-weight: 700; line-height: 1.5; color: #111; word-break: keep-all; }
.bl-card:hover .bl-title { text-decoration: underline; text-underline-offset: 3px; }
.bl-desc { font-size: 15.5px; line-height: 1.6; color: var(--muted); word-break: keep-all; }
.bl-date { margin-top: auto; font-size: 14px; color: #98a3b3; }
#blog .see-more { margin-top: 32px; }
@media (max-width: 900px) { .bl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .bl-grid { grid-template-columns: 1fr; gap: 14px; }
  .bl-body { padding: 14px 16px 16px; }
  .bl-title { font-size: 16.5px; }
  .bl-desc { font-size: 14.5px; }
}
/* 남색 칸: 약속 상자를 뺀 뒤 제목만 */
.why h2 { margin-bottom: 0; }
/* ---------- 2026-11-22 정리 ---------- */
/* 없어졌던 규칙 다시: 금액은 한 줄로, 성공사례 목록은 휴대폰에서도 2줄 */
.hc-res b, .bd-title b { white-space: nowrap; }
@media (max-width: 900px) { #caseList.bd-grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; } }
@media (max-width: 560px) { #caseList.bd-grid { gap: 24px 12px; } }

/* 산재 노트: 글이 1~2개일 때 한쪽에 쏠리지 않게 */
.bl-grid.bl-n1 { grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; }
.bl-grid.bl-n1 .bl-card { flex-direction: row; }
.bl-grid.bl-n1 .bl-thumb { flex: 0 0 46%; aspect-ratio: auto; min-height: 260px; }
.bl-grid.bl-n1 .bl-body { padding: 28px 30px; justify-content: center; }
.bl-grid.bl-n1 .bl-title { font-size: 22px; }
.bl-grid.bl-n2 { grid-template-columns: 1fr 1fr; max-width: 880px; margin: 0 auto; }
@media (max-width: 760px) {
  .bl-grid.bl-n1 .bl-card { flex-direction: column; }
  .bl-grid.bl-n1 .bl-thumb { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .bl-grid.bl-n1 .bl-body { padding: 16px 18px 18px; }
  .bl-grid.bl-n1 .bl-title { font-size: 17px; }
  .bl-grid.bl-n2 { grid-template-columns: 1fr; }
}

/* 성공사례 페이지: 감사 문자 칸이 아래 남색 상담 띠와 붙어 보이지 않게 밝은 바탕으로 */
#thanks.dark { background: var(--bg-soft); color: var(--ink); }
#thanks.dark h2 { color: #111; }
#thanks.dark h2 em { color: var(--blue); }
#thanks.dark .lead, #thanks .thanks-foot { color: var(--muted); }
/* ---------- 2026-11-22 (2) ---------- */
/* 첫 페이지 성공사례: 3개, 넓게 */
.hc-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hc-title { font-size: 18.5px; }
@media (max-width: 900px) { .hc-grid { grid-template-columns: 1fr 1fr 1fr; gap: 14px; } .hc-title { font-size: 16px; padding: 14px 12px; } }
@media (max-width: 760px) {
  .hc-grid { grid-template-columns: 1fr; gap: 12px; }
  .hc-card { flex-direction: row; }
  .hc-thumb { flex: 0 0 38%; aspect-ratio: auto; }
  .hc-title { min-height: 0; padding: 14px 14px 8px; text-align: left; font-size: 15.5px; }
  .hc-foot { border-top: 0; padding: 0 14px 14px; text-align: left; }
}

/* 산재 노트: 어느 블로그 글인지 작게 */
.bl-from { font-size: 14px; font-weight: 700; color: var(--blue); }
.see-more.bl-more { gap: 10px; flex-wrap: wrap; }
.hc-body { display: flex; flex-direction: column; flex: 1; }

/* 업무 영역 페이지를 뺀 뒤: 왼쪽 분야 목록은 글자만 */
.wa-list span { display: block; padding: 10px 0; font-size: 18px; font-weight: 500; color: #8792a3; }

/* 위쪽 메뉴: 3개뿐이라 글씨를 크게, 화면이 조금 좁아도(900px 이상) 메뉴를 펼쳐서 */
.nav { gap: 8px; }
.nav a, header.site .nav a { padding: 8px 20px; font-size: 22px; font-weight: 800; color: #2a3442; white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--navy); }
@media (min-width: 900px) and (max-width: 1240px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .nav a, header.site .nav a { padding: 8px 12px; font-size: 20px; }
}
@media (min-width: 1241px) and (max-width: 1420px) { .nav a, header.site .nav a { padding: 8px 16px; font-size: 21px; } }
/* ---------- 자주 묻는 질문 (누르면 답이 펼쳐짐) ---------- */
#faq .faq-list { margin-top: 32px; display: grid; gap: 12px; max-width: 860px; }
#faq .faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
#faq .faq-item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font-weight: 800; font-size: 18px; color: var(--ink); line-height: 1.5; }
#faq .faq-item summary::-webkit-details-marker { display: none; }
#faq .faq-item summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
#faq .faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
#faq .faq-item summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 14px; }
#faq .faq-item[open] { border-color: var(--navy); }
#faq .faq-item p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 16.5px; line-height: 1.75; }
@media (max-width: 600px) {
  #faq .faq-item summary { font-size: 16.5px; padding: 18px 48px 18px 18px; }
  #faq .faq-item summary::after { right: 18px; }
  #faq .faq-item p { padding: 0 18px 18px; font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) { #faq .faq-item summary::after { transition: none; } }
/* ---------- 위 메뉴 '법인소개' 펼침 (2026-11-25) ---------- */
.nav-group { position: relative; }
.nav-top { font: inherit; background: none; border: 0; cursor: pointer; color: #2a3442; padding: 8px 20px; font-size: 22px; font-weight: 800; white-space: nowrap; line-height: inherit; }
.nav-top:hover, .nav-top.active, .nav-group.open .nav-top { color: var(--navy); }
.nav-sub { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); min-width: 190px; padding: 10px 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 34px rgba(11, 42, 91, 0.16); display: none; z-index: 70; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-group.open .nav-sub { display: block; }
.nav .nav-sub a, header.site .nav .nav-sub a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 22px; font-size: 18px; font-weight: 700; }
.nav .nav-sub a:hover, .nav .nav-sub a:focus-visible { background: var(--bg-soft); }
.ext { width: 16px; height: 16px; flex: none; opacity: 0.65; }
.nav-top:focus-visible, .nav-sub a:focus-visible { outline: 3px solid var(--sky); outline-offset: -3px; border-radius: 8px; }
@media (min-width: 900px) and (max-width: 1240px) { .nav-top { padding: 8px 12px; font-size: 20px; } }
@media (min-width: 1241px) and (max-width: 1420px) { .nav-top { padding: 8px 16px; font-size: 21px; } }
.mobile-menu .mm-label { margin: 0; padding: 14px 2px 4px; font-size: 14px; font-weight: 700; color: var(--sky); }
.mobile-menu nav a.mm-sub { padding-left: 16px; display: flex; align-items: center; gap: 8px; }

/* 상담 신청서: 동의 옆 '내용 보기' */
.agree-link { color: var(--blue); font-weight: 700; white-space: nowrap; }

/* ---------- 개인정보처리방침 ---------- */
footer.site .links a.pp { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.policy .wrap { max-width: 880px; }
.policy h2 { font-size: 22px; margin: 44px 0 12px; letter-spacing: -0.3px; }
.policy p, .policy li { font-size: 17px; line-height: 1.8; color: #2a3442; word-break: keep-all; }
.policy ul { padding-left: 22px; }
.policy .pt-scroll { overflow-x: auto; margin: 14px 0; }
.policy table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; line-height: 1.65; }
.policy th, .policy td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; word-break: keep-all; overflow-wrap: anywhere; }
.policy th { background: var(--bg-soft); color: #111; font-weight: 700; }
.policy tbody th { white-space: nowrap; }
.policy .pt-box { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; background: var(--bg-soft); }
.policy .pt-box b { display: inline-block; min-width: 150px; }
.policy .pt-date { margin-top: 32px; font-weight: 700; }
@media (max-width: 560px) { .policy p, .policy li { font-size: 16px; } .policy .pt-box b { display: block; } }
/* ---------- 칼럼: 숨긴 글, 휴대폰에서는 한 줄짜리로 짧게 (2026-11-26) ---------- */
.bl-card[hidden] { display: none !important; }
@media (max-width: 900px) {
  .bl-grid, .bl-grid.bl-n1, .bl-grid.bl-n2 { grid-template-columns: 1fr; gap: 10px; }
  .bl-grid .bl-card, .bl-grid.bl-n1 .bl-card { flex-direction: row; align-items: center; gap: 14px; padding: 12px; }
  .bl-grid .bl-thumb, .bl-grid.bl-n1 .bl-thumb { flex: 0 0 96px; width: 96px; height: 72px; min-height: 0; aspect-ratio: auto; border-radius: 10px; }
  .bl-grid .bl-body, .bl-grid.bl-n1 .bl-body { padding: 0; gap: 3px; min-width: 0; }
  .bl-grid .bl-from { font-size: 13px; }
  .bl-grid .bl-title, .bl-grid.bl-n1 .bl-title { font-size: 16px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .bl-grid .bl-desc, .bl-grid .bl-date { display: none; }
}