:root {
  --primary: #0d4f8b;
  --primary-dark: #08345c;
  --accent: #0f8a62;
  --bg: #f3f6f8;
  --surface: #fff;
  --text: #1a2b3c;
  --muted: #5c6b7a;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(8, 40, 70, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: #fff;
}
.skip-link:focus { left: 0; }

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.logo {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.logo:hover { text-decoration: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
header.is-nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.is-nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
header.is-nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.85rem;
}
nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
nav a:hover { color: var(--primary); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 1rem 1rem;
  }
  header.is-nav-open nav { display: block; }
  nav ul { flex-direction: column; align-items: stretch; }
  nav li + li { border-top: 1px solid var(--border); }
  nav a { display: block; padding: 0.9rem 0.25rem; }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 3.5rem 0; }
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.section-lead {
  color: var(--muted);
  margin-bottom: 1.6rem;
  max-width: 760px;
}

.hero {
  background: linear-gradient(135deg, #08345c 0%, #0d4f8b 52%, #0f8a62 140%);
  color: #fff;
  padding: 3rem 0 2.4rem;
}
.hero-grid {
  display: grid;
  gap: 1.25rem 2rem;
  align-items: start;
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; }
  .hero-form { grid-column: 1 / -1; }
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.3;
  margin-bottom: 0.85rem;
  letter-spacing: -0.04em;
}
.hero .lead {
  font-size: 1.05rem;
  opacity: 0.96;
  margin-bottom: 1rem;
}
.hero-note {
  font-size: 0.88rem;
  opacity: 0.9;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}
.hero-card h2 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.hero-card ul { list-style: none; }
.hero-card li { padding: 0.28rem 0 0.28rem 1.2rem; position: relative; }
.hero-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #9cf0d2;
  font-weight: 800;
}

.form_area {
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  padding: 1.35rem 1.35rem 1.15rem;
  box-shadow: 0 16px 38px rgba(0, 30, 60, 0.22);
}
.form_kicker {
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.form_intro h2 {
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}
.form_intro p, .form_note {
  color: var(--muted);
  font-size: 0.92rem;
}
.form_intro { margin-bottom: 1rem; }
.form_area form { display: block; }
.form_area ul { list-style: none; display: grid; gap: 0.65rem; margin-bottom: 0.75rem; }
.name_wrap, .birth_wrap, .tel_wrap { display: flex; gap: 0.5rem; }
.form_area input[type="text"],
.form_area input[type="tel"] {
  width: 100%;
  height: 50px;
  border: 1px solid #d6e3ec;
  border-radius: 10px;
  background: #f8fbfd;
  padding: 0 0.9rem;
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
}
.form_area input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.12);
}
.sex_cover { display: flex; gap: 0.4rem; flex-shrink: 0; }
.sex_box input { position: absolute; opacity: 0; pointer-events: none; }
.sex_box label {
  display: grid;
  place-items: center;
  width: 52px;
  height: 50px;
  border: 1px solid #d6e3ec;
  border-radius: 10px;
  background: #f8fbfd;
  color: #6b7785;
  font-weight: 800;
  cursor: pointer;
}
.sex_box input:checked + label {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.privacy_wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.privacy_wrap input { width: 18px; height: 18px; accent-color: var(--primary); }
.privacy1 {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
}
.btn_submit {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #127a9a 55%, var(--accent) 130%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  cursor: pointer;
}
.btn_submit:hover { filter: brightness(1.05); }
.form_note { margin-top: 0.7rem; }

.card-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.3rem;
  box-shadow: var(--shadow);
}
.card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  background: #e7f2fb;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  margin-bottom: 0.55rem;
}
.card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
table.sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  word-break: keep-all;
}
table.sheet th,
table.sheet td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.6;
  word-break: keep-all;
}
table.sheet th {
  background: #e7f1f8;
  color: var(--primary-dark);
  font-weight: 800;
  white-space: nowrap;
}
table.sheet tr:last-child td { border-bottom: 0; }
table.sheet td.is-status { white-space: nowrap; width: 6.5rem; }

@media (max-width: 760px) {
  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  table.sheet,
  table.sheet tbody,
  table.sheet tr,
  table.sheet td { display: block; width: 100%; }
  table.sheet thead { display: none; }
  table.sheet tr {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    padding: 0.9rem 1rem 0.75rem;
  }
  table.sheet td {
    border: 0;
    padding: 0.35rem 0;
    white-space: normal;
  }
  table.sheet td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.12rem;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
  }
  table.sheet td:first-child {
    padding-top: 0;
    padding-bottom: 0.45rem;
    font-size: 1.05rem;
  }
  table.sheet td:first-child::before { display: none; }
}
.note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.steps { list-style: none; display: grid; gap: 0.75rem; }
.steps li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.steps strong { display: block; margin-bottom: 0.2rem; }
.steps span { color: var(--muted); }

.banner-section {
  background: linear-gradient(180deg, #f3f6f8 0%, #e7eef3 100%);
}
.banner-grid { display: grid; gap: 1rem; }
@media (min-width: 900px) {
  .banner-grid { grid-template-columns: repeat(3, 1fr); }
}
.banner-link {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  padding: 1.35rem 1.25rem 1.2rem;
  box-shadow: var(--shadow);
}
.banner-link:hover { text-decoration: none; transform: translateY(-3px); }
.banner-a { background: linear-gradient(145deg, #0b6b4a, #14956a); }
.banner-b { background: linear-gradient(145deg, #0c5f8a, #1a8fbf); }
.banner-c { background: linear-gradient(145deg, #1d3f73, #315ea3); }
.banner-badge { font-size: 0.75rem; font-weight: 800; opacity: 0.92; margin-bottom: 0.45rem; }
.banner-title { font-size: 1.12rem; font-weight: 800; line-height: 1.4; margin-bottom: 0.45rem; }
.banner-desc { font-size: 0.9rem; opacity: 0.94; flex: 1; }
.banner-cta {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  width: fit-content;
}

.faq-list { list-style: none; display: grid; gap: 0.7rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  padding: 1rem 1.1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  color: var(--text);
}
.faq-a { display: none; padding: 0 1.1rem 1rem; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

.page-foot {
  background: #12202c;
  color: #c9d4de;
  padding: 1.6rem 0 2rem;
  font-size: 0.88rem;
}
.page-foot a { color: #d5e8ff; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.8rem; }
.crumbs a { color: var(--muted); font-weight: 700; }

body.notScroll { overflow: hidden; }
