
.shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(184px,1fr));gap:30px 22px}
.shelf a{display:block;width:min(100%,172px);justify-self:center;min-width:0;color:inherit;text-decoration:none}
.shelf img{display:block;width:100%;height:auto;aspect-ratio:0.56;object-fit:contain;object-position:bottom}
.shelf h4{overflow-wrap:anywhere;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:14px;line-height:1.6;margin:10px 0 0}
.shelf a:hover h4{text-decoration:underline}
.publication{max-width:980px;margin:auto;padding:40px 20px 72px}
.publication article{display:grid;grid-template-columns:minmax(150px,240px) minmax(0,1fr);gap:36px;margin-top:22px;align-items:start}
.publication article img{width:100%;height:auto}
.publication h1{font-size:clamp(22px,3vw,34px);line-height:1.45}
.publication .book-desc{font-size:16px;margin:18px 0;line-height:1.85}
@media(max-width:600px){.shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}.shelf a{width:min(100%,148px)}.publication article{display:block}.publication article img{display:block;max-width:155px;margin:0 auto 24px}}

#books .publication-genre{padding:0;margin:2rem 0 3rem}.publication-genre>h3{border-bottom:1px solid #bcb3a6;padding-bottom:.4em;margin-bottom:1.2em}

.book-facts{display:grid;grid-template-columns:max-content 1fr;gap:.25rem 1rem;margin:1rem 0;padding:.8rem 0;border-block:1px solid #d5cdc3;font: .9rem/1.6 sans-serif}.book-facts dt{font-weight:600}.book-facts dd{margin:0;overflow-wrap:anywhere}

.publication .book-section-title{margin:1.5rem 0 .5rem;font-size:1.05rem}.publication .book-section-title + .book-desc,.publication .book-section-title + .book-facts{margin-top:.5rem}

.publication .book-facts + .book-links {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}
.publication .book-facts + .book-facts {
  border-top: 0;
}

.edition-comparison{width:100%;border-collapse:collapse;font: .9rem/1.6 sans-serif}
.edition-comparison th,.edition-comparison td{text-align:left;vertical-align:top;padding:.45rem .35rem}
.edition-comparison tr{border-bottom:1px solid #d5cdc3}
.edition-comparison th[scope=row]{white-space:nowrap}
.edition-comparison td{overflow-wrap:anywhere}
.publication .edition-comparison + .book-links{border-top:0}

.shelf-art {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  --cover-height: clamp(160px, 19vw, 248px);
}
.shelf-art a { width: min-content; }
.shelf-art img {
  height: var(--cover-height);
  width: auto;
  max-width: none;
  aspect-ratio: auto;
}
.shelf-art h4 { width: 0; min-width: 100%; }
@media (max-width: 600px) {
  .shelf-art { --cover-height: clamp(106px, 35vw, 178px); }
}
