.blue{color: #17335d;}

/* 페이지별 배경 */

/* 로투유 소개 */
.intro_visual.sub_visual_bg{
    background-image:url('/images/subvisual_01.jpg');
}

/* 변호사 소개 */
.lawyer_visual.sub_visual_bg{
    background-image:url('/images/subvisual_02.jpg');
}

/* 업무분야 */
.practice_visual.sub_visual_bg{
    background-image:url('/images/subvisual_03.jpg');
}

/* 성공사례 */
.success_visual.sub_visual_bg{
    background-image:url('/images/subvisual_04.jpg');
}

/* 오시는 길 */
.location_visual.sub_visual_bg{
    background-image:url('/images/subvisual_05.jpg');
}

/*메인*/
.main_visual{
    position:relative;
    height:910px;
    background:
        linear-gradient( rgba(3,13,29,0.70)),
        url('/images/main_01.jpg') no-repeat center center;
    background-size:cover;
    overflow:hidden;
}

.mv_slider {
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}

.m_slide .pic {
    position: relative; 
    width: 100%; 
    height: 910px;
    background-size: cover;
    background-position: center;
}

.main_visual_inner{
    position:relative;
    width:100%;
    height:100%;

    display:flex;
    flex-direction:column;
    align-items:center;

    justify-content:flex-start;
    padding-top:217px;
    box-sizing:border-box;
}

.main_visual_txt{
    text-align:center;
    color:#fff;
}

.main_visual_txt h2{
    font-size:73px;
    font-weight:600;
    color:#f1d4a2;
    letter-spacing:-2px;
    margin-bottom:20px;
}

.main_visual_txt p{
    font-size:24px;
    font-weight:300;
    color:#fff;
    letter-spacing:-0.7px;
    margin-bottom:30px;
}

.m_slide .pic::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 46%);
    z-index: 1;
}

.main_visual_txt {
    position: absolute;
    top: 33%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center; color: #252121ff;
    z-index: 5;
}
.main_visual_txt .more_btn {
    padding: 10px 24px;
    text-decoration: none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-width:180px;
    height:50px;
    border-radius:30px;
    color:#fff;
    font-size:18px; font-weight:500;
    box-sizing:border-box;
    transition:all 0.3s;
}


/* prev/next 버튼 */
.mv_prev, .mv_next {
    position: absolute;
    top: 260px;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 40px;
    padding: 10px 16px;
    cursor: pointer;
}
.mv_prev { left: 10px; }
.mv_next { right: 10px; }

/* 하단 아이콘 */
.iconWrap {
    position: absolute;
    width: 1200px;
    height: auto;
    left: 50%;
    bottom: 205px;
    transform: translateX(-50%);
}
.iconWrap .menu {
    text-align: center;
    display: flex; 
    justify-content: center;
    gap: 50px;
}
.iconWrap .menu li {
    display: inline-block;
    cursor: pointer;
}   
.iconWrap .menu li .top_ico { margin-bottom: 8px; }
.iconWrap .menu li .top_ico img { width: 40px; }

/* .category_item:hover .icon_box{
    background:none;
    border:none;
    box-shadow: none;
} */
.category_item.slick-active .icon_box {
    background: #d99a3f;
    border: 2px solid #d99a3f;
    box-shadow: 0 0 0 8px rgba(217,154,63,0.25);
}

.more_btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-width:180px;
    height:50px;
    border:1px solid rgba(255,255,255,0.9);
    border-radius:30px;
    color:#fff;
    font-size:18px;
    font-weight:500;
    text-decoration:none;
    box-sizing:border-box;
    transition:all 0.3s;
}

.more_btn:hover{
    background:#d6963c;
    border-color:#d6963c;
}

.main_category{
    position:absolute;
    left:50%;
    bottom:125px;
    transform:translateX(-50%);
    display:flex;
    align-items:flex-start;
    gap:70px;
}

.category_item{
    display:block;
    text-align:center;
    text-decoration:none;
    color:#fff;
}

.icon_box{
    width:165px;
    height:165px;
    border:2px solid rgba(255,255,255,0.25);
    border-radius:14px;
    background:rgba(0,0,0,0.55);
    display:flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    transition:all 0.3s;
}

.icon_box img{
    max-width:100px;
    max-height:100px;
    opacity:0.75;
}

.category_item p{
    margin-top:20px;
    font-size:19px;
    font-weight:500;
    color:#fff;
    letter-spacing:-0.5px;
}

/* .category_item.on .icon_box,
.category_item:hover .icon_box{
    background:#d99a3f;
    border:2px solid #d99a3f;
    box-shadow:0 0 0 8px rgba(217,154,63,0.25);
} */

.category_item.on .icon_box img,
.category_item:hover .icon_box img{
    opacity:1;
}

/* =========================================================
   HEADER
========================================================= */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:100;

    border-bottom:1px solid rgba(255,255,255,0.1);

    backdrop-filter:blur(4px);

    transition:0.3s;
}

/* 메뉴 열렸을 때 스크롤 했을 때 */
.header.active,
.header.scrolled {
    background:#fff;
    border-bottom:1px solid #e5e5e5;
}

.header.scrolled .hamburger span {
    background: #111;
}

