/* 全体レイアウト */
.main-content-grid {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.main-content-left {
  width: 100%;
  max-width: 960px;
}

/* タイトルとセクション */
.product-title, .section-title {
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  color: #004d99; /* 深い青色 */
  margin-bottom: 2rem;
}

.product-title {
  font-size: 2.5rem;
  border-bottom: 2px solid #e0eaf3;
  padding-bottom: 1rem;
}

.section-title {
  font-size: 1.8rem;
  position: relative;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #004d99;
}

/* 価格表のスタイル */
.option-table-wrapper {
  overflow-x: auto;
}

.option-table-wrapper table {
  width: 100%;
  border-collapse: collapse;
}

.option-table-wrapper th,
.option-table-wrapper td {
  padding: 12px 8px;
  border: 1px solid #cce7ff;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
}

.option-table-wrapper thead th {
  background-color: #004d99;
  color: white;
  font-weight: bold;
  border-color: #004d99;
}

.option-table-wrapper tbody th {
  background-color: #e0eaf3;
  color: #004d99;
  font-weight: bold;
}

.option-table-wrapper tbody td {
  background-color: #f0f8ff;
  transition: background-color 0.3s;
  cursor: pointer;
}

/* マウスオーバー時の色変更 */
.option-table-wrapper tbody td:hover {
  background-color: #d1e5f5;
}

/* 選択された<td>のスタイル */
.option-table-wrapper tbody td.selected {
  background-color: #004d99;
  color: white;
  font-weight: bold;
}

.option-table-wrapper tbody td.selected label {
  color: white; /* 選択時の価格の色も白に */
}

/* 数量調整とカートボタン */
.purchase-actions {
  text-align: center;
}

.quantity-control {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.quantity-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  color: #333;
  margin-right: 1rem;
}

.quantity-input {
  width: 60px;
  text-align: center;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 0 5px;
  -moz-appearance: textfield;
}

.quantity-btn {
  background-color: #004d99;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  font-size: 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.quantity-btn:hover {
  background-color: #003366;
}

.cart-btn-wrapper {
  margin-top: 1rem;
}

.cart-btn {
  background-color: #004d99;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 77, 153, 0.2);
}

.cart-btn:hover {
  background-color: #003366;
  transform: translateY(-2px);
}

.cart-btn i {
  margin-right: 10px;
}

.soldout-message {
  padding: 1rem;
  background-color: #f2f2f2;
  color: #666;
  border: 1px solid #ddd;
  text-align: center;
  border-radius: 8px;
}

/* 名入れフォーム */
.input-form-group {
  text-align: center;
}
.form-label {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  margin-right: 10px;
}
.form-input {
  width: 80%;
  max-width: 400px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}