/* default css */
.grecaptcha-badge {
    visibility: hidden !important;
}

.pointer{
    cursor:pointer;
}
* {
    font-family: var(--font-family);
}
input[type="text"], input[type="number"], input[type="password"], input[type="email"] {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}


/*--------------------- 공통 --------------------*/

/*--------------------- header --------------------*/
header {
    pointer-events: none;
}
/* 상단 헤더 바 */

.fa-arrow-pointer {
    color: #fff;   /* 또는 color: white; */
    font-size: 20px !important;
}


header .header_bar {
    width: fit-content;
    background-color: #3d3d3d; /*  빨간색 → 회색으로 변경 */
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    pointer-events: all;
    border-radius: 80px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

header .header_bar_inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px 0 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

header .header_contact {
    margin-left: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: var(--ft16);
    font-weight: 500;
}

header .header_contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    background-color: #a61f24;
    height: 40px;          /*  고정 높이 통일 */
    padding: 0 18px;       /* 상하 0, 좌우만 유지 */
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
}

header .header_contact a:hover {
    background-color: #b82d32;
}

header .header_contact i {
    font-size: 14px;
}

/*  오른쪽 메뉴를 회색 캡슐 형태로 감싸기 */
header .header_nav {
    display: flex;
    align-items: center;
    gap: 16px;

    background: #3d3d3d;
    height: 40px;        /* 고정 높이 통일 */
    padding: 0 18px;     /* 상하 0 */
    border-radius: 50px;
}


header .header_nav a {
    color: var(--white);
    font-size: var(--ft16);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

header .header_nav a:hover {
    opacity: 0.8;
}

header .header_nav .nav_divider {
    color: var(--white);
    opacity: 0.5;
}

/* header_bar 안 번역 위젯 (빨간 버튼·메뉴와 같은 바, 메뉴 안 밀림) */
header .header_bar_translate {
    display: flex;
    align-items: center;
    height: 40px;
}
header .header_bar_translate [class^="elfsight-app-"] {
    display: inline-flex;
    align-items: center;
}
header .header_bar_translate iframe {
    max-height: 36px !important;
}

header .header_menu {
    display: flex;
    align-items: center;
}

header .header_menu .hamburger {
    width: 36px;
    pointer-events: all;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: center;
}
header .header_menu .hamburger .hamburger_inner {
    width: 36px;
    height: 25px;
    position: relative;
}
header .header_menu .hamburger .ham_line {
    width: 100%; 
    height: 3px;
    position: absolute;
    left: 0;
    background-color: var(--white);
    transition: all 0.3s;
}
header .header_menu .hamburger .ham_line:nth-child(1) {
    top: 0;
}
header .header_menu .hamburger .ham_line:nth-child(2) {
    top: calc(50% - 2px);
}
header .header_menu .hamburger .ham_line:nth-child(3) {
    bottom: 0;
}
header .header_menu .hamburger p {
    color: var(--white);
    font-size: 12px;
    text-align: center;
}
header .header_menu .hamburger p.close {
    color: var(--white);
}
header .header_menu .hamburger p.hide {
    display: none;
}
header .header_menu .hamburger.active .ham_line {
    background-color: var(--white);
}
header .header_menu .hamburger.active .ham_line:nth-child(1) {
    transform: translateY(11px) rotate(-45deg);
}
header .header_menu .hamburger.active .ham_line:nth-child(2) {
    width: 0;
}
header .header_menu .hamburger.active .ham_line:nth-child(3) {
    transform: translateY(-11px) rotate(45deg); 
}
header .logo {
    width: fit-content;
}
header .logo.hide {
    opacity: 0;
}
header .header_top {
    width: 100%;
    padding: 0 40px;
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    z-index: 9999;

    align-items: center;
    gap: 40px; 
}
header .header_top_left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;          /* flex 내부 배지 줄바꿈 허용 */
    pointer-events: all;
}
header .logo,
header .logo_img {
    flex-shrink: 0;        /* 축소 방지 */
}
/* 현재 지사 드롭다운: 기본(PC)은 숨김, 모바일에서만 노출 (PC는 우측 .location 사용) */
header .branch_select {
    display: none;
}
header .logo_img {
    height: 40px;
    pointer-events: all;
    cursor: pointer;
}
header .logo_img img {
    width: auto; /* 가로 크기 자동으로 설정 */
    height: 100%; /* 세로 크기 자동으로 설정 */
    max-width: 100%; /* 최대 너비 설정 */
    max-height: 100%; /* 최대 높이 설정 */
}
header .hamburger {
    width: 36px;
    pointer-events: all;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: center;
}
/* header_top의 햄버거는 숨김 (header_bar에 있으므로) */
header .hamburger .hamburger_inner {
    width: 36px;
    height: 25px;
    position: relative;
}
header .hamburger .ham_line {
    width: 100%; 
    height: 3px;
    position: absolute;
    left: 0;
    background-color: black;
    transition: all 0.3s;
}
header .hamburger .ham_line:nth-child(1) {
    top: 0;
}
header .hamburger .ham_line:nth-child(2) {
    top: calc(50% - 2px);
}
header .hamburger .ham_line:nth-child(3) {
    bottom: 0;
}
header .hamburger p {
    color: var(--gray-900);
    font-size: 12px;
    text-align: center;
}
header .hamburger p.close {
    color: var(--white);
}
header .hamburger p.hide {
    display: none;
}

header .hamburger.active .ham_line {
    background-color: white;
}
header .hamburger.active .ham_line:nth-child(1) {
    transform: translateY(11px) rotate(-45deg);
}

header .hamburger.active .ham_line:nth-child(2) {
    width: 0;
}
header .hamburger.active .ham_line:nth-child(3) {
    transform: translateY(-11px) rotate(45deg); 
}

