html,
body {
  margin: 0;
  padding: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

* {
  box-sizing: border-box;
}

.page {
  max-width: 100%;
  overflow-x: hidden;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: 3rem;
  font-weight: 800;
}

.hero p {
  margin: 0;
  max-width: 900px;
  font-size: 1.12rem;
  opacity: 0.92;
}

.layout {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h2 {
  margin: 0 0 10px;
  color: #0a4f90;
  font-size: 1.35rem;
}

.card h3,
.card h4 {
  margin: 16px 0 8px;
  color: #0a4f90;
  font-size: 1.05rem;
}

.lead {
  margin: 0 0 12px;
  color: #444;
  font-size: 0.95rem;
}

.budget-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.budget-table th,
.budget-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #e9edf1;
  vertical-align: top;
}

.budget-table th {
  width: 42%;
  color: #2f475a;
  font-weight: 700;
}

.budget-table tr.total th,
.budget-table tr.total td {
  border-top: 2px solid #b9d9ff;
  border-bottom: none;
  color: #0a4f90;
  font-weight: 800;
}

.note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #dceaf8;
  background: #f3f9ff;
  color: #4c6072;
  font-size: 0.9rem;
}

.caution-list,
.link-list,
.outlet-list {
  margin: 0;
  padding-left: 18px;
}

.caution-list li,
.link-list li,
.outlet-list li {
  margin-bottom: 8px;
  line-height: 1.6;
  word-break: break-word;
}

.info-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.info-item {
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 10px;
  padding: 12px;
}

.info-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.84rem;
  color: #5f7182;
}

.info-value {
  display: block;
  font-weight: 700;
  color: #24465f;
  overflow-wrap: anywhere;
}

.utility-stack {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.utility-block {
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 10px;
  padding: 12px;
}

.card .subsection-title {
  margin-top: 6px;
  margin-bottom: 8px;
}

a {
  color: #0a4f90;
}

a:hover {
  color: #083b74;
}

.footer {
  max-width: 900px;
  margin: 10px auto 0;
  border-top: 1px solid #eee;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

@media (max-width: 768px) {
  .hero {
    height: 52vh;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .layout {
    margin: 28px auto;
    gap: 16px;
  }

  .card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: auto;
    min-height: 46vh;
    padding: 26px 14px;
    align-items: flex-start;
    text-align: left;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .layout {
    padding: 0 12px;
  }
}
