@charset "utf-8";
/* 2026-11-25 문의 폼 칸·보내기 버튼 모션(비교 페이지 확인 뒤 같은 날 적용): 사용자 "문의 폼 칸·보내기 버튼 모션 먼저 로컬에서"
   · 등장: 칸마다 밑줄이 왼쪽에서 그어지고 → 라벨·입력칸이 아래에서 올라옴(차례로) → 보내기 글자가 한 자씩 올라온 뒤 밑줄이 그어짐
   · 포커스: 밑줄 위에 형광펜 띠(#A3FE1A)가 왼쪽에서 그어짐, 벗어나면 오른쪽으로 걷힘 · 라벨 앞 초록 점이 톡(입력이 끝난 칸은 진한 점으로 남음)
   · 빈 필수 칸으로 보내기: 그 칸이 빨간 밑줄 + 짧게 좌우로 흔들림(입력하면 풀림)
   · 보내기 버튼: 누르면 누른 자리에서 초록·검정 점이 튀고 버튼이 살짝 눌림 · 마우스를 올리면(마우스 기기만) 밑줄이 오른쪽으로 걷혔다 왼쪽부터 다시 그어짐
   · JS(js/contact-form-fx.js)가 폼에 .fxf 를 붙였을 때만 적용 — 스크립트가 없으면 원래 모습 */
#sub_con.contact_sub01 .input_con.fxf > .field {border-bottom-color:transparent; background:linear-gradient(#bfbfbf, #bfbfbf) no-repeat 0 100% / 100% 1px; transition:background-color 0s;}
#sub_con.contact_sub01 .input_con.fxf > .field:focus-within,
#sub_con.contact_sub01 .input_con.fxf > .field:has(.csel.is_open) {background-image:linear-gradient(#222222, #222222);}

/* 형광펜 띠 */
#sub_con.contact_sub01 .input_con.fxf > .field::after {content:""; position:absolute; left:0; right:0; bottom:1px; height:5px; z-index:0; background-color:var(--green); transform:scaleX(0); transform-origin:100% 50%; transition:transform 0.5s cubic-bezier(0.65,0,0.35,1); pointer-events:none;}
#sub_con.contact_sub01 .input_con.fxf > .field:focus-within::after,
#sub_con.contact_sub01 .input_con.fxf > .field:has(.csel.is_open)::after {transform:scaleX(1); transform-origin:0 50%;}
#sub_con.contact_sub01 .input_con.fxf > .field > input,
#sub_con.contact_sub01 .input_con.fxf > .field > textarea,
#sub_con.contact_sub01 .input_con.fxf > .field > .csel {position:relative; z-index:1;}
#sub_con.contact_sub01 .input_con.fxf > .field > .csel.is_open {z-index:30;}   /* 펼친 목록이 아래 칸(z-index:1 인 textarea)보다 위로 — 같은 1이면 뒤에 오는 textarea 글자가 목록 위에 비쳤음 */

/* 라벨 앞 점 */
#sub_con.contact_sub01 .input_con.fxf > .field > label {display:flex; align-items:center; transition:color 0.3s ease;}
#sub_con.contact_sub01 .input_con.fxf > .field > label::before {content:""; flex:none; width:0; height:8px; margin-right:0; border-radius:50%; background-color:var(--green); transform:scale(0); transition:width 0.4s cubic-bezier(0.65,0,0.35,1), margin-right 0.4s cubic-bezier(0.65,0,0.35,1), transform 0.4s cubic-bezier(0.34,1.8,0.64,1), background-color 0.3s ease;}
#sub_con.contact_sub01 .input_con.fxf > .field:focus-within > label::before,
#sub_con.contact_sub01 .input_con.fxf > .field:has(.csel.is_open) > label::before,
#sub_con.contact_sub01 .input_con.fxf > .field.is_fill > label::before {width:8px; margin-right:8px; transform:scale(1);}
#sub_con.contact_sub01 .input_con.fxf > .field.is_fill:not(:focus-within) > label::before {background-color:#222222;}

