:root {
  --paper: #f7f3ea;
  --paper-strong: #fffdfa;
  --wall: #ece5d8;
  --ink: #162033;
  --ink-soft: #394256;
  --muted: #727372;
  --teal: #0f6f6a;
  --teal-deep: #0c4f55;
  --clay: #b85b3b;
  --moss: #4f6f45;
  --gold: #ba8f34;
  --line: rgba(22, 32, 51, 0.14);
  --line-strong: rgba(22, 32, 51, 0.24);
  --shadow: 0 26px 70px rgba(22, 32, 51, 0.16);
  --shadow-soft: 0 14px 34px rgba(22, 32, 51, 0.12);
  --max: 1180px;
  --wide: 1480px;
  --header-height: 72px;
  --display-font: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
  --body-font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.78), rgba(247, 243, 234, 0.96)),
    radial-gradient(circle at 14% 8%, rgba(15, 111, 106, 0.13), transparent 26rem),
    radial-gradient(circle at 86% 18%, rgba(184, 91, 59, 0.12), transparent 26rem),
    var(--paper);
  font-family: var(--body-font);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-height);
  background: rgba(255, 253, 250, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  width: min(100% - 48px, var(--wide));
  min-height: var(--header-height);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: block;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__text {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.brand__text strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.2;
}

.brand__text small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-nav a {
  padding: 7px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-deep);
  border-color: currentColor;
}

.index-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(255, 253, 250, 0.94), rgba(255, 253, 250, 0.72)),
    linear-gradient(135deg, rgba(15, 111, 106, 0.16), rgba(184, 91, 59, 0.12));
  border-bottom: 1px solid var(--line);
}

.index-hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 24px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(22, 32, 51, 0.04));
}

.index-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--wide));
  margin: 0 auto;
  padding: 54px 0 42px;
}

.index-hero__eyebrow {
  margin: 0 0 8px;
  color: var(--teal-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  line-height: 1.5;
}

.index-hero h1 {
  max-width: 13em;
  margin: 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.14;
}

.index-hero__lead {
  max-width: 42em;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.shelf-wall {
  --shelf-row-height: 390px;
  --shelf-row-gap: 34px;
  --shelf-row-span: calc(var(--shelf-row-height) + var(--shelf-row-gap));
  --shelf-base-offset: 108px;
  --shelf-nameplate-bottom: 58px;
  --shelf-y: 8px;
  position: relative;
  overflow: hidden;
  background:
    url("visuals/shelf-row.png"),
    linear-gradient(180deg, rgba(255, 253, 250, 0.5), rgba(247, 243, 234, 0.5)),
    url("visuals/wallpaper-plaster.webp");
  background-repeat: repeat-y, no-repeat, repeat-y;
  background-position: center var(--shelf-y), center top, center top;
  background-size: 100% var(--shelf-row-span), 100% 100%, 100% auto;
}

.shelf-wall__inner {
  position: relative;
  width: min(100% - 48px, var(--wide));
  margin: 0 auto;
  padding: 34px 0 82px;
}

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  grid-auto-rows: var(--shelf-row-height);
  gap: var(--shelf-row-gap) clamp(16px, 2vw, 28px);
  align-items: stretch;
  position: relative;
}

.index-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 46px 24px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 253, 250, 0.82);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  font-size: 0.94rem;
}

.shelf-card {
  position: relative;
  display: block;
  height: 100%;
  min-width: 0;
  color: var(--ink);
  outline-offset: 5px;
}

.shelf-card__stage {
  position: absolute;
  inset: 0;
  display: block;
  isolation: isolate;
}

.shelf-card__stage::after {
  position: absolute;
  right: 9%;
  bottom: calc(var(--shelf-base-offset) - 8px);
  left: 9%;
  z-index: 1;
  height: 18px;
  content: "";
  background: radial-gradient(ellipse at center, rgba(22, 32, 51, 0.3) 0%, rgba(22, 32, 51, 0.18) 42%, transparent 74%);
  border-radius: 50%;
  filter: blur(9px);
  transform: translateY(50%);
}

