@import url("adultery_common.css");

.contents {
    background-color: #f4f4f4;
    padding: 5rem 0;
    height: 100rem;
}

.mg_bt1 {
    margin-bottom: 1rem;
}

.mg_bt2 {
    margin-bottom: 2rem;
}

.mg_bt3 {
    margin-bottom: 3rem;
}

.t_w_size10 {
    width: 10%;
}

.t_w_size20 {
    width: 20%;
}

.t_w_size30 {
    width: 30%;
}

.t_w_size40 {
    width: 40%;
}

.t_w_size50 {
    width: 50%;
}

.t_w_size60 {
    width: 60%;
}

.t_w_size70 {
    width: 70%;
}

.t_w_size80 {
    width: 80%;
}

.h5_tit {
    color: var(--sub_color);
}


/* ######## 소송tip ######## */
.accordion_body,
.accordion_header {
    background: #fff;
}

.accordion_header {
    padding: clamp(1.4rem, 2.23vw, 3rem);
    font-size: clamp(1.7rem, 1vw + 1rem, 2.2rem);   
    position: relative;
    background: var(--secondary_blue);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: -0.1rem;
}

.attack_secret .accordion_header {
    background:#a51c1c;
}
.attack_secret .accordion_header:hover  {
    background:#8b1515;
}

.accordion_header:hover {
    background: #004875;
    position: relative;
    z-index: 5;
}

.accordion_body {
    background: #e4f5ff;
    color: #353535;
    display: none;
}

.accordion_cont {
    padding: clamp(1.2rem, calc(1.2rem + 0.28vw), 1.5rem);
    background: #fff;
}

.accordion:first-child > .accordion_list > .accordion_header {
    border-bottom: 1px solid transparent;
}
.accordion_list {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.accordion_list > .accordion_header:after {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    right: 3rem;
    background: url("//thenlaw1002.mycafe24.com/images/arrow_up.svg") no-repeat center/100%;
    transition: 0.3s all;
}
@media screen and (max-width: 768px){
    .accordion_list > .accordion_header:after {
        width: 16px;
        height: 16px;
        right: 1.2rem;
}
}
.accordion_list.active > .accordion_header:after {
    transform: translateY(-50%) rotate(-180deg);
}

.accordion_list.active .accordion_header {
    background: #004875;
    color: #fff;
}
.attack_secret .accordion_list.active .accordion_header {
    background: #8b1515;
}
.accordion_list:nth-child(2n) .accordion_cont{
    margin-bottom: 3rem;
}
.accordion_info{
    background: #f1f1f1;
    padding: clamp(1.6rem, 1.3vw, 3rem);
    margin: 3rem 0;   
}
.accordion_desc, .accordion_boxtxt{
    font-size: 1.6rem;
    line-height: 1.6;
}
.accordion_bold{
    font-size: clamp(1.8rem, calc(1.8rem + 0.19vw), 2rem);
    margin-bottom: clamp(0rem, 1.85vw, 2rem);
    font-weight: 700;
}
.accordion_emphasis{
    font-size: clamp(1.6rem, 1.39vw, 2rem);
    margin-bottom: .5rem;
}
.accordion_ques{
    background: #f1faff;
    padding: clamp(1.6rem, 1.3vw, 3rem);
    margin: 3rem 0;   
}
.attack_secret .accordion_ques{
    background: #fff5f5;  
}
.accordion_num{
    margin-top: clamp(1.6rem, 2vw, 3rem);
    margin-bottom: 0;
    margin-left: clamp(1.6rem, 1.5vw, 2rem);
    margin-right: clamp(1.6rem, 1.5vw, 2rem);
}
.accordion_num li+li{
    margin-top: min(max(1.6rem, 1.3vw), 3rem);
}
.txt-black{
    color: var(--main_txt);
}
.txt-blue{
    color: var(--secondary_blue) !important;
}
.txt-red{
    color: var(--primary_red) !important;
}
.accordion_ques li+li{
    margin-top: clamp(2rem, 1.48vw, 3rem);
}
.accordion_tip{
    background: #f1faff;
    padding: clamp(1.6rem, 1.3vw, 3rem);
    margin: 3rem 0;
}
.attack_secret .accordion_tip{
    background: #fff5f5;
}
.accordion_tip-list{
    list-style: disc;
    padding-left: clamp(2rem, calc(0.93vw + 2rem), 3rem);
    margin-top: 1.6rem;
    font-size: 1.6rem;
}
.accordion_tip-list li{
    list-style: disc;
}
.accordion_tip-list li::marker{
    color: var(--main_color);
}
.attack_secret .accordion_tip-list li::marker{
    color: var(--primary_red);
}
.accordion_tip-list li+li{
    margin-top: 0.5rem;
}


/* ######## 검증된 전문성 ######## */
.why_tit_area {
    margin-bottom: 3rem;
}

.why_tit_area.t_area {
    background-image: url("../images/why_img_000.jpg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    padding-bottom: 2rem;
    margin-bottom: 7rem;
}

.why_tit_area h3.loca_tit {
    margin-bottom: 1rem;
}

.why_tit_area p {
    font-size: 3rem;
    line-height: 1.2;

}

.why_tit_area p span {
    display: block;
    font-weight: var(--main_font_bold);
}

.why_tit_area p.txt01 {
    margin-bottom: 2rem;
}

.why_tit_area p.txt02 {
    font-size: 1.9rem;
    line-height: 1.4;
}

.why_tit_area p.txt02 span {
    font-weight: normal;
}

.why_cont {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.why_cont.w02 p {
    order: -1;
}

.why_cont div {
    width: 50%;
    position: relative;
    height: 40rem;
    overflow: hidden;
}

.why_cont div img {
    width: 100%;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.why_cont p {
    width: 50%;
    line-height: 1.5;
    padding: 0 2rem;
    font-size: 1.8rem;
}

.why_cont p span {
    font-weight: var(--main_font_bold);
    font-size: 2.4rem;
    display: block;
    margin-bottom: 1rem;
}

.why_tit_area.flex_center {
    margin-top: 7rem;
}

.flex_center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.autoplay li img {
    width: 18rem; height: 27rem;
    border: 1px solid var(--light_gray2);
}

.why_roll {
    width: 100%;
    overflow: hidden;
}

.slick-slide {
    margin-right: 10px; /* 아이템 사이의 간격 조절 */
    padding-right: 10px; /* 마지막 아이템과 슬라이더 경계 간의 간격 조절 */
}


/* ######## 오시는길 ######## */
#map {
    width: 100%; height: 40rem;
}

.add_area {
    margin-top: 4rem;
    background-color: var(--light_gray);
    padding: 2rem 3rem;
}

.add_area ul li {
    font-size: 2rem;
    padding: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.add_area .loca_tit {
    display: block;
    width: 10rem;
    font-size: 1.4rem;
    font-weight: var(--main_font_bold);
    background-color: var(--sub_color);
    color: var(--wt_txt);
    text-align: center;
    padding: .5rem;
    margin-right: 2rem;
}
.add_area .add div {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 10rem - 2rem);
}

.add_area .add  address {
    width: calc(100% - 10rem - 2rem);
}

.add_area .add div p {
    width: 100%;
}

.sw_mark {
    display: block;
    font-size: 1.4rem;
    border-radius: 1rem;
    padding: .5rem 1rem;
    margin-right: .5rem;
    margin-bottom: 1rem;
    color: var(--wt_txt);
}

.sw_mark:nth-child(1) { background-color: #606d00; }
.sw_mark:nth-child(2) { background-color: #edb217; }



/* ######## 믿음직한 전문변호사 ######## */
#content_wrap.lawyer_list #gallery_list3 ul {
    grid-template-columns: repeat(3, 1fr);
}

#content_wrap.lawyer_list #gallery_list3 ul li {
    overflow: hidden;
    background: rgb(245,246,248);
    background: linear-gradient(77deg, rgba(245,246,248,1) 0%, rgba(226,229,231,1) 100%);
}

#content_wrap.lawyer_list #gallery_list3 ul li a {
    padding: 0;
}

#content_wrap.lawyer_list li {
    position: relative;
    overflow: hidden;
}

#content_wrap #gallery_list3 ul li a {
    padding: 1.5rem 1rem;
}

