/* Next.js 이식 뒤 더한 것 — v34 원본 CSS 는 그대로 두고 여기에만 덧붙인다(원본 색 변수 palette.css 사용). */

/* 카드 그림(성공사례·미디어·동영상): 그림이 있으면 카드 위 칸을 그림으로 채운다(가운데 기준으로 잘림). */
.thumb.has-image,
.case .thumb.has-image {
  padding: 0;
  background: var(--navy); /* 그림을 불러오는 동안 보이는 바탕 */
}
.thumb.has-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

/* 동영상 카드: 썸네일 전체를 눌러 큰 재생 창을 연다. */
.video-thumb .video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.video-thumb .video-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  opacity: 0.88;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.video-thumb .video-play-icon svg {
  width: 26px;
  height: 26px;
  margin-left: 3px; /* 삼각형 무게중심을 원 가운데로 */
}
.video-thumb .video-play:hover .video-play-icon,
.video-thumb .video-play:focus-visible .video-play-icon {
  opacity: 1;
  transform: scale(1.08);
}
.video-thumb .video-play:focus-visible {
  outline: 3px solid white;
  outline-offset: -6px;
}

.video-dialog {
  width: min(1080px, calc(100vw - 24px), calc((100dvh - 76px) * 16 / 9));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #101c2a;
  color: #fff;
  box-shadow: 0 24px 80px #0006;
}
.video-dialog::backdrop { background: #0b1526d9; }
.video-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 52px;
  padding: 0 8px 0 clamp(10px, 3vw, 20px);
}
.video-dialog-header h2 {
  margin: 0;
  overflow: hidden;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
}
.video-dialog-header button {
  display: grid;
  flex: 0 0 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.video-dialog-header button:hover { background: #ffffff24; }
.video-dialog iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.dialog.media-detail-dialog {
  width: min(720px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.media-detail-content { padding: clamp(18px, 4vw, 36px); }
.media-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.media-detail-header h2 { margin: 0; overflow-wrap: anywhere; }
.media-detail-dialog .media-detail-header button { flex: 0 0 auto; padding: 8px 14px; }
.media-detail-dialog .media-detail-content p {
  margin: 0 0 20px;
  font-size: clamp(16px, 1.5vw, 17px);
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.media-detail-images { display: grid; gap: 12px; margin: 0 0 20px; }
.media-detail-images img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
html:has(.video-dialog[open], .media-detail-dialog[open]) { overflow: hidden; }

/* 목록 페이지 번호(성공사례·미디어·동영상): 지금 페이지(span)는 원본 모양 그대로, 다른 페이지는 테두리 칸 링크. */
.pagination a,
.pagination span {
  display: inline-block;
  min-width: 38px;
  margin: 0 2px;
  padding: 8px 13px;
  font-size: 12px;
  text-align: center;
}
.pagination a {
  border: 1px solid var(--line);
  color: var(--navy);
  background: white;
}
.pagination a:hover,
.pagination a:focus-visible {
  border-color: var(--navy);
}
.pagination .pagination-arrow {
  min-width: 0;
}

/* 헤더 메뉴·펼침 메뉴 글자 키우기(2026-11-17 "약간 작다") — PC 만. 1100px 이하(햄버거 메뉴)는 원본 navigation.css 그대로. */
@media (min-width: 1101px) {
  header nav > a:not(.navbutton),
  header .navgroup > a,
  .nav-trigger {
    font-size: 16px;
  }
  .mega-kicker {
    font-size: 11px;
  }
  .mega-intro h2 {
    font-size: 28px;
  }
  .mega-intro p {
    font-size: 15px;
  }
  .mega-overview {
    font-size: 14px;
  }
  .mega-item strong {
    font-size: 18px;
  }
  .mega-item small {
    font-size: 14px;
  }
}
@media (min-width: 1101px) and (max-width: 1300px) {
  .mega-item strong {
    font-size: 17px;
  }
}

/* 홈 공정한소식(HomeNewsSection) — DB 글 카드. 그림·동영상 카드는 위 칸을 그림으로 채우고, 그림 없는 카드는 제목을 원본 라벨 자리에. */
.home-news-art.has-image {
  padding: 0;
  background: var(--navy);
}
.home-news-art.has-image:before {
  display: none;
}
.home-news-art.has-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.home-news-art strong.is-title {
  font-size: 21px;
  line-height: 1.5;
  margin-right: 82px; /* 오른쪽 아래 선 아이콘과 겹치지 않게 */
}
.home-news-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 8px 0;
  border-bottom: 1px solid #a4b5c1;
  color: var(--navy);
  font-size: 13px;
}
.home-news-link .line-icon {
  width: 17px;
  height: 17px;
}
.home-news-link:hover {
  color: #314f69;
  border-color: #49677e;
}

/* 고르지 않은 탭의 카드 묶음 — 원본 .home-news-cards{display:grid} 가 hidden 을 이기지 않게 */
.home-news-section [role="tabpanel"][hidden] {
  display: none;
}

/* 공개한 글이 없을 때 "준비 중" 안내(홈 탭·/media·/video) — 2026-11-17.
   흐린 카드·반짝임·떠 있는 카드는 "과하다"로 걷어내고, 옅은 상자 하나에 아이콘 · 두 줄 · 공식 블로그 링크만. */
.news-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 24px;
  border: 1px solid #e3e8ec;
  border-radius: 12px;
  background: #f6f8fa;
  text-align: center;
}
.news-coming-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #dfe4e8;
  color: var(--teal);
}
.news-coming-icon .line-icon {
  width: 24px;
  height: 24px;
}
.news-coming-soon strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.news-coming-soon p {
  margin: 6px 0 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.news-coming-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #c9d3dc;
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.news-coming-link .line-icon {
  width: 15px;
  height: 15px;
}
.news-coming-link:hover,
.news-coming-link:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .news-coming-link {
    transition: none;
  }
}
@media (max-width: 700px) {
  .news-coming-soon {
    padding: 40px 20px;
  }
  .news-coming-soon strong {
    font-size: 17px;
  }
  .news-coming-soon p {
    font-size: 15px;
  }
}

/* 홈 "누가 살피는지"(expert-section) 다시 꾸밈(2026-11-17 "다시 디자인해본다면?") —
   왼쪽: 세로로 긴 사진 + 사진 위 흰 이름표(대표 손해사정사 정광현 + 한마디).
   오른쪽: 제목 · 한 줄 · 경력 숫자(상자 대신 얇은 세로선으로 나눈 한 줄) · 주요 경력 3줄 · 단추.
   회사소개 프로필(.company-profile)의 경력 숫자 상자는 그대로 둔다(아래 규칙은 .expert-section 안에서만). */
.expert-section .expert-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 80px;
}
.expert-section .expert-visual {
  height: 560px;
  border-radius: 12px;
}
.expert-section .expert-visual img {
  border-radius: 12px;
  object-position: 38% center;
}
.expert-tag {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 22px 24px 20px;
  background: #ffffffeb;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  box-shadow: 0 10px 30px #142d4321;
}
.expert-tag span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal);
}
.expert-tag strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.expert-tag p {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid #dfe4e8;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.expert-copy > p.expert-lead {
  margin-top: 22px;
  font-size: 17px;
  color: var(--text-secondary);
}
.expert-section .expert-stats {
  gap: 0;
  margin: 34px 0 0;
  padding: 24px 0;
  border-top: 1px solid #dfe4e8;
  border-bottom: 1px solid #dfe4e8;
}
.expert-section .expert-stats li {
  padding: 0 22px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.expert-section .expert-stats li:first-child {
  padding-left: 0;
}
.expert-section .expert-stats li + li {
  border-left: 1px solid #dfe4e8;
}
.expert-section .expert-stats .line-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 12px;
}
.expert-career {
  display: flex;
  gap: 22px;
  margin: 26px 0 34px;
}
.expert-career > span {
  flex-shrink: 0;
  padding-top: 3px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}
.expert-career ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.expert-career li {
  position: relative;
  padding-left: 18px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--navy);
}
.expert-career li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
@media (max-width: 1100px) {
  .expert-section .expert-grid {
    gap: 48px;
  }
  .expert-section .expert-visual {
    height: 520px;
  }
  .expert-section .expert-stats {
    padding: 6px 0;
  }
  .expert-section .expert-stats li,
  .expert-section .expert-stats li:first-child {
    padding: 14px 0;
  }
  .expert-section .expert-stats li + li {
    border-left: 0;
    border-top: 1px solid #e6ebef;
  }
}
@media (max-width: 900px) {
  .expert-section .expert-grid {
    grid-template-columns: 1fr;
  }
  .expert-section .expert-visual {
    height: 420px;
  }
}
@media (max-width: 700px) {
  .expert-section .expert-visual {
    height: 360px;
  }
  .expert-tag {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px 18px;
  }
  .expert-tag strong {
    font-size: 23px;
  }
  .expert-tag p {
    font-size: 13px;
  }
  .expert-copy > p.expert-lead {
    font-size: 16px;
  }
  .expert-career {
    flex-direction: column;
    gap: 8px;
  }
  .expert-career li {
    font-size: 15px;
  }
}
.expert-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
}
.expert-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 18px 18px;
  background: #fff;
  border: 1px solid #dfe4e8; /* 위쪽 굵은 남색 선은 사례 카드와 맞춰 걷어냄(2026-11-17 점검) */
  border-radius: 8px;
}
.expert-stats .line-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}
.expert-stats strong {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -1px;
  color: var(--navy);
  white-space: nowrap;
}
.expert-stats span {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}
@media (max-width: 1100px) { /* 반으로 나뉜 칸이 좁아 세 칸이 넘침 — 1100px 이하는 가로 줄 카드로 */
  .expert-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .expert-stats li {
    display: grid;
    grid-template-columns: 24px auto 1fr;
    align-items: center;
    column-gap: 14px;
    padding: 14px 16px;
  }
  .expert-stats .line-icon {
    margin: 0;
  }
  .expert-stats strong {
    font-size: 20px;
  }
}

/* 상담 영역 왼쪽(contact-intro) 다시 꾸밈(2026-11-17 "이 부분도 해본다면?") —
   대표전화: 남색 카드("여긴 어두운게 좋아") 안을 위: 대표전화·상담 시간 / 가운데: 큰 번호 / 아래: 담당자 · "전화 걸기" 단추).
   안내 4줄: 세로 목록 → 2×2 작은 칸. 검토용 안내: 회색 문단 → 아이콘 붙은 옅은 안내 상자(오픈 전 지울 문구). */