/* 빈 필수 칸 */
#sub_con.contact_sub01 .input_con.fxf > .field.is_err {background-image:linear-gradient(#e5484d, #e5484d); animation:fxf-shake 0.42s cubic-bezier(0.36,0.07,0.19,0.97);}
#sub_con.contact_sub01 .input_con.fxf > .field.is_err > label {color:#e5484d;}
#sub_con.contact_sub01 .input_con.fxf > .field.is_err > label::before {width:8px; margin-right:8px; transform:scale(1); background-color:#e5484d;}
@keyframes fxf-shake {0%,100% {translate:0 0;} 20% {translate:-6px 0;} 40% {translate:5px 0;} 60% {translate:-3px 0;} 80% {translate:2px 0;}}

/* 보내기 버튼 — 밑줄을 그림으로(움직이려고) */
#sub_con.contact_sub01 .input_con.fxf > .submit_btn {text-decoration:none; transition:color 0.3s ease, scale 0.25s cubic-bezier(0.65,0,0.35,1);}
#sub_con.contact_sub01 .input_con.fxf > .submit_btn > .ln {position:absolute; left:0; right:0; bottom:0.06em; height:0.06em; min-height:2px; background-color:currentColor; transform-origin:0 50%; pointer-events:none;}
#sub_con.contact_sub01 .input_con.fxf > .submit_btn > .ch {display:inline-block;}
#sub_con.contact_sub01 .input_con.fxf > .submit_btn > .ch_wrap {display:inline-block; overflow:hidden; vertical-align:top; padding-bottom:0.08em; margin-bottom:-0.08em;}
#sub_con.contact_sub01 .input_con.fxf > .submit_btn.is_press {scale:0.97;}
#sub_con.contact_sub01 .input_con.fxf > .submit_btn:focus-visible {outline:2px solid #323232; outline-offset:6px;}
@media (hover:hover) and (pointer:fine) {
	#sub_con.contact_sub01 .input_con.fxf > .submit_btn:hover > .ln {animation:fxf-line 0.7s cubic-bezier(0.65,0,0.35,1);}
}
@keyframes fxf-line {0% {transform:scaleX(1); transform-origin:100% 50%;} 45% {transform:scaleX(0); transform-origin:100% 50%;} 46% {transform:scaleX(0); transform-origin:0 50%;} 100% {transform:scaleX(1); transform-origin:0 50%;}}

/* 튀는 점 */
.fxf_burst {position:fixed; left:0; top:0; z-index:9999; width:0; height:0; pointer-events:none;}
.fxf_burst > i {position:absolute; left:0; top:0; border-radius:50%;}

/* 등장 전(모션 켜진 경우만, JS 가 .fxf-pre 를 붙였다 뗌) */
html.mo #sub_con.contact_sub01 .input_con.fxf.fxf-pre > .field {background-size:0% 1px;}
html.mo #sub_con.contact_sub01 .input_con.fxf.fxf-pre > .field > * {opacity:0; translate:0 16px;}
html.mo #sub_con.contact_sub01 .input_con.fxf.fxf-pre > .submit_btn .ch {translate:0 110%;}
html.mo #sub_con.contact_sub01 .input_con.fxf.fxf-pre > .submit_btn > .ln {transform:scaleX(0);}
html.mo #sub_con.contact_sub01 .input_con.fxf.fxf-run > .field {transition:background-size 0.9s cubic-bezier(0.65,0,0.35,1) calc(var(--i) * 0.09s);}
html.mo #sub_con.contact_sub01 .input_con.fxf.fxf-run > .field > * {transition:opacity 0.6s ease calc(var(--i) * 0.09s + 0.3s), translate 0.8s cubic-bezier(0.65,0,0.35,1) calc(var(--i) * 0.09s + 0.3s);}
html.mo #sub_con.contact_sub01 .input_con.fxf.fxf-run > .submit_btn .ch {transition:translate 0.75s cubic-bezier(0.65,0,0.35,1) calc(0.75s + var(--c) * 0.035s);}
html.mo #sub_con.contact_sub01 .input_con.fxf.fxf-run > .submit_btn > .ln {transition:transform 0.8s cubic-bezier(0.65,0,0.35,1) 1.35s;}