.shelf-card__figure {
  position: absolute;
  left: 50%;
  bottom: var(--shelf-base-offset);
  z-index: 2;
  width: 88%;
  max-width: 420px;
  max-height: calc(var(--shelf-row-height) - var(--shelf-base-offset) + 34px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 14px 18px rgba(22, 32, 51, 0.22));
  transform: translateX(-50%);
  transition: transform 220ms var(--ease), filter 220ms var(--ease);
}

.shelf-card:hover .shelf-card__figure,
.shelf-card:focus-visible .shelf-card__figure {
  filter: drop-shadow(0 16px 20px rgba(22, 32, 51, 0.28));
  transform: translateX(-50%) scale(1.018);
}

.shelf-card__label {
  position: absolute;
  right: 50%;
  bottom: var(--shelf-nameplate-bottom);
  z-index: 4;
  display: grid;
  place-items: center;
  width: min(78%, 320px);
  aspect-ratio: 1888 / 481;
  padding: 7px 10% 6px;
  color: var(--paper-strong);
  background: url("visuals/nameplate-generic.png") center / 100% 100% no-repeat;
  pointer-events: none;
  text-align: center;
  transform: translateX(50%);
}

.shelf-card__name {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: var(--paper-strong);
  background: none;
  font-family: var(--display-font);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-overflow: ellipsis;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.72), 0 0 10px rgba(186, 143, 52, 0.42);
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  background: var(--ink);
  isolation: isolate;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.04);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 16, 29, 0.82), rgba(9, 16, 29, 0.62) 38%, rgba(9, 16, 29, 0.18) 72%, rgba(9, 16, 29, 0.46)),
    linear-gradient(180deg, rgba(9, 16, 29, 0.18), rgba(9, 16, 29, 0.66));
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, var(--max));
  min-height: inherit;
  margin: 0 auto;
  padding: 58px 0 54px;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.74fr);
  gap: 38px;
  align-items: center;
  min-height: 540px;
}

.hero__copy {
  display: grid;
  align-content: center;
  max-width: 620px;
  color: var(--paper-strong);
}

.hero__title {
  margin: 0;
  color: #fffdf8;
  font-family: var(--display-font);
  font-size: 4.1rem;
  font-weight: 600;
  line-height: 1.13;
  text-wrap: balance;
}

.hero__nameEn {
  margin: 12px 0 0;
  color: #f1c36f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  font-style: italic;
  line-height: 1.55;
}

.hero__tagline {
  margin: 0 0 14px;
  color: #f5d58c;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.hero__lead {
  max-width: 32em;
  margin: 16px 0 0;
  color: rgba(255, 253, 248, 0.86);
  font-size: 1.02rem;
  line-height: 2;
}

.hero__art {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 440px;
  margin: 0;
}

.hero__art::before {
  position: absolute;
  right: 5%;
  bottom: 22px;
  left: 5%;
  height: 42px;
  content: "";
  background: rgba(0, 0, 0, 0.34);
  border-radius: 50%;
  filter: blur(22px);
}

.hero__figure {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: 520px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 32px rgba(0, 0, 0, 0.3));
}

.article-wrap {
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.84), rgba(247, 243, 234, 0.98)),
    var(--paper);
}

.article-wrap__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
  gap: 46px;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 58px 0 70px;
}

.article-stack {
  display: grid;
  align-content: start;
  min-width: 0;
  gap: 0;
}

.article-section {
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr);
  gap: 34px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.article-section:first-child {
  padding-top: 0;
  padding-bottom: 28px;
  border-top: 0;
}

.section-heading {
  display: grid;
  align-content: start;
  gap: 12px;
}