.contact-phone-card {
  display: flex;
  flex-direction: column;
  max-width: 520px;
  padding: 24px 26px 22px;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 12px;
  box-shadow: 0 14px 30px #142d4329;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.contact-phone-card:hover,
.contact-phone-card:focus-visible {
  background: #1d3c57;
  border-color: #1d3c57;
  box-shadow: 0 18px 36px #142d4333;
  transform: translateY(-2px);
}
.contact-phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.contact-phone-top small {
  font-size: 14px;
  font-weight: 600;
  color: #9fd3ca;
}
.contact-phone-top em {
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff1f;
  font-style: normal;
  font-size: 13px;
  color: #dbe5ee;
}
.contact-phone-card > strong {
  margin: 8px 0 18px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #fff;
}
.contact-phone-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #ffffff26;
  font-size: 14px;
  color: #c9d5de;
}
.contact-phone-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--teal); /* "전화 걸기 기본 초록색" */
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.contact-phone-call .line-icon {
  width: 16px;
  height: 16px;
}
.contact-phone-card:hover .contact-phone-call {
  background: #31897f;
}
.contact-promises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.contact-promises li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  background: #ffffffb3;
  border: 1px solid #e3e8ec;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.contact-promises .line-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--teal);
}
.contact-intro > small.contact-draft-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 520px;
  margin-top: 18px;
  padding: 14px 16px;
  background: #e9eef3;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.contact-draft-note .line-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--text-muted);
}
@media (prefers-reduced-motion: reduce) {
  .contact-phone-card,
  .contact-phone-call {
    transition: none;
  }
}
@media (max-width: 700px) {
  .contact-phone-card {
    padding: 20px;
  }
  .contact-phone-card > strong {
    font-size: 29px;
  }
  .contact-phone-bottom {
    font-size: 13px;
  }
  .contact-promises {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .contact-promises li {
    flex-direction: row;
    align-items: center;
    padding: 13px 16px;
  }
}

/* 첫 화면 문구 — 한 줄씩 차례로(2026-11-17 요청). 스크립트가 늦게 읽혀 "보였다 사라졌다 나타나는" 깜빡임이 없도록
   GSAP(motion.js) 대신 CSS 로 첫 화면이 그려질 때 바로 시작한다. 사진의 은은한 등장만 motion.js 에 남겼다. */
@keyframes hero-rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes hero-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.signature-hero .signature-copy > .section-kicker,
.signature-hero .hero-greeting,
.signature-hero .motion-line-inner,
.signature-hero .signature-description > p,
.signature-hero .signature-actions,
.signature-hero .hero-signature {
  animation: hero-rise-in 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) backwards; /* 끝난 뒤에는 원래 스타일로(마우스 반응 효과와 겹치지 않게) */
}
.signature-hero .signature-copy > .section-kicker {
  animation-delay: 0.05s;
}
.signature-hero .hero-greeting {
  animation-delay: 0.15s;
}
/* 제목 세 줄, 설명 두 문단, 버튼 순서로 짧게 간격을 둔다. */
.signature-hero .motion-line:nth-child(1) .motion-line-inner { animation-delay: .24s; }
.signature-hero .motion-line:nth-child(2) .motion-line-inner { animation-delay: .38s; }
.signature-hero .motion-line:nth-child(3) .motion-line-inner { animation-delay: .52s; }
.signature-hero .signature-description > p { margin: 0; font: inherit; }
.signature-hero .signature-description > p:first-child { animation-delay: .72s; }
.signature-hero .signature-description > p + p { margin-top: .9em; animation-delay: .94s; }
.signature-hero .signature-actions { animation-delay: 1.12s; }
.signature-hero .signature-actions:focus-within { animation: none; }
.signature-hero .hero-signature {
  animation-delay: 1.22s;
  /* "신속하게. 정확하게. 최선을 다해." — 원래 11px(모바일 10px)은 너무 작다(2026-11-17) */
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
@media (max-width: 700px) {
  .signature-hero .hero-signature {
    font-size: 14px;
  }
}
/* 너무 작던 영문 머리말·번호·라벨(8~10px)을 11px 이상으로(2026-11-17 점검) */
.section-kicker {
  font-size: 11px;
  letter-spacing: 1.8px;
}
.contact-form-shell > .mini-title,
.choice-number {
  font-size: 11px;
}
.hero-index,
.hero-index a {
  font-size: 11px;
  letter-spacing: 1.6px;
}
.hero-index .scroll-cue {
  font-size: 13px;
}
@media (max-width: 700px) {
  .section-kicker {
    font-size: 10px;
    letter-spacing: 1.4px;
  }
  .contact-form-shell > .mini-title,
  .choice-number,
  .hero-index,
  .hero-index a {
    font-size: 10px;
    letter-spacing: 1px;
  }
}
/* "SCROLL TO DISCOVER ↓" — 화살표만 천천히 아래로 내려갔다 돌아온다(2026-11-17 "약간 움직임 있게") */
.hero-index .scroll-cue {
  display: inline-block;
  animation: scroll-cue-bob 2s ease-in-out infinite;
}
@keyframes scroll-cue-bob {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(4px);
    opacity: 0.55;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-index .scroll-cue {
    animation: none;
  }
}
.motion-paused .hero-index .scroll-cue {
  animation: none;
}
/* 기기에서 동작 줄이기를 켜면 등장 순서를 유지하고 이동과 흐림을 줄인다. */
@keyframes hero-soft-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .signature-hero .signature-copy > .section-kicker,
  .signature-hero .hero-greeting,
  .signature-hero .motion-line-inner,
  .signature-hero .signature-description > p,
  .signature-hero .signature-actions,
  .signature-hero .hero-signature {
    animation-name: hero-soft-rise;
  }
}
/* 사이트의 "화면 모션 · 꺼짐" */
.motion-paused .signature-hero .signature-copy > .section-kicker,
.motion-paused .signature-hero .hero-greeting,
.motion-paused .signature-hero .motion-line-inner,
.motion-paused .signature-hero .signature-description > p,
.motion-paused .signature-hero .signature-actions,
.motion-paused .signature-hero .hero-signature {
  animation: none;
}

/* 빠른 메뉴 "전화상담"(2026-11-17) — 누르면 대표전화로 바로 연결. 상담안내(남색)와 구분되게 청록 */
.quick a.quick-phone {
  background: var(--teal);
  color: #fff;
}
.quick a.quick-phone:hover {
  background: #1f5f58;
}

/* 빠른 메뉴 크기·배치(2026-11-17 점검) — 넓은 화면은 오른쪽 세로 줄을 한 단계 크게("약간 키워"),
   좁은 화면(899px 이하)은 오른쪽에 떠서 글·버튼·입력칸을 가리던 것을 화면 아래 고정 바로 옮긴다. */
.quick {
  gap: 8px;
}
.quick a,
.quick .social-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 72px;
  min-height: 72px;
  padding: 14px 8px;
  font-size: 12px;
}
.quick a .line-icon {
  width: 23px;
  height: 23px;
}
.quick .social-mark {
  font-size: 23px;
  line-height: 22px;
}
.quick .social-kakao svg {
  width: 25px;
  height: 23px;
}
.quick a:last-child {
  min-height: 60px;
  padding: 12px 8px;
}
.quick a:last-child .line-icon {
  width: 17px;
  height: 17px;
}
@media (max-width: 899px) {
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }
  .quick {
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr) 56px;
    gap: 0;
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    border-top: 1px solid #dfe4e8;
    box-shadow: 0 -4px 16px #142d430f;
  }
  .quick a,
  .quick .social-shortcut,
  .quick a:last-child {
    width: auto;
    min-height: 60px;
    padding: 9px 4px;
    gap: 5px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 11px;
  }
  .quick a:last-child {
    border-left: 1px solid #dfe4e8;
  }
  .quick a .line-icon {
    width: 20px;
    height: 20px;
  }
  .quick a:last-child .line-icon {
    width: 16px;
    height: 16px;
  }
  .quick .social-mark {
    font-size: 19px;
    line-height: 20px;
  }
  .quick .social-kakao svg {
    width: 22px;
    height: 20px;
  }
  .quick .social-shortcut:hover {
    transform: none;
  }
}

/* 핵심 단어 강조(2026-11-17) — 첫 화면 설명·대표 소개 문장. 남색 굵은 글씨 + 형광펜처럼 옅은 밑칠 */
.signature-description strong,
.expert-lead strong {
  font-weight: 600;
  color: var(--navy);
  background: linear-gradient(transparent 62%, #dbe5ee 62%);
  padding: 0 1px;
}

/* "미리 확인하면 좋은 자료" 목록 강조(2026-11-17) — 옅은 남색 줄 카드 + 남색 원 체크 + 진한 글씨.
   처음 그려진 항목(선 아이콘 svg)과 상황을 바꿀 때 site-home.js 가 새로 넣는 항목(✓ 글자 span)을 같은 모양으로 맞춘다. */
.result-checks ul {
  gap: 10px;
}
.result-checks li {
  gap: 14px;
  padding: 13px 16px;
  background: #f1f5f8;
  border-left: 3px solid var(--navy);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.result-checks li > .line-icon,
.result-checks li > span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  stroke-width: 2.2;
}
.result-checks li > .line-icon rect {
  display: none; /* 네모 테두리는 빼고 체크만 원 안에 */
}

/* 첫 화면 설명 문단 글자 조금 크게(2026-11-17) — PC 17→19px, 휴대폰 17px */
.signature-hero.full-image-banner .signature-description {
  font-size: 19px;
  line-height: 1.9;
}
@media (max-width: 700px) {
  .signature-hero.full-image-banner .signature-description {
    font-size: 17px;
  }
}

/* "지금, 어떤 상황이신가요?" 상황 카드 꾸밈(2026-11-17) — 칸을 띄운 둥근 카드, 아이콘은 옅은 남색 네모 배지,
   고른 카드는 남색 바탕 + 흰 글씨. 마우스를 올리면 그림자(살짝 뜨는 움직임은 motion.js 가 이미 한다). */
.situation-choices {
  gap: 16px;
  border: 0;
}
.situation-choice,
.situation-choice:last-child,
.situation-choice:nth-child(-n + 2) {
  border: 1px solid #dfe4e8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px #142d4308;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.situation-choice:hover {
  background: #fff;
  border-color: #b8c7d3;
  box-shadow: 0 14px 30px #142d4317;
}
.situation-choice > .line-icon {
  width: 52px;
  height: 52px;
  padding: 13px;
  border-radius: 12px;
  background: #eef3f7;
  color: var(--navy);
  transition: background 0.25s, color 0.25s;
}
.situation-choice .choice-number {
  font-weight: 700;
  color: var(--teal);
}
.situation-choice .choice-copy {
  color: #33495c;
}
.situation-choice[aria-selected="true"],
.situation-choice[aria-selected="true"]:hover {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 16px 34px #142d4333;
}
.situation-choice[aria-selected="true"]::after {
  display: none; /* 아래 청록 막대 대신 카드 전체가 남색 */
}
.situation-choice[aria-selected="true"] > .line-icon {
  background: #ffffff1f;
  color: #fff;
}
.situation-choice[aria-selected="true"] .choice-number {
  color: #8fd0c4;
}
.situation-choice[aria-selected="true"] .choice-copy,
.situation-choice[aria-selected="true"] .choice-arrow {
  color: #fff;
}
.choice-arrow {
  transition: transform 0.25s;
}
.situation-choice:hover .choice-arrow {
  transform: translate(2px, -2px);
}
@media (max-width: 700px) {
  .situation-choices {
    gap: 10px;
  }
  .situation-choice > .line-icon {
    width: 42px;
    height: 42px;
    padding: 10px;
  }
}

/* "사례의 결과와 함께, 검토의 과정까지"(evidence-section) 다시 꾸밈(2026-11-17 "다시 디자인해본다면?") —
   예전 01·02·03 큰 숫자 카드 3장 + → 동그라미를 걷고, 왼쪽은 제목·설명·사례 게시판 안내, 오른쪽은
   "사례를 읽는 순서"를 한 장의 검토지처럼: 아이콘 동그라미를 세로선으로 이은 세 줄(상황 → 쟁점 → 근거). */
.evidence-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: center;
}
.evidence-intro h2 {
  margin: 19px 0 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: -0.045em;
  color: var(--navy);
}
.evidence-intro > p {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-secondary);
}
.evidence-board {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid #dfe4e8;
}
.evidence-board p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.evidence-board p strong {
  font-weight: 600;
  color: var(--navy);
  background: linear-gradient(transparent 62%, #dbe5ee 62%);
  padding: 0 1px;
}
.evidence-rows {
  position: relative;
  margin: 0;
  padding: 12px 40px;
  list-style: none;
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 12px;
  box-shadow: 0 14px 36px #142d430d;
}
.evidence-rows li {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
}
/* 아이콘 동그라미를 잇는 세로선 — 이 줄 아이콘 아래 끝(30+52px)에서 다음 줄 아이콘 위 끝까지 끊김 없이.
   줄 사이 가로 구분선은 세로선과 십자로 겹쳐 보여 뺐다("세로줄과 아이콘이 이상") */
.evidence-rows li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 82px;
  bottom: -30px;
  width: 2px;
  transform: translateX(-50%);
  background: #dbe3ea;
}
.evidence-rows li:nth-last-child(2)::after {
  background: linear-gradient(180deg, #dbe3ea, var(--navy));
}
.evidence-row-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eef3f7;
  color: var(--navy);
}
.evidence-rows li:last-child .evidence-row-icon {
  background: var(--navy);
  color: #fff;
}
.evidence-row-icon .line-icon {
  width: 22px;
  height: 22px;
}
.evidence-row-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--teal);
}
.evidence-rows h3 {
  margin: 6px 0 8px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.evidence-rows p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}
@media (max-width: 1100px) {
  .evidence-layout {
    gap: 48px;
  }
  .evidence-rows {
    padding: 8px 28px;
  }
}
@media (max-width: 900px) {
  .evidence-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .evidence-intro > p,
  .evidence-board p {
    font-size: 15px;
  }
  .evidence-intro h2 {
    font-size: 28px;
  }
  .evidence-rows {
    padding: 4px 20px;
  }
  .evidence-rows li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0;
  }
  .evidence-rows li:not(:last-child)::after {
    left: 21px;
    top: 66px;
    bottom: -24px;
  }
  .evidence-row-icon {
    width: 42px;
    height: 42px;
  }
  .evidence-row-icon .line-icon {
    width: 19px;
    height: 19px;
  }
  .evidence-rows h3 {
    font-size: 18px;
  }
  .evidence-rows p {
    font-size: 15px;
  }
}

/* 대표 경력 카드에서 "20년"·"4종" 강조(2026-11-17) — 숫자만 크게(32px, 1100px 이하 26px) + 남색→청록 글씨. "직접 확인" 은 한 단계 작게 */
.expert-stats .stat-figure {
  font-style: normal;
  font-size: 32px; /* 44 → 36 → 32px 로 줄임(사용자 요청) */
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--teal);
  background: linear-gradient(120deg, var(--navy) 20%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 2px;
}
/* 세 칸 가로 정렬(2026-11-18 "가로 정렬이 안 맞아"): 제목 줄 높이를 셋 다 36px 로 같게 해 아래 설명 줄이 한 줄에 서고,
   큰 숫자 칸은 글자 기준선(baseline)으로, "직접 확인"은 아래로 붙여 세 제목의 글자 바닥이 같은 높이에 오게 한다. */
