:root {
  /* 피부관리 전문점 : 흰 바탕 + 무채색 (먹빛 · 회색) — 색을 거의 쓰지 않는다
     ------------------------------------------------------------------
     · 바탕은 흰색과 옅은 회색, 글자는 먹빛. 포인트도 먹빛이다.
     · 강조는 굵기가 아니라 '자간 넓은 영문 · 얇은 실선 · 검은 사각 블록' 으로 만든다.
     - primary : 제목 · 블록 · 버튼 등 검은 면
     - point   : 라벨 · 강조 (무채색이라 primary 와 같다)
     - deep    : 배너 · 오시는 길 사진 덮개
     ※ 색을 바꾸실 때는 아래 --*-rgb 값도 같이 고쳐 주세요.
        반투명(그림자·덮개)에 쓰는 rgb(var(--primary-rgb) / .3) 이 이 값을 씁니다. */
  --primary-color: #1a1a1a;
  --primary-rgb: 26 26 26;
  --secondary-color: #ececec;
  --point-color: #1a1a1a;
  --point-rgb: 26 26 26;
  /* 보조 포인트 : 어두운 바탕 위 라벨 · 진행 표시 (밝은 회색) */
  --sub-point-color: #bdbdbd;
  /* 옅은 회색 면 : 원형 아이콘 · 카드 바탕 */
  --sand-color: #f2f2f2;
  /* 짙은 먹빛 : 배너 · 오시는 길 사진 덮개 */
  --deep-color: #111111;
  --deep-rgb: 17 17 17;
  --lightgray-color: #f7f7f7;
  --white-color: #ffffff;
  --footerbg-color: transparent;
  --background-color: #f2f2f2;

  --line-color: #e3e3e3;
  /* 강조 실선 : 라벨 밑줄 · 섹션 구분선 */
  --line-strong: #1a1a1a;
  --text-color: #1a1a1a;
  /* 본문 보조 텍스트 : 각 섹션에서 광범위하게 쓰이므로 여기서 한 번만 정의 */
  --text-color-sub: #666666;
  /* 라벨 · 날짜처럼 더 옅게 두는 글자 */
  --text-color-mute: #9a9a9a;

  /* 본문 폭 : 헤더 · 히어로 · 모든 섹션 · 푸터가 이 한 선을 함께 쓴다 */
  --inner-size: 1560px;
  /* .w_inner_wide 용 폭 (지금은 본문과 같은 선을 쓴다) */
  --wide-size: var(--inner-size);

  /* 섹션 세로 여백 */
  --sec-pad: 14rem;
  /* ── 서브페이지 · 게시판이 쓰는 값 ──────────────────────────
     이 이름들은 base.css(모던 공용)에도 있지만 거기 값은 모던의
     회색입니다. 여기서 이 테마 색으로 덮어써야 메인과 서브페이지의
     글자색이 같아집니다. 색을 바꾸실 때 위 값과 함께 맞춰 주세요. */
  --body-color:      #1a1a1a; /* 본문 (서브페이지 · 게시판) */
  --headline-color:  #1a1a1a; /* 제목 (서브페이지 · 게시판) */
  --muted-color:     #666666; /* 보조 설명 · 캡션 */
  --inner-pad:       2.4rem; /* .inner 좌우 여백. 서브 상단 · LNB 줄이 이 값을 따라간다 */

  /* ── 포인트 색에서 뽑아 쓰는 값 ─────────────────────────────
     base.css(모던 공용)에도 같은 이름이 있지만 거기 값은 모던의
     빨강 계열입니다. --point-color 를 바꾸시면 아래도 함께
     맞춰 주셔야 호버 · 옅은 면 색이 따라옵니다. */
  --point-dark:    #151515; /* 포인트 호버 (어둡게) */
  --point-light:   #636363; /* 옅은 강조 — 글자 · 테두리 */
  --point-on:      #ffffff; /* 포인트 위에 얹는 글자색 */
  --point-soft:    #ededed; /* 아주 옅은 배경면 */

  --dark-color:    #1a1a1a; /* 다크 패널 배경 (테마 기본색과 같은 톤) */
  --dark-rgb:      26, 26, 26; /* --dark-color 의 rgb (반투명 막용) */

}