.header_inner{
    max-width:1200px;
    height:70px;

    margin:0 auto;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

@media screen and (max-width:901px){


    /* html, */
    body{
        overflow-x:hidden;
    }

    .header{
        width:100%;
        left:0;
        right:auto;
    }

    .header_inner{
        width:100% !important;
        max-width:none !important;
        padding:0 16px !important;
        box-sizing:border-box;
        display:flex;
        align-items:center;
        justify-content:space-between;
    }

    .logo{
        margin:0;
    }

    .gnb{
        right:-100% !important;
        width:300px;
        max-width:85vw;
    }

    .gnb.is-open{
        right:0 !important;
    }
}

/* =========================================================
   LOGO
========================================================= */
.logo a{
    position:relative;
    display:block;
    width:180px;
    height:50px;
}

.logo img{
    position:absolute;
    top:0;
    left:0;
    height:auto;

    transition:opacity 0.3s ease;
}

/* 기본 로고 */
.logo_white{
    opacity:1;
}

/* 컬러 로고 숨김 */
.logo_color{
    opacity:0;
}

/* hover OR 스크롤 시 메뉴 활성화 → 로고 변경 */
.header.active .logo_white,
.header.scrolled .logo_white{
    opacity:0;
}

.header.active .logo_color,
.header.scrolled .logo_color{
    opacity:1;
}

@media screen and (max-width:767px){
    .logo img{
        height: 40px;
        top: 6px;
    }
    .hamburger {width: 40px!important;
    height: 40px!important;}
}
/* =========================================================
   GNB
========================================================= */

.gnb ul{
    display:flex;
    gap:70px;
}

.gnb ul li a{
    position:relative;

    font-size:17px;
    font-weight:500;

    color:#fff;

    transition:all 0.3s ease;
}

/* 메뉴 열리면 + 스크롤 하면 흰색 → 검정 */
.header.active .gnb ul li a,
.header.scrolled .gnb ul li a{
    color:#111;
}

/* 밑줄 효과 */
.gnb ul li a::after{
    content:'';

    position:absolute;
    left:0;
    bottom:-8px;

    width:0;
    height:2px;

    background:#c89b5d;

    transition:0.3s;
}

.gnb ul li:hover > a::after{
    width:100%;
}

/* =========================================================
   MEGA MENU
========================================================= */
.mega_img{
    display:block;
}

.mega_img img{
    width:100%;
    height:105px;

    object-fit:cover;

    border-radius:8px;

    display:block;

    margin-bottom:20px;
}
.mega_menu{
    position:absolute;
    top:70px;
    left:0;

    width:100%;

    background:#fff;

    border-top:1px solid #eee;
    border-bottom:1px solid #ddd;

    display:none;

    box-shadow:0 15px 40px rgba(0,0,0,0.06);
}

.mega_inner{
    max-width:1200px;
    margin:0 auto;

    display:grid;
    grid-template-columns:repeat(5, 1fr);
}

.mega_item{
    min-height:250px;

    padding:20px 18px;

    border-left:1px solid #ddd;
}

.mega_item:last-child{
    border-right:1px solid #ddd;
}

.mega_item img{
    width:100%;
    height:105px;

    object-fit:cover;

    border-radius:8px;

    display:block;

    margin-bottom:20px;
}

.mega_title{
    display:flex;
    align-items:center;
    justify-content:space-between;

    font-size:18px;
    font-weight:700;

    color:#111;

    padding-bottom:14px;
    margin-bottom:16px;

    border-bottom:1px solid #ddd;

    transition:0.3s;
}


.mega_title span{
    font-size:32px;
    line-height:1;

    color:#444;
}

.mega_item p{
    font-size:15px;
    color:#666;

    margin-bottom:13px;
}

/* 하위 메뉴 */
.mega_depth{
    display:block;

    font-size:15px;
    color:#666;

    margin-bottom:13px;

    transition:0.3s;
}

.mega_title:hover,
.mega_depth:hover{
    color:#c89b5d;
}


/* =========================================================
   FOOTER
========================================================= */

.footer_top{
    background:#061b33;
    padding:45px 0;
    color:#fff;
}

.footer_inner{
    max-width:1200px;

    margin:0 auto;
    padding:0 20px;
}

.info_wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:40px;
}

.footer_info p{
    font-size:14px;
    line-height:1.8;

    color:rgba(255,255,255,0.8);
}

.footer_call{
    min-width:330px;
}

.footer_call p{
    font-size:22px;
    font-weight:700;
    line-height:1.7;

    color:#fff;
}

.footer_call strong{
    font-size:26px;
    font-weight:800;
}

/* 하단 고정폼 높이 */
:root{
    --bottom-consult-height:130px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media screen and (max-width:900px){

    .info_wrap{
        flex-direction:column;
        align-items:flex-start;

        gap:25px;
    }

    .footer_call p{
        font-size:19px;
    }

    .footer_call strong{
        font-size:22px;
    }

}

@media screen and (max-width:480px){

    .footer_top{
        padding: 44px 0;
    }

    .footer_info p{
        font-size:13px;
    }

    .footer_call{
        min-width:auto;
    }

    .footer_call p{
        font-size:17px;
    }

    .footer_call strong{
        font-size:20px;
    }

}



/* =========================================================
   meni_01 ABOUT
========================================================= */

.about_section{
    padding:100px 0 100px;
    background:#fff;
    clear:both;
}

.about_inner{
    max-width:1200px;
    margin:0 auto;
}

/* 상단 */
.about_wrap{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:65px;
    width:100%;
    margin-bottom:45px;
}

.about_img{
    width:85%;
    height:600px; /* 원하는 세로 길이 */
    overflow:hidden;
    border-radius:20px; /* 선택 */
}

.about_img.law{
    height:750px; /* 원하는 세로 길이 */
}

.about_img img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
     object-position:top;
}

