.input-prepend.input-append input {
  font-size: 24px;
  padding-top: 11px;
  padding-bottom: 11px;
  width: 100px;
  text-align: right;
}

.stock_error {
  color: #DB5656;
}

  /*-- ここから追加　カートに入れるボタン --*/
/* 変更内容202508｜カートに入れるボタンの配色 */
.product-order .btn.btn-lg.btn-addcart {
  background-color: #08b400;
  border-color: #08b400;
  color: #fff;
  width: 100%;
  height: 100px;
  font-weight: 700;
  font-size: 24px;
}

.product-order .btn.btn-lg.btn-addcart:hover,
.product-order .btn.btn-lg.btn-addcart:focus {
  background-color: #53fd4a ;
  border-color: #53fd4a ;
  color: #fff !important;
}

/* アイコン色を文字色に合わせる */
.product-order .btn.btn-lg.btn-addcart i {
  color: inherit !important;
}



  /*-- ここから追加　商品詳細ページのテーブル設定 --*/
table.detail {
  width: 100%;
  border-collapse: collapse;
}

table.detail tr{
  border-bottom: solid 2px white;
}

table.detail tr:last-child{
  border-bottom: none;
}

table.detail th{
  position: relative;
  text-align: left;
  width: 30%;
  background-color: #66a4d9;
  color: white;
  text-align: center;
  padding: 10px 0;
}

table.detail th:after{
  display: block;
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  top:calc(50% - 10px);
  right:-10px;
  border-left: 10px solid #66a4d9;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

table.detail td{
  text-align: left;
  width: 70%;
  text-align: center;
  background-color: #eee;
  padding: 10px 0;
}
  

  /*-- ここから追加　商品詳細ページのテーブル設定　在庫用 --*/

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

table.zaiko tr {
  border-bottom: solid 2px white;
}

table.zaiko tr:last-child {
  border-bottom: none;
}

table.zaiko td {
  text-align: center;
  background-color: #062d4d;
  padding: 10px 0;
  color: white; /* 白字にする */
  font-weight: bold; /* 太字にする */
  font-size: 1.2em; /* 大きくする (必要に応じて調整) */
}

/* 変更内容202508｜問い合わせCTA */
.quote-cta .btn{ margin-right:8px; }
.quote-cta .btn:last-child{ margin-right:0; }

/* 変更内容202508｜SP固定バー（スマホのみ表示） */
.sticky-buy{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:9999;
  display:flex;
  gap:12px;
  justify-content:center;
  align-items:center;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:#fff;
  border-top:1px solid #eee;
  box-shadow:0 -4px 12px rgba(0,0,0,.05);
}
.sticky-btn,
.sticky-link{
  border:1px solid #111;
  background:#fff;
  border-radius:8px;
  padding:8px 12px;
  text-decoration:none;
  line-height:1.2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
@media(min-width:768px){
  .sticky-buy{ display:none; }
}

/* 変更内容202508｜固定バーに隠れない下余白（必要に応じて調整） */
@media(max-width:767.98px){
  #product{ padding-bottom:72px; }
}

/* ==== 202508 追記：問い合わせCTA（CSSのみで体裁調整） ==== */

/* 横並びと間隔 */
#product .quote-cta {
  display: flex;
  gap: 10px;              /* ボタン間のすき間 */
  align-items: stretch;
  justify-content: space-between;
  margin-top: 10px;
}

/* 2ボタンを各50%幅。テーマの .btn を上書きするためセレクタ強め */
#product .quote-cta .btn,
#product .quote-cta .btn.btn-primary {
  flex: 1 1 calc(50% - 5px);
  max-width: calc(50% - 5px);
  min-width: 0;
  box-sizing: border-box;

  height: 100px;
  font-size: 24px;
  font-weight: 700;

  /* 見た目（緑） */
  background-color: #08b400;
  border: 1px solid #08b400;
  color: #fff;
  text-decoration: none;

  /* 中央寄せ（a/buttonどちらでも中央に） */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* 既存 margin-right を打ち消し（あれば） */
  margin-right: 0;
}

/* ホバー／フォーカス時：薄い緑に */
#product .quote-cta .btn:hover,
#product .quote-cta .btn:focus,
#product .quote-cta .btn.btn-primary:hover,
#product .quote-cta .btn.btn-primary:focus {
  background-color: #53fd4a;
  border-color: #53fd4a;
  color: #fff;
}

/* アイコンが黒くならないように継承 */
#product .quote-cta .btn i,
#product .quote-cta .btn.btn-primary i {
  color: inherit;
}

/* モバイルは少し小さめに（任意） */
@media (max-width: 480px) {
  #product .quote-cta .btn,
  #product .quote-cta .btn.btn-primary {
    height: 84px;
    font-size: 20px;
  }
}

/* 変更内容202508｜商品説明先頭リード文を強調（ボックス化） */
#product .product-order-exp .detailforseo{
  display:block;
  margin: 12px 0 24px;
  padding: 16px 20px;
  font-size: 1.2rem;               /* ← サイズを1.2remに固定 */
  line-height: 1.9;
  letter-spacing: .02em;
  color: #222;
  background: #f6fbff;             /* ごく薄いブルー */
  border: 1px solid #e1edf7;
  border-left: 6px solid #062d4d;  /* サイト基調色に合わせた帯 */
  border-radius: 2px;
}

/* リード文内の強調やリンクの読みやすさ */
#product .product-order-exp .detailforseo strong{ font-weight:700; }
#product .product-order-exp .detailforseo a{
  color:#0b62c0; text-decoration:underline;
}
#product .product-order-exp .detailforseo a:hover{
  text-decoration:none;
}

/* 画像や表に近い場合の下余白を少し増やす（任意） */
#product .product-order-exp .detailforseo + *{ margin-top: 14px; }

/* 文字サイズをもう少しだけ大きく見せたい時（任意でON）
#product .product-order-exp .detailforseo{ font-size: clamp(17px, 1.8vw, 20px); }
*/

#product .seo-lead{ display:flex; flex-direction:column; }
#product .seo-lead .leadimg{ order:-1; margin:12px 0 16px; }

/* 変更内容202508｜リード文を本文と同じサイズに強制 */
#product .seo-lead .detailforseo{
  font-size: 1em !important;   /* 親の本文サイズに完全追従 */
  line-height: 1.8;            /* 行間もやや控えめに */
}