/* 헤더 번역 위젯 (Elfsight) */
header .header_translate_wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
header .header_translate_label {
    font-size: 13px;
    color: var(--gray-700, #374151);
    font-weight: 500;
}
header .header_elfsight_wrapper .elfsight-app-6a5fdfc2-26f4-4f81-92fb-6803b7459477 {
    display: inline-flex;
    align-items: center;
}
header .header_elfsight_wrapper iframe {
    max-height: 40px;
}

header .location {
    width: 110px;
    position: fixed;
    top: 100px;
    right: 40px;
    z-index: 9999;
    pointer-events: all;
}
header .location.hide {
    display: none;
}
header .location .select_btn {
    padding: 10px 4px;
}
header .location .sBtn_text {
    font-size: 16px;
}
header .location .options {
    height: auto;
}
header .location .option_text {
    font-size: 14px;
}


header .header_btm {
    width: 100%;
    padding: 0 40px;
    position: fixed;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 100px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    z-index: 99;
}

header .header_btm #lawwin {
    height: 116px;
    -ms-transform: rotate(180deg); 
    -webkit-transform: rotate(180deg); 
    transform: rotate(180deg);
    writing-mode: vertical-lr;

    font-family: 'Raleway', sans-serif;
    font-size: var(--ft24);
    font-weight: bold;
    background: var(--gray-900);
    color: transparent;
    -webkit-background-clip: text;
}
header .header_btm .quick_btn {
    position: relative;
    background: rgb(0 0 0 / 47%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 59px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: quickMenuFadeIn 0.5s ease-out;
    overflow: hidden;
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
@keyframes quickMenuFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
header .header_btm .quick_btn .quick_menu_header {
    display: none;
}
header .header_btm .quick_btn .quick_menu_header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}
header .header_btm .quick_btn .quick_menu_label {
    font-size: 13px;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}
header .header_btm .quick_btn .quick_menu_content {
    padding: 20px 16px;
}
header .header_btm .quick_btn .quick_menu_content ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
header .header_btm .quick_btn li {
    pointer-events: all;
    width: 60px;
    height: auto;
    min-height: 60px;
    border-radius: 30px;
    background-color: transparent;
    cursor: pointer;
    box-shadow: none;
    color: #221E1F;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    position: relative;
    transform: scale(1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
}
/* 기본 아이콘 배경을 흰색으로 */
header .header_btm .quick_btn li .icon {
    background: var(--white) !important;
    box-shadow: none !important;
}
/* 화살표 버튼 - 빨간색 배경, 흰색 아이콘 */
header .header_btm .quick_btn li.top_btn .icon {
    background: #a61f24 !important;
}
header .header_btm .quick_btn li.top_btn .icon span {
    color: var(--white) !important;
}
/* 카카오톡 - 카톡 시그니처 노란색 */
header .header_btm .quick_btn li.chat .icon,
header .header_btm .quick_btn li.kakao .icon {
    background: #FEE500 !important;
}
/* 네이버 예약 - 네이버 시그니처 초록색 */
header .header_btm .quick_btn li.n_booking .icon,
header .header_btm .quick_btn li.nreser .icon {
    background: #00ef60 !important;
}
/* 모든 텍스트를 흰색으로 */
header .header_btm .quick_btn li p {
    color: var(--white) !important;
}
@keyframes pulseCTA {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.15);
    }
}
header .header_btm .quick_btn li:hover {
    transform: scale(1);
    box-shadow: none;
}
header .header_btm .quick_btn li a,
header .header_btm .quick_btn li > div {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
}
header .header_btm .quick_btn li .icon {
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    flex-shrink: 0;
}
header .header_btm .quick_btn li:hover .icon {
    transform: scale(1.2);
}
header .header_btm .quick_btn li i {
    font-size: 30px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
header .header_btm .quick_btn li:hover i {
    transform: scale(1.2);
}
header .header_btm .quick_btn li img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
header .header_btm .quick_btn li:hover img {
    transform: scale(1.2);
}

header .header_btm .quick_btn p {
    height: auto;
    line-height: 1.2;
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-900);
    position: relative;
    opacity: 1;
    transition: all 0.3s ease;
    text-wrap: nowrap;
    margin: 0;
    text-align: center;
}
header .header_btm .quick_btn li.emer .icon {
    background: var(--white) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}
header .header_btm .quick_btn li.emer i,
header .header_btm .quick_btn li.emer p {
    color: var(--white);
}

/* 호버 시 기본은 배경과 조화되는 색상 */
header .header_btm .quick_btn li:hover .icon {
    background: rgba(240, 242, 245, 0.9) !important;
    box-shadow: none !important;
}
/* 호버 시에도 각 버튼 색상 유지 */
header .header_btm .quick_btn li.top_btn:hover .icon {
    background: #a61f24 !important;
}
header .header_btm .quick_btn li.chat:hover .icon,
header .header_btm .quick_btn li.kakao:hover .icon {
    background: #FEE500 !important;
}
header .header_btm .quick_btn li.n_booking:hover .icon,
header .header_btm .quick_btn li.nreser:hover .icon {
    background: #00ef60 !important;
}
header .header_btm .quick_btn li.top_btn:hover .icon span {
    color: var(--white) !important;
}
header .header_btm .quick_btn li.top_btn .icon span {
    transition: color 0.3s ease;
}
header .header_btm .quick_btn li.btn_hover:hover p {
    opacity: 1;
}
header.white .hamburger p {
    color: var(--white);
}
header.white .hamburger .ham_line {
    background-color: var(--white);
}
header.white .branch_select .select_btn {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.35);   /* 어두운 섹션/히어로 위 가독성 */
}
header.white .branch_select .select_btn i {
    color: var(--white);
}

