body {
  font-family: sans-serif;
  margin: 0;
}

header, footer {
  background-color: #ffffff;
  padding: 10px 20px;
}

.header-top {
  display: flex;
  align-items: center;
  padding: 10px 40px;
  border-bottom: 1px solid #ccc;
  background-color: #fff;
  gap: 20px;
}

.search-bar input {
  width: 300px;
  padding: 5px;
}

.main {
  display: flex;
  padding: 20px;
}

.sidebar {
  width: 200px;
}

.content {
  flex: 1;
}

.banner {
  width: 100%;
  height: 150px;
  background-color: #f3f3f3;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

.product {
  display: inline-block;
  width: 150px;
  margin: 10px;
  vertical-align: top;
}

.product a {
  display: block;
  width: 100%;
}

.product-image-wrapper {
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
  background: #f0f0f0;
  position: relative;
}

.product img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
}

.review {
  clear: both;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  margin-top: 10px;
}


/* 3カラムレイアウト用 */
.main-3col {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.sidebar {
  width: 20%;
}

.content {
  width: 50%;
}

.recommend {
  width: 30%;
}


/* ヘッダー内のロゴとテキスト整列用 */
.header-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 15px;
  gap: 20px;
}

.header-left img {
  height: auto;
  width: 180px;
  margin-bottom: 2px;
}

.header-left span {
  display: none;
}

.header-left small {
  font-size: 12px;
  color: #555;
  margin-top: 4px;
  text-align: left;
}

.header-right {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 4px;
}