@charset "utf-8";

/* =========================== SUB */
#shSubBnr{display:flex;flex-flow:column;justify-content:center;height:550px;padding:0 calc((100% - var(--mainsize)) / 2);background:url(../img/sub/sub_img.jpg) center no-repeat;background-size:cover;color:#fff;font-family:'Pretendard'}
#shSubBnr p{margin-bottom:25px;font-size:52px;font-weight:700}
#shSubBnr p.stxt{padding-left:5px;font-size:22px;font-weight:600;opacity:.5}

#txtTrim p em{min-width:8px;font-style:normal;opacity:0;display:inline-block}
#txtTrim p em:nth-child(1){transform:translateX(0)}
#txtTrim p em:nth-child(2){transform:translateX(10px)}
#txtTrim p em:nth-child(3){transform:translateX(20px)}
#txtTrim p em:nth-child(4){transform:translateX(30px)}
#txtTrim p em:nth-child(5){transform:translateX(40px)}
#txtTrim p em:nth-child(6){transform:translateX(50px)}
#txtTrim p em:nth-child(7){transform:translateX(60px)}
#txtTrim p em:nth-child(8){transform:translateX(70px)}
#txtTrim p em:nth-child(9){transform:translateX(80px)}
#txtTrim p em:nth-child(10){transform:translateX(90px)}
#txtTrim.aos-animate p em{opacity:1;transform:translateX(0)}
#txtTrim.aos-animate p em:nth-child(1){transition:all 0.89s 0.02s}
#txtTrim.aos-animate p em:nth-child(2){transition:all 0.88s 0.04s}
#txtTrim.aos-animate p em:nth-child(3){transition:all 0.87s 0.06s}
#txtTrim.aos-animate p em:nth-child(4){transition:all 0.86s 0.08s}
#txtTrim.aos-animate p em:nth-child(5){transition:all 0.85s 0.10s}
#txtTrim.aos-animate p em:nth-child(6){transition:all 0.84s 0.12s}
#txtTrim.aos-animate p em:nth-child(7){transition:all 0.83s 0.14s}
#txtTrim.aos-animate p em:nth-child(8){transition:all 0.82s 0.16s}
#txtTrim.aos-animate p em:nth-child(9){transition:all 0.81s 0.18s}
#txtTrim.aos-animate p em:nth-child(10){transition:all 0.80s 0.20s}

/* 반응형 [s] */
@media (max-width:1380px){
#shSubBnr{padding:0 5%}
}
@media (max-width:1024px){
#shSubBnr{height:380px;text-align:center}
#shSubBnr p{margin-bottom:15px;font-size:34px}
#shSubBnr p.stxt{padding:0px;margin-bottom:0px;font-size:18px}
#txtTrim{opacity:1;transform:none;transition:none;}
#txtTrim p em{opacity:1 !important;transform:none !important;transition:none !important;}
}
@media (max-width:768px){
#shSubBnr{height:330px}
#shSubBnr p{font-size:31px}
#shSubBnr p.stxt{font-size:17px}
}
@media (max-width:580px){
#shSubBnr{height:285px}
#shSubBnr p{margin-bottom:10px;font-size:28px}
#shSubBnr p.stxt{font-size:16px}   
}
@media (max-width:480px){
#shSubBnr{height:55px;border-bottom:1px solid #e1e1e1;background:none}
#shSubBnr p{margin-bottom:0px;font-size:16px;color:#000}
#shSubBnr p.stxt{display:none}    
}
/* 반응형 [e] */

/* =========================== SNB */
#shSnb{display:flex;height:75px;background:rgba(255,255,255,.9)}
#shSnb .home{width:75px;height:75px;margin-right:50px;text-align:center;line-height:75px;background:var(--primary)}
#shSnb .home img{width:16px}
#shSnb ul{display:flex;align-items:center}
#shSnb ul li+li{margin-left:40px}
#shSnb ul li a{opacity:.5;font-size:18px;font-weight:600;color:#222;transition:all .3s}
#shSnb ul li a.on{opacity:1}
#shSnb ul li a:not(.on):hover{opacity:.85}

