/* Shared styles for the static sub-pages (privacy, about). */

:root {
  --paper:    #faf8f4;
  --paper-2:  #f3efe7;
  --card:     #ffffff;
  --ink:      #23211e;
  --ink-2:    #6d6760;
  --ink-3:    #9a9389;
  --line:     #ded7c9;
  --line-2:   #eae4d8;
  --accent:   #2e4756;
  --accent-2: #4c6b7c;
  --gold:     #b99a52;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 2.05;
  font-size: 15px;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 660px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.page-head {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 34px 0 36px;
}
.page-head h1 {
  font-size: 21px;
  margin: 0;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.8;
}
.back {
  display: inline-block;
  color: var(--ink-2);
  font-size: 12.5px;
  text-decoration: none;
  margin-bottom: 18px;
  letter-spacing: .06em;
}
.back:hover { color: var(--ink); text-decoration: underline; }

/* ---------- document body ---------- */
.doc { padding: 44px 24px 70px; }
.lead {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0 0 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-2);
}

h2 {
  font-size: 16.5px;
  font-weight: 600;
  margin: 44px 0 14px;
  letter-spacing: .06em;
  line-height: 1.85;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
h2:first-of-type { margin-top: 0; }

p { margin: 0 0 16px; font-size: 14.5px; }
strong { font-weight: 600; }

ul { margin: 0 0 16px; padding: 0; list-style: none; }
li {
  margin-bottom: 13px;
  font-size: 14.5px;
  padding-left: 17px;
  position: relative;
}
li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: var(--ink-3);
}

a { color: var(--accent); }
a:hover { color: var(--ink); }

/* ---------- info table ---------- */
table.info {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14.5px;
}
table.info th,
table.info td {
  text-align: left;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
  line-height: 1.9;
}
table.info tr:last-child th,
table.info tr:last-child td { border-bottom: none; }
table.info th {
  width: 34%;
  background: var(--paper-2);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: .04em;
}
@media (max-width: 520px) {
  table.info th, table.info td { display: block; width: 100%; }
  table.info th { border-bottom: none; padding-bottom: 2px; }
}

.updated {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- footer ---------- */
.page-foot {
  background: var(--ink);
  color: #b6b0a6;
  padding: 40px 0 44px;
  font-size: 12.5px;
  line-height: 2;
}
.page-foot nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.page-foot a { color: #ded8cd; text-decoration: none; }
.page-foot a:hover { color: #fff; text-decoration: underline; }
.page-foot p { margin: 0; font-size: 11.5px; color: #85807a; }

a:focus-visible, .back:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
