body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
}
header {
  background-color: #fffbe6;
  padding: 20px;
  text-align: center;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo {
  margin-right: 10px;
}
.logo img {
  max-width: 100px;
  height: auto;
}
.site-description {
  margin-top: 10px;
  font-size: 1.1em;
  color: #555;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #ffd700;
  text-align: center;
}
nav li {
  display: inline-block;
  margin: 10px;
}
nav a {
  text-decoration: none;
  color: #333;
}
.container {
  width: 80%;
  margin: 20px auto;
  background-color: #fff;
}
.featured-books, .latest-reviews {
  margin-bottom: 20px;
}
.book-list, .review-list {
  display: flex;
  justify-content: space-around;
}
.book-item, .review-item {
  border: 1px solid #ccc;
  padding: 10px;
  width: 30%;
}
.book-item h3 {
  background-color: transparent;
}
footer {
  padding: 10px;
  text-align: center;
  color: #666;
}

/* 書籍一覧ページの画像サイズ調整 */
.book-item-list {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.book-item-list img {
  width: 90px;
  height: 150px;
  object-fit: contain;
  margin-right: 10px;
}
.book-item-list h3 {
  margin: 0;
  display: inline-block;
}
.book-item-list .volume {
  display: inline-block;
  margin-left: 5px;
}

/* MY本棚ページの画像サイズ調整 */
.book-item img {
  width: 90px;
  height: 150px;
  object-fit: contain;
}

.mypage-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.default-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: yellow;
}

#mypage_contain {
  width: 60%; /* 幅を調整 */
  margin: 20px auto;
  background-color: #fff;
  padding: 20px; /* 余白を追加 */
}

/* プロフィール設定リンクのスタイル */
.profile-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.profile-link:hover {
  background-color: #0056b3;
}

/* スマホ版スタイル */
@media (max-width: 768px) {
  .container {
      width: 95%;
  }
  .book-list, .review-list {
      flex-direction: column;
      align-items: center;
  }
  .book-item, .review-item {
      width: 90%;
      margin-bottom: 10px;
  }
}