@charset "utf-8";
/* ============================================================
   LUXIA CHEONGDAM 546 THE RIVER
   Contact : 좌측 이미지 고정 + 우측 컬럼 스크롤 / 관심고객 등록
   원본 style_new.css 는 수정하지 않고 이 파일만 덧입힙니다.
   ============================================================ */

:root {
  --lx-gold: #896e4c;
  --lx-gold-dk: #6b5539;
  --lx-warm: #c1b7a2;
  --lx-ink: #221e1f;
  --lx-muted: #8b8579;
  --lx-line: #e3ddd3;
  --lx-line2: #f0ece5;
  --lx-err: #a4342c;
}

/* ============================================================
   1. 본문 슬라이드 : 좌측 이미지는 멈추고 우측만 스크롤
   .sub_l 과 .sub_r 은 형제 float 이라, 스크롤을 .sub_r 안쪽으로
   가두면 .sub_l 은 자연히 제자리에 남습니다.
   ============================================================ */
.contactp.sub01p .scont_wrap .scont_bottom .sub_r {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--lx-warm) transparent;
}
.contactp.sub01p .scont_wrap .scont_bottom .sub_r::-webkit-scrollbar { width: 4px; }
.contactp.sub01p .scont_wrap .scont_bottom .sub_r::-webkit-scrollbar-thumb { background: var(--lx-warm); }
.contactp.sub01p .scont_wrap .scont_bottom .sub_r::-webkit-scrollbar-track { background: transparent; }

/* .cc 는 height:100% 로 잠겨 있어 내용이 늘어나지 못합니다 */
.contactp.sub01p .scont_wrap .scont_bottom .sub_r .cc {
  height: auto;
  padding-bottom: 0;
}

/* 지도 이미지가 position:absolute; bottom:10% 로 떠 있어
   높이가 크면 빈 공간이, 작으면 겹침이 생깁니다 → 흐름으로 되돌립니다 */
.contactp.sub01p .scont_wrap .scont_bottom .sub_r .cc > img {
  position: static;
  display: block;
  height: 400px;
  width: auto;
  max-width: 100%;
  margin: 44px 0 0;
}

/* ============================================================
   2. 관심고객 등록 : 우측 컬럼 안, 지도 다음에 이어짐
   ============================================================ */
.regp {
  background: #fff;
  border-top: 1px solid var(--lx-line);
  /* 오른쪽은 플로팅 버튼(우 40px + 지름 108px)이 입력요소를 덮지 않도록 여유를 둡니다 */
  margin: 90px 170px 0 100px;
}
.regp .reg_inner {
  padding: 74px 0 120px;
  color: var(--lx-ink);
  font-size: 15px;
  line-height: 26px;
  letter-spacing: -0.3px;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ── 헤드 ── */
.regp .reg_head { margin-bottom: 54px; }
.regp .reg_head .en {
  display: block;
  font-family: 'Seaside Display', 'Federo', serif;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--lx-gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.regp .reg_head h2 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.35;
  font-weight: 300;
  letter-spacing: -1px;
  color: var(--lx-ink);
}
.regp .reg_head .lead {
  margin: 0;
  font-size: 15px;
  line-height: 27px;
  color: var(--lx-muted);
  font-weight: 300;
}
.regp .reg_head .rule { width: 34px; height: 1px; background: var(--lx-gold); margin: 26px 0 0; }

/* ── 입력 필드 ── */
.regp .reg_rows {
  display: flex;
  flex-wrap: wrap;
  gap: 0 48px;
  border-top: 1px solid var(--lx-line);
  padding-top: 8px;
}
.regp .reg_row {
  flex: 0 0 calc(50% - 24px);
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--lx-line2);
}
.regp .reg_row.wide { flex: 0 0 100%; }

.regp .reg_row label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--lx-gold);
  font-weight: 500;
  margin-bottom: 10px;
}
.regp .reg_row label b { color: var(--lx-err); font-weight: 400; margin-left: 2px; }