header.white .location .select_btn {
    gap: 16px;
    color: var(--white);
    border-bottom: 1px solid var(--white);
}
header.white .location i {
    color: var(--white);
}
header.white .location .options {
    border: 0;
}
.mobile_gnb .quick_menu ul {
    display: flex;
}
.mobile_gnb .quick_menu li {
    width: 100%;
    height: 80px;
}
.mobile_gnb .quick_menu li > div,
.mobile_gnb .quick_menu li a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 18px 0;
}
.mobile_gnb .quick_menu .icon {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile_gnb .quick_menu i {
    font-size: 16px;
    color: var(--white);
}
.mobile_gnb .quick_menu li.emer i {
    color: var(--primary);
}
.mobile_gnb .quick_menu p {
    font-size: 10px;
    color: var(--white);
    margin-top: 10px;
}

/*-- page_btm --*/
.page_btm {
    width: 100%;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    left: 0;
    bottom: 0;
    pointer-events: all;
}
.pc_btm {
    height: 100%;
    display: flex;
    gap: 40px;
}
.pc_btm_contect {
    width: 360px;
    height: 100%;
    background-color: var(--primary);
    flex-shrink: 0;
}
.pc_btm_contect a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.pc_btm_contect i,
.pc_btm_contect p,
.pc_btm_contect a {
    color: var(--white);
}
.pc_btm_contect .number {
    font-size: var(--ft20);
    font-weight: 500;
}
.pc_btm_contect .text {
    display: flex;
    gap: 10px;
    align-items: center;
}
.pc_btm_contect .icon {
    padding-top: 2px;
}


.btm_form {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.btm_form .input_wrap,
.btm_form .input_box {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 100%;
}
.btm_form .input_box p {
    font-size: var(--ft16);
    color: var(--white);
    flex-shrink: 0;
}
.btm_form input[type="text"],
.btm_form select {
    font-size: 16px;
    width: 100%;
    max-width: 200px;
    height: 36px;
    border-radius: 5px;
    background-color: var(--white);
    padding: 0 10px;
}
.btm_form select {
    width: 140px;
}
.btm_form select:required:invalid {
    color: var(--gray-600)
}
.btm_form select option {
    color: var(--gray-900)
}

.btm_form .form_agree,
.btm_form .form_agree button {
    background: none;
    color: var(--white);
    font-size: var(--ft16);
    flex-shrink: 0;
}

.btm_form_btn {
    width: 200px;
    height: 100%;
    background-color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.btm_form_btn p {
    font-size: var(--ft16);
    font-weight: 500;
    color: var(--white);
    white-space: normal;
}
.page_btm .m_btm {
    display: none;
}
.page_btm .m_btm ul {
    display: flex;
}

.page_btm .m_btm ul li {
    width: 100%;
    height: 70px;
    transition: all 0.3s ease;
    position: relative;
}
.page_btm .m_btm ul li {
    background-color: transparent;
}
.page_btm .m_btm ul li:active,
.page_btm .m_btm ul li.active {
    background-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.3) !important;
}
.page_btm .m_btm ul li:active p,
.page_btm .m_btm ul li.active p {
    color: var(--white) !important;
    font-weight: 700 !important;
}
.page_btm .m_btm ul li:active i,
.page_btm .m_btm ul li.active i {
    color: var(--white) !important;
}
/* 전화 버튼은 강조 효과 없음 */
.page_btm .m_btm ul li.emer:active,
.page_btm .m_btm ul li.emer.active {
    background-color: var(--primary) !important;
    box-shadow: none !important;
}
.page_btm .m_btm ul li.emer:active p,
.page_btm .m_btm ul li.emer.active p {
    color: var(--white) !important;
    font-weight: normal !important;
}
.page_btm .m_btm ul li.emer:active i,
.page_btm .m_btm ul li.emer.active i {
    color: var(--white) !important;
}
.page_btm .m_btm ul li > div,
.page_btm .m_btm  ul li a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 18px 0;
    transition: all 0.3s ease;
    background-color: transparent;
}
.page_btm .m_btm ul li:active > div,
.page_btm .m_btm ul li.active > div,
.page_btm .m_btm ul li:active a,
.page_btm .m_btm ul li.active a {
    background-color: rgba(255, 255, 255, 0.5) !important;
}
.page_btm .m_btm ul li.emer:active > div,
.page_btm .m_btm ul li.emer.active > div,
.page_btm .m_btm ul li.emer:active a,
.page_btm .m_btm ul li.emer.active a {
    background-color: transparent !important;
}
.page_btm .m_btm .icon {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}
/* 그라데이션 효과 제거 */
.page_btm .m_btm ul li:active .icon::before,
.page_btm .m_btm ul li.active .icon::before {
    display: none;
}
.page_btm .m_btm .icon img {
    width: 36px;
    height: 36px;
    filter: invert(1);
    transition: all 0.3s ease;
}
.page_btm .m_btm ul li:active .icon,
.page_btm .m_btm ul li.active .icon {
    transform: scale(1.15);
}
.page_btm .m_btm ul li.emer:active .icon,
.page_btm .m_btm ul li.emer.active .icon {
    transform: scale(1.2);
}
.page_btm .m_btm ul li:active .icon img,
.page_btm .m_btm ul li.active .icon img {
    transform: scale(1.1);
    filter: invert(1) brightness(1.2);
}
.page_btm .m_btm ul li.emer:active .icon img,
.page_btm .m_btm ul li.emer.active .icon img {
    transform: scale(1.2);
    filter: invert(1);
}
.page_btm .m_btm ul li.emer:active i,
.page_btm .m_btm ul li.emer.active i {
    transform: scale(1.2);
}
.page_btm .m_btm i {
    font-size: 24px;
    color: var(--gray-900);
    transition: all 0.3s ease;
}
.page_btm .m_btm ul li.emer .icon {
    width: 40px;
    height: 40px;
}
.page_btm .m_btm ul li.emer i {
    font-size: 28px;
    color: var(--white);
}
.page_btm .m_btm ul li:active i,
.page_btm .m_btm ul li.active i {
    transform: scale(1.15);
}

.page_btm .m_btm li.emer {
    background-color: var(--primary);
}
.page_btm .m_btm li.emer p,
.page_btm .m_btm li.emer i {
    color: var(--white);
}
.page_btm .m_btm p {
    font-size: 12px;
    color: var(--gray-900);
    margin-top: 6px;
    transition: all 0.3s ease;
}
.page_btm .m_btm ul li.emer:active p,
.page_btm .m_btm ul li.emer.active p {
    transform: scale(1.15);
}



/*-- gnb --*/
body:has(.gnb.open) {
    overflow: hidden;
    height:100%; 
    min-height:100%; 
    overflow:hidden !important; 
    touch-action:none;
}

.gnb {
    height: 100vh;
    display: none;
    background-color: rgb(0, 0, 0, 0.8);
    backdrop-filter: blur(30px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    pointer-events: auto;
}
.gnb.open {
    display: block;
}
.gnb_wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.gnb_item {
    width: 100%;
    border-bottom: 1px solid var(--gray-800);
    position: relative;
}
.gnb_item::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: .5s ease;
}
.gnb_item_inner {
    width: var(--container-lg);
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    align-items: center;
}
.gnb_item__left,
.gnb_item__right {
    width: 50%;
}

.gnb_item__left,
.gnb_item__left a {
    display: flex;
    gap: 16px;
    align-items: end;
}
.gnb_item__title {
    font-size: 90px;
    color: white;
    opacity: .7;
    transition: .5s ease;
}
.gnb_item__title_kr {
    font-size: 20px;
    color: white;
    opacity: .5;
    margin-bottom: 26px;
}
.gnb_sub_wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 60px;
    opacity: 0;
    transform: translateY(100%);
    transition: .5s ease;
}
.gnb_sub_item {
    font-size: var(--ft22);
    color: white;
    opacity: 0.7;
    cursor: pointer;
}
.gnb_sub_item:last-child {
    margin-right: 0;
}
    .gnb_item:hover::after,
    .gnb_item.active::after {
        width: 100%;
    }
    .gnb_item:hover .gnb_item__title,
    .gnb_item.active .gnb_item__title {
        opacity: 1;
    }
    .gnb_item:hover .gnb_sub_wrap,
    .gnb_item.active .gnb_sub_wrap {
        opacity: 1;
        transform: translateY(0);
    }
    .gnb_sub_item:hover {
        opacity: 1;
    }
    .gnb_sub_item.active {
        opacity: 1;
    }


    .gnb_item.center_menu {
        padding: 20px 0;
    }
    .gnb_item.center_menu .gnb_sub_wrap {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }
    .gnb_item.center_menu .gnb_sub_wrap > div {
        display: flex;
        gap: 60px;
    }

    .center_gnb {
        height: 180px;
    }
    .center_gnb .gnb_sub_wrap {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }
    .center_gnb .gnb_sub_wrap div {
        display: flex;
        gap: 60px;
    }