.about_text{
    width:100%;
    padding-top:10px;
    font-size:32px;
    font-weight:300;
    color:#222;

    margin-bottom:35px;

    line-height:1.3;
}

.title_line{
    width:70px;
    height:5px;
    background:#1f396d;

    margin-bottom:35px;
}


.about_text .title01{
    font-weight:800;
    font-size: 40px;
}

.about_text .title01 > p{
margin-bottom: 20px;
}

.about_text .title02{
    font-weight:300;
    font-size: 30px;
    color: black;
}

.about_text > p{
    font-size:17px;
    line-height:2;

    color:#555;

    margin-bottom:18px;

    word-break:keep-all;
}

/* 하단 박스 */
.about_message{
    position:relative;

    background:#f4f6fa;
    border-radius:22px;

    padding:55px 80px;

    text-align:center;

    overflow:hidden;
}

.about_message p{
    font-size:20px;
    line-height:1.9;

    color:#555;

    margin-bottom:10px;

    word-break:keep-all;
}

.about_message strong{
    color:#222;
    font-weight:700;
}

.about_message h4{
    font-size:26px;
    font-weight:700;

    line-height:1.6;

    color:#1f396d;

    margin-top:10px;

    word-break:keep-all;
}

/* 워터마크 */
.watermark{
    position:absolute;
    right:35px;
    bottom:20px;

    width:120px;

    opacity:0.08;
}



/* =========================================================
   SUB VISUAL
========================================================= */

.about_section *{
    box-sizing:border-box;
} 
/* 공통 배경 */
/* 서브비주얼 */
.sub_visual{
    position:relative;
    width:100%;
    height:400px;
    overflow:hidden;
}

/* 여기 추가 */
.sub_visual > .sub_visual_bg{
    position:absolute;
    top:0;
    left:50%;
    width:100vw;
    min-width:1920px;
    height:100%;
    transform:translateX(-50%);
    background-size:cover;
    z-index:0;
}


/* 오버레이 */
.sub_visual::before{
    content:'';

    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(2,10,24,0.55);

    z-index:1;
}

/* =========================================================
   1200
========================================================= */

@media screen and (max-width:1200px){
    .iconWrap {
        width: 100% !important;
        padding: 20px;
        bottom: 177px;
    }
    .m_slide .pic img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .sub_visual{
        height:500px;
    }

    .sub_visual_inner{
        padding:0 20px;
    }

    .sub_visual_txt h2{
        font-size:58px;
    }

    .sub_visual_txt p{
        font-size:20px;
    }

    /* 성공사례 */
    .board_view_body, .board_content {
        width: 100% !important;
    }
}

/* =========================================================
   767
========================================================= */

@media screen and (max-width:767px){
    /* index.php */
    .main_visual_txt {
        top:24%
    }
    .iconWrap {
        bottom: 205px;
    }
    .iconWrap .menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 20px;
    }
    
    .sub_visual{
        height:380px;
    }

    .sub_visual_txt{
        padding-top:20px;
    }

    .sub_visual_txt h2{
        font-size:42px;
        margin-bottom:14px;
    }

    .sub_visual_txt p{
        font-size:16px;
        line-height:1.6;
    }

}

/* =========================================================
   480
========================================================= */

@media screen and (max-width:480px){

    .sub_visual{
        height:320px;
    }

    .sub_visual_txt h2{
        font-size:34px;
    }

    .sub_visual_txt p{
        font-size:14px;
    }

}


/* 내부 */
.sub_visual_inner{
    position:relative;
    z-index:2;

    max-width:1200px;
    height:100%;

    margin:0 auto;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;
}

/* 텍스트 */
.sub_visual_txt{
    padding-top:40px;
}

.sub_visual_txt h2{
    font-size:54px;
    font-weight:600;

    color:#f3d8a0;

    margin-bottom:10px;
}

.sub_visual_txt p{
    font-size:22px;
    color:#fff;
}


.lawyer_text h3{
    font-size:52px;
    font-weight:300;
    color:#222;

    margin-bottom:55px;
}


.lawyer_text h4{
    font-size:28px;
    font-weight:700;
    color:#222;
    margin: 45px 0px 20px 0px;
}

.career_list li{
    display:flex;
    align-items:flex-start;
    gap:19px;
    margin-bottom:16px;
    line-height:1;
}

.career_list li span{
    min-width:70px;

    font-size:20px;
    font-weight:800;
    color:#222;

    line-height:1.5;
}

.career_list li p{
    font-size:20px;
    line-height:1.4;

    color:#555;
     margin:0;
    word-break:keep-all;
}



/* ================================
   업무분야 상세
================================ */

.business_title{
    font-size:35px;
    font-weight:400;
    color:#222;
    text-align:center;
    margin-bottom:45px;
}

.business_img{
    width:100%;
    height:430px;
    border-radius:14px;
    overflow:hidden;
    margin-bottom:70px;
}

.business_img img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.business_block{
    margin-bottom:65px;
}

.business_block h4{
    position:relative;
    font-size:24px;
    font-weight:700;
    color:#222;
    padding-left:20px;
    margin-bottom:25px;
}

.business_block h4::before{
    content:'';
    position:absolute;
    left:0px;
    top:50%;
    transform:translateY(-50%);
    width:6px;
    height:25px;
   background:linear-gradient(
    to bottom,
    #7e6040 0%,
    #6e492a 50%,
    #3f2614 100%
    );
}

