@charset "utf-8";
/* =========================================================
   충남사회서비스원 인권침해신고채널 - 서브 페이지
   (이용안내 / 신고서 작성 / 처리결과 확인 / 자주하는 질문)
   ========================================================= */

/* ---------- Sub Visual ---------- */
.sub-visual {
  position: relative; overflow: hidden; height: 220px; color: #fff;
  background:
    radial-gradient(circle at 85% 30%, rgba(55,189,206,.5) 0, rgba(55,189,206,0) 40%),
    linear-gradient(120deg, #1b5f6a 0%, #237987 60%, #2b98a8 100%);
}
.sub-visual::after {
  content: ""; position: absolute; right: 8%; top: -80px; width: 300px; height: 300px;
  border-radius: 50%; border: 40px solid rgba(255,255,255,.06);
}
.sub-visual .inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; height: 100%; }
.sub-visual .sv-cate { font-size: 16px; font-weight: 500; color: rgba(255,255,255,.8); }
.sub-visual h2 { margin-top: 6px; font-size: 40px; font-weight: 700; letter-spacing: -0.04em; }

/* ---------- Sub Tab (4개 메뉴) ---------- */
.sub-tab { display: none; background: #fff; border-bottom: 1px solid var(--c-line); }
.sub-tab .inner { padding-left: 0; padding-right: 0; }
.sub-tab ul { display: flex; }
.sub-tab li { flex: 1; }
.sub-tab a {
  display: block; height: 64px; line-height: 64px; text-align: center;
  font-size: 17px; font-weight: 500; color: var(--c-text-2); border-left: 1px solid var(--c-line-2);
}
.sub-tab li:last-child a { border-right: 1px solid var(--c-line-2); }
.sub-tab a:hover { color: var(--c-primary); }
.sub-tab a.is-active { background: var(--c-primary); color: #fff; font-weight: 700; border-color: var(--c-primary); }

/* ---------- Content wrap ---------- */
.sub-content { padding: 40px 0 120px; }
.content-head { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 20px; margin-bottom: 40px; border-bottom: 1px solid var(--c-line-2); }
.page-title { display: flex; align-items: center; gap: 10px; font-size: 30px; font-weight: 700; letter-spacing: -0.04em; }
.page-title::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 5px solid var(--c-blue); background: #fff; box-shadow: 0 0 0 2px #cfe0f5;
}

/* location (기존 사이트 브레드크럼 스타일) */
.location { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--c-text-3); }
.location li { display: flex; align-items: center; gap: 8px; }
.location li + li::before { content: ""; width: 5px; height: 5px; border-top: 1px solid #aaa; border-right: 1px solid #aaa; transform: rotate(45deg); }
.location .home { display: inline-block; width: 16px; height: 16px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'%3E%3Cpath d='M12 3 2 12h3v9h6v-6h2v6h6v-9h3z'/%3E%3C/svg%3E"); }
.location li:last-child { color: var(--c-text); font-weight: 500; }

/* ---------- 제목 레벨 ---------- */
.tit-h3 { display: flex; align-items: center; gap: 10px; margin: 50px 0 18px; font-size: 22px; font-weight: 700; color: var(--c-navy); }
.tit-h3:first-child { margin-top: 0; }
.tit-h3::before { content: ""; width: 18px; height: 6px; border-radius: 1px; background: linear-gradient(90deg, var(--c-navy) 0 60%, #9fb8de 60% 100%); }
.tit-h4 { margin: 28px 0 12px; font-size: 18px; font-weight: 700; color: var(--c-text); }
.txt-lead { font-size: 17px; color: var(--c-text-2); line-height: 1.8; }

/* ---------- 목록 ---------- */
.list-dot > li { position: relative; padding-left: 14px; line-height: 1.8; color: var(--c-text-2); }
.list-dot > li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 4px; height: 4px; border-radius: 50%; background: var(--c-primary); }
.list-dot > li + li { margin-top: 4px; }
.list-dot strong { color: var(--c-text); }
.list-hyphen > li { position: relative; padding-left: 12px; font-size: 15px; color: var(--c-text-2); }
.list-hyphen > li::before { content: "-"; position: absolute; left: 0; }
.txt-red { color: var(--c-danger) !important; }
.txt-point { color: var(--c-primary) !important; font-weight: 500; }
.txt-s { font-size: 14px; color: var(--c-text-3); }

/* ---------- Box ---------- */
.box-intro {
  display: flex; align-items: center; gap: 30px; padding: 36px 40px; border-radius: var(--radius-l);
  background: var(--c-bg-soft);
}
.box-intro .ico { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 50%; background: #fff; }
.box-intro .ico svg { width: 48px; height: 48px; stroke: var(--c-primary); }
.box-intro h3 { font-size: 22px; font-weight: 700; color: var(--c-primary); margin-bottom: 6px; }
.box-intro p { color: var(--c-text-2); }

.box-notice { padding: 28px 32px; border: 1px solid #cfe3e6; border-radius: var(--radius-m); background: var(--c-bg-light); }
.box-notice .box-tit { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 18px; font-weight: 700; color: var(--c-primary); }
.box-notice .box-tit::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: 14px; font-weight: 900; }
.box-notice .sub-box { margin-top: 16px; padding: 18px 22px; border-radius: var(--radius-s); background: #fff; }
.box-notice .sub-box strong { display: block; margin-bottom: 6px; font-size: 15px; color: var(--c-danger); }

.box-warn { padding: 22px 26px; border-left: 4px solid var(--c-orange); background: #fff8ef; border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.box-warn > strong { display: block; margin-bottom: 8px; color: #b86a08; }

/* ---------- 이용안내 : 신고 방법 ---------- */
.method-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.method-list li { padding: 30px 22px; border: 1px solid var(--c-line); border-radius: var(--radius-m); text-align: center; transition: .2s; }
.method-list li:hover { border-color: var(--c-primary); box-shadow: var(--shadow); }
.method-list .ico { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--c-bg-soft); }
.method-list .ico svg { width: 30px; height: 30px; stroke: var(--c-primary); }
.method-list strong { display: block; font-size: 18px; font-weight: 700; }
.method-list p { margin-top: 6px; font-size: 15px; color: var(--c-text-2); word-break: break-all; }
.method-list .btn { margin-top: 14px; }

/* ---------- 신고처리절차 ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 18px; }
.process li { position: relative; padding: 28px 18px 24px; border: 1px solid var(--c-line); border-radius: var(--radius-m); text-align: center; background: #fff; }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -25px; width: 32px; border-top: 2px dashed #a9cfd5; }
.process .circle { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: var(--c-bg-soft); border: 2px solid var(--c-primary); color: var(--c-primary); }
.process .circle em { font-style: normal; font-size: 10px; font-weight: 700; }
.process .circle b { font-size: 20px; font-weight: 900; line-height: 1.1; }
.process li:last-child .circle { background: var(--c-primary); color: #fff; }
.process strong { display: block; font-size: 17px; font-weight: 700; }
.process li > span:last-child { display: block; margin-top: 4px; font-size: 14px; color: var(--c-text-2); }

/* ---------- 테이블 (기본) ---------- */
.tbl { border-top: 2px solid #444; }
.tbl th, .tbl td { padding: 16px 20px; border-bottom: 1px solid var(--c-line); font-size: 15px; text-align: left; }
.tbl thead th { background: var(--c-bg-gray); text-align: center; font-weight: 500; color: #424242; }
.tbl tbody th { background: var(--c-bg-gray); font-weight: 500; color: #424242; }
.tbl td.center { text-align: center; }

/* ---------- 신고서 작성 Form ---------- */
.form-required-note { margin-bottom: 10px; text-align: right; font-size: 14px; color: var(--c-text-2); }
.req { color: var(--c-danger); font-weight: 700; margin-left: 2px; }
.tbl-form { border-top: 2px solid var(--c-primary); }
.tbl-form th { width: 200px; padding: 18px 24px; background: var(--c-bg-light); text-align: left; vertical-align: top; padding-top: 28px; font-weight: 500; color: #333; border-bottom: 1px solid var(--c-line); }
.tbl-form td { padding: 16px 24px; border-bottom: 1px solid var(--c-line); }
.tbl-form .help { margin-top: 8px; font-size: 14px; color: var(--c-text-3); }
.tbl-form .help li + li { margin-top: 2px; }
.tbl-form th.form-section { padding: 14px 24px; color: var(--c-primary); font-weight: 700; }
.party-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.party-field { min-width: 0; }
.party-field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 500; }


.inp, .sel, .txtarea {
  width: 100%; height: 48px; padding: 0 16px; border: 1px solid #ccc; border-radius: var(--radius-s);
  background: #fff; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.inp:focus, .sel:focus, .txtarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(35,121,135,.15); }
.inp::placeholder, .txtarea::placeholder { color: #aaa; }
.inp[disabled], .inp[readonly] { background: #f3f3f3; color: #888; }
.inp-w-s { max-width: 220px; }
.inp-w-m { max-width: 420px; }
.sel {
  max-width: 420px; padding-right: 40px; appearance: none; -webkit-appearance: none;
  background: #fff no-repeat right 14px center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.6'/%3E%3C/svg%3E");
}
.txtarea { height: 320px; padding: 16px; line-height: 1.7; resize: vertical; }
.txtarea.txtarea-short { height: 140px; }
.inp-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.inp-group .dash { color: #999; }
.inp-group .inp.tel { width: 110px; }
.inp-group .inp.email { width: 200px; }
.inp-group .sel { width: 200px; }

/* radio / checkbox */
.chk-group { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 12px 0; }
.chk { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk .mark { width: 22px; height: 22px; border: 1px solid #bbb; background: #fff; flex-shrink: 0; transition: .15s; }
.chk input[type="radio"] + .mark { border-radius: 50%; }
.chk input[type="checkbox"] + .mark { border-radius: 4px; }
.chk input:checked + .mark { border-color: var(--c-primary); background: var(--c-primary); box-shadow: inset 0 0 0 4px #fff; }
.chk input[type="checkbox"]:checked + .mark { box-shadow: none; background: var(--c-primary) no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M1.5 6l4 4 9-9' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E"); }
.chk input:focus-visible + .mark { outline: 3px solid var(--c-primary-light); outline-offset: 2px; }

/* 파일 첨부 */
.file-box { display: flex; gap: 8px; }
.file-box .inp { flex: 1; max-width: 520px; }
.file-box .btn-file { position: relative; overflow: hidden; }
.file-box .btn-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-list { margin-top: 10px; }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--radius-s); background: var(--c-bg-gray); font-size: 14px; }
.file-list li + li { margin-top: 6px; }
.file-list .btn-del { margin-left: auto; color: var(--c-text-3); font-size: 18px; line-height: 1; }

/* 자동입력 방지 */
.captcha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha .captcha-img {
  display: flex; align-items: center; justify-content: center; width: 180px; height: 52px;
  border: 1px solid var(--c-line); border-radius: var(--radius-s);
  background: repeating-linear-gradient(-30deg, #f2f6f7 0 6px, #e7eef0 6px 12px);
  font-size: 26px; font-weight: 900; letter-spacing: 8px; color: #4b6a70; font-style: italic; user-select: none;
}
.captcha .btn-refresh, .captcha .btn-sound { width: 52px; min-width: 0; height: 52px; padding: 0; }
.captcha .btn-refresh svg, .captcha .btn-sound svg { width: 20px; height: 20px; stroke: var(--c-text-2); }
.captcha .inp { width: 200px; }

/* 개인정보 동의 */
.agree-box { margin-top: 50px; }
.agree-scroll { max-height: 220px; overflow-y: auto; padding: 24px 28px; border: 1px solid var(--c-line); border-radius: var(--radius-s); background: #fafafa; font-size: 14px; color: var(--c-text-2); line-height: 1.8; }
.agree-scroll .tbl { margin: 10px 0; background: #fff; }
.agree-scroll .tbl th, .agree-scroll .tbl td { padding: 10px 14px; font-size: 14px; }
.agree-check { display: flex; justify-content: flex-end; align-items: center; gap: 24px; margin-top: 14px; padding: 16px 20px; border-radius: var(--radius-s); background: var(--c-bg-light); }
.agree-check p { margin-right: auto; font-weight: 500; }

/* ---------- 처리결과 확인 ---------- */
.confirm-wrap { max-width: 640px; margin: 0 auto; }
.confirm-box { padding: 50px 56px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.confirm-box .confirm-head { text-align: center; margin-bottom: 34px; }
.confirm-box .confirm-head .ico { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; margin: 0 auto 16px; border-radius: 50%; background: var(--c-bg-soft); }
.confirm-box .confirm-head .ico svg { width: 38px; height: 38px; stroke: var(--c-primary); }
.confirm-box .confirm-head h3 { font-size: 24px; font-weight: 700; }
.confirm-box .confirm-head p { margin-top: 6px; color: var(--c-text-2); font-size: 15px; }
.form-row + .form-row { margin-top: 20px; }
.form-row label.lbl { display: block; margin-bottom: 8px; font-weight: 500; }
.form-row .inp { height: 54px; font-size: 16px; }
.confirm-box .captcha .inp { flex: 1; width: auto; min-width: 140px; }
.confirm-box .btn-area .btn { width: 100%; }
.confirm-guide { margin-top: 30px; }

/* 처리결과 (조회 후) */
.result-wrap { display: none; margin-top: 60px; }
.result-wrap.is-show { display: block; }
.status-bar { display: flex; justify-content: space-between; margin: 10px 0 30px; padding: 30px 20px; border-radius: var(--radius-m); background: var(--c-bg-light); counter-reset: st; }
.status-bar li { position: relative; flex: 1; text-align: center; font-size: 15px; color: var(--c-text-3); }
.status-bar li::before {
  counter-increment: st; content: counter(st);
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 auto 10px;
  border-radius: 50%; background: #d5dfe1; color: #fff; font-weight: 700; position: relative; z-index: 1;
}
.status-bar li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 50%; width: 100%; height: 3px; background: #d5dfe1; }
.status-bar li.is-done { color: var(--c-primary); }
.status-bar li.is-done::before, .status-bar li.is-done::after { background: var(--c-primary-light); }
.status-bar li.is-current { color: var(--c-primary); font-weight: 700; }
.status-bar li.is-current::before { background: var(--c-primary); box-shadow: 0 0 0 6px rgba(35,121,135,.2); }
.badge { display: inline-block; padding: 3px 12px; border-radius: 14px; font-size: 13px; font-weight: 700; }
.badge-ing { background: #e2f4f6; color: var(--c-primary); }
.badge-done { background: #eaf6dd; color: #4f8a1a; }
.answer-box { margin-top: 30px; padding: 28px 30px; border-radius: var(--radius-m); border: 1px solid #cfe3e6; background: #fbfefe; }
.answer-box h4 { margin-bottom: 12px; font-size: 18px; color: var(--c-primary); }
.answer-box .date { margin-top: 14px; font-size: 14px; color: var(--c-text-3); }

/* ---------- FAQ ---------- */
.faq-search { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; padding: 30px; border-radius: var(--radius-m); background: var(--c-bg-soft); }
.faq-search .inp { max-width: 480px; height: 52px; border-radius: 26px; padding: 0 24px; border-color: transparent; }
.faq-search .btn { height: 52px; border-radius: 26px; }
.faq-count { margin-bottom: 12px; font-size: 15px; }
.faq-count b { color: var(--c-primary); }
.faq-list { border-top: 2px solid #444; }
.faq-list > li { border-bottom: 1px solid var(--c-line); }
.faq-q {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 24px 60px 24px 24px;
  text-align: left; font-size: 17px; font-weight: 500; position: relative; transition: background .2s;
}
.faq-q:hover { background: var(--c-bg-light); }
.faq-q::after {
  content: ""; position: absolute; right: 28px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid #777; border-bottom: 2px solid #777; transform: rotate(45deg); transition: transform .25s;
}
.faq-q[aria-expanded="true"] { color: var(--c-primary); font-weight: 700; }
.faq-q[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--c-primary); }
.faq-q .mark, .faq-a .mark {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; font-size: 17px; font-weight: 900;
}
.faq-q .mark { background: var(--c-primary); color: #fff; }
.faq-a { display: none; gap: 16px; padding: 24px 60px 28px 24px; background: var(--c-bg-light); border-top: 1px solid var(--c-line-2); }
.faq-a.is-open { display: flex; }
.faq-a .mark { background: var(--c-orange); color: #fff; }
.faq-a .answer { padding-top: 5px; color: var(--c-text-2); line-height: 1.85; font-size: 15px; }
.faq-a .answer p + p, .faq-a .answer p + ul, .faq-a .answer ul + p { margin-top: 8px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .sub-visual { height: 170px; }
  .sub-visual h2 { font-size: 30px; }
  .content-head { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
  .method-list { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li::after { display: none; }
  .tbl-form th { width: 150px; padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 640px) {
  .sub-visual { height: 130px; }
  .sub-visual .sv-cate { font-size: 13px; }
  .sub-visual h2 { font-size: 24px; }
  .sub-tab { display: block; }
  .sub-tab ul { flex-wrap: wrap; }
  .sub-tab li { flex: 0 0 50%; }
  .sub-tab a { height: 48px; line-height: 48px; font-size: 15px; border-bottom: 1px solid var(--c-line-2); }
  .sub-content { padding: 24px 0 80px; }
  .content-head { margin-bottom: 26px; }
  .page-title { font-size: 23px; }
  .location { font-size: 12px; }
  .tit-h3 { margin-top: 40px; font-size: 19px; }
  .box-intro { flex-direction: column; text-align: center; padding: 28px 22px; gap: 16px; }
  .box-notice { padding: 22px 18px; }
  .method-list { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 30px; }

  /* 폼 테이블 → 세로 스택 */
  .tbl-form, .tbl-form tbody, .tbl-form tr, .tbl-form th, .tbl-form td { display: block; width: 100%; }
  .tbl-form th { padding: 16px 4px 6px; background: none; border: 0; }
  .tbl-form td { padding: 0 4px 16px; }
  .tbl-form th.form-section { padding: 14px 12px; margin-bottom: 8px; background: var(--c-bg-light); }
  .party-fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .inp-group .inp.tel { width: calc((100% - 40px) / 3); }
  .inp-group .inp.email, .inp-group .sel { width: 100%; }
  .file-box { flex-direction: column; }
  .agree-check { flex-wrap: wrap; justify-content: flex-start; }
  .agree-check p { width: 100%; }

  .confirm-box { padding: 30px 20px; border-radius: var(--radius-m); }
  .status-bar { padding: 20px 6px; }
  .status-bar li { font-size: 12px; }
  .status-bar li::before { width: 30px; height: 30px; }
  .status-bar li:not(:last-child)::after { top: 15px; }
  .tbl th, .tbl td { padding: 12px 10px; font-size: 14px; }

  .faq-search { flex-direction: column; padding: 20px; }
  .faq-search .inp { max-width: none; }
  .faq-q { padding: 18px 46px 18px 8px; font-size: 15px; gap: 10px; }
  .faq-q::after { right: 16px; }
  .faq-q .mark, .faq-a .mark { width: 30px; height: 30px; font-size: 14px; }
  .faq-a { padding: 18px 16px 20px 8px; gap: 10px; }
}