/* =========================== PAGE */
#greeting{font-size:15px;font-weight:400;line-height:1.8;letter-spacing:-.2px;color:#777;font-family:'Noto Sans KR';word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#greeting .tit_area{text-align:center;padding:60px 5% 40px;font-size:38px;font-weight:100;line-height:1.35;letter-spacing:-.5px;color:#222;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#greeting .tit_area h1{font-size:42px;font-weight:700;color:#333;margin-bottom:30px;text-transform:uppercase;letter-spacing:2px;text-align:center;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#greeting .tit_area p{font-weight:600;font-size:24px;line-height:1.4;text-align:center;margin:0 auto;max-width:600px;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#greeting .tit_area p b{color:#222;font-weight:700}

/* 재판 저울 섹션 스타일 */
#greeting .justice_scale{margin:40px 0;padding:0 5%;text-align:center}
#greeting .scale_icon{margin-bottom:30px}
#greeting .scale_icon img{width:80px;height:auto;opacity:0.8}
#greeting .core_values{display:flex;justify-content:space-around;max-width:800px;margin:0 auto}
#greeting .value_item{flex:1;padding:20px;text-align:center;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#greeting .value_item h3{font-size:20px;font-weight:700;color:#333;margin-bottom:10px;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#greeting .value_item p{font-size:14px;color:#666;line-height:1.5;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}

#greeting .img{height:420px;background:url(../img/sub/hi.jpeg) center no-repeat;background-size:cover}
#greeting .cont{padding:40px 5% 0;text-align:center;max-width:800px;margin:0 auto;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#greeting .cont .st{font-size:16px;font-weight:500;color:#333;margin-bottom:20px;line-height:1.6;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#greeting .cont .pl{white-space:pre-line;text-align:left;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#greeting .cont .sign{margin-top:30px;font-weight:500;color:#222;text-align:center;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#greeting .cont .sign span{margin-left:20px;font-size:17px}

@media(max-width:1024px){
#greeting{padding:20px;font-size:14px;line-height:1.6}
#greeting .tit_area{padding:40px 20px 30px;font-size:28px;line-height:1.4;color:#222;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#greeting .tit_area h1{font-size:32px;margin-bottom:20px}
#greeting .tit_area p{font-size:20px;max-width:100%}
#greeting .justice_scale{padding:0;margin:30px 0}
#greeting .core_values{flex-direction:column;gap:20px}
#greeting .value_item{padding:15px}
#greeting .img{height:200px;margin:15px 0}
#greeting .cont{padding:0;text-align:center}
#greeting .cont .st{font-size:15px}
#greeting .cont .pl{text-align:left}
#greeting .cont .sign{margin-top:20px}
#greeting .cont .sign span{margin-left:0;font-size:15px}
}
@media(max-width:768px){
#greeting .cont .pl{white-space:normal}
#greeting .tit_area h1{font-size:28px}
#greeting .tit_area p{font-size:18px}
#greeting .tit_area{padding:30px 15px 20px}
}
@media(max-width:480px){
#greeting{padding:15px 12px}	
#greeting .tit_area{font-size:22px;padding:20px 10px 15px}
#greeting .tit_area h1{font-size:24px;margin-bottom:15px}
#greeting .tit_area p{font-size:16px}
#greeting .value_item h3{font-size:18px}
#greeting .value_item p{font-size:13px}
#greeting .cont{padding:0 10px}
}

/* =========================== LOCATION PAGE */
#location{font-size:15px;font-weight:400;line-height:1.8;letter-spacing:-.2px;color:#777;font-family:'Noto Sans KR';word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#location .tit_area{text-align:center;padding:60px 5% 40px;font-size:38px;font-weight:100;line-height:1.35;letter-spacing:-.5px;color:#222;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#location .tit_area h1{font-size:42px;font-weight:700;color:#333;margin-bottom:30px;text-transform:uppercase;letter-spacing:2px;text-align:center;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#location .tit_area p{font-weight:600;font-size:24px;line-height:1.4;text-align:center;margin:0 auto;max-width:600px;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word;color:#222}

