@charset "utf-8";
/* ===========================================================
   skin02 — 샤이닝 계열 (블루 + 코랄)
   비주얼 위에 떠 있는 흰 헤더 박스 / 3+다크패널 카드 / 탭형 서브 메뉴
   =========================================================== */

@font-face { font-family: "Pyeojin"; src: url("../fonts/PyeojinGothic-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Pyeojin"; src: url("../fonts/PyeojinGothic-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --blue:      #6c7fd8;   /* 주색 — 메뉴 활성·점·버튼 */
  --blue-deep: #5a6cc9;
  --navy:      #0d4f9e;   /* 글쓰기 같은 진한 버튼 */
  --dark:      #3d424e;   /* 문의 패널 */
  --coral:     #ee4f4f;   /* 라벨 판·번호·강조 */
  --pink:      #f4a3ac;   /* 부드러운 아이콘 */
  --pink-bg:   #fde9ec;   /* 형광펜 배경 */

  --ink:     #333;
  --muted:   #7b7b83;
  --line:    #e5e5ea;
  --line-2:  #d8d8de;
  --soft:    #f5f5f7;
  --white:   #fff;

  --container: 1300px;
  /* 사이트 전체 최대 폭. 이보다 넓은 화면에선 가운데 놓고 양옆은 흰 여백으로 둔다
     (영상·비주얼이 1920 기준이라 그 이상 늘리면 배열이 깨진다). */
  --site-max: 1920px;
  --gutter: 24px;
  --header-h: 92px;
  /* 헤더가 차지하는 자리. --header-h 는 줄어들지만 이 값은 고정 —
     본문을 밀어 두는 값이 같이 줄면 스크롤 도중 페이지가 위아래로 뛴다. */
  --header-base: 92px;
  --shadow: 0 10px 30px rgba(40, 44, 60, .10);

  --font-body: "Nanum Gothic", system-ui, -apple-system, "Malgun Gothic", sans-serif;
  --font-head: "Pyeojin", "Nanum Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--white); }
body { max-width: var(--site-max); margin: 0 auto; padding-top: var(--header-base); color: var(--ink); background: var(--white); font: 400 16px/1.75 var(--font-body); word-break: keep-all; }
/* height:auto 가 없으면 <img> 의 height 속성이 CSS aspect-ratio 를 이겨
   폭만 줄고 높이는 원본 그대로인 세로 막대가 된다(실제로 당함). */
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 28px; font-family: var(--font-head); font-weight: 500; font-size: 16px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { filter: brightness(1.12); }
.btn-outline { border: 1px solid rgba(255, 255, 255, .8); color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, .15); }

/* ===========================================================
   헤더 — 전체 폭 흰 바 (비주얼과 분리)
   =========================================================== */
/* 스크롤해도 위에 붙어 있는다. 내려가면 그림자를 줘서 본문과 떨어져 보이게 한다. */
/* fixed 여야 한다. sticky 는 흐름 안에 있어서 헤더가 92→56 으로 줄면 문서 전체가 36px 씩
   출렁이고, 브라우저의 스크롤 앵커링이 그만큼 scrollY 를 되밀어 임계값을 다시 넘는다
   → 헤더가 떨린다(실측: 느린 역스크롤에서 is-stuck 이 5번 뒤집힘). */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  max-width: var(--site-max); margin-inline: auto;   /* fixed 라 body 폭을 안 따른다 — 따로 묶는다 */
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: none;                      /* 맨 위에서는 그림자 없음 */
  transition: box-shadow .25s ease;
}
/* 내려가면 헤더가 낮아진다. --header-h 하나만 바꾸면 박스 높이와 메뉴 줄높이가 함께 줄어든다
   (값 자체는 애니메이션이 안 되므로, 그 값을 쓰는 쪽에 transition 을 걸어 둔다). */
.header.is-stuck { --header-h: 56px; box-shadow: 0 4px 14px rgba(40, 44, 60, .16); }
.header-box {
  max-width: var(--container); margin: 0 auto; background: transparent;
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  transition: height .25s ease;
}
.logo { display: flex; align-items: baseline; gap: 10px; }
.logo b { font-family: var(--font-head); font-weight: 700; font-size: 25px; letter-spacing: .02em; text-transform: uppercase; transition: font-size .25s ease; }
.logo b .accent { color: var(--blue); }
.logo span { font-size: 14px; color: var(--muted); font-style: italic; letter-spacing: .02em;
  max-width: 12em; overflow: hidden; white-space: nowrap; transition: opacity .25s ease, max-width .25s ease; }
.header.is-stuck .logo b { font-size: 21px; }
.header.is-stuck .logo span { opacity: 0; max-width: 0; } /* 자리까지 접어 빈칸이 안 남게 */

/* 그림 로고. 헤더가 92→56 으로 줄 때 로고도 같이 줄어든다(글자 로고의 font-size 축소와 같은 호흡).
   height 만 주고 width:auto — <img> 의 width/height 속성이 남아 있어 한쪽만 누르면 찌그러진다. */
.logo-img { display: flex; align-items: center; }
.logo-img img { height: 44px; width: auto; display: block; transition: height .25s ease; }
.header.is-stuck .logo-img img { height: 34px; }

.header-right { display: flex; align-items: center; gap: 30px; }
.gnb { display: flex; gap: 2px; }
.gnb > li > a {
  display: block; padding: 0 18px; line-height: var(--header-h);
  font-family: var(--font-head); font-weight: 500; font-size: 16.5px; color: #4a4a52;
  transition: color .2s, line-height .25s ease;
}
.gnb > li > a:hover, .gnb > li > a.is-active { color: var(--blue); }


.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; position: relative; width: 22px; height: 2px; background: var(--ink); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: transform .24s ease; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.is-nav-open .nav-toggle span { background: transparent; }
.is-nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.is-nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================================
   메인 비주얼 — 반복 영상 한 장 + 왼쪽 하늘 위 흰 글씨
   영상은 8:3(1920×720). 화면이 좁아지면 하늘(왼쪽)부터 잘리고 어르신들(오른쪽)은 남는다.
   =========================================================== */
.hero { position: relative; height: clamp(480px, 37.5vw, 720px); overflow: hidden; background: #0b5cb3 url("/files/hero/hero-poster.jpg") right center / cover no-repeat; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-copy {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-inline: max(var(--gutter), calc((min(100vw, var(--site-max)) - var(--container)) / 2 + var(--gutter)));
  color: var(--white);
  text-shadow: 0 2px 14px rgba(6, 40, 90, .35);
}
.hero-copy .eyebrow { font-family: var(--font-head); font-weight: 500; font-size: 15px; letter-spacing: .08em; color: rgba(255, 255, 255, .78); }
.hero-copy h2 { margin-top: 18px; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.3; }
.hero-copy h2 .accent { color: #ffe39a; }  /* 햇살 빛깔 */
.hero-copy p { margin-top: 22px; max-width: 30em; font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, .9); }

/* ===========================================================
   바로가기 — K-892 시안: 선 아이콘 왼쪽, 제목·두 줄 설명 오른쪽, 네 칸
   =========================================================== */
.quick { padding: 56px 0; background: #f0f8ff; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-grid a { display: flex; align-items: center; justify-content: center; gap: 18px; }
.quick-grid a + a { border-left: 1px solid var(--line); }  /* 칸 구분선 */
.quick-grid svg { flex: none; width: 60px; height: 60px; fill: none; stroke: #555; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.quick-grid svg .pt { stroke: var(--blue-deep); }
.quick-grid b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 21px; color: #222; transition: color .2s; }
.quick-grid em { display: block; margin-top: 6px; font-style: normal; font-size: 14.5px; line-height: 1.6; color: #666; }
.quick-grid a:hover svg { transform: translateY(-3px); }
.quick-grid a:hover b { color: var(--blue-deep); }

/* ===========================================================
   구역 공통 머리
   =========================================================== */
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .04em; color: var(--blue); }
.sec-head h3 { margin-top: 14px; font-size: clamp(25px, 2.6vw, 33px); }
.sec-head p { margin-top: 16px; color: var(--muted); }

/* ===========================================================
   소개 영상 — KB 메인처럼 가운데 1100px 16:9. 아래 4대 원칙 띠와 붙여 한 덩어리로 보이게 한다
   =========================================================== */
.intro-video { padding-top: 50px; }
.video-frame { max-width: 1100px; margin: 0 auto; aspect-ratio: 16 / 9; background: #111; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* 시설 사진 — 영상과 같은 자리·같은 폭. 왼쪽 큰 간판 한 장 + 오른쪽 공원 두 장 */
.facility-shots-wrap { padding-top: 50px; }
.facility-shots { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.facility-shots figure { position: relative; margin: 0; overflow: hidden; background: var(--soft); }
.facility-shots .shot-main { grid-row: span 2; }
.facility-shots img { display: block; width: 100%; height: 100%; object-fit: cover; }
.facility-shots figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 12px; color: #fff; font-size: 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent);
}
.facility-shots figcaption b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 22px; }

/* ===========================================================
   4대 원칙 — KB골든라이프케어 메인 짜임(왼쪽 제목 칸 + 오른쪽 2×2 한 줄 원칙 띠)
   띠 색은 짙은 톤 둘을 체크무늬로 엇갈린다(1·4 짙게, 2·3 옅게). 색은 skin02 남회색 계열.
   =========================================================== */
/* KB 처럼 원칙 띠의 아래 절반이 다음 구역(게시판) 회색 바탕 위로 겹친다.
   띠를 --pledge-overlap 만큼 끌어내리고, 게시판 구역은 그만큼 위 여백을 더 준다. */
:root { --pledge-overlap: 76px; }
.pledge-main { position: relative; z-index: 2; padding-top: 50px; }
.pledge-main .pledge-band { margin-bottom: calc(var(--pledge-overlap) * -1); }
.pledge-band { display: grid; grid-template-columns: 280px 1fr 1fr; margin: 0; } /* 폭은 컨테이너 그대로 — 아래 게시판 구역과 같은 폭 */
.pledge-band dt {
  grid-row: span 2; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 152px; padding: 20px; text-align: center; color: var(--white); background: var(--blue);
}
/* KB 제목 칸 바탕의 큰 글자 무늬 대신 반투명 원 */
.pledge-band dt::before { content: ""; position: absolute; width: 190px; height: 190px; right: -60px; bottom: -80px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.pledge-band dt .org { position: relative; font-size: 15px; color: rgba(255, 255, 255, .88); letter-spacing: -.01em; }
.pledge-band dt b { position: relative; font-family: var(--font-head); font-weight: 700; font-size: 34px; line-height: 1.2; }
.pledge-band dd {
  margin: 0; display: flex; align-items: center; min-height: 76px; padding: 14px 26px;
  font-size: 16.5px; line-height: 1.5; color: var(--white); letter-spacing: -.02em;
}
.pledge-band dd span { flex: none; margin-right: 8px; font-family: var(--font-head); font-weight: 700; color: #b9c4f2; }
.pledge-band .item1 { background: #3d424e; }
.pledge-band .item2 { background: #555b69; }
.pledge-band .item3 { background: #5b6170; }
.pledge-band .item4 { background: #444957; }

/* ===========================================================
   가정통신문 + 연락처 — 한결 메인 section_4 그대로
   왼쪽 흰 판(최신 글 셋) / 오른쪽 사진 칸(오시는길) + 반쪽 칸 둘(전화·팩스). 색만 skin02 것.
   =========================================================== */
.board-contact { padding: calc(90px + var(--pledge-overlap)) 0 90px; background: #e3e3e3; }
.bc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; } /* 두 칸 높이를 같게 — 오른쪽은 오시는길 칸이 남는 높이를 받는다 */

.bc-board { padding: 40px; border-radius: 10px; background: var(--white); }
.bc-board h3 { position: relative; padding-right: 60px; font-size: 32px; line-height: 50px; color: #222; }
/* 더보기 — 회색 네모 속 십자 */
.bc-board h3 .more { position: absolute; top: 0; right: 0; width: 50px; height: 50px; border-radius: 5px; background: #eee; transition: background .2s; }
.bc-board h3 .more::before, .bc-board h3 .more::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: #555; transform: translate(-50%, -50%); }
.bc-board h3 .more::after { transform: translate(-50%, -50%) rotate(90deg); }
.bc-board h3 .more:hover { background: #e2e6f8; }
.bc-list li { position: relative; padding: 20px 80px 20px 0; border-bottom: 1px solid #ddd; }
.bc-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.bc-list a { display: block; }
/* 제목·본문 모두 한 줄에서 자른다 */
.bc-list strong, .bc-list p { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.bc-list strong { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 26px; color: #222; transition: color .2s; }
.bc-list a:hover strong { color: var(--blue); }
.bc-list p { font-size: 15px; line-height: 24px; color: #888; }
.bc-list .date { position: absolute; right: 0; bottom: 20px; font-size: 15px; font-weight: 700; line-height: 24px; color: #888; }
.bc-list li:last-child .date { bottom: 0; }

.bc-contact { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; gap: 20px; }
.bc-contact .box { position: relative; overflow: hidden; border-radius: 10px; }
.bc-contact .box strong { display: block; position: relative; font-family: var(--font-head); font-weight: 700; }
/* 오시는길 — 사진 위 왼쪽을 흰색으로 덮어 글을 얹는다. 오른쪽 아래 진한 띠가 링크 */
.bc-contact .box-way {
  grid-column: 1 / -1; display: flex; flex-direction: column; justify-content: center; padding: 40px 50px 64px; /* 아래 64 = 자세히보기 띠 몫. 글은 남는 높이 가운데 */
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .92) 38%, rgba(255, 255, 255, 0) 72%), var(--way-bg) center / cover no-repeat, #f1f1f4;
}
.bc-contact .box-way strong { font-size: 32px; line-height: 1.1; color: #222; }
.bc-contact .box-way p { position: relative; margin-top: 15px; font-size: 16px; line-height: 24px; color: #666; }
.bc-contact .box-way .go {
  position: absolute; right: 0; bottom: 0; width: 300px; padding: 0 40px;
  border-radius: 10px 0 10px 0; background: var(--dark); color: var(--white);
  font-size: 16px; font-weight: 700; line-height: 50px; transition: background .2s;
}
.bc-contact .box-way .go:hover { background: var(--blue); }
.bc-contact .box-way .go i { position: absolute; right: 35px; top: 0; font-style: normal; font-size: 22px; }
/* 전화·팩스 — 가운데 정렬, 번호 앞에 둥근 아이콘. 한결의 노랑/짙은 갈색 자리를 연파랑/남회색으로 */
.bc-contact .box-tel, .bc-contact .box-fax { padding: 44px 20px; text-align: center; }
.bc-contact .box-tel { background: #dfe4fa; color: #222; }
.bc-contact .box-fax { background: var(--dark); color: var(--white); }
/* 한결 칸 바탕 그림의 겹친 원 무늬 */
.bc-contact .box-tel::before, .bc-contact .box-fax::before { content: ""; position: absolute; width: 170px; height: 170px; right: -50px; bottom: -70px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.bc-contact .box-fax::before { background: rgba(255, 255, 255, .06); }
.bc-contact .box-tel strong, .bc-contact .box-fax strong { font-size: 24px; line-height: 32px; }
.bc-contact .num {
  position: relative; display: inline-block; margin-top: 10px; padding-left: 50px;
  font-family: var(--font-head); font-weight: 700; font-size: 28px; line-height: 40px; white-space: nowrap;
}
.bc-contact .num::before { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / 20px no-repeat, var(--blue); }
.bc-contact .box-fax .num::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M7 3h10v4H7zM5 8h14a2 2 0 0 1 2 2v6h-4v4H7v-4H3v-6a2 2 0 0 1 2-2zm4 7v3h6v-3zm8-4.5a1 1 0 1 0 0 2 1 1 0 0 0 0-2z'/%3E%3C/svg%3E") center / 20px no-repeat, #6b7180; }

/* ===========================================================
   푸터 — 왼쪽 정보 / 오른쪽 색 패널
   =========================================================== */
/* skin01 과 같은 짜임 — 어두운 띠, 위에 로고+메뉴 줄, 아래 회사정보와 큰 전화번호.
   색만 skin02 것(어두운 남회색 + 파랑 강조)을 쓴다. */
.footer { background: var(--dark); color: rgba(255, 255, 255, .62); padding: 58px 0 54px; font-size: 15px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
/* 푸터 로고. 배경(--dark)이 어두워 남색 문장·검은 글자가 묻힌다 —
   흰 판을 깔아 로고를 원래 색 그대로 쓴다. 반전(흰색) 로고를 받으면 판을 빼면 된다. */
.footer .logo-plate { background: var(--white); border-radius: 8px; padding: 10px 16px; }
.footer .logo-plate img { height: 34px; width: auto; }
.footer .logo b { color: var(--white); font-size: 22px; }
.footer .logo b .accent { color: #9fb0ee; }
.footer .logo span { color: rgba(255, 255, 255, .5); font-style: normal; font-size: 12px; letter-spacing: .1em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: rgba(255, 255, 255, .78); font-size: 15px; }
.footer-links a:hover { color: #9fb0ee; }
.footer-body { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-info p { line-height: 1.9; }
.footer-info .sep { color: rgba(255, 255, 255, .25); margin: 0 10px; }
.footer-copy { margin-top: 20px; font-size: 13.5px; color: rgba(255, 255, 255, .42); }
.footer-tel { text-align: right; }
.footer-tel .label { font-size: 13px; letter-spacing: .1em; color: rgba(255, 255, 255, .5); }
.footer-tel .num { font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--white); margin-top: 6px; }

/* ===========================================================
   서브 페이지
   =========================================================== */
.sub-hero { position: relative; height: 240px; background: #2a2f3a; }
.sub-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sub-hero::after { content: ""; position: absolute; inset: 0; background: rgba(30, 34, 45, .42); }
.sub-hero .inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white); text-align: center; }
.sub-hero h2 { font-size: clamp(28px, 3vw, 38px); }
.sub-hero .crumb { margin-top: 12px; font-size: 14.5px; color: rgba(255, 255, 255, .85); }

/* 제목 줄을 없앴으니 본문 위 여백은 여기서 준다 */
.sub-body { padding: 62px 0 96px; }
.lead-head { text-align: center; margin-bottom: 44px; }
.lead-head .eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .14em; color: var(--coral); }
.lead-head h4 { margin-top: 14px; font-size: clamp(22px, 2.4vw, 30px); }

/* 사진 + 빨간 라벨 판 */
.label-shot { position: relative; margin-bottom: 70px; }
.label-shot > img { width: 100%; height: auto; }
.label-shot .panel {
  position: absolute; left: 4%; bottom: -34px; width: min(46%, 480px);
  background: var(--coral); color: var(--white); padding: 32px 36px 36px;
  border-top-right-radius: 26px; overflow: hidden;
}
.label-shot .panel::after {
  content: ""; position: absolute; right: -40px; bottom: -70px; width: 190px; height: 190px;
  border-radius: 50%; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .14) 0 3px, transparent 3px 9px);
}
.label-shot .panel .eyebrow { font-family: var(--font-head); font-weight: 500; font-size: 13.5px; letter-spacing: .16em; color: rgba(255, 255, 255, .85); }
.label-shot .panel h4 { margin-top: 34px; text-align: right; font-size: 25px; position: relative; z-index: 1; }

/* 인사말 — 사진 위로 올라탄 흰 카드 */
.greet-shot { position: relative; }
.greet-shot img { width: 100%; }
.greet-card { position: relative; z-index: 2; width: 92%; margin: -90px auto 0; background: var(--white); border-radius: 26px 26px 0 0; padding: 42px 40px 0; text-align: center; }
.greet-card .hl { display: inline-block; font-family: var(--font-head); font-weight: 500; font-size: 19px; }
.prose { margin-top: 26px; text-align: center; color: #55555c; line-height: 2; }
.prose b { color: var(--ink); font-weight: 700; }
.prose p + p { margin-top: 18px; }
.prose .m-br { display: none; }  /* 폰에서만 줄을 바꾸는 자리 */
.sign { margin-top: 28px; font-family: var(--font-head); font-size: 17px; color: #444; }
.sign b { font-size: 21px; margin-left: 8px; }

/* 네 칸 아이콘 줄 */
.pledge { margin-top: 66px; padding: 56px var(--gutter); background: #f0f8ff; } /* 메인 바로가기와 같은 바탕, 컨테이너 밖 전체 폭 */
.pledge-lead { margin-bottom: 44px; text-align: center; font-size: 16px; line-height: 1.6; color: #555; }
.pledge-lead b { display: block; margin-top: 6px; font-family: var(--font-head); font-size: clamp(20px, 2vw, 25px); color: #222; }
.pledge-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1640px; margin: 0 auto; }
.pledge-grid > div { text-align: center; padding: 10px 24px; border-right: 1px solid var(--line); }
.pledge-grid > div:nth-child(4n) { border-right: 0; }
.pledge-grid > div:nth-child(-n+4) { padding-bottom: 32px; }
.pledge-grid > div:nth-child(n+5) { padding-top: 32px; border-top: 1px solid var(--line); } /* 윗줄 1~4 | 아랫줄 5~8 가로 구분선 */
.pledge svg { display: block; width: 60px; height: 60px; margin: 0 auto 16px; fill: none; stroke: #555; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; } /* 메인 .quick-grid 아이콘과 같은 선 */
.pledge svg .pt { stroke: var(--blue-deep); }
.pledge-grid b { display: block; font-family: var(--font-head); font-size: 17px; color: #222; }
.pledge-grid p { margin-top: 8px; font-size: 13px; line-height: 1.6; color: #555; }

/* 번호 붙은 항목 격자 */

.closing { margin-top: 56px; text-align: center; font-size: 17px; line-height: 1.9; color: #55555c; }
.closing em { font-style: normal; color: var(--coral); }

/* 입소 절차 — 번호 붙은 다섯 단계 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-bottom: 64px; }
.steps li { position: relative; padding: 34px 22px 38px; text-align: center; border: 1px solid var(--line); border-left: 0; }
.steps li:first-child { border-left: 1px solid var(--line); }
.steps .no { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.steps b { display: block; margin-top: 18px; font-family: var(--font-head); font-weight: 700; font-size: 17.5px; }
.steps p { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.steps li::after {
  content: ""; position: absolute; top: 56px; right: -7px; z-index: 1;
  width: 12px; height: 12px; border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2);
  transform: rotate(45deg); background: var(--white);
}
.steps li:last-child::after { display: none; }

/* 제목에 형광펜 */
.hl-head { font-family: var(--font-head); font-weight: 700; font-size: 19px; font-style: italic; margin: 0 0 18px; }
.hl-head span { background: var(--pink-bg); padding: 2px 10px; }

/* 표 */
.data-table { border-top: 2px solid var(--coral); font-size: 15px; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 13px 10px; text-align: center; }
.data-table thead th { background: #fafafa; font-family: var(--font-head); font-weight: 500; }
.data-table tbody th { background: #fafafa; font-weight: 400; }
.data-table + .note { margin-top: 12px; text-align: right; color: var(--muted); font-size: 14px; line-height: 1.8; }
.table-wrap { overflow-x: auto; }
.table-block + .table-block { margin-top: 58px; padding-top: 58px; border-top: 1px dashed var(--line-2); }

/* 시설소개 — 메인·채용공고·오시는길 톤에 맞춤: 산호·분홍·기울임 대신 파랑 포인트, 진회색 윗선, 제목은 #222 굵게.
   입소안내도 같은 부품을 쓰므로 .about-page 안에서만 바꾼다 */
.about-page .lead-head .eyebrow { font-size: 15px; letter-spacing: .04em; color: var(--blue); }
.about-page .greet-card .hl { font-weight: 700; font-size: 20px; color: #222; }
.about-status { margin-top: 78px; }
.about-page .hl-head { font-style: normal; font-size: 20px; color: #222; }
.about-page .hl-head span { background: none; padding: 0; }
.about-page .data-table { border-top-color: #444; }
.about-page .data-table tbody th { width: 180px; background: #fafafb; font-family: var(--font-head); font-weight: 500; color: #333; }
.about-page .data-table td { padding-left: 24px; text-align: left; color: #555; }

/* 게시판 */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.pager a, .pager strong { display: flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line-2); font-weight: 400; font-size: 14.5px; color: var(--muted); }
.pager strong { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* 오시는길 */

/* 갤러리 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 14px 16px; font-size: 15px; color: #555; text-align: center; }

/* 등장 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .pf, .pledge-grid p { transition: none !important; } }

.to-top { position: fixed; right: 26px; bottom: 26px; z-index: 90; width: 48px; height: 48px; background: var(--dark); color: var(--white); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.to-top.is-on { opacity: 1; visibility: visible; }

/* ===========================================================
   게시판 목록(.bbs) — KB골든라이프케어 sub05_1 목록 짜임. 색만 skin02 것.
   프로그램·식단표·가정통신문이 모두 이 짜임(tools/lib/board.js 가 만든다).
   =========================================================== */

/* 검색 — 오른쪽 끝, 범위 고르기 + 입력 + 돋보기 */
.bbs { max-width: 1000px; margin-inline: auto; }
.bbs-search { display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 14px; }
.bbs-search select { height: 36px; width: 84px; padding: 0 8px; border: 1px solid #dcdcdc; border-radius: 0; font: inherit; font-size: 14px; color: #777; background: var(--white); }
.bbs-search .field { position: relative; width: 260px; border: 1px solid #dcdcdc; }
.bbs-search input { width: 100%; height: 34px; padding: 0 40px 0 10px; border: 0; font: inherit; font-size: 14px; outline: none; background: transparent; }
.bbs-search button { position: absolute; right: 0; top: 0; width: 36px; height: 34px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* 목록 — 표 모양이지만 ul/li 라 폰에서 한 줄 정보로 접기 쉽다 */
.bbs-list li { display: grid; grid-template-columns: 8% 1fr 12% 8%; align-items: center; }
.bbs-list .col-cat { display: none; }  /* 게시판마다 값이 하나뿐이라 숨긴다 */
.bbs-list .td { padding: 14px 10px; text-align: center; font-size: 15px; color: #646464; }
.bbs-list .txt { display: none; }
.bbs-head { border-top: 2px solid #444; }
.bbs-head li { background: #fafafb; border-bottom: 1px solid #dcdcdc; }
.bbs-head .td { padding: 16px 10px; font-family: var(--font-head); font-weight: 500; color: #333; }
.bbs-body li { border-bottom: 1px solid #dcdcdc; }
.bbs-body .col-subject { text-align: left; padding-left: 32px; min-width: 0; }
.bbs-body .col-subject a { color: #333; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.bbs-body .col-subject a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.bbs-body .is-notice { background: #f6f7fd; }
.bbs-body .is-notice .col-subject a { font-weight: 700; }
.notice-badge { display: inline-block; padding: 0 10px; border-radius: 3px; background: var(--coral); color: var(--white); font-size: 13px; font-weight: 700; line-height: 24px; }

/* 쪽 번호 — 붙은 네모 칸, 양 끝만 둥글게 */
.bbs-pager { display: flex; justify-content: center; margin-top: 40px; }
.bbs-pager > * { min-width: 34px; padding: 0 12px; margin-left: -1px; border: 1px solid #ddd; background-color: var(--white); color: #9f9f9f; font-size: 14px; font-weight: 400; line-height: 32px; text-align: center; }
.bbs-pager a:hover { background-color: #f3f3f3; }
.bbs-pager > :first-child { border-radius: 5px 0 0 5px; }
.bbs-pager > :last-child { border-radius: 0 5px 5px 0; }
.bbs-pager .pg-current { position: relative; z-index: 1; background: var(--blue); border-color: var(--blue); color: var(--white); }
.bbs-pager .pg-edge { width: 34px; padding: 0; background-position: center; background-repeat: no-repeat; background-size: 14px; }
.bbs-pager .pg-first { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%239f9f9f' stroke-width='1.6'%3E%3Cpath d='M11 4 7 8l4 4M5 4v8'/%3E%3C/svg%3E"); }
.bbs-pager .pg-prev { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%239f9f9f' stroke-width='1.6'%3E%3Cpath d='M10 4 6 8l4 4'/%3E%3C/svg%3E"); }
.bbs-pager .pg-next { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%239f9f9f' stroke-width='1.6'%3E%3Cpath d='M6 4l4 4-4 4'/%3E%3C/svg%3E"); }
.bbs-pager .pg-last { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%239f9f9f' stroke-width='1.6'%3E%3Cpath d='M5 4l4 4-4 4M11 4v8'/%3E%3C/svg%3E"); }
/* 첫 쪽의 처음·이전, 끝 쪽의 다음·끝 — 링크가 아니어도 칸 모양은 같게 */
.bbs-pager .is-off { cursor: default; }

/* ===========================================================
   게시글 보기(.bbs-view) — 본문 / 이전·다음 글 / 목록 버튼
   본문 안 요소(.post-tit·.dot-list)는 K-881 시안 짜임, 일정은 달력(.cal). 색만 skin02 것.
   =========================================================== */
.view-body { padding: 0 0 60px; border-bottom: 1px solid #dcdcdc; }

/* 점 붙은 소제목 */
.post-tit { position: relative; padding-left: 20px; font-size: 24px; color: #111; }
.post-tit::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--blue); }
.post-sec + .post-sec { margin-top: 50px; }
/* 달력 — 일요일 시작 7칸. 날짜 칸마다 프로그램(분류 칩·이름·시간)을 쌓는다.
   폰에서는 7칸이 안 들어가 하루씩 세로 목록으로 접고, 빈 날은 숨긴다. */
.cal { margin-top: 16px; }
.cal-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.cal-month { font-family: var(--font-head); font-weight: 700; font-size: 28px; color: #222; letter-spacing: .02em; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: #666; }
.cal-legend li { display: flex; align-items: center; gap: 6px; }
.cal-legend li:not(.ext)::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--cat); }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-week { border-top: 2px solid var(--blue); background: #f6f7fd; }
.cal-week span { padding: 12px 4px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #333; border-bottom: 1px solid #dcdcdc; }
.cal-week .is-sun, .cal-day.is-sun .d-num, .cal-day.is-hol .d-num { color: var(--coral); }
.cal-week .is-sat, .cal-day.is-sat .d-num { color: var(--blue-deep); }
.cal-grid { border-left: 1px solid #dcdcdc; }
.cal-day { min-height: 130px; padding: 10px 8px 12px; border-right: 1px solid #dcdcdc; border-bottom: 1px solid #dcdcdc; }
.cal-day.is-blank { background: #fafafb; }
.cal-day.is-sun { background: #fdfafa; }
.d-head { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.d-num { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: #333; }
.d-wk { display: none; }
.d-hol { font-size: 13px; font-weight: 700; color: var(--coral); }
.cal-day ul { display: grid; gap: 6px; }
.ev { display: grid; grid-template-columns: auto 1fr; column-gap: 5px; font-size: 12.5px; line-height: 1.4; color: #444; }
.ev-cat { grid-row: span 2; align-self: start; padding: 0 5px; border-radius: 3px; background: var(--cat); color: var(--white); font-size: 11px; font-weight: 700; line-height: 18px; }
.ev-name { word-break: keep-all; overflow-wrap: anywhere; } /* 띄어쓰기 없는 긴 이름(「(특화사회적응)서서울호수공원」 등)이 좁은 칸을 뚫지 않게 */
.ev-time { color: #999; font-size: 11.5px; }
.ev-ext { display: inline-block; margin-left: 3px; padding: 0 4px; border: 1px solid #c9cfe9; border-radius: 3px; color: var(--blue-deep); font-size: 10.5px; font-style: normal; line-height: 15px; vertical-align: 1px; }
.c-cog { --cat: var(--blue); }
.c-body { --cat: #3aa38b; }
.c-fam { --cat: var(--coral); }
.c-soc { --cat: #8f6bd1; }
.c-etc { --cat: #8a8f9c; }

/* 식단표 — 주마다 표 하나(열 = 요일, 줄 = 점심·저녁·오전 간식·오후 간식).
   마크업은 하루 = .mw-day 한 묶음이고, PC 에서는 display:contents 로 풀어 세로 흐름(grid-auto-flow: column) 격자에 앉힌다.
   그래서 같은 줄(점심끼리·저녁끼리)이 요일을 가로질러 높이가 맞는다. 폰에서는 묶음째 하루 카드가 된다. */
.menu-week + .menu-week { margin-top: 40px; }
.mw-title { margin-bottom: 10px; font-size: 18px; color: #222; }
.mw-title span { margin-left: 6px; font-family: var(--font-body); font-weight: 400; font-size: 14.5px; color: #888; }
.mw-grid { display: grid; grid-template-columns: 84px repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; border-top: 2px solid var(--blue); border-left: 1px solid #dcdcdc; }
.mw-day { display: contents; }
.mw-cell { padding: 12px 8px; border-right: 1px solid #dcdcdc; border-bottom: 1px solid #dcdcdc; text-align: center; font-size: 14px; line-height: 1.6; color: #555; }
.mw-head { background: #f6f7fd; font-size: 14.5px; color: #333; }
.mw-head b { font-family: var(--font-head); font-weight: 700; }
.mw-labels .mw-cell { display: flex; align-items: center; justify-content: center; background: #fafafb; font-family: var(--font-head); font-weight: 500; color: #333; }
.mw-labels .mw-head { background: #f6f7fd; }
.mw-cell ul { word-break: keep-all; overflow-wrap: anywhere; }
.mw-cell .kcal { display: block; margin-top: 4px; font-size: 12.5px; color: #999; }
.mw-off { grid-row: span 4; display: flex; align-items: center; justify-content: center; background: #fafafb; color: var(--coral); font-weight: 700; }
.is-blank .mw-cell { background: #fafafb; }

/* 가정통신문 — 원본 PDF 쪽들을 그림으로 차례로(뷰어 틀 없이 본문만). 위에 원본 PDF 열기·내려받기 */
.pdf-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 2px solid var(--blue); background: #f6f7fd; }
.pdf-meta { font-size: 14.5px; color: #666; }
.pdf-btns { display: flex; gap: 8px; }
.pdf-btns .btn { height: 42px; padding: 0 20px; font-size: 15px; }
.btn-line { border: 1px solid #c9ccd6; background: var(--white); color: #333; }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
.pdf-pages { display: grid; justify-items: center; gap: 24px; margin-top: 30px; }
.pdf-pages img { width: 100%; max-width: 860px; box-shadow: 0 2px 14px rgba(40, 44, 60, .12); }

/* 채용공고 — KB 채용 페이지의 직종 표를 틀로, 줄을 누르면 그 자리에서 공고가 펼쳐진다(<details name>, 한 번에 하나) */
.recruit-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.recruit-head h3 { font-size: clamp(22px, 2.2vw, 28px); color: #222; }
.job-list-head, .job summary { display: grid; grid-template-columns: 150px 1fr 230px 190px 40px; align-items: center; }
.job-list-head { border-top: 2px solid #444; border-bottom: 1px solid #dcdcdc; background: #fafafb; }
.job-list-head span { padding: 15px 16px; font-family: var(--font-head); font-weight: 500; font-size: 15px; color: #333; }
.job { border-bottom: 1px solid #dcdcdc; }
.job summary { cursor: pointer; list-style: none; transition: background .2s; }
.job summary::-webkit-details-marker { display: none; }
.job summary:hover { background: #fafaff; }
.job summary > span { padding: 18px 16px; font-size: 15px; color: #555; }
.job .job-name { font-family: var(--font-head); font-weight: 700; font-size: 17.5px; color: #222; }
.job[open] summary { background: #f6f7fd; }
.job[open] .job-name { color: var(--blue-deep); }
.job-status { display: inline-block; padding: 0 10px; border-radius: 3px; font-size: 13.5px; font-weight: 700; line-height: 26px; }
.job-status.is-always { border: 1px solid #c9cfe9; color: var(--blue-deep); }
.job-status.is-until { background: var(--coral); color: var(--white); }
.job-status.is-closed { background: #b9bcc6; }
/* 펼침 표시 — 아래 꺾쇠, 열리면 위로 */
.job-toggle { position: relative; height: 100%; }
.job-toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -7px 0 0 -5px; border-right: 2px solid #999; border-bottom: 2px solid #999; transform: rotate(45deg); transition: transform .25s, margin .25s; }
.job[open] .job-toggle::before { margin-top: -2px; transform: rotate(225deg); }
.job-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 50px; padding: 30px 26px 36px; border-top: 1px solid #e6e8f2; }
.job-headline { grid-column: 1 / -1; font-size: 20px; color: #222; }
.job-sec h5 { padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid #e6e6ea; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--blue-deep); }
.job-sec .dot-list { margin-top: 0; }
.job-sec .dot-list li { --lh: 1.8; font-size: 15.5px; }
.job-dl { display: grid; grid-template-columns: 90px 1fr; gap: 8px 12px; margin: 0; font-size: 15.5px; line-height: 1.7; }
.job-dl dt { font-family: var(--font-head); font-weight: 500; color: #333; }
.job-dl dd { margin: 0; color: #555; }
/* 맨 아래 — 왼쪽 공통 안내(옅은 판) / 오른쪽 사진 + 채용문의 띠(KB 채용 페이지 짜임) */
.recruit-bottom { display: grid; grid-template-columns: 1fr 440px; gap: 0; align-items: stretch; margin-top: 50px; }
.recruit-common { padding: 30px 30px 32px; background: #f6f7fd; }
.recruit-figure { display: flex; flex-direction: column; margin: 0; }
/* 줄 높이는 왼쪽 글이 정하고 사진은 남는 높이만 채운다(높이 0 에서 자라게) — 사진이 줄을 늘려 왼쪽 아래가 비던 것 */
.recruit-figure img { width: 100%; flex: 1 1 0; height: 0; min-height: 0; object-fit: cover; object-position: center 30%; } /* 넓게 잘릴 때 서 있는 분 머리가 잘리지 않게 위쪽을 살린다 */
.recruit-figure figcaption a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; background: var(--blue); color: var(--white); font-size: 16px; transition: background .2s; }
.recruit-figure figcaption a:hover { background: var(--blue-deep); }
.recruit-figure figcaption b { margin-left: 4px; font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: .01em; }
.recruit-figure .ico { width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.recruit-common .job-dl { margin-top: 16px; }
.recruit-common .recruit-notes li { padding-left: 0; }
.recruit-common .recruit-notes li::before { content: none; }
.recruit-notes { margin-top: 16px; }

/* 점 목록 */
.dot-list { margin-top: 26px; }
.dot-list li { --lh: 1.9; position: relative; padding-left: 18px; font-size: 16px; line-height: var(--lh); color: #555; }
.dot-list li::before { content: ""; position: absolute; left: 4px; top: calc((var(--lh) * 1em - 5px) / 2); width: 5px; height: 5px; border-radius: 50%; background: #888; }

/* 이전·다음 글 */
.view-nav a { display: grid; grid-template-columns: 110px 1fr; align-items: center; border-bottom: 1px solid #dcdcdc; font-size: 15px; transition: background .2s; }
.view-nav a:hover { background: #fafafb; }
.view-nav .lbl { padding: 16px 0; text-align: center; font-family: var(--font-head); font-weight: 500; color: #333; background: #fafafb; }
.view-nav .ttl { padding: 16px 20px; color: #555; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.view-nav a:hover .ttl { color: var(--blue); }
/* 첫 글·마지막 글 — 링크 없이 자리만 */
.view-nav .is-none { display: grid; grid-template-columns: 110px 1fr; align-items: center; border-bottom: 1px solid #dcdcdc; font-size: 15px; }
.view-nav .is-none .ttl { color: #aaa; }
.view-foot { display: flex; justify-content: center; margin-top: 40px; }
.view-foot .btn { min-width: 140px; }

/* ===========================================================
   오시는길 — 한결 「오시는 길」 짜임: 지도 위에 주소·전화 띠가 아래로 걸치고, 그 아래 대중교통 | 자가용 두 칸.
   아이콘은 mask 로 칠해 색을 CSS 에서 바꾼다.
   =========================================================== */
.loc-map { position: relative; height: 420px; }
.loc-frame { width: 100%; height: 100%; background: #e9e9ee; }
.loc-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
/* 카카오 퍼가기 지도 — 지도만 남기고 아래 붙는 조작 줄(로드뷰·길찾기)과 주소·전화 칸은 숨긴다.
   같은 내용이 위 주소 띠와 「카카오맵에서 보기」 링크에 있다. 지도 안 카카오 표기는 그대로. */
#kakao-map .root_daum_roughmap { width: 100% !important; }
#kakao-map .wrap_controllers, #kakao-map .cont { display: none !important; }
.loc-info { position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%); width: calc(100% - 300px); padding: 24px 20px; border-radius: 20px 0 20px 0; background: var(--dark); z-index: 2; }
.loc-info ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 50px; }
.loc-info li { position: relative; padding-left: 32px; font-family: var(--font-head); font-weight: 500; font-size: 19px; line-height: 30px; color: var(--white); }
.loc-info li::before, .loc-come p::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: #9fb0ee; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.i-pin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.i-tel { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.i-bus { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 16c0 .9.4 1.7 1 2.2V20a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1h8v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1.8c.6-.5 1-1.3 1-2.2V6c0-3.5-3.6-4-8-4s-8 .5-8 4zm3.5 1a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm9 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM18 11H6V6h12z'/%3E%3C/svg%3E"); }
.i-subway { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8 2 4 2.5 4 6v9.5A3.5 3.5 0 0 0 7.5 19L6 20.5v.5h2.2l2-2h3.6l2 2H18v-.5L16.5 19a3.5 3.5 0 0 0 3.5-3.5V6c0-3.5-3.6-4-8-4zM7.5 17a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM11 10H6V6h5zm2 0V6h5v4zm3.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E"); }
.i-car { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 6a1.5 1.5 0 0 0-1.4-1h-11a1.5 1.5 0 0 0-1.4 1L3 12v8a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1h12v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-8zM6.5 16a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm11 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM5 11l1.5-4.5h11L19 11z'/%3E%3C/svg%3E"); }
.loc-come { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-top: 90px; /* 지도 밑으로 40px 걸친 주소 띠 + 여백 */ border-top: 2px solid var(--dark); border-bottom: 1px solid #ddd; }
.loc-come::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #ddd; }
.loc-come .box { padding: 40px 50px; }
.loc-come strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 32px; color: #222; }
.loc-come p { position: relative; margin-top: 20px; padding-left: 32px; font-size: 16px; line-height: 28px; color: #333; }
.loc-come p::before { top: 14px; background: var(--blue); }
.loc-come p span { display: block; color: #777; font-size: 15px; }
.loc-come p em { font-style: normal; color: #888; font-size: 14.5px; }

/* ===========================================================
   태블릿
   =========================================================== */
@media (max-width: 1300px) {
  :root { --header-h: 78px; --header-base: 78px; --gutter: 20px; }
  .header.is-stuck { --header-h: 56px; }
  .header-box { padding: 0 24px; }
  .logo-img img { height: 38px; }
  .header.is-stuck .logo-img img { height: 32px; }
  .gnb > li > a { padding: 0 14px; font-size: 15.5px; }
  .quick-grid svg { width: 52px; height: 52px; }
  .quick-grid b { font-size: 19px; }
  .pledge-band { grid-template-columns: 24% 1fr 1fr; }
  .loc-info { width: calc(100% - 80px); }
  .loc-come .box { padding: 34px 30px; }
  .recruit-bottom { grid-template-columns: 1fr 360px; }
  .job-list-head, .job summary { grid-template-columns: 120px 1fr 190px 170px 36px; }
  .job summary > span, .job-list-head span { padding-inline: 12px; }
  .bbs-list li { grid-template-columns: 7% 1fr 15% 9%; }
  .bbs-list .td { padding-inline: 4px; font-size: 14px; }
  .bbs-body .col-subject { padding-left: 24px; }
  .bc-contact .num { font-size: 25px; }
  .pledge-band dd { font-size: 15.5px; padding: 14px 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li { border-left: 1px solid var(--line); }
  .steps li::after { display: none; }
}

/* 카드 넷이 한 줄에 들어가기엔 좁은 폭 — 두 줄로 */
/* 메인 비주얼 — 1080px 아래로는 영상을 잘라 넣으면 어르신들이 제목 밑으로 들어온다(1001px 에서 -4px 로 닿음, 1100px 은 95px 여유 — 실측).
   영상(어르신들 쪽)을 위에, 글은 아래 하늘색 띠에 따로 둔다. */
@media (max-width: 1080px) {
  .hero { height: auto; background: #0b5cb3; }
  .hero-bg { position: static; display: block; height: min(360px, 42vw); object-position: 82% center; }
  .hero-copy { height: auto; padding: 32px var(--gutter) 40px; background: linear-gradient(180deg, #0b5cb3, #0a4fa0); text-shadow: none; }
  .hero-copy h2 { margin-top: 12px; font-size: 32px; }
  .hero-copy p { margin-top: 14px; font-size: 16px; }
}

/* 게시판·연락처 두 칸이 나란히 서기엔 좁은 폭 — 위아래로 */
@media (max-width: 1200px) { .bc-grid { grid-template-columns: 1fr; gap: 20px; } }

/* 달력 7칸이 좁아지는 폭 — 하루씩 세로 목록으로 접는다. 한 프로그램 = 한 줄(칩·이름·시간) */
@media (max-width: 1000px) {
  .pledge-grid { grid-template-columns: repeat(2, 1fr); } /* 시설소개 여덟 칸 — 태블릿 두 칸 */
  .pledge-grid > div:nth-child(2n) { border-right: 0; }
  .pledge-grid p br { display: none; }
  .cal-week { display: none; }
  .cal-grid { display: block; border-left: 0; border-top: 2px solid var(--blue); }
  .cal-day { display: grid; grid-template-columns: 88px 1fr; align-items: start; min-height: 0; padding: 14px 4px; border-right: 0; }
  .cal-day.is-blank, .cal-day.is-empty:not(.is-hol) { display: none; }
  .cal-day.is-sun { background: none; }
  .d-head { flex-direction: column; gap: 0; margin: 0; }
  .d-wk { display: inline; font-size: 13px; color: #888; }
  .cal-day ul { gap: 5px; }
  .ev { grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: 8px; font-size: 14px; }
  .ev-cat { grid-row: auto; font-size: 11.5px; line-height: 19px; }
  .ev-time { font-size: 12.5px; white-space: nowrap; }
}

/* 채용 맨 아래 — 두 칸이 나란히 서기엔 좁은 폭. 위아래로 놓고 사진은 원래 비율 그대로 가운데 */
@media (max-width: 1000px) {
  .recruit-bottom { grid-template-columns: 1fr; gap: 24px; }
  .recruit-figure { width: 100%; max-width: 440px; justify-self: center; }
  .recruit-figure img { flex: none; height: auto; }
}

/* 바로가기 네 칸이 한 줄에 서기엔 좁은 폭 — 두 칸씩 */
@media (max-width: 1000px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid a { justify-content: flex-start; padding: 17px 0 17px 12%; }
  .quick-grid a:nth-child(odd) { border-left: 0; }
  .quick-grid a:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* 식단표 6칸이 좁아지는 폭 — 하루씩 카드로 접는다. 줄마다 「이름 | 내용」 두 칸 */
@media (max-width: 1000px) {
  .mw-grid { display: block; border-left: 0; }
  .mw-day { display: block; border-bottom: 1px solid #dcdcdc; }
  .mw-day.mw-labels, .mw-day.is-blank { display: none; }
  .mw-cell { border: 0; text-align: left; }
  .mw-head { padding: 10px 8px; }
  .mw-cell[data-label] { display: grid; grid-template-columns: 72px 1fr; column-gap: 8px; padding: 8px; }
  .mw-cell[data-label] + .mw-cell[data-label] { border-top: 1px dashed #e6e6ea; }
  .mw-cell[data-label]::before { content: attr(data-label); grid-row: span 2; font-family: var(--font-head); font-weight: 500; font-size: 13.5px; color: #333; }
  .mw-cell[data-label] > * { grid-column: 2; }
  .mw-cell ul { display: flex; flex-wrap: wrap; gap: 0 10px; }
  .mw-cell .kcal { margin-top: 2px; }
  .mw-off { justify-content: flex-start; padding: 12px 8px; background: none; }
}

/* 제목 칸을 옆에 두기엔 좁은 폭 — KB 처럼 제목 칸을 위 한 줄로 올리고 원칙은 2×2 */
@media (max-width: 1000px) {
  .pledge-band { grid-template-columns: 1fr 1fr; }
  .pledge-band dt { grid-row: auto; grid-column: 1 / -1; min-height: 0; padding: 24px 20px; }
  .pledge-band dt b { font-size: 28px; }
}

/* ===========================================================
   모바일
   =========================================================== */
@media (max-width: 750px) {
  :root { --header-h: 62px; --header-base: 62px; --gutter: 16px; }
  .header.is-stuck { --header-h: 52px; }
  body { font-size: 14px; }
  .header-box { padding: 0 16px; }
  .logo b { font-size: 21px; }
  .logo span { font-size: 10px; }
  .logo-img img { height: 32px; }
  .header.is-stuck .logo-img img { height: 28px; }
  .nav-toggle { display: flex; }
  .gnb {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; background: var(--white); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .is-nav-open .gnb { max-height: 400px; }
  .gnb > li > a { line-height: 1; padding: 17px 20px; border-bottom: 1px solid var(--line); }

  .header-right { gap: 10px; }

  .hero-bg { height: 240px; }
  .hero-copy { padding: 26px var(--gutter) 32px; }
  .hero-copy h2 { font-size: 27px; }
  .hero-copy p { font-size: 14px; }

  .quick { padding: 24px 0; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid a { display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 14px 0 14px 10px; text-align: left; }
  .quick-grid a > span { display: contents; }  /* 아이콘·제목 한 줄, 설명은 그 아래 칸 전체 폭 */
  .quick-grid svg { width: 34px; height: 34px; }
  .quick-grid b { font-size: 17px; }
  .quick-grid em { grid-column: 1 / -1; margin-top: 0; font-size: 13.5px; }

  .intro-video { padding-top: 28px; }
  .facility-shots-wrap { padding-top: 28px; }
  .facility-shots { grid-template-columns: 1fr 1fr; gap: 8px; }
  .facility-shots .shot-main { grid-column: 1 / -1; grid-row: auto; }
  .facility-shots figcaption { padding: 28px 10px 8px; font-size: 13px; }
  .facility-shots figcaption b { font-size: 18px; }
  :root { --pledge-overlap: 40px; }
  .pledge-main { padding-top: 32px; }
  .pledge-band { grid-template-columns: 1fr; }
  .pledge-band dt { grid-row: auto; flex-direction: row; flex-wrap: nowrap; align-items: baseline; gap: 10px; min-height: 0; padding: 22px 16px; white-space: nowrap; }
  .pledge-band dt b { font-size: 26px; }
  .pledge-band dd { min-height: 0; padding: 14px 18px; font-size: 14px; align-items: flex-start; }
  /* 한 줄로 쌓이면 체크무늬가 깨지니 3·4 색을 바꿔 짙고 옅음이 번갈게 */
  .pledge-band .item3 { background: #444957; }
  .pledge-band .item4 { background: #5b6170; }
  .board-contact { padding: calc(40px + var(--pledge-overlap)) 0 40px; }
  .bc-board { padding: 20px; }
  .bc-board h3 { font-size: 20px; line-height: 34px; padding-right: 44px; }
  .bc-board h3 .more { width: 34px; height: 34px; }
  .bc-board h3 .more::before, .bc-board h3 .more::after { width: 14px; }
  .bc-list li { padding: 16px 0; }
  .bc-list strong { font-size: 14px; }
  .bc-list p { font-size: 13.5px; }
  .bc-list .date { position: static; display: block; margin-top: 4px; font-size: 13px; }
  .bc-contact { grid-template-columns: 1fr; gap: 14px; }
  .bc-contact .box-way { padding: 24px 20px 76px; }
  .bc-contact .box-way strong { font-size: 22px; }
  .bc-contact .box-way p { font-size: 14px; }
  .bc-contact .box-way .go { width: 200px; padding: 0 24px; font-size: 14px; line-height: 44px; }
  .bc-contact .box-way .go i { right: 22px; }
  .bc-contact .box-tel, .bc-contact .box-fax { padding: 26px 16px; }
  .bc-contact .box-tel strong, .bc-contact .box-fax strong { font-size: 17px; line-height: 26px; }
  .bc-contact .num { font-size: 22px; }




  .footer { padding: 40px 0 44px; font-size: 14px; }
  .footer-body { flex-direction: column; }
  .footer-tel { text-align: left; }
  .footer-links { display: none; }
  .footer-info p > span { display: block; }  /* PC 의 | 자리에서 줄을 바꾼다 */
  .footer-info .sep { display: none; }
  .prose p, .prose b { font-size: 14px; }
  .prose .sign, .prose .sign b { font-size: 15px; }
  .prose .m-br { display: inline; }
  .prose p + p { padding-top: 18px; border-top: 1px solid var(--line); }
  .footer-copy { font-size: 12.5px; }
  .footer-tel .label { font-size: 12px; }
  .footer-tel .num { font-size: 29px; }

  .sub-hero { height: 110px; }
  .sub-hero .crumb { display: none; }
  .sub-body { padding: 24px 0 60px; }

  .label-shot .panel { position: static; width: 100%; border-radius: 0; }
  .label-shot .panel h4 { margin-top: 18px; }
  .greet-card { width: 100%; margin-top: -40px; padding: 28px 20px 0; }
  .pledge { margin-top: 44px; padding: 36px var(--gutter); }
  .pledge-lead { margin-bottom: 30px; font-size: 15px; }
  .pledge-grid { grid-template-columns: repeat(2, 1fr); }
  .pledge-grid > div, .pledge-grid > div:nth-child(n) { padding: 18px 10px; border-right: 0; border-top: 0; }
  .pledge-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .pledge-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pledge svg { width: 46px; height: 46px; margin-bottom: 10px; }
  .pledge-grid b { font-size: 15px; }
  /* 카드 뒤집기 — 앞면 아이콘·제목, 뒷면 설명. 두 면을 한 칸에 겹쳐 높이를 맞춘다 */
  .pledge-grid > div { display: grid; perspective: 900px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .pf, .pledge-grid p { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .5s ease; }
  .pf { display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .pf::after { content: "VIEW"; margin-top: 10px; padding: 2px 10px; border-radius: 999px; background: var(--blue); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; }
  .pledge-grid p { display: flex; flex-direction: column; justify-content: center; margin-top: 0; transform: rotateY(180deg); }
  .pledge-grid > div.is-flip .pf { transform: rotateY(-180deg); }
  .pledge-grid > div.is-flip p { transform: rotateY(0); }
  .pledge-grid > div:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: -2px; }
  .about-status { margin-top: 44px; }
  .about-status .data-table td { font-size: 14px; }
  .about-page .data-table tbody th { width: 96px; }
  .about-page .data-table td { padding-left: 14px; }
  .steps { grid-template-columns: 1fr; margin-bottom: 44px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .view-body { padding: 0 0 40px; }
  .post-tit { font-size: 20px; padding-left: 16px; }
  .post-tit::before { width: 8px; height: 8px; margin-top: -4px; }
  .dot-list li { font-size: 14.5px; }
  .loc-map { height: auto; }
  .loc-frame { height: 300px; }
  .loc-info { position: static; transform: none; width: 100%; padding: 18px 16px; border-radius: 0 0 14px 0; }
  .loc-info ul { flex-direction: column; align-items: center; gap: 6px; }
  .loc-info li { padding-left: 0; font-size: 16px; text-align: center; }
  .loc-info li::before { content: none; }
  .loc-come { grid-template-columns: 1fr; margin-top: 24px; }
  .loc-come::before { display: none; }
  .loc-come .box { padding: 26px 4px; }
  .loc-come .box + .box { border-top: 1px solid #ddd; }
  .loc-come strong { font-size: 20px; }
  .loc-come p, .loc-come p span { font-size: 14px; }
  .job-list-head { display: none; }
  .job-list { border-top: 2px solid #444; }
  .job summary { grid-template-columns: auto 1fr 32px; column-gap: 8px; grid-template-areas: "name apply toggle" "duty duty toggle" "hours hours toggle"; row-gap: 2px; padding: 14px 4px; }
  .job summary > span { padding: 0; font-size: 14px; }
  .job .job-name { grid-area: name; font-size: 17px; }
  .job-duty { grid-area: duty; }
  .job-hours { grid-area: hours; color: #888; }
  .job-apply { grid-area: apply; justify-self: start; }
  .job-status { padding: 0 7px; font-size: 12px; line-height: 20px; }
  .job-toggle { grid-area: toggle; }
  .job-body { grid-template-columns: 1fr; gap: 8px; padding: 12px 6px 14px; }
  .job-sec h5 { padding-bottom: 4px; margin: 6px 0 4px; }
  .job-headline { font-size: 17.5px; }
  .job-dl { grid-template-columns: 76px 1fr; gap: 3px 12px; font-size: 14.5px; line-height: 1.5; }
  .job-sec .dot-list li { --lh: 1.5; font-size: 14.5px; }
  .recruit-common { padding: 22px 16px; }
  /* 짧은 값(고용형태·급여·근무형태)은 항목명과 한 줄, 긴 값(근무지·접수방법)만 아래 줄로 */
  .recruit-common .job-dl { gap: 0 12px; }
  .recruit-common .job-dl dd + dt, .recruit-common .job-dl dd + dt + dd { margin-top: 8px; }
  .recruit-common .job-dl dt:nth-of-type(n + 4), .recruit-common .job-dl dd:nth-of-type(n + 4) { grid-column: 1 / -1; }
  .recruit-common .job-dl dt:nth-of-type(n + 4) + dd { margin-top: 0; }
  .recruit-common .job-dl dd:not(:nth-of-type(n + 4))::before { content: ""; display: inline-block; width: 1px; height: .9em; margin-right: 12px; background: #ccc; vertical-align: -1px; }
  .recruit-figure img { display: none; }
  .recruit-bottom { gap: 20px; margin-top: 36px; }
  .pdf-pages { gap: 14px; margin-top: 18px; }
  .pdf-bar { padding: 14px 12px; }
  .pdf-btns { width: 100%; }
  .pdf-btns .btn { flex: 1; padding: 0 10px; }
  .view-nav a, .view-nav .is-none { grid-template-columns: 70px 1fr; font-size: 14px; }
  .view-nav .lbl, .view-nav .ttl { padding-block: 13px; }
  .view-nav .ttl { padding-inline: 12px; }
  .bbs-search { margin-bottom: 10px; }
  .bbs-search .field { flex: 1; width: auto; }
  .bbs-head { display: none; }
  .bbs-body { border-top: 2px solid #444; }
  .bbs-body li { display: flex; flex-wrap: wrap; align-items: center; padding: 14px 4px; }
  .bbs-list .td { padding: 0; font-size: 13px; text-align: left; }
  .bbs-body .col-no { display: none; }
  .bbs-body .is-notice .col-no { display: block; margin-right: 8px; }
  .bbs-body .col-subject { flex: 1 1 100%; order: -1; padding: 0 0 6px; font-size: 14px; }
  .pdf-btns .btn, .steps .no, .hero-copy .eyebrow, .pledge-band dt .org { font-size: 14px; }
  .sub-body:not(.about-page) .data-table { font-size: 14px; }
  /* 식단표 — 프로그램 일정과 같은 하루 목록. 날짜 한 줄 + 끼니마다 칩·메뉴·칼로리 한 줄 */
  .menu-week + .menu-week { margin-top: 24px; }
  .mw-title { margin-bottom: 8px; font-size: 16px; }
  .mw-title span { font-size: 13px; }
  .mw-day { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; padding: 8px 2px; }  /* 점심·저녁은 한 줄씩, 간식 둘은 나란히 */
  .mw-head, .mw-lunch, .mw-dinner, .mw-off { grid-column: 1 / -1; }
  .mw-head { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; padding: 0; background: none; font-size: 12px; color: #888; }
  .mw-head b { font-size: 15px; color: #333; }
  .mw-cell[data-label] { grid-template-columns: 36px 1fr auto; column-gap: 6px; padding: 0; font-size: 13px; line-height: 1.35; }
  .mw-am[data-label], .mw-pm[data-label] { grid-template-columns: auto 1fr; }
  .mw-cell[data-label] + .mw-cell[data-label] { margin-top: 6px; border-top: 0; }
  .mw-cell[data-label]::before { grid-row: auto; align-self: start; border-radius: 3px; background: #8a8f9c; color: var(--white); font-family: var(--font-body); font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; white-space: nowrap; }
  .mw-am[data-label]::before, .mw-pm[data-label]::before { padding: 0 4px; }
  .mw-lunch[data-label]::before { background: var(--blue); }
  .mw-dinner[data-label]::before { background: #8f6bd1; }
  .mw-cell ul { display: block; }
  .mw-cell li { display: inline; }
  .mw-cell li:not(:last-child)::after { content: " · "; color: #bbb; }
  .mw-cell .kcal { grid-column: 3; grid-row: 1; margin: 0; font-size: 11px; line-height: 17px; }
  .mw-off { padding: 0; }
  .cal-month { font-size: 20px; }
  .cal-legend { flex-wrap: nowrap; justify-content: space-between; gap: 4px; width: 100%; font-size: clamp(11.5px, 3.4vw, 13.5px); white-space: nowrap; }  /* 범례는 한 줄, 칸 사이는 폭에 맞춰 벌어진다 */
  .cal-legend li { gap: 4px; }
  /* 하루 목록을 낮게 — 날짜·요일을 위 한 줄로 올려 프로그램이 칸 전체 폭을 쓴다 */
  .cal-day { display: block; padding: 8px 2px; }
  .cal-day ul { gap: 3px; }
  .d-head { flex-direction: row; gap: 6px; margin-bottom: 3px; }
  .d-num { font-size: 15px; }
  .d-wk { font-size: 12px; }
  .ev { column-gap: 6px; font-size: 13px; line-height: 1.35; }
  .ev-cat { padding: 0 4px; font-size: 11px; line-height: 17px; }
  .ev-time { font-size: 11px; }
  .ev-ext { margin-left: 2px; }
  .bbs-body .inf { padding-right: 8px; margin-right: 8px; border-right: 1px solid #ccc; font-size: 12px; line-height: 1; }
  .bbs-body .inf:last-child { border-right: 0; }
  .bbs-list .txt { display: inline; }
  .notice-badge { font-size: 12px; line-height: 20px; padding: 0 7px; }
  .bbs-pager { margin-top: 28px; }
  .bbs-pager > * { min-width: 30px; padding: 0 9px; }
}

/* 바로가기 설명은 늘 두 줄 — 칸이 가장 좁아지는 두 구간만 글자를 줄인다 */
@media (min-width: 1001px) and (max-width: 1099px) {
  .quick-grid a { gap: 12px; }
  .quick-grid em { font-size: 13.5px; }
}
@media (max-width: 359px) { .quick-grid em { font-size: 12px; letter-spacing: -.02em; } }

/* 폰 우측 하단 전화 버튼 — 햄버거가 나오는 750px 아래에서만(11/2). 맨 위로 버튼은 그 위로 올린다 */
.call-fab { display: none; }
@media (max-width: 750px) {
  .call-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 95; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px 0 12px; border-radius: 21px; background: var(--blue); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: -.01em; box-shadow: 0 5px 14px rgba(108, 127, 216, .35); }
  .call-fab:active { background: var(--blue-deep); }
  .to-top { display: none; }   /* 폰에서는 맨 위로 버튼 숨김 — 전화 버튼만(11/2 사용자 지시) */
}
@media print { .header, .to-top, .call-fab { display: none; } }
