@charset "utf-8";

/* 내용관리 */
#ctt {
    margin: 10px 0;
    padding: 10px;
}
.ctt_admin {
    margin: 0 5px;
    text-align: right
}
#ctt header h1 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden
}
#ctt_con { padding: 10px 0}
.ctt_img { text-align: center}
.lbox p {font-size: 1.4em;}
.lbox p.box_title {
    font-weight: 300;
    font-size: 2.4em;
    padding-bottom: 30px
}
.ceo {font-weight: 500}
.top-box {text-align: center;}

/* 메뉴바 컨테이너 */

/* 반응형: 화면 너비 600px 이하일 때 세로 스택 */
@media (max-width: 1000px) {
    .menu-bar {
        flex-direction: column;
    }

    .menu-bar button+button {
        border-left: none;
        border-top: 1px solid #ddd;
    }
}

.blueline {
    color: #007bff;
    font-weight: bold;
}

.menu-bar {
    display: flex;
    width: 100%;
    background-color: #3ba5cd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* flex 아이템이 줄어들 수 있게 */
    flex-wrap: nowrap;
}

/* 각 버튼 */
.menu-bar button {
    flex: 1 1 0;
    /* 같게 나누되, 작아질 수도 있게, flex-basis를 0으로 해야 창이 줄어들 때 동등하게 축소 */
    min-width: 0;
    /* 텍스트가 길어져도 줄바꿈 되도록 */
    color: white;
    padding: 12px 0;
    font-size: 16px;
    border: none;
    background: none;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 호버 효과 */
.menu-bar button:hover {
    background-color: #e0e0e0;
}

/* 활성화된 탭 스타일 */
.menu-bar button.active {
    background-color: #ffffff;
    border-top: 1px solid #000;
    font-weight: bold;
    color: black;
}

/* 콘텐츠 래퍼 */
#content {
    position: relative;
}

/* 각 패널 겹치기 + 전환 */
.menu-content {
    position: absolute;
    left: 0; right: 0; top: 0;     /* bottom 빼기 */
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    padding: 20px;             
}

/* 활성 패널 */
.menu-content.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* 모션 민감 사용자 배려 */
@media (prefers-reduced-motion: reduce) {
    .menu-content { transition: none; transform: none; }
}

/* 각 메뉴 내용들 */


.table-title {
    display: inline-flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 20px;
}
.sub-title {
    font-size: 1.3em;
    font-weight: 450;
    padding-left: 10px;
    margin-top: -10px;
    margin-bottom: 30px;
}
.underline {
    text-decoration: underline;
    color: #007bff;
    font-weight: bold;
}
/* 첫번째 메뉴 */
/* 타이틀 앞 파란 사각형 */
.table-title::before {
    content: "";
    display: inline-block;
    width: 1em;               /* 필요에 따라 조절 */
    height: 1em;              /* 필요에 따라 조절 */
    margin-right: 0.3em;
    /* 텍스트 기준선과 살짝 맞추기 위해 */
    margin-top: 0.2em;           /* 필요에 따라 0.05em ~ 0.15em 조절 */
    background-color: #fff;    /* 내부 흰색 */
    border: 2px solid #007bff; /* 파란 테두리 */
    box-sizing: border-box;
}
/* 테이블 기본 설정 */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    /* 상단 굵은 검은선 */
    border-top: 2px solid #000;
    /* 아래쪽 회색 실선 */
    border-bottom: 2px solid #ccc;
}

/* 모든 셀에 아래쪽만 회색 실선 */
.styled-table th,
.styled-table td {
    padding: 8px;
    border-top: none;
    border-left: none;
    border-right: none;
    /* 기본적으로는 오른쪽 선 없음 */
    border-bottom: 1px solid #ccc;
    font-size: 1.1em;
    text-align: left;
}

/* 열 구분 세로선 추가 (마지막 열 제외) */
.styled-table th:not(:last-child),
.styled-table td:not(:last-child) {
    border-right: 1px solid #ccc;
}

/* 헤더 배경 및 글씨 굵게 */
.styled-table thead th {
    background-color: #f0f0f0;
    font-weight: bold;
}

/* 각 행 첫째 열 (구분) 배경 및 글씨 굵게 */
.styled-table tbody td:first-child, .styled-table thead th:first-child{
    background-color: #f0f0f0;
    font-weight: bold;
    text-align: center;
}

.styled-table tbody td:not(:first-child){
    font-weight: 390;
}

/* 2번 메뉴 전용 테이블 */
.menu2-table {
    width: 100%;
    border-collapse: separate;    /* 셀 간격 위해 separate */
    border-spacing: 0 8px;        /* 행 간격: 8px (필요에 따라 조절) */
    font-size: 1.3em;
}

/* 모든 셀 왼쪽에만 검은 실선 */
.menu2-table td {
    border-left: 2px solid #000;
    padding: 8px;
}

/* 2,3열 가운데 정렬 */
.menu2-table td:nth-child(2),
.menu2-table td:nth-child(3) {
    text-align: center;
}

.menu2-table td:last-child{
    font-weight: bold;
    color: red;
}

/* 3번 메뉴 전용 (1번메뉴와 동일한 테이블) */
.menu3-table{
    width: 100%;
    border-collapse: collapse;
    /* 상단 굵은 검은선 */
    border-top: 2px solid #000;
    /* 아래쪽 회색 실선 */
    border-bottom: 2px solid #ccc;
}

/* 모든 셀에 아래쪽만 회색 실선 */
.menu3-table th,
.menu3-table td {
    padding: 8px;
    border-top: none;
    border-left: none;
    border-right: none;
    /* 기본적으로는 오른쪽 선 없음 */
    border-bottom: 1px solid #ccc;
    font-size: 1.1em;
    text-align: center;
}

/* 열 구분 세로선 추가 (마지막 열 제외) */
.menu3-table th:not(:last-child),
.menu3-table td:not(:last-child) {
    border-right: 1px solid #ccc;
}

/* 헤더 배경 및 글씨 굵게 */
.menu3-table thead th {
    background-color: #f0f0f0;
    font-weight: bold;
}

.cancel-text {
    text-align: center;
    font-size: 1.5em;
    margin-top: 50px;
    display: block;
    text-decoration: line-through;
}

.arrow-down {
    text-align: center;
    margin: 20px 0;
}

.arrow-down img {
    width: 3%;
}

/* 4번메뉴 */
#menu4-content {
    background-color: #f0f0f0;
    border-radius: 10px;
    margin-top: 100px;
}
.law-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 10px;
}

.law-content {
    font-size: 1.3em;
    margin-left: 10px;
}