/* 홈 밖의 페이지(개인정보 처리방침, 404, 문의 목록). 홈 시안(site.css)과 같은 브랜드 모양 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Noto Sans KR", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

.sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px;
}

.sub-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.sub-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 13px;
  background: #0b0b0b;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.sub-button.large {
  height: 54px;
  padding: 0 28px;
  border-radius: 16px;
  font-size: 15px;
}

.sub-main {
  max-width: 800px;
  min-height: 55vh;
  margin: 0 auto;
  padding: 56px 24px 110px;
}

.sub-kicker {
  margin: 0 0 12px;
  color: #1767ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.prose h1,
.sub-center h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.prose h2 {
  margin: 38px 0 10px;
  font-size: 19px;
  font-weight: 800;
}

.prose p,
.prose li {
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.85;
}

.prose > p:first-of-type {
  margin-top: 22px;
}

.prose ul {
  margin: 0;
  padding-left: 20px;
}

.prose a {
  color: #1767ff;
  text-decoration: underline;
}

.sub-center {
  padding-top: 40px;
  text-align: center;
}

.sub-center p {
  margin: 14px 0 30px;
  color: #666;
}

.sub-footer {
  padding: 48px max(24px, calc((100% - 1152px) / 2)) 56px;
  background: #0b0b0b;
  color: #838388;
  font-size: 12px;
}

.sub-footer .sub-brand {
  color: #fff;
  font-size: 24px;
}

.sub-biz,
.sub-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 18px 0 0;
  line-height: 1.7;
}

.sub-copy b {
  color: #cfcfd4;
}

.sub-biz a {
  color: #cfcfd4;
}

/* 문의 목록 */
.sub-main:has(.admin) {
  max-width: 1400px;
}

.admin-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-head h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.admin-count {
  margin-right: auto;
  color: #8a8a90;
  font-weight: 700;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #e6e6ec;
  border-radius: 16px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #ededf2;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #f6f7fa;
  color: #555;
  font-weight: 700;
  white-space: nowrap;
}

.admin-table .nowrap {
  white-space: nowrap;
}

.admin-detail {
  min-width: 280px;
  color: #555;
  white-space: pre-wrap;
}

.admin-type {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f2f6;
  font-size: 12px;
  font-weight: 700;
}

.admin-type-diagnosis {
  background: #eaf1ff;
  color: #1767ff;
}

.admin-empty {
  padding: 40px 0;
  color: #8a8a90;
}

@media (max-width: 580px) {
  .sub-brand {
    font-size: 22px;
  }

  .sub-main {
    padding: 36px 18px 80px;
  }
}