#content_wrap.lawyer_list #gallery_list3 li a img {
    height: 100%;
}


#content_wrap.lawyer_list li .lawyer_dim {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; 
    background-color: rgba(0,0,0,.7);
    z-index: 1;
    color: var(--wt_txt);
    text-align: center;
    padding: 1rem 0;
    
    transform: translateY(0);
    transition: transform .3s;
}

#content_wrap.lawyer_list li:hover img {
    filter: grayscale(.2);
}

#content_wrap.lawyer_list li .lawyer_dim .txt_wrap div {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
}

#content_wrap.lawyer_list li .l_form {
    display: block;
    position: absolute;
    right: 0; top: 0;
    font-size: 1.4rem;
    background-color: var(--sub_color);
    color: var(--wt_txt);
    z-index: 5;
    transform: translateY(-110%);
    transition: transform .3s;
    padding: 1rem 1.4rem;
}


#content_wrap.lawyer_list li:hover .l_form {
    transform: translateY(0);
    transition: transform .3s;
}

h2.l_name {
    font-size: 3rem;
    margin-right: 1.5rem;
}

p.l_major {
    font-size: 1.4rem;
    padding-top: 1rem;
    font-weight: var(--main_font_light);
}

/* ######## 전문변호사 view ######## */
.lawyer_v {
    position: relative;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

.lawyer_info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.lawyer_v {
    min-height: 85rem;
    background-repeat: no-repeat;
    background-position: 100% 100%;
}

.lawyer_info .lawyer_m_txt {
    display: flex;
    align-items: flex-end;
    color: var(--sub_color);
    margin-bottom: 3rem;
}

.mo_l_photo {
    display: none;
    margin-bottom: 2rem;
}

.mo_l_photo img {
    width: 100%;
}

.lawyer_info .lawyer_m_txt h2 {
    font-size: 5rem;
    margin-right: 1.5rem;
    font-weight: var(--main_font_bold);
}

.lawyer_info .lawyer_m_txt p {
    font-size: 2rem;
    color: var(--main_txt);
}


.lawyer_s_txt {
    font-size: 2.4rem;
    font-family: "Noto Serif KR", serif;
    font-weight: var(--main_font_light);
    width: 100%;
    line-height: 1.5;
    text-shadow: -1px -1px 0 var(--wt_txt), 1px -1px 0 var(--wt_txt), -1px 1px 0 var(--wt_txt), 1px 1px 0 var(--wt_txt);
    margin-bottom: 2rem;
}

.lawyer_s_txt2 {
    background-color: var(--light_gray);
    padding: 2rem;
    width: 63rem;
    border-radius: 2rem;
    line-height: 1.5;
    font-size: 1.7rem;
    font-family: "Noto Serif KR", serif;
    margin-bottom: 2rem;
}


.l_h {
    margin-bottom: 3rem;
    line-height: 1.5;
    font-size: 1.8rem;
}

.l_h p {
    text-shadow: 
    -1px -1px 0 var(--wt_txt),  
     1px -1px 0 var(--wt_txt),
    -1px  1px 0 var(--wt_txt),
     1px  1px 0 var(--wt_txt); /* 테두리 색상과 위치 */
}



.l_h:last-child {
    margin-bottom: 0;
}

.lawyer_info .loca_tit {
    text-align: center;
}


.loca_tit {
    display: block;
    width: 9rem;
    font-size: 1.4rem;
    font-weight: var(--main_font_bold);
    background-color: var(--sub_color);
    color: var(--wt_txt);
    padding: .5rem;
    margin-bottom: 1rem;
}





/* ######## 믿고보는 _게시판 all ######## */
#content_wrap {height:100%;}
#content_wrap #top_search_wrap form {  
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: var(--light_gray);
    padding: 1.5rem;
    border-radius: 1rem;
    width: 100%;
    margin-bottom: 4rem;
}

.input_area {
    width: calc(100% - 22rem);
}

.input_area #search_keyword {
    width: 100%;
}


.btn_area {
    width: 22rem;
    display: flex;
    justify-content: space-between;
}

#content_wrap #top_search_wrap .search {
    width: 100%; 
}

#content_wrap #top_search_wrap .search select {
    height:4.2rem;
    padding:0 2rem; 
    font-size: 1.6rem;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    margin-right: 1rem;
    border:1px solid #ccc;
    border-radius: 1rem;
}

#content_wrap #top_search_wrap .sc_cate {
    width: 50rem;
    overflow: hidden;
    display: flex;
}

#content_wrap #top_search_wrap .sc_keyword {
    /* width: calc(100% - 50rem - 1.5rem); */
    width: calc(100% - 1.5rem);
    display: flex;
    justify-content: flex-end;
}

#content_wrap #top_search_wrap .sc_keyword input,
#content_wrap #top_search_wrap #search_keyword {
    width: 100%;
    height:4.2rem;
    padding:0 2rem; 
    font-size:1.6rem;
    border:1px solid #ccc;
    vertical-align: top;
    border-radius: 1rem;
}


#content_wrap #top_search_wrap #Success_suspicion {
    width: 100%;
}
#content_wrap #top_search_wrap .search button {
    width:10rem;
    height:4.2rem;
    line-height:4rem;
    border:1px solid #ccc;
    font-size:1.6rem;
    text-align:center;
    cursor:pointer;
    border-radius: 1rem;
    color: #656565;
    margin-left: 1rem;
}

#content_wrap #top_search_wrap button[type="submit"] {
    color: #fff;
    font-weight: var(--main_font_bold);
    background-color: var(--main_txt);
}

#content_wrap #top_search_wrap button[type="submit"]:hover {
    background-color: var(--sub_color);
}




#content_wrap #gallery_list ul li .sub_text,
#content_wrap #gallery_list2 ul li .sub_text {
    width:100%;
    font-size:1.2rem;
    color: var(--light_gray3);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#content_wrap #gallery_list:after {content:'';display:block;clear:both;}

#content_wrap #gallery_list.re_list ul li .img {
    height: 20rem;
}

#content_wrap #gallery_list.re_list ul li .img img {
    height: 100%;
}

#content_wrap #gallery_list ul li img {
    width: 100%;
}



#content_wrap .paging { padding: 5rem 0;text-align:center; }
#content_wrap .paging ul { display: table; justify-content: center; margin: 0 auto; border-collapse: collapse;}
#content_wrap .paging ul li { 
    display: table-cell; 
    width:4rem; height:4rem;
    line-height:4rem;
    text-align:center;
    font-size:1.4rem;
    border: 1px solid #C4C4C4; 
}

#content_wrap .paging ul li a { display: block; height: 100%; }

#content_wrap .paging ul li.active a {color:#fff; font-weight:bold; background-color: var(--main_color); }


#content_wrap #gallery_list3 ul,
#content_wrap #gallery_list ul,
#content_wrap #gallery_list2 ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    grid-gap: 3rem; /* 열과 행 사이의 간격 */
    width: 100%;
}

#content_wrap #gallery_list3 ul li,
#content_wrap #gallery_list ul li,
#content_wrap #gallery_list2 ul li {
    border:2px solid var(--light_gray);
    border-radius:1rem;
    overflow: hidden;
}
#content_wrap #gallery_list3 ul li a,
#content_wrap #gallery_list ul li a,
#content_wrap #gallery_list2 ul li a  {
    display: block;
    height: 100%;
    padding: 1.5rem;
}

#content_wrap #gallery_list3 ul li .suspicion {
    text-overflow:ellipsis;
    white-space:nowrap;
    overflow:hidden;
}

#content_wrap #gallery_list3 ul li .suspicion span {
    display: inline-block;
    padding: .5rem 1rem;
    background-color: var(--sub_color);
    color: var(--wt_txt);
    text-overflow:ellipsis;
    white-space:nowrap;
    overflow:hidden;
    max-width: 100%;
    width: auto;
}

#content_wrap #gallery_list3 ul li .suspicion,
#content_wrap #gallery_list3 ul li .result {
    text-overflow:ellipsis;
    white-space:nowrap;
    overflow:hidden;
    padding-bottom: 1rem;
}

