@charset "utf-8";
/* 프레쉬랩 공통 푸터(#ft.fl-ft) — head.php 에서 모든 페이지에 불러온다. 색·폰트는 freshlab-brand.css 토큰만 사용.
   딥그린 면 위쪽 모서리를 크게 둥글게, 위에 링크 줄 → 얇은 구분선 → '항목명 값' 회사정보 → 저작권 */
.gw-footer-container #ft.fl-ft, #ft.fl-ft { width: 100%; background: transparent; }
/* 위 모서리 둥글기 — 처음부터 고정(PC 96px, 1024px 이하 40px, 576px 이하 32px) */
#ft.fl-ft { --fl-ft-rmax: 96px; }
.fl-ft-inner { padding: 72px 0 64px; background: var(--fl-dark); border-radius: var(--fl-ft-rmax) var(--fl-ft-rmax) 0 0; color: var(--fl-cream); font-family: var(--fl-font); text-align: left; }
/* 오른쪽 여백: 화면 오른쪽에 떠 있는 퀵버튼 묶음(cta.css) 자리 --fl-ft-quick-reserve(화면 끝에서 버튼 묶음 폭 + 여유)를 비워 내용이 가리지 않게 한다.
   가운데 정렬 블록이라 화면이 넓으면 바깥 여백이 그 자리를 이미 비우므로, 모자란 만큼만 안쪽 여백을 늘린다 */
#ft.fl-ft { --fl-ft-quick-reserve: calc(var(--fl-quick-right, 30px) + var(--fl-quick-w, 76px) + 20px); } /* 퀵 버튼 오른쪽 거리 + 폭 + 여유 20px (cta.css 변수) */
.fl-ft-top, .fl-ft-info, .fl-ft-copy {
    --fl-ft-block-w: min(100%, calc(var(--fl-container) + 2 * var(--fl-gutter)));
    max-width: calc(var(--fl-container) + 2 * var(--fl-gutter)); margin: 0 auto; box-sizing: border-box;
    padding: 0 max(var(--fl-gutter), calc(var(--fl-ft-quick-reserve) - (100% - var(--fl-ft-block-w)) / 2)) 0 var(--fl-gutter);
}

/* 링크가 여러 줄로 넘어가도 카톡 버튼은 첫 줄 오른쪽 끝에 둔다(링크·버튼 높이 모두 44px 이라 위 정렬 = 첫 줄 가운데) */
.fl-ft-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 32px; }
.fl-ft-links { display: flex; flex-wrap: wrap; gap: 8px 44px; }
.fl-ft-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 700; text-decoration: none; }
.fl-ft-links a:link, .fl-ft-links a:visited { color: var(--fl-white); }
.fl-ft-links a.is-strong, .fl-ft-links a.is-strong:link, .fl-ft-links a.is-strong:visited { color: var(--fl-mango-on-dark); }
.fl-ft-links a { transition: opacity .2s ease; }
.fl-ft-links a:hover { opacity: .7; } /* 밑줄 없이 살짝 흐려지는 것으로 */
.fl-ft-sns { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--fl-cream) 10%, transparent); text-decoration: none; transition: background .2s ease; }
.fl-ft-sns:link, .fl-ft-sns:visited { color: var(--fl-cream); }
.fl-ft-sns:hover { background: var(--fl-primary); color: var(--fl-white); }
.fl-ft-sns .fl-ico { width: 22px; height: 22px; }
.fl-ft-sns { cursor: pointer; }
.fl-ft-sns.is-disabled { color: var(--fl-cream); } /* 채널 주소가 정해지기 전(링크 없음)에도 호버 시 손가락 커서 */

/* 얇은 구분선 */
.fl-ft-info { display: flex; flex-direction: column; gap: 10px; padding-top: 32px; position: relative; font-size: 15px; line-height: 1.6; }
.fl-ft-row { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; }
.fl-ft-info::before { content: ""; position: absolute; top: 0; left: var(--fl-gutter); right: var(--fl-gutter); border-top: 1px solid color-mix(in srgb, var(--fl-cream) 14%, transparent); }
.fl-ft-row > div { display: flex; gap: 10px; }
.fl-ft-info dt { flex: none; font-weight: 700; color: var(--fl-white); white-space: nowrap; } /* 좁은 폭에서 "주소" 등 항목명이 한 글자씩 끊기지 않게 */
.fl-ft-info dd { margin: 0; color: color-mix(in srgb, var(--fl-cream) 78%, transparent); word-break: keep-all; } /* 주소 등이 "(봉곡동)" 가운데서 끊기지 않게 어절 단위로 줄바꿈 */
.fl-ft-info dd a { text-decoration: none; }
.fl-ft-info dd a:link, .fl-ft-info dd a:visited { color: color-mix(in srgb, var(--fl-cream) 78%, transparent); }
.fl-ft-info dd a:hover { color: var(--fl-white); }
.fl-ft-copy { margin-top: 40px; font-size: 14px; color: color-mix(in srgb, var(--fl-cream) 60%, transparent); }

