:root {
  color-scheme: light;
  --background: #fbfaf7;
  --surface: #ffffff;
  --text: #242622;
  --muted: #6b7068;
  --line: #dedfd9;
  --accent: #176b4d;
  --accent-soft: #e8f2ed;
  --content-width: 720px;
  --wide-content-width: 920px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI",
    "Yu Gothic", "Noto Sans JP", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-size: 16px;
  line-height: 1.9;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 38%, transparent);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 6px 12px;
  color: var(--surface);
  background: var(--accent);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--background) 94%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 40px), var(--wide-content-width));
  min-height: 64px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.brand-icon {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
}

main {
  background: var(--surface);
}

article {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  padding: 88px 0 112px;
}

.article-header {
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

h1,
h2,
strong,
dt {
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 3.75rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 640px;
  margin: 32px 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  line-height: 2;
}

.article-meta {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.store-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 28px;
}

.store-badge {
  display: inline-block;
  line-height: 0;
}

.store-badge img {
  display: block;
  width: auto;
}

.store-badge--app-store img {
  height: 50px;
}

.store-badge--google-play img {
  height: 65px;
}

section {
  padding-top: 72px;
}

h2 {
  margin: 0 0 24px;
  font-size: 1.55rem;
  line-height: 1.55;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1.25em;
}

.feature-list,
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list strong,
.feature-list span,
.steps strong,
.steps div > span {
  display: block;
}

.feature-list span,
.steps div > span {
  color: var(--muted);
  font-size: 0.94rem;
}

.steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.step-number {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  margin-top: 4px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.faq-list {
  margin: 0;
}

.faq-list > div {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.faq-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

dt {
  margin-bottom: 8px;
}

dd {
  margin: 0;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  background: var(--background);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--wide-content-width));
  margin: 0 auto;
  padding: 28px 0 40px;
  gap: 24px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.7;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 640px) {
  article {
    padding: 64px 0 80px;
  }

  .article-header {
    padding-bottom: 48px;
  }

  h1 {
    line-height: 1.4;
  }

  section {
    padding-top: 56px;
  }

  .feature-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
}