#content_wrap #gallery_list3 ul li:hover,
#content_wrap #gallery_list ul li:hover,
#content_wrap #gallery_list2 ul li:hover {
    border:4px solid var(--light_m_color2);
}

#content_wrap #gallery_list3 ul li.badge {
    position:relative;
    display:inline-block;
    overflow:hidden;
}
#content_wrap #gallery_list3 ul li.badge:after {
    content:"추천";
    position:absolute;
    right:-3rem; top:.8rem;
    z-index:1;
    width:10rem;
    background-color: var(--sub_color);
    text-align:center;
    color:#fff;
    padding:.5rem 1rem;
    transform:rotate(-315deg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight:var(--main_font_bold);
    font-size:1.3rem;
}
#content_wrap #gallery_list3 ul li img{
    width:100%;
    height:12rem;
}

#content_wrap #gallery_list3 ul li .suspicion {
    font-size:1.4rem;
    color: var(--main_color);
}
#content_wrap #gallery_list3 ul li .result { 
    font-size: 2rem;
    font-weight: var(--main_font_bold); 
    display: flex;
    align-items: center;
}
#content_wrap #gallery_list3 ul li .title,
#content_wrap #gallery_list ul li .title,
#content_wrap #gallery_list2 ul li .title {
    overflow:hidden;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    height: 4.8rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}
#content_wrap #gallery_list.webt_list ul li .title  {
    height: auto;
    margin-bottom: 0;
}

#content_wrap #gallery_list3 ul li .img,
#content_wrap #gallery_list2 ul li .img {
    width:100%;
    border-radius: 1rem;
    overflow: hidden;
}


#content_wrap #gallery_list3 ul li .img,
#content_wrap #gallery_list ul li .img,
#content_wrap #gallery_list2 ul li .img {
    margin-bottom:1.5rem;
    overflow: hidden;
}


#content_wrap #gallery_list3 ul li .img img{
    width:100%;
    height:100%;
}



#content_wrap #gallery_list2 ul li .img {
    position: relative;
    overflow: hidden;
}

#content_wrap #gallery_list2 ul li .img {
    height: 137px; /* 기본  */
}

@media (max-width: 900px) and (min-width: 600px) {
    #content_wrap #gallery_list2 ul li .img {
        height: calc(137px + 73 * ((100vw - 600px) / 300));
    }
}

@media (max-width: 600px) {
    #content_wrap #gallery_list2 ul li .img {
        height: clamp(67px, calc(126 * 100vw / 600), 126px);
    }
}
#content_wrap #gallery_list2 ul li .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;    
}


#gallery_list3.suc_area {
    height: auto !important;
}

#gallery_list3.suc_area ul li {
    height: auto !important;
}
#content_wrap #gallery_list3.suc_area ul li .img {
    height: 20rem;
    border: 1px solid var(--light_gray);
    border-radius: 0;
}

#gallery_list3.suc_area img {
    width: 100%; height: auto !important;
}

#gallery_list3.suc_area li a {
    display: flex;
}

#gallery_list3.suc_area .suc_ico {
    width: 2.5rem;
    margin-right: .5rem;
}

#gallery_list3.suc_area .suc_ico svg {
    fill: var(--light_gray3);
    vertical-align: middle;
}

#content_wrap #board_list {
    border-top: 2px solid var(--sub_color);
}

.no_search, .no_search2 {
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.5;
}

.no_search2 a {
    display: block;
    text-align: center;
    padding: 1.2rem 1rem;
    width: 18rem;
    margin: 3rem auto 0;
    border: 1px solid var(--light_gray3);
    background-color: var(--light_gray);
    border-radius: 2rem;
}

.no_search2 a:hover {
    border: 1px solid var(--main_color);
}

#content_wrap #board_list table {margin:0 auto;width:100%;height:auto;border-collapse:collapse;}
#content_wrap #board_list table colgroup {
    width: 400px; 
}
#content_wrap #board_list table thead {
    font-size: 1.8rem;
    font-weight: var(--main_font_bold);
    border-bottom: 2px solid var(--light_gray2);
    height: 5rem;
}

#content_wrap #board_list table thead th {
    vertical-align: middle;
}

#content_wrap #board_list table td {
    height: 5rem; 
    border-bottom: 1px solid var(--light_gray2);
    vertical-align: middle;
}

#content_wrap #board_list table tbody tr:nth-child(2n) td {
    background-color: var(--light_gray);
}

#content_wrap #board_list table td:nth-child(2) a {
    display: inline-block;
    width: 94%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#content_wrap #board_list table tbody tr:hover td {
    background-color: var(--light_m_color);
}

#content_wrap #board_list table tr td span {
    display:inline-block;
    width:10rem;
    height:3rem;
    line-height:3rem;
    border-radius:15px;
    color:#fff;
    cursor: default;
}
.waited {
    background-color: var(--light_gray3);
}
.completed {
    background-color: var(--main_color);
}

#content_wrap #write_table .name_area {
    color: var(--light_gray3);
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

#content_wrap #write_table .name_area span:first-child::after {
    content: "|";
    display: inline-block;
    text-align: center;
    width: 2rem;
}

#content_wrap.news_area #write_table .name_area span:first-child::after {
    display: none;
}

#content_wrap.news_area .news_top {
    background-color: var(--main_txt);
    color: var(--wt_txt);
    display: inline-block;
    padding: .5rem 1.5rem;
    margin-bottom: 1rem;
}

#content_wrap.news_area .news_img {
    margin: 3rem 0 8rem;
}

#content_wrap.news_area .news_img img {
    max-width: 50rem;
    width: 100%; 
}

#content_wrap.news_area .ori_txt {
    margin-top: 5rem;
    margin-bottom: 10rem;
}

#content_wrap #write_table .title_area {
    font-size: 3rem;
    color: var(--sub_color);
    font-weight: var(--main_font_bold);
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    line-height: 1.3;
}

#content_wrap #write_table .cont_area {
    margin-bottom: 5rem;
    line-height: 1.7;
}

#content_wrap #write_table .img_area {
    text-align: center;
}

#content_wrap.review_area .rew_area {
    display: grid;
    grid-template-columns: 1fr 2fr; 
    grid-gap: 3rem;
}

#content_wrap.review_area .rew_area .img_area {
    border: 10px solid var(--wt_txt);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

#content_wrap.review_area #write_table .img_area img {
    max-width: 70rem;
    width: 100%;
    margin: 2rem 0;
}

#content_wrap.column_area #write_table .img_area {
    width: 100%; 
}

#content_wrap.column_area #write_table .img_area img {
    max-width: 70rem;
    width: 100%;
    margin: 2rem 0;
}

.column_area #write_table p {
    line-height: 1.7;
}


#content_wrap #write_table .img_area.webt_view img {
    max-width: 100rem;
    width: 100%;
}

#content_wrap #write_table .btn_page_area {
    display: flex;
    height: 10rem;
    justify-content: space-between;
    align-items: center;
    margin-top: 10rem;
    padding: 1rem 0;
}

#content_wrap #write_table .btn_page_area div {
    width: 40%; 
    height: 100%;
    border: 4px solid var(--light_gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#content_wrap #write_table .btn_page_area div:first-child {
    cursor: default;
}
#content_wrap #write_table .btn_page_area div:last-child {
    justify-content: flex-end;
    cursor: default;
}

#content_wrap #write_table .btn_page_area div:hover {
    border: 4px solid var(--light_m_color2);
}

#content_wrap #write_table .btn_page_area div a {
    display: block;
    width: 100%; 
    height: 100%;
    font-weight: var(--main_font_bold);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}
#content_wrap #write_table .btn_page_area div a:hover {
    color: var(--main_color);
}


#content_wrap #write_table .btn_page_area div:first-child a,
#content_wrap #write_table .btn_page_area div:first-child .no_page {
    padding-left: 7.6rem;
    padding-right: 2rem;

}
#content_wrap #write_table .btn_page_area div:last-child a,
#content_wrap #write_table .btn_page_area div:last-child .no_page {
    padding-left: 2rem;
    padding-right: 7.6rem;
}

.no_page {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


#content_wrap #write_table .btn_page_area div span {
    display: block;
    width: 100%; 
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#content_wrap #write_table .btn_page_area div span:first-child {
    font-size: 1.4rem;
    color: var(--light_gray3);
    margin-bottom: 1rem;
    font-weight: normal;
}


