/* 365잘봄내과 건강검진센터 핵심 랜딩페이지 */
:root {
  --brown: #a37c52;
  --brown-dark: #8a6a45;
  --blue: #4f68be;
  --text: #333;
  --text-soft: #555;
  --warm-bg: #faf6f3;
  --line: #bfae95;
  --inner: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Noto Sans KR", sans-serif;
  color: var(--text);
  line-height: 1.7;
  letter-spacing: -0.02em;
  word-break: keep-all;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
strong { font-weight: 700; color: #222; }

.hc-inner { width: min(var(--inner), 100% - 40px); margin: 0 auto; }
.m-br { display: none; }

/* ---------- Hero ---------- */
.hc-hero { position: relative; height: 663px; overflow: hidden; color: #fff; }
.hc-hero-bg, .hc-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hc-hero-bg img { object-fit: cover; }
.hc-logo { position: absolute; top: 56px; right: calc(50% - 960px + 56px); z-index: 2; }
@media (max-width: 1920px) { .hc-logo { right: 56px; } }
.hc-hero-text {
  position: absolute; z-index: 1; left: 0; right: 0; top: 50%;
  transform: translateY(-50%); padding: 0 20px; text-align: center; margin-top: 10px;
}
.hc-hero h1 { font-size: 54px; line-height: 1.4; font-weight: 700; letter-spacing: -0.03em; }
.hc-hero h1 span { white-space: nowrap; }
.hc-hero-sub { margin-top: 8px; font-size: 54px; line-height: 1.4; font-weight: 700; letter-spacing: -0.03em; }

/* ---------- Intro ---------- */
.hc-intro { padding: 120px 0 120px; text-align: center; }
.hc-intro p { font-size: 24px; line-height: 1.75; font-weight: 400; color: #333; margin-top: 34px; }
.hc-intro p:first-child { margin-top: 0; }
.hc-intro .lead, .hc-intro .lead strong { font-size: 24px; font-weight: 600; color: #333; }
.hc-intro em { font-style: normal; font-weight: 600; color: var(--brown); }

/* ---------- Fact Box ---------- */
.clinic-fact-box {
  --fact-pad: max(20px, calc((100% - var(--inner)) / 2));
  --fact-split: calc(var(--fact-pad) + 296px);
  display: flex; min-height: 480px;
  padding: 0 var(--fact-pad);
  background: linear-gradient(90deg, #faf7f2 0, #efe3d5 var(--fact-split), var(--warm-bg) var(--fact-split));
}
.fact-side { flex: 0 0 296px; display: flex; align-items: flex-start; }
.fact-side-inner { width: 296px; padding: 100px 0; }
.fact-eng { display: block; font-size: 16px; color: var(--brown); font-weight: 400; margin-bottom: 14px; }
.clinic-fact-box h2 { font-size: 40px; line-height: 1.5; font-weight: 400; color: #333; }
.clinic-fact-box h2 strong { font-weight: 700; display: block; }
.clinic-fact-box h2 .light { font-weight: 400; display: block; }
.fact-main { flex: 1; display: flex; align-items: center; padding: 100px 0 100px 120px; }
.fact-main dl { display: grid; grid-template-columns: 200px 1fr; row-gap: 8px; font-size: 20px; line-height: 1.6; }
.fact-main dt { font-weight: 600; color: #222; }
.fact-main dd { color: #333; font-weight: 400; }
.fact-main dd a {text-decoration:none;}
/* .fact-main dd a { color: var(--brown-dark); font-weight: 600; text-underline-offset: 3px; } */

/* ---------- 3 check ---------- */
.hc-check3 { padding: 150px 0 130px; text-align: center; background: #fff; }
.hc-check3 h2, .hc-targets h2, .hc-faq h2, .hc-features > .hc-inner > h2 { font-size: 40px; line-height: 1.4; font-weight: 700; color: #333; letter-spacing: -0.03em; }
.sec-sub { margin-top: 26px; font-size: 20px; line-height: 1.7; font-weight: 400; color: #333; }
.sec-sub strong { font-weight: 700; }
.three-rows { width: min(890px, 100%); margin: 70px auto 0; border-top: 1px solid var(--line); text-align: left; }
.three-rows li { display: flex; align-items: center; min-height: 90px; border-bottom: 1px solid var(--line); font-size: 20px; }
.three-rows .n { flex: 0 0 165px; padding-left: 48px; color: var(--brown); font-weight: 700; font-size: 24px; }
.three-note { margin-top: 56px; font-size: 20px; font-weight: 400; }
.three-note strong { font-weight: 700; }

/* ---------- Features ---------- */
.hc-features { background: var(--warm-bg); padding: 120px 0 140px; }
.hc-features > .hc-inner > h2 { text-align: center; }
.feat { display: grid; column-gap: 70px; margin-top: 100px; }
.feat-1 { grid-template-columns: 426px 1fr; margin-top: 100px; }
.feat-2 { grid-template-columns: 1fr 430px; margin-top: 150px; }
.feat-3 { grid-template-columns: 430px 1fr; margin-top: 160px; }
.feat-img img { width: 100%; border-radius: 14px; }
.feat-num { display: flex; align-items: center; gap: 14px; color: var(--brown); font-size: 44px; font-weight: 700; line-height: 1; }
.feat-num i { flex: 1; height: 1px; background: var(--line); display: block; }
.feat-text h3 { margin: 26px 0 26px; font-size: 44px; line-height: 1.5; font-weight: 400; color: var(--brown); letter-spacing: -0.03em; }
.feat-text h3 strong, .feat-text h3 .light + strong { font-weight: 700; color: var(--brown); }
.feat-text h3 .light { font-weight: 400; }
.feat-text p { font-size: 20px; line-height: 1.5; font-weight: 400; color: #333; margin-top: 14px; }
.feat-text p strong { font-weight: 700; color: #222; }
.num-list { margin: 28px 0 24px 6px; display: grid; grid-auto-flow: column; row-gap: 6px; column-gap: 60px; font-size: 18px; color: var(--brown); counter-reset: n; width: max-content; max-width: 100%; }
.num-list li { counter-increment: n; font-weight: 500; }
.num-list li::before { content: counter(n) ". "; }
.num-list.cols-2 { grid-template-rows: repeat(2, auto); }
.num-list.cols-3 { grid-template-rows: repeat(3, auto); }
.feat-1 .feat-qa { grid-column: 1 / -1; margin-top: 50px; }
.feat-qa h4 { font-size: 24px; font-weight: 700; color: var(--blue); }
.feat-qa p { margin-top: 12px; font-size: 20px; font-weight: 400; line-height: 1.5; }
.chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 16px 0; }
.chips li { background: #fff; border-radius: 8px; min-height: 84px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 18px; font-weight: 500; line-height: 1.55; padding: 10px; }

/* ---------- Targets ---------- */
.hc-targets { padding: 160px 0 150px; text-align: center; background: #fff; }
.hc-targets h2 { color: #000; }
.target-grid { margin: 64px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 30px; }
.target-card {
  flex: 0 0 380px; min-height: 295px; border: 3px solid #f3eae3; border-radius: 16px; padding: 38px 24px 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.target-card h3 { font-size: 24px; line-height: 1.5; font-weight: 600; color: var(--brown); }
.target-card p { margin-top: 20px; font-size: 16px; line-height: 1.5; color: #444; font-weight: 400; }

/* ---------- Checklist ---------- */
.hc-checklist { position: relative; overflow: hidden; background: #f9faff; padding: 90px 0 120px; }
.cl-word {
  position: absolute; left: 90px; bottom: 0; font-family: Georgia, "Times New Roman", serif;
  font-size: 100px; line-height: 1; color: #ebf1ff; writing-mode: vertical-rl; letter-spacing: 0.02em; user-select: none; pointer-events: none;
}
.cl-grid { position: relative; display: grid; grid-template-columns: 650px 1fr; column-gap: 0; }
.cl-intro h2 { font-size: 40px; line-height: 1.4; font-weight: 700; color: var(--blue); letter-spacing: -0.03em; }
.cl-intro p { margin-top: 28px; font-size: 20px; line-height: 1.7; font-weight: 400; color: #333; }
.cl-intro p + p { margin-top: 14px; }
.cl-list { padding-top: 10px; }
.cl-list li { position: relative; padding-left: 40px; margin-bottom: 20px; font-size: 20px; font-weight: 600; line-height: 1.6; color: #222; }
.cl-list li::before {
  content: ""; position: absolute; left: 4px; top: 7px; width: 9px; height: 17px;
  border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg) scale(0.8);
}

/* ---------- FAQ ---------- */
.hc-faq { padding: 150px 0 160px; background: #fff; }
.hc-faq h2 { text-align: center; }
.faq-list { margin-top: 90px; width: min(1200px, 100%); margin-left: auto; margin-right: auto; border-top: 1px solid #ece4da; }
.faq-item { border-bottom: 1px solid #ece4da; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; padding: 24px 30px 24px 32px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q, .faq-a-mark { flex: 0 0 40px; font-size: 22px; font-weight: 700; color: var(--brown); line-height: 1.4; }
.faq-item summary h3 { flex: 1; font-size: 20px; line-height: 1.5; font-weight: 600; color: #222; }
.faq-arrow { align-self: center; flex: none; width: 10px; height: 10px; border: solid #333; border-width: 2px 2px 0 0; transform: rotate(-45deg); margin-right: 6px; transition: transform .2s; }
.faq-item:not([open]) .faq-arrow { transform: rotate(135deg); }
.faq-a { display: flex; background: var(--warm-bg); padding: 28px 30px 28px 32px; border-top: 1px solid #ece4da; font-size: 18px; line-height: 1.7; font-weight: 400; }
.faq-a p { margin: 0; }
.faq-a strong { font-weight: 700; }
.faq-a-mark { flex-basis: 40px; font-size: 20px; }

/* ---------- Summary banner ---------- */
.hc-summary {
  background: #7a6544 url("../images/bg_content_02.png") center / cover no-repeat;
  color: #fff; text-align: center; padding: 160px 0; min-height: 524px; display: flex; align-items: center;
}
.hc-summary .hc-inner { width: min(900px, 100% - 40px); }
.hc-summary h2 { font-size: 40px; line-height: 1.4; font-weight: 600; letter-spacing: -0.03em; }
.hc-summary p { margin-top: 56px; font-size: 24px; line-height: 1.65; font-weight: 400; }

/* ---------- Closing ---------- */
.hc-closing { padding: 160px 0 0; background: #fff; }
.hc-closing h2 { font-size: 40px; line-height: 1.45; font-weight: 700; color: #333; letter-spacing: -0.03em; }
.hc-closing .short { width: 52px; height: 3px; border: 0; background: var(--brown); margin: 52px 0 32px; }
.hc-closing p { font-size: 20px; line-height: 1.7; font-weight: 400; color: #333; margin-top: 30px; }
.hc-closing .hc-inner > p:first-of-type { margin-top: 0; }
.sign { margin-top: 70px; text-align: right; }
.sign .sign-line { margin: 0; font-size: 18px; font-weight: 400; display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.sign .sign-line strong { color: var(--brown); font-size: 20px; }
.sign-name { font-family: "Nanum Pen Script", cursive; font-size: 50px; line-height: 1; color: #222; margin-left: 4px; }
.sign .sign-sub { margin-top: 8px; font-size: 18px; color: #777; }
.related { margin-top: 60px; padding: 30px 0 34px; border-top: 1px solid #e5e5e5; }
.related ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 0; }
.related li { font-size: 20px; line-height: 1; padding: 0 16px; border-left: 1px solid #e6cfae; }
.related li:first-child { border-left: 0; }
.related li:last-child { padding-right: 0; }
/* 줄바꿈된 항목: JS(health-checkup.js)가 각 줄의 첫 항목·마지막 항목에 클래스를 붙인다 */
.related li.is-row-first { border-left: 0; }
.related li.is-row-last { padding-right: 0; }
.related a { text-decoration: none; color: #333; }
.related a:hover, .related a:focus-visible { color: var(--brown); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.hc-footer { background: #383b40; color: #fff; padding: 66px 0 70px; font-size: 14px; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.foot-info { display: flex; gap: 30px; align-items: flex-start; }
.foot-logo img { width: 173px; height: auto; }
.hc-footer address { font-style: normal; line-height: 1.5; font-weight: 400; padding-top: 4px; }
.hc-footer address p { margin: 0; }
.hc-footer a { color: #fff; text-decoration: none; }
.foot-links { display: flex; padding-top: 6px; }
.foot-links li { padding: 0 10px; border-left: 1px solid #777; line-height: 1; font-size:16px}
.foot-links li:first-child { border-left: 0; }
.foot-links li:last-child { padding-right: 0; }

/* ---------- Tablet ---------- */
@media (max-width: 1600px) {
  .cl-word { display:none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1240px) {
  .fact-main { padding-left: 50px; }
  .feat-1, .feat-2, .feat-3 { column-gap: 40px; }
  .hc-hero h1 { font-size: 54px; }
  .hc-hero-sub { font-size: 54px; }
  .target-card { flex-basis: calc(33.33% - 20px); }
  .cl-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .m-br { display: inline; }
  .pc-br { display: none; }
  .hc-inner { width: calc(100% - 40px); }

  .hc-hero { height: 389px; }
  .hc-logo { top: 28px; left: 50%; right: auto; transform: translateX(-50%); }
  .hc-logo img { width: 115px; height: auto; }
  .hc-hero-text { margin-top: 24px; }
  .hc-hero h1 { font-size: 28px; line-height: 1.5; margin: 0 auto; }
  .hc-hero h1 span { display: block; }
  .hc-hero-sub { font-size: 28px; margin-top: 0; }

  .hc-intro { padding: 80px 0 90px; }
  .hc-intro p, .hc-intro .lead, .hc-intro .lead strong { font-size: 18px; margin-top: 28px; }
  .hc-intro br { display: none; }
  .hc-intro em { display: block; margin: 4px 0; }

  .clinic-fact-box { display: block; padding: 0; background: var(--warm-bg); }
  .fact-side { flex: none; }
  .fact-side { padding: 58px 20px 50px; justify-content: flex-start; background: linear-gradient(90deg, #faf7f2 0%, #efe3d5 100%); }
  .fact-side-inner { margin: 0; width: auto; padding: 0; }
  .fact-eng { font-size: 14px; margin-bottom: 8px; }
  .clinic-fact-box h2 { font-size: 24px; }
  .clinic-fact-box h2 .light, .clinic-fact-box h2 strong { display: inline; }
  .clinic-fact-box h2 strong { display: block; }
  .fact-main { padding: 50px 20px 60px; }
  .fact-main dl { grid-template-columns: 100px 1fr; row-gap: 12px; font-size: 14px; }
  .fact-main dd br { display: none; }

  .hc-check3 { padding: 90px 0 80px; }
  .hc-check3 h2, .hc-targets h2, .hc-faq h2, .hc-features > .hc-inner > h2 { font-size: 28px; }
  .sec-sub { font-size: 16px; }
  .three-rows { margin-top: 44px; text-align:center; }
  .three-rows li { flex-direction: column; align-items: center; padding: 18px 10px 18px 12px; min-height: 0; font-size: 16px; gap: 2px; }
  .three-rows .n { flex: none; padding-left: 0; font-size: 20px; }
  .three-note { font-size: 16px; margin-top: 40px; text-align:center}

  .hc-features { padding: 80px 0 90px; }
  .feat, .feat-1, .feat-2, .feat-3 { grid-template-columns: 1fr; margin-top: 60px; }
  .feat-1 { margin-top: 50px; }
  .feat-2 .feat-img { order: -1; }
  .feat-img { margin-bottom: 28px; }
  .feat-img img { border-radius: 4px; }
  .feat-num { font-size: 24px; }
  .feat-text h3 { font-size: 24px; margin: 20px 0 22px; }
  .feat-text p { font-size: 16px; }
  .num-list { grid-auto-flow: row !important; grid-template-rows: none !important; row-gap: 4px; width: auto; font-size: 16px; }
  .feat-1 .feat-qa { margin-top: 36px; }
  .feat-qa h4 { font-size: 18px; }
  .feat-qa p { font-size: 16px; }
  .chips { grid-template-columns: 1fr; gap: 12px; }
  .chips li { min-height: 65px; font-size: 16px; }
  .chips li br { display: none; }

  .hc-targets { padding: 90px 0; }
  .target-grid { margin-top: 40px; gap: 20px; display: grid; grid-template-columns: 1fr; grid-auto-rows: 1fr; }
  .target-card { min-height: 0; padding: 36px 20px; }
  .target-card h3 { font-size: 20px; }
  .target-card p { font-size: 16px; }

  .hc-checklist { padding: 80px 0 90px; }
  .cl-word { display: none; }
  .cl-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .cl-intro h2 { font-size: 28px; }
  .cl-intro p { font-size: 16px; }
  .cl-list li { font-size: 16px; padding-left: 36px; }

  .hc-faq { padding: 90px 0 90px; }
  .faq-list { margin-top: 50px; }
  .faq-item summary { padding: 25px 8px 25px 14px; }
  .faq-q, .faq-a-mark { flex-basis: 26px; font-size: 18px; }
  .faq-item summary h3 { font-size: 16px; padding-right:10px;}
  .faq-a { padding: 20px 20px 22px 14px; font-size: 14px; }

  .hc-summary { min-height: 0; padding: 90px 0; background-image: url("../images/bg_mobile_content_02.png"); }
  .hc-summary h2 { font-size: 28px; }
  .hc-summary p { font-size: 16px; margin-top: 30px; }
  .hc-summary p br { display: none; }

  .hc-closing { padding: 90px 0 0; }
  .hc-closing h2 { font-size: 28px; }
  .hc-closing .short { margin: 40px 0 26px; }
  .hc-closing p { font-size: 16px; margin-top: 24px; }
  .sign { margin-top: 56px; }
  .sign .sign-line { flex-wrap: wrap; font-size:14px;}
  .sign .sign-line strong { flex-basis: 100%; font-size: 16px; }
  .sign-name { font-size: 28px; }
  .sign .sign-sub {font-size:12px;}
  .related ul { justify-content: flex-end; }
  .related li { font-size: 12px; padding: 0 10px; }

  .hc-footer { padding: 60px 0 50px; font-size:12px;}
  .foot-logo img {width:115px;}
  .foot-grid { flex-direction: column; }
  .foot-info { flex-direction: column; gap: 22px; }
  .foot-links { padding-top: 20px; }
  .foot-links li:first-child { padding-left: 0; }
  .foot-links li {font-size:14px;}
}
