/* ギフト用 */
.product{
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}
.maker{
  font-size: 14px;
  color: #777;
  margin-bottom: 5px;
}
.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.product-title-block h1,
.product-title-block h2{
  margin: 0;
}
.product-set-name{
  margin-bottom: 10px !important;
}
.product-flavor-name{
  font-size: 1.1em;
  color: #666;
  margin-top: 0;
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-flavor-name .accent{
  width: 6px;
  height: 6px;
  background: #c00; /* 赤 */
  border-radius: 50%;
  display: inline-block;
}
.product-image-wrapper{
  width: 45%;
}
.product-image{
  width: 100%;
  border-radius: 8px;
}
.sub-image-wrapper{
  text-align: right;
  margin: 28px 0 25px;
}
.sub-image{
  width: 38%;
  max-width: 400px;
  border-radius: 8px;
  display: inline-block;
}
.description{
  margin: 20px 0;
  line-height: 1.7;
}
.info-area{
  margin-top: 20px;
}
.info-box{
  margin-bottom: 20px;
}
.info-box h3{
  border-left: 4px solid #c00;
  padding-left: 8px;
  margin-bottom: 6px;
}
.info-box table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.info-box table th,
.info-box table td{
  text-align: left;
  padding-left: 6px;
}
.info-box th{
  width: 35%;
  text-align: left;
  padding: 10px 0;
  color: #555;
  font-weight: 600;
}
.info-box td{
  padding: 8px 0;
}
.info-box .row{
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.info-box .row h3{
  margin: 0;
}
.info-box .row p{
  margin: 0;
}
.info-area .info-box{
  padding-top: 16px;
}
.info-area .info-box h3{
  margin-top: 0;
}
.info-box .note{
  font-size: 0.85rem;
  color: #666;
  margin-top: 2px;
  margin-bottom: 4px;
  text-align: right;
}
.note-red{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95em;
  color: #555;
  margin-top: 24px;
}
.red-dot{
  width: 8px;
  height: 8px;
  background: #c00; /* 赤 */
  border-radius: 50%;
  flex-shrink: 0;
}
/* 前後ナビ */
.product-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 8px;
  padding: 0;
  border-top: none;
}
.product-nav a,
.product-nav .disabled {
  font-size: 15px;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: #333;
}
.product-nav a:hover {
  color: #cc0000;
  text-decoration: underline;
}
.product-nav .disabled {
  color: #bbb;
  cursor: default;
  pointer-events: none;
}
.product-nav .divider {
  color: #ccc;
  font-size: 15px;
}

/* カテゴリー */
.related-products h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #cc0000;
  margin-bottom: 16px;
}
.related-products {
  margin-top: 30px;
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid #ddd;
}

/* 商品一覧：3列固定（grid） */
.related-products .related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 10px;   /* ← 行間を詰める（ここが重要） */
  column-gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.related-products .related-list a,
.related-products .related-list .current {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.03em;
  position: relative;
  padding-right: 12px;
  word-break: break-word;
}
.related-products .related-list a:hover {
  color: #cc0000;
  text-decoration: underline;
}
.related-products .related-list a::after,
.related-products .related-list .current::after {
  content: "｜";
  position: absolute;
  right: -10px;
  top: 0;
  color: #ccc;
}
.related-products .related-list li:last-child a::after,
.related-products .related-list li:last-child .current::after {
  content: "";
}
.related-products .related-list .current {
  color: #999;
  font-weight: 600;
  cursor: default;
}
