@import url("youth_common.css");


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


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

.why_tit_area.t_area {
    background-image: url("../images/why_img_00.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;
    margin:0 auto;
}

.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 {
}

#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_area {
}

.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_area {
}

.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;
}

.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);
    text-align: center;
    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_color2);
}




#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:4px 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_color2);
    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 img {
    width: 100%;
}

#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: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;
} */

/* 260409 */
#content_wrap #write_table .field_cont.document div{
    padding: 0 !important;
}
.suc_lawyer-contents{
    display: flex;
    border: 1px solid #eee;
    box-sizing: border-box;
    align-items: stretch;
    width: 100%;
    margin-bottom: 4rem;
}
.suc_lawyer-img{
    position: relative;
    overflow: hidden;
    flex: 0 0 46%;
    position: relative;
    overflow: hidden;
}
.suc_lawyer-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;    
}
.suc_lawyer-info{
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;    
}
.suc_lawyer-label{
    font-size: 2.6rem;
    font-weight: 600;
    background: #d9d9d9;
    display: inline-block;
    border-radius: 5rem;
    padding: 0.8rem 3.2rem;
    letter-spacing: -0.1rem;
    margin-bottom: 1.6rem;    
}
.suc_lawyer-name{
    font-size: 4.2rem;
    font-weight: 300;
    letter-spacing: -0.1rem;    
}
.suc_lawyer-name strong{
    font-size: 4.8rem;
    font-weight: 700;
}
.suc_lawyer-profile{
    margin-top: 2.4rem;
    font-size: 1.8rem;
    line-height: 1.2;
}
.suc_lawyer-profile li+li{
    margin-top: 0.8rem;
}
.bn_only-m{display: none;}
.bn_contents{
    display: flex;
    gap: 1rem;
}

.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_wrap img {
    max-width: 100%;
    outline: 0;
}

.txt-line{
    display: inline-block;
    position: relative;
    margin-left: 1.2rem;
    padding-left: 1.2rem;    
}
.txt-line::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 18px;
    background: #000;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%, -50%);
}

/* ------------------------------------------ */

#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 .suc_img_area .field_cont div {
    padding: 2rem 0 0;
}

#content_wrap #write_table .field_cont div {
    line-height: 1.7;
    padding: 2rem;
    font-size: 1.8rem;
}
#content_wrap #write_table .field_cont div a.op_pop{
    display: block;
    text-align: center;
}
#content_wrap #write_table .field_cont div img {
    width: 100%;
    height: 100%;
}
#content_wrap #write_table .field_cont div a{
    display: block;
    text-align: center;
}
#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 {
    margin: 3rem auto 0;
    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_color2);
}

.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;
}




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

.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;
}

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


.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;
}

.help_area .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: 2rem;
}

.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(--highligth) 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_color2);
    border: 3px solid var(--sub_color2);
}

#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: 2rem;
    cursor: pointer;
    overflow: hidden;
}

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

#content_wrap.cons input[type="radio"],
.last_check input[type="checkbox"] {
    display: none;
}

/* 라디오 버튼을 대체할 이미지 스타일 지정 */
#content_wrap.cons li label, 
.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;
}

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

/* 라디오 버튼이 선택됐을 때 이미지 변경을 위한 스타일 */
/* -------------------------------------------------
   데스크톱(마우스) 환경에서만 hover 체크이미지 표시
   모바일 터치 환경에서는 hover 잔상이 남지 않도록 제한
------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
    #content_wrap.cons li label:hover {
        background-image: url('https://youth.thenlaw.com/images/ico_check_ov.png');
        color: var(--main_color);
        border-bottom: 2px solid var(--sub_color);
    }
}

/* 실제 선택된 항목은 항상 체크이미지 표시 */
#content_wrap.cons li label.radio-checked {
    background-image: url('https://youth.thenlaw.com/images/ico_check_ov.png') !important;
    color: var(--main_color);
    border-bottom: 2px solid var(--sub_color);
}

/* 체크박스 기본/선택 */
.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;
    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;
}

.last_check label .chk_mark {
    width: 5rem;
    height: 5rem;
    background-image: url('https://youth.thenlaw.com/images/ico_check.png');
    background-repeat: no-repeat;
    background-position: center;
    text-indent: 0;
    order: 1;
}

.last_check input[type="checkbox"]:checked + label .chk_mark {
    background-image: url('https://youth.thenlaw.com/images/ico_check_ov.png');
}

/* 모바일/터치 환경에서는 손가락으로 누르는 순간 체크이미지 표시 */
@media (hover: none), (pointer: coarse) {
    #content_wrap.cons li label:active {
        background-image: url('https://youth.thenlaw.com/images/ico_check_ov.png');
        color: var(--main_color);
        border-bottom: 2px solid var(--sub_color);
    }
}