.expert-stats strong {
  display: flex;
  align-items: baseline;
  height: 36px;
  line-height: 36px;
}
.expert-stats .stat-figure {
  line-height: 36px;
}
.expert-stats li:nth-child(3) strong {
  font-size: 20px;
  position: relative;
  top: 4px; /* 20px 글자는 36px 줄 안에서 기준선이 32px 숫자보다 4px 높다(실측) — 그만큼 내림 */
}
@media (max-width: 1100px) {
  .expert-stats .stat-figure {
    font-size: 26px;
  }
  .expert-stats strong {
    height: auto;
    line-height: 1.3;
  }
  .expert-stats li:nth-child(3) strong {
    top: 0;
  }
  .expert-stats .stat-figure {
    line-height: 1;
  }
}

/* 첫 화면 배너 슬라이드쇼(HeroSlideshow, 2026-11-17) — 사진은 겹쳐 두고 보이는 한 장만 1.2초에 걸쳐 바뀐다.
   넘김 단추는 오른쪽 아래(아래 띠 hero-index 바로 위), 본문 폭(wrap)의 오른쪽 끝에 맞춘다. */
.full-image-banner > .signature-photo > img {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.full-image-banner > .signature-photo > img.is-active {
  opacity: 1;
}
.hero-slide-controls {
  position: absolute;
  z-index: 4;
  right: max(52px, calc((100vw - 1176px) / 2));
  bottom: 84px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #ffffffd9;
  box-shadow: 0 8px 24px #142d431f;
  backdrop-filter: blur(6px);
}
.hero-slide-step {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--navy);
  cursor: pointer;
}
.hero-slide-step:hover {
  background: #eef3f7;
}
.hero-slide-step .line-icon {
  width: 18px;
  height: 18px;
}
.hero-slide-dots {
  display: flex;
  gap: 6px;
  padding: 0 4px;
}
.hero-slide-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #b8c7d3;
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}
.hero-slide-dot[aria-current="true"] {
  width: 26px;
  background: var(--navy);
}
.hero-slide-count {
  min-width: 52px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-align: center;
  color: #4f5e6b;
}
@media (max-width: 700px) {
  .hero-slide-controls {
    right: 16px;
    bottom: 70px;
    gap: 2px;
    padding: 4px 6px;
  }
  .hero-slide-count {
    display: none;
  }
}
/* 동작 줄이기: 사진이 뚝 바뀌지 않게 짧은 겹침 전환만(움직임 없는 투명도 변화라 그대로 둔다, 2026-11-18) */
@media (prefers-reduced-motion: reduce) {
  .full-image-banner > .signature-photo > img {
    transition-duration: 0.8s;
  }
}

/* 업무 흐름 4단계(01 상황 듣기 → … → 04 과정·결과 안내) 다시 꾸밈(2026-11-17 "디자인해보면") —
   화살표 띠 대신 한 줄로 이어진 타임라인: 번호 동그라미를 가로선이 잇고, 아래에 단계 이름 + 한 줄 설명
   (설명은 /process 페이지 문장을 줄인 것). 각 단계는 /process 의 해당 단계로 가는 링크. 마지막 단계만 청록으로 채움.
   휴대폰은 왼쪽 세로선 타임라인. */
.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
  padding-top: 0;
  list-style: none;
}
.journey-track li {
  position: relative;
}
/* 동그라미 사이를 잇는 선 — 각 단계 동그라미 가운데에서 다음 단계 동그라미 가운데까지(마지막 구간만 청록으로 번짐) */
.journey-track li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 20px;
  width: calc(100% + 28px);
  height: 2px;
  background: #cdd7df;
}
.journey-track li:nth-last-child(2)::after {
  background: linear-gradient(90deg, #cdd7df, var(--teal));
}
.journey-track a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: var(--navy);
  text-decoration: none;
}
.journey-track b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border: 1.5px solid #c3cfd9;
  border-radius: 50%;
  background: #f0f2f5;
  box-shadow: 0 0 0 6px #f0f2f5; /* 선이 동그라미 앞뒤로 살짝 끊겨 보이게 */
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.journey-track li:last-child b {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}
.journey-track strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.journey-track span {
  max-width: 260px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.journey-track a:hover b,
.journey-track a:focus-visible b {
  border-color: var(--navy);
  color: var(--navy);
}
.journey-track li:last-child a:hover b,
.journey-track li:last-child a:focus-visible b {
  background: #1f5f58;
  border-color: #1f5f58;
  color: #fff;
}
.journey-track a:hover strong,
.journey-track a:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
@media (prefers-reduced-motion: reduce) {
  .journey-track b {
    transition: none;
  }
}
@media (max-width: 1100px) {
  .journey-track {
    gap: 20px;
  }
  .journey-track li:not(:last-child)::after {
    width: calc(100% + 20px);
  }
  .journey-track strong {
    font-size: 16px;
  }
  .journey-track span {
    font-size: 14px;
  }
}
@media (max-width: 760px) {
  .journey-track {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 32px;
  }
  .journey-track li:not(:last-child)::after {
    top: 20px;
    left: 19px;
    width: 2px;
    height: 100%;
  }
  .journey-track li:nth-last-child(2)::after {
    background: linear-gradient(180deg, #cdd7df, var(--teal));
  }
  .journey-track a {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 2px;
    padding-bottom: 22px;
  }
  .journey-track b {
    grid-row: span 2;
    margin-bottom: 0;
  }
  .journey-track strong {
    padding-top: 8px;
  }
  .journey-track span {
    max-width: none;
  }
}

/* ── 회사소개(/company) 다시 꾸밈(2026-11-17 "밋밋하다") — 홈과 같은 머리말·제목·남색 띠·카드 언어로 맞춘다 ── */
.company-greeting-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
}
.company-greeting-copy h2 {
  margin: 17px 0 28px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.045em;
  color: var(--navy);
}
.company-greeting-copy > p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-secondary);
}
.company-greeting-copy > p strong {
  font-weight: 600;
  color: var(--navy);
  background: linear-gradient(transparent 62%, #dbe5ee 62%);
  padding: 0 1px;
}
.company-greeting-copy > p.company-sign {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 30px 0 28px;
  padding-top: 24px;
  border-top: 1px solid #dfe4e8;
}
.company-sign span {
  font-size: 14px;
  color: var(--text-muted);
}
.company-sign strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.company-greeting-visual {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 18px 40px #142d4314;
}
.company-greeting-visual img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 62% center;
}

/* 일하는 방식 — 홈 남색 띠(.principles-section)를 그대로 쓰고 제목만 세 줄 */
.company-values .principle-title p {
  margin-top: 18px;
}

/* 소속 손해사정사 — 왼쪽 이름·한마디·경력 세 칸, 오른쪽 자격·분야·경력 목록 */
.company-experts {
  background: #f6f8fa;
}
.company-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 12px;
  box-shadow: 0 4px 14px #142d430a;
  overflow: hidden;
}
.company-profile-main {
  padding: 44px 44px 40px;
}
.company-profile-role {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal);
}
.company-profile-main h3 {
  margin: 6px 0 22px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.company-profile-main blockquote {
  margin: 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid #c9d3dc;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-secondary);
}
.company-profile-main .expert-stats {
  margin: 32px 0 0;
}
.company-profile-info {
  margin: 0;
  padding: 44px 40px;
  background: #fafbfc;
  border-left: 1px solid #e6ebef;
}
.company-profile-info > div + div {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e6ebef;
}
.company-profile-info dt {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.company-profile-info dd {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--navy);
}
.company-career {
  margin: 0;
  padding: 0;
  list-style: none;
}
.company-career li {
  position: relative;
  padding-left: 18px;
}
.company-career li + li {
  margin-top: 8px;
}
.company-career li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
}
.company-career li:first-child::before {
  background: var(--teal);
}

@media (max-width: 1100px) {
  .company-greeting-grid {
    gap: 44px;
  }
  .company-profile {
    grid-template-columns: 1fr;
  }
  .company-profile-info {
    border-left: 0;
    border-top: 1px solid #e6ebef;
  }
}
@media (max-width: 800px) {
  .company-greeting-grid {
    grid-template-columns: 1fr;
  }
  .company-greeting-visual {
    order: -1;
  }
  .company-greeting-visual img {
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 700px) {
  .company-greeting-copy h2 {
    font-size: 26px;
  }
  .company-greeting-copy > p {
    font-size: 15px;
  }
  .company-profile-main,
  .company-profile-info {
    padding: 28px 22px;
  }
  .company-profile-main h3 {
    font-size: 27px;
  }
  .company-profile-main blockquote {
    font-size: 15px;
  }
}

/* 상담 폼(contact-form-shell) 다시 꾸밈(2026-11-17 "여기도 디자인 해봐") —
   머리(라벨·제목·한 줄) / 성함·연락처 한 줄 / 상담 주제는 업무 분야 칩(라디오) / 동의는 옅은 상자 / 단추 아래 대표전화.
   접수 기능은 아직 시안(site-home.js 가 제출을 막고 안내만 띄움)이라 "시안·검토용" 문구는 그대로 둔다. */
.contact-form-shell {
  padding: 40px 40px 34px;
  border: 1px solid #dfe4e8;
  border-radius: 12px;
  box-shadow: 0 18px 44px #142d4312;
}
.consult-head {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #edf0f3;
}
.consult-head .mini-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--teal);
}
.contact-form-shell .consult-head h3 {
  margin: 10px 0 6px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.consult-head p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}
.contact-form-shell form {
  display: grid;
  gap: 20px;
}
.contact-form-shell .form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #2b4256;
}
.contact-form-shell input:not([type="radio"]):not([type="checkbox"]),
.contact-form-shell textarea {
  width: 100%;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #d6dee5;
  border-radius: 8px;
  font-size: 15px;
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.contact-form-shell textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.7;
}
.contact-form-shell input:not([type="radio"]):not([type="checkbox"]):focus,
.contact-form-shell textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px #28756d24;
}
.contact-form-shell input::placeholder,
.contact-form-shell textarea::placeholder {
  color: #9aa8b4;
}
.consult-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.consult-topics {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.consult-topics legend {
  padding: 0;
}
.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.topic-chip {
  position: relative;
  cursor: pointer;
}
.topic-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.topic-chip span {
  display: inline-block;
  padding: 9px 15px;
  border: 1px solid #d6dee5;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  color: var(--text-secondary);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.topic-chip:hover span {
  border-color: #9fb0bf;
}
.topic-chip input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.topic-chip input:focus-visible + span {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.contact-form-shell label.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: #f4f6f8;
  border-radius: 8px;
  font-size: 13px !important;
  line-height: 1.7 !important;
  color: var(--text-secondary);
  cursor: pointer;
}
.contact-form-shell label.consent input {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--teal);
}
.contact-form-shell .submit {
  min-height: 56px;
  margin-top: 2px;
  border-radius: 6px;
  font-size: 16px;
}
.contact-form-shell .notice:empty {
  display: none;
}
.consult-phone {
  margin: -4px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}
.consult-phone a {
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .contact-form-shell input,
  .contact-form-shell textarea,
  .topic-chip span {
    transition: none;
  }
}
@media (max-width: 700px) {
  .contact-form-shell {
    padding: 28px 20px 24px;
  }
  .contact-form-shell .consult-head h3 {
    font-size: 22px;
  }
  .consult-row {
    grid-template-columns: 1fr;
  }
  .topic-chip span {
    padding: 8px 13px;
    font-size: 13px;
  }
}


/* ── 일관성 정리(2026-11-17 "버튼·폰트·디자인 일관성 점검" → "1~5 통일") ──
   1) 남색 기본 버튼: 높이 54 · 모서리 6 · 굵기 600 · 15px(휴대폰 14px). 둥근 알약(999px)은 작은 보조 단추만.
   2) 글자 링크(editor-link) 15px.
   3) 섹션 제목 36px(1050px 이하 32 · 휴대폰 28), 남색 기준 섹션만 40px(휴대폰 32).
   4) 본문 회색 두 가지: --text-secondary(본문) · --text-muted(작은 설명).
   5) 모서리: 큰 카드 12px · 안쪽 칸/입력칸 8px (위 각 규칙에서 값으로 맞춤). */