#content_wrap #write_table .btn_prev {
    text-align: left;
    background: url("/images/btn_prev.png") no-repeat 2rem center;
}

#content_wrap #write_table .btn_prev:hover {
    background-image: url("/images/stk_btn_prev_ov.png");
}

#content_wrap #write_table .btn_next {
    text-align: right;
    background: url("/images/btn_next.png") no-repeat calc(100% - 2rem) center;
}

#content_wrap #write_table .btn_next:hover {
    background-image: url("/images/stk_btn_next_ov.png");
}

/* ###### 성공사례 view ###### */
.law_wrap {
    padding: 2rem;
}

.law_area {
    padding: 1rem 2rem;
    margin-bottom: 1rem;
    background-color: var(--light_gray);
    border: 1px solid var(--light_gray);
}

.law_area:hover {
    border: 1px solid var(--light_gray2);
}

.law_area:last-child {
    margin-bottom: 0;
}

.law_area a {
    display: flex;
    align-items: center;
}

.law_area .law_img {
    width: 4.5rem;
    height: 4.5rem;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 1rem;
    background-color: var(--wt_txt);
}

.law_area .law_img img {
    width: 100%;
}

.namearea {
    display: flex;
    align-items: flex-end;
}

.namearea .name {
    margin-right: 1rem;
    font-size: 1.8rem;
}

.namearea .position {
    font-size: 1.4rem;
    font-weight: var(--main_font_light);
}

.field_cont legend {
    display: flex;
    align-items: center;
}

.suc_wrap {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-gap: 3rem;
}

.suc_wrap.main_case {
    display: block;
}

.suc_wrap fieldset legend img {
    width: 2.5rem;
    margin-right: 1rem;
}

.suc_img_wrap {
    width: 100%;
    margin-bottom: 2rem;
}

.suc_img_wrap img {
    width: 100%; 
}

#content_wrap #write_table .title { 
    font-size: 3rem; 
    color: var(--sub_color); 
    font-weight: var(--main_font_bold);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.bg_gray {
    background-color: var(--light_gray);
    padding-top: 3rem !important;
    border: 1px solid var(--light_gray2);
}

.bg_gray fieldset {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.bg_gray legend {
    font-size: 1.8rem !important;
    padding: 0 !important;
}


#content_wrap #write_table .tag {
    width:100%;
    font-size:1.4rem;
    color:var(--light_gray3);
    margin-bottom: 2rem;
}

#content_wrap #write_table .result {
    background-color: var(--light_gray);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 2rem;
    margin: 3rem 0;
}

#content_wrap #write_table .result .re_area {
    display: flex;
    /* align-items: center; */
    width: 49%;
}

#content_wrap #write_table .result .re_area:first-child .icon svg {
    transform: scale(1.3);
}

#content_wrap #write_table .result .icon { 
    width: 5rem;
    margin-right: 1rem;
    overflow: hidden;
}
#content_wrap #write_table .result .icon .fill-primary {
    fill: var(--sub_color);
}

#content_wrap #write_table .result .cont {
    width: 100%;
}

#content_wrap #write_table .result .cont .top_text {
    font-size: 1.4rem;
    margin-bottom: .5rem;
    color: var(--sub_color);
    width: 100%;
}
#content_wrap #write_table .result .bottom_text { 
    font-weight: var(--main_font_bold);   
    line-height: 1.4;
}

#content_wrap #write_table .lawyer {
    padding: 2rem 0;
}
#content_wrap #write_table .lawyer fieldset {
    border: 5px solid var(--light_gray);
}



#content_wrap #write_table .field_cont { margin: 2rem 0;}

#content_wrap #write_table .field_cont fieldset {
    border: 5px solid var(--light_gray);
    margin: 5rem 0;
}
#content_wrap #write_table .field_cont legend,
#content_wrap #write_table .lawyer legend { 
    font-size: 2.4rem; 
    margin: 0 2rem;
    color: var(--sub_color);
    padding: 0 1rem;
    font-weight: var(--main_font_bold);
}


#content_wrap #write_table .field_cont legend.case_tit {
    font-size: 2.6rem;
}


#content_wrap #write_table .field_cont div {line-height:1.7; padding: 2rem; font-size: 1.8rem; }
#content_wrap #write_table .field_cont div img {width:30rem;height:auto;} 

.maincase_drug {
    padding: 0 !important;
}

.maincase_drug img {
    width: 100% !important;
}

.mo_maincase_drug {
    display: none;
    padding: 0 !important; 
}

.mo_maincase_drug img {
    width: 100% !important;
}

#content_wrap #bottom_button_wrap {margin-top: 2rem; text-align: center; }
#content_wrap #bottom_button_wrap button.list,
#bottom_button_wrap button.write {
    color: #fff;
    font-weight: var(--main_font_bold);
    background-color: var(--main_txt);
    width: 10rem;
    height: 4.2rem;
    line-height: 4rem;
    border: 1px solid #ccc;
    font-size: 1.6rem;
    text-align: center;
    cursor: pointer;
    border-radius: 1rem;
    cursor:pointer;
}

#bottom_button_wrap button.rewrite {
    color: var(--light_gray);
    font-weight: var(--main_font_bold);
    background-color: var(--light_gray3);
    width: 10rem;
    height: 4.2rem;
    line-height: 4rem;
    border: 1px solid #ccc;
    font-size: 1.6rem;
    text-align: center;
    cursor: pointer;
    border-radius: 1rem;
    cursor:pointer;
}

#bottom_button_wrap button.write {
    display: block;

    animation-name: btn_ani; 
    animation-duration: 1s;
    animation-iteration-count: infinite;
    font-weight: var(--main_font_bold); 
}

@keyframes btn_ani {
    0% { background-color: var(--wt_txt); color: var(--main_txt); }
    50% { background-color: var(--main_txt); color: var(--wt_txt); }
    100% { background-color: var(--wt_txt); color: var(--main_txt); }
}

#content_wrap #bottom_button_wrap button.list:hover {
    background-color: var(--sub_color);
}

.help_area #bottom_button_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.help_area #bottom_button_wrap button {
    margin: 0 1rem;
}

.btn_prev {
    order: -1;
}

.help_btn_next {
    background-color: var(--main_color) !important;
}

#rewrite_btn {  
    background-color: var(--light_gray2) !important;
    color: var(--main_txt) !important;
}

#progress_indicator {
    text-align: right;
    padding: 1rem 0;
    color: var(--wt_txt);
}
#current_step {
    font-weight: bold;
    font-size: 2rem;
}


/* ######## 시크릿 ######## */

.tit_tab {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    grid-gap: 0rem; /* 열과 행 사이의 간격 */
    justify-content: space-between;
    height: 5rem;
    margin-bottom: 3rem;
}

.tit_tab.sc2 {
    grid-template-columns: repeat(4, 1fr); 
}

.tit_tab li {
    border: 1px solid var(--light_gray2);
    align-self: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-align: center;
}

.tit_tab li.on, .tit_tab li:hover {
    border: 1px solid var(--sub_color);
    color: var(--main_color);
}

.s_box, .s_box1, .s_box2 {
    display: none;
}

.on {
    display: flex;
}

.s_box2.on {
    display: block;
}

.s_box .img_wrap,
.s_box1 .img_wrap,
.s_box2 .img_wrap {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 40%;
    height: 50rem;
}


.sc_case_1 .img_wrap {
    background-image: url("../images/secret_1-1.jpg");
}
.sc_case_2 .img_wrap {
    background-image: url("../images/secret_1-2.jpg");
}
.sc_case_3 .img_wrap {
    background-image: url("../images/secret_1-3.jpg");
}
.sc_case_4 .img_wrap {
    background-image: url("../images/secret_1-4.jpg");
}
.sc_case_5 .img_wrap {
    background-image: url("../images/secret_1-5.jpg");
}
.sc_case_6 .img_wrap {
    background-image: url("../images/secret_1-6.jpg");
}