#content_wrap.cons #step_09 label:hover .chk_txt {
    color: var(--main_color);
}

#content_wrap.cons #step_10 label  {
}


#content_wrap.cons #step_06 h3 span:nth-of-type(2) {
    font-size: 1.4rem;
    color: var(--light_gray3);
    font-weight: var(--main_font_bold);
}
#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_05, 
#content_wrap.cons #step_07 {
    margin-bottom: 0;
}

#Help1_content,
#Help1_name,
input[type="tel"]#Help1_tel {
    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 #step_05 #Help1_content {
    height: 10rem;
}

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

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

.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;
}



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

.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);
    width: 40%;
    vertical-align: middle;
    font-weight: var(--main_font_bold);
}

.table_4 th {
    width: 25%;
}

.table_4 td {
    text-align: center;
}


/* 260421추가 */
.mo_maincase_youth{display: none;}

/* ######## 소년사건 법률상식 ######## */
.youth_cont{letter-spacing: -0.03em;line-height: 1.4;}
.youth_cont .txt-bold{
    font-weight: bold;
}
.youth_cont h3.loca_tit{
    font-size: 1.8rem;
    padding: 0.7rem 2rem
}
.youth_cont .desc{
    font-size: 1.8rem;
    line-height: 1.5;
}
.youth_label-black{
    display: inline-block;
    background: #000;
    color: var(--wt_txt);
    padding: 0.6rem 1rem;
    font-size: 1.4rem;
}
.youth_label-yellow{
    display: inline-block;
    background: var(--color_yellow);
    padding: 0.6rem 1rem;
    font-size: 1.4rem;
    font-weight: 500;
}
.youth-highlight{
    position: relative;
    background: linear-gradient(transparent 50%, rgba(255,219,92,0.4) 50%) ;
}

/* ------------------- */
.youth_age-box{
    margin-top: 3rem;
}
.youth_age-list{
    display: flex;
    align-items: stretch;
}
.youth_age-box li+li{
    margin-top: 1.2rem;
}
.youth_list+.youth_list{
    margin-top: 6.4rem;
}
.age-list-left{
    background: var( --color_lightgray);
    flex: 0 0 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--color_border);
    border-left: 1px solid var(--color_border);
    border-bottom: 1px solid var(--color_border);
}
.age-list-left .txt-bold{
    font-size: 2rem;
    margin-bottom: 0.6rem;
}
.age-list-right{
    flex: 1;    
    padding: 2.8rem 2rem;
    box-sizing: border-box;
    border-top: 1px solid var(--color_border);
    border-right: 1px solid var(--color_border);
    border-bottom: 1px solid var(--color_border);    
}
.age-list-right p{
    font-size: 1.8rem;
}
.youth_legal-cont h4.txt-bold{
    color: var(--color_green);
    font-size: 2.6rem;
}
.youth_legal-box{
    margin-top: 3rem;
}
.youth_legal-list{
    margin-top:5.4rem
}
.youth_legal-item + .youth_legal-item{
    margin-top: 2rem;
}
.legal-box-header{
    display: flex;
    align-items: stretch;
}
.youth_legal-label-yellow{
    background: var(--color_yellow);
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem 2.4rem;
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;
}
.youth_legal-label-lightyellow{
    display: inline-block;
    background: rgba(var(--color_yellow-rgb), 0.3);
    padding: 1rem 1.4rem;
    font-weight: 500;
}
.legal-box-body{
    background: #F5F5F5;
    padding: 1.4rem 2rem;
}
.legal-box-body p:nth-child(1){
    font-size: 1.8rem;
    line-height: 1.6;
}
.youth_label-gray{
    margin-top: 0.8rem;
    display: inline-block;
    background: var(--color_midgray);
    padding: 0.6rem 1rem;
    font-size: 1.4rem;
    font-weight: 500;
}




/* ------------------- */

.stage1 .youth_proc-stage {
    border: 1px solid var(--color_yellow-step1);
    /* overflow: hidden; */
}
.stage2 .youth_proc-stage {
    border: 1px solid var(--color_yellow-step2);
}
.stage3 .youth_proc-stage {
    border: 1px solid var(--color_yellow-step3);
}
.stage4 .youth_proc-stage {
    border: 1px solid var(--color_yellow-step4);
}

.stage1 .youth_proc-stage-header{
    background: var(--color_yellow-step1);
}
.stage2 .youth_proc-stage-header{
    background: var(--color_yellow-step2);
}
.stage3 .youth_proc-stage-header{
    background: var(--color_yellow-step3);
}
.stage4 .youth_proc-stage-header{
    background: var(--color_yellow-step4);
}