.regp input[type="text"],
.regp input[type="tel"],
.regp input[type="email"],
.regp input[type="date"],
.regp select {
  width: 100%;
  height: 40px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid var(--lx-line);
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  color: var(--lx-ink);
  letter-spacing: -0.3px;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .25s ease;
}
.regp select {
  background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23896e4c'/%3E%3C/svg%3E") no-repeat right 4px center;
  cursor: pointer;
}
.regp input::placeholder { color: #bdb7ac; font-weight: 300; }
.regp input:focus,
.regp select:focus { border-bottom-color: var(--lx-gold); }
.regp input.is-err,
.regp select.is-err { border-bottom-color: var(--lx-err); }

.regp .err {
  display: none;
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--lx-err);
  letter-spacing: -0.2px;
}
.regp .err.on { display: block; }

/* ── 동의 ── */
.regp .reg_agree { margin-top: 54px; }
.regp .reg_agree + .reg_agree { margin-top: 34px; }
.regp .reg_agree h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--lx-ink);
}
.regp .reg_agree h3 em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--lx-gold);
  border: 1px solid var(--lx-gold);
  padding: 2px 7px;
  margin-right: 8px;
  vertical-align: 2px;
}
.regp .reg_agree h3 em.opt { color: var(--lx-muted); border-color: var(--lx-line); }

