/* ----------------------------------------
   🧾 全体スタイル
---------------------------------------- */

html, body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
  color: #111;
  line-height: 1.9;
}

/* ----------------------------------------
   📖 小説本文
---------------------------------------- */

.novel-container {
  max-width: 720px;
  margin: 100px auto 80px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.novel-text p {
  margin-bottom: 1.5em;
  white-space: pre-line;
  font-size: 1.1rem;
}

/* ----------------------------------------
   🌿 葉っぱ画像（上＝大きめ、下＝小さめ＋反転）
---------------------------------------- */

.leaf {
  position: fixed;
  display: block;
  object-fit: contain;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

.leaf-top {
  top: 0;
  left: 20px;
  width: 160px;
  margin: 0;
}

.leaf-bottom {
  bottom: 0;
  right: 20px;
  width: 100px;
  transform: scaleY(-1);
  margin: 0;
}

/* ----------------------------------------
   🔗 フッターリンク
---------------------------------------- */

.footer-links {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  border-top: 1px solid #ccc;
  padding-top: 30px;
  font-size: 1rem;
}

.footer-links a {
  color: #444;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #007acc;
}

/* ----------------------------------------
   📱 レスポンシブ対応
---------------------------------------- */

@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  h1 {
    font-size: 1.5rem;
  }

  .novel-text p {
    font-size: 1rem;
  }

  .leaf-top {
    width: 120px;
  }

  .leaf-bottom {
    width: 80px;
  }
}