.business_block p{
    font-size:18px;
    line-height:2;
    color:#666;
    word-break:keep-all;
    margin-bottom:8px;
}

.feature_list li{
    position:relative;
    padding-left:22px;
    font-size:18px;
    line-height:2.2;
    color:#555;
}

.feature_list li::before{
    content:'';
    position:absolute;
    left:0;
    top:0.95em;
    transform:translateY(-50%);

    width:9px;
    height:9px;
    border-radius:50%;
    background:#222;
}

.law_circle_wrap{
    display:flex;
    flex-wrap:wrap;
    gap:30px;
    margin-top:35px;
}

.law_circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 7px solid #cfcfcf;
    color: #fff;
    font-size: 21px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 18px;
}

.law_circle > div{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.law_circle strong{
    display:block;
    margin-bottom:5px;
}

.law_circle .law_sub {
    font-size: 16px;
    display:block;
    line-height:1.5;
    font-weight: 400;}

.law_circle.gold{
    background:#d6923d;
}

.law_circle.navy{
    background:#12356a;
}
.law_circle_wrap .law_desc {
    font-size:18px;
    line-height:1.6;
    color:#666;
    word-break:keep-all;
    text-align: center;
    font-weight: 600;}

.law_circle_wrap .law_item{text-align: center;}
/*1200이하*/
@media screen and (max-width: 1200px) {
    .about_section {
        padding: 80px 30px 80px 30px;}
}


/* 767 이하 */
@media all and (max-width:767px){

    .business_title{
        font-size:30px;
        margin-bottom:32px;
    }

    .business_img{
        height:300px;
        border-radius:10px;
        margin-bottom:50px;
    }

    .business_block{
        margin-bottom:50px;
    }

    .business_block h4{
        font-size:23px;
        padding-left:13px;
        margin-bottom:18px;
    }

    .business_block h4::before{
        width:5px;
    }

    .business_block p,
    .feature_list li{
        font-size:16px;
    }

    .feature_list li{
        line-height:2;
    }

    .law_circle_wrap{
        gap:18px;
    }

    .law_circle{
        width:160px;
        height:160px;
        font-size:18px;
        border-width:6px;
    }
}

/* 480 이하 */
@media all and (max-width:480px){

    .business_title{
        font-size:25px;
        margin-bottom:25px;
    }

    .business_img{
        height:230px;
        margin-bottom:40px;
    }

    .business_block{
        margin-bottom:42px;
    }

    .business_block h4{
        font-size:20px;
    }

    .business_block p,
    .feature_list li{
        font-size:15px;
        line-height:1.85;
    }

    .law_circle_wrap{
        gap:14px;
    }

    .law_circle{
        width:135px;
        height:135px;
        font-size:16px;
        border-width:5px;
    }
}


/*업무분야 - 서브탭*/
.business_tab_section{
    padding:15px 0 0;
    background:#fff;
}

.business_tab{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:55px;
    padding:0 0 15px;
    border-bottom:1px solid #e5e5e5;
}

.business_tab li a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:120px;
    height:34px;
    padding:0 24px;
    border-radius:20px;
    font-size:17px;
    font-weight:600;
    color:#555;
    transition:all .25s ease;
}

.business_tab li.on a,
.business_tab li a:hover{
    background:#f5efe8;
    color:#8b5f37;
}

@media all and (max-width:1200px){
    .business_tab_section{
        min-width:100%;
    }

    .business_tab_section > div{
        width:100%;
        padding:0 20px;
        box-sizing:border-box;
    }

    .business_tab{
        gap:20px;
    }

    .header_inner {
    padding: 0px 30px 0px 30px;
}
}

@media all and (max-width:767px){
    .business_tab{
        justify-content: center;
        overflow-x:auto;
        gap:12px;
        padding-bottom:16px;
    }

    .business_tab li{
        flex-shrink:0;
    }

    .business_tab li a{
        min-width:auto;
        height:32px;
        padding:0 18px;
        font-size:17px;
    }
}

/*오시는 길*/
.location_section{
    padding: 70px 0 140px 0px;
    background:#f7f5f2;
}

.location_title{
    text-align:center;
    margin-bottom:50px;
}

.location_title h3{
    font-size:32px;
    font-weight:600;
    color:#0f2244;
    margin-bottom:20px;
}

.title_deco{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
}

.title_deco span{
    width:140px;
    height:1px;
    background:#ccb08b;
}

.title_deco i{
    font-style:normal;
    color:#ccb08b;
    font-size:18px;
}

.location_wrap{
    width:100%;
    height:545px;
    display:flex;
    border-radius:20px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 10px 40px rgba(0,0,0,0.06);
}

.location_map{
    width:60%;
    height:545px;   /* 원하는 높이 */
    overflow:hidden;
}

.location_map iframe{
    display:block;
    width:100%;
    height:100%
}

.location_info{
    width:52%;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    background:#fff;
}

.info_box{
    padding: 15px 45px 15px 45px;
}

.info_item{
    display:flex;
    align-items:center;
    gap:28px;
    padding:20px 0;
    border-bottom:1px solid #ece7df;
}

.info_item:last-child{
    border-bottom:none;
}