.youth_proc-cont{
    margin-top: 7.6rem;
}
.youth-proc-list + .youth-proc-list{
    margin-top: 1rem;
}
.youth_proc-stage-header {
    padding: 1.5rem 2rem;
}
.youth_proc-stage-num {
    font-size: 2rem;
    font-weight: bold;
    margin-right: 1rem;
}
.youth_proc-stage-title {
    font-size: 2rem;
    font-weight: bold;
}
.youth_proc-stage-body {
    background: var(--wt_txt);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.youth_proc-stage-item {
    display: flex;
    align-items: flex-start;
}
.youth_proc-stage-item-label {
    background: rgba(var(--color_yellow-rgb), 0.3);
    padding: 0.6rem 1rem;
    font-weight: 600;
    white-space: nowrap;
    margin-right: 1rem;
    flex-shrink: 0;
}
.youth_proc-stage-desc{
    font-size: 1.8rem;
    line-height: 1.5;
}
.youth_proc-stage-plain {
    font-size: 1.8rem;
    line-height: 1.5;
}

.youth_cont .arrow-wrap {
    display: flex;
    justify-content: center;
    margin: 0;
}
.youth_cont .arrow-down {
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
}
.youth_cont .stage1 .arrow-down{
    border-top: 22px solid var(--color_yellow-step1);
}
.youth_cont .stage2 .arrow-down{
    border-top: 22px solid var(--color_yellow-step2);
}
.youth_cont .stage3 .arrow-down{
    border-top: 22px solid var(--color_yellow-step3);
}

.youth_explain-cont{
    margin-top: 9rem;
}
.youth_explain-title{
    font-size: 2.6rem;
    font-weight: bold;
    color: var(--color_green);
    margin-bottom: 2.4rem;
}
.youth_explain-desc {
    font-size: 1.8rem;
    margin-bottom: 2.4rem;
    line-height: 1.5;
}
.youth_explain-box {
    background-color: var(--light_gray);
    padding: 2.4rem 2rem;
}
.youth_explain-list + .youth_explain-list{
    margin-top: 5rem;
}
.youth_explain-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.youth_explain-item + .youth_explain-item  {
    margin-top: 1rem;
}
.youth_explain-item .youth_label-black {
    white-space: nowrap;
    flex-shrink: 0; /* 라벨 찌그러짐 방지 */
}
.youth_explain-item p {
    line-height: 1.5;
    word-break: keep-all;     /* 한글 자연스럽게 줄바꿈 */
    overflow-wrap: break-word; /* 긴 문장 대응 */
}

.youth_explain-point-box {
    background-color: rgba(var(--color_yellow-rgb), 0.2);
    padding: 2.4rem 2rem;
}
.youth_explain-point-box h5{
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 1.4rem;
}
.youth_explain-point-box .youth_explain-desc{
    margin-bottom: 3.2rem;
}

.youth_explain-point-item + .youth_explain-point-item  {
    margin-top: 3rem;
}
.youth_explain-point-item p{
    margin-top: 1rem;
}






/* ------------------- */
.youth_effect-cont{
    margin-top: 7.6rem;
}
.youth_effect-list + .youth_effect-list{
    margin-top: 5rem;
}
.youth_effect-title {
    font-size: 2.6rem;
    font-weight: bold;
    color: var(--color_green);
    margin-bottom: 2.4rem;
}

.youth_effect-quote {
    background-color: rgba(var(--color_yellow-rgb), 0.2);
    padding: 2.4rem 2rem;
    margin-bottom: 1rem;
}
.youth_effect-quote-box{
    display: flex;
    align-items: center;
    gap: 1rem;
}
.youth_effect-quote-box .youth_label-yellow{
    font-weight: 500;
    font-size: 1.6rem;
}
.youth_effect-law-txt {
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: break-word;
    font-weight: bold;
}

/* ── Info card ── */
.youth_effect-box {
    background-color: var(--light_gray);
    padding: 2.4rem 2rem;
}

.youth_effect-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.youth_effect-box ul li {
    position: relative;
    padding-left: 1.8rem;
}

.youth_effect-box ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.6rem;
}



