@charset "utf-8";

/* =========================================
   내용관리 기본
========================================= */
#container {
    padding-top: 0;
}
#ctt {
    background: #fff;
}
.ctt_admin {
    text-align: right;
}
#ctt header h1 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}
#ctt_con {
    margin: 80px auto;
    padding: 0 10px;
    max-width: 1440px;
    width: 100%;
}
#ctt_con img {
    max-width: 100%;
    height: auto;
}
.ctt_img {
    text-align: center;
}

/* =========================================
   섹션 타이틀 (sc-header)
========================================= */
.sc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.sc-header-icon {
    width: 30px;
    height: 30px;
    background: #1346d4;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sc-header-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}
.sc-header-icon i {
    color: #fff;
    font-size: 14px;
}
.sc-header b {
    font-size: 20px;
    font-weight: 700;
    color: #1a2f5e;
    letter-spacing: -0.02em;
}

/* =========================================
   섹션 소타이틀 (civil-section-title)
========================================= */
.civil-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin: 0 0 14px;
    padding-left: 10px;
    border-left: 3px solid #1346d4;
}

/* =========================================
   처리절차
========================================= */
.proc-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 32px;
}
.proc-wrap .img {
    padding:30px;
    background:#fff;
    border-radius:20px;
    box-shadow:0 0 30px 0px rgba(0,0,0,0.05);
    margin-bottom:20px;
    display:flex;
    justify-content: center;
    align-items: center;
}
.proc-wrap .img img {
    max-width:800px;
}
.proc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    border: 1px solid #ccd4e0;
    border-radius: 4px;
    padding: 20px 10px;
    text-align: center;
    background: #fff;
    box-sizing: border-box;
}
.proc-step .proc-icon {
    font-size: 28px;
    color: #1346d4;
    margin-bottom: 10px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.proc-step .proc-icon i {
    font-size: 20px;
    width: 50px;
    height: 50px;
    background: #efefef;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.proc-step .proc-label {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
}
.proc-step .proc-label strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1a2f5e;
    margin-bottom: 2px;
}
.proc-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    color: #1346d4;
    font-size: 20px;
}

/* =========================================
   민원 테이블 공통
========================================= */
.civil-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 40px;
}
.civil-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #333;
    table-layout: fixed;
}
.civil-table thead th {
    background: #1346d4;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 14px 10px;
    text-align: center;
    border: 1px solid #2260a0;
    letter-spacing: 0.03em;
}
.civil-table tbody td {
    padding: 16px;
    text-align: center;
    border: 1px solid #dde3ec;
    line-height: 1.9;
    vertical-align: middle;
}
.civil-table tbody td.civil-cat {
    background: #fafbfd;
    font-weight: 600;
    color: #1346d4;
    padding: 16px 10px;
}
.civil-table tbody td.civil-fee {
    background: #f4f7fc;
    font-weight: 700;
    font-size: 15px;
    color: #1346d4;
    padding: 16px 10px;
}
.civil-table .civil-note {
    color: #555;
    font-size: 13px;
}

/* 인터넷민원: 구분/민원사무명/수수료 */
.civil-table.col-3-16-62-22 colgroup col:nth-child(1) { width: 16%; }
.civil-table.col-3-16-62-22 colgroup col:nth-child(2) { width: 62%; }
.civil-table.col-3-16-62-22 colgroup col:nth-child(3) { width: 22%; }

/* 무인민원: 구분/증명서종류/대상 */
.civil-table.col-3-16-50-34 colgroup col:nth-child(1) { width: 16%; }
.civil-table.col-3-16-50-34 colgroup col:nth-child(2) { width: 50%; }
.civil-table.col-3-16-50-34 colgroup col:nth-child(3) { width: 34%; }

/* =========================================
   정부24 링크
========================================= */
.gov-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 32px;
}
.gov-link img {
    height: 32px;
    vertical-align: middle;
}
.gov-link-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.gov-link-wrap img {
    height: 28px;
    vertical-align: middle;
}
.gov-link-btn {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #aaa;
    border-radius: 3px;
    font-size: 13px;
    color: #444;
    background: #f9f9f9;
    text-decoration: none;
    vertical-align: middle;
}

/* =========================================
   반응형
========================================= */
@media (max-width: 700px) {
    /* 처리절차: 세로 배치 */
    .proc-wrap {
        flex-direction: column;
        align-items: center;
    }
    .proc-step {
        width: 100%;
        padding: 16px 12px;
    }
    .proc-step .proc-icon i {
        font-size: 18px;
    }
    .proc-step .proc-label,
    .proc-step .proc-label strong{
        font-size: 14px;
    }
    .proc-arrow {
        width: 100%;
        justify-content: center;
        padding: 2px 0;
        font-size: 18px;
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    /* 처리절차: 완전 세로 배치 */
    .proc-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .proc-step {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        padding: 12px 16px;
        text-align: left;
    }
    .proc-step .proc-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .proc-arrow {
        transform: rotate(90deg);
        width: 100%;
        justify-content: center;
        padding: 4px 0;
        font-size: 18px;
    }
    .civil-table tbody td,
    .civil-table tbody td.civil-fee{
        font-size:14px;
    }
}


/* 설명 문단 */
.civil-desc {
    font-size: 14px;
    color: #444;
    line-height: 1.9;
    margin: 0 0 32px;
}
 
/* 이용시간 등 단순 강조 텍스트 */
.civil-info-text {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin: 0 0 32px;
    padding-left: 4px;
}
 
/* 위임장 버튼 영역 */
.civil-btn-wrap {
    margin: 12px 0 40px;
}
.civil-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border: 1px solid #1346d4;
    border-radius: 3px;
    font-size: 13px;
    color: #1346d4 !important;
    background: #fff;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.civil-btn-outline:hover {
    background: #1346d4;
    color: #fff !important;
}
 
/* 2컬럼 테이블 col 비율 */
.civil-table.col-2-30-70 colgroup col:nth-child(1) { width: 20%; }
.civil-table.col-2-30-70 colgroup col:nth-child(2) { width: 80%; }
 
/* 팩스 처리절차 — 교부기관 박스 강조 */
.proc-step.proc-step-em {
    border-color: #1346d4;
    background: #f0f4ff;
}
 
/* 발급기관 분기 화살표 영역 */
.proc-branch {
    display: flex;
    align-items: center;
    margin: 0 0 24px;
    padding-left: calc((100% - 32px * 4) / 5 * 2 + 32px * 2);
}
.proc-branch-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 32px;
    flex-shrink: 0;
    color: #1346d4;
    font-size: 16px;
    gap: 2px;
    padding: 4px 0;
}
.proc-step.proc-step-sub {
    flex: none;
    width: calc((100% - 32px * 4) / 5);
    min-width: 100px;
}
 
@media (max-width: 700px) {
    .proc-branch {
        padding-left: 0;
        justify-content: center;
    }
    .proc-step.proc-step-sub {
        width: 100%;
    }
}
 