.s_box1.sc_case_1 .img_wrap {
    background-image: url("../images/secret_2-1.jpg");
}
.s_box1.sc_case_2 .img_wrap {
    background-image: url("../images/secret_2-2.jpg");
}
.s_box1.sc_case_3 .img_wrap {
    background-image: url("../images/secret_2-3.jpg");
}
.s_box1.sc_case_4 .img_wrap {
    background-image: url("../images/secret_2-4.jpg");
}
.s_box1.sc_case_5 .img_wrap {
    background-image: url("../images/secret_2-5.jpg");
}
.s_box1.sc_case_6 .img_wrap {
    background-image: url("../images/secret_2-6.jpg");
}

.s_box2 > div:nth-child(2) .step_area .img_wrap {
    background-image: url("../images/secret_3-11.jpg");
}

.s_box2 > div:nth-child(3) .step_area .img_wrap {
    background-image: url("../images/secret_3-12.jpg");
}

.s_box2 > div:nth-child(4) .step_area .img_wrap {
    background-image: url("../images/secret_3-13.jpg");
}

.s_box2 > div:nth-child(5) .step_area .img_wrap {
    background-image: url("../images/secret_3-14.jpg");
}

.s_box2.sc_case_2 > div:nth-child(2) .step_area .img_wrap {
    background-image: url("../images/secret_3-21.jpg");
}

.s_box2.sc_case_2 > div:nth-child(3) .step_area .img_wrap {
    background-image: url("../images/secret_3-22.jpg");
}

.s_box2.sc_case_3 > div:nth-child(2) .step_area .img_wrap {
    background-image: url("../images/secret_3-31.jpg");
}

.s_box2.sc_case_3 > div:nth-child(3) .step_area .img_wrap {
    background-image: url("../images/secret_3-32.jpg");
}

.s_box2.sc_case_4 > div:nth-child(3) .step_area .img_wrap {
    background-image: url("../images/secret_3-41.jpg");
}

.s_box2.sc_case_4 > div:nth-child(4) .step_area .img_wrap {
    background-image: url("../images/secret_3-42.jpg");
}


.s_box2 > div {
    margin-bottom: 3rem;
}

.s_box2 > h3 {
    font-size: 3rem;
    color: var(--sub_color);
    line-height: 1.4;
    margin-bottom: 3rem;
}

.s_box2 > h3 span {
    display: block;
    font-weight: var(--main_font_bold);
}

.s_box2 .step_area {
    display: flex;
}

.s_box2 .step_area h4 {
    padding-left: 3rem;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--main_color);
    font-weight: var(--main_font_bold);
}

.s_box2 .step_area p {
    font-size: 1.6rem;
}

.s_box2 .step_area .sc_btn {
    display: inline-block;
    margin-left: 3rem;
    padding: 1rem 2rem;
    border: 1px solid var(--sub_color);
}

.s_box2.sc_case_4 .st_4 {
    display: block;
    width: 100%;
}

.s_box2.sc_case_4 .step_area {
    flex-wrap: wrap;
}

.s_box2.sc_case_4 .step_area .img_wrap {
    width: 100%;
    height: 30rem;
    margin-bottom: 2rem;
}

.s_box2.sc_case_4 .step_area .txt_area {
    width: 100%;
}

.s_box2.sc_case_4 .st_4 .txt_area {
    width: 100%;
}

.ss_cont .txt_area {
    padding: 0 3rem;
}

.s_box2.sc_case_4 > div:nth-child(4) {
    margin-bottom: 10rem;
}

.s_box2.sc_case_4 .st_4 .txt_area h4,
.s_box2.sc_case_4 .st_4 .txt_area p,
.s_box2.sc_case_4 .step_area .txt_area h4,
.s_box2.sc_case_4 .step_area .txt_area p {
    padding-left: 0;
}

.s_box2.sc_case_4 .st_4 .txt_area .sc_btn,
.s_box2.sc_case_4 .step_area .txt_area .sc_btn {
    margin-left: 0;
}

.txt_area .ta2 {
    padding: 0 2rem;
}

.txt_area .ta2 h4 {
    font-size: 2.4rem;
}

h3.loca_tit {
    display: inline-block;
    width:auto;
    font-size: 1.6rem;
    padding: .5rem 2rem;
    margin-bottom: 2rem;
}


.step_end_txt {
    text-align: center;
    line-height:1.4;
    margin-top: 7rem;
}

.step_end_txt h2 {
    font-size: 3rem;
    font-weight: var(--main_font_bold);
    color: var(--sub_color);
    margin-bottom: 2rem;
}

.txt_area {
    line-height: 1.5;
    width: 60%;
}

.txt_area > p {
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-left: 3rem;
}

.txt_area > ul {
    padding: 1rem 3rem;
    margin-bottom: 2rem;
}

.txt_area > ul li {
    margin-bottom: 1rem;
    font-weight: var(--main_font_bold);
}

.txt_area > ul li:last-child {
    margin-bottom: 2rem;
}

.txt_area > ul li::before {
    content: "- ";
}

.sc_txt {
    background-color: var(--light_gray);
    padding: 3rem;
}

.sc_txt h3 {
    color: var(--light_m_color);
    background-color: var(--light_gray3);
    margin-bottom: 2rem;
    text-indent: 2rem;
    font-weight: var(--main_font_bold);
    text-transform: uppercase;
}

.sc_txt ul li::before {
    content: "- ";
}

.s_box1, .s_box3, .s_box4, .s_box5  {
    margin-bottom: 5rem;
}



.s_box3 > .txt_area,
.s_box4 > .txt_area,
.s_box5 > .txt_area {
    width: 100%;
}

.s_box1 .loca_tit { width: 20rem; }
.s_box3 .loca_tit { width: 22rem; }
.s_box4 .loca_tit { width: 26rem; }
.s_box5 .loca_tit { width: 28rem; }

.s_box3 .sc_txt li,
.s_box3 .sc_txt li,
.s_box4 .sc_txt li,
.s_box5 .sc_txt li {
    margin-bottom: 2rem;
}

.s_box1:last-child,
.s_box3:last-child,
.s_box4:last-child,
.s_box5:last-child {
    margin-bottom: 0;
}



/* ###### 이혼 ###### */
.sc_page_tap {
    display: flex;
    justify-content: center;
    margin-bottom: 5rem;
}

.sc_page_tap a {
    display: block;
    padding: 2rem 2rem;
    font-size: 2rem;
    width: 20rem;
    text-align: center;
    background-color: var(--light_gray2);
    color: var(--light_gray3);
}

.sc_page_tap a.t_active {
    background-color: var(--sub_color);
    color: var(--wt_txt);
}

.divorce_sc_bg {
    background-color: #fbf3f3;
    padding: 3rem 3rem;
    margin-bottom: 3rem;
}

.divorce_sc_bg .pr_mg:last-child {
    margin-bottom: 0;
}

.divorce_sc_bg .sc_sub_tit {
    color: var(--sub_color);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}


.divorce_bg {
    width: 100%;
    height: 30rem;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-bottom: 3rem;
    position: relative;
}

