:root {
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: 16.5px;
  line-height: 2.0;
  background: #fdfdfc;
  color: #2a2a28;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #1b1d22;
    color: #d6d7d3;
  }
}

.wrap {
  max-width: 40rem;
  margin: 0 auto;
}

a {
  color: #3b6bb5;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
  a {
    color: #8fb0e0;
  }
}

header.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

header.site-header .site-name {
  font-size: 15px;
  font-weight: normal;
  margin: 0;
}

header.site-header .site-name a {
  color: inherit;
}

header.site-header nav a {
  margin-left: 16px;
}

main {
  min-height: 40vh;
}

footer.site-footer {
  margin-top: 48px;
  padding-top: 24px;
  font-size: 14px;
  color: #6f6f6a;
}

@media (prefers-color-scheme: dark) {
  footer.site-footer {
    color: #8f9089;
  }
}

h1 {
  font-size: 28px;
  line-height: 1.5;
  margin: 0 0 8px;
}

h2 {
  font-size: 22px;
  line-height: 1.5;
  margin: 40px 0 8px;
}

h3 {
  font-size: 18px;
  line-height: 1.5;
  margin: 32px 0 8px;
}

p {
  margin: 16px 0;
}

.meta {
  color: #6f6f6a;
  font-size: 14px;
  margin: 0 0 32px;
}

@media (prefers-color-scheme: dark) {
  .meta {
    color: #8f9089;
  }
}

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

li {
  margin: 4px 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: #f4f4f1;
  padding: 0.15em 0.35em;
  border-radius: 4px;
}

@media (prefers-color-scheme: dark) {
  code {
    background: #24262c;
  }
}

pre {
  background: #f4f4f1;
  border-radius: 6px;
  padding: 16px;
  overflow-x: auto;
  line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
  pre {
    background: #24262c;
  }
}

pre code {
  background: none;
  padding: 0;
}

blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background: #f4f4f1;
  border-radius: 6px;
}

blockquote p {
  margin: 0;
}

@media (prefers-color-scheme: dark) {
  blockquote {
    background: #24262c;
  }
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  margin: 12px 0;
}

.post-list time {
  color: #6f6f6a;
  margin-right: 12px;
}

@media (prefers-color-scheme: dark) {
  .post-list time {
    color: #8f9089;
  }
}

hr {
  border: none;
  height: 0;
  margin: 40px 0;
}