html {
  font-size: 62.5%;
}

@media (max-width: 1280px) {
  html {
    font-size: clamp(9px, 0.78125vw, 10px);
  }
}
@media (max-width: 1024px) {
  html {
    font-size: clamp(9px, 0.9765625vw, 10px);
  }
}
@media (max-width: 768px) {
  html {
    font-size: clamp(8px, 1.3020833vw, 10px);
  }
}
@media (max-width: 480px) {
  html {
    font-size: clamp(8px, 2.0833333vw, 10px);
  }
}

@media (min-width: 480px) {
  a[href^="tel"] {
    pointer-events: none; /* 클릭 차단 */
    cursor: default; /* 클릭 불가 표시 */
  }
}

body {
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--text-color);
  word-break: keep-all;
  hyphens: auto;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.inner {
  max-width: var(--inner-size);
  margin: 0 auto;
  padding: 0 2.4rem;
}

@media (max-width: 768px) {
  .inner {
    padding: 0 1.6rem;
  }
}

.w_inner {
  max-width: var(--inner-size);
  margin: 0 auto;
  padding: 0 2.4rem;
}

@media (max-width: 768px) {
  .w_inner {
    padding: 0 1.6rem;
  }
}

.w_inner_r {
  max-width: calc((100% - var(--inner-size)) / 2 + var(--inner-size));
  margin: 0 0 0 auto;
  padding: 0 0 0 2.4rem;
}

@media (max-width: 768px) {
  .w_inner_r {
    padding: 0 1.6rem;
  }
}

/* .w_inner 와 같은 선 */
.w_inner_wide {
  max-width: var(--wide-size);
  margin: 0 auto;
  padding: 0 2.4rem;
}

@media (max-width: 768px) {
  .w_inner_wide {
    padding: 0 1.6rem;
  }
}

.default {
  position: relative;
  padding: var(--sec-pad) 0;
}

.default.bg {
  background: var(--background-color);
}

@media (max-width: 1024px) {
  :root {
    --sec-pad: 10rem;
  }
}

@media (max-width: 768px) {
  :root {
    --sec-pad: 7.2rem;
    /* 좁은 화면에서는 .inner 여백이 줄어든다.
       서브 상단 · LNB 줄도 이 값을 따라간다. */
    --inner-pad: 1.6rem;
  }
}

/* ==========================================================================
   섹션 머리말 — 작은 영문 라벨(span) + 제목(strong) + 설명(desc)
   --------------------------------------------------------------------------
     <div class="title">
       <h2><span>About</span><strong>피부를 읽는 사람들</strong></h2>
       <p class="desc">…</p>
     </div>
   · span   : 작은 영문 라벨 (Jost · 자간 넓게 · 옅게)
   · strong : 제목 (가장 얇게 · 크게)
   크기는 이 규칙에서만 관리합니다. 각 섹션 파일에서 재정의하지 마세요.
   ========================================================================== */
.title {
  margin-bottom: 6.4rem;
}

/* 제목 : 얇게(100), 크게 */
.title h2 {
  font-size: 4rem;
  font-weight: 100;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-color);
}

/* 윗줄 : 작은 라벨 */
.title h2 span {
  display: block;
  margin-bottom: 2.4rem;
  font-family: var(--font-disp);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-color-mute);
}

/* 아랫줄 : 제목 */
.title h2 strong {
  display: block;
  font-size: inherit;
  font-weight: 100;
}

/* 포인트 변형은 무채색이라 색을 바꾸지 않는다 */
.title.pt h2 strong {
  letter-spacing: 0.01em;
}