/*--------------------- mobile_gnb -------------------*/
body:has(.mobile_gnb.open) {
    overflow: hidden;
    height:100%; 
    min-height:100%; 
    overflow:hidden !important; 
    touch-action:none;
}
.mobile_gnb {
    height: 100%;
    overflow: hidden;
    background-color: rgb(0, 0, 0, 1);
    backdrop-filter: blur(30px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    pointer-events: auto;
    display: none;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.mobile_gnb::-webkit-scrollbar{
    display:none;
}
.mobile_gnb.open {
    display: block;
}
.mobile_gnb .mobile_gnb_wrap {
    /* height: 100%; */
    /* min-height: 60%; */
    padding: 140px 30px 20px;
}
.mobile_gnb .gnb_menu {
    margin-bottom: 10px;
}
.mobile_gnb .main_wrap {
    width: 100%;
    border-bottom: 1px solid var(--gray-800);
    position: relative;
    cursor: pointer;
}
.mobile_gnb .main_wrap::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: .5s ease;
}
.mobile_gnb .gnb_item__left {
    margin-bottom: 6px;
}
.mobile_gnb .gnb_item__left,
.mobile_gnb .gnb_item__left a {
    display: flex;
    gap: 10px;
    align-items: end;
}
.mobile_gnb .gnb_item__title {
    /* font-size: 26px; */
    font-size: 20px;
}
.mobile_gnb .gnb_item__title_kr {
    font-size: 14px;
    margin-bottom: 4px;
}
.mobile_gnb .sub_wrap.center div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.mobile_gnb .sub_wrap.center li {
    width: 50%;
}
.mobile_gnb .sub_wrap {
    display: none;
}
.mobile_gnb .gnb_sub_item {
    font-size: var(--ft16);
    padding: 6px 0;
}
.mobile_gnb .main_wrap.active::after {
    width: 100%;
}
.mobile_gnb .main_wrap.active .gnb_item__title {
    opacity: 1;
}

.mobile_gnb .gnb_menu.active .main_wrap::after {
    width: 100%;
}
.mobile_gnb .gnb_menu.active .gnb_item__title {
    opacity: 1;
}
.mobile_gnb .gnb_menu.active .sub_wrap {
    display: block;
}

.mobile_gnb .quick_menu {
    width: 100%;
    height: 80px;
    position: fixed;
    left: 0;
    bottom: 0;
}


.h_contact {
    width: 100%;
    /* position: absolute; */
    bottom: 0;
    left: 0;
    padding: 30px;
    padding-top: 10px;
    padding-bottom: 100px;
    background-color: black;
}
.h_contact_top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dark-line);
}
.h_contact_top * {
    line-height: 1;
}
.h_contact_text {
    display: flex;
    align-items: end;
    gap: 8px;
}
.h_contact_text * {
    line-height: 1;
    color: var(--white);
}
.h_contact_text i {
    font-size: 14px;
}
.h_contact_text p {
    font-size: var(--ft18);
    font-weight: 600;
}
.h_contact_text a {
    font-size: 12px;
    height: fit-content;
}

.h_contact button,
.h_contact span {
    font-size: var(--ft14);
    background: none;
    color: var(--gray-400);
}
.h_contact .checkbox_group label {
    padding-left: 14px;
}
.h_contact .checkbox_group label > span::before {
    width: 10px;
    height: 10px;
}
.h_contact .checkbox_group label > span::after {
    width: 10px;
    height: 10px;
    padding: calc(10px * 0.2);
}

.h_contact .check_wrap {
    margin: 0 !important;
}
.h_contact_box {
    display: flex;
    gap: 14px;
    margin-top: 16px;
}
.h_conatct_input li {
    background-color: var(--white);
    border-radius: 5px;
}
.h_conatct_input li input {
    /* color: var(--white) !important; */
    padding-left: 16px;
    height: 36px;
    border-radius: 5px;
}
.h_conatct_input li select {
    font-size: 16px;
    height: 36px;
    background: url(/images/arrow_drop_down.svg) no-repeat 98% 50% / 20px auto;
}
.h_conatct_input li select:required:invalid {
    color: var(--gray-600)
}
.h_conatct_input li select option {
    color: var(--gray-900)
}
.h_conatct_input li {
    margin-bottom: 10px;
}
.h_conatct_input li:last-child {
    margin: 0;
}
.h_conatct_input {
    width: 80%;
}
.h_form_btn {
    width: 20%;
    min-width: 80px;
    text-align: center;
    background-color: var(--primary);
    margin: 0 !important;
    border-radius: 5px;
}

.h_form_btn a {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 5px !important;
    line-height: 1.5 !important;
    font-size: 14px !important;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: pre-line;
}



/*--------------------- main -------------------*/
.main {
    width: 100%;
    height: 660px;
    overflow: hidden;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.main .bg_img {
    width: 100%;
    height: 660px;
    overflow: hidden;
}
.main .bg_img img {
    object-fit: cover;

}

.main .gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.6),
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 1));
}
.main .main_text {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.main h2 {
    font-size: var(--ft22);
    color: var(--primary);
    font-weight: 400;
    text-align: center;
}

.main h1 {
    font-size: var(--ft70);
    color: var(--gray-900);
    font-weight: bold;
    text-align: center;
}
.container_box {
    margin-bottom: 200px;
}
.container_box::after {
    content: "";
    clear: both;
    display: block;
    overflow: hidden;
}

.container_header {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 80px;
}


.case_header,
.container_header form {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 60px;
}

.container_header.btm20 {
    margin-bottom: 40px;
}

/*-- lnb --*/
.container_header .lnb {
    display: flex;
    align-items: center;
    overflow: hidden;
}
.container_header .lnb_swiper {
    margin: 0;
}
.container_header .lnb_box {
    width: calc(100% - 440px);
}
.container_header .lnb_menu {
    width: 100%;
}
.container_header .lnb ul li {
    font-size: var(--ft18);
    color: var(--gray-800);
    font-weight: 600;
    cursor: pointer;
    padding-right: 30px;
}
.container_header .lnb ul li:last-child {
    padding-right: 0;
}
.container_header .lnb .lnb_name {
    padding-right: 30px;
    white-space: nowrap;
    font-size: var(--ft18);
    font-weight: bold;
    color: var(--gray-900);
}
.container_header .lnb ul li {
    width: auto;
    transition: all 0.2s;
}
.container_header .lnb ul li.click {
    color: var(--primary);
    font-weight: bold;
}

.container_header .lnb ul li:hover {
    color: var(--primary);
}

.container_header .lnb_box .lnb:nth-child(1) {
    margin-bottom: 20px;
}
.container_header .more {
    margin-left: 20px;
    display: none;
    cursor: pointer;
}
.container_header .more .add_btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-200);
    display: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