.info_icon{
    width:40px;
    height:40px;
    border-radius:50%;
    background:linear-gradient(135deg,#18386d,#0e2247);

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;
}

.info_icon img{
    width:30px;
}

.info_text{
    display:flex;
    align-items:center;
    gap:20px;
}

.info_text strong{
    min-width:70px;
    font-size:21px;
    font-weight:700;
    color:#b58a57;
}

.info_text p{
    font-size:19px;
    line-height:1.7;
    color:#333;
    word-break:keep-all;
}

.location_banner{
    width:100%;
    padding:40px 50px;
    background:linear-gradient(135deg,#112a55,#091a38);
    display:flex;
    align-items:center;
    gap:25px;
    position:relative;
    overflow:hidden;
}

.location_banner::after{
    content:'\f0e3';
    font-family:"Font Awesome 5 Free";
    font-weight:900;

    position:absolute;
    right:40px;
    top:50%;
    transform:translateY(-50%);

    font-size:140px;
    color:rgba(255,255,255,0.05);

    line-height:1;
}

.banner_icon i{
    font-size:38px;
    color:#d4b586;
}


.banner_text p{
    font-size:19px;
    font-weight:600;
    color:#d8ba8d;
    margin-bottom:10px;
    font-family:'Nanum Myeongjo', serif;
}

.banner_text span{
    font-size:19px;
    font-weight:600;
    color:#d8ba8d;
    letter-spacing: 0;
    font-family:'Nanum Myeongjo', serif;
}

.info_icon > i {color: white;
    font-size: 20px;}

@media all and (max-width:1200px){

    .location_section{
        min-width:100%;
        padding:70px 30px;
    }

    .location_section > div{
        width:100%;
        padding:0 20px;
        box-sizing:border-box;
    }

    .location_wrap{
        flex-direction:column;
    }

    .location_map,
    .location_info{
        width:100%;
    }

    .location_map{
        height:420px;
    }
}

@media all and (max-width:767px){

    .location_title h3{
        font-size:28px;
    }

    .title_deco span{
        width:70px;
    }

    .info_box{
        padding:25px;
    }

    .info_icon{
        width:54px;
        height:54px;
    }

    .info_icon img{
        width:22px;
    }

    .info_text{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

    .info_text strong{
        font-size:19px;
        min-width:auto;
    }

    .info_text p{
        font-size:15px;
    }

    .location_banner{
        padding:25px;
    }

    .banner_icon{
        width:55px;
        height:55px;
        font-size:24px;
    }

    .banner_text p{
        font-size:17px;
    }

    .banner_text span{
        font-size:14px;
    }
}

/*성공사례*/


.success_wrap{
    width:100%;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:35px 24px;
}

.success_item{
    display:block;
    text-decoration:none;
    color:#222;
    transition:all .3s ease;
    width:100%;
    min-width:0;
    display:flex;
    flex-direction:column;
}

.success_item:hover{
    transform:translateY(-8px);
}

.success_thumb{
    border-radius:18px;
    overflow:hidden;
    border:1px solid #e5e5e5;
    background:#fff;
    height: 320px;
    display:block;
}

.success_thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:top center;
    display:block;
}

.success_info{
    margin-top:18px;
    display:flex;
    flex-direction:column;
    min-height:160px; /* 원하는 높이 */
}

.success_top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:12px;
}

.success_top .date{
    font-size:14px;
    color:#999;
}

.success_info h3{
    font-size:20px;
    line-height:1.5;
    font-weight:700;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;

    height:30px;
}

.success_info p{
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 50px;
}

.success_info .contentWrap {
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 22px;
    height: 43px;
    margin-top: 10px;
}

.success_info .contentWrap * {
    display: inline !important;    
    float: none !important;
    width: auto !important;
    font-size: 14px !important;
    font-weight: normal !important;
    color: #444 !important;
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 20px !important;  
}


/* 반응형 */
@media screen and (max-width:1200px){

    .success_wrap{
        grid-template-columns:repeat(3, 1fr);
    }

}

@media screen and (max-width:900px){

    .success_wrap{
        grid-template-columns:repeat(2, 1fr);
    }

}

@media screen and (max-width:767px){

    .success_wrap{
        grid-template-columns:1fr;
        gap:30px;
    }

}


/* 게시판 상세 */
.board_view{
    width:100%;
    float:left;
    border-top:2px solid #222;
}

/* 제목 영역 */
.board_view_head{
    width:100%;
    float:left;
    padding:42px 30px;
    border-bottom:1px solid #ddd;
    box-sizing:border-box;
    text-align:center;
    display: grid;
    gap: 20px;
}

.success_top .category{
    font-size:13px;
    padding:5px 10px;
    border-radius:30px;
    background:#f5f5f5;
    font-weight:600;
}

.board_category{
    display:inline-block;
    padding:7px 16px;
    border-radius:30px;
    background:#f4efe6;
    color:#9b6a28;
    font-size:14px;
    font-weight:700;
}

.board_view_head h2{
    font-size:34px;
    line-height:1.45;
    font-weight:800;
    color:#222;
    word-break:keep-all;
}

.board_meta{
    font-size:0;
}

.board_meta span{
    display:inline-block;
    position:relative;
    font-size:15px;
    color:#999;
    padding:0 12px;
}

.board_meta span + span::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:1px;
    height:12px;
    background:#ddd;
    transform:translateY(-50%);
}

/* 본문 */
.board_view_body{
    width:100%;
    float:left;
    padding:60px 30px 70px;
    border-bottom:1px solid #ddd;
    box-sizing:border-box;
}

.board_thumb{
    width:100%;
    float:left;
    margin-bottom:50px;
    text-align:center;
}

