/*--- 商品詳細全体 ---*/
.product-top {
 margin-top: 20px;
 display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 1024px) {
  .product-top {
  flex-direction: column;
  }
}


/*--- 商品画像 ---*/
 .p-product-img {
  width: 46%;
  position: relative;
 }
@media screen and (max-width: 1024px) {
  .p-product-img {
    width: 100%;
 }
}


/* =========================
   メイン画像
========================= */
/* ラッパー */
.p-product-img__main{
  border-radius: 8px;
  overflow: hidden;
  max-height: 500px;
}
@media (max-width: 767px) {
  .p-product-img__main {
    max-height: auto;
    aspect-ratio: 1 / 1;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .p-product-img__main {
    aspect-ratio: auto;
    max-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* スライド内の画像 */
.p-product-img__main-item img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .p-product-img__main img {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* =========================
   サムネイル
========================= */
.p-product-img__thumb{
  margin-top: 12px;
  position: relative;
}

/* 横スクロール用のラッパ（slick使用時は上書きで隠す） */
.u-overflow-slide{ overflow: hidden; }
@media (max-width:1024px){
  .u-overflow-slide{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ▼ No-JS時（slick未適用時）の並び */
.p-product-thumb-list{
  display: flex;
  gap: 8px;
  align-items: stretch;
  padding: 0;
  margin: 0;
  list-style: none;
  width: max-content;
}

/* ▼ slick適用後は slick のレイアウトに任せる */
.p-product-thumb-list.slick-initialized{
  display: block !important;   /* ←これが重要：flexを解除 */
  width: 100%;
}
.p-product-thumb-list.slick-initialized .slick-track{
  display: flex;
  align-items: stretch;
}

/* 各サムネの“枠”サイズを固定（5枚見せでもスライド可） */
.p-product-thumb-list__item{
  cursor: pointer;
  flex: 0 0 96px; /* No-JS時だけ効く。slick時は slick が幅計算 */
  list-style: none;
}
.p-product-thumb-list .slick-slide{ padding: 0 6px; box-sizing: border-box; }

.p-product-thumb-list__img{
  width: 96px;
  height: 96px;
  border-radius: 6px;
  overflow: hidden;
}
.p-product-thumb-list__img img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width:767px){
  .p-product-thumb-list__item{ flex-basis: 76px; }
  .p-product-thumb-list__img{ width: 76px; height: 76px; }
}

/* =========================
   サムネイル用の矢印（サムネ枠にのみ適用）
========================= */
.p-product-img__thumb .slick-prev,
.p-product-img__thumb .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #FAFAFA;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #F0F3F5;
}

.p-product-img__thumb .slick-prev:hover,
.p-product-img__thumb .slick-next:hover{
  opacity: .85;
}
.p-product-img__thumb .slick-prev { left: -20px; }
.p-product-img__thumb .slick-next { right: -20px; }

/* 横棒 */
.p-product-img__thumb .slick-prev::after,
.p-product-img__thumb .slick-next::after{
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: #333;
  position: relative;
}

/* 先端 */
.p-product-img__thumb .slick-next::before{
  content: "";
  position: absolute;
  right: 12px;
  width: 6px; height: 6px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
  opacity: 1;
}

.p-product-img__thumb .slick-prev::before{
  content: "";
  position: absolute;
  left: 12px;
  width: 6px; height: 6px;
  border-top: 2px solid #333;
  border-left: 2px solid #333;
  transform: rotate(-45deg);
  opacity: 1;
}

/* slickのデフォルトで矢印が薄くなる対策 */
.p-product-img__thumb .slick-prev:before,
.p-product-img__thumb .slick-next:before{ opacity: 1 !important; }

/* slickの余白・アウトライン調整（テーマ干渉対策） */
.slick-slider{ margin: 0; }
.slick-slide{ outline: none; }


 
 /*--- 商品情報 ---*/
 .product-form {
  width: 50%;
 }
 @media screen and (max-width: 1024px) {
  .product-form {
   margin-top: 20px;
  width: 100%;
 　}
 }

 
 /*商品番号*/
 .p-product-info__id {
  font-size: .9rem;
 }

.product-name-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (max-width:1024px){
  .product-name-group {
  flex-direction: column;
 }
}


/*商品名*/
.product-name {
  margin: 0;
  font-weight: 500;
  font-size: 1.5rem;
}
@media (max-width:767px){
  .product-name {
  font-size: 1.3rem;
 }
}

/*商品アイコン*/
.product-icon .clearfix{
  margin-top: 8px;
}

.product-icon .clearfix {
  display: flex;
}

.product-icon .clearfix li {
  margin-right: 10px;
}

 /*商品価格*/
 .p-product-price__sell {
   margin-top: 20px;
   margin-bottom: 4px;
  font-size: 1.5rem;
   font-weight: 500;
 }


/*レビューを見る*/
.review-link {
 display: block;
 margin: 12px 0;
  cursor: pointer;
}
.review-link:hover {
 opacity: .8;
}

 @media screen and (max-width: 1024px) {
 .review-link {
 display: block;
 }
}

/*オプション価格表*/
.option-price {
 display: none;
}


 /*在庫*/
 .p-product-form-stock__stock {
  font-size: 1.4rem;
   margin-bottom: 30px;
 }
 
 .p-product-form-stock__stock span {
  color: #FF2727;
 }
 
 .option-title {
  font-size: 1.4rem;
 }

/*購入オプション*/
/* オプション table */
.p-product-option-tbl {
 margin-top: 30px;
 margin-bottom: 30px;
 overflow-x: auto;
}
@media screen and (max-width: 767px) {
  .p-product-option-tbl {
    margin: 0;
 }
}

.p-product-option-tbl table {
 margin-bottom: 0;
 width: 100%;
 border: 1px solid #cbcbcb;
 border-top: none;
}
.p-product-option-tbl table div {
 display: inline-block !important;
}

.p-product-option-tbl th, .p-product-option-tbl td {
 padding: 12px 5px;
 border-left: 0;
 border-top: 1px solid #cbcbcb;
 font-weight: 400;
}

.p-product-option-tbl th {
 width: 35%;
 border-right: 1px solid #cbcbcb;
}

.p-product-option-tbl td {
 padding-left: 10px;
 width: 65%;
}

.p-product-option-tbl label {
 display: inline-block!important;
 margin-left: 5px;
 margin-bottom: 0;
}

.p-product-option-tbl input {
 margin-top: 0;
}

/* オプション select */
.p-product-option-select {
margin-bottom: 20px;
}
.p-product-option-select__box {
 margin-top: 15px;
 display: flex;
 align-items: center;
}
.p-product-option-select__ttl {
 margin-bottom: 5px;
 margin-right: 10px;
}

.product_cart_select {
 height: 40px;
 width: 167px;
 border: 1px solid #cbcbcb;
 margin-left: 11px;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
 .product_cart_select {
  width: 45%;
 }
}

 /*数量*/
.product-init-list {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}


/* 数量入力＋ボタン */
.product-init-list__detail {
  display: flex;
  align-items: center;
}


/* + - ボタン共通 */
.product-init-list__detail-updw {
  display: flex;
  margin: 0;
  padding: 0;
}

/* 見出しとUIを横並びに */
.product-init-list{
  display:flex;
  align-items:center;
  gap:12px;
  margin:12px 0;
}

.product-init-list__name {
  font-weight: 400;
  
}

/* 〔− | 数値 | ＋〕一体型ボックス */
.product-init-list__detail-updw{
  display:flex; 
  align-items:center;
  height:44px;
  border:1px solid #cbcbcb;
  border-radius:2px;
  overflow:hidden;
  padding:0; margin:0;
  list-style:none;
}

/* −／＋ ボタン */
.product-init-list__detail-updw > li a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  position:relative;
  user-select:none;
  cursor:pointer;
  border: none;
}

/* − 記号 */
.product-init-list__detail-updw > li:first-child a::before
{
  content:""; width:14px; height:2px; background:#777; display:block;
}

/* ＋ 記号 */
.product-init-list__detail-updw > li:last-child a::before,
.product-init-list__detail-updw > li:last-child a::after{
  content:""; position:absolute; background:#777;
}

.product-init-list__detail-updw > li:last-child a::before{ width:14px; height:2px; }

.product-init-list__detail-updw > li:last-child a::after{ width:2px; height:14px; }

.product-init-list__detail-updw > li a:hover::before,
.product-init-list__detail-updw > li a:hover::after{ background:#555; }


/* 中央の数量入力 */
.product-init-list__detail-num {
  width:80px;
  height:44px;
  text-align:center;
  -moz-appearance:textfield;
  border: none;
  font-size: 1rem;
}

.product-init-list__detail-num::-webkit-outer-spin-button,
.product-init-list__detail-num::-webkit-inner-spin-button{
  -webkit-appearance:none; margin:0;
}

/* 小さめ画面で幅を少しタイトに */
@media (max-width:767px){
  .product-init-list__detail-num{ 
    width:64px; 
  }
}

 
 /*カートに入れるボタン*/
 .p-product-form-btn {
  text-align: center;
  margin-top: 30px;
 }
 
 .p-product-form-btn__cart {
  width: 100%;
   margin: 0 auto;
 }
 
 @media screen and (min-width: 768px) and (max-width: 1024px) {
   .disable_cartin {
    width: 100%;
   }
 .p-product-form-btn__cart {
  width: 65%;
  margin: 0 auto;
  }
 }
 
 .c-btn-cart {
  padding: 15px;
   background: #F8B62B;
   display: flex;
   justify-content: center;
   align-items: center;
   width: 100%;
   color: #fdfdfd;
   border: none;
   border-radius: 6px;
 }
.c-btn-cart:hover {
opacity: .7;
}
 @media screen and (max-width: 767px) {
 .c-btn-cart {
   padding: 10px;
  }
 }
 @media screen and (min-width: 768px) and (max-width: 1024px) {
 .c-btn-cart {
   justify-content: center;
  padding: 12px　60px;
   margin: 0 auto;
  }
 }
 
.c-btn-cart img {
 width: 35px;
 height: 35px;
 margin-right: 10px;

}

 .cart-in {
    color: #fdfdfd;
    font-weight: bold;
   font-size: 1.1rem;
   margin-bottom: 0;
 }

 /*注意事項*/
.p-product-link-list {
  text-align: right;
  margin: 12px 0;
}

.p-product-link-list__item {
  margin: 5px 0;
}

.p-product-link-list__item a {
  font-size: .9rem;
}
 @media screen and (max-width: 767px) {
 .p-product-link-list__item a {
  font-size: .8rem;
   }
 }
 
 /*SNSシェアボタン*/
.sns-share {
 margin: 20px 0;
 text-align: center;
}

.sns-share p {
 font-weight: 600;
  font-size: 1.2rem;
}

.p-product-sns-list {
   margin-top: 10px;
  display: flex;
   justify-content: center;
   gap: 10px;
 }
 @media screen and (min-width: 768px) and (max-width: 1024px) {
 .p-product-sns-list {
  }
 }
 
 .p-product-sns-list li {
 
 }

@media screen and (min-width: 768px) and (max-width: 1024px) {
 .p-product-sns-list li { 

  }
 }

 
 /*--- 商品説明 ---*/
.product-explain {
 margin-top: 60px;
}
@media screen and (max-width: 1024px) {
 .product-explain {
 margin-top: 20px;
   margin-bottom: 20px;
  }
}

.product-order-exp {
 margin-bottom: 60px;
}

 .product-order-exp p {
  line-height: 1.8rem;
  font-size: 1rem;
 }

/* ===== tableベースのスペック表 ===== */
#product table {
  width: 100%;
	margin:0 0 30px;
}
#product table tr th {
	width: 18%;
  font-weight: 400;
	background: #F6F3EE;
	border:1px solid #eee;
	padding:14px;
  text-align: left;
}
@media screen and (max-width: 767px) {
  #product table tr th {
	width: 30%;
    padding: 8px
 }
}

#product table tr td {
	border:1px solid #eee;
	padding:14px;
}