/* 2026-11-25 모바일 JUSTMAKE 흐르는 띠(js/contact-motion.js) — 괄호 바로 오른쪽부터 화면 끝까지 창, 그 안에서 오른쪽→왼쪽으로 흐름 */
@media (max-width:1024px) {
	#sub_con.contact_sub01 > .form_con > .contents_con > .deco02_con > .logo.ct-mq {right:0; overflow:hidden; white-space:nowrap;}
	#sub_con.contact_sub01 .ct-mq-track {display:inline-flex; will-change:transform;}
	#sub_con.contact_sub01 .ct-mq-u {display:inline-flex; align-items:center; flex:none;}
	#sub_con.contact_sub01 .ct-mq-ch {display:inline-block;}
	#sub_con.contact_sub01 .ct-mq-dot {flex:none; display:block; width:0.13em; height:0.13em; margin:0 0.32em; border-radius:50%; background-color:var(--green);}
}
@media (max-width:1024px) {
	/* 글자가 괄호 가운데로 흘러 들어가 사라지게: 창 왼쪽 = 괄호 가운데(20+58/2=49px → 13.6), 처음 글자 자리는 그대로(102px) → 앞 여백 53px(14.722) */
	#sub_con.contact_sub01 > .form_con > .contents_con > .deco02_con > .logo.ct-mq {left:calc(var(--vw) * 13.611); z-index:1;}
	#sub_con.contact_sub01 .ct-mq-track {padding-left:calc(var(--vw) * 14.722);}
	#sub_con.contact_sub01 > .form_con > .contents_con > .deco02_con:has(.ct-mq) > .bracket {z-index:2;}
}
@media (max-width:1024px) {
	/* 2026-11-25 사용자 "모바일은 [ 하나라 애매" → 오른쪽 괄호도 보이게(PC 처럼 [ ] 짝): 붙은 채 나타났다 양끝으로 벌어지고, 글자 띠는 ] 안에서 나와 [ 안으로 흘러 들어감
	   오른쪽 괄호 = 왼쪽과 대칭(오른쪽 끝 20px, 너비 58px → left 282px = 78.333) · 띠 창 오른쪽 끝 = 오른쪽 괄호 가운데(49px = 13.611) */
	#sub_con.contact_sub01 > .form_con > .contents_con > .deco02_con > .bracket.r {display:block; left:calc(var(--vw) * 78.333);}
	#sub_con.contact_sub01 > .form_con > .contents_con > .deco02_con > .logo.ct-mq {right:calc(var(--vw) * 13.611);}
}
@media (max-width:1024px) {
	/* 2026-11-25 사용자 "[ ] 안에서 글자가 약간 잘림"(창 끝을 괄호 가운데에 둬서 둥근 안쪽 선 안에서 글자가 곧게 잘렸음)
	   → 창을 괄호 바깥 끝(양쪽 20px = 5.556)까지 넓히고 괄호를 글자 위에 둠 → 글자는 괄호 둥근 선을 따라 검은 면 뒤로 사라짐 · 처음 글자 자리는 그대로(102px → 앞 여백 82px = 22.778) */
	#sub_con.contact_sub01 > .form_con > .contents_con > .deco02_con > .logo.ct-mq {left:calc(var(--vw) * 5.556); right:calc(var(--vw) * 5.556);}
	#sub_con.contact_sub01 .ct-mq-track {padding-left:calc(var(--vw) * 22.778);}
}

/* 2026-11-25 빈 칸 안내 문구(브라우저 말풍선 대신) — 라벨 줄 오른쪽, 빨간 글자가 아래에서 살짝 올라옴 */
#sub_con.contact_sub01 .input_con.fxf > .field > .fxf_msg {position:absolute; right:0; top:min(5px, calc(var(--vw) * 0.26)); margin:0; font-size:min(14px, calc(var(--vw) * 0.729)); font-weight:600; line-height:min(30px, calc(var(--vw) * 1.5625)); letter-spacing:-0.02em; color:#e5484d; white-space:nowrap; opacity:0; translate:0 6px; transition:opacity 0.3s ease, translate 0.45s cubic-bezier(0.65,0,0.35,1); pointer-events:none;}
#sub_con.contact_sub01 .input_con.fxf > .field.is_err > .fxf_msg {opacity:1; translate:0 0;}
@media (max-width:1024px) {
	#sub_con.contact_sub01 .input_con.fxf > .field > .fxf_msg {top:calc(var(--vw) * 1.389); font-size:calc(var(--vw) * 3.611); line-height:calc(var(--vw) * 7.5);}
}
