/* 언어설정 */
@charset 'utf-8';

@font-face {
    font-family: 'SUIT-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KCCHyerim-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2411-3@1.0/KCCHyerim-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* 전체설정 */
* {
    margin: 0;
    padding: 0;
    font-family: 'SUIT-Regular';
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--main-text);
}

img {
    vertical-align: bottom;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;

}

.body {
    max-width: 100%;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
    /* 스크롤 막기 */
    touch-action: none;
    /* 터치 시 흔들림 방지 (모바일 UX 향상) */
}

/* 색상설정 */
:root {
    --main-navi: #204B62;
    --main-text: #333;
    --main-white: #fff;
}

/* 상세설정 ---------------------------------------------------------------------------- */

main {
    margin-top: 60px;
  }


/* 인사말 설정 */

.txt {
    background-image: url(/img/success_bg2.png);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    height: 400px;
    /* 또는 원하는 높이 */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.txt h1 {
    font-size: 60px;
    margin-top: 50px;
    font-weight: bold;
    display: inline-block;
    color: var(--main-white);
}

.intro-image {
    text-align:center;
    margin: 50px 0px 0px 0px;
}

.intro-image img {
    max-width:100%;
    height:auto;
}

/* 인사말 본문 설정 - 1 */

.content {
    margin-left: 50px;
}

.content .section1 {
    margin-top: -20px;
}

.content .section1 h3 {
    font-size: 35px;
    margin-left: 20px;
    margin-top: 50px;
    font-weight: bold;
    box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
    display: inline-block;
    color: #204B62;
}

.content .section1 p {
    font-size: 18px;
    margin-left: 50px;
    line-height: 1.8;
    margin-top: 5px;
    margin-bottom: 25px;
}

.content .section1 strong {
    color: #204B62;
    font-size: 25px;
    margin-left: 25px;
}

/* 인사말 본문 설정 - 2 */

.content .section2 {}

.content .section2 h3 {
    font-size: 35px;
    margin-left: 20px;
    margin-top: 50px;
    font-weight: bold;
    box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
    display: inline-block;
    color: #204B62;
}

.content .section2 p {
    font-size: 20px;
    margin-left: 50px;
    margin-top: 20px;
    line-height: 1.5;
}

/* 인사말 본문 설정 - 3 */

.content .section3 {}

.content .section3 h3 {
    font-size: 30px;
    margin-left: 20px;
    margin-top: 50px;
    font-weight: bold;
    box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
    display: inline-block;
    color: #204B62;
}

.content .section3 p {
    font-size: 20px;
    margin-left: 20px;
    margin-top: 20px;
    line-height: 1.5;
}

/* 인상문구 배너 설정 */

/*.banner2 {*/
/*    background-image: url(/img/banner_2.png);*/
/*    background-size: cover;*/
/*    background-position: center top;*/
/*    background-repeat: no-repeat;*/
/*    width: 100%;*/
/*    height: 400px;*/
/*    !* 또는 원하는 높이 *!*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*}*/

/*.banner2 img {*/
/*    margin-top: 40px;*/
/*}*/

/* 목표 및 기부 */

.content2 {
    margin-top: 40px;
    margin-left: 20px;
}

.content2 .section1 {}

.content2 .section1 h3 {
    font-size: 30px;
    margin-left: 20px;
    margin-top: 30px;
    font-weight: bold;
    box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
    display: inline-block;
    color: #204B62;
}

.content2 .section1 p {
    font-size: 20px;
    margin-left: 20px;
    margin-top: 20px;
    line-height: 1.5;
}

.content2 .section2 {}

.content2 .section2 h3 {
    font-size: 30px;
    margin-left: 20px;
    margin-top: 50px;
    font-weight: bold;
    box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
    display: inline-block;
    color: #204B62;
}

.content2 .section2 p {
    font-size: 20px;
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 80px;
    line-height: 1.5;
}

.intro-image1 {
    text-align:center;
    margin: 50px 0px 0px 0px;
}

.intro-image1 img {
    max-width:100%;
    height:auto;
}

.lawyer-message-board {
    max-width: 1800px;     /* 조금 더 넓게 */
    padding: 0 18px;
    margin-left: 40px;
    margin-bottom: 40px;
}
.message-table-wrap {
    background: #f9fbfd;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(32,75,98,0.07);
    padding: 40px 36px 30px 36px;
}

.board-title {
    font-size: 35px;
    color: #204B62;
    font-weight: 700;
    margin-bottom: 26px;
    box-shadow: inset 0 -10px 0 rgba(228, 246, 255, 1);
    text-align: left;
    display: inline-block;
    letter-spacing: -1px;
}

.lawyer-role {
    display: inline-block;
    margin-left: 5px;
    padding: 1px 6px;
    color: black;
    font-size: 16px;
    vertical-align: middle;
    margin-bottom: 4px;
}

.message-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.03);
    margin-bottom: 10px;
}
.message-table th, .message-table td {
    border-bottom: 1px solid #e3e3e3;
    padding: 16px 12px;
    text-align: left;
    font-size: 18px;
    background: none;
}
.message-table th {
    background: #f4f7fa;
    color: #204B62;
    font-weight: 700;
    font-size: 18px;
}
.message-table th:first-child{
    padding-left: 30px;
}
.message-table td.left {
    text-align: left;
    padding-left: 20px;
}
.message-table td {
    color: #333;
    font-size: 16px;
}
.message-table tr:last-child td {
    border-bottom: none;
}
.message-table a {
    color: #234b5a;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}
.message-table a:hover {
    color: #307999;
    text-decoration: underline;
}

.paging {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 34px;
}

.paging a,
.paging span {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    color: #234b5a;
    font-size: 20px;
    font-weight: 400;
    border-radius: 14px;
    box-shadow: 0 1.5px 6px rgba(32,75,98,0.08);
    transition: background 0.18s, color 0.18s;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.paging a:hover {
    background: #e3eefa;
    color: #133048;
}

.paging .current,
.paging span.active {
    background: #204B62;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(32,75,98,0.18);
}



/* 미디어 쿼리 구간------------------------------------------------------------------------------------- */


/* PC 전용 */
@media screen and (min-width: 1440px) {}

/* 노트북 전용 */
@media screen and (min-width: 1025px) and (max-width: 1439px) {

    .txt h1 {
        font-size: 45px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }


    .content .section1 h3 {
        font-size: 28px;
        margin-left: 20px;
        margin-top: 50px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content .section1 p {
        font-size: 18px;
        margin-left: 20px;
        margin-top: 20px;
        line-height: 1.5;
    }

    .content .section2 h3 {
        font-size: 28px;
        margin-left: 20px;
        margin-top: 50px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content .section2 p {
        font-size: 18px;
        margin-left: 20px;
        margin-top: 20px;
        line-height: 1.5;
    }

    .content .section3 h3 {
        font-size: 28px;
        margin-left: 20px;
        margin-top: 50px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content .section3 p {
        font-size: 18px;
        margin-left: 20px;
        margin-top: 20px;
        margin-bottom: 50px;
        line-height: 1.5;
    }

    .content2 .section1 h3 {
        font-size: 28px;
        margin-left: 20px;
        margin-top: 30px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content2 .section1 p {
        font-size: 18px;
        margin-left: 20px;
        margin-top: 20px;
        line-height: 1.5;
    }
    
    .content2 .section2 {
        margin-right:90px;
    }
    
    .content2 .section2 h3 {
        font-size: 28px;
        margin-left: 20px;
        margin-top: 50px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content2 .section2 p {
        font-size: 18px;
        margin-left: 20px;
        margin-top: 20px;
        margin-bottom: 80px;
        line-height: 1.5;
    }
    .lawyer-role{
        margin-left: 0;
    }


}

/* 태블릿 전용 */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .txt h1 {
        font-size: 45px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }


    .content{
        margin-left: 15px;
    }

    .content .section1 {
        margin-right:25px;
    }

    .content .section1 h3 {
        font-size: 30px;
        margin-left: 20px;
        margin-top: 50px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content .section1 p {
        font-size: 18px;
        margin-left: 20px;
        margin-top: 20px;
        line-height: 1.5;
    }

    .content .section2 {
        margin-right:25px;
    }

    .content .section2 h3 {
        font-size: 30px;
        margin-left: 20px;
        margin-top: 50px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content .section2 p {
        font-size: 18px;
        margin-left: 20px;
        margin-top: 20px;
        line-height: 1.5;
    }

    .content .section3 {
        margin-right:25px;
    }

    .content .section3 h3 {
        font-size: 28px;
        margin-left: 20px;
        margin-top: 50px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content .section3 p {
        font-size: 18px;
        margin-left: 20px;
        margin-top: 20px;
        margin-bottom: 50px;
        line-height: 1.5;
    }

    .content2 .section1 {
        margin-right:25px;
    }

    .content2 .section1 h3 {
        font-size: 28px;
        margin-left: 20px;
        margin-top: 30px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content2 .section1 p {
        font-size: 18px;
        margin-left: 20px;
        margin-top: 20px;
        line-height: 1.5;
    }
    
    .content2 .section2 {
        margin-right:25px;
    }
    
    .content2 .section2 h3 {
        font-size: 28px;
        margin-left: 20px;
        margin-top: 50px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content2 .section2 p {
        font-size: 18px;
        margin-left: 20px;
        margin-top: 20px;
        margin-bottom: 80px;
        line-height: 1.5;
    }
    .lawyer-message-board{
        margin-left: 0;
    }
    .lawyer-role{
        display: inline;
        margin-left: 0;
        padding: 0;
        font-size: 13px;
    }

    .message-table{
        width: 115%;
        margin-left: -35px;
    }
}

/* 모바일 전용 */
@media screen and (min-width: 481px) and (max-width: 767px) {


    .txt h1 {
        font-size: 40px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }

    .content{
        margin-left: 15px;
    }

    .content .section1 {
        margin-right:25px;
    }

    .content .section1 h3 {
        font-size: 30px;
        margin-left: 20px;
        margin-top: 50px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content .section1 p {
        font-size: 15px;
        margin-left: 20px;
        margin-top: 20px;
        line-height: 1.5;
    }

    .content .section2 {
        margin-right:25px;
    }

    .content .section2 h3 {
        font-size: 30px;
        margin-left: 20px;
        margin-top: 50px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content .section2 p {
        font-size: 15px;
        margin-left: 20px;
        margin-top: 20px;
        line-height: 1.5;
    }

    .content .section3 {
        margin-right:25px;
    }

    .content .section3 h3 {
        font-size: 25px;
        margin-left: 20px;
        margin-top: 50px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content .section3 p {
        font-size: 15px;
        margin-left: 20px;
        margin-top: 20px;
        margin-bottom: 50px;
        line-height: 1.5;
    }

    .banner2 img {
        margin-top: 40px;  
        width: 600px; 
    }

    .content2 .section1 {
        margin-right:25px;
    }

    .content2 .section1 h3 {
        font-size: 25px;
        margin-left: 20px;
        margin-top: 30px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content2 .section1 p {
        font-size: 15px;
        margin-left: 20px;
        margin-top: 20px;
        line-height: 1.5;
    }
    
    .content2 .section2 {
        margin-right:25px;
    }
    
    .content2 .section2 h3 {
        font-size: 25px;
        margin-left: 20px;
        margin-top: 50px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content2 .section2 p {
        font-size: 15px;
        margin-left: 20px;
        margin-top: 20px;
        margin-bottom: 80px;
        line-height: 1.5;
    }

    .lawyer-message-board{
        margin-left : 0;
    }

    .message-table td{
        font-size: 13px;
    }

    .lawyer-role{
        padding: 1px 6px;
        font-size: 13px;
        margin-left: 0;
    }

    .message-table th, .message-table td{
        padding: 16px 1px;
    }

    .message-table th:last-child{
        text-align: center;
    }
}

@media screen and (max-width: 480px) and (orientation: portrait) {

    .txt {
        height: 250px;          /* 배경 영역 축소 */
    }

    .txt h1 {
        font-size: 35px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }

    .content{
        margin-left: 20px;
    }

    .content .section1 {
        margin-right:15px;
    }
    .content .section1 strong{
        margin-left: 0;
        font-size: 20px;
    }

    .content .section1 h3 {
        font-size: 30px;
        margin-left: 0px;
        margin-top: 20px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content .section1 p {
        font-size: 15px;
        margin-left: 0px;
        margin-top: 20px;
        line-height: 1.5;
    }

    .content .section2 {
        margin-right:15px;
    }

    .content .section2 h3 {
        font-size: 30px;
        margin-left: 0px;
        margin-top: 30px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content .section2 p {
        font-size: 15px;
        margin-left: 0px;
        margin-top: 20px;
        line-height: 1.5;
    }

    .content .section3 {
        margin-right:15px;
    }

    .content .section3 h3 {
        font-size: 19px;
        margin-top: 30px;
        margin-left: 0px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content .section3 p {
        font-size: 15px;
        margin-top: 20px;
        margin-left: 0px;
        margin-bottom: 50px;
        line-height: 1.5;
    
    }

    /*.banner2 {*/
    /*    background-image: url(/img/banner_2.png);*/
    /*    background-size: cover;*/
    /*    background-position: center top;*/
    /*    background-repeat: no-repeat;*/
    /*    width: 100%;*/
    /*    height: 300px;*/
    /*    !* 또는 원하는 높이 *!*/
    /*    display: flex;*/
    /*    justify-content: center;*/
    /*    align-items: center;*/
    /*}*/

    /*.banner2 img {*/
    /*    margin-top: 40px;  */
    /*    width: 350px; */
    /*}*/
    
    .content2 .section1 {
        margin-right:15px;
    }

    .content2 .section1 h3 {
        font-size: 20px;
        margin-left: 0px;
        margin-top: 20px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content2 .section1 p {
        font-size: 15px;
        margin-top: 20px;
        margin-left: 0px;
        line-height: 1.5;
    }
    
    .content2 .section2 {
        margin-right:10px;
    }
    
    .content2 .section2 h3 {
        font-size: 19px;
        margin-top: 30px;
        margin-left: 0px;
        font-weight: bold;
        box-shadow: inset 0 -20px 0 rgba(228, 246, 255, 1);
        display: inline-block;
        color: #204B62;
    }
    
    .content2 .section2 p {
        font-size: 15px;
        margin-top: 20px;
        margin-left: 0px;
        margin-bottom: 80px;
        line-height: 1.5;
    }

    .lawyer-message-board{
        margin-left: 0;
    }

    .message-table th{
        font-size: 11px;
    }

    .message-table td{
        font-size: 11px;
    }

    .lawyer-role{
        font-size: 9px;
        padding:0;
        margin-bottom: 0;
        margin-left: 0;
    }
    .message-table {
        margin-left: -30px;
        width: 120%;
    }
    .board-title{
        margin-left: -20px;
    }

    .paging a, .paging span{
        width: 40px;
        height: 40px;
    }

    .message-table th, .message-table td{
        padding: 11px 5px;
    }
}