@charset "UTF-8";
@import url("sub.css"); /* 서브 공통 */

/*******************************************************************************
    관심고객 (customer) — 관심고객등록 (2026-11-16)
    폼메일 스킨: twcenter/form/skin/rivForm
*******************************************************************************/
#customer { padding-bottom: 200px; }
#customer .reg_wrap { margin-top: 80px; }

#customer .reg { width: 1050px; max-width: 90%; margin: 0 auto; padding: 50px; background: #fff; box-shadow: 0 8px 25px rgba(0,0,0,.06); }
#customer .reg__rows { display: flex; flex-direction: column; gap: 10px; }
#customer .reg__row { display: flex; align-items: center; gap: 20px; }
#customer .reg__row label { flex: 0 0 150px; font-size: 1rem; font-weight: 600; line-height: 32px; letter-spacing: -.04em; }
#customer .reg__row label i { font-style: normal; color: #4a6b56; }
#customer .reg__row input, #customer .reg__row textarea { flex: 1; min-width: 0; height: 48px; padding: 0 20px; border: 1px solid #dbdde3; font: inherit; font-size: 0.889rem; letter-spacing: -.04em; color: #111; outline: 0; transition: border-color .25s; }
#customer .reg__row textarea { height: 160px; padding: 15px 20px; resize: vertical; line-height: 28px; }
#customer .reg__row input::placeholder, #customer .reg__row textarea::placeholder { color: rgba(17,17,17,.36); }
#customer .reg__row input:focus, #customer .reg__row textarea:focus { border-color: var(--main); }
#customer .reg__row input.is-err { border-color: #c0392b; }
#customer .reg__row--ta { align-items: flex-start; }
#customer .reg__row--ta label { padding-top: 13px; }
#customer .reg__row--ta { margin-top: 10px; }
#customer .agree { margin-top: 30px; padding: 20px; background: #f4f6f5; }
#customer .chk { display: inline-flex; align-items: center; gap: 5px; font-size: 0.889rem; line-height: 28px; letter-spacing: -.04em; cursor: pointer; }
#customer .chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#customer .chk i { flex: none; box-sizing: border-box; width: 28px; height: 28px; border: 1px solid #bbb; border-radius: 3px; background: #fff; position: relative; transition: background .2s,border-color .2s; }
#customer .chk i::after { content: ""; position: absolute; left: 9px; top: 3px; width: 7px; height: 13px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; }
#customer .chk input:checked+i { background: var(--main); border-color: var(--main); }
#customer .chk input:checked+i::after { opacity: 1; }
#customer .chk input:focus-visible+i { outline: 2px solid var(--main); outline-offset: 2px; }
#customer .chk em { font-weight: 600; letter-spacing: -.05em; color: var(--main); }
#customer .agree li .chk { color: rgba(0,0,0,.7); }
#customer .chk--all { display: flex; box-sizing: border-box; height: 48px; align-items: flex-start; border-bottom: 1px dashed #ddd; }
#customer .chk--all b { font-size: 1rem; font-weight: 600; line-height: 32px; letter-spacing: -.04em; }
#customer .agree ul { margin-top: 15px; display: flex; flex-direction: column; gap: 8px; }
#customer .agree li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#customer .agree__view { flex: none; font-size: 0.889rem; font-weight: 600; line-height: 28px; letter-spacing: -.05em; color: var(--main); text-decoration: underline; text-underline-offset: 3px; }
#customer .reg__foot { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#customer .reg__captcha img { width: 308px; height: auto; }
#customer .btn-submit { position: relative; width: 180px; height: 55px; background: var(--main); color: #fff; font-size: 0.778rem; font-weight: 800; overflow: hidden; }
#customer .btn-submit::before { content: ""; position: absolute; left: 50%; bottom: -15px; width: 25px; aspect-ratio: 1; border-radius: 50%; background: var(--white); opacity: 0; transform: translateX(-50%) scale(1); transition: opacity .5s ease-out, transform .5s ease-out; } /* View More 와 같은 원 확장 모션 (2026-11-17 v55) */
#customer .btn-submit:hover::before { opacity: 1; transform: translateX(-50%) scale(10.84); }
#customer .btn-submit span { position: relative; z-index: 1; transition: color .5s ease-out; }
#customer .btn-submit:hover span { color: var(--main); }
/* 약관 내용보기 팝업 — body 바로 아래로 옮겨 띄움(헤더·퀵메뉴 위), 내용이 길면 본문만 스크롤 (2026-11-16) */
.terms_modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 40px 20px; box-sizing: border-box; }
.terms_modal[hidden] { display: none; }
.terms_modal__dim { position: absolute; inset: 0; background: rgba(2,21,32,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: tmFade .4s ease both; }
.terms_modal__box { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 640px; max-height: min(720px, 100%); background: var(--white); box-shadow: 0 30px 60px rgba(0,0,0,.25); animation: tmIn .55s cubic-bezier(.2,.7,.2,1) both; }
.terms_modal__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 0 20px; padding: 22px 24px 22px 30px; background: var(--main); }
.terms_modal__tit { font-size: 1.111rem; font-weight: 600; line-height: 1.5; letter-spacing: -0.8px; color: var(--white); }
.terms_modal__x { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; color: var(--white); opacity: .8; cursor: pointer; transition: opacity .2s linear, transform .3s ease; }
.terms_modal__x::before { content: '\e5cd'; font-family: var(--icon); font-size: 28px; line-height: 1; }
.terms_modal__x:hover { opacity: 1; transform: rotate(90deg); }
.terms_modal__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 30px; font-size: 0.889rem; line-height: 1.75; letter-spacing: -0.64px; color: var(--basic); scrollbar-width: thin; scrollbar-color: #c3ccd1 transparent; }
.terms_modal__body::-webkit-scrollbar { width: 6px; }
.terms_modal__body::-webkit-scrollbar-thumb { background: #c3ccd1; border-radius: 3px; }
.terms_modal__body::-webkit-scrollbar-track { background: transparent; }
.terms_modal__list { border-top: 2px solid var(--main); }
.terms_modal__list > div { display: flex; border-bottom: 1px solid var(--border); }
.terms_modal__list dt { flex: none; width: 110px; padding: 14px 16px; background: var(--grayBg); font-weight: 600; color: var(--black); box-sizing: border-box; }
.terms_modal__list dd { flex: 1; min-width: 0; padding: 14px 16px; word-break: keep-all; }
.terms_modal__note { margin-top: 16px; padding-left: 1.1em; text-indent: -1.1em; font-size: 0.833rem; color: #75797E; }
.terms_modal__body > p + p { margin-top: 10px; }
.terms_modal__foot { flex: none; display: flex; justify-content: center; padding: 20px 30px 30px; }
.terms_modal__ok { width: 180px; height: 55px; border: 0; background: var(--main); font-size: 0.889rem; font-weight: 700; color: var(--white); cursor: pointer; transition: background-color .3s ease; }
.terms_modal__ok:hover { background: #0b4566; }
/* 팝업 본문 — 페이지관리(reg_agree1~3) 내용을 개인정보처리방침(.policy_cont) 구성으로 표시 (2026-11-17) */
.terms_modal__body .policy_cont { font-size: inherit; }
.terms_modal__body .policy_cont .cont_txt { padding-bottom: 0; }
.terms_modal__body .policy_cont p.cont_tit { font-size: 1.063em !important; padding-bottom: 6px; }
.terms_modal__body .policy_cont .cont_txt + .cont_tit { margin-top: 28px; }
.terms_modal__body .policy_cont .cont_box { margin: 12px 0; padding: 20px 22px; }
html.tm-lock, html.tm-lock body { overflow: hidden; }
@keyframes tmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tmIn { from { opacity: 0; transform: translate3d(0,24px,0); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@media (prefers-reduced-motion: reduce){ .terms_modal__dim, .terms_modal__box { animation: none; } }
#customer .reg__captcha { min-height: 78px; }
#customer .reg { box-sizing: border-box; }
#customer .reg__row label { color: var(--black); }
#customer .reg__row input, #customer .reg__row textarea { box-sizing: border-box; }
#customer .reg__row input::-webkit-input-placeholder, #customer .reg__row textarea::-webkit-input-placeholder { font-size: inherit; }
#customer .reg__row input::placeholder, #customer .reg__row textarea::placeholder { font-size: inherit; }
#customer .chk { color: #555; }
#customer .chk em { font-style: normal; }
#customer .chk--all b { color: var(--black); }
#customer .agree__view { padding: 0; border: 0; background: none; cursor: pointer; }
#customer .btn-submit { border: 1px solid var(--main); box-sizing: border-box; cursor: pointer; }

/*******************************************************************************
    @media ~1500px
*******************************************************************************/
@media all and (max-width:1500px){

}
/*******************************************************************************
    @media ~1300px
*******************************************************************************/
@media all and (max-width:1300px){



}
/*******************************************************************************
    @media 769~980px
*******************************************************************************/
@media all and (max-width:980px){

#customer { padding-bottom: 100px; }
#customer .reg_wrap { margin-top: 50px; }
#customer .reg__captcha:empty { display: none; }
#customer .reg { max-width: calc(100% - 40px); padding: 24px 18px; }
#customer .reg__row { flex-direction: column; align-items: stretch; gap: 6px; }
#customer .reg__row label { flex: none; font-size: 1rem; line-height: 24px; }
#customer .reg__row--ta label { padding-top: 0; }
#customer .reg__row input, #customer .reg__row textarea { flex: none; width: 100%; }
#customer .reg__row input { height: 46px; font-size: 1rem; padding: 0 14px; }
#customer .reg__row textarea { height: 130px; font-size: 1rem; padding: 12px 14px; }
#customer .agree { padding: 16px; }
#customer .chk { font-size: 0.866rem; line-height: 20px; align-items: flex-start; }
#customer .chk i { width: 24px; height: 24px; }
#customer .chk i::after { left: 7px; top: 2px; width: 6px; height: 11px; }
#customer .chk--all { height: 40px; }
#customer .chk--all b { font-size: 1rem; line-height: 22px; }
#customer .agree li { align-items: flex-start; }
#customer .agree__view { font-size: 0.866rem; line-height: 20px; }
#customer .reg__foot { flex-direction: column; align-items: stretch; }
#customer .reg__captcha img { width: 260px; }
#customer .reg__foot { align-items: center; } /* 980 이하 리캡차·버튼 가운데 (2026-11-17) */

}
/*******************************************************************************
    @media 481~680px
*******************************************************************************/
@media all and (max-width:680px){

#customer { padding-bottom: 60px; }
#customer .reg_wrap { margin-top: 30px; }
#customer .reg__captcha .g-recaptcha { transform: scale(.85); transform-origin: 50% 0; margin-bottom: -12px; }
#customer .chk i { width: 20px; height: 20px; }
#customer .chk i::after { left: 6px; top: 2px; width: 5px; height: 10px; }
#customer .btn-submit { width: 150px; height: 46px; }
#customer .agree li .chk { display: block; position: relative; padding-left: 25px; } /* 680 이하 동의 문구 한 줄 흐름으로 (2026-11-17) */
#customer .agree li .chk i { position: absolute; left: 0; top: 0; }


.terms_modal { padding: 20px 15px; }
.terms_modal__box { max-height: 100%; }
.terms_modal__head { padding: 16px 14px 16px 20px; }
.terms_modal__tit { font-size: 1rem; }
.terms_modal__body { padding: 20px; }
.terms_modal__list dt { width: 84px; padding: 12px; }
.terms_modal__list dd { padding: 12px; }
.terms_modal__foot { padding: 15px 20px 20px; }
.terms_modal__ok { width: 100%; height: 50px; }
}