.section-heading__ornament {
  width: 44px;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--clay), var(--gold));
  border-radius: 999px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 1.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.article-section__body {
  display: grid;
  align-content: start;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.article-section__body p {
  margin: 0;
}

.article-section__body p + p {
  margin-top: 0;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--teal-deep);
  background: rgba(15, 111, 106, 0.08);
  border: 1px solid rgba(15, 111, 106, 0.18);
  border-radius: 5px;
  font-size: 0.8rem;
  line-height: 1.45;
}

/* 世界遺産検定の等級バッジ。既定タグ（ティール）と区別するため金系で表す。 */
.detail-tags li.detail-tags__exam {
  color: #7a5c12;
  background: rgba(186, 143, 52, 0.12);
  border-color: rgba(186, 143, 52, 0.4);
  font-weight: 600;
}

.article-section--highlights {
  display: block;
}

.article-section--highlights .section-heading {
  margin-bottom: 18px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.highlight-card {
  overflow: hidden;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(22, 32, 51, 0.08);
}

.highlight-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #d8cfba;
}

.highlight-card__body {
  display: grid;
  gap: 8px;
  padding: 17px 17px 18px;
}

.highlight-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.45;
}

.highlight-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.75;
}

.article-cover {
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.side-stack {
  align-self: start;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 20px;
}

.info-panel {
  position: relative;
  overflow: hidden;
  background: rgba(255, 253, 250, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(22, 32, 51, 0.08);
}

.info-panel h2 {
  margin: 0;
  padding: 20px 20px 10px;
  color: var(--teal-deep);
  font-family: var(--display-font);
  font-size: 1.26rem;
  font-weight: 600;
  line-height: 1.4;
}

.fact-list {
  margin: 0;
  padding: 0 20px 22px;
}

.fact-list__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.fact-list__row:first-child {
  border-top: 0;
}

.fact-list dt,
.fact-list dd {
  margin: 0;
}

.fact-list dt {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.fact-list dd {
  min-width: 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.fact-list__sub {
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.fact-list__meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.criteria-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.criteria-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.52;
}

.criteria-list__icon {
  width: 40px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(22, 32, 51, 0.14);
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(22, 32, 51, 0.1);
}

.criteria-list__description {
  display: block;
  color: var(--ink-soft);
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 4px 22px 24px 42px;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 8px;
  bottom: 28px;
  left: 28px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, var(--teal), rgba(15, 111, 106, 0.12));
}

.timeline li {
  position: relative;
  display: grid;
  gap: 3px;
}

.timeline li::before {
  position: absolute;
  top: 0.72em;
  left: -18px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--paper-strong);
  border: 2px solid var(--teal);
  border-radius: 50%;
}

.timeline time {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  line-height: 1.55;
}

.timeline span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.62;
}

.map-card {
  position: relative;
  overflow: hidden;
  margin: 4px 20px 14px;
  background: #f8f2e4;
  border: 1px solid rgba(22, 32, 51, 0.1);
  border-radius: 8px;
}

.map-card img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.map-card__marker {
  position: absolute;
  left: var(--map-x);
  top: var(--map-y);
  width: 14px;
  height: 14px;
  background: var(--clay);
  border: 3px solid #fffdf8;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(184, 91, 59, 0.18), 0 7px 16px rgba(22, 32, 51, 0.22);
  transform: translate(-50%, -50%);
}

.location-panel__coords {
  margin: 0;
  padding: 0 20px 22px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.7;
}

.page-sources {
  background: rgba(255, 253, 250, 0.92);
  border-top: 1px solid var(--line);
}

.page-sources__inner {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 32px 0 42px;
}

.page-sources h2 {
  margin: 0 0 14px;
  color: var(--teal-deep);
  font-family: var(--display-font);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.4;
}

.page-sources ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-sources li {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: 14px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.55;
}

.page-sources li span {
  color: var(--muted);
}

.page-sources a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer {
  background: #11192a;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: min(100% - 48px, var(--wide));
  min-height: 106px;
  margin: 0 auto;
  padding: 26px 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.84rem;
}

.site-footer a {
  color: #f1c36f;
}

@media (max-width: 1160px) {
  .shelf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero__title {
    font-size: 3.45rem;
  }

  .highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .hero {
    min-height: 0;
  }

  .hero__inner {
    padding-top: 44px;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero__art {
    min-height: 360px;
  }

  .hero__figure {
    max-height: 430px;
  }

  .article-wrap__inner {
    grid-template-columns: 1fr;
  }

  .side-stack {
    grid-row: auto;
  }

  .sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .shelf-wall {
    --shelf-row-height: 310px;
    --shelf-row-gap: 28px;
    --shelf-base-offset: 98px;
    --shelf-nameplate-bottom: 38px;
    --shelf-y: 10px;
    background-position: center var(--shelf-y), center top, center top;
    background-size: 100% var(--shelf-row-span), 100% 100%, 100% auto;
  }

  .site-header__inner,
  .index-hero__inner,
  .shelf-wall__inner,
  .hero__inner,
  .article-wrap__inner,
  .page-sources__inner,
  .site-footer__inner {
    width: min(100% - 32px, var(--max));
  }

  .site-header__inner {
    gap: 16px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__text strong {
    font-size: 1rem;
  }

  .brand__text small {
    display: none;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.78rem;
  }

  .index-hero__inner {
    padding: 38px 0 32px;
  }

  .index-hero h1 {
    font-size: 2.5rem;
  }

  .shelf-wall__inner {
    padding-top: 24px;
    padding-bottom: 54px;
  }

  .shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
  }

  .shelf-card__figure {
    width: 88%;
    max-width: 220px;
    max-height: calc(var(--shelf-row-height) - var(--shelf-base-offset) + 28px);
  }

  .shelf-card__label {
    width: min(88%, 220px);
    padding: 6px 10% 5px;
  }

  .shelf-card__name {
    font-size: 0.72rem;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(9, 16, 29, 0.58), rgba(9, 16, 29, 0.82)),
      linear-gradient(90deg, rgba(9, 16, 29, 0.42), rgba(9, 16, 29, 0.12));
  }

  .hero__layout {
    gap: 22px;
  }

  .hero__title {
    font-size: 2.65rem;
  }

  .hero__tagline {
    font-size: 0.86rem;
  }

  .hero__lead {
    font-size: 0.95rem;
  }

  .hero__art {
    min-height: 310px;
  }

  .hero__figure {
    max-height: 330px;
  }

  .article-wrap__inner {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .article-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 30px 0;
  }

  .detail-tags {
    margin-top: 0;
  }

  .section-heading h2 {
    font-size: 1.52rem;
  }

  .highlight-grid,
  .sidebar {
    grid-template-columns: 1fr;
  }

  .fact-list__row {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .page-sources li {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (max-width: 480px) {
  .site-header__inner,
  .index-hero__inner,
  .shelf-wall__inner,
  .hero__inner,
  .article-wrap__inner,
  .page-sources__inner,
  .site-footer__inner {
    width: min(100% - 20px, var(--max));
  }

  .shelf-wall {
    --shelf-row-height: 285px;
    --shelf-row-gap: 24px;
    --shelf-base-offset: 88px;
    --shelf-nameplate-bottom: 42px;
    --shelf-y: 6px;
    background-position: center var(--shelf-y), center top, center top;
    background-size: 100% var(--shelf-row-span), 100% 100%, 100% auto;
  }

  .shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
  }

  .shelf-card__figure {
    width: 90%;
    max-width: 150px;
    max-height: calc(var(--shelf-row-height) - var(--shelf-base-offset) + 18px);
  }

  .shelf-card__label {
    width: min(94%, 150px);
    padding: 5px 6% 4px;
  }

  .shelf-card__name {
    font-size: 0.62rem;
  }

  .hero__title {
    font-size: 2.18rem;
  }

  .hero__nameEn {
    font-size: 0.92rem;
  }

  .fact-list__row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
