* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
  color: #222;
  background: #f7f7f7;
}

.container {
  width: min(960px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  padding: 12px 0;
}

.header-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-button {
  display: inline-block;
  padding: 2px 0;
  text-decoration: none;
  color: inherit;
  background: transparent;
}

.site-name {
  font-weight: 700;
}

.main-content {
  background: #fff;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
}

.main-content p {
  margin: 0 0 12px;
}

.page-anchor {
  margin-top: 32px;
  padding-top: 10px;
  border-top: 1px dashed #ddd;
}

.articles-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-item {
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #fcfcfc;
}

.article-link {
  color: #222;
  text-decoration: none;
}

.article-link:hover {
  text-decoration: underline;
}

.article-meta {
  margin: 4px 0 0;
  color: #666;
  font-size: 0.9rem;
}

.article-summary {
  margin: 6px 0 0;
}

.article-pager {
  margin-top: 36px;
}

.pager-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pager-link {
  display: inline-block;
  width: fit-content;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #d0d0d0;
}

.pager-link:hover {
  text-decoration: underline;
}

.about-image-wrap {
  margin-top: 12px;
}

.about-image {
  width: 220px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #d9d9d9;
  display: block;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
}

.footer-inner {
  padding: 16px 0 24px;
}

.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.footer-nav a {
  text-decoration: none;
  color: #222;
}

.footer-text,
.copyright {
  margin: 6px 0 0;
  color: #555;
  font-size: 0.95rem;
}