@media (max-width: 1024px) {
    #ft.fl-ft { padding-bottom: 0; --fl-ft-rmax: 40px; }
    .fl-ft-inner { padding: 56px 0 48px; }
    .fl-ft-links { gap: 4px 28px; }
}
@media (max-width: 576px) {
    #ft.fl-ft { --fl-ft-rmax: 32px; }
    .fl-ft-inner { padding: 36px 0 32px; }
    /* 링크: 3개씩 2줄(화면 폭 전체에 고르게), 그 아래 SNS 버튼. 링크 줄은 퀵 버튼(화면 아래쪽)과 높이가 겹치지 않아 오른쪽 여백을 비우지 않는다 */
    .fl-ft-top { flex-direction: column; align-items: stretch; gap: 14px; padding-bottom: 26px; padding-right: var(--fl-gutter); }
    .fl-ft-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; justify-items: center; } /* 칸마다 가운데 정렬 */
    .fl-ft-links a { min-height: 34px; font-size: 13px; white-space: nowrap; }
    .fl-ft-sns { display: none; } /* 모바일은 카톡 버튼을 빼고(오른쪽 빠른 메뉴에 카톡문의가 있음) 링크만 */
    /* 회사정보: 항목명(작게) 위·값 아래인 칸을 2열로 — 상호|대표, 사업자등록번호|전화, 이메일|개인정보관리책임자, 주소(한 줄 전체) */
    .fl-ft-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; padding-top: 0; font-size: 13px; line-height: 1.5; }
    .fl-ft-row { display: contents; }
    .fl-ft-row > div { flex-direction: column; gap: 2px; min-width: 0; }
    .fl-ft-row:last-child > div:first-child { order: 1; grid-column: 1 / -1; } /* 주소는 맨 아래 한 줄 전체 */
    .fl-ft-info dt { font-size: 12px; font-weight: 600; color: color-mix(in srgb, var(--fl-cream) 55%, transparent); }
    .fl-ft-info dd { color: var(--fl-cream); overflow-wrap: anywhere; }
    .fl-ft-info dd a:link, .fl-ft-info dd a:visited { color: var(--fl-cream); }
    .fl-ft-info::before { display: none; } /* 모바일은 구분선 없이 여백으로만 나눈다 */
    .fl-ft-copy { margin-top: 26px; font-size: 12px; }
}

/* 이용약관·개인정보처리방침 모달 (문의하기 개인정보 모달과 같은 모양) */
.fl-ft-modal { width: min(560px, calc(100% - 32px)); max-height: min(640px, calc(100% - 48px)); padding: 0; border: 0; border-radius: 28px; background: var(--fl-white); box-shadow: 0 30px 80px rgba(20, 12, 7, .25); color: var(--fl-ink); }
.fl-ft-modal[open] { display: flex; flex-direction: column; animation: fl-ft-pop .3s cubic-bezier(.2, .7, .2, 1); }
.fl-ft-modal::backdrop { background: rgba(20, 12, 7, .45); }
@keyframes fl-ft-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.fl-ft-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 16px; border-bottom: 1px solid var(--fl-line); }
.fl-ft-modal-head strong { font-size: 18px; font-weight: 800; color: var(--fl-dark); }
.fl-ft-modal-close { display: flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--fl-cream); font-size: 16px; color: var(--fl-dark); cursor: pointer; }
.fl-ft-modal-close:hover { background: var(--fl-dark); color: var(--fl-white); }
.fl-ft-modal-body { overflow-y: auto; padding: 20px 24px; font-size: 14px; line-height: 1.8; color: var(--fl-ink-2); word-break: keep-all; }
.fl-ft-modal-foot { padding: 14px 24px 22px; border-top: 1px solid var(--fl-line); }
.fl-ft-modal-ok { width: 100%; height: 52px; border: 0; border-radius: 999px; background: var(--fl-dark); font-size: 15px; font-weight: 800; color: var(--fl-white); cursor: pointer; }
.fl-ft-modal-ok:hover { background: var(--fl-primary); }