/* 가운데 정렬 변형 */
.title.center {
  text-align: center;
}

.title .desc {
  max-width: 62rem;
  margin-top: 2.4rem;

  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2.1;
  letter-spacing: 0.02em;
  color: var(--text-color-sub);
}

.title.center .desc {
  margin-left: auto;
  margin-right: auto;
}

/* 제목 안 강조 단어 */
.title h2 i {
  font-style: normal;
  font-weight: inherit;
  color: var(--text-color);
}

@media (max-width: 1024px) {
  .title {
    margin-bottom: 4.8rem;
  }

  .title h2 {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .title h2 {
    font-size: 3rem;
  }

  .title h2 span {
    margin-bottom: 1.6rem;
    font-size: 1.2rem;
  }

  .title .desc {
    font-size: 1.45rem;
  }
}

/* ※ 히어로 슬로건 크기는 main_html/main_hero.html 의 <style> 에서 관리합니다. */

/* 화면 폭에 따라 줄바꿈(<br>)을 켜고 끄는 유틸 */
@media (max-width: 768px) {
  .pc_only {
    display: none;
  }
}

/* ==========================================================================
   공통 부품 ① — 라벨 + 밑줄
   --------------------------------------------------------------------------
   작은 라벨 아래로 실선이 열 끝까지 이어지는 형태.
   글 묶음 · 카드 · 표 머리말 어디에나 쓴다.
   ========================================================================== */
.lb_rule {
  display: block;
  padding-bottom: 1.2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line-strong);

  font-family: var(--font-disp);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-color);
}

/* 옅은 변형 : 실선을 회색으로 */
.lb_rule.thin {
  border-bottom-color: var(--line-color);
  color: var(--text-color-mute);
}

/* ==========================================================================
   공통 부품 ② — 슬라이드 카운터 + 진행선  ( 01 / 03 ———— )
   ========================================================================== */
.meter {
  display: flex;
  align-items: center;
  gap: 1.2rem;

  font-family: var(--font-disp);
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
  color: var(--text-color-mute);
}

.meter .cur {
  font-weight: 500;
  color: var(--text-color);
}

.meter .bar {
  flex: 1;
  display: block;
  min-width: 6rem;
  height: 1px;
  background: var(--line-color);
}

.meter .bar i {
  display: block;
  width: 33.33%;
  height: 100%;
  background: var(--point-color);
  transition: width 0.6s;
}

/* 화살표 버튼 (슬라이드 좌우) */
.sld_nav {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 3.6rem;
  height: 3.6rem;
  padding: 0;

  background: none;
  border: 0;
  color: var(--text-color);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.3s;
}

.sld_nav:hover {
  opacity: 1;
}

.sld_nav::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.sld_nav.prev::before {
  transform: rotate(-135deg);
}

.sld_nav.next::before {
  transform: rotate(45deg);
}

/* ==========================================================================
   버튼
   --------------------------------------------------------------------------
   ① .default_btn : 각진 외곽선 → 호버 시 아래에서 먹빛이 차오른다
   ② .line_btn    : 외곽선 버튼 (글자 왼쪽 · 화살표 오른쪽 끝)
   ========================================================================== */
.default_btn {
  position: relative;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 5.2rem;

  padding: 0 3.6rem;
  overflow: hidden;

  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-color);
  background: transparent;
  border: 1px solid var(--text-color);
  border-radius: 0;
  white-space: nowrap;
}

.default_btn:hover {
  color: var(--white-color);
}

.default_btn::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: auto;
  left: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 0;

  background: var(--primary-color);
  transition: 0.4s;
}

.default_btn:hover::before {
  top: auto;
  bottom: 0;
  height: 100%;
}