:root {
  --text-muted: #6b7782;
}
.button-primary,
.signature-actions .button-primary,
.journey-grid .button-primary,
.result-checks > .section-cta,
.expert-copy > .section-cta,
.evidence-board > .section-cta,
.contact-form-shell .submit {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.contact-form-shell .submit {
  display: flex;
  justify-content: center;
}
.editor-link,
.principle-title .editor-link {
  font-size: 15px;
}
.note {
  border-radius: 8px;
}
.editor-heading h2,
.expert-copy h2,
.journey-grid h2,
.contact-intro h2,
.evidence-intro h2,
.company-greeting-copy h2 {
  font-size: 36px;
  line-height: 1.55;
}
.principle-title h2 {
  font-size: 40px;
}
@media (max-width: 1050px) {
  .editor-heading h2,
  .expert-copy h2,
  .journey-grid h2,
  .contact-intro h2,
  .evidence-intro h2,
  .company-greeting-copy h2 {
    font-size: 32px;
  }
  .principle-title h2 {
    font-size: 36px;
  }
}
@media (max-width: 700px) {
  .button-primary,
  .signature-actions .button-primary,
  .journey-grid .button-primary,
  .result-checks > .section-cta,
  .expert-copy > .section-cta,
  .evidence-board > .section-cta,
  .contact-form-shell .submit {
    min-height: 52px;
    font-size: 14px;
  }
  .editor-link,
  .principle-title .editor-link {
    font-size: 14px;
  }
  .editor-heading h2,
  .expert-copy h2,
  .journey-grid h2,
  .contact-intro h2,
  .evidence-intro h2,
  .company-greeting-copy h2 {
    font-size: 28px;
  }
  .principle-title h2 {
    font-size: 32px;
  }
}
/* 6) 버튼 모서리 마저 맞춤 — 헤더 "상담안내"(2px)도 본문 버튼처럼 6px, 오른쪽 빠른 메뉴 칸(4px)은 안쪽 칸 규칙 8px.
   휴대폰 하단 고정 바(899px 이하)는 모서리 없이 그대로. */
.navbutton {
  border-radius: 6px;
}
@media (min-width: 900px) {
  .quick a,
  .quick .social-shortcut {
    border-radius: 8px;
  }
}

/* ── 업무영역 카드(.area-cards) — 회사소개 "업무소개" 5장 · 업무영역 페이지 "다른 업무영역" 4장(2026-11-17 "밋밋해") ──
   아이콘 배지 + 번호 / 분야 이름 / 한 줄 요약 / "자세히 보기 →". 마우스를 올리면 살짝 떠오르고 배지가 남색으로. */
.area-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.area-cards a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 22px 22px;
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 12px;
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.area-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}
.area-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eef3f7;
  color: var(--navy);
  transition: background 0.2s, color 0.2s;
}
.area-card-icon .line-icon {
  width: 24px;
  height: 24px;
}
.area-card-number {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #9aa8b4;
}
.area-cards strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.area-card-summary {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}
.area-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}
.area-card-more .line-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.area-cards a:hover,
.area-cards a:focus-visible {
  border-color: #b9c6d1;
  box-shadow: 0 12px 28px #142d4314;
  transform: translateY(-3px);
}
.area-cards a:hover .area-card-icon,
.area-cards a:focus-visible .area-card-icon {
  background: var(--navy);
  color: #fff;
}
.area-cards a:hover .area-card-more .line-icon,
.area-cards a:focus-visible .area-card-more .line-icon {
  transform: translateX(4px);
}
@media (prefers-reduced-motion: reduce) {
  .area-cards a,
  .area-card-icon,
  .area-card-more .line-icon {
    transition: none;
  }
}
@media (max-width: 700px) {
  .area-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .area-cards a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    padding: 18px;
  }
  .area-card-top {
    grid-row: span 2;
    margin: 0;
  }
  .area-card-icon {
    width: 44px;
    height: 44px;
  }
  .area-card-number {
    display: none;
  }
  .area-cards strong {
    font-size: 16px;
  }
  .area-card-summary {
    grid-column: 2;
    margin: 0;
    font-size: 13px;
  }
  .area-card-more {
    grid-column: 3;
    grid-row: 1 / span 2;
    padding: 0;
    font-size: 0;
  }
  .area-card-more .line-icon {
    width: 18px;
    height: 18px;
  }
}

/* ── 업무영역 페이지(/business01~05, BusinessAreaContent) 다시 꾸밈(2026-11-17 "적당히 내용 채워서 디자인") ──
   소개(아이콘·이름·설명·태그 | "이런 경우" 카드) → 쟁점 카드 3장(옅은 회색 바탕) → 준비 자료 → 남색 상담 띠 → 다른 업무영역. */
.subnav a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--teal);
}
.biz-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: start;
}
.biz-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}
.biz-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
}
.biz-icon .line-icon {
  width: 28px;
  height: 28px;
}
.biz-title h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--navy);
}
.biz-lead {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-secondary);
}
.biz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.biz-tags li {
  padding: 7px 14px;
  border-radius: 999px;
  background: #eef3f7;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.biz-situations {
  padding: 32px 32px 30px;
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 12px;
  box-shadow: 0 14px 36px #142d430d;
}
.biz-situations h3 {
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.biz-situations ul {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.biz-situations li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.biz-situations li .line-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  padding: 4px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}
.biz-situations .button-primary {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.biz-issues {
  background: #f4f6f8;
}
.biz-issue-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.biz-issue-list li {
  padding: 28px 28px 30px;
  background: #fff;
  border: 1px solid #e3e8ec;
  border-radius: 12px;
}
.biz-issue-number {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef3f7;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.biz-issue-list h3 {
  margin: 18px 0 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.biz-issue-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.biz-docs-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}
.biz-docs-copy h2 {
  margin: 17px 0 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.045em;
  color: var(--navy);
}
.biz-docs-copy p {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
}
.biz-doc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.biz-doc-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e3e8ec;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}
.biz-doc-list .line-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--teal);
}
.biz-note {
  margin-top: 36px;
  font-size: 13px;
}
.biz-cta {
  padding: 72px 0;
  background: var(--navy);
  color: #fff;
}
.biz-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.biz-cta .section-kicker {
  color: #9fd3ca;
}
.biz-cta h2 {
  margin: 14px 0 10px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.045em;
  color: #fff;
}
.biz-cta p {
  margin: 0;
  font-size: 16px;
  color: #c9d5de;
}
.biz-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.biz-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.biz-cta-primary .line-icon {
  width: 18px;
  height: 18px;
}
.biz-cta-primary:hover {
  background: #31897f;
}
.biz-cta-phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 54px;
  padding: 6px 22px;
  border: 1px solid #ffffff40;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}
.biz-cta-phone small {
  font-size: 12px;
  color: #b9c8d4;
}
.biz-cta-phone strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.biz-cta-phone:hover {
  background: #ffffff14;
}
@media (prefers-reduced-motion: reduce) {
  .biz-cta-primary,
  .biz-cta-phone {
    transition: none;
  }
}
@media (max-width: 1100px) {
  .biz-intro-grid,
  .biz-docs-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .biz-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .biz-issue-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
@media (max-width: 700px) {
  .biz-icon {
    width: 48px;
    height: 48px;
  }
  .biz-icon .line-icon {
    width: 24px;
    height: 24px;
  }
  .biz-title h2,
  .biz-docs-copy h2 {
    font-size: 28px;
  }
  .biz-lead,
  .biz-docs-copy p {
    font-size: 15px;
  }
  .biz-situations {
    padding: 24px 20px;
  }
  .biz-issue-list li {
    padding: 22px 20px;
  }
  .biz-doc-list {
    grid-template-columns: 1fr;
  }
  .biz-cta {
    padding: 56px 0;
  }
  .biz-cta h2 {
    font-size: 25px;
  }
  .biz-cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .biz-cta-primary {
    justify-content: space-between;
  }
}

/* 공정한소식 탭(미디어·동영상)·"전체보기" 글씨 키우기(2026-11-17 "여기도 글씨 키워") — 탭 15→17px, 전체보기 16px. 고른 탭은 굵게 */
.home-news-tabs button {
  font-size: 17px;
}
.home-news-tabs button[aria-selected="true"] {
  font-weight: 600;
}
.home-news-toolbar > .editor-link {
  font-size: 16px;
}
@media (max-width: 700px) {
  .home-news-tabs button {
    font-size: 15px;
  }
  .home-news-toolbar > .editor-link {
    font-size: 14px;
  }
}

/* ── 작은 글씨 전반 키우기(2026-11-17 "전반적으로 글씨를 키워야겠네 작은글씨가 너무 작어") ──
   홈·회사소개·업무영역·업무절차에서 15px 미만이던 글자를 세 단계로 올림.
   ① 본문 성격(13~14px) → 15~16px  ② 보조 설명(13px) → 14~15px  ③ 영문 머리말·번호(11~12px) → 12~13px.
   휴대폰(700px 이하)은 한 단계 작게. 빠른 메뉴는 따로 정해 두었으므로 제외. */

/* ① 본문 성격 */
.area-card-summary,
.contact-promises li,
.consult-head p,
.consult-phone,
.contact-phone-bottom,
.expert-tag p,
.company-sign span,
.footer-grid p,
footer .footer-grid a {
  font-size: 16px;
}
.biz-tags li,
.topic-chip span,
.contact-form-shell .form-label,
.news-coming-link,
.area-card-more,
.contact-phone-call,
.contact-phone-top small,
.process-detail .mini-title,
.situation-result .result-checks > .mini-title,
.company-profile-role {
  font-size: 15px;
}

/* ② 보조 설명 */
.expert-stats span,
.biz-note,
.note {
  font-size: 15px;
}
.contact-intro > small.contact-draft-note,
.contact-form-shell label.consent,
.expert-tag span,
.contact-phone-top em,
.journey-track b,
.biz-issue-number,
.process-index span {
  font-size: 14px !important;
}

/* 푸터 작은 제목(Company · Site map) — 첫 칸 상호(20px)는 그대로 두도록 !important 없이 */
footer h3 {
  font-size: 14px;
}

/* ③ 영문 머리말·번호·작은 표시 */
.section-kicker,
.consult-head .mini-title {
  font-size: 12px;
  letter-spacing: 0.14em;
}
.hero-index,
.hero-index a {
  font-size: 12px;
}
.evidence-row-label,
.company-profile-info dt,
.area-card-number,
.choice-number,
.hero-slide-count,
.biz-cta-phone small,
.result-tag,
footer .copyright {
  font-size: 13px;
}

@media (max-width: 700px) {
  .area-card-summary,
  .contact-promises li,
  .consult-head p,
  .consult-phone,
  .contact-phone-bottom,
  .expert-tag p,
  .company-sign span,
  .footer-grid p,
  footer .footer-grid a {
    font-size: 15px;
  }
  .biz-tags li,
  .topic-chip span,
  .contact-form-shell .form-label,
  .area-card-more,
  .expert-stats span,
  .biz-note,
  .note {
    font-size: 14px;
  }
  .section-kicker,
  .consult-head .mini-title {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
}
/* 휴대폰 업무영역 카드: 오른쪽 끝은 화살표만(위 글씨 키우기 규칙보다 우선) */
@media (max-width: 700px) {
  .area-cards .area-card-more {
    align-self: center;
    margin: 0;
    font-size: 0;
  }
}

/* 업무영역 페이지 글씨 한 단계 더(2026-11-17 "업무영역 전반적으로 작은글씨좀 키워") */
.biz-lead {
  font-size: 18px;
}
.biz-tags li {
  font-size: 16px;
}
.biz-situations h3,
.biz-issue-list h3 {
  font-size: 21px;
}
.biz-situations li,
.biz-issue-list p,
.biz-doc-list li,
.biz-docs-copy p {
  font-size: 17px;
}
.biz-note {
  font-size: 16px;
}
.biz-cta p {
  font-size: 17px;
}
.biz-cta-phone small {
  font-size: 14px;
}
@media (max-width: 700px) {
  .biz-lead {
    font-size: 16px;
  }
  .biz-tags li {
    font-size: 15px;
  }
  .biz-situations h3,
  .biz-issue-list h3 {
    font-size: 19px;
  }
  .biz-situations li,
  .biz-issue-list p,
  .biz-doc-list li,
  .biz-docs-copy p,
  .biz-note,
  .biz-cta p {
    font-size: 15px;
  }
}
/* 업무영역 상담 띠 — "상담 신청하기"와 대표전화 상자 높이 맞춤("버튼 높이 일치") */
.biz-cta-actions {
  align-items: stretch;
}
.biz-cta-primary,
.biz-cta-phone {
  min-height: 72px;
  box-sizing: border-box;
}
.biz-cta-phone {
  padding: 10px 22px;
}

/* 서브 페이지 위 탭 메뉴(.subnav — 업무영역·회사소개·공정한소식 등) 글씨 키우기(2026-11-17 "여기 글씨 좀 키워도 되겠다") 15→17px */
.subnav {
  gap: 12px 40px;
  font-size: 17px;
}
.subnav a {
  padding: 4px 2px;
}
@media (max-width: 700px) {
  .subnav {
    gap: 10px 22px;
    font-size: 15px;
  }
}

/* 업무영역 강조 글씨(2026-11-17 "모든 업무영역에서 글씨 강조할건 강조해") — 홈 히어로 설명과 같은 남색 굵은 글씨 + 옅은 밑칠 */
.biz-lead strong,
.biz-situations li strong,
.biz-issue-list p strong {
  font-weight: 600;
  color: var(--navy);
  background: linear-gradient(transparent 62%, #dbe5ee 62%);
  padding: 0 1px;
}

/* 한 글자만 다음 줄로 떨어지지 않게(2026-11-17 "최대한 한글자씩 안내려오게") — 사이트 전체.
   단어 중간에서 끊지 않고(keep-all), 마지막 줄이 너무 짧지 않게(pretty), 제목은 줄 길이를 고르게(balance).
   긴 주소·영문은 넘치지 않도록 필요할 때만 끊는다. */
main,
footer {
  word-break: keep-all;
  overflow-wrap: break-word;
}
main p,
main li,
main dd,
main span,
main small,
main blockquote,
footer p {
  text-wrap: pretty;
}
main h1,
main h2,
main h3 {
  text-wrap: balance;
}
/* 준비 자료 — 길이가 제각각인 칸이 들쭉날쭉해 보여("모양이 너무 삐뚤빼뚤") 카드 한 장 안의 한 줄 체크리스트로.
   오른쪽 칸 폭이면 가장 긴 항목도 한 줄에 들어간다. 줄 사이 얇은 선, 문서 아이콘은 그대로. */
.biz-doc-list {
  display: block;
  padding: 6px 26px;
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 12px;
  box-shadow: 0 14px 36px #142d430d;
}
.biz-doc-list li {
  padding: 17px 2px;
  background: none;
  border: 0;
  border-radius: 0;
}
.biz-doc-list li + li {
  border-top: 1px solid #edf0f3;
}
@media (max-width: 700px) {
  .biz-doc-list {
    padding: 4px 18px;
  }
  .biz-doc-list li {
    padding: 15px 0;
  }
}

/* ── 업무절차(/process, ProcessContent) 다시 꾸밈(2026-11-17 "업무절차도 디자인해봐") ──
   머리 아래 "한눈에 보기"(상담·검토·안내 세 묶음 카드) / 왼쪽 바로가기는 현재 단계 강조 /
   오른쪽은 번호 동그라미를 세로선으로 이은 타임라인 + 흰 카드(확인할 일 · 관련 자료 두 칸) / 기간·비용 질문 카드 / 남색 상담 띠. */
.process-hero {
  padding-bottom: 56px;
}
.proc-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.proc-overview > li {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 12px;
}
.proc-phase {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f3;
}
.proc-phase strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.proc-phase small {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--teal);
}
.proc-overview ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.proc-overview a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--text-secondary);
  text-decoration: none;
}
.proc-overview a b {
  font-size: 13px;
  font-weight: 700;
  color: #9aa8b4;
}
.proc-overview a:hover {
  color: var(--navy);
}