body:has(.mobile_lnb_box.open) {
    overflow: hidden;
    height:100%; 
    min-height:100%; 
    overflow:hidden !important; 
    touch-action:none;
}
.mobile_lnb_box {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: none;
}
.mobile_lnb_box .background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.mobile_lnb_box.open {
    display: block;
}
.mobile_lnb_box .lnb_box_inner {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    background-color: white;
    border-radius: 30px 30px 0 0;
}
.mobile_lnb_box .lnb_header {
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.mobile_lnb_box .lnb_name {
    height: 50px;
    line-height: 50px;
    font-size: var(--ft26);
    font-weight: bold;
    color: var(--gray-900);
}
.mobile_lnb_box .close_btn {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
} 
.mobile_lnb_box .close_btn span {
    font-size: 36px;
    color: var(--gray-800);
}
.mobile_lnb_box .lnb_inner {
    padding: 0 20px 40px 20px;
}
.mobile_lnb_box .lnb_inner ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.mobile_lnb_box .lnb_inner ul li {
    height: 40px;
    font-size: var(--ft14);
    color: var(--gray-800);
    padding: 0 20px;
    text-align: center;
    border: 1px solid var(--dark-line);
    border-radius: 20px;
    line-height: 40px;
    font-weight: 500;
}
.mobile_lnb_box .lnb_inner ul li a {
    line-height: 40px;
    font-weight: 500;
}
.mobile_lnb_box .lnb_inner ul li.click {
    border: none;
    background-color: var(--primary);
    color: var(--white);
}
/*-- search_box --*/
.search_box {
    width: 400px;
    height: 40px;
    padding: 0 10px;
    border-bottom: 1px solid var(--gray-800);
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    flex-shrink: 0;
}

.search_box input {
    width: 100%;
    font-size: var(--ft18);
    background: none;
    border: none;
    outline: none;
    padding-bottom: 6px;
}
.search_box input::placeholder {
    color: var(--gray-800);
}

input::-webkit-search-decoration,
input::-webkit-search-cancel-button,
input::-webkit-search-results-button,
input::-webkit-search-results-decoration {
    -webkit-appearance: none;
}
.search_box button {
    width: 36px;
    height: 36px;
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

/*-- sub_menu --*/
.sub_menu {
    width: 100%;
    overflow-x: hidden;
    margin-top: 20px;
    margin-bottom: 80px;
}
.sub_menu ul li {
    width: auto;
    color: #989898;
    font-size: var(--ft16);
}

.sub_menu ul li.click {
    color: var(--primary);
}

.sub_menu ul li:hover {
    color: var(--primary);
}




/*--------------------- pagination --------------------*/
.pagination {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 60px;
}

.pagination.pagination_right {
    justify-content: right;
}

.pagination .pagination_btn {
    width: 32px;
    height: 32px;
    cursor: pointer;
}
.pagination .pagination_btn a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination .pagination_btn  span {
    color: var(--gray-800);
    font-size: 22px;
}

.pagination ul {
    display: flex;
    gap: 4px;
}

.pagination ul li {
    width: 32px;
    height: 32px;
    text-align: center;
    cursor: pointer;
}

.pagination ul li a {
    line-height: 32px;
    font-size: var(--ft16);
    color: var(--gray-800);
}

.pagination ul li:hover {
    background-color: var(--gray-900);
    border-radius: 50%;
}

.pagination ul li:hover a {
    color: var(--white);
}

.pagination ul li.page_click {
    background-color: var(--gray-900);
    border-radius: 50%;
}

.pagination ul li.page_click a {
    color: var(--white);
}


/*--------------------- more --------------------*/
.more {
    display: inline-block;
}
.more a {
    display: flex;
    align-items: center;
}

.more p {
    font-size: var(--ft18);
    color: var(--gray-900);
    font-weight: bold;
    margin-right: 8px;
}

.more .add_btn {
    width: 24px;
    height: 24px;
    transition: all 0.3s;
}

.more:hover .add_btn {
    transform: rotate(180deg);
}

/*--------------------- link_btn --------------------*/
.link  {
    display: flex;
    gap: 43px;
}
.link li {
    width: 215px; height: 39px;
    border-bottom: 1px solid #707070; box-sizing: border-box;
}
.link li a {
    color: var(--gray-900);
    font-size: var(--ft18);
    display: flex;
    justify-content: space-between;
}

.link_btn {
    width: 30px; 
    height: 30px;
    position: relative;
    overflow: hidden;
}
.link_btn span {
    width: 100%; 
    height: 100%;
    text-align: center; 
    line-height: 30px;
    position: absolute;
}
.link_btn span.default {
    transition: all 0.3s;
    transform: translate(0, 0);
}
.link li:hover span.default,
.link_btn:hover span.default {
    transform: translate(80%, -80%); 
}
.link_btn span.hover {
    transform: translate(-80%, 80%);
    transition: all 0.3s;
}
.link li:hover span.hover,
.link_btn:hover span.hover {
    transform: translate(0, 0);
}

/*--------------------- select_menu --------------------*/
.select_menu {
    width: 300px;
    position: relative;
}
.select_menu .select_btn {
    display: flex;
    height: 40px;
    font-size: var(--ft18);
    color: var(--gray-900);
    border-bottom: 1px solid var(--gray-800);
    box-sizing: border-box;
    padding: 10px;
    padding-bottom: 20px;
    align-items: center;
    cursor: pointer;
    justify-content: space-between;
}

.select_btn i {
    color: var(--gray-900);
    font-size: 14px;
    transition: 0.3s;
}
.select_menu .options {
    position: absolute;
    width: 100%;
    height: 240px;
    overflow-y: scroll;
    padding: 20px 10px;
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    display: none;
    z-index: 9;
    border: 1px solid var(--dark-line);
    box-sizing: border-box;
}
.options .option {
    display: flex;
    height: 40px;
    cursor: pointer;
    align-items: center;
}
.options .option:hover {
    background-color: var(--primary);
}
.options .option:hover .option_text {
    color: var(--white);
}
.option .option_text {
    font-size: 16px;
    margin-left: 6px;
    color: var(--gray-900);
}

.options .option a {
    display:flex;
    align-items: center;
}
/*-- select_menu.white --*/
.select_menu.white .select_btn {
    gap: 16px;
    color: var(--white);
    border-bottom: 1px solid var(--white);
}
.select_menu.white i {
    color: var(--white);
}
.select_menu.white .options {
    border: 0;
}

/*-- policy_popup --*/
.policy_popup,
.consult_popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 100;
    display: none;
}
body:has(.policy_popup.open),
body:has(.consult_popup.open) {
    height:100%; 
    min-height:100%; 
    overflow:hidden !important; 
    touch-action:none;
}
.policy_popup.open,
.consult_popup.open {
    display: block;
}
.policy_popup .policy_bg,
.consult_popup .consult_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    background-color: rgba(0, 0, 0, 0.3);
}
.policy_popup .popup,
.consult_popup .popup {
    width: 100%;
    max-width: 500px;
    height: auto;
    min-height: 460px;
    max-height: 90vh;        /* 지사 안내 추가로 길어져도 화면 밖으로 안 넘치게 */
    overflow-y: auto;
    border-radius: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 40px;
    background-color: var(--white);
}
.policy_popup .popup .popup_header,
.consult_popup .popup .popup_header {
    height: 50px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.policy_popup .popup .popup_header p,
.consult_popup .popup .popup_header p {
    font-size: var(--ft24);
    font-weight: bold;
    color: var(--gray-900);
}
.policy_popup .popup .popup_header button,
.consult_popup .popup .popup_header button {
    width: 30px;
    height: 30px;
    background: none;
    border-radius: 0;
}
.policy_popup .popup .popup_header button span,
.consult_popup .popup .popup_header button span {
    text-align: center;
    line-height: 30px;
}
.policy_popup .popup .popup_text p {
    font-size: var(--ft14);
    color: var(--gray-900);
}
.policy_popup .popup .popup_text p.title {
    font-size: var(--ft18);
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 6px;
}
.policy_popup .popup .popup_text span {
    font-size: var(--ft14);
    font-weight: bold;
    color: var(--gray-900);
}
.policy_popup .popup .popup_text div {
    margin: 10px 0 20px 0;
}


.consult_popup .popup  {
    display: flex;
    flex-direction: column;
}
/* 상담 팝업 상단 지사 안내 블록 (어느 지사로 접수되는지 명시 → 신뢰감) */
.consult_popup .popup_branch {
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid var(--dark-line);
    border-left: 3px solid var(--primary);
    border-radius: 12px;
    background-color: #f7f7f8;
}
.consult_popup .popup_branch .branch_name {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: var(--ft18);
    color: var(--gray-900);
}
/* 텍스트를 한 덩어리로 묶어 '법무법인 법승'과 'OO사무소'가 같은 줄 흐름으로 정렬되게 함 */
.consult_popup .popup_branch .branch_name .branch_text {
    line-height: 1.3;
    word-break: keep-all;   /* 좁은 폭에서도 단어 단위로만 줄바꿈 */
}
.consult_popup .popup_branch .branch_name strong {
    font-weight: 800;
}
.consult_popup .popup_branch .branch_name .material-symbols-outlined {
    flex-shrink: 0;         /* 아이콘은 줄어들지 않게 */
    font-size: 22px;
    color: var(--primary);
}
.consult_popup .popup_branch ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.consult_popup .popup_branch li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: var(--ft14);
    line-height: 1.45;
    color: var(--gray-600);
}
.consult_popup .popup_branch li .material-symbols-outlined {
    flex-shrink: 0;
    font-size: 18px;
    line-height: 1.45;
    color: var(--gray-400);
}
.consult_popup .popup_branch li a {
    font-weight: 700;
    color: var(--gray-900);
}
.consult_popup .form li {
    width: 100%;
    height: 70px;
    border-bottom: 1px solid var(--dark-line);
    display: flex;
    align-items: center;
}
.consult_popup .form li:first-child {
    border-top: 1px solid var(--dark-line);
}
.consult_popup .form li p {
    width: 80px;
    font-size: var(--ft16);
    font-weight: bold;
    color: var(--gray-900);
}
.consult_popup .check_wrap {
    display: flex;
    align-items: center;
    font-size: var(--ft16);
    font-weight: 500;
    color: var(--gray-900);
    margin-top: 20px;
}
.consult_popup select {
    font-size: 16px;
}
.consult_popup select:required:invalid {
    color: var(--gray-600)
}
.consult_popup select option {
    color: var(--gray-900)
}

