@font-face {
  font-family: "Zen Maru";
  src: url("/study/fonts/zen-maru.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", sans-serif;
  color: #263442;
  background: #fff;
  font-size: 15px;
  --line: #e6e9ec;
  --muted: #74808a;
  --blue: #456b9a;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--blue);
  text-underline-offset: 5px;
}
a:focus-visible {
  outline: 2px solid #7b9ac0;
  outline-offset: 5px;
}
.site-wrap {
  width: min(880px, calc(100% - 80px));
  margin: auto;
}
.skip-link {
  position: absolute;
  top: -70px;
  left: 15px;
  padding: 12px;
  background: #fff;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 35px 0 25px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: "Zen Maru", sans-serif;
  font-size: 32px;
  color: #263442;
  text-decoration: none;
  letter-spacing: -0.8px;
}
.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 12px;
}
.site-header nav a {
  text-decoration: none;
  color: #6a7985;
}
main {
  min-height: calc(100vh - 230px);
}
h1,
h2 {
  font-family: "Zen Maru", sans-serif;
  font-weight: 400;
  line-height: 1.8;
}
h1 {
  font-size: 29px;
  margin: 0 0 20px;
}
.study-entry {
  padding: 75px 0 65px;
}
.study-entry p {
  font-size: 14px;
  color: #6a7985;
  line-height: 2.1;
  max-width: 600px;
}
.enter-link {
  display: inline-block;
  font-size: 13px;
  margin-top: 23px;
  text-decoration: none;
  padding: 10px 0;
}
.enter-link span {
  margin-left: 35px;
}
.article-section {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  padding-bottom: 50px;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.section-heading h2 {
  font-size: 20px;
  margin: 0;
}
.section-heading span {
  font-size: 10px;
  color: var(--muted);
}
.empty {
  font-size: 12px;
  color: var(--muted);
  line-height: 2;
  margin-top: 25px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 23px 0 35px;
  color: var(--muted);
  font-size: 10px;
}
footer a {
  color: var(--muted);
  text-decoration: none;
}
.article-page {
  padding: 60px 0;
}
.article-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.article-row time {
  color: var(--muted);
  font-size: 11px;
}
.article-row h2 {
  font-family: inherit;
  font-size: 16px;
  margin: 10px 0;
}
.article-row a {
  text-decoration: none;
}
.post {
  padding: 50px 0;
}
.post header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.post header > a,
.post time {
  font-size: 11px;
  color: var(--muted);
}
.post h1 {
  margin-top: 25px;
}
.prose {
  padding-top: 30px;
  line-height: 2.2;
}
.prose img {
  max-width: 100%;
  height: auto;
}
.prose figure {
  margin: 35px 0;
}
.prose figcaption {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 700px) {
  .site-wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    padding: 24px 0 20px;
  }
  .brand {
    font-size: 28px;
  }
  .site-header nav {
    gap: 22px;
    font-size: 11px;
  }
  .study-entry {
    padding: 50px 0;
  }
  h1 {
    font-size: 26px;
  }
  .study-entry p {
    font-size: 12px;
  }
  .enter-link {
    font-size: 12px;
  }
}
