body {
  margin: 0;
  padding: 40px 20px;
  background: #eef2f7;
  font-family: "UD デジタル 教科書体", "游ゴシック", sans-serif;
  color: #445;
  text-align: center;
}

.page-title {
  margin-bottom: 50px;
  letter-spacing: 0.15em;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto 80px;
}

.book-card {
  background: rgba(255,255,255,0.7);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.cover {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  margin-bottom: 16px;
}

.samples {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 16px;
}

.samples img {
  width: 24%;              /* ★小さく */
  opacity: 0.85;           /* ★少し引く */
  border-radius: 6px;
}

.book-samples {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.book-samples img {
  width: 100px;              /* 普段は小さめ */
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-samples img:hover {
  transform: scale(2.2);     /* ホバーで拡大 */
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.book-title {
  font-size: 1rem;
  margin: 10px 0;
  letter-spacing: 0.08em;
}

.related {
  margin-top: 12px;
}

.related a {
  display: inline-block;
  margin: 4px 10px;
  font-size: 0.85rem;
  color: #889;
  text-decoration: none;
}

.related a:hover {
  color: #566687;
  text-decoration: underline;
}

.links a {
  display: inline-block;
  margin: 6px 10px;
  text-decoration: none;
  color: #566687;
  font-size: 0.9rem;
}

.links a:hover {
  text-decoration: underline;
}

.back a {
  text-decoration: none;
  color: #566687;
}
