
:root {
  --navy: #123c69;
  --blue: #2f74b5;
  --blue-dark: #225d96;
  --blue-soft: #eaf3fb;
  --sky: #f4f8fc;
  --ink: #17212b;
  --muted: #647180;
  --line: #dbe4ec;
  --white: #ffffff;
  --shadow: 0 14px 38px rgba(18, 60, 105, 0.10);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.65;
  word-break: keep-all;
}
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.utility {
  background: var(--navy);
  color: rgba(255,255,255,.88);
  font-size: 13px;
}
.utility .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.utility-actions { display: flex; gap: 18px; }
.utility button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 290px;
}
.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 3px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.04em;
}
.brand span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  padding: 12px 13px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  color: #29394a;
}
.nav a:hover, .nav a.active {
  color: var(--blue-dark);
  background: var(--blue-soft);
}
.header-login {
  margin-left: 8px;
  padding: 11px 17px;
  border-radius: 10px;
  border: 1px solid var(--blue);
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 14px;
}
.menu-button {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.93) 55%, rgba(234,243,251,.78) 100%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(47,116,181,.06) 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(47,116,181,.06) 40px);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .03em;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--blue);
}
.hero h1 {
  margin: 20px 0 20px;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.065em;
}
.hero h1 em {
  color: var(--blue);
  font-style: normal;
}
.hero p {
  max-width: 650px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--navy); }
.hero-logo-panel {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}
.hero-logo-panel::before,
.hero-logo-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(47,116,181,.18);
}
.hero-logo-panel::before { width: 420px; height: 420px; }
.hero-logo-panel::after { width: 330px; height: 330px; }
.hero-logo {
  width: min(330px, 76%);
  position: relative;
  z-index: 2;
  border-radius: 50%;
  filter: drop-shadow(0 18px 22px rgba(18,60,105,.13));
}
.hero-note {
  position: absolute;
  right: 0;
  bottom: 28px;
  z-index: 3;
  padding: 15px 18px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--muted);
}
.hero-note strong { display:block; color:var(--navy); font-size:15px; }

.quick-wrap { margin-top: -42px; position: relative; z-index: 4; }
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quick-item {
  padding: 25px 24px;
  border-right: 1px solid var(--line);
}
.quick-item:last-child { border-right: 0; }
.quick-num { color: var(--blue); font-weight: 900; font-size: 13px; }
.quick-item strong { display:block; margin-top:9px; font-size:18px; }
.quick-item span { display:block; margin-top:5px; color:var(--muted); font-size:13px; }

.section { padding: 92px 0; }
.section.alt { background: var(--sky); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}
.section-head h2 {
  margin: 7px 0 0;
  font-size: 34px;
  letter-spacing: -0.045em;
}
.section-head p { margin: 0; color: var(--muted); }
.more-link { color: var(--blue-dark); font-weight: 800; font-size:14px; }

