html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  min-height: 100vh;
  font-family: 'TypeLand', serif;
  background-color: var(--oil_paper_color);
  background-image: url('/img/paper/cover_1.webp');
  background-size: cover;
  background-attachment: fixed; /* ✅ 背景固定 */
  background-repeat: no-repeat;
  background-position: center center;
  color: var(--oil_color_black);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.8;
  letter-spacing: 0.05em;
  overflow-x: hidden;
  user-select: none;
}

@font-face {
  font-family: 'TypeLand';
  src: url('/webfont/TypeLand.woff') format('woff');
}

:root {
  --back_color_01: #F8F8F8;
  --back_color_02: #FFF2D6;
  --oil_color_effect: palevioletred;
  --oil_color_black: rgb(34, 34, 34);
  --oil_paper_color: #FFF2D6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  font-family: 'TypeLand';
}

header {
  display: none;
}

.exhibit-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 4vh 0;
  max-width: 100vw;
}

.herb-card {
  background-image: url('/img/paper/ricepaper.webp');
  background-size: 50%;
  background-repeat: repeat;
  background-position: center;
  width: 92%;
  max-width: 800px;
  padding: 3vh 3vw;
  opacity: 0.85;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.herb-title {
  font-size: 2.6em;
  margin-bottom: 2vh;
  letter-spacing: 0.7rem;
  text-align: center;
}

.herb-image {
  width: 90vw;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 3vh auto 2vh auto;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.25));
}

.herb-content {
  width: 100%;
  margin-top: 1.5vh;
}

.herb-card p {
  text-align: left;
  margin-bottom: 1.2em;
  line-height: 1.9;
  letter-spacing: 0.04em;
  word-break: break-word;
  hyphens: auto;
  font-size: 1.05em;
  padding: 0 0.5vw;
}

footer {
  text-align: center;
  padding: 2vh 0;
  font-size: 0.9em;
  width: 100%;
  letter-spacing: 0.04em;
  opacity: 0.86;
  margin-top: 5vh;
}

.back-button {
  position: fixed;
  top: 1vh;
  left: 1vw;
  width: 160px;
  height: 160px;
  background-image: url('../img/tool/crane.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  z-index: 10;
  cursor: pointer;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
}

.back-button:hover {
  transform: scale(1.1) rotate(-5deg);
}

.stamp-overlay {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  width: 96px;
  opacity: 0.85;
  pointer-events: none;
  z-index: 2;
}
