:root {
  /* 아파트 분양 : 먹빛 무채색 바탕 + 테라코타 포인트
     ------------------------------------------------------------------
     · 바탕은 흰색과 종이빛 회색, 글자는 먹빛. 색은 포인트 하나만 쓴다.
     · 강조는 '먹빛 블록(.blk)' 과 '얇은 실선(hairline)' 으로 만든다.
     - primary : 제목 · 푸터 · 블록 등 어두운 면
     - point   : 버튼 · 라벨 · 강조 등 시선을 끄는 면 (테라코타)
     ※ 색을 바꾸실 때는 아래 --*-rgb 값도 같이 고쳐 주세요.
        반투명(그림자·덮개)에 쓰는 rgb(var(--primary-rgb) / .3) 이 이 값을 씁니다. */
  --primary-color: #2c2a28;
  --primary-rgb: 44 42 40;
  --secondary-color: #f2eeea;
  --point-color: #ca705b;
  --point-rgb: 202 112 91;
  /* 보조 포인트 : 숫자 · 진행 표시 등 포인트와 나란히 쓰는 주황 */
  --sub-point-color: #d97a3a;
  /* 살구빛 : 원형 아이콘 등 따뜻한 면에 쓴다 */
  --sand-color: #f2e2da;
  /* 짙은 초록 : 입지환경 섹션의 사진 덮개 (자연 · 공원을 이야기하는 자리) */
  --forest-color: #1e3a2e;
  --forest-rgb: 30 58 46;
  --lightgray-color: #f9f8f7;
  --white-color: #ffffff;
  --footerbg-color: transparent;
  --background-color: #faf9f8;

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

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

  /* 섹션 세로 여백 */
  --sec-pad: 14rem;
}

html {
  font-size: 62.5%;
}

@media (max-width: 1280px) {
  html {
    font-size: clamp(9px, 0.78125vw, 10px);
  } /* ~9-10px */
}
@media (max-width: 1024px) {
  html {
    font-size: clamp(9px, 0.9765625vw, 10px);
  } /* ~9-10px */
}
@media (max-width: 768px) {
  html {
    font-size: clamp(8px, 1.3020833vw, 10px);
  } /* ensure min 8px */
}
@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;
  }
}

/* 본문(1440)보다 넓게 쓰는 폭 : 히어로 아래 겹치는 띠 등 */
.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;
  }
}

/* ==========================================================================
   섹션 머리말 — 라벨(em) + 두 줄 제목(span / strong) + 설명(desc)
   --------------------------------------------------------------------------
   레퍼런스(분양 사이트)의 제목 짜임을 그대로 씁니다.
     <div class="title">
       <em>PREMIUM</em>
       <h2><span>매일이 달라지는</span><strong>4가지 이유</strong></h2>
       <p class="desc">…</p>
     </div>
   · em     : 작은 영문 라벨 (테라코타)
   · span   : 가는 획의 윗줄
   · strong : 굵은 획의 아랫줄  (.title.pt 를 붙이면 테라코타로)
   크기는 이 규칙에서만 관리합니다. 각 섹션 파일에서 재정의하지 마세요.
   ========================================================================== */
.title {
  margin-bottom: 6.4rem;
}

.title em {
  display: block;
  margin-bottom: 2rem;

  font-style: normal;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--point-color);
}

.title h2 {
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: var(--text-color);
}

/* 윗줄 : 가늘게 */
.title h2 span {
  display: block;
  font-size: 3.6rem;
  font-weight: 200;
  letter-spacing: -0.03em;
  color: var(--text-color-sub);
}

/* 아랫줄 : 굵게 */
.title h2 strong {
  display: block;
  font-size: inherit;
  font-weight: 700;
}

/* 포인트 변형 : 아랫줄을 테라코타로 */
.title.pt h2 strong {
  color: var(--point-color);
}

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

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

  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.85;
  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(--point-color);
}

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

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

  .title h2 span {
    font-size: 2.8rem;
  }
}

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

  .title h2 span {
    font-size: 2.1rem;
  }

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

/* ※ 히어로 슬로건 크기는 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-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-color);
}

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

/* ==========================================================================
   공통 부품 ② — 먹빛 블록 (사진 모서리에 걸치는 정사각 블록)
   --------------------------------------------------------------------------
   <a class="blk"><span class="bl_tx">about</span><i class="bl_ar"></i></a>
   ========================================================================== */
.blk {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: 13.6rem;
  height: 13.6rem;
  padding: 2rem;

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

/* 링크로 쓰인 블록에만 반응한다 (브랜드 SINCE 블록은 장식용이라 제외) */
a.blk:hover {
  background: var(--point-color);
}

.blk .bl_tx {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-color);
}

/* 화살표는 CSS 로 그린다 (아이콘 라이브러리에 기대지 않는다) */
.blk .bl_ar {
  position: relative;
  display: block;
  width: 2.4rem;
  height: 1px;
  background: var(--white-color);
  transition: transform 0.3s;
}

.blk .bl_ar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;

  width: 0.7rem;
  height: 0.7rem;
  border-top: 1px solid var(--white-color);
  border-right: 1px solid var(--white-color);
  transform: translateY(-50%) rotate(45deg);
}

a.blk:hover .bl_ar {
  transform: translateX(0.4rem);
}

@media (max-width: 768px) {
  .blk {
    width: 10.4rem;
    height: 10.4rem;
    padding: 1.6rem;
  }
}

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

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

.meter .cur {
  font-weight: 700;
  color: var(--point-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.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  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(--point-color);
  border-color: var(--point-color);
  color: var(--white-color);
}

/* 라운드 변형은 쓰지 않지만(각진 테마) 게시판 스킨 호환을 위해 남겨 둔다 */
.default_btn.round,
.default_btn.round::before {
  border-radius: 0;
}

/* ── ② 위·아래 실선 버튼 ─────────────────────────────────── */
.line_btn {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;

  padding: 1.8rem 4rem;

  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-color);

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

.line_btn .ar {
  position: relative;
  display: block;
  width: 2.4rem;
  height: 1px;
  background: currentColor;
}

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

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

.line_btn:hover {
  gap: 1.8rem;
  color: var(--point-color);
  border-color: var(--point-color);
}

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

.line_btn.on_dark:hover {
  color: var(--point-color);
  border-color: var(--point-color);
}

@media (max-width: 768px) {
  .line_btn {
    padding: 1.5rem 2.8rem;
    font-size: 1.3rem;
  }
}

.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;
}
