/* 基本 */
.product{
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}
.maker{
  font-size: 14px;
  color: #777;
  margin-bottom: 5px;
}
.product-header{
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 25px;
}
.product-title-block{
  flex: 1 1 auto;
  min-width: 0;
}
.product-visual{
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  margin-left: auto;
}
.product-name{
  font-size: 2rem;
  margin: 0 0 5px;
}
.product-sub{
  font-size: 0.9rem;
  color: #888;
  margin: 0;
}
.product-image-wrapper{
  width: 260px;
  height: 240px;
  padding: 16px;
  border: 2px solid #d46a7a;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-image{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.catch{
  font-size: 1.2rem;
  color: #cc0000;
  margin: 20px 0 10px;
}
.description{
  line-height: 1.8;
  margin-bottom: 30px;
}
.info-area{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 25px;
  margin-bottom: 30px;
}
.info-box{
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 30px 18px;
  margin-top: 0;
  margin-bottom: 20px;
}
.info-box h3{
  position: relative;
  padding-left: 12px;
　margin-top: 10px;
  margin-bottom: 10px;
}
.info-box p{
  margin-top: 0;
}
.info-box h3::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #d46a7a;
  border-radius: 50%;
}
.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;
}
/* サブ有 */
.product-image-wrapper,
.main-image-wrapper{
  width: 260px;
  height: 240px;
  padding: 16px;
  border: 2px solid #d46a7a;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sub-image-wrapper{
  width: 180px;
  border-radius: 10px;
  overflow: hidden;
}
.sub-image-wrapper img,
.sub-image{
  width: 100%;
  display: block;
  object-fit: cover;
}
/* 図有り */
.product-chart{
  margin-top: 8px;
  text-align: left;
  margin-bottom: 20px;
}
.product-chart-text img{
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0;
  margin-bottom: 12px;
}
/* モーダル（受賞）有　 */
.award{
  font-size: 0.9em;
  color: #b33;
  margin-top: 4px;
  cursor: pointer;
  display: inline-block;
}
.award-modal{
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.award-modal-content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.award-modal-content img{
  max-width: 90%;
  height: auto;
  border: 4px solid #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  background: #fff;
}

/* 前後ナビ */
.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;
}