/* Shopippi · Shopify Themes — documentation and support
   Colors follow shopippi.com (ink, paper, linen). No web fonts, no animation libraries. */
:root {
  --ink: #0f0f0f;
  --ink-2: #2b2a28;
  --paper: #ffffff;
  --linen: #f4f3f1;
  --linen-2: #eae9e7;
  --sand: #d5d0c9;
  --muted: #5e5b58;
  --line: #e4e2df;
  --focus: #0f0f0f;
  --err: #b3261e;
  --err-bg: #fdf3f2;
  --accent: #0f0f0f;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial,
          "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  --mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1320px;
  --pad: 16px;
  --head: 60px;
  --radius: 10px;
}
@media (min-width: 768px) { :root { --pad: 32px; } }
@media (min-width: 1200px) { :root { --pad: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.ja { color: var(--muted); }
.eyebrow {
  display: block; margin: 0 0 .75rem; font: 600 .6875rem/1.4 var(--mono);
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50; height: var(--head);
  background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
}
.site-head__in {
  max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: .9375rem; }
.brand a { text-decoration: none; }
.brand__home { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.mark { width: 28px; height: auto; display: block; }
.brand__sub { font-weight: 500; color: var(--muted); }
.brand .sep { color: var(--sand); }
.brand .crumb { font-weight: 600; white-space: nowrap; }
.ver {
  font: 500 .6875rem/1 var(--mono); color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 7px; white-space: nowrap;
}
/* Version switcher in the header */
.ver-menu { position: relative; }
.ver-menu > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 30px;
  font: 500 .6875rem/1 var(--mono); color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px 4px 10px;
}
.ver-menu > summary::-webkit-details-marker { display: none; }
.ver-menu > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 2px; }
.ver-menu[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.ver-menu > summary:hover { border-color: var(--ink); }
.ver-menu ul {
  position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; min-width: 210px; margin: 0; padding: 6px; list-style: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(15, 15, 15, .12);
}
.ver-menu li a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 7px;
  text-decoration: none; font: 500 .8125rem/1.2 var(--mono); color: var(--ink-2);
}
.ver-menu li a:hover { background: var(--linen); }
.ver-menu li a[aria-current] { background: var(--linen-2); color: var(--ink); font-weight: 700; }
.ver-menu .ver-menu__all { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.ver-menu .ver-menu__all a { font-family: var(--font); font-weight: 600; }
.ver-tag {
  display: inline-block; font: 700 .5625rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--paper); background: var(--ink); border-radius: 999px; padding: 3px 6px;
}
html:lang(ja) .ver-tag { letter-spacing: .04em; }
.ver-inline { display: none; margin: 0 0 1rem; }
@media (max-width: 520px) {
  .site-head .ver-menu { display: none; }
  .ver-inline { display: block; }
}
.ver-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  max-width: 46rem; margin: 0 0 2rem; padding: 14px 18px; border-radius: var(--radius);
  background: #fff7e6; border: 1px solid #ecd9a8;
}
.ver-banner p { margin: 0; font-weight: 600; }
table.versions th[scope=row] { font: 700 .9375rem/1.4 var(--mono); white-space: nowrap; }
table.versions th[scope=row] .ver-tag { margin-left: 6px; vertical-align: 2px; }

.site-head__end { display: flex; align-items: center; gap: 6px; }
.site-nav { display: flex; gap: 4px; }
.lang-switch ul { list-style: none; margin: 0; padding: 3px; display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a {
  display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; text-decoration: none; color: var(--muted); white-space: nowrap;
}
.lang-switch a:hover { color: var(--ink); background: var(--linen); }
.lang-switch a[aria-current] { background: var(--linen-2); color: var(--ink); }
.site-nav a {
  font-size: .8125rem; font-weight: 600; text-decoration: none; padding: 7px 14px; border-radius: 999px;
  color: var(--muted); white-space: nowrap;
}
.site-nav a:hover { background: var(--linen); color: var(--ink); }
.site-nav a[aria-current=page] { background: var(--ink); color: var(--paper); }
@media (max-width: 640px) {
  .brand__sub { display: none; }
  .site-nav a { padding: 7px 10px; }
}
@media (max-width: 520px) {
  .brand .sep, .brand .crumb, .ver { display: none; }
  .site-nav a:first-child { display: none; }
  .lang-switch a { padding: 4px 8px; }
}

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 10px 20px; border-radius: 999px; font: 600 .875rem/1.2 var(--font);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); }
.btn--line { border-color: var(--sand); color: var(--ink); background: var(--paper); }
.btn--line:hover { border-color: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); }
.btn--lg { min-height: 52px; padding: 14px 28px; font-size: 1rem; }
.btn[aria-disabled=true] { opacity: .6; cursor: progress; }