.regp .reg_box {
  border: 1px solid var(--lx-line);
  padding: 22px 26px;
  max-height: 224px;
  overflow-y: auto;
  background: #fcfbf9;
  font-size: 13px;
  line-height: 23px;
  color: var(--lx-muted);
  font-weight: 300;
}
.regp .reg_box::-webkit-scrollbar { width: 3px; }
.regp .reg_box::-webkit-scrollbar-thumb { background: var(--lx-warm); }
/* float 로 짜면 dd 가 dt 보다 길 때 행이 통째로 밀립니다 → grid 로 행을 묶습니다 */
.regp .reg_box dl {
  margin: 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: start;
}
.regp .reg_box dt,
.regp .reg_box dd {
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--lx-line2);
}
.regp .reg_box dt { color: var(--lx-ink); font-weight: 500; }
.regp .reg_box dl > dt:last-of-type,
.regp .reg_box dl > dd:last-of-type { border-bottom: 0; }
.regp .reg_box .sm { display: block; font-size: 12px; color: #a39d92; }

.regp .reg_ask {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 20px; margin-top: 16px;
}
.regp .reg_ask p { margin: 0; font-size: 14px; color: var(--lx-ink); font-weight: 400; }
.regp .reg_pick { display: flex; gap: 8px; }
.regp .reg_pick input { position: absolute; opacity: 0; width: 0; height: 0; }
.regp .reg_pick label {
  display: inline-block; min-width: 78px; padding: 9px 0;
  border: 1px solid var(--lx-line); text-align: center;
  font-size: 13px; letter-spacing: 0.5px; color: var(--lx-muted);
  cursor: pointer; transition: all .2s ease;
}
.regp .reg_pick label:hover { border-color: var(--lx-warm); color: var(--lx-ink); }
.regp .reg_pick input:checked + label { border-color: var(--lx-gold); background: var(--lx-gold); color: #fff; }
.regp .reg_pick input:focus-visible + label { outline: 2px solid var(--lx-gold); outline-offset: 2px; }

/* ── 제출 ── */
.regp .reg_foot { margin-top: 48px; text-align: center; }
.regp .reg_submit {
  min-width: 260px; height: 58px; padding: 0 40px;
  border: 1px solid var(--lx-gold); background: var(--lx-gold); color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 400; letter-spacing: 2px;
  cursor: pointer; border-radius: 0;
  transition: background .25s ease, border-color .25s ease;
}
.regp .reg_submit:hover { background: var(--lx-gold-dk); border-color: var(--lx-gold-dk); }
.regp .reg_submit:disabled { opacity: .5; cursor: default; }

.regp .reg_msg { margin: 18px 0 0; font-size: 13px; line-height: 22px; min-height: 22px; color: var(--lx-gold); }
.regp .reg_msg.err { color: var(--lx-err); }
.regp .reg_note { margin: 26px 0 0; font-size: 12px; line-height: 21px; color: #a39d92; font-weight: 300; }

/* ============================================================
   3. 플로팅 관심고객 등록 버튼 (화면 우측 하단 고정)
   ============================================================ */
/* 원본에 a:link{color:#000} 이 있고 특이도(0,1,1)가 .reg_float(0,1,0)보다 높아
   글자가 검게 나옵니다. 링크 상태를 함께 적어 (0,2,0) 으로 확실히 덮습니다. */
.reg_float,
.reg_float:link,
.reg_float:visited,
.reg_float:hover,
.reg_float:active,
.reg_float:focus { color: #fff; }
.reg_float .tx { color: inherit; }

.reg_float {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 1002;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--lx-gold);
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 26px rgba(34, 30, 31, .20);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.reg_float .ar {
  display: block;
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, .8);
  margin: 9px auto 0;
  transition: width .25s ease;
}
.reg_float:hover {
  background: var(--lx-gold-dk);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(34, 30, 31, .26);
}
.reg_float:hover .ar { width: 24px; }
.reg_float:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }

/* ============================================================
   4. 모바일 (원본의 유일한 브레이크포인트에 맞춤)
   ============================================================ */
@media all and (max-width: 1099px) {

  /* 모바일에서는 원본이 .sub_l 을 숨기므로 우측 컬럼이 전체 폭이 됩니다 */
  .contactp.sub01p .scont_wrap .scont_bottom .sub_r .cc > img {
    height: auto;
    max-height: 240px;
    margin: 28px 0 0;
  }

  .regp { margin: 60px 0 0; }
  /* 하단 여백은 플로팅 버튼(78px)이 제출 버튼을 가리지 않을 만큼 둡니다 */
  .regp .reg_inner { padding: 48px 0 140px; font-size: 14px; }

  .regp .reg_head { margin-bottom: 38px; }
  .regp .reg_head h2 { font-size: 25px; }
  .regp .reg_head .lead { font-size: 14px; line-height: 25px; }

  .regp .reg_rows { gap: 0; }
  .regp .reg_row { flex: 0 0 100%; padding: 18px 0 14px; }

  .regp .reg_box { padding: 18px; max-height: 200px; }
  .regp .reg_box dl { grid-template-columns: 1fr; }
  .regp .reg_box dt { padding: 10px 0 0; border-bottom: 0; }
  .regp .reg_box dd { padding: 2px 0 10px; }

  .regp .reg_ask { align-items: flex-start; flex-direction: column; }
  .regp .reg_pick { width: 100%; }
  .regp .reg_pick label { flex: 1 1 0; min-width: 0; }

  .regp .reg_submit { width: 100%; min-width: 0; height: 54px; }

  .reg_float {
    right: 16px;
    bottom: 16px;
    width: 78px;
    height: 78px;
    font-size: 11px;
    line-height: 1.45;
    box-shadow: 0 6px 18px rgba(34, 30, 31, .22);
  }
  .reg_float .ar { margin-top: 6px; width: 12px; }
}


/* ============================================================
   5. 푸터 (2026-09-16) — 좌(안내문)·중(참여사 로고)·우(사업자정보) 3단 배치
      · 우측 사업자정보가 가운데 마케팅 로고를 덮던 문제 해소
      · 우측 텍스트 10px / 2줄 (푸터 높이 70px 유지)
      · 모바일(1099px 이하)은 원본 레이아웃 그대로 두고 PC 에서만 적용
   ============================================================ */
@media all and (min-width: 1100px) {
  #footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  #footer .wrap .duck_foot { flex: 0 0 auto; }
  #footer .wrap .footer_part { position: static; width: auto; order: 2; }
  #footer .wrap .footer_part img { height: 22px; }
  #footer .wrap .copy { position: static; order: 3; flex: 0 0 auto; font-size: 10px; line-height: 15px; }

  /* 푸터가 올라와 있을 때만 플로팅 버튼을 푸터(70px) 위로 — 상단 레이어팝업의 닫기 바를 덮지 않도록 */
  .reg_float { transition: background .25s ease, transform .25s ease, box-shadow .25s ease, bottom .8s cubic-bezier(0.76, 0, 0.24, 1); }
  body:has(#footer.on):not(:has(.popup.on)) .reg_float { bottom: 78px; }
}