/*注意書き*/
.itemexplain_wrapping {
	border:1px solid #f29839;
	background:url(https://file001.shop-pro.jp/PA01313/899/image/itempage/itemexplain_wrapping_icon.png) no-repeat 10px center;
	border-radius:2px;
	padding:11px 9px 11px 60px;
	margin:0 0 60px;
	color:#f29839;
  letter-spacing:-0.5px;
}

.itemexplain_wrapping a {
	color:#836545;
	text-decoration:underline;
}

 /*関連商品*/
.p-product-recommend .product-list {
   display: grid;
   grid-template-columns: 1fr 1fr 1fr;
   gap: 20px;
  }
  @media screen and (max-width: 767px) { 
.p-product-recommend .product-list {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  　}
  }
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .product-list {
   grid-template-columns: 1fr 1fr 1fr;
  　}
  }
  
  .product-item {
  margin-bottom: 30px;
  }
  @media screen and (max-width: 767px) { 
  .product-item {
   margin: 10px 0;
  　}
  }
  @media screen and (min-width: 768px) and (max-width: 1024px) {
  .product-item {
   margin: 10px 0;
  　}
  }
  
  
  .item-image {
   width: 100%;
    object-fit: cover;
    margin: 10px auto;
    text-align: center;
  }
  
  .item-name {
   width: 100%;
  }
  
  .item-price {
    margin-top: 10px;
   text-align: right;
  }
  
  .soldout {
    text-align: right;
   color: red;
  }
  
  .extra {
   text-align: center;
  }

 /*--- レビュー ---*/
 .p-product-review {
   margin-bottom: 80px;
 }
 .p-product-review__item {
   box-sizing: border-box;
   margin-bottom: 30px;
   padding: 20px;
   border: 1px solid #cbcbcb;
 }
 @media screen and (max-width: 767px) {
   .p-product-review__item {
     padding: 20px;
   }
 }
 .p-product-review__heading {
   margin-bottom: 15px;
 }
 .p-product-review__ttl {
   margin-top: 10px;
   margin-bottom: 10px;
   font-size: 1.2rem;
   font-weight: 500;
 }