#location .location_info{display:flex;justify-content:space-around;max-width:800px;margin:0 auto 40px;padding:0 5%}
#location .info_item{flex:1;text-align:center;padding:20px}
#location .info_item h3{font-size:18px;font-weight:700;color:#333;margin-bottom:10px}
#location .info_item p{font-size:15px;color:#666;line-height:1.5}

#location .map_area{margin:40px 5%;height:400px;background:#f5f5f5;border:1px solid #e1e1e1;overflow:hidden}
#location .map_area #map{width:100%;height:100%}
#location .map_placeholder{text-align:center;color:#999}
#location .map_placeholder p{font-size:16px;margin:5px 0}

#location .transport_info{max-width:800px;margin:0 auto;padding:0 5%}
#location .transport_item{margin-bottom:30px}
#location .transport_item h3{font-size:18px;font-weight:700;color:#333;margin-bottom:10px}
#location .transport_item p{font-size:15px;color:#666;line-height:1.5}

@media(max-width:1024px){
#location{padding:20px;font-size:14px;line-height:1.6}
#location .tit_area{padding:40px 20px 30px;font-size:28px;line-height:1.4;color:#222;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#location .tit_area h1{font-size:32px;margin-bottom:20px}
#location .tit_area p{font-size:20px;max-width:100%}
#location .location_info{flex-direction:column;gap:20px;padding:0}
#location .info_item{padding:15px}
#location .map_area{height:300px;margin:20px 0}
#location .transport_info{padding:0}
}
@media(max-width:768px){
#location .tit_area h1{font-size:28px}
#location .tit_area p{font-size:18px}
#location .tit_area{padding:30px 15px 20px}
#location .map_area{height:250px}
}
@media(max-width:480px){
#location{padding:15px 12px}	
#location .tit_area{font-size:22px;padding:20px 10px 15px}
#location .tit_area h1{font-size:24px;margin-bottom:15px}
#location .tit_area p{font-size:16px}
#location .info_item h3{font-size:16px}
#location .info_item p{font-size:14px}
#location .map_area{height:200px}
}

/* =========================== LAWYER PAGE */
#lawyer{font-size:15px;font-weight:400;line-height:1.8;letter-spacing:-.2px;color:#777;font-family:'Noto Sans KR';word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word}
#lawyer .lawyer_profile{max-width:1200px;margin:0 auto;padding:0 5%}

#lawyer .profile_header{display:flex;align-items:flex-start;gap:60px;margin-bottom:60px;padding:50px 0;border-bottom:1px solid #e1e1e1}
#lawyer .profile_image{flex-shrink:0;width:350px;height:450px;overflow:hidden;border-radius:15px;box-shadow:0 8px 30px rgba(0,0,0,0.15)}
#lawyer .profile_image img{width:100%;height:100%;object-fit:cover}
#lawyer .profile_info{flex:1;padding-top:20px}
#lawyer .profile_info h2{font-size:36px;font-weight:700;color:#333;margin-bottom:15px}
#lawyer .profile_info .title{font-size:20px;color:#666;margin-bottom:30px;font-weight:500}
#lawyer .contact_info p{font-size:16px;color:#555;margin-bottom:12px;word-break:break-all;word-wrap:break-word;overflow-wrap:break-word;line-height:1.5}

#lawyer .lawyer_details{display:grid;grid-template-columns:1fr 1fr;gap:50px}
#lawyer .detail_section{margin-bottom:50px}
#lawyer .detail_section h3{font-size:22px;font-weight:700;color:#333;margin-bottom:25px;padding-bottom:12px;border-bottom:3px solid #d4af37}
#lawyer .detail_section ul{list-style:none;padding:0}
#lawyer .detail_section ul li{font-size:16px;color:#555;margin-bottom:12px;display:flex;align-items:flex-start;word-break:keep-all;word-wrap:break-word;overflow-wrap:break-word;line-height:1.6}
#lawyer .detail_section ul li .year{flex-shrink:0;width:160px;font-weight:500;color:#333;padding-right:20px;text-align:left}
#lawyer .detail_section ul li .content{flex:1;color:#555}

