body {
  margin: 0;
  font-family: sans-serif;
  background-color: #f3f4f6;
  color: #333;
  padding-top: 80px;
  padding-bottom: 60px;
}

.section-title {
  max-width: 100%;
  color: #FFF;
  background-color: #F44336;
}

h1 {
  font-size: 16px;
  color: #FFF;
  padding: 10px 0 10px;
}

h2 {
  font-size: 14px;
  padding: 0 10px;
}

.ranking {
  padding: 10px;
}

.ranking-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  background-color: #4B4B4B;
}

h3 {
  font-size: 14px;
  color: #FFF;
  background-color: #4B4B4B;
}

.rank-icon {
  position: relative;
  width: 50px;
  height: 50px;
  margin-right: 10px;
  flex-shrink: 0;
  padding: 0 10px;
}

.rank-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-icon {
  position: relative;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  flex-shrink: 0;
  padding: 0 10px;
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rank-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 4px rgba(0,0,0,0.5);
}

.brand-button {
  padding: 5px;
  display: flex; /* 中央揃えのためにflex */
  justify-content: center;
  align-items: center;
  font-weight: bold;
  border-radius: 8px;
  background: linear-gradient(90deg, #1a1a1a, #4d4d4d, #1a1a1a);
  margin: 20px auto; /* 中央に配置 */
  width: fit-content;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.brand-button a {
  padding: 10px 16px;
  text-decoration: none;
  color: #E1BF00;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
}

.age-list {
  display: flex;
  flex-direction: column;
  gap: 0; /* 年代ごとの隙間なし */
}

.age-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 12px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.age-text {
  display: flex;
  align-items: center;
  gap: 16px;
}

.age-image {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
}

.age-text a {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.age-text a:hover {
  color: #d62828;
}

.arrow-icon {
  width: 16px !important;
  height: 16px !important;
  object-fit: contain;
  flex-shrink: 0;
}

.footer {
  background: #D0A933;
  color: #FFF;
  padding: 20px;
  text-align: center;
}

.reviewed-product {
  margin: 24px 0;
  padding: 16px;
  background: #f9f9f9;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
}

.product-info {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.review-item-img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 16px;
}

.text-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-name {
  font-weight: bold;
  font-size: 14px;
  color: #333;
}

.product-price {
  font-size: 13px;
  color: #d62828;
}

@media screen and (min-width: 768px) {
  body {
    padding: 100px 200px 100px 200px;
  }

  .header-inner {
    padding: 0 200px 0 200px; /* ← 横に余白を追加（上下0px, 左右200px） */
  }
}