/* BASIC css start */
/* ========================================
   푸터 : 메인 STORY와 같은 남색 배경(#0d171c) / 흰 글자 / 왼쪽 정렬 / 메뉴 4열 + 약관 + 회사 정보
======================================== */
footer {position:relative; background:#0d171c; border-top:0; padding:72px 100px 48px; margin-top:150px; color:#fff;}
 
/* 메뉴 4열 (Our Range / Information / Company / Connect) */
footer .cont1 .inner {display:flex; gap:96px;}
footer .cont1 .inner > div {margin:0;}
footer .cont1 h3 {display:block; position:relative; z-index:1; margin:0 0 24px; font-size:0.938rem; font-weight:600; line-height:1; color:#fff;}
footer .cont1 h3.on {border-bottom:none;}
footer .cont1 a {display:block; padding:0 0 14px; font-size:0.875rem; font-weight:400; line-height:1.2; color:rgba(255,255,255,.85); transition:color .2s;}
footer .cont1 a:hover {color:#fff;}
 
/* Connect : SNS 아이콘 */
footer .cont1 .ft-sns {display:flex; align-items:center; gap:20px; margin:0; padding:0;}
footer .cont1 .ft-sns li {list-style:none;}
footer .cont1 .ft-sns a {display:block; padding:0; transition:opacity .2s;}
footer .cont1 .ft-sns a:hover {opacity:.6;}
footer .cont1 .ft-sns img {display:block; width:24px; height:auto;}
 
/* 약관 링크 + 회사 정보 */
footer .cont3 {margin-top:72px;}
footer .cont3 p {margin:0;}
footer .cont3 .ft-legal {display:flex; flex-wrap:wrap; gap:8px 24px; margin-bottom:20px;}
footer .cont3 .ft-legal span a {font-size:0.875rem; font-weight:400; color:#fff; cursor:pointer; transition:opacity .2s;}
footer .cont3 .ft-legal span a:hover {opacity:.6;}
footer .cont3 .ft-legal .privacy a {font-weight:600; color:#fff;}   /* 개인정보처리방침은 진하게 (국내 표기 기준) */
footer .cont3 .ft-info,
footer .cont3 .ft-info span,
footer .cont3 .ft-info a {font-size:0.75rem; font-weight:300; line-height:1.8; color:rgba(255,255,255,.55);}   /* 조금 어두운 흰색 */
footer .cont3 .ft-info span {display:inline;}
footer .cont3 .ft-info span.line:after {content:''; display:inline-block; position:relative; top:1px; width:1px; height:10px; margin:0 10px; background:rgba(255,255,255,.2);}
footer .cont3 .ft-info a {text-decoration:underline; text-underline-offset:2px;}
footer .cont3 .copyright {margin-top:18px; font-size:0.75rem; font-weight:300; line-height:1; color:rgba(255,255,255,.4);}
 
.ft_dim {position:fixed; left:0; top:0; width:100%; height:100vh; background:rgba(0,0,0,.2); z-index:1; display:none;}
 
/* iframe 팝업 (약관 등) */
.popup {position:fixed; left:0; top:0; width:100%; height:100%; background:rgba(0,0,0,.7); z-index:100; display:none;}
.popup-content {position:absolute; left:50%; top:50%; background:#fff; transform:translate(-50%,-50%); -webkit-transform:translate(-50%,-50%); max-width:1013px; width:1013px; height:70vh;}
.popup-content .inner {width:100%; height:100%;}
.popup #popup-close img {width:45px;}
.popup #popup-closes {position:fixed; right:-10px; top:-50px; cursor:pointer;}
.popup #popup-closes img {width:45px;}
 
 
/******************************* 반응형 *******************************/
 
@media (max-width:1440px) {
    footer {padding:60px 5vw 40px; margin-top:120px;}
    footer .cont1 .inner {gap:64px;}
}
 
@media (min-width:1025px) {
    .txtLink {display:block !important;}
}
 
/* tablet · mobile : 메뉴는 눌러서 펼치는 방식 */
@media (max-width:1024px) {
    footer {padding:0 0 36px; margin-top:95px;}
 
    footer .cont1 .inner {display:block;}
    footer .cont1 .inner > div {position:relative; margin:0;}
    footer .cont1 h3 {margin:0; padding:0 50px 0 20px; font-size:0.938rem; line-height:56px; border-bottom:1px solid rgba(255,255,255,.12);}
    footer .cont1 a {padding:0 20px 0 20px; line-height:34px; font-size:0.875rem;}
    footer .cont1 .inner .txtLink {display:none; padding:8px 0 16px; border-bottom:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.03);}
    footer .cont1 .inner .open {position:absolute; right:0; top:10px; width:50px; transition:all .3s ease;}
    footer .cont1 .inner .open span {position:absolute; top:18px; left:50%; display:inline-block; width:11px; height:1px; margin-left:-5.5px; background:#fff; transition:all .3s ease;}
    footer .cont1 .inner .open span:last-child {transform:rotate(90deg); -webkit-transform:rotate(90deg);}
    footer .cont1 .inner .open.active span:last-child {opacity:0;}
 
    footer .cont1 .ft-sns {padding:6px 20px 4px;}
    footer .cont3 {margin-top:32px; padding:0 20px;}
    footer .cont3 .ft-legal {gap:8px 18px; margin-bottom:16px;}
    footer .cont3 .ft-legal span a {font-size:0.813rem;}
    footer .cont3 .ft-info br {display:none;}
    footer .cont3 .ft-info span {display:block; line-height:1.7;}
    footer .cont3 .ft-info span.line:after {display:none;}
    footer .cont3 .ft-info, footer .cont3 .ft-info span, footer .cont3 .ft-info a {word-break:keep-all;}
 
    .popup-content {width:88%;}
    .popup #popup-closes {top:-45px;}
    .popup #popup-closes svg {width:40px !important;}
}
 
@media (max-width:768px) {
    footer .cont3 .ft-info, footer .cont3 .ft-info span, footer .cont3 .ft-info a, footer .cont3 .copyright {font-size:0.688rem;}
}
 
/* ========================================
   오른쪽 아래 떠 있는 버튼 2개 (위 : 맨 위로 / 아래 : 인포)
   - 같은 크기 원형(PC 48px / 모바일 44px), 오른쪽 끝 맞춤, 세로 간격 12px
   - 인포 = 진한 남색(눌러야 하는 버튼) / 맨 위로 = 흰색(보조 버튼)
   - 마우스 오버 : 둘 다 파란색(#00a0e9)
   ※ 인포 버튼(.infoTab)은 헤더에 있는 코드를 그대로 두고 모양만 여기서 바꿈
======================================== */
 
/* 맨 위로 */
.top-btn {position:fixed; right:24px; bottom:84px; z-index:999; display:flex !important; align-items:center; justify-content:center; width:48px; height:48px; border-radius:50%; background:#fff; color:#111; border:1px solid #e3e3e3; box-shadow:0 4px 14px rgba(0,0,0,.10); cursor:pointer; opacity:0; visibility:hidden; transform:translateY(8px); transition:opacity .3s, visibility .3s, transform .3s, background .2s, color .2s, border-color .2s;}
.top-btn.is-show {opacity:1; visibility:visible; transform:translateY(0);}   /* 300px 내려가면 나타남 */
.top-btn svg {display:block; width:18px; height:18px;}
@media (hover:hover){ .top-btn:hover {background:#00a0e9; border-color:#00a0e9; color:#fff;} }
 
/* 인포 버튼 */
body .infoTab {right:24px; bottom:24px; width:48px; height:48px; border-radius:50%; background:#0d171c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='7.2' r='.6' fill='%23fff'/%3E%3Cpath d='M12 11v7'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow:0 4px 14px rgba(0,0,0,.18); transition:background-color .2s;}
body .infoTab img {position:absolute; inset:0; width:100% !important; height:100% !important; opacity:0;}   /* 기존 아이콘 이미지는 투명하게 두고 클릭만 받음 (열고 닫기는 기존 헤더 JS 그대로) */
@media (hover:hover){ body .infoTab:hover {background-color:#00a0e9;} }
/* 메뉴가 열려 있을 때 : X 아이콘 */
body .infoTab:has(.info-close[style]:not([style*="none"])) {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");}
 
/* 인포 메뉴 카드 : 버튼 왼쪽에 열림 (맨 위로 버튼과 안 겹치게) */
body .infoTab ul {right:60px; bottom:0; width:200px; padding:12px 22px; text-align:left; background:#fff; border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.14);}
body .infoTab ul li {line-height:1;}
body .infoTab ul li:has(h3), body .infoTab ul li h3 {display:none;}   /* INFORMATION 제목 숨김 */
body .infoTab ul li a {display:block; padding:9px 0; font-size:0.875rem; font-weight:400; color:#111; transition:color .2s;}
@media (hover:hover){ body .infoTab ul li a:hover {color:#00a0e9;} }
 
/* 모바일 */
@media (max-width:1024px) {
    .top-btn {right:16px; bottom:72px; width:44px; height:44px;}
    body .infoTab {right:16px; bottom:16px; width:44px; height:44px; background-size:20px;}
    body .infoTab ul {right:56px; bottom:0;}
    body .infoTab ul li a {font-size:0.875rem;}
}
/* ===== 푸터 CSS 끝 ===== */
 
/* BASIC css end */