/* 채운 변형 : 검은 바탕 (올리면 회색) */
.default_btn.fill {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

.default_btn.fill::before {
  background: #444;
}

/* 라운드 변형 : 게시판 스킨 호환용 */
.default_btn.round,
.default_btn.round::before {
  border-radius: 0;
}

/* ── ② 외곽선 버튼 (글자 왼쪽 · 화살표 오른쪽 끝) ─────────── */
.line_btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.2rem;

  min-width: 24rem;
  padding: 1.6rem 2rem 1.6rem 2.4rem;

  font-family: var(--font-disp);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-color);

  border: 1px solid var(--line-strong);
  white-space: nowrap;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}

.line_btn .ar {
  position: relative;
  display: block;
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s;
}

.line_btn .ar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;

  width: 0.5rem;
  height: 0.5rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.line_btn:hover {
  color: var(--white-color);
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.line_btn:hover .ar {
  transform: translateX(0.4rem);
}

/* 어두운 바탕 위에 놓는 변형 */
.line_btn.on_dark {
  color: var(--white-color);
  border-color: rgba(255, 255, 255, 0.6);
}

.line_btn.on_dark:hover {
  color: var(--text-color);
  background: var(--white-color);
  border-color: var(--white-color);
}

@media (max-width: 768px) {
  .line_btn {
    min-width: 20rem;
    padding: 1.4rem 1.6rem 1.4rem 2rem;
    font-size: 1.15rem;
  }
}

.icon_btn {
  position: relative;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  height: 4.8rem;

  padding: 0 9.6rem 0 4.8rem;
  overflow: hidden;

  color: var(--white-color);
  white-space: nowrap;
}

.icon_btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 4.8rem;

  background: var(--primary-color);
}

.icon_btn::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4.8rem;
  height: 4.8rem;

  background: rgba(0, 0, 0, 0.1) url(../lib/icon/arrow-right.svg) no-repeat
    center center;
  filter: invert();
}

.icon_btn_write {
  position: relative;
  z-index: 1;

  margin-top: 4rem;

  display: inline-flex;
  align-items: center;
  height: 4.8rem;
  border-radius: 4.8rem;
  padding: 0 2.4rem 0 8rem;
  overflow: hidden;

  color: var(--white-color);
  white-space: nowrap;
}

.icon_btn_write::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 4.8rem;
  border-radius: 4.8rem;
  background: var(--primary-color);
}

.icon_btn_write::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 4.8rem;
  background: rgba(0, 0, 0, 0.1) url(../lib/icon/edit-3.svg) no-repeat center
    center;

  filter: invert();
}

.icon_btn_cancel {
  position: relative;
  z-index: 1;

  margin-top: 4rem;

  display: inline-flex;
  align-items: center;
  height: 4.8rem;
  border-radius: 4.8rem;
  padding: 0 2.4rem 0 8rem;
  overflow: hidden;

  color: var(--white-color);
  white-space: nowrap;
}

.icon_btn_cancel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 4.8rem;
  border-radius: 4.8rem;
  background: var(--point-color);
}

.icon_btn_cancel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 4.8rem;
  background: rgba(0, 0, 0, 0.1) url(../lib/icon/x.svg) no-repeat center center;

  filter: invert();
}

.flx {
  display: flex;
  gap: 3rem;
}

.flx > * {
  flex: 1;
  min-width: 0;
}

hr.hr {
  display: block;
  border: 1px solid transparent;
  margin: 4rem 0;
}
hr.hr_line {
  display: block;
  border: 1px solid transparent;
  border-top: 1px solid var(--line-color);
  margin: 12rem 40%;
}

.table_responsive {
  overflow-x: auto;
}

.iframe_wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.iframe_wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.design {
  margin-top: 1.6rem;
  font-size: 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
}

.pg_current {
  display: inline-block;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: #fff;
  font-weight: bold;
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
  min-width: 30px;
  border-radius: 3px;
}
.pg_wrap {
  clear: both;
  float: none;
  display: block;
  margin-top: 4rem;
}