/* 반응형 스타일 */
@media(max-width:1024px){
#lawyer{padding:20px;font-size:14px;line-height:1.6}
#lawyer .lawyer_profile{padding:0}
#lawyer .profile_header{gap:40px;}
#lawyer .profile_image{width:280px;height:360px;margin:0 auto}
#lawyer .profile_info h2{font-size:32px}
#lawyer .profile_info .title{font-size:18px}
#lawyer .contact_info p{font-size:15px;line-height:1.4;word-break:break-all}
#lawyer .lawyer_details{grid-template-columns:1fr;gap:40px}
#lawyer .detail_section{margin-bottom:40px}
#lawyer .detail_section h3{font-size:20px}
#lawyer .detail_section ul li .year{width:140px;padding-right:15px}
}
@media(max-width:768px){
#lawyer .profile_header{padding:40px 0}
#lawyer .profile_image{width:240px;height:310px}
#lawyer .profile_info h2{font-size:28px}
#lawyer .profile_info .title{font-size:16px}
#lawyer .contact_info p{font-size:14px;line-height:1.3;word-break:break-all}
#lawyer .detail_section h3{font-size:18px}
#lawyer .detail_section ul li{font-size:15px}
#lawyer .detail_section ul li .year{width:120px;padding-right:12px;font-size:14px}
}
@media(max-width:480px){
#lawyer{padding:15px 12px}	
#lawyer .profile_header{padding:30px 0}
#lawyer .profile_image{width:200px;height:260px}
#lawyer .profile_info h2{font-size:24px}
#lawyer .profile_info .title{font-size:15px}
#lawyer .contact_info p{font-size:13px;line-height:1.2;word-break:break-all}
#lawyer .detail_section h3{font-size:16px}
#lawyer .detail_section ul li{font-size:14px}
#lawyer .detail_section ul li .year{width:100px;padding-right:10px;font-size:13px}
}