.notice-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 26px;
}
.notice-list, .schedule-card, .policy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.notice-row {
  width: 100%;
  display: grid;
  grid-template-columns: 86px 1fr 110px;
  gap: 16px;
  align-items: center;
  padding: 21px 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.notice-row:last-child { border-bottom: 0; }
.notice-row:hover { background: #f8fbfe; }
.badge {
  display: inline-flex;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}
.notice-row strong { font-size: 16px; }
.notice-row time { color: var(--muted); font-size: 13px; text-align:right; }

.schedule-card { padding: 26px; }
.schedule-date {
  display: inline-block;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}
.schedule-card h3 { margin: 8px 0 8px; font-size: 24px; }
.schedule-card p { margin: 0; color: var(--muted); }
.schedule-meta {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.schedule-meta div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
}
.schedule-meta span { color: var(--muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.content-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-visual {
  aspect-ratio: 16/10;
  position: relative;
  display: flex;
  align-items: end;
  padding: 24px;
  color: #fff;
  overflow: hidden;
}
.card-visual::before {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 43px, rgba(255,255,255,.08) 44px);
}
.card-visual.blue { background: #2f74b5; }
.card-visual.navy { background: #123c69; }
.card-visual.teal { background: #2b6f79; }
.card-visual .card-mark {
  position:absolute;
  right:20px;
  top:18px;
  font-size:64px;
  line-height:1;
  font-weight:900;
  opacity:.14;
}
.card-visual strong { position:relative; z-index:1; font-size:23px; letter-spacing:-.03em; }
.card-body { padding: 20px 22px 22px; }
.card-body p { margin: 0 0 16px; color: var(--muted); font-size:14px; }
.card-body button {
  border:0; background:transparent; padding:0;
  color:var(--blue-dark); font-weight:800; cursor:pointer;
}

.policy-layout { display:grid; grid-template-columns: 1fr 1fr; gap:24px; }
.policy-card { padding: 28px; }
.policy-card h3 { margin:0 0 18px; font-size:22px; }
.policy-link {
  width:100%;
  display:grid;
  grid-template-columns: 1fr auto;
  gap:20px;
  padding:17px 0;
  border:0;
  border-top:1px solid var(--line);
  background:#fff;
  text-align:left;
  cursor:pointer;
}
.policy-link:first-of-type { border-top:0; }
.policy-link span { color:var(--muted); font-size:13px; }

.page-hero {
  padding: 70px 0 48px;
  background: var(--sky);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin: 8px 0 10px; font-size: 42px; letter-spacing:-.05em; }
.page-hero p { margin:0; color:var(--muted); }

.page-content { padding: 60px 0 100px; }
.list-toolbar {
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  margin-bottom:20px;
}
.list-toolbar strong { font-size:18px; }
.readonly-note { color:var(--muted); font-size:13px; }
.board {
  border-top: 2px solid var(--navy);
}
.board-row {
  display:grid;
  grid-template-columns: 70px 110px 1fr 120px;
  gap:18px;
  align-items:center;
  width:100%;
  padding:19px 14px;
  border:0;
  border-bottom:1px solid var(--line);
  background:#fff;
  text-align:left;
  cursor:pointer;
}
.board-row:hover { background:#f8fbfe; }
.board-row .num, .board-row time { color:var(--muted); font-size:13px; }
.board-row strong { font-size:15px; }

.calendar {
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.calendar-head, .calendar-row {
  display:grid;
  grid-template-columns: 150px 1fr 150px;
}
.calendar-head {
  background:var(--navy); color:#fff; font-weight:800;
}
.calendar-head div, .calendar-row div { padding:16px 18px; }
.calendar-row { border-top:1px solid var(--line); background:#fff; }
.calendar-row:nth-child(odd) { background:#fbfdff; }

.about-grid { display:grid; grid-template-columns: .8fr 1.2fr; gap:50px; align-items:start; }
.about-logo-panel {
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:35px;
  background:var(--sky);
}
.about-copy h2 { margin:0 0 18px; font-size:32px; }
.about-copy p { color:var(--muted); }
.values { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:32px; }
.value { padding:20px; border:1px solid var(--line); border-radius:14px; }
.value strong { display:block; color:var(--blue-dark); margin-bottom:5px; }

.login-box {
  width:min(640px,100%);
  margin:0 auto;
  padding:36px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  background:#fff;
}
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { display:grid; gap:7px; }
.field.full { grid-column:1/-1; }
.field label { font-weight:800; font-size:14px; }
.field input, .field select {
  width:100%;
  min-height:46px;
  padding:0 13px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
}
.form-note {
  margin:20px 0;
  padding:15px;
  background:var(--sky);
  border-radius:10px;
  color:var(--muted);
  font-size:13px;
}

.site-footer {
  padding: 42px 0;
  background: #102f50;
  color: rgba(255,255,255,.76);
}
.footer-grid {
  display:grid;
  grid-template-columns:1fr auto;
  gap:30px;
  align-items:center;
}
.footer-brand { display:flex; align-items:center; gap:14px; }
.footer-brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  padding: 4px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  filter: none;
  opacity: 1;
  flex: 0 0 auto;
}
.footer-brand strong { color:#fff; display:block; }
.footer-brand span { font-size:13px; }
.footer-copy { text-align:right; font-size:12px; }

.modal {
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(8,24,40,.58);
}
.modal.open { display:flex; }
.modal-panel {
  width:min(620px,100%);
  max-height:86vh;
  overflow:auto;
  background:#fff;
  border-radius:18px;
  box-shadow:0 24px 70px rgba(0,0,0,.25);
}
.modal-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 24px;
  border-bottom:1px solid var(--line);
}
.modal-head h2 { margin:0; font-size:21px; }
.modal-close {
  width:38px; height:38px; border:1px solid var(--line); border-radius:10px;
  background:#fff; cursor:pointer; font-size:21px;
}
.modal-body { padding:24px; color:#435160; }
.modal-body p:first-child { margin-top:0; }
.modal-foot {
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  padding:18px 24px; border-top:1px solid var(--line);
}
.checkbox { display:flex; align-items:center; gap:8px; font-size:13px; color:var(--muted); }

.toast {
  position:fixed; left:50%; bottom:28px; z-index:120;
  transform:translate(-50%,20px);
  opacity:0; pointer-events:none;
  padding:13px 18px;
  background:#15293f; color:#fff; border-radius:10px;
  transition:.25s ease;
  font-size:14px;
}
.toast.show { opacity:1; transform:translate(-50%,0); }

@media (max-width: 980px) {
  .header-inner { min-height:72px; }
  .brand { min-width:0; }
  .brand img { width:48px; height:48px; }
  .brand span { display:none; }
  .menu-button { display:block; }
  .nav {
    display:none;
    position:absolute;
    top:72px; left:0; right:0;
    padding:12px 20px 20px;
    background:#fff; border-bottom:1px solid var(--line);
    flex-direction:column; align-items:stretch;
  }
  .nav.open { display:flex; }
  .header-login { margin:0; text-align:center; }
  .hero { min-height:auto; padding:80px 0 100px; }
  .hero-grid, .notice-layout, .policy-layout, .about-grid { grid-template-columns:1fr; }
  .hero-logo-panel { min-height:360px; }
  .quick-grid { grid-template-columns:1fr 1fr; }
  .quick-item:nth-child(2) { border-right:0; }
  .quick-item:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .card-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 680px) {
  .container { width:min(100% - 28px, var(--max)); }
  .utility .container { min-height:34px; }
  .utility .container > span { font-size:11px; }
  .utility-actions { gap:12px; }
  .hero h1 { font-size:42px; }
  .hero p { font-size:16px; }
  .hero-logo-panel { min-height:300px; }
  .hero-note { right:4px; bottom:0; }
  .hero-logo-panel::before { width:290px; height:290px; }
  .hero-logo-panel::after { width:230px; height:230px; }
  .quick-grid, .card-grid, .values, .form-grid { grid-template-columns:1fr; }
  .quick-item { border-right:0; border-bottom:1px solid var(--line); }
  .quick-item:last-child { border-bottom:0; }
  .section { padding:68px 0; }
  .section-head { align-items:start; flex-direction:column; }
  .notice-row { grid-template-columns:78px 1fr; }
  .notice-row time { grid-column:2; text-align:left; }
  .board-row { grid-template-columns:48px 88px 1fr; }
  .board-row time { display:none; }
  .calendar-head, .calendar-row { grid-template-columns:100px 1fr; }
  .calendar-head div:last-child, .calendar-row div:last-child { display:none; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-copy { text-align:left; }
  .modal-foot { align-items:flex-start; flex-direction:column; }
}