@media (max-width: 56.25rem){ /* 900 */ 
    .age-list-left, .age-list-right{
        padding: 1.2rem;
    }
    .youth_cont h3.loca_tit{
        text-align: left;
    }
    .youth_proc-stage-item{
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
    .youth_proc-stage-body{
        gap: 2rem;
    }
    .youth_effect-quote-box{
        flex-direction: column;
        align-items: flex-start;
    }
    .youth_explain-item{
        align-items: flex-start;
    }

    .sub_cate ul li a{ word-break: keep-all;}

    /* 260421추가 */
    .maincase_youth{display: none;}
    .mo_maincase_youth{display: block;padding: 0 !important;}
    

}


@media (max-width: 37.5rem) { /* 600 */ 
    .youth_cont h3.loca_tit{
        font-size: 1.6rem;
    }
    .youth_cont .desc{
        font-size: 1.6rem;
        line-height: normal;
    }
    .age-list-left{
        flex: 0 0 42%;
        padding: 0.6rem 1.2rem;
    }    
    .age-list-left .txt-bold{
        font-size: 1.8rem;
        margin-bottom: 0;
    }
    .age-list-left p:nth-of-type(2){
        font-size: 1.4rem;
    }
    .age-list-right{
        flex: 0 0 58%;
    }    
    .age-list-right p{
        font-size: 1.6rem;
    }
    .youth_legal-cont h4.txt-bold{
        font-size: 2.2rem;
    }
    .youth_legal-label-yellow{
        font-size: 1.8rem;
        padding: 0.8rem 1.6rem;
        min-width: unset;
    }     
    .youth_legal-label-lightyellow {
        padding: 0.8rem 1.2rem;
    }
    .legal-box-body{
        padding: 1.2rem 1.8rem;
    }
    .legal-box-body p:nth-child(1){
        font-size: 1.6rem;
        line-height: normal;
    }
    .youth_proc-cont{
        margin-top: 4.6rem
    }
    /* ----------------- */
    .youth_proc-stage-header{
        padding: 1rem 1.6rem;
    }
    .youth_proc-stage-num{
        font-size: 1.8rem;
        margin-right: 0.6rem;
    }
    .youth_proc-stage-title{
        font-size: 1.8rem;
    }
    .youth_proc-stage-body{
        padding: 1.4rem 1.2rem;
    }

    .youth_proc-stage-desc, .youth_proc-stage-plain{
        font-size: 1.6rem;
        line-height: normal;
    }
    .youth_explain-cont{
        margin-top: 5rem;
    }
    .youth_explain-title{
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    .youth_explain-desc{
        font-size: 1.6rem;
        line-height: normal;
    }
    .youth_explain-box, .youth_explain-point-box{
        padding: 1.4rem 1.2rem;
    }
    .youth_explain-item p{
        font-size: 1.6rem;
        line-height: normal;
    }
    .youth_explain-point-box h5{
        font-size: 1.8rem;
    }
    .youth_explain-desc{
        margin-bottom: 2.4rem;
    }
    .youth_explain-point-item + .youth_explain-point-item{
        margin-top: 1.6rem;
    }
    /* ----------------- */
    .youth_effect-cont{
        margin-top: 5.4rem;
    }
    .youth_effect-title{
        font-size: 2rem;
        margin-bottom: 1.8rem;
    }
    .youth_effect-quote, .youth_effect-box{
        padding: 1.4rem 1.2rem;
    }
    .youth_explain-list + .youth_explain-list{
        margin-top: 4rem;
    }

}






/* ######## res ######## */
@media (max-width: 75rem){ /* 1200px */

}

@media (max-width: 56.25rem){ /* 900 */ 

    /* 전문성 */
    .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;
    }
    .add_area .add{
        line-height: 1.4;
    }    


    /* 전문변호사 */
    .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;
    }
    
    /* 시크릿 */
    
    .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; 
    }

   
    



    /* 상담신청 */
    .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;
    }

    .suc_lawyer-contents{flex-direction: column;}
}
@media (max-width: 720px) { 
    .bn_only-pc{display: none;}
    .bn_only-m{display: block;}
    .bn_contents{flex-direction: column;gap: 0;}
    .suc_lawyer-info{padding: 2rem;}
    .suc_lawyer-label{
        font-size: 2rem;
        margin-bottom: 1.2rem;
        padding: 0.8rem 2.4rem;
    }
    .suc_lawyer-name{
        font-size: 3rem;
    }
    .suc_lawyer-name strong{
        font-size: 3.4rem;
    }
    .suc_lawyer-profile{
        font-size: 1.6rem;
        margin-top: 1.8rem;
    }
    .txt-line{
        margin-left: 0.8rem;
        padding-left: 0.8rem;        
    }
    .txt-line::before{
        height: 12px;
    }
}

@media (max-width: 37.5rem) { /* 600 */ 


    /* 전문변호사 */
    #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 #gallery_list3 ul,
    #content_wrap #gallery_list ul,
    #content_wrap #gallery_list2 ul {
    }

    #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;
    }

}