/* 注記(2026-10-26): このファイル内のscroll-margin-topは削除した。base-typography.cssのhtml{scroll-padding-top:70px}と二重に加算され、アンカー移動時に本来より余計にスクロールが止まり、前のセクションの要素が見えてしまう不具合があったため。 */
body {
  background-color: #0b0231;
  color: #3b2412;
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}


.page-center {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 12px 72px;
  box-sizing: border-box;
  background-color: #ffffcc;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}


.page-title {
  text-align: center;
  margin: 8px 0 20px;
}

.page-title .series {
  color: #990000;
  font-weight: bold;
}

.page-title .chapter {
  color: #0000cc;
  font-weight: bold;
  margin-left: 8px;
}

.chapter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 12px;
  background-color: #ffffff;
  border-radius: 8px;
}

.chapter-nav a {
  display: inline-block;
  color: #0000cc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.chapter-nav a:hover,
.chapter-nav a:focus-visible {
  text-decoration: underline;
  transform: scale(1.1);
}

.chapter-nav a.nav-link-last-clicked {
  color: #5a3a7a;
  text-decoration: underline;
}

section {
  margin-bottom: 32px;
}

h2 {
  text-align: center;
  color: #0000cc;
  margin: 0 0 16px;
}

p {
  line-height: 1.8;
  text-indent: 1em;
  margin: 14px 0;
}

p a {
  color: #cc6600;
}

.illustration {
  text-align: center;
  margin: 20px 0;
}

.illustration img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 320 / 423;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px dashed rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  color: #888;
  font-size: 0.85em;
}

.illustration figcaption {
  font-size: 0.85em;
  color: #665533;
  margin-top: 6px;
}

hr {
  border: none;
  border-top: 1px solid #ccb380;
  margin: 28px auto;
  max-width: 640px;
}

.notice {
  text-align: center;
  font-size: 0.9em;
  color: #998866;
  margin: 8px 0 24px;
}

.chapter-nav .unavailable {
  color: #998866;
}

.next-chapter {
  text-align: center;
  margin: 32px 0 0;
  font-weight: bold;
}

.next-chapter .unavailable {
  color: #998866;
  font-weight: normal;
}