/* 왼쪽 바로가기 — 글씨 키우고 현재 단계(aria-current)는 남색 굵게 + 왼쪽 청록 줄 */
.process-index a {
  gap: 14px;
  padding: 16px 0 16px 14px;
  border-bottom: 1px solid #e6ebef;
  font-size: 16px;
  color: var(--text-secondary);
  box-shadow: inset 2px 0 0 transparent;
  transition: color 0.2s, box-shadow 0.2s;
}
.process-index a span {
  color: #9aa8b4;
}
.process-index a[aria-current],
.process-index a:hover {
  color: var(--navy);
}
.process-index a[aria-current] {
  font-weight: 600;
  box-shadow: inset 2px 0 0 var(--teal);
}
.process-index a[aria-current] span {
  color: var(--teal);
}

/* 단계 타임라인 */
.proc-timeline .process-detail {
  position: relative;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 24px;
  padding: 0 0 22px;
  border-top: 0;
}
.proc-timeline .process-detail:not(:last-of-type)::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: #dbe3ea;
}
.proc-timeline .process-step-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #c3cfd9;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}
.proc-timeline .process-detail:last-of-type .process-step-number {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.proc-card {
  padding: 26px 30px 28px;
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 12px;
  box-shadow: 0 10px 28px #142d430a;
}
.proc-card .mini-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--teal);
}
.proc-timeline .proc-card h2 {
  margin: 6px 0 10px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.proc-timeline .proc-card > p {
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-secondary);
}
.proc-card > p strong,
.process-note p strong {
  font-weight: 600;
  color: var(--navy);
  background: linear-gradient(transparent 62%, #dbe5ee 62%);
  padding: 0 1px;
}
.proc-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.proc-info > div {
  padding: 16px 18px;
  background: #f6f8fa;
  border-radius: 8px;
}
.proc-info-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.proc-info-label .line-icon {
  width: 18px;
  height: 18px;
  color: var(--teal);
}
.proc-info p {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* 기간·비용 질문 카드 */
.proc-timeline .process-note {
  margin: 14px 0 0 76px;
  padding: 28px 30px;
  background: #f4f6f8;
  border-radius: 12px;
}
.proc-timeline .process-note h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.proc-timeline .process-note p {
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-secondary);
}
.proc-timeline .process-note p.proc-note-small {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-muted);
}
@media (prefers-reduced-motion: reduce) {
  .process-index a {
    transition: none;
  }
}
@media (max-width: 1100px) {
  .proc-info {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .proc-overview {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }
  .proc-overview > li {
    padding: 16px 18px;
  }
  .proc-overview ul {
    grid-template-columns: 1fr 1fr;
  }
  .proc-overview a {
    font-size: 14px;
  }
  .process-index a {
    padding: 13px 0 13px 10px;
    font-size: 14px;
  }
  .proc-timeline .process-detail {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
  }
  .proc-timeline .process-detail:not(:last-of-type)::before {
    left: 19px;
    top: 40px;
  }
  .proc-timeline .process-step-number {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }
  .proc-card {
    padding: 20px 18px 22px;
  }
  .proc-timeline .proc-card h2 {
    font-size: 20px;
  }
  .proc-timeline .proc-card > p,
  .proc-timeline .process-note p {
    font-size: 15px;
  }
  .proc-info p {
    font-size: 15px;
  }
  .proc-timeline .process-note {
    margin-left: 0;
    padding: 22px 20px;
  }
}
/* 휴대폰: 위 "한눈에 보기"와 같은 6단계를 바로가기 목록이 한 번 더 보여 줘서 숨김(원본 규칙이 !important) */
@media (max-width: 700px) {
  .process-index {
    display: none !important;
  }
}

/* 업무절차 "한눈에 보기" 카드 — 흰 카드가 너무 하얘서("배경이 너무 하얗다") 반투명 바탕 + 머리 줄을 옅은 남색 띠로, 마지막(안내)만 청록 띠 */
.proc-overview > li {
  padding: 0 0 16px;
  overflow: hidden;
  background: #ffffff8c;
  border-color: #d6dee6;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.proc-overview .proc-phase {
  margin-bottom: 14px;
  padding: 14px 22px;
  border-bottom: 0;
  background: #e3eaf1;
}
.proc-overview > li:last-child .proc-phase {
  background: var(--teal);
}
.proc-overview > li:last-child .proc-phase strong,
.proc-overview > li:last-child .proc-phase small {
  color: #fff;
}
.proc-overview ul {
  padding: 0 22px;
}
@media (max-width: 700px) {
  .proc-overview > li {
    padding: 0 0 14px;
  }
  .proc-overview .proc-phase {
    padding: 12px 18px;
  }
  .proc-overview ul {
    padding: 0 18px;
  }
}

/* 업무절차 "한눈에 보기" 다시(2026-11-17 "이거 디자인은 별로다") — 카드·색 띠를 걷고, 위아래 얇은 선 사이 세 칸을 세로선으로만 나눈다.
   묶음 이름은 남색 굵게, 번호 범위는 청록 작게. 마지막 "안내"도 같은 모양(색 강조 없음). */
.proc-overview {
  gap: 0;
  border-top: 1px solid #d6dee6;
  border-bottom: 1px solid #d6dee6;
}
.proc-overview > li {
  padding: 20px 28px 22px;
  overflow: visible;
  background: none;
  border: 0;
  border-radius: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.proc-overview > li + li {
  border-left: 1px solid #d6dee6;
}
.proc-overview > li:first-child {
  padding-left: 0;
}
.proc-overview .proc-phase,
.proc-overview > li:last-child .proc-phase {
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0;
  background: none;
}
.proc-overview > li:last-child .proc-phase strong {
  color: var(--navy);
}
.proc-overview > li:last-child .proc-phase small {
  color: var(--teal);
}
.proc-overview ul {
  padding: 0;
}
@media (max-width: 700px) {
  .proc-overview > li,
  .proc-overview > li:first-child {
    padding: 16px 0;
  }
  .proc-overview > li + li {
    border-left: 0;
    border-top: 1px solid #e3e8ec;
  }
  .proc-overview ul {
    padding: 0;
  }
}

/* 업무절차 단계 카드 — 테두리 없이 아주 옅은 그림자만("border 테두리 있는 것도 별로") */
.proc-card {
  border: 0;
  box-shadow: 0 2px 4px #142d4308, 0 12px 32px #142d430f;
}
/* 업무절차 단계 — 카드 대신 줄로 구분("줄과 줄로 구분하는 것도 괜찮을 것 같은데"). 배경·그림자 없이 단계 사이 얇은 가로선만 */
.proc-card {
  padding: 8px 0 34px;
  background: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e3e8ec;
}
.proc-timeline .process-detail {
  padding-bottom: 30px;
}
.proc-timeline .process-detail:last-of-type .proc-card {
  border-bottom: 0;
  padding-bottom: 8px;
}
@media (max-width: 700px) {
  .proc-card {
    padding: 6px 0 26px;
  }
  .proc-timeline .process-detail {
    padding-bottom: 22px;
  }
}

/* 업무절차 — 단계마다 "손해사정사가 하는 일"(옅은 남색 칸) · "고객이 할 일"(옅은 청록 칸) 나눠 보이기(2026-11-17 "고객과 사정사의 영역 구분") */
.proc-roles {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 12px;
  margin-top: 16px;
}
.proc-role {
  padding: 18px 20px 20px;
  border-radius: 8px;
}
.proc-role-expert {
  background: #eef3f7;
}
.proc-role-client {
  background: #eaf4f1;
}
.proc-role-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}
.proc-role-expert .proc-role-label {
  color: var(--navy);
}
.proc-role-client .proc-role-label {
  color: var(--teal);
}
.proc-role-label .line-icon {
  width: 18px;
  height: 18px;
}
.proc-timeline .proc-role p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.proc-timeline .proc-role p strong {
  font-weight: 600;
  color: var(--navy);
  background: linear-gradient(transparent 62%, #d3dee8 62%);
  padding: 0 1px;
}
.proc-timeline .proc-role p.proc-docs {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #d3e6e1;
  font-size: 15px;
}
.proc-docs .line-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--teal);
}
.proc-docs b {
  font-weight: 600;
  color: var(--navy);
}
@media (max-width: 1100px) {
  .proc-roles {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .proc-role {
    padding: 16px;
  }
  .proc-timeline .proc-role p {
    font-size: 15px;
  }
}

/* 홈 업무 흐름 — 번호 사이 잇는 선 없앰("가로줄 없어도 되겠어, 번호가 있으니까"). 휴대폰 세로선도 같이 */
.journey-track li:not(:last-child)::after {
  content: none;
}
/* 홈 업무 흐름 — 번호 바로 옆에 단계 이름("번호 바로 뒤에 글자 오게"), 설명은 이름 아래 */
.journey-track a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
}
.journey-track b {
  margin-bottom: 0;
}
.journey-track span {
  grid-column: 2;
}
.journey-track strong {
  padding-top: 0;
}
/* 경력 숫자 칸 아이콘을 뺐으므로(2026-11-17) 좁은 화면의 "아이콘 | 숫자 | 설명" 3열을 "숫자 | 설명" 2열로 */
@media (max-width: 1100px) {
  .expert-stats li {
    grid-template-columns: auto 1fr;
  }
}

/* 업무영역 페이지 아래 "다른 업무영역" — 상자 대신 줄로 나눈 목록("상자 말고 다른 디자인").
   한 줄: 작은 아이콘 | 이름 + 한 줄 요약 | 화살표. 넓은 화면은 두 칸, 휴대폰은 한 칸. 번호는 숨김 */
.biz-others .area-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 0;
  border-top: 1px solid #dfe4e8;
}
.biz-others .area-cards li {
  border-bottom: 1px solid #dfe4e8;
}
.biz-others .area-cards a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  column-gap: 16px;
  row-gap: 2px;
  align-items: center;
  padding: 22px 4px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.biz-others .area-cards a:hover,
.biz-others .area-cards a:focus-visible {
  border: 0;
  box-shadow: none;
  transform: none;
}
.biz-others .area-card-top {
  grid-row: span 2;
  margin: 0;
}
.biz-others .area-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eef3f7;
}
.biz-others .area-card-icon .line-icon {
  width: 20px;
  height: 20px;
}
.biz-others .area-card-number {
  display: none;
}
.biz-others .area-cards strong {
  font-size: 18px;
  transition: color 0.2s;
}
.biz-others .area-card-summary {
  grid-column: 2;
  margin: 0;
  font-size: 15px;
}
.biz-others .area-card-more {
  grid-column: 3;
  grid-row: 1 / span 2;
  margin: 0;
  padding: 0;
  font-size: 0;
}
.biz-others .area-card-more .line-icon {
  width: 20px;
  height: 20px;
}
.biz-others .area-cards a:hover strong,
.biz-others .area-cards a:focus-visible strong {
  color: var(--teal);
}
@media (prefers-reduced-motion: reduce) {
  .biz-others .area-cards strong {
    transition: none;
  }
}
@media (max-width: 800px) {
  .biz-others .area-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .biz-others .area-cards a {
    padding: 18px 0;
  }
  .biz-others .area-cards strong {
    font-size: 16px;
  }
  .biz-others .area-card-summary {
    font-size: 14px;
  }
}