.consult_popup .check_wrap button {
    font-size: var(--ft16);
    font-weight: 500;
    color: var(--gray-900);
    text-decoration: underline;
    background: none;
    border-radius: none;
}
.consult_popup .check_wrap span {
    text-wrap: nowrap;
}
.consult_popup .consult_btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.consult_popup .popup_form_btn {
    text-align: center;
    padding-top: 30px;
}
.consult_popup .popup_form_btn a {
    width: 100%;
    height: 60px;
    line-height: 60px;
    border: none;
    background-color: var(--primary);
    border-radius: 10px;
    font-size: var(--ft18);
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
}



/*--------------------- date_box --------------------*/
.date {
    font-size: var(--ft14);
    color: var(--gray-800);
}
/*--------------------- case--------------------*/
.case_box .case {
    position: relative;
    width: 100%;
    height: 440px;
    background-color: var(--white);
    border-radius: 30px;
    border: 1px solid var(--dark-line);
    box-sizing: border-box;
    filter: drop-shadow(4px 4px 14px rgb(0, 0, 0, 0));
    transition: all 0.3s;
}

.case_box .case:hover {
    border: 1px solid var(--white);
    filter: var(--focus-shadow);
}

.case_box .case a {
    padding: 30px;
}

.case_box .case .case_tag {
    width: 100%;
    height: 30px;
    margin-bottom: 36px;
    overflow: hidden;
    
}
.case_box .case .case_tag .case_type {
    height: 30px;
    padding: 0 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    font-size: var(--ft16);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    float: left;
    margin-right: 10px;
}
.case_box .case .case_tag .case_type:last-child {
    margin-right: 0;
}

.case_box .case .case_tag .case_result {
    font-size: var(--ft16);
    color: var(--primary);
    font-weight: 600;
    float: right;
    line-height: 30px;
}

.case_box .case .title {
    font-size: var(--ft18);
    font-weight: bold;
    color: var(--black);
}

