/* Call Now — getcallnow.app
   No web fonts, no scripts, no external resources. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f4f5f7;
  --text: #1b1c1f;
  --muted: #4a4d55;
  --border: #d5d8de;
  --link: #0b57d0;
  --link-visited: #6a3fb5;
  --accent: #b3261e;
  --focus: #0b57d0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121316;
    --surface: #1d1f24;
    --text: #ececef;
    --muted: #c3c6cf;
    --border: #3a3d45;
    --link: #8ab4f8;
    --link-visited: #c9a7ff;
    --accent: #ffb4ab;
    --focus: #8ab4f8;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic UI",
    "Meiryo",
    "Noto Sans JP",
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 8px;
  padding: 8px 12px;
  background: var(--bg);
  color: var(--text);
  border: 2px solid var(--focus);
  z-index: 1;
}

header.site {
  border-bottom: 1px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}

.brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

header.site nav a {
  font-size: 1rem;
}

main {
  padding: 32px 0 48px;
}

h1 {
  font-size: 2rem;
  line-height: 1.3;
  margin: 0 0 16px;
}

h2 {
  font-size: 1.375rem;
  line-height: 1.4;
  margin: 48px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

h3 {
  font-size: 1.125rem;
  margin: 24px 0 8px;
}

p,
ul,
ol {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 1.5em;
}

li + li {
  margin-top: 6px;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:visited {
  color: var(--link-visited);
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

.lead {
  font-size: 1.1875rem;
}

.muted {
  color: var(--muted);
}

.note {
  font-size: 1rem;
  color: var(--muted);
}

.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 16px 16px 60px;
  background: var(--surface);
  border-radius: 12px;
}

.steps li + li {
  margin-top: 12px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--text);
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}

.steps strong {
  display: block;
}

.status {
  padding: 16px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
  border-radius: 0 12px 12px 0;
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 16px;
  -webkit-overflow-scrolling: touch;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}

tbody th {
  width: 9.5em;
}

th,
td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--surface);
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9375em;
  overflow-wrap: anywhere;
}

blockquote {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-left: 4px solid var(--border);
  background: var(--surface);
}

blockquote p:last-child {
  margin-bottom: 0;
}

section.en {
  margin-top: 56px;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  font-size: 1rem;
  color: var(--muted);
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

footer.site p {
  margin: 0;
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
  }
}
