.wrap{ width: 95%; margin: 0 auto; }
.wrap[max="1600"]{ max-width: 1600px; }

@media screen and (max-width: 820px){
    .wrap{ width: 90%; }
}

/* 메뉴 공통 */
.menu{ display: flex; height: 100%; justify-content: flex-end; }
.menu > li{ position: relative; height: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; }
.menu > li > a{ height: 100%; display: flex; align-items: center; padding: 0 18px; box-sizing: border-box; font-size: 20px; letter-spacing: -0.03em; font-weight: 600; color: #fff; transition-duration: 0.2s; position: relative; }
.menu > li > a span{ position: relative; display: block; }
.menu > li > a span::after{ content: ''; display: block; width: 100%; height: 1px; background-color: #fff; box-sizing: border-box; position: absolute; left: 0; top: calc(100% + 3px); transform-origin: 0 0; transform: scaleX(0); transition-duration: 0.4s; }
.menu > li > .hot{ width: 47px; height: 26px; border-radius: 20px; background: var(--goldgradient); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; font-size: 14px; letter-spacing: -0.03em; font-weight: 500; margin-left: -13px; }

@media screen and (min-width: 821px){
    .menu > li > a:hover span::after{ transform: scaleX(1); }
}

@media screen and (max-width: 1280px){
    .menu > li > a{ font-size: 16px; padding: 0 15px; }
    .menu > li > .hot{ width: 40px; height: 22px; font-size: 12px; }
}


/* header */


.header{ position: fixed; top: 0; left: 0; width: 100%; z-index: 990; transition-duration: 0.4s; opacity: 0; }
body.on .header{ opacity: 1; }


.header .wrap{ display: flex; justify-content: space-between; position: relative; z-index: 2; }
.header .wrap .logo{ width: 263px; display: flex; flex-shrink: 0; }
.header .wrap .logo > a{ width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 30px 0; box-sizing: border-box; transition-duration: 0.2s; }

.header .wrap nav{ width: 100%; }

/* 2depth (PC hover / 키보드 focus) */
.header .subMenu{ position: absolute; left: 50%; top: calc(100% - 20px); padding-top: 14px; transform: translate(-50%, 10px); opacity: 0; visibility: hidden; transition-property: opacity, transform, visibility; transition-duration: 0.3s; }
.header .subMenu ul{ min-width: 180px; padding: 10px; box-sizing: border-box; position: relative; overflow: hidden; background-color: rgba(14,15,17,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.08); }
.header .subMenu ul::before{ content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--goldgradient); }
.header .subMenu li > a{ display: block; padding: 11px 16px; font-size: 16px; letter-spacing: -0.03em; font-weight: 500; line-height: 1.3; color: rgba(255,255,255,0.6); white-space: nowrap; transition-property: color; transition-duration: 0.2s; }
.header .subMenu li > a em{ font-style: normal; font-size: 13px; color: rgba(255,255,255,0.35); margin-left: 3px; }

.header .menu > li:hover .subMenu, .header .menu > li:focus-within .subMenu{ opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.header .menu > li:hover > a span::after, .header .menu > li:focus-within > a span::after{ transform: scaleX(1); }

@media screen and (min-width: 821px){
    .header .subMenu li > a:hover{ color: #fff; }
}

.header .hamWrap{ width: 44px; margin-right: -11px; padding: 0; background: none; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; display: none; }
.header .hamWrap .hamBtn{ width: 23px; height: 9px;  margin-top: -5px; position: relative; display: block; }
.header .hamWrap .hamBtn span{ width: 100%; height: 2px; background-color: #fff; position: absolute; left: 0; transition-duration: 0.4s; transform-origin: 50% 50%; display: block; }
.header .hamWrap .hamBtn span:nth-of-type(1){ top: 0; }
.header .hamWrap .hamBtn span:nth-of-type(2){ top: 100%; }

.header.ham .hamWrap .hamBtn span:nth-of-type(1){ top: 50%; transform: rotate(45deg); }
.header.ham .hamWrap .hamBtn span:nth-of-type(2){ top: 50%; transform: rotate(-45deg); }

.header.bg{ background-color: #000; }

/* PC : 스크롤 내릴 때 숨김 (share.js에서 .hide) */
@media screen and (min-width: 821px){
    .header.hide{ transform: translateY(-100%); }
    .header.hide:focus-within{ transform: none; }
}


@media screen and (max-width: 1280px){
    .header .wrap .logo{ width: 160px; }
    .header .wrap .logo > a{ padding: 25px 0; }
}

@media screen and (max-width: 820px){
    .header .wrap .logo > a{ width: 140px; padding: 15px 0; }
    .header .wrap nav{ display: none; }
    .header .hamWrap{ display: flex; }
}


/* 모바일 메뉴 (820px 이하, .header.ham 일때 열림) */
.moMenu{ display: none; }
html.menuOpen, html.menuOpen body{ overflow: hidden; }

@media screen and (max-width: 820px){
    .moMenu{ display: block; position: fixed; left: 0; top: 0; z-index: 1; width: 100%; height: 100%; padding-top: 50px; box-sizing: border-box; overflow-y: auto; background-color: #0b0b0b; opacity: 0; visibility: hidden; transition-property: opacity, visibility; transition-duration: 0.4s; }
    .header.ham .moMenu{ opacity: 1; visibility: visible; }
    .moMenu .inn{ width: 90%; min-height: 100%; margin: 0 auto; padding: 30px 0 40px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; gap: 50px; }

    .moList > li{ border-bottom: 1px solid rgba(255,255,255,0.1); }
    .moList .dep1{ width: 100%; display: flex; align-items: center; gap: 8px; padding: 20px 0; font-size: 26px; letter-spacing: -0.03em; font-weight: 600; line-height: 1.2; color: #fff; background: none; border: 0; text-align: left; cursor: pointer; }
    .moList .dep1 i{ margin-left: auto; font-size: 22px; color: rgba(255,255,255,0.5); transition-property: transform, color; transition-duration: 0.3s; }
    .moList .dep1[aria-expanded="true"] i{ transform: rotate(180deg); color: #c7a86b; }
    .moList .dep1 .hot{ width: 40px; height: 22px; border-radius: 20px; background: var(--goldgradient); display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: -0.03em; font-weight: 500; }

    .moList .dep2{ display: none; padding-bottom: 18px; margin-top: -4px; }
    .moList .dep2 li > a{ display: block; position: relative; padding: 9px 0 9px 18px; font-size: 17px; letter-spacing: -0.03em; font-weight: 500; line-height: 1.3; color: rgba(255,255,255,0.6); }
    .moList .dep2 li > a::before{ content: ''; position: absolute; left: 2px; top: 50%; width: 5px; height: 5px; background-color: #c7a86b; transform: translateY(-50%) rotate(45deg); }
    .moList .dep2 li > a em{ font-style: normal; font-size: 13px; color: rgba(255,255,255,0.35); margin-left: 3px; }

    .moInfo dt{ font-size: 14px; letter-spacing: -0.03em; color: rgba(245,244,240,0.5); }
    .moInfo dd{ margin-top: 8px; font-size: 28px; letter-spacing: -0.03em; font-weight: 700; color: #fff; }
    .moInfo p{ margin-top: 6px; font-size: 14px; letter-spacing: -0.03em; color: rgba(245,244,240,0.5); }
    /* 2026-11-16 모바일 메뉴 상담 버튼 : 파란 그라디언트 → 검정 배경 + 골드 글자 (메뉴 배경 #0b0b0b와 구분되게 골드 테두리) */
    .moInfo .moCta{ margin-top: 24px; height: 56px; border-radius: 10px; background: #000; border: 1px solid #d39e1e; box-sizing: border-box; }
    .moInfo .moCta > a{ width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 16px; letter-spacing: -0.025em; font-weight: 600; color: #d39e1e; }

    /* 열릴때 순서대로 등장 */
    .moList > li, .moInfo{ opacity: 0; transform: translateY(20px); transition-property: opacity, transform; transition-duration: 0.5s; }
    .header.ham .moList > li, .header.ham .moInfo{ opacity: 1; transform: none; }
    .header.ham .moList > li:nth-child(1){ transition-delay: 0.1s; }
    .header.ham .moList > li:nth-child(2){ transition-delay: 0.15s; }
    .header.ham .moList > li:nth-child(3){ transition-delay: 0.2s; }
    .header.ham .moList > li:nth-child(4){ transition-delay: 0.25s; }
    .header.ham .moList > li:nth-child(5){ transition-delay: 0.3s; }
    .header.ham .moInfo{ transition-delay: 0.35s; }
}

@media screen and (max-width: 500px){
    .moList .dep1{ font-size: 22px; padding: 18px 0; }
    .moList .dep1 i{ font-size: 20px; }
    .moList .dep2 li > a{ font-size: 15px; }
    .moInfo dd{ font-size: 24px; }
    .moInfo .moCta{ height: 52px; }
    .moInfo .moCta > a{ font-size: 15px; }
}

@media (prefers-reduced-motion: reduce){
    .moList > li, .moInfo{ transition-duration: 0s; transition-delay: 0s !important; }
}


/* footer */
.footer{ width: 100%; position: relative; background-color: #0e0f11; padding-top: 35px; padding-bottom: 90px; color: #fff; word-break: keep-all; }
.footer .flxBx{ display: flex; justify-content: space-between; }
.footer .footLogo{ width: 190px; flex-shrink: 0; }
/* 웹접근성 : 푸터는 항상 어두운 배경 → 키보드 포커스 흰색 (메인은 sub.css를 안 불러서 여기서 지정) */
.footer a:focus-visible, .footer button:focus-visible{ outline: 2px solid #fff; outline-offset: 3px; }
.footer .topBtn{ width: 44px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #0e0f11; background-color: #fff; cursor: pointer; transition-property: background-color, color, border-color; transition-duration: 0.2s; border: 1px solid #0e0f11; box-sizing: border-box; }

@media screen and (min-width: 821px){
    .footer .topBtn:hover{ background-color: #0e0f11; color: #fff; border-color: #fff; }
}

.footer .menu{ justify-content: flex-start; margin-left: -18px; }
.footer .menu li > a{ font-size: 18px; padding: 10px 18px; letter-spacing: -0.03em; font-weight: 500; }

.footer .flxBx._2{ margin-top: 30px; }
.footer .flxBx._2 .lBx{ width: calc(1140 / 1600 * 100%); }
.footer .flxBx._2 .lBx .companyInfo{ width: 100%; margin-top: 25px; font-size: 16px; letter-spacing: -0.03em; line-height: 1.3; display: flex; flex-direction: column; gap: 10px; color: rgba(245, 244, 240, 0.5); }

.footer .flxBx._2 .rBx{ width: calc(460 / 1600 * 100%); line-height: 1.2; }
.footer .flxBx._2 .rBx dl dt{ font-size: 18px; letter-spacing: -0.03em; }
.footer .flxBx._2 .rBx dl dd{ font-size: 40px; letter-spacing: -0.03em; font-weight: 700; margin-top: 10px; }
.footer .flxBx._2 .rBx p{ font-size: 18px; letter-spacing: -0.03em; color: rgba(245, 244, 240, 0.5); margin-top: 10px; }

/* 하단 구분선 + 개인정보처리방침 */
.footer .footBtm{ margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer .footBtm .privacyLink{ display: inline-block; font-size: 16px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.3; color: #fff; transition: opacity 0.2s; }

@media screen and (min-width: 821px){
    .footer .footBtm .privacyLink:hover{ opacity: 0.6; }
}

@media screen and (max-width: 1280px){
    .footer{ padding: 50px 0; }
    .footer .menu li > a{ font-size: 16px; }
    .footer .flxBx{  }
    .footer .flxBx._2 .lBx{ width: auto; }
    .footer .flxBx._2 .lBx .companyInfo{ font-size: 14px; }
    .footer .flxBx._2 .rBx{ width: auto; padding-right: 50px; box-sizing: border-box; }
    .footer .flxBx._2 .rBx dl dt{ font-size: 16px; }
    .footer .flxBx._2 .rBx dl dd{ font-size: 32px; }
    .footer .flxBx._2 .rBx p{ font-size: 16px; }
    .footer .footBtm .privacyLink{ font-size: 14px; }
}

@media screen and (max-width: 820px){
    .footer .flxBx._2{ flex-direction: column; margin-top: 10px; }
    .footer .topBtn{ width: 35px; height: 35px; font-size: 16px; }
    .footer .footLogo{ width: 140px; }
    .footer .menu{ margin-left: -15px; }
    .footer .menu li > a{ font-size: 14px; padding: 10px 15px; }
    .footer .flxBx._2 .lBx .companyInfo{ font-size: 13px; margin-top: 15px; }
    .footer .flxBx._2 .rBx{ padding-right: 0; }
    .footer .flxBx._2 .rBx{ margin-top: 30px; }
    .footer .flxBx._2 .rBx dl dt{ font-size: 14px; }
    .footer .flxBx._2 .rBx dl dd{ font-size: 24px; }
    .footer .flxBx._2 .rBx p{ font-size: 14px; }
    .footer .footBtm{ margin-top: 25px; }
    .footer .footBtm .privacyLink{ font-size: 13px; }
}

@media screen and (max-width: 500px){
    .footer{ padding: 40px 0; }
    .footer nav{ display: none; }
    .footer .flxBx._2 .rBx dl dt{ font-size: 13px; }
    .footer .flxBx._2 .rBx p{ font-size: 13px; }
}



.moreBtn{ font-size: 18px; width: calc(180 / 18 * 1em); height: calc(60 / 18 * 1em); background: var(--bluegradient); color: #fff; border-radius: 14px; margin-top: 40px; }
.moreBtn > a{ width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; gap: 10px; }

.moreBtn.gold{ background: #000; color: #c7a86b; }


@media screen and (max-width: 1280px){
    .moreBtn{ font-size: 16px; }
}

@media screen and (max-width: 820px){
    .moreBtn{ font-size: 14px; border-radius: 12px; }
}

@media screen and (max-width: 500px){
    .moreBtn{ font-size: 12px; border-radius: 10px; }
}

/* 모바일 하단 고정 상담 버튼 (2026-11-24 수정요청 15번) : 820px 이하에서만 노출
   한 장의 바(상단 라운드) 안에 아이콘 + 짧은 라벨 3칸, 칸 사이는 얇은 구분선 */
.moQuick{ display: none; }
@media screen and (max-width: 820px){
    .moQuick{ position: fixed; left: 0; bottom: 0; z-index: 980; width: 100%; display: flex; padding-bottom: env(safe-area-inset-bottom); box-sizing: border-box; border-radius: 16px 16px 0 0; background-color: rgba(20,21,24,0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -6px 20px rgba(0,0,0,0.35); border-top: 1px solid rgba(255,255,255,0.07); transition: transform 0.3s, visibility 0.3s; }
    .moQuick a{ position: relative; flex: 1 1 0; min-width: 0; height: 60px; padding-bottom: 3px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: rgba(255,255,255,0.85); font-size: 12px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
    .moQuick a + a::before{ content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 22px; margin-top: -11px; background-color: rgba(255,255,255,0.12); }
    .moQuick a i{ font-size: 20px; line-height: 1; color: #d7ba81; }
    .moQuick a.inquiry span{ color: #d7ba81; font-weight: 600; }
    .moQuick a:active{ background-color: rgba(255,255,255,0.04); }
    .moQuick a:focus-visible{ outline: 2px solid #fff; outline-offset: -4px; }
    /* 모바일 메뉴·팝업이 열려 있을 때는 숨김 */
    html.menuOpen .moQuick, html.popOpen .moQuick, html.layerOpen .moQuick{ transform: translateY(100%); visibility: hidden; }
    /* 고정 바에 푸터 마지막 줄이 가리지 않도록 하단 여백 추가 */
    .footer{ padding-bottom: calc(50px + 60px + env(safe-area-inset-bottom)); }
}
@media screen and (max-width: 500px){
    .footer{ padding-bottom: calc(40px + 60px + env(safe-area-inset-bottom)); }
}
@media screen and (max-width: 360px){
    .moQuick a{ height: 56px; padding-bottom: 3px; gap: 4px; font-size: 11px; }
    .moQuick a i{ font-size: 18px; }
}
