/* 따봉싱크 — ① 공통 값 ② PC ③ 태블릿 ④ 모바일 */

/* ① 공통 값 */
:root {
  --blue: #2e62ab;
  --blue-deep: #1c3f74;
  --blue-soft: #eaf0f9;
  --yellow: #ffd83a;
  --ink: #152033;
  --ink-2: #47536a;
  --ink-3: #7b869b;
  --line: #dde3ee;
  --paper: #ffffff;
  --tint: #f4f7fb;
  --kakao: #fee500;

  --fs-h1: 64px;
  --fs-h2: 38px;
  --fs-h3: 20px;
  --fs-body: 17px;
  --fs-small: 15px;
  --sec-y: 80px;
  --head-gap: 32px;
  --pad-x: 32px;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-size: var(--fs-body); line-height: 1.65; color: var(--ink); background: var(--paper);
  word-break: keep-all; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.in { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad-x); }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
.t_short { display: none; }
[hidden] { display: none !important; }

/* 로고 */
.logo { display: inline-flex; align-items: center; gap: 2px; background: var(--blue); border-radius: 10px; padding: 7px 14px 8px; font-weight: 900; font-size: 22px; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.logo b { color: var(--yellow); font-weight: 900; }
.logo span { color: #fff; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 58px; padding: 0 26px; border-radius: 12px; font-weight: 700; font-size: 18px; white-space: nowrap; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn svg { font-size: 22px; }
.btn_y { background: var(--yellow); color: var(--ink); }
.btn_y:hover { background: #ffe36a; }
.btn_line { border-color: rgba(255,255,255,.55); color: #fff; }
.btn_line:hover { background: #fff; color: var(--blue-deep); border-color: #fff; }
.btn_ghost { border-color: var(--ink); color: var(--ink); }
.btn_ghost:hover { background: var(--ink); color: #fff; }

/* 헤더 */
.hd { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hd .in { display: flex; align-items: center; gap: 40px; height: 72px; }
.gnb { display: flex; gap: 34px; margin-left: auto; font-weight: 600; font-size: 16px; white-space: nowrap; }
.gnb a { padding: 8px 0; border-bottom: 2px solid transparent; }
.gnb a:hover { border-color: var(--blue); color: var(--blue); }
.hd_tel { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; white-space: nowrap; flex: none; }
.hd_tel:hover { background: var(--blue); }
.hd_tel svg { font-size: 18px; }

/* 히어로 */
.hero { background: var(--blue); color: #fff; }
.hero .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; padding-top: 64px; padding-bottom: 84px; }
.hero_kicker { display: inline-block; font-weight: 700; font-size: 17px; color: var(--blue-deep); background: var(--yellow); padding: 5px 12px; border-radius: 6px; margin-bottom: 26px; }
.hero h1 { font-size: var(--fs-h1); font-weight: 900; letter-spacing: -0.035em; line-height: 1.16; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero_lead { margin-top: 26px; font-size: 20px; line-height: 1.7; color: #dbe6f6; max-width: 30em; }
.hero_cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero_area { margin-top: 26px; font-size: var(--fs-small); color: #c3d3ec; }
.hero_pic { position: relative; }
.hero_pic .photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.hero_pic .mascot { position: absolute; left: -44px; bottom: -48px; width: 190px; height: 190px; border-radius: 50%; border: 6px solid var(--yellow); background: #fff; }

/* 섹션 공통 */
.sec { padding: var(--sec-y) 0; }
.sec_tint { background: var(--tint); }
.sec_hd { margin-bottom: var(--head-gap); }
.sec_hd p { margin-top: 12px; color: var(--ink-2); }

/* 시공 품목 */

/* 약속 */
.promise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.promise_say h2 { font-size: 44px; }
.promise_say p { margin-top: 22px; color: var(--ink-2); font-size: 18px; max-width: 26em; }
.promise_list { display: grid; gap: 12px; }
.promise_list li { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.promise_list svg { font-size: 26px; color: var(--blue); margin-top: 2px; }
.promise_list p { margin-top: 4px; color: var(--ink-2); font-size: 16px; }

/* 시공 사례 */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tabs button { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.tabs button:hover { border-color: var(--ink); color: var(--ink); }
.tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.cases li[hidden] { display: none; }
.cases a { display: block; }
.cases .thumb { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.cases img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cases a:hover img { transform: scale(1.04); }
.c_tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.c_tags em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 2px 8px; border-radius: 5px; }
.cases strong { display: block; margin-top: 10px; font-size: 18px; font-weight: 700; line-height: 1.45; }
.cases a:hover strong { color: var(--blue); }
.cases time { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.more { margin-top: 56px; text-align: center; }

/* 진행 과정 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 28px; }
.steps b { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 17px; font-weight: 800; margin-bottom: 18px; }
.steps li:last-child b { background: var(--yellow); color: var(--ink); }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* 출장 지역 */
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.area p { margin-top: 18px; color: var(--ink-2); max-width: 28em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-size: 22px; font-weight: 800; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--ink); }
.chips li.etc { border-style: dashed; border-color: var(--ink-3); color: var(--ink-2); font-weight: 600; }

/* 문의 */
.contact { background: var(--blue-deep); color: #fff; padding: var(--sec-y) 0; }
.contact h2 { font-size: 44px; }
.contact p { margin-top: 14px; color: #c9d7ee; }
.contact_btns { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; margin-top: 44px; }
.cbtn { display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: var(--radius); border: 2px solid rgba(255,255,255,.3); text-align: left; transition: border-color .15s, background-color .15s; }
.cbtn:hover { border-color: #fff; }
.cbtn svg { font-size: 30px; }
.cbtn small { display: block; font-size: 14px; color: #c9d7ee; }
.cbtn b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; white-space: nowrap; }
.cbtn_y { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.cbtn_y:hover { background: #ffe36a; border-color: #ffe36a; }
.cbtn_y small { color: #5c4d00; }
.cbtn_y b { font-size: 28px; }

/* 푸터 */
.ft { padding: 48px 0 56px; font-size: var(--fs-small); color: var(--ink-2); border-top: 1px solid var(--line); }
.ft .logo { margin-bottom: 18px; font-size: 19px; }
.ft p + p { margin-top: 4px; }
.ft a:hover { color: var(--blue); text-decoration: underline; }
.ft .copy { margin-top: 18px; color: var(--ink-3); }

/* 중간 문의 띠 */
.ask { background: var(--yellow); padding: 56px 0; }
.ask .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.ask h2 { font-size: 32px; }
.ask p { margin-top: 10px; color: #4d4100; }
.ask_btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.abtn { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 2px solid var(--ink); text-align: left; transition: background-color .15s, color .15s; }
.abtn i { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--kakao); color: #3b1e1e; font-size: 28px; flex: none; }
.abtn b { display: block; font-size: 21px; font-weight: 800; line-height: 1.3; }
.abtn small { display: block; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.abtn_y { background: var(--ink); color: #fff; }
.abtn_y i { background: var(--yellow); color: var(--ink); }
.abtn_y small { color: #c5cede; }
.abtn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.abtn:hover small { color: #dbe6f6; }

/* 오른쪽 아래 떠 있는 상담 버튼 */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab_btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--ink); font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: transform .15s; }
.fab_btn:hover { transform: scale(1.06); }
.fab_btn svg { font-size: 28px; }
.fab_tel { background: var(--blue); color: #fff; }
.fab_talk { background: var(--kakao); color: #3b1e1e; }
.fab_top { width: 56px; height: 56px; background: #fff; color: var(--ink); margin-right: 14px; }
.fab_top span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.fab_top svg { font-size: 24px; }
.fab_say { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--ink); border-radius: 16px 16px 4px 16px; padding: 10px 38px 10px 10px; }
.fab_say[hidden] { display: none; }
.fab_say img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--yellow); flex: none; }
.fab_say p { font-size: 13px; line-height: 1.4; color: var(--ink-2); white-space: nowrap; }
.fab_say b { display: block; font-size: 15px; color: var(--ink); }
.fab_x { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-size: 14px; }
.fab_x:hover { color: var(--ink); }

/* 하단 고정 띠(모바일 전용), 토스트 */
.mbar { display: none; }
.toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); max-width: min(92vw, 460px); background: var(--ink); color: #fff; font-size: 15px; line-height: 1.5; padding: 14px 20px; border-radius: 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 80; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ③ 태블릿 */
@media (max-width: 1100px) {
  :root { --fs-h1: 52px; --fs-h2: 34px; --sec-y: 72px; --pad-x: 28px; }
  .hero .in { gap: 44px; }
  .hero_pic .mascot { width: 150px; height: 150px; left: -24px; bottom: -36px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .contact_btns { grid-template-columns: 1fr 1fr; }
  .cbtn_y { grid-column: 1 / -1; }
  .gnb { gap: 24px; }
}
@media (max-width: 900px) {
  .hero .in { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 96px; }
  .hero_pic .mascot { left: 20px; }
  .promise, .area { grid-template-columns: 1fr; gap: 40px; }
  .ask .in { grid-template-columns: 1fr; gap: 26px; }
  .fab_btn { width: 72px; height: 72px; font-size: 12px; }
  .fab_btn svg { font-size: 24px; }
  .fab_top { width: 50px; height: 50px; margin-right: 11px; }
  .gnb { display: none; }
  .hd_tel { margin-left: auto; }
}

/* ④ 모바일 */
@media (max-width: 767px) {
  :root { --fs-h1: 40px; --fs-h2: 27px; --fs-h3: 18px; --fs-body: 16px; --fs-small: 14px; --sec-y: 48px; --head-gap: 22px; --pad-x: 20px; --radius: 12px; }
  html { scroll-padding-top: 64px; }
  body { padding-bottom: 64px; }
  .t_num { display: none; }
  .t_short { display: inline; }
  .hd .in { height: 56px; gap: 12px; }
  .logo { font-size: 19px; padding: 6px 11px 7px; border-radius: 8px; }
  .hd_tel { height: 38px; padding: 0 14px; font-size: 14px; }

  .hero .in { gap: 36px; padding-top: 40px; padding-bottom: 72px; }
  .hero_kicker { font-size: 14px; margin-bottom: 18px; }
  .hero_lead { margin-top: 18px; font-size: 16px; }
  .hero_cta { flex-direction: column; margin-top: 26px; gap: 10px; }
  .btn { height: 54px; font-size: 17px; width: 100%; }
  .hero_area { margin-top: 18px; font-size: 13px; }
  .hero_pic .photo { border-radius: 14px; }
  .hero_pic .mascot { width: 104px; height: 104px; left: auto; right: 14px; bottom: -40px; border-width: 4px; }

  /* 품목: 아이콘 왼쪽 목록형 */

  .promise_say h2, .contact h2 { font-size: 30px; }
  .promise_say p { font-size: 16px; margin-top: 14px; }
  .promise_list li { padding: 16px 18px; gap: 14px; }
  .promise_list p { font-size: 15px; }

  /* 사례: 탭은 옆으로 넘기고, 카드는 한 줄에 하나 */
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad-x) * -1) 22px; padding: 0 var(--pad-x); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { height: 38px; padding: 0 15px; font-size: 14px; flex: none; }
  .cases { grid-template-columns: 1fr; gap: 30px; }
  .cases strong { font-size: 17px; margin-top: 8px; }
  .c_tags { margin-top: 12px; }
  .more { margin-top: 36px; }

  /* 진행 과정: 세로 타임라인 */
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: flex; gap: 16px; background: none; border: 0; border-radius: 0; padding: 0 0 26px; position: relative; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li:not(:last-child)::before { content: ''; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
  .steps b { width: 34px; height: 34px; font-size: 15px; margin: 0; flex: none; position: relative; }
  .steps h3 { padding-top: 4px; }
  .steps p { margin-top: 4px; }

  .chips { gap: 8px; }
  .chips li { font-size: 17px; padding: 10px 18px; }

  .contact_btns { grid-template-columns: 1fr; margin-top: 28px; gap: 10px; }
  .cbtn { padding: 18px 20px; gap: 14px; }
  .cbtn svg { font-size: 26px; }
  .cbtn b, .cbtn_y b { font-size: 21px; }
  .cbtn small { font-size: 13px; }

  .ask { padding: 40px 0; }
  .ask h2 { font-size: 24px; }
  .ask_btns { grid-template-columns: 1fr; gap: 10px; }
  .abtn { padding: 14px 16px; gap: 14px; }
  .abtn i { width: 46px; height: 46px; font-size: 24px; }
  .abtn b { font-size: 19px; }
  /* 모바일은 하단 띠가 상담 버튼 역할을 하므로 떠 있는 버튼은 숨긴다 */
  .fab { display: none; }

  .ft { padding: 36px 0 40px; }

  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: 64px; padding-bottom: env(safe-area-inset-bottom); box-sizing: content-box; background: var(--ink); }
  .mbar a, .mbar button { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px; color: #fff; white-space: nowrap; }
  .mbar a { background: var(--yellow); color: var(--ink); }
  .mbar svg { font-size: 20px; }
  .mbar button svg { color: var(--kakao); }
  .toast { bottom: 80px; }
}
/* ⑤ 짧은 구성: 품목 타일, 사례 줄 수 제한, 문의 안 지역 */
.ask { padding: 36px 0; }
.items { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.items li { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 12px 20px; text-align: center; }
.items i { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 32px; }
.items h3 { font-size: 18px; white-space: nowrap; }
.items p { margin-top: 5px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.cases { grid-template-columns: repeat(4, 1fr); gap: 30px 18px; }
.cases strong { font-size: 16px; margin-top: 8px; }
.c_tags { margin-top: 12px; }
.cases:not(.all) > li:nth-child(n+9) { display: none; }
.more { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn_fill { background: var(--ink); color: #fff; }
.btn_fill:hover { background: var(--blue); }
.contact .chips { margin-top: 26px; gap: 8px; }
.contact .chips li { font-size: 16px; font-weight: 700; padding: 7px 16px; border: 1px solid rgba(255,255,255,.45); color: #fff; }
.contact .chips li.etc { border-style: dashed; color: #c9d7ee; font-weight: 500; }
.contact_btns { margin-top: 30px; }
@media (max-width: 1100px) {
  .items { grid-template-columns: repeat(3, 1fr); }
  .cases { grid-template-columns: repeat(3, 1fr); }
  .cases:not(.all) > li:nth-child(n+7) { display: none; }
}
@media (max-width: 767px) {
  .ask { padding: 28px 0; }
  .ask p { font-size: 15px; }
  .items { gap: 8px; }
  .items li { padding: 16px 4px 14px; }
  .items i { width: 46px; height: 46px; font-size: 25px; margin-bottom: 10px; }
  .items h3 { font-size: 14px; letter-spacing: -0.04em; }
  .items p { display: none; }
  .cases { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .cases:not(.all) > li:nth-child(n+5) { display: none; }
  .cases strong { font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cases time { font-size: 12px; }
  .c_tags { margin-top: 9px; gap: 4px; }
  .c_tags em { font-size: 11px; padding: 1px 6px; }
  .c_tags em:nth-child(n+3) { display: none; }
  .more { margin-top: 26px; flex-direction: column; }
  .contact .chips li { font-size: 14px; padding: 5px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.sec_tint .items li { background: #fff; }

/* ⑥ 가격 타일, 사례 카드(정사각 사진 + 사진 위 라벨), 후기 */
.items { grid-template-columns: repeat(4, 1fr); }
.items li { display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 18px; }
.items i { width: 52px; height: 52px; font-size: 28px; margin: 0; flex: none; }
.items h3 { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.items p { margin-top: 2px; font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; }
.price_note { margin-top: 18px; font-size: 14px; color: var(--ink-3); max-width: 60em; }
.coupon { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--ink); background: var(--yellow); padding: 6px 12px; border-radius: 6px; }

.cases .thumb { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; }
.cases .thumb::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(21,32,51,.08); border-radius: inherit; pointer-events: none; }
.cases .c_tags { position: absolute; left: 10px; bottom: 10px; right: 10px; margin: 0; gap: 4px; }
.cases .c_tags em { background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.cases .c_tags em:nth-child(n+3) { display: none; }
.cases strong { font-size: 15px; font-weight: 600; margin-top: 10px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cases time { font-size: 13px; margin-top: 4px; }

.hero_proof { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 16px; color: #dbe6f6; }
.hero_proof svg { color: var(--yellow); font-size: 20px; }
.hero_proof b { color: #fff; font-weight: 800; }
.hero_proof span::before { content: '·'; margin-right: 8px; }
.hero_cta { margin-top: 26px; }

.rv_sec { padding-top: 0; }
.rv_hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.rv_score { display: flex; align-items: center; gap: 8px; margin: 0 !important; color: var(--ink-2); }
.rv_score svg { color: #f5b301; font-size: 26px; }
.rv_score b { font-size: 30px; font-weight: 900; color: var(--ink); line-height: 1; }
.reviews { display: grid; grid-template-columns: 1.3fr 1.1fr .9fr; gap: 16px; }
.reviews li { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; background: var(--tint); }
.stars { display: flex; gap: 2px; color: #f5b301; font-size: 16px; }
.reviews blockquote { margin-top: 12px; font-size: 17px; line-height: 1.65; color: var(--ink); flex: 1; }
.who { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 1100px) {
  .items { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
  .reviews li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .items { gap: 8px; }
  .items li { padding: 12px 10px; gap: 10px; }
  .items i { width: 38px; height: 38px; font-size: 21px; }
  .items h3 { font-size: 12px; letter-spacing: -0.04em; }
  .items p { display: block; font-size: 15px; margin-top: 0; }
  .price_note { font-size: 13px; margin-top: 14px; }
  .coupon { font-size: 13px; }
  .cases .c_tags { left: 7px; bottom: 7px; }
  .cases .c_tags em { font-size: 11px; padding: 2px 6px; }
  .cases .c_tags em:nth-child(n+2) { display: none; }
  .cases strong { font-size: 14px; margin-top: 8px; }
  .hero_proof { font-size: 14px; margin-top: 16px; }
  .hero_cta { margin-top: 20px; }
  .rv_score b { font-size: 24px; }
  .rv_score { font-size: 14px; }
  .reviews { grid-template-columns: 1fr; gap: 10px; }
  .reviews li { padding: 18px 18px 16px; }
  .reviews blockquote { font-size: 15px; }
}

/* ⑦ 첫 화면 현장 슬라이드, 후기 보기 링크 */
.slides { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--blue-deep); }
.slides figure { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.slides figure.on { opacity: 1; }
.slides img { width: 100%; height: 100%; object-fit: cover; }
.slides figcaption { position: absolute; left: 16px; top: 16px; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; padding: 7px 14px 7px 7px; border-radius: 8px; white-space: nowrap; }
.slides figcaption b { background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 13px; padding: 3px 8px; border-radius: 5px; }
.dots { position: absolute; right: 18px; top: 26px; display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); transition: width .3s, background-color .3s; }
.dots i.on { width: 22px; border-radius: 4px; background: var(--yellow); }
.hero_proof { flex-wrap: wrap; width: fit-content; }
.stars5 { display: inline-flex; gap: 1px; }
.hero_proof .stars5 svg { font-size: 17px; }
.hero_proof .hp_sub::before { content: '·'; margin-right: 8px; }
.hero_proof span::before { content: none; }
.hero_proof .hp_sub::before { content: '·'; }
.hero_proof u { margin-left: 4px; color: var(--yellow); font-weight: 700; text-underline-offset: 4px; }
.hero_proof:hover u { color: #fff; }
@media (max-width: 767px) {
  .slides { border-radius: 14px; }
  .slides figcaption { left: 10px; top: 10px; font-size: 13px; padding: 5px 10px 5px 5px; gap: 7px; }
  .slides figcaption b { font-size: 12px; padding: 2px 6px; }
  .dots { right: auto; top: auto; left: 14px; bottom: 12px; }
  .hero_proof .stars5 svg { font-size: 15px; }
  /* 가격 타일: 좁은 화면에서는 아이콘을 빼고 이름·가격만 */
  .items i { display: none; }
  .items li { padding: 12px 14px; }
  .items li > div { min-width: 0; }
  .items h3 { font-size: 13px; }
}

/* ⑧ 후기: 옆으로 계속 흐르는 띠 */
.rv_badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; background: var(--ink); color: #fff !important; font-size: 15px; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.rv_badge .stars5 svg { color: var(--yellow); font-size: 15px; }
.rv_wrap { overflow: hidden; }
.rv_track { display: flex; gap: 16px; width: max-content; padding: 0 16px; animation: rv_flow 60s linear infinite; }
.rv_wrap:hover .rv_track, .rv_wrap:focus-within .rv_track { animation-play-state: paused; }
.rv_track li { flex: none; width: 380px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; background: var(--tint); }
.rv_track blockquote { margin-top: 12px; font-size: 17px; line-height: 1.65; flex: 1; }
@keyframes rv_flow { to { transform: translateX(calc(-50% - 8px)); } }
@media (max-width: 767px) {
  .rv_badge { font-size: 13px; padding: 6px 12px; }
  .rv_track { gap: 10px; animation-duration: 48s; }
  .rv_track li { width: 280px; padding: 18px 18px 16px; }
  .rv_track blockquote { font-size: 15px; }
  @keyframes rv_flow { to { transform: translateX(calc(-50% - 5px)); } }
}
@media (prefers-reduced-motion: reduce) {
  .rv_track { animation: none; }
  .rv_wrap { overflow-x: auto; }
}

/* ⑨ 시공 사례 상세페이지 */
.post { padding: 40px 0 var(--sec-y); }
.post_in { max-width: 860px; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.crumb a:hover { color: var(--blue); text-decoration: underline; }
.crumb i { font-style: normal; }
.crumb span { color: var(--ink); font-weight: 600; }
.post h1 { margin-top: 18px; font-size: 38px; font-weight: 800; line-height: 1.3; letter-spacing: -0.03em; }
.post_meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.post_meta em { font-style: normal; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 2px 9px; border-radius: 5px; font-size: 13px; }
.lab { position: absolute; left: 12px; top: 12px; font-size: 14px; font-weight: 800; padding: 5px 11px; border-radius: 6px; color: #fff; background: var(--ink); letter-spacing: -0.01em; }
.lab_before { background: #5b6577; }
.lab_demo { background: #8a5a2b; }
.lab_done { background: var(--blue); }
.lab_mock { background: var(--yellow); color: var(--ink); }

.cover { position: relative; margin-top: 28px; border-radius: 16px; overflow: hidden; background: var(--ink); }
.cover figure { position: relative; }
.cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cover_band { background: var(--ink); color: #fff; padding: 20px 26px 22px; }
.cover_band small { display: block; font-size: 15px; font-weight: 700; color: var(--yellow); }
.cover_band strong { display: block; margin-top: 2px; font-size: 40px; font-weight: 900; line-height: 1.2; letter-spacing: -0.03em; }
.cover.pair img { aspect-ratio: 16 / 9; }
.cover.pair .cover_band { text-align: center; padding: 16px 20px 18px; }
.cover .lab { font-size: 16px; padding: 6px 14px; }

.post_lead { margin-top: 28px; font-size: 20px; line-height: 1.75; color: var(--ink); }
.sum { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sum dl { padding: 22px 24px; background: var(--tint); display: grid; gap: 12px; align-content: start; }
.sum dt { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.sum dd { font-size: 16px; font-weight: 600; line-height: 1.5; }
.pts { padding: 22px 24px; }
.pts h2 { font-size: 15px; font-weight: 800; color: var(--blue); }
.pts ol { margin-top: 10px; display: grid; gap: 9px; counter-reset: pt; }
.pts li { position: relative; padding-left: 30px; font-size: 16px; font-weight: 600; line-height: 1.5; counter-increment: pt; }
.pts li::before { content: counter(pt); position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

.psec { margin-top: 64px; }
.psec h2 { display: flex; align-items: flex-start; gap: 12px; font-size: 27px; font-weight: 800; line-height: 1.35; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.psec h2 i { flex: none; font-style: normal; width: 34px; height: 34px; margin-top: 1px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.psec > p { margin-top: 18px; font-size: 18px; line-height: 1.85; color: #2a3446; }
.psec > p + p { margin-top: 12px; }
.figs { display: grid; gap: 14px; margin-top: 24px; }
.figs + .figs { margin-top: 14px; }
.figs.two { grid-template-columns: 1fr 1fr; align-items: start; }
.figs.one .pt { max-width: 480px; margin: 0 auto; width: 100%; }
.figs .ph { position: relative; border-radius: 12px; overflow: hidden; background: var(--tint); }
.figs img { width: 100%; height: auto; }
.figs figcaption { margin-top: 9px; padding-left: 12px; border-left: 3px solid var(--yellow); font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.post_cta { display: grid; grid-template-columns: auto 1fr; gap: 18px 22px; align-items: center; margin-top: 72px; padding: 30px; border-radius: 18px; background: var(--blue); color: #fff; }
.post_cta > img { width: 92px; height: 92px; border-radius: 50%; border: 4px solid var(--yellow); background: #fff; }
.pc_txt h2 { font-size: 28px; font-weight: 800; }
.pc_txt p { margin-top: 6px; color: #dbe6f6; font-size: 17px; }
.pc_btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.pc_tel, .pc_talk { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 14px; text-align: left; border: 2px solid transparent; transition: background-color .15s, border-color .15s; }
.pc_tel { background: var(--yellow); color: var(--ink); }
.pc_tel:hover { background: #ffe36a; }
.pc_talk { border-color: rgba(255,255,255,.5); color: #fff; }
.pc_talk:hover { border-color: #fff; }
.pc_btns svg { font-size: 32px; }
.pc_btns small { display: block; font-size: 14px; font-weight: 600; opacity: .8; }
.pc_btns b { display: block; font-size: 27px; font-weight: 900; line-height: 1.25; letter-spacing: -0.01em; white-space: nowrap; }
.pc_talk b { font-size: 23px; }
.src { margin-top: 22px; font-size: 14px; color: var(--ink-3); }
.src a { text-decoration: underline; text-underline-offset: 3px; }
.src a:hover { color: var(--blue); }
.more_cases { margin-top: 72px; }
.more_cases h2 { font-size: 24px; margin-bottom: 20px; }
.more_cases .cases { grid-template-columns: repeat(3, 1fr); }
.list_cases { margin-top: 32px; }
@media (max-width: 767px) {
  .post { padding-top: 22px; }
  .crumb { font-size: 13px; gap: 6px; }
  .post h1 { font-size: 25px; margin-top: 12px; }
  .cover { margin: 20px calc(var(--pad-x) * -1) 0; border-radius: 0; }
  .cover img { aspect-ratio: 4 / 3; }
  .cover.pair img { aspect-ratio: 16 / 10; }
  .cover_band { padding: 14px var(--pad-x) 16px; }
  .cover_band small { font-size: 13px; }
  .cover_band strong { font-size: 27px; }
  .cover .lab, .lab { font-size: 12px; padding: 4px 9px; left: 9px; top: 9px; }
  .post_lead { font-size: 17px; margin-top: 20px; }
  .sum { grid-template-columns: 1fr; margin-top: 20px; }
  .sum dl, .pts { padding: 18px; }
  .sum dd, .pts li { font-size: 15px; }
  .psec { margin-top: 44px; }
  .psec h2 { font-size: 21px; gap: 10px; padding-bottom: 11px; }
  .psec h2 i { width: 28px; height: 28px; font-size: 14px; border-radius: 7px; }
  .psec > p { font-size: 16px; line-height: 1.8; margin-top: 14px; }
  .figs { margin-top: 18px; gap: 10px; }
  .figs.two { grid-template-columns: 1fr; }
  .figs.two:has(.pt) { grid-template-columns: 1fr 1fr; }
  .figs.one .pt { max-width: 78%; }
  .figs figcaption { font-size: 14px; margin-top: 7px; padding-left: 10px; }
  .post_cta { grid-template-columns: auto 1fr; margin-top: 48px; padding: 22px 18px; gap: 14px; border-radius: 14px; }
  .post_cta > img { width: 62px; height: 62px; border-width: 3px; }
  .pc_txt h2 { font-size: 20px; }
  .pc_txt p { font-size: 14px; }
  .pc_btns { grid-template-columns: 1fr; gap: 10px; }
  .pc_tel, .pc_talk { padding: 15px 18px; gap: 12px; }
  .pc_btns svg { font-size: 26px; }
  .pc_btns b, .pc_talk b { font-size: 22px; }
  .pc_btns small { font-size: 13px; }
  .more_cases { margin-top: 48px; }
  .more_cases .cases { grid-template-columns: repeat(2, 1fr); }
  .more_cases .cases li:nth-child(3) { display: none; }
}

/* ⑩ 상세페이지 소제목·요약: 장식 없이 글자 중심 */
.psec h2 { display: block; font-size: 26px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pts h2 { color: var(--ink-3); font-size: 13px; font-weight: 700; }
.pts ul { margin-top: 10px; display: grid; gap: 8px; }
.pts li { padding-left: 14px; font-weight: 500; }
.pts li::before { content: ''; position: absolute; left: 0; top: .72em; width: 5px; height: 1px; background: var(--ink-2); border-radius: 0; }
@media (max-width: 767px) { .psec h2 { font-size: 20px; padding-bottom: 10px; } }

/* ⑪ 요약: 상자 없이 선과 글자만 */
.sum { border: 0; border-radius: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); gap: 40px; padding: 22px 0; overflow: visible; }
.sum dl { background: none; padding: 0; gap: 10px; }
.sum dl > div { display: grid; grid-template-columns: 4.5em 1fr; gap: 8px; align-items: baseline; }
.sum dt { font-size: 14px; font-weight: 500; }
.sum dd { font-weight: 500; }
.pts { padding: 0; }
.pts h2 { font-size: 14px; font-weight: 500; }
@media (max-width: 767px) {
  .sum { gap: 18px; padding: 16px 0; }
  .sum dl, .pts { padding: 0; }
}

/* ⑫ 사진 안 자막, 위치 표시, 전후 비교 */
.figs .ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 12px 16px 13px; border: 0; background: rgba(14,20,32,.82); color: #fff; font-size: 17px; font-weight: 600; line-height: 1.45; }
.pin { position: absolute; display: flex; align-items: center; gap: 7px; transform: translate(-7px, -50%); pointer-events: none; }
.pin i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); }
.pin b { background: var(--yellow); color: var(--ink); font-size: 15px; font-weight: 800; line-height: 1.25; padding: 4px 9px; border-radius: 5px; white-space: nowrap; border: 2px solid var(--ink); }
.pin_l { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%); }
.ab { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 22px; }
.ab + .ab { margin-top: 14px; }
.ab figure { position: relative; overflow: hidden; background: var(--tint); }
.ab_a { border-radius: 12px 0 0 12px; }
.ab_b { border-radius: 0 12px 12px 0; }
.ab img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ab figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 11px 14px 12px; background: rgba(14,20,32,.82); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.4; }
.ab figcaption b { display: block; font-size: 20px; font-weight: 900; letter-spacing: -0.02em; }
.ab_a figcaption b { color: #c9d2e0; }
.ab_b figcaption { background: rgba(28,63,116,.92); }
.ab_b figcaption b { color: var(--yellow); }
@media (max-width: 767px) {
  .figs .ph figcaption { font-size: 14px; padding: 9px 12px 10px; }
  .pin { gap: 5px; transform: translate(-6px, -50%); }
  .pin i { width: 12px; height: 12px; border-width: 2px; }
  .pin b { font-size: 12px; padding: 2px 6px; border-width: 1.500px; }
  .pin_l { transform: translate(calc(-100% + 6px), -50%); }
  .ab { grid-template-columns: 1fr; gap: 4px; }
  .ab_a { border-radius: 10px 10px 0 0; }
  .ab_b { border-radius: 0 0 10px 10px; }
  .ab figcaption { font-size: 13px; padding: 8px 12px 9px; }
  .ab figcaption b { font-size: 17px; }
  .figs.two:has(.pt) figcaption { font-size: 12px; padding: 7px 8px; }
}

/* ⑬ 상세페이지 글자 위계·간격 (PC / 모바일 따로)
   PC   : 제목 40 → 소제목 28 → 머리글 20 → 본문 18 → 자막 17 → 보조 14
   모바일: 제목 26 → 소제목 21 → 머리글 17 → 본문 16 → 자막 14 → 보조 13 */
.post { padding-top: 44px; }
.post h1 { font-size: 40px; line-height: 1.28; margin-top: 16px; }
.post_meta { margin-top: 16px; }
.cover { margin-top: 32px; }
.post_lead { margin-top: 36px; font-size: 20px; line-height: 1.75; }
.sum { margin-top: 32px; }
.sum dd, .pts li { font-size: 17px; line-height: 1.55; }
.psec { margin-top: 76px; }
.psec h2 { font-size: 28px; line-height: 1.35; padding-bottom: 14px; }
.psec > p { margin-top: 20px; font-size: 18px; line-height: 1.85; max-width: 44em; }
.psec > p + p { margin-top: 14px; }
.figs { margin-top: 30px; gap: 16px; }
.figs + .figs { margin-top: 16px; }
.ab { margin-top: 26px; }
.ab + .ab { margin-top: 16px; }
.post_cta { margin-top: 88px; }
.src { margin-top: 24px; }
.more_cases { margin-top: 80px; }
.more_cases h2 { font-size: 24px; margin-bottom: 22px; }
@media (max-width: 1100px) {
  .post h1 { font-size: 34px; }
  .psec { margin-top: 64px; }
  .psec h2 { font-size: 25px; }
}
@media (max-width: 767px) {
  .post { padding-top: 20px; }
  .crumb { font-size: 13px; }
  .post h1 { font-size: 26px; line-height: 1.32; margin-top: 12px; }
  .post_meta { margin-top: 12px; font-size: 13px; }
  .cover { margin-top: 20px; }
  .post_lead { margin-top: 24px; font-size: 17px; line-height: 1.7; }
  .sum { margin-top: 22px; }
  .sum dd, .pts li { font-size: 15px; line-height: 1.5; }
  .sum dt, .pts h2 { font-size: 13px; }
  .psec { margin-top: 52px; }
  .psec h2 { font-size: 21px; line-height: 1.38; padding-bottom: 11px; }
  .psec > p { margin-top: 16px; font-size: 16px; line-height: 1.8; }
  .psec > p + p { margin-top: 10px; }
  .figs { margin-top: 20px; gap: 10px; }
  .figs + .figs { margin-top: 10px; }
  .ab { margin-top: 18px; }
  .ab + .ab { margin-top: 12px; }
  .post_cta { margin-top: 52px; }
  .src { margin-top: 18px; font-size: 13px; }
  .more_cases { margin-top: 52px; }
  .more_cases h2 { font-size: 20px; margin-bottom: 16px; }
}

/* ⑭ 나란히 놓인 두 사진은 같은 비율로 잘라 높이를 맞춘다 */
.figs.two .ph { aspect-ratio: 4 / 3; }
.figs.two.pt2 .ph { aspect-ratio: 3 / 4; }
.figs.two .ph img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .figs.two.ls2 .ph { aspect-ratio: auto; }
  .figs.two.ls2 .ph img { height: auto; }
}

/* ⑮ 모바일: 위치 표시가 있는 세로 사진은 둘씩 놓지 않고 한 장씩 크게 보여 준다 (좁은 칸에서는 표시가 겹친다) */
@media (max-width: 767px) {
  .figs.two.pt2:has(.pin) { grid-template-columns: 1fr; }
  .figs.two.pt2:has(.pin) .ph { aspect-ratio: auto; }
  .figs.two.pt2:has(.pin) .ph img { height: auto; }
  .figs.two.pt2:has(.pin) figcaption { font-size: 14px; padding: 9px 12px 10px; }
}

/* ⑯ 사진 크게 보기 */
.zoom { cursor: zoom-in; }
html.lb_on { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8,12,20,.96); display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; grid-template-rows: 64px minmax(0, 1fr); }
.lb[hidden] { display: none; }
.lb_bar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 22px; border-bottom: 1px solid rgba(255,255,255,.14); }
.lb_count { color: #c9d2e0; font-size: 15px; font-weight: 600; }
.lb_close { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 18px; border-radius: 10px; background: var(--yellow); color: var(--ink); font-size: 17px; font-weight: 800; }
.lb_close:hover { background: #fff; }
.lb_close svg { font-size: 18px; }
.lb_fig { grid-column: 2; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px 0 24px; cursor: zoom-out; }
.lb_fig img { max-width: 100%; max-height: calc(100% - 60px); min-height: 0; object-fit: contain; border-radius: 6px; cursor: default; }
.lb_fig figcaption { color: #fff; font-size: 17px; font-weight: 600; line-height: 1.5; text-align: center; max-width: 44em; cursor: default; }
.lb_nav { align-self: center; justify-self: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); color: #fff; display: flex; align-items: center; justify-content: center; }
.lb_nav:hover { background: #fff; color: var(--ink); border-color: #fff; }
.lb_nav svg { font-size: 24px; }
.lb_prev { grid-column: 1; grid-row: 2; }
.lb_next { grid-column: 3; grid-row: 2; }
@media (max-width: 767px) {
  .lb { grid-template-columns: 1fr 1fr; grid-template-rows: 58px minmax(0, 1fr) 64px; }
  .lb_bar { padding: 0 10px 0 16px; }
  .lb_close { height: 42px; font-size: 16px; }
  .lb_fig { grid-column: 1 / -1; grid-row: 2; padding: 12px 10px; gap: 10px; }
  .lb_fig figcaption { font-size: 14px; padding: 0 6px; }
  .lb_nav { grid-row: 3; width: 46px; height: 46px; }
  .lb_prev { grid-column: 1; justify-self: end; margin-right: 10px; }
  .lb_next { grid-column: 2; justify-self: start; margin-left: 10px; }
}

/* ⑰ 자주 묻는 질문 */
.faq_in { max-width: 860px; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-size: 19px; font-weight: 700; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font-size: 26px; font-weight: 400; color: var(--ink-3); }
.faq details[open] summary::after { content: '−'; }
.faq p { padding: 0 0 22px; font-size: 17px; line-height: 1.8; color: var(--ink-2); max-width: 44em; }
@media (max-width: 767px) {
  .faq summary { font-size: 16px; padding: 16px 34px 16px 0; }
  .faq summary::after { top: 12px; font-size: 22px; }
  .faq p { font-size: 15px; padding-bottom: 18px; }
}

/* ⑱ 동네별 목록 링크 */
.hubs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.hubs b { margin-right: 6px; color: var(--ink-2); font-weight: 600; }
.hubs a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.hubs a:hover { border-color: var(--ink); }
.hubs i { font-style: normal; font-size: 13px; color: var(--ink-3); }
.hubs + .more { margin-top: 24px; }
@media (max-width: 767px) { .hubs { margin-top: 26px; padding-top: 18px; font-size: 14px; } .hubs a { height: 32px; padding: 0 11px; } }

/* ⑲ 보강 영역: 용어, 더 알아보기, 설명 붙은 사례 목록, 안내 글 가격 */
.terms dl { margin-top: 18px; display: grid; gap: 0; }
.terms dl > div { display: grid; grid-template-columns: 7em 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.terms dt { font-weight: 700; font-size: 17px; }
.terms dd { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.terms_more { margin-top: 14px; font-size: 15px; }
.terms_more a, .glist a b { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.terms_more a:hover, .glist a:hover b { color: var(--blue); text-decoration-color: var(--blue); }
.glist ul { margin-top: 6px; }
.glist li { border-bottom: 1px solid var(--line); }
.glist a { display: block; padding: 16px 0; }
.glist b { display: block; font-size: 18px; font-weight: 700; line-height: 1.45; }
.glist span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.rows { display: grid; gap: 0; }
.rows li { border-bottom: 1px solid var(--line); }
.rows li:first-child { border-top: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; padding: 14px 0; }
.rows img { width: 112px; height: 84px; object-fit: cover; border-radius: 8px; }
.rows b { display: block; font-size: 17px; font-weight: 700; line-height: 1.45; }
.rows i { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-style: normal; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.rows a:hover b { color: var(--blue); }
.gprice { margin-top: 28px; padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.gprice h2 { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.gprice dl { margin-top: 10px; display: grid; gap: 12px; }
.gprice dl > div { display: grid; grid-template-columns: 10em 1fr; gap: 12px; align-items: baseline; }
.gprice dt { font-size: 16px; font-weight: 600; }
.gprice dd b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.gprice dd span { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.gprice > p { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.glinks { margin-top: 26px; border-top: 0; padding-top: 0; }
@media (max-width: 767px) {
  .terms dl > div { grid-template-columns: 1fr; gap: 3px; padding: 11px 0; }
  .terms dt { font-size: 15px; }
  .terms dd { font-size: 14px; }
  .glist b { font-size: 16px; }
  .glist span { font-size: 14px; }
  .rows a { grid-template-columns: 84px 1fr; gap: 12px; padding: 12px 0; }
  .rows img { width: 84px; height: 64px; }
  .rows b { font-size: 15px; }
  .rows i { font-size: 13px; }
  .gprice dl > div { grid-template-columns: 1fr; gap: 2px; }
  .gprice dd b { font-size: 19px; }
}

/* ⑳ 크게 보기 창: 한 장 / 전후 두 장 */
.lb_fig { flex-direction: row; gap: 10px; align-items: center; justify-content: center; }
.lb_fig figure { min-width: 0; min-height: 0; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 0 1 auto; cursor: zoom-out; }
.lb_fig figure img { max-width: 100%; max-height: calc(100vh - 64px - 130px); width: auto; height: auto; object-fit: contain; border-radius: 6px; cursor: default; }
.lb_fig figcaption { color: #fff; font-size: 16px; font-weight: 500; line-height: 1.5; text-align: center; cursor: default; }
.lb_fig figcaption b { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 5px; background: #5b6577; color: #fff; font-size: 14px; font-weight: 800; }
.lb_pair figure { flex: 1 1 0; }
.lb_pair figure img { width: 100%; }
.lb_pair figure:last-child figcaption b { background: var(--yellow); color: var(--ink); }
@media (max-width: 767px) {
  .lb_fig { flex-direction: column; gap: 8px; }
  .lb_fig figure { gap: 8px; }
  .lb_fig figure img { max-height: calc(100vh - 58px - 64px - 90px); }
  .lb_pair figure { flex: 0 1 auto; }
  .lb_pair figure img { width: auto; max-height: calc((100vh - 58px - 64px - 150px) / 2); }
  .lb_fig figcaption { font-size: 13px; padding: 0 6px; }
  .lb_fig figcaption b { font-size: 12px; }
}

/* ㉑ 글 안의 질문과 답 */
.qa .faq { margin-top: 0; border-top: 0; }
.qa .faq summary { font-size: 18px; padding: 17px 40px 17px 0; }
.qa .faq p { font-size: 17px; }
@media (max-width: 767px) { .qa .faq summary { font-size: 16px; padding: 14px 34px 14px 0; } .qa .faq p { font-size: 15px; } }

/* ㉒ 품목 타일 10개: PC 5칸, 태블릿 3칸, 모바일 2칸 */
.items { grid-template-columns: repeat(5, 1fr); gap: 10px; }
.items li { padding: 16px 14px; gap: 11px; }
.items i { width: 42px; height: 42px; font-size: 23px; }
.items h3 { font-size: 14px; white-space: normal; line-height: 1.3; letter-spacing: -0.03em; }
.items p { font-size: 17px; }
@media (max-width: 1100px) { .items { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .items { grid-template-columns: repeat(2, 1fr); gap: 8px; } .items h3 { font-size: 13px; } .items p { font-size: 15px; } }

/* ㉓ 상세·안내 글: 글은 860 가운데, 사진(표지·본문·전후)은 사이트 폭까지 */
.post_in { max-width: 1180px; }
.post_in > *:not(.cover):not(.psec) { max-width: 860px; margin-left: auto; margin-right: auto; }
.post_in > .psec > *:not(.figs):not(.ab) { max-width: 860px; margin-left: auto; margin-right: auto; }
.post_in > .psec > p { margin-left: auto; margin-right: auto; }
.cover img { max-height: 640px; }
.cover.pair img { max-height: 560px; }
.figs.one .pt { max-width: 560px; }
.figs.two.pt2 { max-width: 860px; margin-left: auto; margin-right: auto; }
@media (max-width: 767px) {
  .post_in > *:not(.cover):not(.psec), .post_in > .psec > *:not(.figs):not(.ab) { max-width: none; }
  .figs.one .pt { max-width: 78%; }
}