.board_thumb img{
    max-width:100%;
    display:inline-block;
    border-radius:18px;
}


/* 버튼 */
.board_btn_wrap{
    width:100%;
    float:left;
    text-align:center;
    margin-top:40px;
}

.list_btn{
    display:inline-block;
    min-width:150px;
    height:52px;
    line-height:52px;
    border-radius:6px;
    background:#222;
    color:#fff;
    font-size:16px;
    font-weight:700;
    text-decoration:none;
}

.list_btn:hover{
    background:#9b6a28;
}



/* 반응형 */
@media screen and (max-width:1200px){

    .common_box > div{
        width:100%;
        padding:0 20px;
        box-sizing:border-box;
    }

}
@media screen and (max-width:767px){

    .board_view_head{
        padding:35px 15px;
    }

    .board_view_head h2{
        font-size:26px;
    }

    .board_view_body{
        padding:45px 15px 55px;
    }

    .board_content{
        font-size:16px;
    }

    .board_content h3{
        font-size:21px;
    }

    .board_content ul{
        padding:22px;
    }

    .list_btn{
        width:100%;
    }

}

/* 메인 모바일 */
@media screen and (max-width:767px){

    .main_visual{
        padding:0 18px;
        box-sizing:border-box;
    }
    .main_visual_inner{
        padding-top:165px;
    }
    .main_visual_txt h2{
        font-size:42px;
        margin-bottom:18px;
        white-space: nowrap;
    }
    .main_visual_txt p{
        font-size:18px;
        line-height:1.6;
        margin-bottom:18px;
        word-break:keep-all;
    }

    .more_btn{
        min-width:170px;
        height:45px;
        font-size:18px;
    }

    .main_category{
        left:20px;
        right:20px;
        bottom:32px;
        width:auto;
        transform:none;

        display:grid;
        grid-template-columns:repeat(2, 1fr);
        gap:22px 14px;
    }

    .category_item{
        width:100%;
    }

    .icon_box{
        width:100%;
        height:120px;
        border-radius:14px;
    }

    .icon_box img{
        max-width:62px;
        max-height:62px;
    }

    .category_item p{
        margin-top:13px;
        font-size:17px;
        line-height:1.35;
        word-break:keep-all;
    }
}


/* 작은 모바일 */
@media screen and (max-width:420px){

    .main_visual{
        /* height:720px; */
        /* padding:0 16px; */
    }

    .main_visual_inner{
        padding-top:130px;
    }

    .main_visual_txt h2{
        font-size:45px;
    }

    .main_visual_txt p{
        font-size:17px;
    }

    .main_category{
        left:16px;
        right:16px;
        bottom:35px;
        gap:12px 20px;
    }

    .icon_box{
        height:105px;
    }

    .icon_box img{
        max-width:56px;
        max-height:56px;
    }

    .category_item p{
        font-size:16px;
    }
}

/* ===============================
   menu_01 로투유 소개 반응형
================================ */

/* 1200 이하 */
@media screen and (max-width:1200px){

    .common_box > div{
        width:100%;
        padding:0 20px;
        box-sizing:border-box;
    }

    .about_inner{
        width:100%;
        padding:0 20px;
        box-sizing:border-box;
    }

    .about_wrap{
        gap:40px;
    }

    .about_img{
        width:50%;
        height:560px;
    }

    .about_text{
        width:50%;
    }

    .about_text .title01{
        font-size:34px;
    }

    .about_text .title02{
        font-size:26px;
    }

    .about_text > p{
        font-size:17px;
    }
}


/* 태블릿 */
@media screen and (max-width:900px){

    .about_section{
        padding: 80px 30px 80px 30px;
    }

    .about_wrap{
        flex-direction:column;
        gap:40px;
        margin-bottom:0px;
    }

    .about_img{
        width:100%;
        height:420px;
    }

    .about_img.law {
    height: 600px;}

    .about_text{
        width:100%;
        padding-top:0;
    }

    .about_text br{
        display:none;
    }

    .about_message{
        padding:45px 35px;
    }

    .about_message p br,
    .about_message h4 br{
        display:none;
    }
}


/* 모바일 */
@media screen and (max-width:767px){

    .about_section{
        padding: 80px 30px 80px 30px;
    }

    .about_inner{
        padding:0 16px;
    }

    .about_img{
        height:380px;
        border-radius:15px;
    }

    .title_line{
        width:50px;
        height:4px;
        margin-bottom:24px;
    }

    .about_text .title01{
        font-size:34px;
        line-height:1.35;
    }

    .about_text .title02{
        font-size:22px;
    }

    .about_text > p{
        font-size:16px;
        line-height:1.85;
        margin-bottom:16px;
        word-break:keep-all;
    }

    .about_message{
        padding:36px 22px;
        border-radius:16px;
    }

    .about_message p{
        font-size:15px;
        line-height:1.8;
        text-align:left;
        text-align: center;
    }

    .about_message h4{
        font-size:19px;
        line-height:1.6;
        text-align:left;
        text-align: center;
    }

    .watermark{
        width:80px;
        right:20px;
        bottom:15px;
    }
}


/* 작은 모바일 */
@media screen and (max-width:480px){
    
    .business_tab{
        justify-content: start;
    }
    .about_section {
        padding: 50px 15px 80px 15px;}

    .about_img{
        height:260px;
    }

    .about_text .title01{
        font-size:32px;
    }

    .about_text .title02{
        font-size:19px;
    }

    .about_text > p{
        font-size:16px;
        line-height:1.8;
    }

    .about_message{
        padding:30px 18px;
    }

    .about_message p{
        font-size:16px;
    }

    .about_message h4{
        font-size:20px;
    }
}

