body {
  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-bottom: 16px;
}

.page-title img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

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

.illustration img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-left: auto;
  margin-right: auto;
}

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

.photo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}

.photo-row figure,
figure.illustration {
  margin: 0;
  text-align: center;
}

.photo-row figure {
  flex: 1 1 260px;
  max-width: 100%;
}

.photo-row img,
figure img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.photo-row figcaption,
figure figcaption {
  font-size: 0.85em;
  margin-top: 6px;
}

.link-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  max-width: 760px;
  margin: 20px auto;
}

.section-heading {
  margin: 32px 0 8px;
  padding-left: 6px;
  border-left: 6px solid #2f6fb3;
  font-weight: 700;
  color: #1a3a5c;
  flex-basis: 100%;
}

.nav-group {
  flex-basis: 100%;
}

.nav-group::details-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.nav-group summary.section-heading {
  cursor: pointer;
}

.link-nav a {
  display: block;
  box-sizing: border-box;
  padding: 8px 14px;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  color: #1a1a2e;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.link-nav a:hover,
.link-nav a:focus-visible {
  background-color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.35);
}

.link-nav a.nav-link-last-clicked {
  background-color: rgba(90, 58, 122, 0.18);
  border-color: rgba(90, 58, 122, 0.5);
  color: #5a3a7a;
}

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

.notice {
  text-align: center;
  font-size: 0.9em;
  margin: 8px 0 24px;
  opacity: 0.75;
}

hr {
  border: none;
  border-top: 1px solid rgba(128, 128, 128, 0.4);
  margin: 28px auto;
  max-width: 640px;
}