.case_box .case .text {
    font-size: var(--ft16);
    color: var(--gray-800);
    margin-top: 16px;
    width: 100%;
}
.case_box .case .tag_swiper {
    width: calc(100% - 60px);
    height: 20px;
    position: absolute;
    bottom: 120px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.case_box .case .tag li {
    width: auto;
    display: inline-block;
    font-size: var(--ft14);
    color: var(--gray-800);
}
.case_box .case .info {
    margin-top: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
}
.case_box .case .info .date {
    font-size: var(--ft14);
    color: var(--gray-800);
}
.case_box .case .info .like {
    display: flex;
    gap: 6px;
    align-items: center;
}
.case_box .case .info .like p,
.case_box .case .info .like i {
    font-size: var(--ft14);
    color: var(--primary);
}

.case_box .case .lawyer_swiper,
.case_box .case .similar_lawyer_swiper {
    width: calc(100% - 60px);
    height: 60px;
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.case_box .case .lawyer li {
    position: relative;
    width: 60px;
    cursor: pointer;
}

.case_box .case .lawyer li figure {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    overflow: hidden;
    background-color: var(--gray-400);
    position: absolute;
    top: 0;
    left: 0;
}

.case_box .case .lawyer li .hover {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background-color: rgba(13, 13, 13, 0.65);
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: all 0.2s;
}

.case_box .case .lawyer li .hover p {
    font-size: var(--ft14);
    color: var(--white);
    text-align: center;
    line-height: 60px;
}

.case_box .case .lawyer li:hover .hover {
    opacity: 1;
}


.null_text {
    width: 100%;
    height: 200px;
    position: absolute;
    font-size: var(--ft16);
    color: var(--gray-900);
    text-align: center;
    left: 0;
    right: 0;
    margin: 0 auto;
    line-height: 200px;
}
/*--------------------- footer --------------------*/
.footer {
    width: 100%;
    background-color: #333;
    position: relative;
    z-index: 1;
}
.footer .footer_inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 0;
    display: flex;
    gap: 30px;
}
.footer .footer_inner.footer_pm {
    padding-bottom: 210px;
}
/*--footer_left--*/
.footer_left {
    width: 50%;
}
.footer_left .footer_menu {
    margin-bottom: 90px;
}
.footer_left .footer_menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.footer_left .footer_menu li {
    font-size: var(--ft16);
    color: var(--white);
}
.footer_left address .tel {
    display: flex;
    gap: 30px;
    margin-bottom: 10px;
}
.footer_left address p {
    font-size: var(--ft14);
    color: var(--white);
    font-style: normal;
}
.footer_left address a {
    width: auto;
}

/*--footer_right--*/
.footer_right {
    width: 50%;
}
.footer_right .location p {
    font-size: var(--ft16);
    color: var(--white);
    margin-bottom: 10px;
}
.footer_right .location {
    margin-bottom: 60px;
}
.footer_right select,
.footer_right .footer_location {
    width: 100%;
    max-width: 544px;
}
.footer_right .select_menu.footer_location .sBtn_text {
    font-size: var(--ft16);
}
.footer_right .select_menu.footer_location .options {
    background-color: white;
    height: 160px;
}
.footer_right .select_menu.footer_location .option_text {
    font-size: 14px;
}
.footer_left div {
    margin-top: 20px;
}
.footer_left div .info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.footer_left div .info p,
.footer_left div .copy {
    font-size: var(--ft14);
    color: var(--gray-400);
    margin-right: 10px;
}
.footer_left div .info.recaptcha {
    margin-top: 10px;
    gap: 4px;
}
.footer_left .recaptcha,
.footer_left .recaptcha * {
    font-size: var(--ft14);
    color: var(--gray-400);
}
.footer_left .recaptcha a {
    text-decoration: underline;
}

.footer .copy {
    margin-top: 10px;
}
.footer .bizer_link {
    width: fit-content;
    height: fit-content;
    margin-top: 10px;
    font-size: var(--ft14);
    color: var(--gray-400);
    font-style: normal;
}

@media all and (max-width: 1800px) {
    .pc_btm_contect {
        width: 300px;
    }
}

@media screen and (max-width: 1600px) {
    .gnb_item__left {
        width: 400px;
    }
    .gnb_item__title {
        font-size: 70px;
    }
    .gnb_item__title_kr {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .center_gnb {
        height: 150px;
    }
    .center_gnb .gnb_sub_wrap div,
    .gnb_sub_wrap {
        gap: 30px;
    }
    .gnb_sub_item {
        font-size: 18px;
    }
    .pc_btm {
        gap: 20px;
    }
    .pc_btm_contect {
        width: 200px;
    }
    .pc_btm_contect a {
        flex-direction: column;
        gap: 0;
    }
    .pc_btm_contect p {
        font-size: 14px;
    }
    .pc_btm_contect i {
        font-size: 10px;
    }
    .pc_btm_contect .number {
        font-size: 16px;
    }
    .btm_form .input_wrap, 
    .btm_form .input_box {
        gap: 20px;
    }
    .pc_btm_contect .text {
        gap: 6px;
    }
    .pc_btm_contect .icon {
        padding: 0;
    }
    

}
@media screen and (max-width: 1400px) {
    /*-- header --*/
    header .header_top,
    header .header_btm {
        padding: 0 20px;
    }
    header .location {
        right: 20px;
    }
    .center_gnb {
        height: 130px;
    }
    .gnb_item__title {
        font-size: 60px;
    }

    .btm_form .form_agree button {
        white-space: pre-line;
        text-align: left;
        font-size: var(--ft14);
    }

    /*-- container_header --*/
    .case_header,
    .container_header form {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .container_header .lnb_box,
    .container_header .lnb {
        order: 2;
    }
    .container_header .lnb_box {
        max-width: 60%;
        width: auto;
    }
    .search_box {
        width: 60%;
        min-width: 300px;
        margin: 0 auto;
        margin-top: 40px;
        order: 1;
    }
    .sub_menu {
        width: 60%;
        margin: 0 auto;
        overflow: hidden;
    }
        
    /*-- footer --*/
    .footer .footer_inner {
        padding: 100px 40px;
    }
}
@media screen and (max-width: 1300px) {
    
    .pc_btm,
    .btm_form {
        gap: 10px;
    }
    .pc_btm_contect {
        width: 160px;
    }
    .btm_form_btn {
        width: 120px;
    }
    .btm_form_btn p {
        white-space: pre-line;
    }

    .page_btm {
        height: 86px;
    }
    .btm_form .input_box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        gap: 5px;
    }
    .btm_form input[type="text"] {
        max-width: 200px;
        height: 32px;
    }
    .btm_form .input_wrap {
        gap: 10px;
    }
    .btm_form .input_box {
        gap: 5px;
    }
    .btm_form .form_agree button {
        white-space: normal;
    }
    /*-- footer --*/
    .footer_left .footer_menu ul {
        gap: 20px;
    }

}
@media screen and (max-width: 1080px) {
    .main {
        height: 580px;
    }

    .btm_form input[type="text"] {
        width: 160px;
    }

}
@media screen and (max-width: 1000px) {
    header .logo_img {
        height: 34px;
    }
    .container_header .lnb ul li {
        padding-right: 20px;
    }
    .btm_form .form_agree button {
        white-space: pre-line;
    }

    /*-- header --*/
    .gnb_item_inner {
        padding: 0 40px;
    }
    .gnb_item__left {
        width: 300px;
    }
    .gnb_item__title_kr {
        margin-bottom: 16px;
    }
    .gnb_item__title {
        font-size: 60px;
    }
}
@media screen and (max-width: 900px) {
    header .header_btm .quick_btn {
        display: none !important;
    }
    header .header_btm .quick_btn .quick_menu_header {
        padding: 12px 14px;
        border-radius: 12px 12px 0 0;
    }
    header .header_btm .quick_btn .quick_menu_label {
        font-size: 11px;
    }
    header .header_btm .quick_btn .quick_menu_content {
        padding: 16px 12px;
    }
    header .header_btm .quick_btn ul {
        gap: 10px;
    }
    header .header_btm .quick_btn li {
        width: 44px;
        height: 44px;
        border-radius: 22px;
    }
    header .header_btm .quick_btn li .icon {
        width: 44px;
        height: 44px;
    }
    header .header_btm .quick_btn li img {
        width: 20px;
        height: 20px;
    }

    .header_btm .quick_btn .btn_hover {
        display: none;
    }
    .page_btm .pc_btm {
        display: none;
    }
    .page_btm .m_btm {
        display: block;
    }
    .page_btm .m_btm ul {
        display: flex;
    }
    .page_btm {
        background-color: var(--white);
        border-radius: 5px 5px 0 0;
        overflow: hidden;
        height: auto;
    }
    

    /*-- footer --*/
    .footer {
        height: auto;
    }
    .footer_left,
    .footer_right {
        width: 100%;
    }
    .footer .footer_inner {
        display: block;
        padding: 100px 40px;
    }
    .footer_left .footer_menu {
        margin-bottom: 40px;
    }
    .footer_right {
        margin-top: 60px;
    }
    .footer_right select,
    .footer_right .footer_location {
        margin-bottom: 40px;
    }
    .footer_right .location {
        margin-bottom: 40px;
    }
}
@media screen and (max-width: 800px)  {
    /*-- header --*/
    header .header_btm #lawwin {
        display: none;
    }
    header .header_btm {
        justify-content: end;
    }
    .gnb_item__title {
        font-size: 50px;
    }
    .gnb_item__title_kr {
        margin-bottom: 10px;
    }
    .gnb_item_inner {
        flex-direction: column;
        align-items: start;
    }
    .gnb_item__left,
    .gnb_item__right {
        margin-bottom: 20px;
    }
    .main {
        height: 50vh;
    }
    .main h1 {
        font-size: 50px;
    }

    /*-- container_header --*/
    .container_header {
        width: 80%;
        min-width: 300px;
        margin: 0 auto;
        margin-bottom: 80px;
    }
    .container_header .lnb_box {
        width: 100%;
        max-width: 100%;
    }
    .container_header .lnb {
        width: 100%;
        justify-content: space-between;
    }
    .container_header .lnb .lnb_name {
        padding-right: 16px;
    }
    .container_header .lnb ul li {
        white-space: nowrap;
    }
    .container_header .more {
        display: block;
    }
    .search_box {
        width: 100%;
    }
    .sub_menu {
        width: 80%;
    }
    .sub_menu ul {
        justify-content: left;
    }
    .case_box .case a {
        padding: 26px;
    }
    .case_box .case .case_tag {
        margin-bottom: 26px;
    }
    .case_box .case .case_tag .case_type,
    .case_box .case .case_tag .case_result {
        font-size: var(--ft14);
    }
}

/*-- 태블릿 --*/
@media screen and (max-width: 768px) {
    header .location {
        top: 90px;
    }
}

/*-- 모바일 --*/
@media screen and (max-width: 600px) {
    /*-- header --*/
    header .header_bar {
        display: none;
    }
    header .header_top {
        top: 10px;
        padding: 0;
        gap: 8px;   /* 지사 드롭다운을 햄버거 바로 옆에 붙이기 위한 간격 */
    }
    header .hamburger .hamburger_inner {
        width: 30px;
        height: 20px;
    }
    header .logo {
        padding: 10px;
    }
    header .hamburger {
        padding: 10px 30px;
    }
    header .hamburger.active .ham_line:nth-child(1) {
        transform: translateY(8.5px) rotate(-45deg);
    }
    header .hamburger.active .ham_line:nth-child(3) {
        transform: translateY(-8.5px) rotate(45deg); 
    }
    header .logo_img {
        height: 26px;
    }
    /* 모바일에선 기존 location 드롭다운 완전 비활성화(.branch_select 캡슐로 일원화).
       메뉴 열 때 default.js가 인라인 display:block을 넣으므로 !important로 차단 → '서울' 중복 노출 방지 */
    header .location {
        display: none !important;
    }
    /* 모바일: PC의 location 드롭다운이 숨겨지므로 햄버거 버튼 바로 옆에 현재 지사 드롭다운 노출 */
    header .branch_select {
        display: block;
        position: relative;   /* .options 위치 기준 (기본 .select_menu도 relative지만 명시) */
        width: auto;
        margin-left: auto;    /* 로고와 떨어뜨려 햄버거 쪽(우측)으로 정렬 */
        flex-shrink: 0;
        pointer-events: all;  /* header가 pointer-events:none이라 클릭 받으려면 필수 */
    }
    /* 캡슐형 버튼: 현재 지역명(KoNameSub) + 펼침 화살표 */
    header .branch_select .select_btn {
        height: auto;
        gap: 6px;
        padding: 6px 12px;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2;
        letter-spacing: -0.02em;
        color: var(--gray-900);
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);   /* 기본 .select_btn 하단선 덮어쓰기 */
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.65);   /* 밝은 헤더/배경 이미지 위 가독성 */
        white-space: nowrap;
    }
    header .branch_select .select_btn i {
        font-size: 13px;
    }
    /* 펼침 목록: 버튼 아래 우측 정렬(화면 밖으로 넘치지 않도록), 지역명이 잘리지 않도록 폭 확보 */
    header .branch_select .options {
        width: max-content;
        min-width: 170px;
        max-height: 60vh;
        height: auto;
        margin-top: 8px;
        padding: 12px;
        border-radius: 8px;
        background-color: #fff;
        left: auto;
        right: 0;   /* 버튼 우측 기준으로 펼쳐 우측 화면 밖 잘림 방지 */
    }
    header .branch_select .option {
        height: 44px;
    }
    header .branch_select .option_text {
        font-size: 16px;
        white-space: nowrap;
    }
    header .header_translate_wrapper {
        display: none;
    }
    .select_menu .options {
        background-color: white;
    }

    .policy_popup .popup .popup_header p,
    .consult_popup .popup .popup_header p {
        font-size: 20px;
    }
    .page_btm .m_btm ul li {
        height: 67px;
    }
    .page_btm .m_btm p {
        font-size: 10px;
    }

    /*-- main --*/
    .main {
        height: 400px;
    }
    .main .bg_img {
        height: 400px;
    }
    .main h1 {
        font-size: 40px;
    }

    /*-- case_box --*/
    .case_box .case .lawyer_swiper {
        height: auto;
    }
    .case_box .case .lawyer li {
        height: 80px;
    }
    .case_box .case .lawyer li .hover {
        width: auto;
        height: auto;
        position: absolute;
        bottom: -24px;
        opacity: 1;
        background: none;
    }
    .case_box .case .lawyer li .hover p {
        width: 60px;
        color: var(--gray-900);
        text-align: center;
    }
    .case_box .case .tag_swiper  {
        bottom: 130px;
    }

    .case_box .case .similar_lawyer_swiper {
        bottom: 50px;
    }

    /*-- footer --*/
    .footer .footer_inner {
        display: block;
        padding: 100px 20px;
    }
    .footer_right div .info,
    .footer_left .footer_menu ul {
        flex-wrap: wrap;
    }
    .footer_right select,
    .footer_right .footer_location {
        width: 100%;
    }

    /*-- popup --*/
    .policy_popup .popup,
    .consult_popup .popup {
        max-width: 400px;
        border-radius: 14px;
        padding: 30px;
    }
    .policy_popup .popup .popup_header, 
    .consult_popup .popup .popup_header {
        height: 40px;
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 400px) {
    /*-- popup --*/
    .policy_popup .popup,
    .consult_popup .popup {
        max-width: 320px;
        padding: 30px;
    }
}