/* 변호사 목록 그리드 스타일 */
.lawyers_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: flex-start;
    margin-top: 20px;
}
.lawyer_card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    width: 640px; /* 기존 320px에서 두 배로 증가 */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px 30px 30px;
    transition: all 0.3s ease;
    overflow: hidden;
}
.lawyer_card:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}
.lawyer_card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.lawyer_image {
    width: 400px; /* 기존 200px에서 두 배로 증가 */
    height: 500px; /* 기존 250px에서 두 배로 증가 */
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lawyer_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lawyer_info {
    text-align: center;
    width: 100%;
}
.lawyer_info h3 {
    font-size: 28px; /* 기존 24px에서 두 배로 증가 */
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.lawyer_info .position {
    font-size: 20px; /* 기존 18px에서 두 배로 증가 */
    color: #666;
    margin-bottom: 12px;
    font-weight: 500;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.lawyer_info .specialty {
    font-size: 16px; /* 기존 16px에서 두 배로 증가 */
    color: #888;
    line-height: 1.4;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 반응형 */
@media (max-width: 1024px) {
    .lawyers_grid {
        gap: 30px;
        justify-content: center;
        margin-top: 15px;
        padding: 0 10px;
    }
    .lawyer_card {
        width: 95%;
        max-width: 1200px;
        padding: 35px 25px 25px 25px;
    }
    .lawyer_card a {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 100%;
    }
    .lawyer_image {
        width: 360px;
        height: 450px;
    }
    .lawyer_info h3 {
        font-size: 44px;
    }
    .lawyer_info .position {
        font-size: 34px;
    }
    .lawyer_info .specialty {
        font-size: 30px;
    }
}
@media (max-width: 768px) {
    .lawyers_grid {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 0 15px;
    }
    .lawyer_card {
        width: 100%;
        padding: 30px 20px 20px 20px;
    }
    .lawyer_card a {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 100%;
    }
    .lawyer_image {
        width: 280px;
        height: 350px;
    }
    .lawyer_info h3 {
        font-size: 32px;
    }
    .lawyer_info .position {
        font-size: 24px;
    }
    .lawyer_info .specialty {
        font-size: 20px;
    }
}
@media (max-width: 480px) {
    .lawyers_grid {
        padding: 0 5px;
    }
    .lawyer_card {
        padding: 25px 15px 15px 15px;
        min-height: 400px;
        width: 100%;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        display: flex !important;
        position: relative;
    }
    .lawyer_card a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100%;
        height: 100%;
        text-decoration: none;
        color: inherit;
        position: relative;
        text-align: center !important;
    }
    .lawyer_image {
        width: 200px;
        height: 250px;
        margin-bottom: 20px !important;
        margin-right: 0 !important;
        flex-shrink: 0;
        order: 1;
    }
    .lawyer_info {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        order: 2;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
    .lawyer_info h3 {
        font-size: 24px;
        margin-bottom: 8px;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .lawyer_info .position {
        font-size: 18px;
        margin-bottom: 15px;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .lawyer_info .specialty {
        font-size: 16px;
        margin-bottom: 0;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
@media (max-width: 360px) {
    .lawyers_grid {
        padding: 0 2px;
    }
    .lawyer_card {
        padding: 20px 12px 12px 12px;
        min-height: 380px;
        width: 100%;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        display: flex !important;
        position: relative;
    }
    .lawyer_card a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100%;
        height: 100%;
        text-decoration: none;
        color: inherit;
        position: relative;
        text-align: center !important;
    }
    .lawyer_image {
        width: 180px;
        height: 220px;
        margin-bottom: 15px !important;
        margin-right: 0 !important;
        flex-shrink: 0;
        order: 1;
    }
    .lawyer_info {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        order: 2;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
    .lawyer_info h3 {
        font-size: 22px;
        margin-bottom: 6px;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .lawyer_info .position {
        font-size: 16px;
        margin-bottom: 12px;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .lawyer_info .specialty {
        font-size: 14px;
        margin-bottom: 0;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
@media (max-width: 320px) {
    .lawyers_grid {
        padding: 0 1px;
    }
    .lawyer_card {
        padding: 15px 8px 8px 8px;
        min-height: 350px;
        width: 100%;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        display: flex !important;
        position: relative;
    }
    .lawyer_card a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100%;
        height: 100%;
        text-decoration: none;
        color: inherit;
        position: relative;
        text-align: center !important;
    }
    .lawyer_image {
        width: 150px;
        height: 180px;
        margin-bottom: 12px !important;
        margin-right: 0 !important;
        flex-shrink: 0;
        order: 1;
    }
    .lawyer_info {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        order: 2;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
    .lawyer_info h3 {
        font-size: 20px;
        margin-bottom: 4px;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .lawyer_info .position {
        font-size: 14px;
        margin-bottom: 8px;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .lawyer_info .specialty {
        font-size: 12px;
        margin-bottom: 0;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* =========================== SERVICES */
#services {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: -.2px;
    color: #777;
    font-family: 'Noto Sans KR';
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 서비스 네비게이션 */
.service_nav {
    background: #f8f9fa;
    padding: 30px 0;
    margin-bottom: 60px;
    border-bottom: 1px solid #e1e1e1;
    position: sticky;
    top: 0;
    z-index: 100;
}

.service_nav ul {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: 20px;
    flex-wrap: nowrap;
    align-items: center;
}

.service_nav ul li a {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 2px solid transparent;
}

.service_nav ul li a:hover,
.service_nav ul li a.active {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 21, 37, 0.3);
}

/* 서비스 섹션 */
.service_section {
    margin-bottom: 120px;
    padding: 0 5%;
    scroll-margin-top: 100px;
}

.service_section:last-child {
    margin-bottom: 80px;
}

.service_header {
    text-align: center;
    margin-bottom: 80px;
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.service_header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #c19b2a);
}

.service_header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.service_header h3 {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 30px;
    position: relative;
}

.service_header p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* 서비스 콘텐츠 */
.service_content {
    max-width: 1200px;
    margin: 0 auto;
}

.service_intro {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 50px 40px;
    border-radius: 15px;
    margin-bottom: 60px;
    text-align: center;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
}

.service_intro::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 60px;
    color: var(--primary);
    opacity: 0.3;
    font-family: serif;
}

.service_intro p {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* 서비스 유형 */
.service_types {
    text-align: center;
}

.service_types h4 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
    position: relative;
}

.service_types h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #c19b2a;
}

.type_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.type_item {
    background: #fff;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border-left: 5px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.type_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 21, 37, 0.02) 0%, rgba(193, 155, 42, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.type_item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-left-color: #c19b2a;
}

.type_item:hover::before {
    opacity: 1;
}

.type_item h5 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.type_item p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* 반응형 */
@media (max-width: 1024px) {
    .service_nav ul {
        gap: 15px;
        max-width: 900px;
    }
    
    .service_nav ul li a {
        font-size: 15px;
        padding: 10px 16px;
        white-space: nowrap;
        word-break: keep-all;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .service_header {
        padding: 60px 0 30px;
        margin-bottom: 60px;
    }
    
    .service_header h2 {
        font-size: 40px;
    }
    
    .service_header h3 {
        font-size: 30px;
    }
    
    .service_header p {
        font-size: 17px;
    }
    
    .service_section {
        margin-bottom: 100px;
    }
    
    .type_grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .type_item {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .service_nav {
        padding: 25px 0;
        margin-bottom: 50px;
        position: relative;
    }
    
    .service_nav ul {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        max-width: 100%;
    }
    
    .service_nav ul li a {
        font-size: 14px;
        padding: 8px 14px;
        white-space: nowrap;
        word-break: keep-all;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .service_header {
        margin-bottom: 50px;
        padding: 50px 0 25px;
    }
    
    .service_header h2 {
        font-size: 32px;
        letter-spacing: 2px;
    }
    
    .service_header h3 {
        font-size: 26px;
    }
    
    .service_header p {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .service_intro {
        padding: 40px 25px;
        margin-bottom: 50px;
    }
    
    .service_intro p {
        font-size: 16px;
    }
    
    .type_grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .type_item {
        padding: 30px 25px;
    }
    
    .type_item h5 {
        font-size: 20px;
    }
    
    .type_item p {
        font-size: 15px;
    }
    
    .service_types h4 {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .service_nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        justify-content: center;
    }
    
    .service_nav ul li a {
        font-size: 13px;
        padding: 6px 12px;
        white-space: nowrap;
        word-break: keep-all;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 80px;
        text-align: center;
    }
    
    .service_header {
        padding: 40px 0 20px;
        margin-bottom: 40px;
    }
    
    .service_header h2 {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .service_header h3 {
        font-size: 22px;
    }
    
    .service_header p {
        font-size: 15px;
        padding: 0 15px;
    }
    
    .service_intro {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .service_intro p {
        font-size: 15px;
    }
    
    .type_grid {
        gap: 15px;
        margin-top: 30px;
    }
    
    .type_item {
        padding: 25px 20px;
    }
    
    .type_item h5 {
        font-size: 18px;
    }
    
    .type_item p {
        font-size: 14px;
    }
    
    .service_types h4 {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .service_section {
        margin-bottom: 80px;
        padding: 0 3%;
    }
}

/* =========================== TOP BUTTON */
.top_btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.top_btn.show {
    opacity: 1;
    visibility: visible;
}

.top_btn:hover {
    background: #c19b2a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.top_btn a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.top_btn svg {
    width: 20px;
    height: 20px;
}

/* 우측 하단 이동 버튼 */
.top_scroll_btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.top_scroll_btn.show {
    opacity: 1;
    visibility: visible;
}

.top_scroll_btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.top_scroll_btn a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.top_scroll_btn i {
    font-size: 20px;
    font-weight: bold;
}

/* 반응형 */
@media (max-width: 768px) {
    .top_btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .top_btn svg {
        width: 18px;
        height: 18px;
    }
    
    .top_scroll_btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .top_scroll_btn i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .top_btn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .top_btn svg {
        width: 16px;
        height: 16px;
    }
    
    .top_scroll_btn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .top_scroll_btn i {
        font-size: 16px;
    }
}