:root {
  --bg: #ffffff;
  --surface: #f4f5f6;
  --fg: #121316;
  --muted: #686d74;
  --line: #e3e5e8;
  --line-strong: #c8ccd1;
  --accent: #c80d47;
  --accent-fg: #ffffff;
  --logo: #c80d47;
  color-scheme: light;
  --f-display: "Jost", "Noto Sans JP", system-ui, sans-serif;
  --f-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
}
html[lang="en"] {
  --bg: #0b0c0e;
  --surface: #16181b;
  --fg: #eceef0;
  --muted: #9aa0a7;
  --line: #24272b;
  --line-strong: #3a3e44;
  --accent: #e8245f;
  --accent-fg: #ffffff;
  --logo: #e8245f;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.85;
}
html[lang="en"] body {
  font-family: var(--f-display);
  font-size: 15px;
}
.in {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 761px) {
  .in {
    width: min(90%, 1180px);
    padding-left: 0;
    padding-right: 0;
  }
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
header.top .in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 12.5px;
  text-decoration: none;
}
.brand .logo-mark {
  width: clamp(64px, 8vw, 84px);
  height: auto;
  display: block;
}
.hnav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.shoplink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--fg);
  font-family: var(--f-display);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-decoration: none;
  white-space: nowrap;
}
.shoplink:hover {
  background: var(--fg);
  color: var(--bg);
}
.lang {
  display: flex;
  gap: 4px;
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.lang a,
.lang b {
  padding: 4px 8px;
  text-decoration: none;
}
.lang b {
  border-bottom: 2px solid var(--fg);
}
.lang a {
  color: var(--muted);
}
.crumb {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-block: 16px;
  display: flex;
  gap: 8px;
  text-transform: uppercase;
}
.crumb {
  align-items: center;
  gap: 10px;
}
.crumb a {
  text-decoration: none;
}
.crumb .sep {
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
  flex: none;
}
.doc .sub {
  font-size: 16px;
  font-weight: 700;
  margin: -12px 0 20px;
}
.doc .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 1em;
}
.doc a.btnlink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  color: var(--fg);
}
.doc a.btnlink:hover {
  border-color: var(--fg);
}
.doc a.btnlink .ext {
  font-size: 12px;
}
.doc .badge {
  margin: 33px 0 39px;
  line-height: 0;
}
.doc .badge img {
  display: block;
  width: 158px;
  height: 39px;
}
.doc ol.circ {
  margin: 0 0 1em;
  padding-left: 1.8em;
  list-style: none;
  counter-reset: c;
}
.doc ol.circ li {
  position: relative;
  margin-bottom: 0.4em;
}
.doc ol.circ li .no {
  position: absolute;
  left: -1.8em;
}
.doc h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 20px 0 6px;
}
.doc .shops {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 1em;
  font-size: 13.5px;
}
.doc .shops th,
.doc .shops td {
  text-align: left;
  font-weight: 400;
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.doc .shops thead th {
  font-size: 12px;
  color: var(--muted);
  border-bottom-color: var(--line-strong);
}
.doc .shops a {
  text-decoration: none;
}
@media (max-width: 640px) {
  .doc .shops thead {
    display: none;
  }
  .doc .shops tr {
    display: grid;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .doc .shops th,
  .doc .shops td {
    border: 0;
    padding: 1px 0;
  }
  .doc .shops th {
    font-weight: 700;
  }
}
main .doc {
  max-width: 820px;
  margin-inline: auto;
  padding-block: 24px 72px;
}
h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.14em;
  margin: 0 0 32px;
  text-wrap: balance;
}
.doc h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 32px 0 8px;
}
.doc p {
  margin: 0 0 1em;
}
.doc ol.paren {
  margin: 0 0 1em;
  padding-left: 2.4em;
  list-style: none;
  counter-reset: p;
}
.doc ol.paren li {
  counter-increment: p;
  position: relative;
  margin-bottom: 0.4em;
}
.doc ol.paren li::before {
  content: "(" counter(p) ")";
  position: absolute;
  left: -2.4em;
}
.doc .sign {
  text-align: right;
  margin-top: 32px;
  color: var(--muted);
}
.doc ul.pdfs {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  gap: 8px;
}
.doc ul.pdfs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  color: var(--fg);
}
.doc ul.pdfs a:hover {
  border-color: var(--fg);
}
.doc .pdf {
  flex: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 6px;
  background: var(--accent);
  color: var(--accent-fg);
  line-height: 1;
}
.doc ol.roman li::before {
  content: "(" counter(p, lower-roman) ")";
}
.doc ol.num {
  margin: 0 0 1em;
  padding-left: 2em;
  list-style: none;
  counter-reset: n;
}
.doc ol.num > li {
  counter-increment: n;
  position: relative;
  margin-bottom: 0.6em;
}
.doc ol.num > li::before {
  content: counter(n) ")";
  position: absolute;
  left: -2em;
}
.doc ol.num ol {
  margin-top: 0.5em;
}
.doc .small {
  font-size: 0.9em;
  color: var(--muted);
}
.doc .lead-sub {
  font-weight: 700;
  margin: -16px 0 24px;
}
.doc .contact {
  padding: 14px 18px;
  border-left: 3px solid var(--line-strong);
  background: var(--surface);
}
.doc .dummy {
  padding: 12px 16px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}
.doc a {
  overflow-wrap: anywhere;
}
footer.foot .in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.flinks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}
.flinks a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0;
  text-decoration: none;
  color: var(--fg);
  font-size: 11.5px;
}
.flinks a:hover {
  text-decoration: underline;
}
.copy {
  font-family: var(--f-display);
  letter-spacing: 0.12em;
}
@media (max-width: 520px) {
  .shoplink {
    gap: 5px;
    height: 30px;
    padding: 0 9px;
    font-size: 10.5px;
    letter-spacing: 0.04em;
  }
}