.divorce_bg::after {
    content: "";
    display: block;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.sc1_bg0 {
    background-image: url("../images/divorce_sc1_bg0.jpg");
}

.sc1_bg1 {
    background-image: url("../images/divorce_sc1_bg1.jpg");
}

.sc1_bg2 {
    background-image: url("../images/divorce_sc1_bg2.jpg");
}

.sc1_bg3 {
    background-image: url("../images/divorce_sc1_bg3.jpg");
}

.sc2_bg1 {
    background-image: url("../images/divorce_sc2_bg1.jpg");
}

.sc2_bg2 {
    background-image: url("../images/divorce_sc2_bg2.jpg");
}

.sc3_bg1 {
    background-image: url("../images/divorce_sc3_bg1.jpg");
}

.sc3_img1 {
    margin-bottom: 3rem;
}

.sc3_img1 img {
    width: 100%;
}

.sc4_bg0 {
    background-image: url("../images/divorce_sc4_bg0.jpg");
}

.sc4_bg1 {
    background-image: url("../images/divorce_sc4_bg1.jpg");
}

.sc5_bg1 {
    background-image: url("../images/divorce_sc5_bg1.jpg");
}

.sc5_bg2 {
    background-image: url("../images/divorce_sc5_bg2.jpg");
}

.sc5_bg3 {
    background-image: url("../images/divorce_sc5_bg3.jpg");
}

.sc5_bg4 {
    background-image: url("../images/divorce_sc5_bg4.jpg");
}

.sc5_bg5 {
    background-image: url("../images/divorce_sc5_bg5.jpg");
}

.sc5_bg6 {
    background-image: url("../images/divorce_sc5_bg6.jpg");
}

.sc6_bg1 {
    background-image: url("../images/divorce_sc6_bg1.jpg");
}

.sc6_bg2 {
    background-image: url("../images/divorce_sc6_bg2.jpg");
}

.sc6_bg3 {
    background-image: url("../images/divorce_sc6_bg3.jpg");
}


.sub_body {
    line-height: 1.5;
}

.p_txt {
    font-size: 2rem;
    margin-bottom: .5rem;
    color: var(--main_color);
}

.p_txt1 {    
    font-size: 2rem;
    margin-bottom: .5rem;
    color: var(--main_txt);
} 


.pr_mg {
    margin-bottom: 3rem;
    position: relative;
}

.divorce dt {
    font-size: 1.8rem;
    font-weight: var(--main_font_bold);
    color: var(--sub_color);
}

.divorce dt::before {
    content: "◎ ";
    /* display: inline; */
}

.divorce dd {
    margin-bottom: 1rem;
    padding-left: 2.5rem;
}

.pr_line {
    height: .1rem;
    background-color: var(--light_m_color);
    border: 0;
    margin: 3rem 0;
}

.sub_body ul {
    list-style: disc;
    padding: 0 3rem;
}

.sub_body li::marker {
    color: var(--sub_color);
}
.table1 {
    border-top: 3px solid var(--main_color);
}

.table1.td_txt_center td {
    text-align: center;
}

.table1 td {
    vertical-align: middle;
}

.table1 span.t_bold {
    display: block;
}

h4 + .sc_txt {
    padding: 2rem;
}

h4 + .sc_txt ul {
    padding: 0;
}

.t_wrap {
    display: grid;
    grid-template-columns: 4rem 1fr;
    grid-gap: 1rem;
}

.t_wrap .t_left {
    position: relative;
}

.bar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: .3rem;
    height: 100%;
    background-color: var(--light_gray2);
}

.circle1 {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background-color: var(--sub_color);
    position: absolute;
    left: -4.1rem;
    top: .5rem;
}

.circle2 {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--sub_color);
    position: absolute;
    left: -3.5rem;
    top: .9rem;
}

.t_wrap .d_txt_box {
    font-size: 1.4rem;
}

.t_wrap .d_txt_box span {
    font-size: 1.6rem;
    margin-bottom: .5rem;
}

.t_wrap .pr_mg:last-child {
    margin-bottom: 0;
}

.table2 {
    margin: 0;
    margin-bottom: 1rem;
}

.table2 td {
    vertical-align: middle;
}

.table2 th {
    width: 8rem;
    background-color: var(--light_gray2);
}

.table2 .center {
    background-color: var(--light_gray);
    width: 6rem;
}

.dc_source {
    display: inline-block;
    color: var(--main_txt);
    background: url("//thenlaw1002.mycafe24.com/images/ico_link.svg") no-repeat right center;
    background-size: contain;
    padding-right: 2.6rem;
    margin-left: .5rem;
}

.pr_mg.right {
    text-align: right;
}


.milit dt {
    font-size: 1.8rem;
    color: var(--sub_color);
}

.milit dt::before {
    content: "◎ ";
    /* display: inline; */
}

.milit dd {
    margin-bottom: 1rem;
    padding-left: 2.5rem;
}



/* ######## 상담신청 ########  */

#help_intro{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#help_intro #wrap{
    flex: 1 0 auto;
}
#help_intro .footer.sub{
    flex-shrink: 0;
}

.help-intro_wrap{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.help-intro_title{
    padding: 3rem;
    width: 100%;
    text-align: center;
}
.help-intro_title .case_all{
    line-height: 1.5;
    color: var(--wt_txt);
    font-size: 2rem;    
}
.help-intro_list{
    width: 100%;
    height: 40rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.help-intro_item{
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.help-intro_item:nth-child(1){
    border-right: 2px dashed var(--light_gray2);
}
.help-intro_item:nth-child(2){
    border-left: 2px dashed var(--light_gray2);
}
.help-intro_link{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
}
.help-intro_item:before{
    content: "";
    display: block;
    width: 800px;
    height: 800px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(.3);
    border-radius: 50%;
    opacity: 0;
    transition: transform .5s, opacity .5s;
}
.help-intro_item:hover:before{
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.help-intro_item.help-attack:hover .help-intro_link{
    border-right: 2px solid transparent;
}
.help-intro_item.help-defense:hover .help-intro_link{
    border-left: 2px solid transparent;
}
.help-intro_item:hover .help-intro_link{
    border: 2px solid rgba(255,255,255,0.2);
}
.help-intro_item.help-attack::before{
    background-color: #9d1d1d;
}
.help-intro_item.help-defense::before{
    background-color: var(--secondary_blue);
}

.help-intro_label{
    display: block;
    padding:0.45rem 3rem 0.5rem;
    border-radius: 5rem;
    font-size: 2.2rem;
    letter-spacing: -0.05em;
    color: #fff;
}

.help-attack .help-intro_label{
    background-color: #9d1d1d;
}

.help-defense .help-intro_label{
    background-color: var(--secondary_blue);
}

.help-intro_desc{
    font-size: 3.6rem;
    letter-spacing: -0.05em;
    color: var(--main_txt);
    font-weight: 500;
    margin-top: 2rem;
}
.help-intro_go{
    margin: 4rem auto 0;
}
.help-intro_go span{
    font-size: 2rem;
    font-weight: 300;
    color: var(--main_txt);
}

.help-intro_item:hover .help-intro_label{
    background-color: #fff;
    color: #131313;
}
.help-intro_item:hover .help-intro_desc,
.help-intro_item:hover .help-intro_go span{
    color: #fff;
}
.help-txtbox{
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
}



.help_area {
    background-color: var(--sub_color);    
}


.help_area #wrap {
    padding-top: 15rem;
}


.help_area #wrap > h2 {
    text-align: center; 
    font-size: 3.2rem;
    color: var(--wt_txt);
    font-weight:700;
    line-height: 1.2;
}

.help_area .header_wrap .gnb.on .help {
    display: none;
}


#content_wrap.cons .cons_title {
    text-align: center;
    background-color: var(--sub_color);
    padding: 3rem;
    line-height: 1.5;
    color: var(--wt_txt);
    font-size: 2rem;
}

#content_wrap.cons .cons_title h2 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--wt_txt);
}

#content_wrap.cons .cons_title p {
    font-size: 2rem; 
    color: var(--light_gray2);
} 

#content_wrap.cons h3 {
    font-size: 3rem;
    color: var(--main_txt);
    font-weight: var(--main_font_bold);
    margin-bottom: 4rem;
}

.case2, .case3 {
    font-size: 2.2rem !important;
    margin: 0 auto 2rem;
    background-color: var(--light_gray);
    padding: 1rem 0;
    color: var(--main_txt);
    border-radius: 2rem;
}

.case2 span, .case3 span {
    color: var(--main_color);
    font-weight: var(--main_font_bold);
    
}

.highlight { 
    position: relative;
    font-size: 2.5rem;
    background: linear-gradient(transparent 70%, var(--highlight) 70%);
}

#content_wrap.compl {
    text-align: center;
}

#content_wrap.compl .img_wrap {
    width: 10rem;
    margin: 0 auto;
}

#content_wrap.compl .img_wrap img {
    width: 100%; 
}

#content_wrap.compl h2 {
    font-size: 4rem;
    padding: 2rem 1rem 3rem;
    line-height: 1.3;
    font-weight: var(--main_font_light);
    color: var(--sub_color);
}

#content_wrap.compl h2 span {
    font-weight: var(--main_font_bold);
}

#content_wrap.compl p {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 5rem;
    color: var(--main_txt);
}

#content_wrap.compl .btn_wrap {
    display: flex;
    justify-content: center;
}

