/* 다인 홈케어 설비: 작업 일지. 미색 종이 + 줄·표 칸 + 볼펜 파랑 체크, 빨강(작업 차 색)은 전화 버튼에만 */
/* 글꼴: 이 사이트에 쓰는 글자만 담은 파일 (fonts 사이는 자동으로 채움) */
/* fonts:start */
@font-face { font-family: Pretendard; font-weight: 400; font-display: swap; src: url("../fonts/pretendard-400.woff2?v=f9a5e2cb") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 600; font-display: swap; src: url("../fonts/pretendard-600.woff2?v=fa3056c8") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 700; font-display: swap; src: url("../fonts/pretendard-700.woff2?v=d69e126b") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 800; font-display: swap; src: url("../fonts/pretendard-800.woff2?v=bbfc1133") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 900; font-display: swap; src: url("../fonts/pretendard-900.woff2?v=e161a533") format("woff2"); }
/* fonts:end */
:root {
  --paper: #fbfaf5;
  --rule: #e4e1d6;
  --ink: #1f2a33;
  --sub: #5f6670;
  --pen: #2b4fb3;
  --red: #d02a21;
  --gutter: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--paper); color: var(--ink); line-height: 1.6;
  word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
h1, h2 { text-wrap: balance; letter-spacing: -.03em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
br.pc { display: inline; }
br.mo { display: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; line-height: 1.25; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 2px solid var(--ink); }
h2 .no { font-size: 15px; font-weight: 800; color: var(--pen); font-variant-numeric: tabular-nums; }
.sec-lead { color: var(--sub); margin: -6px 0 20px; }
.note { margin-top: 12px; font-size: 14px; color: var(--sub); }

/* 시안 빈칸: 사장님께 받으면 채움 */

/* 클립으로 끼운 현장 사진 */
.clip { position: relative; background: #fff; padding: 10px 10px 0; box-shadow: 0 1px 2px rgba(31,42,51,.10), 0 10px 24px rgba(31,42,51,.10); }
.clip::before { content: ""; position: absolute; top: -14px; left: 50%; width: 22px; height: 46px; margin-left: -11px; border: 3px solid #8b9198; border-radius: 11px; z-index: 2; }
.clip img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.clip figcaption { font-size: 14px; font-weight: 700; color: var(--pen); padding: 10px 4px 12px; }

/* 머리 */
.top { position: sticky; top: 0; z-index: 10; background: rgba(251,250,245,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.name { font-size: 17px; font-weight: 800; }
.top-call { font-size: 14px; font-weight: 700; color: #fff; background: var(--red); border-radius: 999px; padding: 7px 16px; }
.top-call { opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.top-call.is-on { opacity: 1; visibility: visible; }

/* 첫 화면: 줄 그은 종이 */
.hero { padding: clamp(40px, 6vw, 80px) 0; background-image: repeating-linear-gradient(transparent 0 31px, var(--rule) 31px 32px); }
.hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 72px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 72px); line-height: 1.08; font-weight: 900; margin-bottom: 18px; }
.hero-jobs { list-style: none; margin: -4px 0 22px; padding: 0; font-size: clamp(19px, 2.2vw, 23px); font-weight: 800; line-height: 1.55; letter-spacing: -.02em; }
.hero-jobs i { font-style: normal; color: var(--sub); margin: 0 .4em; }
.slogan { font-size: clamp(21px, 2.5vw, 27px); font-weight: 800; line-height: 1.5; letter-spacing: -.02em; margin-bottom: 10px; }
.slogan em { font-style: normal; color: var(--ink); padding-bottom: 5px; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0% 3px no-repeat; animation: draw .6s ease-out .4s forwards; }
.slogan em + em, .slogan br + em { animation-delay: 1.1s; }
@keyframes draw { to { background-size: 100% 3px; } }
@media (prefers-reduced-motion: reduce) { .slogan em { animation: none; background-size: 100% 3px; } }
.lead { font-size: clamp(16px, 1.8vw, 18px); color: var(--sub); margin-bottom: 30px; }
.phone { display: flex; flex-direction: column; margin-bottom: 18px; }
.phone-label { font-size: 14px; font-weight: 700; color: var(--sub); }
.phone-num { white-space: nowrap; font-size: clamp(32px, 10vw, 56px); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 10px; font-size: 17px; font-weight: 800; }
.btn-main { background: var(--red); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.hero-photo { transform: rotate(2deg); }

/* 출장 지역·시간: 일지 머리 칸 */

/* 이럴 때 부르세요: 체크리스트 */
.sym { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.check { list-style: none; }
.check a { display: grid; grid-template-columns: 28px 1fr 80px; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.box { position: relative; width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 3px; background: #fff; }
.box::after { content: ""; position: absolute; left: 6px; top: -4px; width: 9px; height: 18px; border-right: 3.5px solid var(--pen); border-bottom: 3.5px solid var(--pen); transform: rotate(40deg); }
.sym-text b { display: block; font-size: 19px; line-height: 1.4; }
.job { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--pen); }
.job::after { content: " 보기 →"; color: var(--sub); font-weight: 600; }
.check img { width: 80px; height: 80px; object-fit: cover; border: 4px solid #fff; box-shadow: 0 1px 4px rgba(31,42,51,.18); }

/* 현장 기록: 일지 표 */
.work { padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.tabs { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: -1.5px; position: relative; z-index: 1; }
.tab { font: inherit; font-size: 15px; font-weight: 700; padding: 10px 18px; border: 1.5px solid var(--rule); border-bottom: 0; border-radius: 8px 8px 0 0; background: transparent; color: var(--sub); cursor: pointer; margin-right: 4px; }
.tab.is-on { background: #fff; border-color: var(--ink); color: var(--ink); border-bottom: 1.5px solid #fff; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid var(--ink); background: #fff; counter-reset: s; }
.steps[hidden] { display: none; }
.steps li { counter-increment: s; display: flex; flex-direction: column; }
.steps li + li { border-left: 1px solid var(--rule); }
.cell-head { display: flex; align-items: baseline; gap: 8px; font-size: 16px; font-weight: 800; padding: 10px 14px; border-bottom: 1px solid var(--rule); background: #f6f4ec; }
.cell-head em { font-style: normal; color: var(--pen); font-variant-numeric: tabular-nums; }
.cell-head em::before { content: counter(s) "."; }
.steps figure { position: relative; padding: 12px 12px 0; }
.steps img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.cell-note { padding: 10px 14px 14px; font-size: 14px; color: var(--sub); }
.steps .tag { position: absolute; top: 20px; right: 20px; font-style: normal; font-size: 13px; font-weight: 800; color: #fff; background: rgba(31,42,51,.82); border-radius: 4px; padding: 3px 9px; }
.steps .tag-after { background: var(--red); }

/* 자주 묻는 질문: 일지의 문·답 칸 */
.promise { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--rule); }
.promise-list { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: p; }
.promise-list li { counter-increment: p; display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.promise-list li::before { content: counter(p, decimal-leading-zero); grid-row: span 2; font-weight: 800; color: var(--sub); }
.promise-list b { font-size: 18px; font-weight: 700; }
.promise-list span { margin-top: 4px; color: var(--sub); }
.faq { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--rule); }
.qa { list-style: none; border: 1.5px solid var(--ink); background: #fff; }
.qa li + li { border-top: 1px solid var(--rule); }
.qa p { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: baseline; padding: 14px 18px; }
.qa em { font-style: normal; font-size: 14px; font-weight: 800; color: var(--pen); }
.q { font-size: 18px; font-weight: 800; background: #f6f4ec; border-bottom: 1px dashed var(--rule); }
.a { font-size: 16px; color: var(--sub); }

/* 비용 + 마지막 문의 */
.contact { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--rule); }
.contact-grid { display: grid; grid-template-columns: 1fr 320px; gap: 72px; align-items: center; }
.faq { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--rule); }
.faq-list { margin: 8px 0 0; }
.faq-list > div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.faq-list dt { font-size: 18px; font-weight: 700; }
.faq-list dt::before { content: "Q. "; color: var(--sub); }
.faq-list dd { margin: 6px 0 0; color: var(--sub); max-width: 46em; }
.price-sec { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--rule); }
.price-box { max-width: 720px; }
.price { margin-top: 8px; }
.price > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.price dt { font-weight: 600; }
.price dd { font-weight: 800; text-align: right; white-space: nowrap; }
.price dd small { display: block; font-size: 13px; font-weight: 400; color: var(--sub); margin-top: 2px; }
.call-card { margin-top: 28px; background: #fff; border: 1.5px solid var(--ink); padding: 24px 24px 20px; }
.call-title { font-size: 22px; font-weight: 800; line-height: 1.35; margin-bottom: 10px; }
.contact-photo { transform: rotate(-2deg); }

/* 바닥 */
.foot { border-top: 1px solid var(--rule); color: var(--sub); font-size: 14px; padding: 28px 0 40px; }
.foot b { color: var(--ink); }
.foot p + p { margin-top: 4px; }
.biz { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--rule); }

/* 휴대폰 아래 고정 전화·문자 */
.qr-dlg { margin: auto; width: 320px; max-width: calc(100% - 32px); padding: 32px 28px 26px; border: 0; border-radius: 16px; background: #fff; color: var(--ink); text-align: center; box-shadow: 0 30px 80px -20px rgba(31,42,51,.5); }
.qr-dlg::backdrop { background: rgba(31,42,51,.55); }
.qr-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: var(--sub); cursor: pointer; border-radius: 8px; }
.qr-close:hover { background: #fff; color: var(--ink); }
.qr-title { font-size: 19px; font-weight: 800; color: var(--pen); margin-bottom: 18px; }
.qr-box { width: 196px; height: 196px; margin: 0 auto; padding: 8px; background: #fff; border: 1px solid #e2e2e2; border-radius: 10px; display: grid; place-items: center; }
.qr-img { width: 180px; height: 180px; }
.qr-desc { margin-top: 16px; font-size: 14px; color: var(--sub); }
.qr-num { margin-top: 6px; font-size: 22px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }

.callbar { display: none; }

@media (max-width: 860px) {
  br.pc { display: none; }
  br.mo { display: inline; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-photo { max-width: 280px; width: 100%; margin: 44px auto 8px; }
  .check a { grid-template-columns: 26px 1fr 68px; gap: 14px; }
  .check img { width: 68px; height: 68px; }
  .sym-text b { font-size: 17px; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--ink); background: #fff; margin-bottom: 12px; }
  .tab { margin: 0; border: 0; border-radius: 0; padding: 12px 8px; font-size: 15px; text-align: center; color: var(--ink); background: #fff; }
  .tab:nth-child(even) { border-left: 1px solid var(--rule); }
  .tab:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .tab.is-on { background: var(--ink); color: #fff; border-bottom: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(odd) { border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .cell-head { padding: 8px 10px; font-size: 15px; }
  .steps figure { padding: 8px 8px 0; }
  .steps .tag { top: 14px; right: 14px; font-size: 12px; }
  .cell-note { padding: 8px 10px 12px; font-size: 13px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-photo { transform: none; max-width: 280px; width: 100%; margin: 0 auto; }
  .call-card { padding: 20px 18px 18px; }
  .top-call { display: none; }
  .hero-btns { flex-wrap: nowrap; }
  .hero-btns .btn { flex: 1; padding: 0 10px; white-space: nowrap; }
  .clip img { aspect-ratio: 4 / 3; }
  .biz { flex-direction: column; }
  .qa p { grid-template-columns: 28px 1fr; padding: 12px 14px; }
  .q { font-size: 16px; }
  .a { font-size: 15px; }
  .callbar { display: grid; grid-template-columns: 2fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; transform: translateY(110%); transition: transform .25s ease; background: rgba(251,250,245,.97); border-top: 1px solid var(--rule); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .callbar.is-on { transform: none; }
  .callbar a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 10px; font-weight: 800; font-size: 17px; }
  .callbar a:first-child { background: var(--red); color: #fff; }
  .callbar a:last-child { border: 1.5px solid var(--ink); background: #fff; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}