/* ===============================
   SUB VISUAL 반응형
================================ */

.sub_visual{
    position:relative;
    width:100%;
    height:400px;
    overflow:hidden;
}

.sub_visual::before{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(2,10,24,0.55);
    z-index:1;
}

.sub_visual_inner{
    position:relative;
    z-index:2;
    width:100%;
    max-width:1200px;
    height:100%;
    margin:0 auto;
    padding:0 20px;
    box-sizing:border-box;

    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.sub_visual_txt{
    padding-top:40px;
}

.sub_visual_txt h2{
    font-size:54px;
    font-weight:600;
    color:#f3d8a0;
    margin-bottom:10px;
}

.sub_visual_txt p{
    font-size:22px;
    color:#fff;
    line-height:1.5;
    word-break:keep-all;
}


/* 태블릿 */
@media screen and (max-width:900px){

    .sub_visual{
        height:320px;
    }

    .sub_visual_txt{
        padding-top:50px;
    }

    .sub_visual_txt h2{
        font-size:42px;
    }

    .sub_visual_txt p{
        font-size:20px;
    }

    .lawyer_text h4{font-size: 22px;
    margin: 25px 0px 20px 0px;}

    .career_list li span {
    min-width: 55px;
    font-size: 19px;
    color: #222;
    line-height: 1.5;}

    .career_list li p {
    font-size: 18px;}

    .career_list li{gap: 13px; margin-bottom: 12px;}

        .business_tab li a {
        min-width: auto;
        height: 32px;
        padding: 0px 18px;
        font-size: 14px;}
}


/* 모바일 */
@media screen and (max-width:480px){

    .sub_visual{
        height:260px;
    }

    .sub_visual_inner{
        padding:0 16px;
    }

    .sub_visual_txt{
        padding-top:50px;
    }

    .sub_visual_txt h2{
        font-size:32px;
        margin-bottom:12px;
    }

    .sub_visual_txt p{
        font-size:15px;
        line-height:1.6;
    }
}

/* 오시는 길 반응형 */
@media screen and (max-width:1200px){

    .location_wrap{
        height:auto;
        flex-direction:column;
    }

    .location_map,
    .location_info{
        width:100%;
    }

    .location_map{
        height:420px;
    }

    .location_map iframe{
        height:100%;
    }
}

@media screen and (max-width:767px){
    .location_section{
        padding:55px 30px 80px;
    }

    .location_title{
        margin-bottom:35px;
    }

    .location_title h3{
        font-size:26px;
    }

    .location_map{
        height:330px;
    }

    .info_box{
        padding:25px 22px;
    }

    .info_item{
        gap:16px;
        padding:14px 0;
        align-items:flex-start;
    }

    .info_icon{
        width:42px;
        height:42px;
    }

    .info_icon > i{
        font-size:17px;
    }

    .info_text{
        flex-direction:column;
        align-items:flex-start;
        gap:6px;
    }

    .info_text strong{
        min-width:auto;
        font-size:20px;
    }

    .info_text p{
        font-size:16px;
        line-height:1.5;
    }

    .location_banner{
        padding:24px 22px;
        gap:16px;
    }

    .banner_icon{
        width:54px;
        height:54px;
        font-size:24px;
    }

    .banner_text p{
        font-size:16px;
        line-height:1.5;
    }

    .banner_text span{
        font-size:14px;
    }
}

@media screen and (max-width:480px){
    .location_section{
        padding:45px 20px 65px;
    }

    .location_title h3{
        font-size:23px;
    }

    .title_deco span{
        width:100px;
    }

    .location_wrap{
        border-radius:14px;
    }

    .location_map{
        height:380px;
    }

    .info_box{
        padding:20px 20px;
    }

    .info_item{
        gap:12px;
    }

    .info_icon{
        width:38px;
        height:38px;
    }

    .info_text p{
        font-size:16px;
        word-break:break-all;
    }

    .location_banner{
        align-items:flex-start;
        padding:22px 32px;
    }

    .banner_icon{
        display:none;
    }

    .banner_text p{
        font-size:15px;
        margin-bottom:6px;
    }
}

/*성공사례*/
@media screen and (max-width:767px){
.success_info p {
margin-top: 15px;
line-height: 1.6;
height: 45px;}

.success_info h3 {
font-size: 19px;}
}

.footer_call i{
    margin-right:7px;
}



/* =========================================================
   하단 고정 상담폼
========================================================= */

.bottom_consult{
    position:fixed;
    left:0;
    bottom:0;
    z-index:9999;

    width:100%;
    padding:50px 0;

    background: linear-gradient(135deg, #0d2859, #0d4386);
    box-shadow:0 -5px 20px rgba(0,0,0,0.55);
}


.bottom_consult > div{
    width:100% !important;
    padding:0 !important;
}

.bottom_consult_inner{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
}

.consult_title strong{
    display:block;
    font-size:30px;
    font-weight:800;
    color:#f3d8a0;
    margin-bottom:10px;
}

.consult_title p{
    font-size:18px;
    color:rgba(255,255,255,0.85);
    word-break:keep-all;
}


.consult_form input{
    width:255px;
    height:52px;
    padding:0 18px;

    border:1px solid rgba(255,255,255,0.25);
    border-radius:6px;

    background:#fff;

    font-size:16px;
    color:#222;
}

.consult_form input::placeholder{
    color:#999;
}

.consult_form button{
    width:170px;
    height:52px;

    border:none;
    border-radius:6px;

    background:#d6963c;
    color:#fff;

    font-size:17px;
    font-weight:700;

    transition:all .3s ease;
    cursor:pointer;
}

.consult_form button:hover{
    background:#b97b28;
}

/* =========================================================
   반응형
========================================================= */

@media screen and (max-width:900px){


    .bottom_consult{
        padding:18px 0;
    }

    .bottom_consult_inner{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
        padding: 16px 55px;
        display:flex;
    }

    .consult_form{
        width:100%;
    }

    .consult_form input{
        width:100%;
    }

    .consult_form button{
        width:180px;
        flex-shrink:0;
    }
}

@media screen and (max-width:767px){


    .bottom_consult{
        padding:0px 0;
    }

    .consult_title p{
        font-size:12px;
        line-height:1.2;
    }

    .consult_form{
        width:100%;
        flex-direction:column;
        gap:10px;
    }

    .consult_form input,
    .consult_form button{
        width:100%;
        height:44px;
    }

    .consult_title strong {
    display: block;
    font-size: 21px;
    font-weight: 800;
    color: #f3d8a0;
    margin-bottom: 4px;}
}


/* 메인 슬라이드 */
.bg_swiper {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}


/* =========================================================
   하단 상담폼 토글
========================================================= */

.bottom_consult{
    transition:bottom 0.35s ease;
}

/* 닫혔을 때 */
.bottom_consult:not(.active){
    bottom:-185px;
}

/* 토글 버튼 */
.consult_toggle{
    position:absolute;
    top:-48px;
    right:40px;

    width:180px;
    height:48px;

    border:none;
    border-radius:14px 14px 0 0;

    background:#0d4386;
    color:#fff;

    font-size:18px;
    font-weight:700;

    cursor:pointer;

    /*box-shadow:0 -3px 10px rgba(0,0,0,0.55);*/
}



/* 모바일 */
@media screen and (max-width:767px){

    .bottom_consult:not(.active){
        bottom:-236px;
    }

    .consult_toggle{
        right: 20px;
        width: 100px;
        height: 38px;
        font-size: 14px;
        background: #0d3670;
        top: -37px;
    }
}


/* 페이징 영역 */
.pagingWrap { width: 100%; float: left; margin-top: 30px; }
.pagingWrap > ul { width: 100%; float: left; text-align: center; }
.pagingWrap > ul > li { display: inline-block; margin: 0 2px; }
.pagingWrap > ul > li > a { float: left; color: #AAA; font-weight: 500; font-size: 14px; padding: 2px 9px; border: 1px solid #EEE; letter-spacing: -0.5px; }
.pagingWrap > ul > li > a:hover { color: #999; border: 1px solid #CCC; }
.pagingWrap > ul > li > span { float: left; color: #333; font-weight: 500; font-size: 14px; padding: 2px 9px; border: 1px solid #333; letter-spacing: -0.5px; }

/*이용약관*/
.consult_agree{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:8px;
}

.consult_agree label{
    color:#fff;
    font-size:14px;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:6px;
    cursor: pointer;
}

.consult_agree input[type="checkbox"]{
    display:block !important;
    width:16px;
    height:16px;
}

.agree_view{
    font-size:13px;
    color:#f3d8a0;
    text-decoration:underline;
}

@media screen and (max-width:767px){



    .consult_agree{
        flex-direction:column;
        align-items:flex-start;
        gap:5px !important;
    }

    .consult_agree label{
        font-size:12px!important;
    }

    .agree_view{
        font-size:12px!important;
    }

}


.consult_form{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap; /* 추가 */
}

.consult_agree{
    width:100%; /* 한 줄 전체 사용 */
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:15px;
    margin-top:5px;
}

/* 이용약관 팝업 */
.agree_popup{
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    z-index:99999;

    display:none;
    align-items:center;
    justify-content:center;

    padding:20px;
    box-sizing:border-box;
}

.agree_popup_box{
    position:relative;
    width:100%;
    max-width:700px;
    min-height:600px;   /* 추가 */

    background:#fff;
    border-radius:15px;
    padding:35px;
    box-shadow:0 15px 40px rgba(0,0,0,0.25);
    box-sizing:border-box;
}

.agree_popup_box h3{
    font-size:24px;
    font-weight:800;
    color:#222;
    margin-bottom:20px;
}

.agree_popup_content{
    height:450px;       /* 기존 max-height 대신 */
    overflow-y:auto;
    padding-right:10px;
}

.agree_popup_content p{
    font-size:15px;
    line-height:1.8;
    color:#555;
    margin-bottom:12px;
}

.agree_close{
    position:absolute;
    right:18px;
    top:14px;
    background:none;
    border:none;
    font-size:32px;
    line-height:1;
    color:#222;
    cursor:pointer;
}

@media screen and (max-width:480px){
    .agree_popup_box{
        padding:30px 22px;
    }

    .agree_popup_box h3{
        font-size:20px;
    }

    .agree_popup_content p{
        font-size:14px;
    }
}

@media screen and (max-width:901px){

    .bottom_consult:not(.active) {
    bottom: -370px !important;}
}

@media screen and (max-width:767px){

    .bottom_consult:not(.active) {
    bottom: -300px !important;}
}

@media screen and (max-width: 350px) {
    .bottom_consult:not(.active) {
        bottom: -315px !important;
    }
}