/* ── 성공사례 카드 "자세히보기"(링크) — 예전 단추와 같은 밑줄 글자 모양 ── */
.card .case-card-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #173c5b;
  font-size: 15px;
  color: #173c5b;
  text-decoration: none;
}
.card .case-card-link .line-icon {
  width: 14px;
  height: 14px;
}
.card .case-card-link:hover {
  color: var(--teal);
  border-color: var(--teal);
}

/* ── 성공사례 상세(/case/[id], CaseDetail) 2026-11-17 ──
   가운데 좁은 글 칸: 목록으로 · 머리(분류 표시·날짜·제목·요약) · 문단 · 관련 서류(2열 그림, 누르면 원본) · 안내 · 링크 */
.case-detail-wrap {
  max-width: 860px;
}
.case-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-secondary);
  text-decoration: none;
}
.case-back .line-icon {
  width: 18px;
  height: 18px;
}
.case-back:hover {
  color: var(--navy);
}
.case-detail-head {
  margin-top: 26px;
  padding-bottom: 28px;
  border-bottom: 1px solid #dfe4e8;
}
.case-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}
.case-detail-meta b {
  padding: 4px 12px;
  border-radius: 999px;
  background: #eef3f7;
  font-weight: 600;
  color: var(--navy);
}
.case-detail-head h2 {
  margin: 16px 0 12px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.case-detail-summary {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.case-detail-text {
  margin-top: 28px;
}
.case-detail-text p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.95;
  color: var(--text-secondary);
}
.case-docs {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #dfe4e8;
}
.case-docs h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.case-docs-note {
  margin: 8px 0 20px;
  font-size: 15px;
  color: var(--text-muted);
}
.case-docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.case-docs-grid a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}
.case-docs-grid img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  background: #fff;
  transition: box-shadow 0.2s;
}
.case-docs-grid span {
  font-size: 15px;
  font-weight: 600;
}
.case-docs-grid a:hover img {
  box-shadow: 0 10px 26px #142d431c;
}
.case-detail-note {
  margin-top: 36px;
}
.case-detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
}
.case-detail-links .more {
  font-size: 15px;
}
@media (prefers-reduced-motion: reduce) {
  .case-docs-grid img {
    transition: none;
  }
}
@media (max-width: 700px) {
  .case-detail-head h2 {
    font-size: 23px;
  }
  .case-detail-summary {
    font-size: 16px;
  }
  .case-detail-text p {
    font-size: 15px;
  }
  .case-docs-grid {
    grid-template-columns: 1fr;
  }
}
/* 업무절차 "손해사정사가 하는 일" 글씨 키우기(2026-11-17 "좀 키우자") */
.proc-timeline .proc-role-expert p {
  font-size: 18px;
}
.proc-role-expert .proc-role-label {
  font-size: 15px;
}
@media (max-width: 700px) {
  .proc-timeline .proc-role-expert p {
    font-size: 16px;
  }
}
/* 업무절차 역할 칸 다시(2026-11-17) — "손해사정사가 하는 일"은 한 줄 전체 폭으로 넓게(어색한 줄바꿈 줄이기),
   "고객이 할 일"은 그 아래 짧은 한 줄 띠로 간단하게("고객이 할 일은 간단하게"): 표시 · 할 일 · 관련 자료 */
.proc-roles {
  grid-template-columns: 1fr;
  gap: 8px;
}
.proc-role-client {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 12px 18px;
}
.proc-role-client .proc-role-label {
  margin: 0;
  font-size: 14px;
}
.proc-client-task {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}
.proc-role-client .proc-docs {
  font-size: 15px;
  color: var(--text-secondary);
}
.proc-role-client .proc-docs::before {
  content: "|";
  margin-right: 14px;
  color: #b9d3cd;
}
.proc-role-client .proc-docs b {
  margin-right: 4px;
  font-weight: 600;
  color: var(--teal);
}
@media (max-width: 700px) {
  .proc-role-client {
    padding: 12px 16px;
  }
  .proc-role-client .proc-docs {
    flex-basis: 100%;
    font-size: 14px;
  }
  .proc-role-client .proc-docs::before {
    content: none;
  }
}
/* 업무절차 "기간과 비용은 언제 알 수 있나요?" 글씨 키우기(2026-11-17 "여기는 글자 키우자") */
.proc-timeline .process-note h3 {
  font-size: 24px;
}
.proc-timeline .process-note p {
  font-size: 19px;
}
.proc-timeline .process-note p.proc-note-small {
  font-size: 16px;
}
@media (max-width: 700px) {
  .proc-timeline .process-note h3 {
    font-size: 20px;
  }
  .proc-timeline .process-note p {
    font-size: 16px;
  }
  .proc-timeline .process-note p.proc-note-small {
    font-size: 14px;
  }
}

/* ── 성공사례 목록 다시 꾸밈(2026-11-17 "디자인을 개선해본다면") ──
   분류 탭(개수) / 카드: 위 칸 = 분류 색 + 질병분류코드 크게 + 짧은 제목, 아래 = 날짜 · 제목 · 요약 · 자세히 보기. 카드 전체가 링크 */
.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.case-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #d6dee5;
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.case-tabs a span {
  font-size: 13px;
  font-weight: 600;
  color: #9aa8b4;
}
.case-tabs a:hover {
  border-color: #9fb0bf;
  color: var(--navy);
}
.case-tabs a[aria-current="page"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: 600;
}
.case-tabs a[aria-current="page"] span {
  color: #9fd3ca;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 12px;
  color: var(--navy);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.case-card-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 150px;
  padding: 22px 24px;
  background: #eef3f7;
}
.case-card-cancer .case-card-head {
  background: #e8f2ef;
}
.case-card-injury .case-card-head {
  background: #f2f1ec;
}
.case-card-cat {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffffb3;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.case-card-cancer .case-card-cat {
  color: var(--teal);
}
.case-card-code {
  margin-top: auto;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.case-card-code-text {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.04em;
}
.case-card-headline {
  font-size: 15px;
  color: var(--text-secondary);
}
.case-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 22px 24px 24px;
}
.case-card-date {
  font-size: 13px;
  color: var(--text-muted);
}
.case-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.03em;
}
.case-card-summary {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.case-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
}
.case-card-more .line-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.case-card:hover,
.case-card:focus-visible {
  border-color: #b9c6d1;
  box-shadow: 0 14px 32px #142d4318;
  transform: translateY(-3px);
}
.case-card:hover .case-card-more .line-icon,
.case-card:focus-visible .case-card-more .line-icon {
  transform: translateX(4px);
}
@media (prefers-reduced-motion: reduce) {
  .case-tabs a,
  .case-card,
  .case-card-more .line-icon {
    transition: none;
  }
}
@media (max-width: 1100px) {
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .case-tabs a {
    padding: 8px 14px;
    font-size: 14px;
  }
  .case-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .case-card-head {
    min-height: 0;
    padding: 18px 20px;
  }
  .case-card-code {
    font-size: 28px;
  }
  .case-card-body {
    padding: 18px 20px 20px;
  }
  .case-card-title {
    font-size: 17px;
  }
}

/* 푸터는 항상 화면 아래에 붙게(2026-11-17) — 내용이 짧은 페이지(준비 중 등)에서 푸터 밑에 흰 여백이 남지 않도록
   본문(main)이 남는 높이를 채운다. 빠른 메뉴·창(dialog)은 position 으로 떠 있어 영향 없음 */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
body > main {
  flex: 1 0 auto;
}

/* 업무절차 "좀 더 간단하게"(2026-11-17) — 왼쪽 바로가기를 빼고 가운데 한 줄 넓은 번호 목록.
   단계마다: 번호 · 단계 이름 · 제목 · 손해사정사가 하는 일 한 문장 · 작은 한 줄(고객 할 일 · 준비 자료). 색 칸·아이콘 없음 */
