/* The terms and the privacy policy: plain reading pages in Hinowa's light palette. They are static
   files (no build step), so the colours are the design tokens' values written out. */
:root {
  color-scheme: light;
  --paper: #f7f1e6;
  --paper-hi: #fefaf3;
  --rule: #dcd2c1;
  --ink: #263b31;
  --ink-2: #476647;
  --ink-3: #4e5952;
  --focus: #2d5c85;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans JP", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}
a {
  color: var(--ink-2);
  text-underline-offset: 3px;
}
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}
.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0
    max(16px, env(safe-area-inset-left, 0px));
}
header {
  border-bottom: 1px solid var(--rule);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
}
main {
  padding: 40px 0 64px;
}
h1 {
  margin: 0 0 4px;
  font-size: 1.75rem;
  line-height: 1.4;
}
.dates {
  margin: 0 0 32px;
  color: var(--ink-3);
  font-size: 0.875rem;
}
h2 {
  margin: 40px 0 8px;
  font-size: 1.125rem;
  line-height: 1.5;
}
p,
ul,
ol,
table {
  margin: 0 0 12px;
}
ul,
ol {
  padding-left: 1.5em;
}
li + li {
  margin-top: 4px;
}
.table {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.7;
}
th,
td {
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
th {
  font-weight: 600;
  white-space: nowrap;
}
footer {
  border-top: 1px solid var(--rule);
  padding: 24px 0 40px;
  color: var(--ink-3);
  font-size: 0.875rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 8px;
}
