:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  max-width: 700px;
  margin: 0 auto;
  padding: 72px 24px 40px;
  color: #222;
  background: #faf9f6;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  line-height: 2;
}

.site-header {
  margin-bottom: 72px;
}

.site-title {
  display: block;
  margin-bottom: 20px;
  color: inherit;
  font-size: 2rem;
  letter-spacing: .15em;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

nav a,
main a {
  color: inherit;
  text-underline-offset: .2em;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

h1 {
  margin: 0 0 32px;
  font-size: 1.45rem;
  font-weight: normal;
  letter-spacing: .08em;
}

p {
  margin: 0 0 1.5em;
}

.latest {
  margin-top: 72px;
}

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

.entry-list li {
  margin-bottom: 14px;
}

.entry-list a {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 20px;
  text-decoration: none;
}

.entry-list a:hover span {
  text-decoration: underline;
}

.entry-list time,
.entry-header time {
  color: #777;
  font-size: .9rem;
}

.entry-header {
  margin-bottom: 32px;
}

.entry-header h1 {
  margin-bottom: 8px;
}

.content {
  overflow-wrap: anywhere;
}

.back-link {
  margin-top: 64px;
}

footer {
  margin-top: 100px;
  color: #777;
  font-size: .8rem;
}

@media (max-width: 560px) {
  body {
    padding-top: 48px;
  }

  .entry-list a {
    display: block;
  }

  .entry-list time {
    display: block;
    margin-bottom: 2px;
  }
}
