:root {
  --brand: #7c3640;
  --brand-dark: #4f1f26;
  --accent: #d1723c;
  --ink: #212121;
  --muted: #888888;
  --line: rgba(136, 136, 136, 0.22);
  --bg: #ffffff;
  --paper: #f7f5f3;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.skip-link {
  position: absolute; left: -999px; top: 0;
}
.skip-link:focus { left: 12px; z-index: 50; background: #fff; padding: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner, .nav-inner, .footer-inner, .page, .hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.logo img { display: block; height: 42px; width: auto; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: 8px 12px; font: inherit; cursor: pointer;
}
.site-nav ul {
  display: flex; gap: 22px; list-style: none; margin: 0; padding: 0;
  align-items: center;
}
.site-nav a {
  color: var(--ink); font-weight: 600; letter-spacing: 0.02em;
}
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--brand); text-decoration: none; }

.hero {
  background: var(--brand-dark) center/cover no-repeat;
  color: #fff; min-height: 62vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(40, 16, 20, 0.35);
}
.hero-inner { position: relative; z-index: 1; padding: 72px 0; }
.hero-mark { width: min(520px, 88vw); margin: 0 auto 18px; display: block; }
.hero h1 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 8px; }
.hero p { margin: 0; opacity: 0.92; }

.page { padding: 48px 0 72px; }
.page-banner {
  background: var(--brand-dark) center/cover no-repeat;
  color: #fff; min-height: 220px;
  display: flex; align-items: center;
  position: relative;
}
.page-banner::after {
  content: ""; position: absolute; inset: 0; background: rgba(40,16,20,.45);
}
.page-banner .header-inner { position: relative; z-index: 1; padding: 48px 0; }
.page-banner p { margin: 0; letter-spacing: 0.08em; }
.page-banner h1 { margin: 6px 0 0; font-size: clamp(28px, 4vw, 40px); }

.prose p { margin: 0 0 12px; }
.section-title {
  color: var(--brand); font-size: 26px; margin: 36px 0 12px;
}
.lead { font-size: 18px; }
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px;
}
.card {
  background: var(--paper); border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line);
}
.card img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 16px; text-align: center; }
.card-body h3 { margin: 0 0 8px; font-size: 20px; }
.list-plain { padding-left: 1.2em; }
.list-plain li { margin: 6px 0; }

.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list li { border-bottom: 1px solid var(--line); }
.notice-list a {
  display: block; color: var(--ink); font-weight: 600;
  padding: 14px 4px;
}
article.notice h1 { margin: 0 0 8px; font-size: 28px; }
.meta { color: var(--muted); margin-bottom: 24px; }
.article-body img { display: block; margin: 16px auto; }
.article-body table {
  border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 14px;
}
.article-body td, .article-body th {
  border: 1px solid #ccc; padding: 6px 8px;
}
.file-list { margin: 24px 0; padding: 16px; background: var(--paper); border-radius: 8px; }
.back-link { display: inline-block; margin-top: 28px; }

.contact-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start;
}
.dl { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; }
.dl dt { color: var(--brand); font-weight: 700; }
.dl dd { margin: 0; }
.map-card {
  background: var(--paper); border: 1px dashed var(--brand); border-radius: 12px;
  padding: 28px; min-height: 240px;
}
.btn {
  display: inline-block; background: var(--brand); color: #fff;
  padding: 10px 18px; border-radius: 30px; font-weight: 600;
}
.btn:hover { color: #fff; text-decoration: none; background: var(--brand-dark); }
.btn-ghost { background: #fee500; color: #191919; }
.btn-ghost:hover { background: #f5d400; color: #191919; }
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px;
}
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

.site-footer {
  border-top: 1px solid var(--line); padding: 32px 0 40px; color: #a3a3a3;
}
.footer-info {
  font-size: 12px;
  line-height: 1.55;
}
.footer-info p { margin: 0 0 4px; }

.empty-note { color: var(--muted); padding: 24px 0; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    background: #fff; border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 16px; align-items: flex-start; gap: 12px; }
  .card-grid, .contact-grid, .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .card-grid, .gallery { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; }
  .footer-info { font-size: 12px; line-height: 1.6; }
}
