:root {
  --text: #222;
  --text-secondary: #666;
  --line: #ddd;
  --link: #1a5fb4;
}

* {
  box-sizing: border-box;
}

html {
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}

.topbar {
  padding: 48px 40px 24px;
  border-bottom: 1px solid var(--line);
}

.topbar-inner,
.article {
  max-width: 960px;
  margin: 0 auto;
}

.brand {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
}

.topbar h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}

.dates {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.article {
  padding: 36px 40px 80px;
}

.article h2 {
  margin: 36px 0 16px;
  padding: 0 0 8px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.article h2:first-child {
  margin-top: 8px;
}

.article h3 {
  margin: 24px 0 10px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--text);
}

.article h4 {
  margin: 18px 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.article p {
  margin: 0 0 14px;
  text-align: justify;
  text-justify: inter-ideograph;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article p.lead {
  margin: 0 0 18px;
  font-size: 16px;
  text-align: left;
}

.article p.clause {
  padding-left: 1.7em;
  text-indent: -1.7em;
}

.contact-card {
  margin: 24px 0 8px;
  padding: 4px 0;
}

.contact-card .contact-row {
  margin: 0 0 8px;
  text-align: left;
}

.sign {
  margin-top: 32px !important;
  text-align: right !important;
  color: var(--text-secondary);
}

.article a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.table-wrap {
  margin: 14px 0 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}

th,
td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

th {
  font-weight: 600;
  white-space: nowrap;
  width: 28%;
}

tr:last-child td {
  border-bottom: 0;
}

th:first-child {
  white-space: nowrap;
}

td:first-child {
  width: 30%;
  word-break: break-word;
}

.cell-list,
.plain-list {
  margin: 0;
  padding-left: 1.15em;
}

.cell-list li,
.plain-list li {
  margin: 0 0 6px;
}

.plain-list {
  margin: 0 0 14px;
  padding: 0 0 0 1.5em;
}

.doc-end {
  margin-top: 36px !important;
  text-align: center !important;
  color: var(--text-secondary);
}

.back-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
}

.back-top:hover {
  color: var(--text);
  border-color: #bbb;
}

@media print {
  .back-top,
  .brand {
    display: none;
  }

  .topbar {
    padding: 0 0 16px;
    border-bottom: 0;
  }

  .article {
    padding: 0;
  }
}