.process-layout {
  display: block;
  max-width: 920px;
  margin: 0 auto;
}
.proc-timeline .proc-card > .mini-title {
  font-size: 14px;
}
.proc-timeline .proc-card h2 {
  margin: 4px 0 8px;
}
.proc-timeline p.proc-expert {
  margin: 0;
  font-size: 18px;
  line-height: 1.85;
  color: var(--text-secondary);
}
.proc-expert strong {
  font-weight: 600;
  color: var(--navy);
  background: linear-gradient(transparent 62%, #dbe5ee 62%);
  padding: 0 1px;
}
.proc-timeline p.proc-client {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.proc-client b {
  padding: 1px 9px;
  border-radius: 999px;
  background: #e8f2ef;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
}
.proc-client span {
  font-weight: 600;
  color: var(--navy);
}
.proc-client small {
  font-size: 14px;
  color: var(--text-muted);
}
.proc-client small::before {
  content: "·";
  margin-right: 10px;
  color: #b5c0c9;
}
@media (max-width: 700px) {
  .proc-timeline p.proc-expert {
    font-size: 16px;
  }
  .proc-client small {
    flex-basis: 100%;
  }
  .proc-client small::before {
    content: none;
  }
}

/* 성공사례 카드·상세 강조(2026-11-17 "여기서도 강조할건 강조") — 제목은 남색 굵게 + 옅은 밑칠, 요약은 남색 굵게만 */
.case-card-title strong,
.case-detail-head h2 strong {
  font-weight: 700;
  background: linear-gradient(transparent 64%, #dbe5ee 64%);
  padding: 0 1px;
}
.case-card-summary strong,
.case-detail-summary strong {
  font-weight: 600;
  color: var(--navy);
}

/* 성공사례 카드 — "너무 상자 안에 들어있는 것 같아"(2026-11-17): 바깥 테두리·흰 바탕·그림자를 걷고
   분류 색 타일(코드)만 둥글게 남긴 뒤, 날짜·제목·요약은 타일 아래에 바로 놓는다. 마우스: 타일 살짝 진하게 + 제목 밑줄 */
.case-grid {
  column-gap: 32px;
  row-gap: 48px;
}
.case-card {
  overflow: visible;
  background: none;
  border: 0;
  border-radius: 0;
}
.case-card:hover,
.case-card:focus-visible {
  border: 0;
  box-shadow: none;
  transform: none;
}
.case-card-head {
  min-height: 160px;
  border-radius: 12px;
  transition: filter 0.2s;
}
.case-card:hover .case-card-head,
.case-card:focus-visible .case-card-head {
  filter: brightness(0.96);
}
.case-card-body {
  padding: 18px 2px 0;
}
.case-card:hover .case-card-title,
.case-card:focus-visible .case-card-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
@media (prefers-reduced-motion: reduce) {
  .case-card-head {
    transition: none;
  }
}
@media (max-width: 700px) {
  .case-grid {
    row-gap: 36px;
  }
  .case-card-body {
    padding: 14px 0 0;
  }
}
/* 성공사례 카드 — 상자를 걷었더니 "너무 구분이 안 된다"(2026-11-17): 테두리·그림자 없이 카드 전체에 아주 옅은 바탕만,
   색 타일은 그 안에 조금 들여 놓는다. 마우스: 바탕 살짝 진하게 + 제목 밑줄 */
.case-grid {
  column-gap: 20px;
  row-gap: 20px;
}
.case-card {
  padding: 10px;
  background: #f6f8fa;
  border-radius: 16px;
  transition: background 0.2s;
}
.case-card:hover,
.case-card:focus-visible {
  background: #eef2f6;
}
.case-card-head {
  border-radius: 10px;
}
.case-card-disease .case-card-head {
  background: #e3ebf2;
}
.case-card-cancer .case-card-head {
  background: #dcece7;
}
.case-card-injury .case-card-head {
  background: #ebe8df;
}
.case-card-body {
  padding: 16px 14px 14px;
}
@media (prefers-reduced-motion: reduce) {
  .case-card {
    transition: none;
  }
}
@media (max-width: 700px) {
  .case-grid {
    row-gap: 14px;
  }
  .case-card-body {
    padding: 14px 10px 10px;
  }
}

/* 성공사례 목록 — 상자·바탕 카드가 "너무 버튼 같다"(2026-11-17) → 줄로 구분한 한 줄 목록.
   한 줄: [분야 + 질병코드(글자만)] | [날짜 · 제목 · 요약] | [화살표]. 줄 사이 얇은 선, 바탕·테두리·그림자 없음.
   마우스: 제목 밑줄 + 화살표 이동. 휴대폰은 위아래로 쌓음 */
.case-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid #d6dee6;
}
.case-grid > li {
  border-bottom: 1px solid #e3e8ec;
}
.case-card,
.case-card:hover,
.case-card:focus-visible {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 40px;
  column-gap: 36px;
  align-items: center;
  padding: 30px 4px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.case-card-head,
.case-card-disease .case-card-head,
.case-card-cancer .case-card-head,
.case-card-injury .case-card-head {
  min-height: 0;
  padding: 0;
  gap: 6px;
  background: none;
  border-radius: 0;
  filter: none;
}
.case-card-cat {
  padding: 0;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.case-card-code {
  margin-top: 0;
  font-size: 30px;
}
.case-card-cancer .case-card-code {
  color: var(--teal);
}
.case-card-injury .case-card-code {
  color: #6b5d45;
}
.case-card-code-text {
  font-size: 19px;
}
.case-card-headline {
  font-size: 14px;
}
.case-card-body {
  display: grid;
  gap: 6px;
  padding: 0;
}
.case-card-title {
  font-size: 19px;
}
.case-card-more {
  justify-self: end;
  margin: 0;
  padding: 0;
  font-size: 0;
  color: var(--navy);
}
.case-card-more .line-icon {
  width: 22px;
  height: 22px;
}
.case-card > .case-card-more {
  grid-column: 3;
}
.case-card:hover .case-card-more,
.case-card:focus-visible .case-card-more {
  color: var(--teal);
}
@media (max-width: 900px) {
  .case-card,
  .case-card:hover,
  .case-card:focus-visible {
    grid-template-columns: 160px minmax(0, 1fr) 28px;
    column-gap: 22px;
  }
  .case-card-code {
    font-size: 26px;
  }
}
@media (max-width: 700px) {
  .case-card,
  .case-card:hover,
  .case-card:focus-visible {
    grid-template-columns: minmax(0, 1fr) 24px;
    row-gap: 10px;
    padding: 22px 0;
  }
  .case-card-head {
    grid-column: 1;
  }
  .case-card-body {
    grid-column: 1;
  }
  .case-card-code {
    font-size: 24px;
  }
  .case-card-title {
    font-size: 17px;
  }
}
/* 성공사례 목록 — 날짜를 맨 앞 칸으로("날짜가 맨 앞에 왔으면"): 날짜 | 분야·코드 | 제목·요약 | 화살표 */
.case-card,
.case-card:hover,
.case-card:focus-visible {
  grid-template-columns: 96px 200px minmax(0, 1fr) 32px;
  column-gap: 28px;
}
.case-card > .case-card-date {
  align-self: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.case-card > .case-card-more {
  grid-column: 4;
}
@media (max-width: 900px) {
  .case-card,
  .case-card:hover,
  .case-card:focus-visible {
    grid-template-columns: 84px 150px minmax(0, 1fr) 24px;
    column-gap: 18px;
  }
}
@media (max-width: 700px) {
  .case-card,
  .case-card:hover,
  .case-card:focus-visible {
    grid-template-columns: minmax(0, 1fr) 24px;
  }
  .case-card > .case-card-date,
  .case-card-head,
  .case-card-body {
    grid-column: 1;
  }
  .case-card > .case-card-date {
    font-size: 14px;
  }
  .case-card > .case-card-more {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
}

/* 업무영역 "이런 경우 상담해 보세요" — 항목이 두 줄로 꺾여 "상자를 넓혀 한 줄로"(2026-11-17):
   소개 문단 아래로 내려 가로 전체 폭. 상황 목록은 한 칸(한 줄씩), 단추는 오른쪽 아래 */
.biz-intro-grid {
  grid-template-columns: 1fr;
  gap: 36px;
}
.biz-intro-copy {
  max-width: 860px;
}
.biz-situations {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 40px;
  align-items: end;
  padding: 30px 36px;
}
.biz-situations h3 {
  grid-column: 1 / -1;
}
.biz-situations ul {
  margin: 0;
}
.biz-situations .button-primary {
  width: auto;
  min-width: 220px;
}
@media (max-width: 900px) {
  .biz-situations {
    grid-template-columns: 1fr;
    row-gap: 22px;
    padding: 24px 20px;
  }
  .biz-situations .button-primary {
    width: 100%;
  }
}

/* 2026-11-18 "업무영역에 아이콘들 빼자" — 분야 제목 옆 남색 아이콘·다른 업무영역 원형 아이콘을 뺐다(준비 자료 체크 아이콘은 둠).
   다른 업무영역 한 줄: 이름 + 한 줄 요약 | 화살표 */
.biz-others .area-cards a {
  grid-template-columns: minmax(0, 1fr) auto;
}
.biz-others .area-card-summary {
  grid-column: 1;
}
.biz-others .area-card-more {
  grid-column: 2;
}

/* 2026-11-18 준비 자료 상자 — "문서임을 약간만 강조". 오른쪽 위 모서리를 종이처럼 접었다.
   모서리는 clip-path 로 실제로 잘라 내고(흰 삼각형으로 덮으면 그 뒤로 그림자가 비쳐 보임),
   그림자는 감싼 .biz-doc-paper 의 drop-shadow 로 잘린 모양을 따라 그린다 */
.biz-doc-paper {
  filter: drop-shadow(0 12px 28px #142d4312);
}
.biz-doc-list {
  position: relative;
  box-shadow: none;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}
.biz-doc-list::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: linear-gradient(225deg, transparent calc(50% - 1px), #d3dbe2 calc(50% - 1px), #e8edf1 50%);
  border-left: 1px solid #dfe4e8;
  border-bottom: 1px solid #dfe4e8;
  border-bottom-left-radius: 4px;
}

/* 2026-11-18 주로 살피는 쟁점 — "주요 쟁점이니 약간만 강조". 번호 동그라미를 남색 "쟁점 01" 표시로 */
.biz-issue-number {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  letter-spacing: 0.02em;
}
.biz-issue-number small {
  font-size: 13px;
  font-weight: 500;
  color: #c9d6e2;
}

/* 2026-11-18 회사소개 인사말 글자 키움("여기 글자 키워") 16→18px(휴대폰 15→16px) */
.company-greeting-copy > p {
  font-size: 18px;
}
@media (max-width: 700px) {
  .company-greeting-copy > p {
    font-size: 16px;
  }
}

/* 2026-11-18 회사소개 일하는 방식 — "심플하게". 왼쪽 큰 제목 + 오른쪽 번호 목록(같은 말 두 번)을
   남색 띠 한 줄 세 칸(큰 말 + 한 줄 설명)으로. 칸 사이는 얇은 세로줄 */
.company-values {
  padding: 72px 0;
  background: var(--navy);
  color: #fff;
}
.company-values .section-kicker {
  color: #97b4c8;
}
.company-values-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.company-values-list li {
  padding: 4px 36px;
  border-left: 1px solid #ffffff26;
}
.company-values-list li:first-child {
  padding-left: 0;
  border-left: 0;
}
.company-values-list strong {
  display: block;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.4;
  color: #fff;
}
.company-values-list p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: #b7c6d3;
}
@media (max-width: 900px) {
  .company-values {
    padding: 56px 0;
  }
  .company-values-list {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }
  .company-values-list li,
  .company-values-list li:first-child {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid #ffffff26;
  }
  .company-values-list li:first-child {
    border-top: 0;
    padding-top: 6px;
  }
  .company-values-list strong {
    font-size: 26px;
  }
  .company-values-list p {
    font-size: 15px;
  }
}


/* 2026-11-18 홈 "사례를 볼 때 확인할 세 가지" — "아이콘 빼고 점 같은 걸로". 아이콘 동그라미를 작은 점으로,
   점은 영문 표시(SITUATION 등) 줄 높이에 맞추고 세로선이 점과 점을 잇는다. 마지막(REVIEW) 점만 남색으로 채움 */
.evidence-rows li {
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 26px;
}
.evidence-row-icon {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  background: #fff;
  border: 2px solid #b8c6d2;
}
.evidence-rows li:last-child .evidence-row-icon {
  background: var(--navy);
  border-color: var(--navy);
}
.evidence-rows li:not(:last-child)::after {
  left: 7px;
  top: 48px;
  bottom: -34px;
}
@media (max-width: 700px) {
  .evidence-rows li {
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 18px;
  }
  .evidence-row-icon {
    width: 14px;
    height: 14px;
  }
  .evidence-rows li:not(:last-child)::after {
    left: 7px;
    top: 42px;
    bottom: -28px;
  }
}

/* 2026-11-18 "점 위치가 큰 글씨 앞에" — 점을 영문 표시 줄에서 제목(h3) 줄 가운데로 내림. 세로선도 점에 맞춤 */
.evidence-row-icon {
  margin-top: 37px;
}
.evidence-rows li:not(:last-child)::after {
  top: 81px;
  bottom: -67px;
}
@media (max-width: 700px) {
  .evidence-row-icon {
    margin-top: 34px;
  }
  .evidence-rows li:not(:last-child)::after {
    top: 72px;
    bottom: -58px;
  }
}

/* 2026-11-18 "메뉴에 아이콘들 다시 빼고 높이를 약간 줄이자" — 메뉴 칸 아이콘을 빼고 높이 190→130(1100px 이하 135→100) */
.mega-item {
  min-height: 130px;
}
@media (max-width: 1100px) {
  .mega-item {
    min-height: 100px;
  }
}
/* 펼침 메뉴 높이는 왼쪽 소개 칸(작은 영문·제목·설명·전체 보기)이 정한다 — PC 에서 여백을 조금씩 줄임 */
@media (min-width: 1101px) {
  .mega-intro {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .mega-intro h2 {
    margin: 10px 0 6px;
  }
  .mega-intro p {
    margin-bottom: 10px;
    line-height: 1.7;
  }
}

/* 2026-11-18 영문 머리말(ABOUT GONGJEONG 등) "글자를 키우던가" — 한 단계 키움: 12→13px(휴대폰 11→12px), 펼침 메뉴 11→13px */
.section-kicker,
.consult-head .mini-title,
.mega-kicker {
  font-size: 13px;
}
@media (max-width: 700px) {
  .section-kicker,
  .consult-head .mini-title {
    font-size: 12px;
  }
}

/* 2026-11-18 펼침 메뉴 칸 글자 "살짝 키워" — 제목 18→20px(1101~1300px 17→19px), 설명 14→15px. PC 만 */
@media (min-width: 1101px) {
  .mega-item strong {
    font-size: 20px;
  }
  .mega-item small {
    font-size: 15px;
  }
}
@media (min-width: 1101px) and (max-width: 1300px) {
  .mega-item strong {
    font-size: 19px;
  }
}

/* 2026-11-18 홈 "지금, 어떤 상황이신가요?" 카드 — 아이콘 상자 대신 짧은 키워드(거절·삭감 / 진단비 / 후유장해 / 사고·배상)를
   굵게. "아이콘이 없으면 이상하고 넣어도 별로" → 글자로 자리를 채움. 선택된 카드에서는 흰 글씨 */
.situation-choice .choice-key {
  display: block;
  margin: 2px 0 14px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.35;
  color: var(--navy);
  transition: color 0.25s;
}
.situation-choice[aria-selected="true"] .choice-key {
  color: #fff;
}
/* 2026-11-19 카드 위쪽 장면 사진("첨부한 4개 이미지를 활용") — 카드 폭 가득, 위 모서리만 둥글게. 카드 안쪽 여백(24px 20px)을 음수 여백으로 상쇄.
   ↗ 표시는 사진 위에 흰 동그라미로. 선택된(남색) 카드도 사진은 그대로, 마우스를 올리면 사진이 아주 살짝 커진다(동작 줄이기면 안 커짐). */
.situation-choice {
  overflow: hidden;
}
.situation-choice .choice-photo {
  display: block;
  width: calc(100% + 40px);
  margin: -24px -20px 20px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
}
.situation-choice .choice-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.situation-choice:hover .choice-photo img {
  transform: scale(1.04);
}
.situation-choice .choice-arrow {
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
  color: var(--navy);
  box-shadow: 0 2px 8px rgb(20 45 67 / 18%);
}
.situation-choice[aria-selected="true"] .choice-arrow {
  background: var(--navy);
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .situation-choice:hover .choice-photo img {
    transform: none;
  }
}
@media (max-width: 1050px) {
  .situation-choice .choice-photo {
    width: calc(100% + 30px);
    margin: -22px -15px 16px;
  }
}
@media (max-width: 700px) {
  .situation-choice .choice-key {
    margin-bottom: 8px;
    font-size: 19px;
  }
  .situation-choice .choice-photo {
    width: calc(100% + 30px);
    margin: -18px -15px 14px;
    aspect-ratio: 4 / 3;
  }
  .situation-choice .choice-arrow {
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
  }
}

/* 2026-11-18 첫 화면 영문 작은 글씨(위 FAIR IN PRINCIPLE…, 아래 01 / YOUR STORY…, SCROLL TO DISCOVER) — 다른 영문 머리말처럼 13px(휴대폰 12px) */
.signature-hero .signature-copy > .section-kicker,
.hero-index,
.hero-index a {
  font-size: 13px;
}
@media (max-width: 700px) {
  .signature-hero .signature-copy > .section-kicker,
  .hero-index,
  .hero-index a {
    font-size: 12px;
  }
}

/* 2026-11-18 성공사례 목록 분야 칸 — 큰 질병코드 대신 분야 이름(뇌혈관질환 등). 코드는 제목 안 "(I67.8)" 로 이미 보임 */
.case-card-code.case-card-keyword {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.35;
  word-break: keep-all;
}
@media (max-width: 900px) {
  .case-card-code.case-card-keyword {
    font-size: 20px;
  }
}
@media (max-width: 700px) {
  .case-card-code.case-card-keyword {
    font-size: 19px;
  }
}

/* 2026-11-18 머리 로고 글자 "디자인 해본다면" — 아이콘·영문 없이(고객 요청으로 뺐던 것) 글자만으로.
   상호 "공정한손해사정" 은 한 단어라 나누지 않고 같은 굵기로(끝의 청록 점은 "점은 뭐야" 로 뺐다) */
.brand > span.brand-word {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.2;
  color: var(--navy);
  white-space: nowrap;
}
@media (max-width: 700px) {
  .brand > span.brand-word {
    font-size: 21px;
  }
}

/* 2026-11-18 유튜브 주소가 아직 없는 동영상 글 — 사이트 사진 + 재생 표시 + "영상 준비 중"(누를 수 없음) */
.video-pending {
  position: absolute;
  inset: 0;
}
.video-pending img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85) brightness(.92);
}
.video-pending .video-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  opacity: 0.72;
}
.video-pending .video-play-icon svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}
.video-pending-chip {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #ffffffe6;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

/* 2026-11-18 로고 아래 작은 회색 영문("타이틀 아래 작은 회색 글씨로 공정한 영어로") — 상호 글자 폭에 맞춰 자간을 둠 */
.brand > span.brand-word {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.brand > span.brand-word small {
  display: block;
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  color: #7b8894;
}
@media (max-width: 700px) {
  .brand > span.brand-word small {
    font-size: 9px;
    letter-spacing: 0.035em;
  }
}

/* 2026-11-18 미디어 게시판 목록(.media-board) — "게시판 형식. 사진이 있으면 사진, 타이틀과 내용이 조금".
   한 줄: [사진 16:10(있을 때만)] | 분류·날짜 / 제목 / 내용 두 줄 / 자세히 보기. 줄 사이 가로선(성공사례 목록과 같은 문법) */
.media-board {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #c9d3dc;
}
.media-board > li {
  border-bottom: 1px solid #e3e8ec;
}
.media-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 32px;
  align-items: center;
  padding: 28px 4px;
}
.media-row.has-image {
  grid-template-columns: 232px minmax(0, 1fr);
}
.media-row-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  cursor: zoom-in;
}
.media-row-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 사진이 여러 장이면 오른쪽 아래 "+N" (2026-11-18) — 누르면 크게 보기 창에서 모두 본다 */
.media-row-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgb(6 27 51 / 72%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.media-row-meta {
  display: flex;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}
.media-row-meta b {
  font-weight: 600;
  color: var(--teal);
}
.media-row h3 {
  margin: 6px 0 8px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.45;
  color: var(--navy);
}
.media-row-summary {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.media-row-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
}
.media-row-more .line-icon {
  width: 17px;
  height: 17px;
  transition: transform 0.2s;
}
.media-row-more:hover,
.media-row-more:focus-visible {
  color: var(--teal);
}
.media-row-more:hover .line-icon,
.media-row-more:focus-visible .line-icon {
  transform: translateX(3px);
}
@media (max-width: 700px) {
  .media-row {
    padding: 22px 0;
  }
  .media-row.has-image {
    grid-template-columns: 108px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }
  .media-row h3 {
    font-size: 18px;
  }
  .media-row-summary {
    font-size: 15px;
  }
  .media-row-meta {
    font-size: 13px;
  }
}
/* 사진은 오른쪽("오른쪽에 사진은?") — 글 | 사진 */
.media-row.has-image {
  grid-template-columns: minmax(0, 1fr) 232px;
}
@media (max-width: 700px) {
  .media-row.has-image {
    grid-template-columns: minmax(0, 1fr) 104px;
  }
}

/* 관리자 미리보기 띠(2026-11-18) — 숨김 사례를 관리자가 /case/[id] 로 볼 때만. 머리글을 가리지 않게 화면 아래에 떠 있다 */
.admin-preview-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 60;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 32px));
  margin: 0;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 10px 30px rgb(6 27 51 / 25%);
}
.admin-preview-bar strong {
  color: #ffd27a;
}
@media (max-width: 899px) {
  .admin-preview-bar {
    bottom: 76px; /* 모바일 아래 빠른 메뉴 위 */
    font-size: 13px;
  }
}

/* 관련 서류 크게 보기 창(2026-11-18 "관련서류는 미리보기가 안 되는데") — CaseDocumentGallery 의 <dialog> */
.case-doc-viewer {
  width: min(960px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  overflow: auto;
}
.case-doc-viewer::backdrop {
  background: rgb(6 27 51 / 72%);
}
.case-doc-viewer figure {
  margin: 0;
  padding: 18px 18px 0;
}
.case-doc-viewer img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 170px);
  object-fit: contain;
  border: 1px solid #dfe4e8;
  border-radius: 6px;
}
.case-doc-viewer figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
}
.case-doc-viewer figcaption span {
  font-weight: 400;
  color: var(--text-secondary);
}
.case-doc-viewer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 18px 18px;
}
.case-doc-viewer-actions button {
  min-width: 72px;
  padding: 10px 16px;
  border: 1px solid #c6cfd6;
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.case-doc-viewer-actions button:last-child {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.case-doc-viewer-actions button:disabled {
  opacity: 0.4;
  cursor: default;
}
html:has(.case-doc-viewer[open]) {
  overflow: hidden;
}

/* 대표 사진(2026-11-18 "대표 사진도 들어갈 수 있게") — 관리자 > 대표 소개에서 올린 사진이 있을 때만 */
.expert-tag.has-photo {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
}
.expert-tag.has-photo > :not(.expert-tag-photo) {
  grid-column: 2;
}
/* 사진 칸의 큰 그림 규칙(.expert-section .expert-visual img — 꽉 채움)보다 구체적으로 써서 작은 동그라미로 */
.expert-section .expert-visual .expert-tag-photo,
.expert-tag-photo {
  grid-row: 1 / span 3;
  align-self: center;
  width: 64px;
  height: 64px;
  object-position: 50% 30%; /* 관리자 자르기 창의 점선 동그라미 자리(4:5 사진의 위쪽 6%부터) */
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgb(20 45 67 / 18%);
}
.company-profile-id {
  display: flex;
  align-items: center;
  gap: 20px;
}
.company-profile-photo {
  flex-shrink: 0;
  width: 112px;
  height: 140px;
  margin-bottom: 22px; /* 이름(h3) 아래 여백과 맞춤 */
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #dfe4e8;
}
@media (max-width: 700px) {
  .expert-tag.has-photo {
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 12px;
  }
  .expert-section .expert-visual .expert-tag-photo,
  .expert-tag-photo {
    width: 52px;
    height: 52px;
  }
  .company-profile-photo {
    width: 88px;
    height: 110px;
  }
}

/* 2026-11-19 홈 "사례를 볼 때 확인할 세 가지" — "이런 느낌으로"(보내 준 그림): 바깥 판은 은은한 회청색 바탕,
   세 줄은 각각 반투명 흰 카드(마지막 REVIEW 카드만 더 또렷하게), 줄 사이는 좁게. 점·세로선은 카드 위에 그대로 이어지고
   마지막 점은 남색 + 옅은 테. 위치 계산: 세로선 left = 카드 왼쪽 안쪽 여백 + 점 반지름, top = 여백 + 점 margin-top + 점 높이 */
.evidence-rows {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(160deg, #f6f8fb 0%, #e8eef3 100%);
  border: 1px solid #e1e7ec;
  border-radius: 16px;
  box-shadow: 0 18px 40px #142d4312;
}
.evidence-rows li {
  padding: 22px 26px 24px 22px;
  background: #ffffffb8;
  border: 1px solid #ffffff;
  border-radius: 12px;
}
.evidence-rows li:last-child {
  background: #fff;
  box-shadow: 0 8px 22px #142d4314;
}
.evidence-rows li:not(:last-child)::after {
  z-index: 1;
  left: 29px;
  top: 73px;
  bottom: -69px;
}
.evidence-row-icon {
  z-index: 2;
}
.evidence-rows li:last-child .evidence-row-icon {
  box-shadow: 0 0 0 4px #14324a1f;
}
.evidence-rows h3 {
  margin: 6px 0 6px;
}
.evidence-rows p {
  font-size: 15px;
}
@media (max-width: 1100px) {
  .evidence-rows {
    padding: 12px;
  }
}
@media (max-width: 700px) {
  .evidence-rows {
    gap: 8px;
    padding: 10px;
  }
  .evidence-rows li {
    padding: 18px 18px 20px 16px;
  }
  .evidence-rows li:not(:last-child)::after {
    left: 23px;
    top: 66px;
    bottom: -60px;
  }
}
/* 세로선을 카드마다 나눠 그린다 — 아래 카드가 위 카드의 선을 덮어 끊겨 보였다.
   ::after = 이 카드 점 아래 ~ 카드 사이 틈까지, ::before = 다음 카드 위 끝 ~ 그 카드 점 위 끝(22 여백 + 37 점 위치) */
.evidence-rows li:not(:last-child)::after {
  bottom: -11px;
}
.evidence-rows li:not(:first-child)::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 29px;
  top: -1px;
  height: 60px;
  width: 2px;
  transform: translateX(-50%);
  background: #dbe3ea;
}
.evidence-rows li:nth-last-child(2)::after {
  background: linear-gradient(180deg, #dbe3ea, #8a9bab);
}
.evidence-rows li:last-child::before {
  background: linear-gradient(180deg, #8a9bab, var(--navy));
}
@media (max-width: 700px) {
  .evidence-rows li:not(:last-child)::after {
    bottom: -9px;
  }
  .evidence-rows li:not(:first-child)::before {
    left: 23px;
    height: 53px;
  }
}

/* 2026-11-19 홈 상황 카드 "마우스 호버했을 때 그림도 약간 커지게" — 확대는 원래 있었지만(1.04) 동작 줄이기에서 꺼 둬서
   그 설정을 켠 PC 에서는 보이지 않았다. 제자리에서 살짝 커지는 정도라 어지럼을 주지 않아 동작 줄이기에서도 남기고 전환만 짧게.
   키보드로 카드에 갔을 때(focus-visible)도 같이 */
.situation-choice:hover .choice-photo img,
.situation-choice:focus-visible .choice-photo img {
  transform: scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .situation-choice .choice-photo img {
    transition-duration: 0.2s;
  }
  .situation-choice:hover .choice-photo img,
  .situation-choice:focus-visible .choice-photo img {
    transform: scale(1.06);
  }
}

/* 2026-11-19 업무영역 "주로 살피는 쟁점" 카드 — "첫 번째 느낌으로 과하지 않게 살짝"(보내 준 그림).
   1차(카드마다 파랑·초록·남보라 + 색 번짐)는 "너무 알록달록하고 배경이랑 카드 경계가 무너짐" → 한 가지 색으로:
   흰 카드 그대로 + 오른쪽 아래만 아주 옅은 남색 기운, 테두리·그림자를 조금 또렷하게(바탕 #f4f6f8 과 구분),
   오른쪽 위 작은 줄 아이콘 상자(남색 선). 바탕·글자·번호 알약은 그대로 */
.biz-issue-list li {
  position: relative;
  background: linear-gradient(155deg, #fff 60%, #f3f6fa 100%);
  border-color: #dce3ea;
  box-shadow: 0 1px 2px #142d430d, 0 10px 24px #142d430f;
}
.biz-issue-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #e1e7ee;
  border-radius: 12px;
  background: #f5f8fb;
  color: #3d5770;
}
.biz-issue-icon .line-icon {
  width: 26px;
  height: 26px;
}
@media (max-width: 700px) {
  .biz-issue-icon {
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
  }
  .biz-issue-icon .line-icon {
    width: 22px;
    height: 22px;
  }
}

/* 온라인 상담 개인정보 안내와 접수 결과 */
#consult .consult-hint{display:block;margin-top:6px;font-size:14px;color:#526779}
#consult .consult-privacy{display:grid;gap:10px;font-size:14px;color:#364e63}
#consult .consult-privacy details{background:#f4f6f8;border-radius:8px;padding:12px 16px;line-height:1.65}
#consult .consult-privacy summary{cursor:pointer;font-weight:650}
#consult .consult-privacy ul{list-style:disc;margin:8px 0 0;padding-left:20px}
#consult .consult-privacy p{margin:8px 0 0}
#consult .consult-privacy .consent{margin:0}
#consult .submit:disabled{cursor:wait;opacity:.7}
#consult .consult-status:not(:empty){padding:10px 12px;border-radius:8px;background:#fbecec;color:#8a2727;font-size:15px}
#consult .consult-status[data-success="true"]{background:#e9f6ef;color:#185b3d}

/* 카카오톡 상담 아이디 안내 */
.dialog.kakao-contact-dialog { margin: auto; padding: 0; width: min(480px, calc(100vw - 24px)); }
.kakao-contact-content { padding: clamp(18px, 4vw, 32px); }
.kakao-contact-content h2 { margin: 0 0 10px; }
.kakao-contact-content p { margin: 0 0 16px; }
.kakao-contact-content a { text-decoration: underline; }
.kakao-contact-id { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.kakao-contact-id input {
  flex: 1 1 140px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f4f6f8;
  color: var(--navy);
}
.kakao-contact-id button { padding: 8px 12px; }
.kakao-contact-content .kakao-copy-status { color: var(--teal); }
.kakao-contact-content .kakao-copy-status:empty { min-height: 0; margin-bottom: 8px; }
html:has(.kakao-contact-dialog[open]) { overflow: hidden; }