.icon_star {
  float: left;
  width: 75px;
  overflow: hidden;
  margin-top: 6px;
  margin-right: 10px;
}
@media screen and (max-width: 1030px) {
  .icon_star {
  margin-top: 4px;
  }
}
.icon_star img {
  max-width: inherit;
}
 .p-product-review-info {
   margin-top: 10px;
   margin-bottom: 10px;
 }
 .p-product-review-info__item {
   display: inline-block;
   font-size: 12px;
 }
 .p-product-review-info__item.is-type {
   margin-right: 6px;
 }
 .p-product-review__img {
   margin-bottom: 15px;
   text-align: center;
 }
 .p-product-review__body {
   margin-top: 15px;
   line-height: 2;
 }

 /* レビュー 返信 */
 .p-product-review-reply {
   box-sizing: border-box;
   margin-top: 30px;
   padding: 15px 0;
   border-top: 1px solid #aaaaaa;
   border-bottom: 1px solid #aaaaaa;
 }
 .p-product-review-reply__ttl {
   font-weight: bold;
 }
 .p-product-review-reply__body {
   font-size: 12px;
 }
 .p-product-review-reply__date {
   font-size: 12px;
 }
 .p-product-review__btn {
   margin-top: 45px;
   text-align: center;
 }
 @media screen and (max-width: 767px) {
   .p-product-review__btn {
     margin-top: 30px;
   }
 }

 .p-product-review__btn a {
   background-color: #F6F3EE;
   display: inline-block;
   padding: 12px 50px;
   font-size: 1.2rem;
 }

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