#content_wrap.compl .btn_wrap a {
    margin: 0 1rem;
    display: block;
    padding: 1.5rem 2.5rem;
    border: 3px solid var(--light_gray2);
    font-size: 1.8rem;
}

#content_wrap.compl .btn_wrap a:hover {
    background-color: var(--light_gray);
    border: 3px solid var(--sub_color);
}

#content_wrap.compl a.btn_webt_go {
    color: var(--sub_color);
    border: 3px solid var(--sub_color);
}

#content_wrap.cons #step_01,
#content_wrap.cons #step_02,
#content_wrap.cons #step_03,
#content_wrap.cons #step_04,
/* #content_wrap.cons #step_05, */
#content_wrap.cons #step_06,
#content_wrap.cons #step_07,
#content_wrap.cons #step_08 {
    padding: 2.5rem ; 
    background-color: var(--light_gray);
}

#content_wrap.cons #step_01 ul {
    /* display: flex;
    flex-wrap: wrap;
    justify-content: space-between; */
}

#content_wrap.cons #step_01 ul li {
    /* width: 22%; */
}

.last_check {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.last_check h3 {
    font-size: 1.6rem;
    font-weight: var(--main_font_light);
    margin-bottom: 1rem;
}

#content_wrap.cons li label {
    display: block;
    width: 100%; 
    cursor: pointer;
    padding: 1.5rem;
    border-bottom: 2px dashed var(--light_gray2);
    margin-bottom: 1rem;
    font-size: 1.9rem;
    cursor: pointer;
    overflow: hidden;
}

#content_wrap.cons li label:hover {
    color: var(--main_color);
    border-bottom: 2px solid var(--sub_color);
}

#help-defense_write #step_01 input[type="checkbox"],
#help-defense_write #content_wrap.cons input[type="radio"],
.last_check input[type="checkbox"] {
    display: none; 

}
#step_04 li:last-child input[type="radio"] {
    display: inline-block;
}

/* 라디오 버튼을 대체할 이미지 스타일 지정 */
#help-defense_write .cons li label, 
#help-defense_write #step_01 .chk_mark,
.last_check label .chk_mark {
    background-image: url('../images/ico_check.png'); /* 체크되지 않은 상태의 이미지 경로 설정 */
    background-repeat: no-repeat;
    background-position: 2rem center;
    text-indent: 4.5rem;
}

.last_check {
    display: flex;
    justify-content: center;
}

.last_check h3 {
    text-align: center;
    font-size: 2rem !important;
    margin-top: 4rem;
    margin-bottom: 0;
    padding: .5rem .5rem .5rem 2rem;
    background-color: var(--light_gray);
    border-radius: 1rem;
    border: 1px solid var(--light_gray2);
}

.last_check label {
    display: flex;
    cursor: pointer;
    align-items: center;
}

.last_check label span {
    display: block;
}

/* #step_01 .chk_mark {
    display: block;
    width: 5rem; height: 5rem;
} */

.last_check label .chk_mark {
    width: 5rem; height: 5rem;
    background-position: center;
    text-indent: 0;
    order: 1;
}

/* 라디오 버튼이 선택됐을 때 이미지 변경을 위한 스타일 */
#help-defense_write #step_01 li input[type="checkbox"]:checked + label .chk_mark,
#help-defense_write #step_01 li:hover .chk_mark,
#help-defense_write #content_wrap.cons li:hover label,
.last_check li:hover label, 
.last_check label:hover .chk_mark,
.last_check input[type="checkbox"]:checked + label .chk_mark {
    background-image: url('../images/ico_check_ov.png'); /* 체크된 상태의 이미지 경로 설정 */
    color: var(--main_color);
}

.last_check label:hover .chk_txt {
    color: var(--main_color);
}




#content_wrap.cons #step_05 h3, 
#content_wrap.cons #step_07 h3, 
#content_wrap.cons #step_08 h3 {
    margin-bottom: 2rem;
}
 
#content_wrap.cons #step_08, 
#content_wrap.cons #step_09 {
    margin-bottom: .2rem;
}

#content_wrap.cons #step_08, 
#content_wrap.cons #step_07 {
    margin-bottom: 0;
}

#Help1_content,
#Help1_name,
input[type="tel"]#Help1_tel,
#step_02 input[type="text"],
#step_03 input[type="text"],
#step_04 input[type="text"],
#step_05 input[type="text"],
#step_06 input[type="text"],
#Help1_misconduct
{
    width: 100%;
    height: 15rem;
    font-size: 1.8rem;
    line-height: 1.5;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    padding: 1rem;
    border: 3px solid var(--light_gray2);
}

#content_wrap.cons #Help1_content {
    height: 20rem;
}

#step_04 input[type="text"] {
    height: auto;    
}

#step_03 li:nth-child(6) input[type="text"] {
    width: calc(100% - 5rem);
    margin-right: 1rem;
    height: auto;
}

#Help1_name,
#step_03 input[type="text"],
input[type="tel"]#Help1_tel  {
    height: auto;
}

#content_wrap.cons .s_com {
    font-size: 1.4rem;
    color: var(--light_gray3);
    font-weight: var(--main_font_bold);
}

#content_wrap.cons #step_05 {
    display: flex;
    justify-content: center;
}

.wait {
    padding: 2rem;
    color: var(--wt_txt);
    font-weight: var(--main_font_light);
    text-align: center;
    background-color: rgba(0,0,0,.7);
    font-size: 2rem;
    display: none;
}

.list_tit {
    font-size: 2rem;
    display: block;
    padding: 1rem 0;
}

h4.list_tit {
    padding-top: 5rem;
}





/* ##### 이용약관, 개인정보페이지 ##### */

.tos_area {
    line-height: 1.5;
    font-size: 1.8rem;
}
.t_bold {
    font-weight: var(--main_font_bold);
}

.about_tit {
    display: block;
    color: var(--sub_color);
    font-size: 2rem;
}

.privacy_area {
    line-height: 1.7;

}


.privacy_area h3 {
    padding: 2rem 0 1rem;
    font-size: 1.8rem;
}

table {
    margin: 2rem 0;
}

table, th, td {
    border: 1px solid var(--light_gray3);
}

th, td {
    padding: 1rem;
}

table {
    width: 100%;
}

table th {
    background-color: var(--light_gray);
    vertical-align: middle;
    font-weight: var(--main_font_bold);
}

.t_pri th {
    width: 40%;
}

.table_4 th {
    width: 25%;
}

.table_4 td {
    text-align: center;
}


/* ##### 초기대응전략 ##### */
.sc_txt ul {
    list-style: none;
    padding: 0 2rem;
}

.d_txt_box { 
    /* padding: 0 1rem; */
}

