/* 퍼스널라미 형태·컬러 — 지면 전용 레이어.
   치수는 시안 1920 프레임 값을 그대로 쓴다. 공통 레이어는 고치지 않는다. */

/* 공통 셸이 모바일에서 주는 위 여백·바탕을 걷는다 — 헤더 아래가 곧 히어로 */
.content_wrap:has(> .plc) { padding-top: 0 !important; background: #ffffff !important; }
.plc { --plc-font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; background: #ffffff; font-family: var(--plc-font); }
.plc *, .plc *::before, .plc *::after { box-sizing: border-box; }
.plc :is(h1, h2, h3, p, figure, ul, ol, li) { margin: 0; padding: 0; }
.plc :is(ul, ol) { list-style: none; }
.plc .plc-sec { position: relative; width: 100%; background: #ffffff; overflow: hidden; }
.plc .plc-inner { position: relative; width: 1200px; max-width: calc(100% - 40px); margin: 0 auto; }

/* ── 머리(라벨 · 제목 · 리드) ─────────────────────── */
.plc .plc-head { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.plc .plc-head__label { width: 100%; font-size: 12px; line-height: 14.32px; font-weight: 600; letter-spacing: 3px; color: #1f5f57; text-transform: uppercase; }
.plc .plc-head__title { width: 100%; font-size: 32px; line-height: 44px; font-weight: 700; letter-spacing: -0.6px; color: #1f5f57; word-break: keep-all; text-wrap: balance; }
.plc .plc-head__lead { width: 100%; font-size: 17px; line-height: 28px; font-weight: 400; letter-spacing: -0.27px; color: #888888; word-break: keep-all; text-wrap: pretty; }
.plc .plc-head--left { align-items: flex-start; text-align: left; }

/* ── 히어로 ─────────────────────────────────────── */
.plc .plc-hero { height: 800px; }
.plc .plc-hero__tint { position: absolute; left: 0; top: 0; width: 100%; height: 735px; background: linear-gradient(180deg, rgba(116, 213, 202, 0.6) 0%, rgba(116, 213, 202, 0) 100%); }
.plc .plc-hero__fade { position: absolute; left: 0; top: 140px; width: 100%; height: 660px; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%); }
/* 공통 레이어가 .fg2 h1/p 의 margin 을 !important 로 0 으로 묶는다 — 간격은 gap 으로 준다 */
.plc .plc-hero__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 267px; text-align: center; }
.plc .plc-hero__en { font-family: 'Perfect Girl', 'Cormorant Garamond', Georgia, serif; font-size: 80px; line-height: 76px; font-weight: 400; letter-spacing: 0; color: #000000; white-space: nowrap; position: relative; top: -0.05em; }
/* 셸의 h1 굵기 고정값보다 시안 굵기(500)가 앞서게 한다 */
.plc .plc-hero__title { font-size: 26px; line-height: 40px; font-weight: 500 !important; letter-spacing: -1px; color: #222222; }
.plc .plc-hero__lead { margin-top: -12px !important; font-size: 20px; line-height: 34px; font-weight: 400; letter-spacing: -1px; color: rgba(34, 34, 34, 0.6); word-break: keep-all; }

/* ── 디자인의 시작 ─────────────────────────────── */
.plc .plc-intro { padding: 113px 0 112px; background: #f7fbfa; }
.plc .plc-intro .plc-head__title { font-size: 32px; line-height: 50px; font-weight: 400; color: #222222; }

/* ── 얼굴형에 맞춘 형태 디자인 ─────────────────── */
.plc .plc-shape { padding: 130px 0; container-type: inline-size; }
/* 시안 자리(본문 왼끝 + 895px)를 지키되, 오른끝이 우측 퀵바 앞(화면 오른끝 - 100px)을 넘으면 폭을 줄인다 */
.plc .plc-shape__word { position: absolute; z-index: 0; left: calc(50% - 600px + 895px); top: 196px; width: min(391px, calc(50% - 395px)); height: auto; aspect-ratio: 391 / 107; display: block; pointer-events: none; }
.plc .plc-shape .plc-inner { z-index: 1; }
/* 시안 1920 은 묶음이 본문보다 200px 넓다(1400). 그 폭을 화면 폭 - 200px 안으로 묶어 1400~1599 에서도 퀵바와 겹치지 않고,
   1400 경계에서 칸 크기가 튀지 않게 한다 */
.plc .plc-shape__grid { width: min(1400px, calc(100cqw - 200px)); max-width: none; margin: 58px 0 0 calc((100% - min(1400px, 100cqw - 200px)) / 2); }
.plc .plc-shape__note { width: fit-content; font-size: 14px; line-height: 16.71px; font-weight: 500; letter-spacing: -0.6px; color: rgba(0, 0, 0, 0.3); text-align: left; }
.plc .plc-faces { margin-top: 20px; }

.plc .plc-faces { display: grid; grid-template-columns: 554fr 554fr 272fr; gap: 10px; }
.plc .plc-face { display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 280px; padding: 24px 30px; border-radius: 14px 14px 0 0; overflow: hidden; }
.plc .plc-face--round { background: #f7fbfa; }
.plc .plc-face--oval { background: #fff8f3; }
.plc .plc-face--square { background: #f0f5fa; }
.plc .plc-face__icon { display: block; width: 120px; height: 120px; object-fit: cover; object-position: 50% 50%; }
.plc .plc-face__body { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; text-align: center; }
.plc .plc-face__name { width: 100%; font-size: 26px; line-height: 40px; font-weight: 700; letter-spacing: -0.6px; }
.plc .plc-face__desc { width: 100%; font-size: 17px; line-height: 28px; font-weight: 400; letter-spacing: -0.27px; color: #888888; word-break: keep-all; }
.plc .plc-face--round .plc-face__name { color: #1f5f57; }
.plc .plc-face--oval .plc-face__name { color: #9e4c25; }
.plc .plc-face--square .plc-face__name { color: #406e8b; }

.plc .plc-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.plc .plc-col { display: flex; flex-direction: column; align-items: center; }
.plc .plc-col__photo { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 50%; }
.plc .plc-chip { display: inline-flex; align-items: center; justify-content: center; margin-top: 20px; height: 29px; padding: 6px 14px; border-radius: 50px; font-size: 14px; line-height: 16.71px; font-weight: 600; letter-spacing: -0.255px; color: #ffffff; white-space: nowrap; }
.plc .plc-col--round .plc-chip { background: #2c6b65; }
.plc .plc-col--oval .plc-chip { background: #9e4c25; }
.plc .plc-col--square .plc-chip { background: #406e8b; }
.plc .plc-note { display: flex; flex: 1 1 auto; align-items: center; margin-top: 13px; width: 100%; min-height: 90px; padding: 10px; border-radius: 10px; }
.plc .plc-col--round .plc-note { background: #f7fbfa; }
.plc .plc-col--oval .plc-note { background: #fff8f3; }
.plc .plc-col--square .plc-note { background: #f0f5fa; }
.plc .plc-note__icon { display: block; width: 70px; height: 70px; object-fit: cover; object-position: 50% 50%; }
.plc .plc-note__text { width: 182px; font-size: 15px; line-height: 22px; font-weight: 400; letter-spacing: -0.27px; color: #5f5f5f; word-break: keep-all; }

/* ── 피부톤에 맞춘 컬러 디자인 ─────────────────── */
.plc .plc-color { padding: 130px 0 120px; }
.plc .plc-color__word { position: absolute; z-index: 0; left: calc(50% - 600px + 737px); top: 127px; width: 462px; height: 101px; display: block; pointer-events: none; }
.plc .plc-color .plc-inner { z-index: 1; }
.plc .plc-color__band { display: block; width: 1200px; max-width: 100%; height: 422px; margin-top: 11px; object-fit: cover; object-position: 51.1% 50%; }
.plc .plc-shades { display: grid; grid-template-columns: repeat(5, 232px); gap: 10px; margin-top: -34px; }
.plc .plc-shade { display: flex; flex-direction: column; text-align: center; }
.plc .plc-shade__tile { display: none; }
.plc .plc-shade__name { font-size: 18px; line-height: 30px; font-weight: 600; letter-spacing: -0.255px; color: #0a0a0a; }
.plc .plc-shade__desc { font-size: 16px; line-height: 28px; font-weight: 400; letter-spacing: 0; color: #6b6b6b; }

/* ── 디자인 과정 ─────────────────────────────────── */
.plc .plc-process { padding: 130px 0; }
.plc .plc-steps { display: grid; grid-template-columns: repeat(4, 291px); gap: 12px; margin-top: 54px; }
.plc .plc-step { display: flex; flex-direction: column; }
.plc .plc-step__img { display: block; width: 291px; height: 291px; object-fit: cover; object-position: 50% 50%; }
.plc .plc-step__img--1 { object-position: 50% 50%; } /* 시안 크롭(90%)은 파일에 미리 반영 */
.plc .plc-step__body { display: flex; flex-direction: column; height: 162px; padding: 24px 0; text-align: center; }
.plc .plc-step__body--2l { height: 134px; }
.plc .plc-step__name { font-size: 18px; line-height: 30px; font-weight: 600; letter-spacing: -0.255px; color: #0a0a0a; }
.plc .plc-step__desc { font-size: 16px; line-height: 28px; font-weight: 400; letter-spacing: 0; color: #6b6b6b; word-break: keep-all; }

/* ── 자주 묻는 질문 (시안 밖) — 다른 지면 FAQ 와 같은 양식.
   공통 레이어의 details 기본값보다 앞서도록 선택자를 길게 쓴다 ── */
.plc .plc-faq { padding: 120px 0 157px; background: #f7fbfa; }
.plc .plc-faq .plc-head { gap: 6px; }
.plc .plc-faq .plc-head__label { margin-bottom: 10px !important; }
.plc .plc-faq__list { margin-top: 50px; }
html body .plc details.plc-faq__item:not(.dn-consultbar):not(.dn-cprivacy) { border-bottom: 1px solid #dbdbdb !important; }
html body .plc details.plc-faq__item:not(.dn-consultbar):not(.dn-cprivacy) > summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 0; padding: 22px 0 !important; font-size: 18px !important; line-height: 24px !important; font-weight: 600; letter-spacing: -0.255px; color: #0a0a0a !important; cursor: pointer; list-style: none; text-wrap: pretty; word-break: keep-all; }
html body .plc details.plc-faq__item:not(.dn-consultbar):not(.dn-cprivacy) > summary::after { content: ""; position: static; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid rgba(44, 107, 101, 0.2); border-radius: 50%; background: url(/subpages/assets/pl3-main/ico-plus.svg) center / 24px 24px no-repeat; transform: none; transition: transform 200ms ease-out; }
html body .plc details.plc-faq__item:not(.dn-consultbar):not(.dn-cprivacy)[open] > summary::after { transform: rotate(45deg); }
html body .plc details.plc-faq__item:not(.dn-consultbar):not(.dn-cprivacy) > .plc-faq__a { padding: 0 68px 26px 0 !important; }
html body .plc details.plc-faq__item:not(.dn-consultbar):not(.dn-cprivacy) > .plc-faq__a, html body .plc details.plc-faq__item:not(.dn-consultbar):not(.dn-cprivacy) > .plc-faq__a p { font-size: 16px !important; line-height: 28px !important; font-weight: 400; letter-spacing: 0; color: #595959 !important; word-break: keep-all; }

/* ── 함께 보면 좋은 지면 ────────────────────────── */

/* 묶음이 시안 폭(1400)보다 좁아지는 구간 — 줄바꿈을 글자 흐름에 맡긴다(칸 높이는 최소값이라 설명이 칸 밖으로 넘치지 않는다) */
@media (max-width: 1599px) {
  .plc .plc-face__desc br, .plc .plc-note__text br { display: none; }
  .plc .plc-face__desc { text-wrap: balance; }
  .plc .plc-note__text { text-wrap: pretty; }
}

/* ── 좁은 화면 ─────────────────────────────────────
   시안에 모바일 프레임이 없다. 폭에 맞춰 열을 접고 고정 치수를 푼다. */
@media (max-width: 1399px) {
  /* 장식 워드마크가 화면 밖으로 나가지 않게 오른쪽 기준으로 돌린다 */
  .plc .plc-color__word { left: auto; right: 100px; }
  .plc .plc-shape__grid { width: 100%; margin: 58px 0 0; }
  .plc .plc-faces { grid-template-columns: 1.6fr 1.6fr 1fr; }
  .plc .plc-note__text { width: auto; flex: 1 1 auto; }
  /* 본문이 1200 보다 좁아지면 치아 색 띠는 비율을 지켜 양끝이 잘리지 않게 한다 */
  .plc .plc-color__band { height: auto; aspect-ratio: 1200 / 422; }
  .plc .plc-shades { margin-top: -2.83%; }
  .plc .plc-shades { grid-template-columns: repeat(5, 1fr); }
  .plc .plc-steps { grid-template-columns: repeat(4, 1fr); }
  .plc .plc-step__img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
}

/* 본문 폭이 1200 아래로 줄어드는 구간 — 고정 높이를 풀어 글자가 칸 밖으로 나가지 않게 하고,
   치아 색상 띠는 비율을 지켜 양끝이 잘리지 않게 한다 */
@media (max-width: 1239px) {
  .plc .plc-face { height: auto; min-height: 280px; }
  .plc .plc-face__desc br, .plc .plc-note__text br, .plc .plc-step__desc br { display: none; }
  .plc .plc-face__desc, .plc .plc-step__desc { text-wrap: balance; }
  .plc .plc-note { height: auto; min-height: 90px; flex: 1 1 auto; }
  .plc .plc-shape__word { display: none; }
  .plc .plc-step__body { height: auto; min-height: 162px; }
}

/* 얼굴형별로 묶는다 — 머리 → 그 얼굴형 사진 → 설명. 두 목록을 한 격자로 풀어 순서를 다시 준다.
   1399 이하에서는 본문 상자가 우측 퀵바 여백(좌우 100px)만큼 줄어 5칸이 200px 안팎이 되고 설명이 서너 줄로 꺾이므로 이 묶음(2열)으로 바꾼다 */
@media (max-width: 1399px) {
  .plc .plc-shape__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; max-width: 760px; margin: 58px auto 0; }
  .plc .plc-faces, .plc .plc-cols { display: contents; }
  .plc .plc-shape__note { grid-column: 1 / -1; grid-row: 1; font-size: 13px; color: #6b6b6b; }
  .plc .plc-face { grid-column: 1 / -1; margin-top: 12px; height: auto; min-height: 0; border-radius: 14px; }
  .plc .plc-face--round { grid-row: 2; margin-top: 0; }
  .plc .plc-col--round { grid-row: 3; }
  .plc .plc-face--oval { grid-row: 4; }
  .plc .plc-col--oval:not(.plc-col--square) { grid-row: 5; }
  .plc .plc-face--square { grid-row: 6; }
  /* 혼자 남는 칸도 다른 칸과 같은 폭(2열 한 칸) */
  .plc .plc-col--square { grid-row: 7; grid-column: 1 / -1; justify-self: center; width: calc((100% - 12px) / 2); }
  .plc .plc-note { margin-top: 10px; }
  .plc .plc-note__text { font-size: 14px; line-height: 21px; }
}

/* 1280 미만 — 좌우 여백을 다른 네 지면·아래 FAQ 와 같게(40px) */
@media (min-width: 768px) and (max-width: 1279px) {
  .plc .plc-inner { max-width: calc(100% - 80px); }
}

/* 태블릿 — 비교·제로 지면과 같은 값(높이 508 · 영문 64/64 · 제목 26/40 · 리드 20/34).
   배경 두 겹은 히어로 높이에 맞춘 비율(시안 735/800 · 140/800 · 660/800) */
@media (max-width: 1023px) {
  .plc .plc-hero { height: auto; min-height: 508px; }
  .plc .plc-hero__tint { height: 91.875%; }
  .plc .plc-hero__fade { top: 17.5%; height: 82.5%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .plc .plc-hero__body { padding: 180px 20px 120px; }
  .plc .plc-hero__en { font-size: 64px; line-height: 64px; }
}

@media (max-width: 1023px) {
  .plc .plc-color__word { display: none; }
  .plc .plc-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .plc .plc-step__body { height: auto; min-height: 0; }
}

@media (max-width: 767px) {
  .plc .plc-inner { max-width: calc(100% - 40px); }
  /* 히어로 — 비교·제로 지면과 같은 값(높이 318 · 영문 32/34 한 줄 · 제목 20/30 · 리드 15/24).
     셸의 모바일 p 행간 1.7(!important)보다 앞서도록 행간에 !important */
  .plc .plc-hero { min-height: 318px; }
  .plc .plc-hero__body { gap: 0; padding: 96px 20px 72px; }
  .plc .plc-hero__en { font-size: min(32px, calc((100vw - 40px) / 10.5)); line-height: 34px !important; }
  .plc .plc-hero__title { margin-top: 18px !important; font-size: 20px; line-height: 30px !important; letter-spacing: -0.6px; }
  .plc .plc-hero__lead { margin-top: 20px !important; font-size: 15px; line-height: 24px !important; letter-spacing: -0.4px; }
  .plc .plc-hero__lead br { display: none; }

  .plc .plc-head__title { font-size: 24px; line-height: 34px; }
  .plc .plc-head__lead { font-size: 15px; line-height: 26px; }
  .plc .plc-head__lead br { display: none; }

  .plc .plc-intro { padding: 56px 0; }
  .plc .plc-intro .plc-head__title { font-size: 24px; line-height: 36px; }
  .plc .plc-intro .plc-head__title br { display: none; }

  .plc .plc-shape { padding: 56px 0; }
  .plc .plc-shape__grid { margin-top: 32px; }
  .plc .plc-faces { gap: 14px; }
  .plc .plc-face { gap: 12px; padding: 20px; }
  .plc .plc-face__name { font-size: 20px; line-height: 30px; }
  .plc .plc-face__desc { font-size: 15px; line-height: 24px; }
  .plc .plc-face__desc br { display: none; }
  .plc .plc-col__photo { height: auto; aspect-ratio: 1 / 1; }
  .plc .plc-note { height: auto; min-height: 72px; }
  .plc .plc-note__text br { display: none; }
  /* 두 칸에 아이콘(70px)까지 옆에 두면 설명 폭이 70px 대로 줄어 네다섯 줄로 꺾인다 — 아이콘을 위로 올린다 */
  .plc .plc-note { flex-direction: column; align-items: center; gap: 6px; padding: 12px 10px; text-align: center; }
  .plc .plc-note__icon { width: 44px; height: 44px; }
  .plc .plc-note__text { flex: none; width: 100%; }

  .plc .plc-color { padding: 56px 0; }

  .plc .plc-process { padding: 56px 0; }
  .plc .plc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; margin-top: 32px; }
  .plc .plc-step__body { padding: 12px 0 0; text-align: left; }
  .plc .plc-step__name { font-size: 16px; line-height: 24px; }
  .plc .plc-step__desc { margin-top: 4px !important; font-size: 14px; line-height: 22px; }
  .plc .plc-step__desc br { display: none; }

  .plc .plc-faq { padding: 64px 0 80px; }
  .plc .plc-faq .plc-head__label { margin-bottom: 6px !important; }
  .plc .plc-faq__list { margin-top: 32px; }
  html body .plc details.plc-faq__item:not(.dn-consultbar):not(.dn-cprivacy) > summary { gap: 16px; padding: 16px 0 !important; font-size: 16px !important; }
  html body .plc details.plc-faq__item:not(.dn-consultbar):not(.dn-cprivacy) > summary::after { flex-basis: 36px; width: 36px; height: 36px; background-size: 20px 20px; }
  html body .plc details.plc-faq__item:not(.dn-consultbar):not(.dn-cprivacy) > .plc-faq__a { padding: 0 0 20px !important; }
  html body .plc details.plc-faq__item:not(.dn-consultbar):not(.dn-cprivacy) > .plc-faq__a, html body .plc details.plc-faq__item:not(.dn-consultbar):not(.dn-cprivacy) > .plc-faq__a p { font-size: 15px !important; line-height: 26px !important; }

}

@media (max-width: 1023px) {
  /* 치아 색: 그림 한 장 대신 치아마다 조각 + 이름을 한 칸으로 */
  .plc .plc-color__band { display: none; }
  .plc .plc-shades { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 12px; margin-top: 28px; }
  .plc .plc-shade { flex: 0 0 calc((100% - 24px) / 3); align-items: center; text-align: center; }
  .plc .plc-shade__tile { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .plc .plc-shade__name { margin-top: 4px; }
  .plc .plc-shade__desc { text-wrap: balance; word-break: keep-all; }
}
@media (max-width: 767px) {
  .plc .plc-shade { flex-basis: calc((100% - 12px) / 2); text-align: center; }
  .plc .plc-shade__name { font-size: 17px; }
  .plc .plc-shade__desc { font-size: 15px; line-height: 22px !important; }
  .plc .plc-note__text { font-size: 14px; line-height: 21px !important; }
  /* 셸의 모바일 p 행간 1.7(!important)에 지던 문단 — 지면이 정한 행간을 지킨다 */
  .plc .plc-face__desc { line-height: 24px !important; }
  .plc .plc-step__desc { line-height: 22px !important; }
  .plc .plc-shape__note { line-height: 16.71px !important; }
}

/* 메인에서 형태·컬러 섹션으로 바로 오는 링크 — 고정 헤더에 제목이 가리지 않게 */
.plc .plc-shape, .plc .plc-color { scroll-margin-top: 100px; }

/* 설명 문장은 끝줄에 한 단어만 남지 않게 */
.plc .plc-note__text, .plc .plc-step__desc, .plc .plc-face__desc { text-wrap: balance; }
@media (max-width: 1599px) {
  .plc .plc-note__text br, .plc .plc-face__desc br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html body .plc details.plc-faq__item:not(.dn-consultbar):not(.dn-cprivacy) > summary::after { transition: none; }
}

/* ── 문자별 강조(시안 글자 단위 스타일) ───────────── */
.plc .plc-hero__en-soft { color: rgba(0, 0, 0, 0.3); }
.plc .plc-intro .plc-head__title strong { font-weight: 700; }
