/* マホロバ図書館：絵本の面出し展示（b04.html 専用）
   チャッピー制作の実物の絵本画像（背景透過）を、木の棚板の上に立てて飾る */
.ehon-display {
  background:
    radial-gradient(120% 90% at 50% 0%, #FBF4E0 0%, #F3E8CC 78%);
  border-top: 1px solid #E3D3A8;
  border-bottom: 1px solid #E3D3A8;
  color: #3E3428;
}
.ehon-display-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 58px) clamp(16px, 4vw, 32px) clamp(34px, 6vw, 60px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 5vw, 60px);
}

/* ---------- 棚と本 ---------- */
.ehon-stage {
  padding: 12px 18px 0;
  text-align: center;
}
.ehon-book-link {
  display: inline-block;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.ehon-book-link:focus-visible {
  outline: 3px solid #BC5233;
  outline-offset: 6px;
  border-radius: 4px;
}
.ehon-book-img {
  display: block;
  width: min(300px, 74vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 10px 14px rgba(70, 48, 20, 0.22));
  transition: transform 0.55s cubic-bezier(0.22, 0.9, 0.26, 1);
}
.ehon-book-link:hover .ehon-book-img,
.ehon-book-link:focus-visible .ehon-book-img {
  transform: translateY(-5px) rotate(-1deg);
}
.ehon-book-shadow {
  width: 74%;
  height: 20px;
  margin: -4px auto 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(70, 48, 20, 0.42) 0%, rgba(70, 48, 20, 0) 70%);
  filter: blur(3px);
}
.ehon-shelf {
  /* 木の棚板 */
  width: 132%;
  margin-left: -16%;
  height: 15px;
  border-radius: 3px;
  background: linear-gradient(to bottom, #B08A5A 0%, #8A6844 34%, #6F5133 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 214, 0.55),
    0 12px 20px rgba(70, 48, 20, 0.30);
}

/* ---------- 案内文 ---------- */
.ehon-display-copy { max-width: 430px; }
.ehon-kicker {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #A03E22;
}
.ehon-display-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 1.1rem + 1.6vw, 1.8rem);
  line-height: 1.5;
}
.ehon-display-copy p {
  margin: 0 0 20px;
  line-height: 1.9;
  color: #57492F;
}
.ehon-read-btn {
  display: inline-block;
  background: #BC5233;
  color: #FFF8EC;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 28px;
  box-shadow: 0 4px 14px rgba(160, 62, 34, 0.32);
  transition: transform 0.12s ease, filter 0.2s ease;
}
.ehon-read-btn:hover { filter: brightness(1.07); }
.ehon-read-btn:active { transform: scale(0.97); }
.ehon-read-btn:focus-visible {
  outline: 3px solid #3E3428;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .ehon-display-copy { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ehon-book-img { transition: none; }
  .ehon-read-btn { transition: none; }
}