.d_txt_box span {
    display: block;
    font-weight: var(--main_font_bold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.mg_bt {
    margin-bottom: 3rem;
}

.dr_po_img img {
    width: 100%; 
}

/* ######## res ######## */
@media (max-width: 75rem){ /* 1200px */
    html { font-size: 62.5%; } 
}

@media (max-width: 56.25rem){ /* 900 */ 
    html { font-size: 56.25%; }
    /* 전문성 */
    .why_cont {
        flex-wrap: wrap;
    }
    .why_tit_area.t_area {
        background: none;
    }
    
    .why_cont div {
        width: 100%;
        height: auto;
    }

    .why_cont div img {
        position: static;
        top: 0; left: 0;
        transform: translate(0, 0);
    }

    .why_cont p {
        width: 100%;
        padding: 0;
        margin: 2rem 0 5rem;
    }

    .why_cont.w02 p {
        order: 0;
    }

    /* 오시는길 */
    #map {
        width: 90%; height: 30rem;
        margin: 0 auto;
    }


    /* 전문변호사 */
    .lawyer_s_txt {
        width: 100%;
    }

    .lawyer_v {
        background-image: none !important;
    }

    .mo_l_photo {
        display: block;
    }

    #content_wrap.lawyer_list li .l_form {
        transform: translateY(0);
    }

    #content_wrap.lawyer_list li .lawyer_dim {
        transform: translateY(0);
    }

    #content_wrap.lawyer_list #gallery_list3 ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .lawyer_s_txt2 {
        width: 100%;
    }
    
    .lawyer_s_txt2 br {
        display: none;
    }

    
    .sub_body.nbr br {
        display: none;
    }

    .sub_body.nbr .txt01 {
        letter-spacing: -.1rem;
    }

    .sub_body.nbr .txt01 br {
        display: block;
    }

    /* 법률상식 */ 
    /* 메뉴4개일시 모바일에서 박스형태    */
    /* .sub_cate.adultery_law{
        height: unset;
    }
    .sub_cate.adultery_law ul{
        flex-wrap: wrap;
    }
    .sub_cate.adultery_law ul li{
        width: 50%;
    }
    .sub_cate.adultery_law ul li:nth-child(1){
        border-right: 1px solid #E8E8E8;
        border-bottom: 1px solid #E8E8E8;
    }
    .sub_cate.adultery_law ul li:nth-child(2){
        border-bottom: 1px solid #E8E8E8;
    }
    .sub_cate.adultery_law ul li:nth-child(3){
        border-right: 1px solid #E8E8E8;
    } */


    .sub_cate.scroll_menus{
        height: unset;
        padding: 0 2rem;
    }
    .sub_cate.scroll_menus nav{
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        padding-left: 0;
        margin-left: 0;        
    }
    .sub_cate.scroll_menus nav::-webkit-scrollbar{
        display: none;
    }
    .sub_cate.scroll_menus ul{
        display: flex;
        width: max-content; 
        justify-content: flex-start;
    }    
    .sub_cate.scroll_menus ul li{
        margin:0 1rem;
    }     
    .sub_cate ul li a.active {
        padding-left: 0;
    }
    
    /* 시크릿 */
    
    .tit_tab.sc2 {
        grid-template-columns: repeat(2, 1fr);
    }

    
    .tit_tab li {
        height: 5rem;
    }

    .tit_tab {
        height: auto;
    }

    /* 게시판 */
    #content_wrap #gallery_list3 ul,
    #content_wrap #gallery_list ul,
    #content_wrap #gallery_list2 ul {
        grid-template-columns: repeat(2, 1fr);
    }

    #content_wrap #top_search_wrap .sc_cate {
        width: 100%;
        /* margin-bottom: 2rem; */
    }

    #content_wrap #top_search_wrap .sc_keyword {
        width: 100%;
    }

    #content_wrap #write_table .result .re_area {
        width: 100%; 
    }
    #content_wrap #write_table .result .re_area:first-child {
        margin-bottom: 2rem;
    }

    .suc_wrap {
        grid-template-columns: 1fr; 
    }

    .suc_img_area .field_cont img {
        width: 100% !important;
    }

    #content_wrap #board_list table thead th:nth-child(1),
    #content_wrap #board_list table thead th:nth-child(3),
    #content_wrap #board_list table td:nth-child(1),
    #content_wrap #board_list table td:nth-child(3) {
        display: none;
    }

    #content_wrap #board_list table thead th:nth-child(2) {
        width: 80%;
    }
    #content_wrap #board_list table thead th:nth-child(4) {
        width: 20%;
    }

    #content_wrap #board_list table td:nth-child(2) {
        padding-left: 2rem;    
    }

    #content_wrap #write_table .btn_page_area div {
        width: 48%;
    }


    #content_wrap.review_area .rew_area {
        grid-template-columns: 1fr; 
    }



    /* 상담신청 */

    .help-intro_list{
        height: 30rem;
    }
    .help-intro_desc{
        font-size: 2.8rem;
    }
    .help-intro_label{
        font-size: 1.8rem;
        margin-top: 3.6rem;
    }
    .help-intro_go span{
        font-size: 1.6rem;
    }
    .help-txtbox{
        height: 100%;
    }

    .grecaptcha-badge {
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        bottom: auto !important;
        transform: translateX(0) translateY(0); /* 위치 이동 없음 */
        width: 65px !important;
        height: 65px !important;
        overflow: hidden;
        transition: all 0.3s ease; /* 부드러운 트랜지션 효과 */
        z-index: 999 !important;
        box-shadow: none !important;
    }

    .grecaptcha-badge:hover {
        width: auto !important;
        height: auto !important;
    }

    .help_area #wrap {
        padding-top: 10rem;
    }

    #content_wrap.cons .cons_title {
        padding: 3rem 1rem;
    }

    .case3 {
        padding: 1rem;
    }

    #content_wrap.cons #step_01,
    #content_wrap.cons #step_02,
    #content_wrap.cons #step_03,
    #content_wrap.cons #step_04,
    #content_wrap.cons #step_05,
    #content_wrap.cons #step_06,
    #content_wrap.cons #step_07,
    #content_wrap.cons #step_08 {
        padding: 1.5rem ; 
        background-color: var(--light_gray);
    }

    #content_wrap.cons h3 {
        margin-bottom: 2rem;
    }

    .res_contents .img_wrap {
        width: 100%;
        height: 50rem;
    }

    .res_contents .txt_area1 {
        width: 100%;
    }

    .res_contents .txt_area1 p {
        padding-left: 0;
    }

    .maincase_view > .sub_tit_area{
        display: none;
    }

    .maincase_view #content_wrap #write_table .title_area{
        padding-top:2rem;
        padding-bottom: 2rem !important;
    }
}

@media (max-width: 37.5rem) { /* 600 */ 
    html { font-size: 56.25%; }

    /* 전문변호사 */
    #content_wrap.lawyer_list #gallery_list3 ul {
        grid-template-columns: repeat(1, 1fr);
    }
    
    /* 시크릿 */
    .s_box2 .step_area {
        flex-wrap: wrap;
    }

    .s_box2 > div {
        margin-bottom: 6rem;
    }

    .s_box2 > div .step_area .img_wrap {
        width: 100%;
    }

    .s_box2 .step_area h4 {
        padding-left: 0;
    }

    .s_box2 .step_area .sc_btn {
        margin-left: 0;
    }

    /* 게시판 */

    #content_wrap #top_search_wrap .sc_cate {
        flex-direction: column;
    }

    #content_wrap #top_search_wrap .sc_cate select {
        width: 100%;
    }
    #content_wrap #top_search_wrap .sc_cate select:first-child {
        margin-bottom: 2rem;
    }

    #content_wrap #top_search_wrap .sc_keyword  {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #content_wrap #top_search_wrap .sc_keyword input {
        width: 100%;
        margin-bottom: 1rem;
    }

    #content_wrap #top_search_wrap .search button {
        width: 48%;
        margin-left: 0;
    }

    #content_wrap #write_table .lawyer .law_area {
        width: 100%; 
    }

    #content_wrap #write_table .lawyer .law_area:last-child {
        margin: 0;
    }

    #content_wrap #write_table .result .icon {
        width: 40px;
    }

    #content_wrap #top_search_wrap #QA_category + #search_keyword {
        width: 100%;
        margin-bottom: 1rem;
    }

    #board_list table colgroup {
        width: 100%;
    }

    .input_area {
        width: 100%;
        margin-bottom: 1rem;
    }

    .btn_area {
        width: 100%;
    }

    #content_wrap #top_search_wrap .search button {
        width: 49%;
        margin-left: 0;
    }

    /* 시크릿 */
    .tit_tab {
        grid-template-columns: repeat(3, 1fr);
    }



    .s_box, .s_box1 {
        flex-wrap: wrap;
    }

    .s_box .img_wrap,
    .s_box1 .img_wrap {
        width: 100%;
    }

    .txt_area {
        width: 100%; 
    }

    .txt_area > p {
        padding-left: 0;
    }

    .txt_area > ul {
        padding: 1rem 2rem;
    }

    .maincase_drug  {
        display: none;
    }
    
    .mo_maincase_drug {
        display: block;
    }

    /* 상담신청 */
    .help-intro_list{
        height: 24rem;
    }
    .help-intro_desc{
        font-size: 2.4rem;
    }
    .help-intro_link{
        justify-content: space-between;
    }
    .help-intro_label{
        font-size: 1.6rem;
        padding: 0.25rem 2rem 0.3rem;
        margin-top: 3rem;
    }
    .help-intro_desc{
        font-size: 2rem;
        margin-top: 0;
    }
    .help-intro_go{
        margin-top: auto;
        margin-bottom: 3rem;
    }    

}
