:root {
  color: #172033;
  background: #f5f7fb;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.72;
  word-break: keep-all;
}

header {
  border-bottom: 1px solid #e4e8f0;
  background: #fff;
}

.header-inner,
main,
footer {
  width: min(100% - 32px, 840px);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  color: #405cf5;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 14px;
  font-size: 14px;
}

nav a,
footer a {
  color: #526079;
}

main {
  margin-top: 32px;
  margin-bottom: 48px;
  padding: 40px 44px;
  border: 1px solid #e4e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 30px rgb(30 47 80 / 6%);
}

h1 {
  margin: 0 0 8px;
  color: #101828;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.3;
}

h2 {
  margin: 38px 0 10px;
  color: #1c2940;
  font-size: 21px;
  line-height: 1.45;
}

h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

p,
li {
  color: #3d4a61;
}

.effective {
  margin-top: 0;
  color: #69758a;
}

.notice {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 4px solid #405cf5;
  border-radius: 8px;
  background: #f1f4ff;
}

.table-wrap {
  overflow-x: auto;
}

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

th,
td {
  min-width: 130px;
  padding: 12px;
  border: 1px solid #dfe4ed;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f7f8fb;
}

a {
  color: #3152df;
}

.button {
  display: inline-block;
  margin-top: 8px;
  padding: 11px 16px;
  border-radius: 9px;
  background: #405cf5;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

footer {
  padding: 0 0 40px;
  color: #7a8598;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 640px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 12px 0;
  }

  main {
    margin-top: 16px;
    padding: 26px 20px;
    border-radius: 12px;
  }
}
