/* 더모유 산모케어: 크림 바탕 + 로고의 분홍·초록, 둥근 모양 */
/* fonts:start */
@font-face { font-family: Pretendard; font-weight: 400; font-display: swap; src: url("../fonts/pretendard-400.woff2?v=75d33afe") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 600; font-display: swap; src: url("../fonts/pretendard-600.woff2?v=501e74e7") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 700; font-display: swap; src: url("../fonts/pretendard-700.woff2?v=98b61b47") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 800; font-display: swap; src: url("../fonts/pretendard-800.woff2?v=f1807907") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 900; font-display: swap; src: url("../fonts/pretendard-900.woff2?v=b47e2401") format("woff2"); }
/* fonts:end */
:root {
  --bg: #fff7f1;
  --card: #ffffff;
  --ink: #3d2e33;
  --sub: #7c6a70;
  --line: #f0dfd8;
  --pink: #ec6b94;
  --pink-dark: #d9567f;
  --pink-soft: #fde6ec;
  --green: #2c7a5b;
  --green-soft: #e3f1e8;
  --blue-soft: #e6effa;
  --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(--bg); color: var(--ink); line-height: 1.65;
  word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
h1, h2 { text-wrap: balance; letter-spacing: -.03em; line-height: 1.3; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.mo { display: none; }
.notice { position: relative; padding: 10px 48px; background: var(--green); color: #fff; font-size: 15px; line-height: 1.5; text-align: center; }
.notice-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.notice-x:hover { background: rgba(255,255,255,.15); }
.notice b { margin-right: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: 13px; font-weight: 700; }
.nw { white-space: nowrap; }
section { padding: 96px 0; }
h2 { font-size: 36px; font-weight: 800; color: var(--green); }
.sec-sub { margin-top: 12px; font-size: 17px; color: var(--sub); }

/* 시안에서 채울 자리 (오픈 때 지움) */
.tbd { display: inline-block; background: #fff1a8; color: #5a4a00; border: 1px dashed #c9a800; border-radius: 6px; padding: 0 8px; font-size: .85em; font-weight: 600; letter-spacing: 0; vertical-align: middle; }

/* 머리 */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,247,241,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; color: var(--pink); letter-spacing: -.02em; }
.logo b { color: var(--green); font-weight: 900; }
.top-call { background: var(--pink); color: #fff; font-weight: 700; font-size: 15px; padding: 8px 18px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.top-call.is-on { opacity: 1; pointer-events: auto; }

/* 버튼 */
a.btn, .callbar a, .top-call, .phone { cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; font-weight: 800; font-size: 17px; border: 0; cursor: pointer; }
.btn-main { background: var(--pink); color: #fff; box-shadow: 0 6px 0 #f6bcd0; }
.btn-main:hover { background: var(--pink-dark); }
.btn-line { border: 2px solid var(--pink); background: #fff; color: var(--pink-dark); }
.btn-soft { background: var(--pink-soft); color: var(--pink-dark); }
.btn-soft:hover { background: #fbd6e1; }

/* 첫 화면 */
.hero { padding: 56px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: center; }
.hero-tag { display: inline-block; background: var(--pink); color: #fff; font-weight: 700; font-size: 16px; padding: 6px 16px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: 54px; font-weight: 900; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--pink); background: linear-gradient(transparent 64%, #fde0e8 64%); }
.hero-lead { margin-top: 20px; font-size: 19px; color: var(--sub); }
.phone { display: inline-flex; flex-direction: column; margin-top: 30px; }
.phone-label { font-size: 15px; font-weight: 700; color: var(--green); }
.phone-num { font-size: 44px; font-weight: 900; letter-spacing: -.01em; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero-btns { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 420px; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 200px 200px 32px 32px; box-shadow: 0 30px 60px -30px rgba(150,60,90,.45); }
.pics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px; }
.pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 60%; border-radius: 24px; }
.pics figcaption { margin-top: 10px; font-weight: 700; font-size: 15px; color: var(--ink); }

/* 첫 화면 아래 안내 */
.info { padding: 0 0 88px; }
.info-row { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); border-radius: 28px; box-shadow: 0 10px 30px -18px rgba(150,80,100,.35); }
.info-row > li { padding: 28px 30px; }
.info-row > li + li { border-left: 2px dashed var(--line); }
.info-k { font-size: 15px; font-weight: 700; color: var(--pink); }
.info-v { margin-top: 4px; font-size: 22px; font-weight: 800; line-height: 1.4; }
.info-s { margin-top: 6px; font-size: 15px; color: var(--sub); }
.info-off { margin-top: 2px; }
.pay { display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; margin-top: 22px; padding: 0 6px; }
.pay-k { font-weight: 800; color: var(--green); }
.pay-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-list li { background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 15px; padding: 6px 14px; border-radius: 999px; }

/* 시기별 관리 */
.when { background: var(--card); border-radius: 48px 48px 0 0; }
.when h2 { text-align: left; }
.when-line { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.when-line::before { content: ""; position: absolute; left: 12px; right: 12px; top: 11px; border-top: 3px dotted #f3b7c8; }
.when-line > li { position: relative; padding-top: 40px; }
.when-dot { position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--pink-soft); border: 4px solid var(--pink); }
.when-k { font-size: 22px; font-weight: 800; color: var(--ink); }
.when-line ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.when-line ul li { background: var(--bg); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 16px; }
.when-line ul li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); margin-right: 8px; vertical-align: 2px; }

/* 상담실 · 가정 방문 */
.direct { background: var(--pink-soft); }
.road { margin-top: 40px; background: #fff; border-radius: 32px; padding: 36px 40px 40px; }
.road-ill { width: 100%; }
.road-text { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; }
.road-text > div:last-child { text-align: right; }
.two-k { display: inline-block; font-size: 14px; font-weight: 700; color: #fff; background: var(--pink); padding: 3px 12px; border-radius: 999px; }
.two-k.k-green { background: var(--green); }
.road h3 { margin-top: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.road h3 + p { margin-top: 6px; font-size: 16px; color: var(--sub); }
.kid-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 56px; }
.kid-head h3 { font-size: 24px; font-weight: 800; color: var(--green); letter-spacing: -.02em; }
.kid { display: flex; flex-wrap: wrap; gap: 8px; }
.kid span { background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; padding: 5px 14px; border-radius: 999px; }

/* 오시는 길 */
.map-grid { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; }
.addr { margin-top: 20px; font-size: 26px; font-weight: 800; line-height: 1.45; }
.addr-s { margin-top: 12px; font-size: 17px; color: var(--sub); }
.addr-s b { color: var(--ink); }
.map-btns { display: flex; flex-wrap: wrap; gap: 18px 10px; margin-top: 26px; }
.bld { position: relative; }
.bld-p { font: 900 26px Pretendard, sans-serif; fill: #fff; }
.bld-t { font: 800 15px Pretendard, sans-serif; fill: var(--pink-dark); }
.bld-s { font: 800 14px Pretendard, sans-serif; fill: #fff; }
.bld-n text { font: 700 14px Pretendard, sans-serif; fill: #b9a49b; }
.bld-n .on { fill: var(--green); font-weight: 900; }

/* 후기 */
.review { padding: 0 0 96px; }
.review-band { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: center; background: var(--pink-soft); border-radius: 32px; padding: 44px 48px; }
.review-band h2 { font-size: 30px; }
.review-band .sec-sub { margin-top: 6px; }
.review-band .btn { margin-top: 22px; }
.event { background: #fff; border-radius: 24px; padding: 24px 26px 18px; }
.event-k { font-size: 18px; font-weight: 800; color: var(--pink-dark); }
.event ul { margin-top: 8px; }
.event li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 0; font-size: 16px; }
.event li + li { border-top: 1.5px dashed var(--line); }
.event li b { font-weight: 700; white-space: nowrap; }
.event li span { margin-left: auto; }
.event li span { font-weight: 800; color: var(--green); white-space: nowrap; }

/* 마지막 문의 */
.review + .contact { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center; }
.msg { background: var(--card); border-radius: 28px; padding: 28px; box-shadow: 0 10px 30px -18px rgba(150,80,100,.35); }
.msg-k { font-weight: 800; color: var(--green); }
.bubble { margin-top: 16px; background: var(--pink-soft); border-radius: 20px 20px 20px 6px; padding: 16px 18px; font-size: 17px; line-height: 1.6; }
.msg-note { margin-top: 12px; font-size: 14px; color: var(--sub); }

/* 바닥 */
.foot { padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--sub); }
.foot b { color: var(--ink); }
.foot p + p { margin-top: 4px; }

/* PC 전화·문자 QR 창 */
.qr-dlg { margin: auto; width: 320px; max-width: calc(100% - 32px); padding: 32px 28px 26px; border: 0; border-radius: 24px; background: #fff; color: var(--ink); text-align: center; box-shadow: 0 30px 80px -20px rgba(80,40,50,.5); }
.qr-dlg::backdrop { background: rgba(61,46,51,.5); }
.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: var(--bg); color: var(--ink); }
.qr-title { font-size: 19px; font-weight: 800; color: var(--pink); margin-bottom: 18px; }
.qr-box { width: 196px; height: 196px; margin: 0 auto; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; 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; font-variant-numeric: tabular-nums; }

.callbar { display: none; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr 340px; gap: 32px; }
  .hero h1 { font-size: 44px; }
  .when-line { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .when-line::before { display: none; }
  .map-grid, .contact-grid { grid-template-columns: 1fr 340px; gap: 36px; }
}

@media (max-width: 820px) {
  .mo { display: inline; }
  br:not(.mo):not(.keep) { display: none; }
  section { padding: 64px 0; }
  h2 { font-size: 28px; }
  .hero { padding: 28px 0 56px; }
  .hero-grid, .map-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: stretch; max-width: none; margin-top: 4px; }
  .hero-photo img { aspect-ratio: 4 / 3; border-radius: 28px; }
  .pics { gap: 12px; }
  .pics img { aspect-ratio: 4 / 5; border-radius: 18px; }
  .hero h1 { font-size: 34px; }
  .hero-lead { font-size: 17px; }
  .phone-num { font-size: 36px; }
  .hero-btns .btn { flex: 1; padding: 0 12px; }
  .info { padding-bottom: 56px; }
  .info-row { grid-template-columns: 1fr; }
  .info-row > li { padding: 20px 22px; }
  .info-row > li + li { border-left: 0; border-top: 2px dashed var(--line); }
  .info-v { font-size: 19px; }
  .when { border-radius: 32px 32px 0 0; }
  .when-line { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; padding-left: 4px; }
  .when-line::before { display: block; left: 15px; right: auto; top: 12px; bottom: 12px; border-top: 0; border-left: 3px dotted #f3b7c8; }
  .when-line > li { padding: 0 0 0 44px; }
  .when-dot { top: 2px; }
  .road { margin-top: 28px; padding: 22px 18px 26px; border-radius: 24px; }
  .road-text { gap: 14px; }
  .road h3 { font-size: 18px; }
  .road h3 + p { font-size: 14px; }
  .bld { max-width: 360px; margin: 0 auto; width: 100%; }
  .map-btns .btn-main { width: 100%; }
  .map-btns .btn-soft { flex: 1; }
  .review { padding-bottom: 64px; }
  .review-band { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; border-radius: 24px; }
  .review-band .btn { width: 100%; }
  .event { padding: 20px 20px 12px; }
  .event li { font-size: 15px; }
  .review-band h2 { font-size: 24px; }
  .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(255,255,255,.97); border-top: 1px solid var(--line); 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: 999px; font-weight: 800; font-size: 17px; }
  .callbar a:first-child { background: var(--pink); color: #fff; }
  .callbar a:last-child { border: 2px solid var(--pink); color: var(--pink-dark); background: #fff; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
  .road h3 { font-size: 16px; }
  .road h3 + p { font-size: 13px; }
  :root { --gutter: 16px; }
  .hero h1 { font-size: 30px; }
  .phone-num { font-size: 32px; }
  .logo { font-size: 18px; }
}