/* ---------- Facts (definition rows) ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; margin: 2rem 0; border-top: 1px solid var(--line); }
.facts > div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 600 .6875rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: .25rem 0 0; font-weight: 600; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.facts--compact, .facts.facts--compact { grid-template-columns: 1fr; margin: 1.5rem 0; }
.facts--compact > div { display: grid; grid-template-columns: 9rem 1fr; gap: 12px; align-items: baseline; }
.facts--compact dd { margin: 0; font-weight: 500; }

/* ---------- Hub ---------- */
.hub { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.hero { padding: clamp(48px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.hero h1 {
  margin: 0; font-size: clamp(2.25rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800;
}
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.6; max-width: 44rem; margin: 1.5rem 0 0; }
.lead.ja { font-size: 1rem; margin-top: .5rem; }
.theme-index { margin-top: 2.5rem; }
.theme-index ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.theme-index a {
  display: inline-flex; gap: 10px; align-items: baseline; text-decoration: none; font-weight: 700;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--linen);
}
.theme-index a:hover { border-color: var(--ink); }
.theme-index .muted { font: 500 .75rem var(--mono); }

.theme { padding: clamp(48px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.theme__head { display: grid; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
@media (min-width: 900px) { .theme__head { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.theme__field {
  position: relative; min-height: 280px; border-radius: 18px; background: var(--field);
  display: flex; align-items: flex-end; padding: 28px; overflow: hidden;
}
.theme__field::before {
  content: ""; position: absolute; inset: 14% 14% 30% 30%; border-radius: 12px;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(15, 15, 15, .06);
}
.theme__field::after {
  content: ""; position: absolute; left: 12%; top: 22%; width: 34%; height: 46%; border-radius: 10px;
  background: rgba(15, 15, 15, .07);
}
.theme__name { position: relative; z-index: 1; font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 800; letter-spacing: -.045em; line-height: .9; }
.theme__dot { position: absolute; z-index: 1; right: 28px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.theme__visual { margin: 0; border-radius: 18px; overflow: hidden; background: var(--field); align-self: start; }
.theme__visual img { display: block; width: 100%; height: auto; }
.theme__shot { margin: 1.5rem 0 0; }
.theme__shot img { display: block; width: 100%; height: auto; border-radius: 18px; background: var(--field); }
.theme__shot figcaption { margin-top: .75rem; font-size: .875rem; color: var(--muted); }
.theme__intro h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.theme__tagline { font-size: 1.25rem; font-weight: 600; line-height: 1.4; margin: .75rem 0 1rem; letter-spacing: -.01em; }
.theme__intro p { max-width: 40rem; }
.theme h3.eyebrow { margin-top: 2.5rem; }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .highlights { grid-template-columns: repeat(3, 1fr); } }
.highlights li { background: var(--paper); padding: 22px 22px 24px; }
.highlights h4 { margin: 0 0 .35rem; font-size: 1rem; letter-spacing: -.01em; }
.highlights p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--linen); text-decoration: none; font-size: .875rem; font-weight: 600; }
.chips a:hover { background: var(--linen-2); }

.support-band {
  margin: clamp(48px, 7vw, 96px) 0; padding: clamp(28px, 5vw, 56px); border-radius: 20px;
  background: var(--ink); color: var(--paper); display: grid; gap: 24px; align-items: end;
}
@media (min-width: 900px) { .support-band { grid-template-columns: 1fr auto; } }
.support-band h2 { margin: 0 0 .75rem; font-size: clamp(1.75rem, 3.4vw, 2.5rem); letter-spacing: -.03em; line-height: 1.1; }
.support-band p { margin: .25rem 0; max-width: 40rem; }
.support-band .eyebrow, .support-band .ja { color: #b9b6b2; }
.support-band a:not(.btn) { color: inherit; }
.support-band .actions { margin-top: 0; }

/* ---------- Narrow pages (privacy, thanks) ---------- */
.narrow { max-width: 48rem; margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--pad) 96px; }
.narrow h1, .contact h1 {
  font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; margin: 0 0 1rem;
}
.ja-block { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.receipt { display: inline-flex; flex-direction: column; padding: 16px 20px; border-radius: var(--radius); background: var(--linen); margin: .5rem 0 1rem; }
.receipt .eyebrow { margin: 0 0 .25rem; }
.receipt strong { font: 700 1.375rem/1.2 var(--mono); letter-spacing: .04em; }

/* ---------- Docs ---------- */
.docs { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); }
.docs-nav { padding: 8px var(--pad); border-bottom: 1px solid var(--line); }
.docs-nav summary {
  list-style: none; cursor: pointer; min-height: 48px; display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: .9375rem;
}
.docs-nav summary::-webkit-details-marker { display: none; }
.docs-nav summary::after { content: "+"; font: 400 1.25rem/1 var(--mono); color: var(--muted); }
.docs-nav details[open] summary::after { content: "−"; }
.docs-nav h2 { font: 600 .6875rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 1.5rem 0 .4rem; }
.docs-nav h2:first-of-type { margin-top: .5rem; }
.docs-nav ul { list-style: none; margin: 0; padding: 0; }
.docs-nav li a {
  display: block; padding: 6px 10px; margin: 0 -10px; border-radius: 7px; text-decoration: none;
  font-size: .9063rem; line-height: 1.45; color: var(--ink-2);
}
.docs-nav li a:hover { background: var(--linen); }
.docs-nav li a[aria-current=page] { background: var(--linen-2); color: var(--ink); font-weight: 650; }
.docs-main { min-width: 0; padding: 32px var(--pad) 80px; }
.docs-toc { display: none; }
@media (min-width: 960px) {
  .docs { grid-template-columns: 264px minmax(0, 1fr); }
  .docs-nav {
    border-bottom: 0; border-right: 1px solid var(--line); position: sticky; top: var(--head);
    align-self: start; max-height: calc(100vh - var(--head)); overflow: auto; padding: 20px 24px 40px var(--pad);
  }
  .docs-nav summary { display: none; }
  .docs-main { padding: 48px clamp(32px, 4vw, 64px) 96px; }
}
@media (min-width: 1240px) {
  .docs { grid-template-columns: 264px minmax(0, 1fr) 220px; }
  .docs-toc {
    display: block; position: sticky; top: var(--head); align-self: start; max-height: calc(100vh - var(--head));
    overflow: auto; padding: 48px var(--pad) 40px 0;
  }
  .docs-toc ul { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 1px solid var(--line); }
  .docs-toc a { display: block; padding: 4px 0; font-size: .8125rem; line-height: 1.45; color: var(--muted); text-decoration: none; }
  .docs-toc a:hover { color: var(--ink); }
}

/* Prose */
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(2rem, 4.4vw, 2.875rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; margin: 0 0 1.25rem; }
.prose h2 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -.02em; margin: 3rem 0 .875rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.1875rem; line-height: 1.35; letter-spacing: -.01em; margin: 2.25rem 0 .5rem; }
.prose h4 { font-size: 1rem; margin: 1.75rem 0 .4rem; }
.prose h1 + p { font-size: 1.125rem; color: var(--ink-2); }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin: .3rem 0; }
.prose li > ul, .prose li > ol { margin: .3rem 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.prose strong { color: var(--ink); font-weight: 650; }
code {
  font: .875em/1.4 var(--mono); background: var(--linen); border: 1px solid var(--line);
  border-radius: 5px; padding: .08em .35em; overflow-wrap: anywhere;
}
pre { background: var(--ink); color: #f2f1ef; border-radius: var(--radius); padding: 16px 18px; overflow: auto; font-size: .875rem; }
pre code { background: none; border: 0; padding: 0; color: inherit; overflow-wrap: normal; }
blockquote { margin: 1.5rem 0; padding: 14px 18px; border-radius: var(--radius); background: var(--linen); border-left: 3px solid var(--ink); }
blockquote p { margin: .25rem 0; }
.table-wrap { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .9063rem; line-height: 1.55; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
thead th { background: var(--linen); font-weight: 650; font-size: .8125rem; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
.dagger { color: var(--muted); }

.pager { display: grid; gap: 12px; margin-top: 4rem; max-width: 46rem; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 650; }
.pager a:hover { border-color: var(--ink); }
.pager .eyebrow { margin-bottom: .25rem; }
.pager__next { text-align: right; grid-column: -2; }
.help-strip {
  margin-top: 2rem; max-width: 46rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 20px; padding: 18px 20px; border-radius: var(--radius); background: var(--linen);
}
.help-strip p { margin: 0; }

/* Documentation search */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.docs-search { position: relative; margin: 8px 0 14px; }
.docs-search input {
  width: 100%; min-height: 40px; padding: 8px 12px 8px 34px; font: inherit; font-size: .875rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; background: var(--linen) no-repeat 12px 50% / 15px 15px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e5b58' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
}
.docs-search input:hover { border-color: var(--sand); }
.docs-search input:focus { background-color: var(--paper); border-color: var(--ink); }
.docs-search__results {
  list-style: none; margin: 6px 0 0; padding: 6px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 12px 32px rgba(15, 15, 15, .10); max-height: 60vh; overflow: auto;
}
@media (min-width: 960px) { .docs-search__results { position: absolute; z-index: 20; left: 0; width: min(420px, 80vw); } }
.docs-search__results a { display: block; padding: 8px 10px; border-radius: 7px; text-decoration: none; margin: 0; }
.docs-search__results a:hover, .docs-search__results a:focus-visible { background: var(--linen); }
.docs-search__results strong { display: block; font-size: .875rem; }
.docs-search__where { display: block; font-size: .75rem; color: var(--ink-2); font-weight: 600; }
.docs-search__text { display: block; font-size: .75rem; color: var(--muted); line-height: 1.5; }
.docs-search__none { padding: 8px 10px; font-size: .8125rem; color: var(--muted); }

/* Screenshots in the documentation */
.prose figure.shot { margin: 1.75rem 0 2rem; }
.prose figure.shot img {
  display: block; width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--linen);
}
.prose figure.shot img[src*="mobile"] { max-width: 300px; }

/* ---------- Contact ---------- */
.contact { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--pad) 96px; display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); }
  .contact__intro { position: sticky; top: calc(var(--head) + 40px); align-self: start; }
}
form.support { max-width: 40rem; }
.field { margin: 0 0 1.5rem; }
.field label { display: block; font-weight: 650; margin-bottom: .3rem; }
.field .hint { display: block; color: var(--muted); font-size: .875rem; line-height: 1.5; margin: 0 0 .5rem; }
.req { color: var(--muted); font-weight: 400; font-size: .8125rem; }
.field input[type=text], .field input[type=email], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid #8f8b86; border-radius: 8px; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.field textarea { min-height: 12rem; resize: vertical; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input[type=file] { font: inherit; font-size: .9375rem; max-width: 100%; padding: 12px; border: 1px dashed #8f8b86; border-radius: 8px; width: 100%; background: var(--linen); }
.check { display: flex; gap: .75rem; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: .2rem 0 0; flex: none; accent-color: var(--ink); }
.field .check label { font-weight: 400; display: inline; }
.error { display: block; color: var(--err); font-weight: 650; font-size: .9375rem; margin-top: .4rem; }
.error::before { content: "! "; }
.field [aria-invalid=true] { border-color: var(--err) !important; border-width: 2px; }
.errors { border: 2px solid var(--err); background: var(--err-bg); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 1.75rem; }
.errors h2 { margin: 0 0 .5rem; font-size: 1.0625rem; }
.errors ul { margin: 0; padding-left: 1.2rem; }
.errors a { color: var(--err); font-weight: 600; }
.notice { border: 1px solid var(--sand); background: var(--linen); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 1.5rem; }
.notice p { margin: 0; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--linen); }
.site-foot__in {
  max-width: var(--max); margin: 0 auto; padding: 32px var(--pad); display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 16px 32px; font-size: .875rem;
}
.site-foot__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-foot a { text-decoration: none; color: var(--ink-2); }
.site-foot a:hover { text-decoration: underline; }
.site-foot__copy { margin: 0; color: var(--muted); width: 100%; font-size: .8125rem; }

@media print {
  .site-head, .docs-nav, .docs-toc, .site-foot, .help-strip, .pager { display: none !important; }
  .docs { display: block; }
}

/* ---------- Japanese ---------- */
html:lang(ja) body { line-height: 1.85; letter-spacing: .02em; }
html:lang(ja) .hero h1, html:lang(ja) .prose h1, html:lang(ja) .narrow h1, html:lang(ja) .contact h1,
html:lang(ja) .theme__intro h2, html:lang(ja) .support-band h2 { letter-spacing: 0; line-height: 1.25; }
html:lang(ja) .hero h1 { font-size: clamp(2rem, 5.4vw, 4.25rem); }
html:lang(ja) .prose h2, html:lang(ja) .prose h3 { letter-spacing: 0; line-height: 1.45; }
html:lang(ja) .eyebrow { letter-spacing: .1em; }
html:lang(ja) .error::before { content: "！"; }
