/*サイドバーとの分割*/
.product-divide {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}
@media screen and (max-width: 1024px) {
  .product-divide {
    flex-direction: column;
  }
}

/*ページタイトル*/
@media screen and (max-width: 767px) {
 .subpage-block h1 {
 top: 30%;
  left: 2%;
   right: 2%;
   transform: none;
  font-size: 1.8rem;
 }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
 .subpage-block h1 {
    top: 33%;
  left: 2%;
   right: 2%;
   transform: none;
  font-size: 2rem;
 }
}

/*サイドバー*/
#side {
 width: 25%;
}
@media screen and (max-width: 1024px) {
  #side {
    order: 2;
    width: 100%;
  }
}

.side-category {
 margin-bottom: 40px;
}

.side-title {
 background-color: #3B833D;
  color: #fdfdfd;
  padding: 15px;
  font-weight: 400;
  font-size: 1.4rem;
}

.side-contents li {
 border-bottom: 1px solid #A7A696;
 padding-bottom: 10px;
  margin: 10px 0;
}

.side-image {
  width: 60px;
  height: 60px;
 border-radius: 50%;
}

.side-sns {
 margin-top: 50px;
}
@media screen and (max-width: 767px) {
  .side-sns {
  text-align: center;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .sns-contents {
  display: flex;
  flex-wrap: wrap;
   gap: 20px;
  }
}


.sns-contents li {
 margin-bottom: 20px;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .sns-contents li{
  width: 20%;
  }
}

.sns-contents li a img {
 width: 85%;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .sns-contents li a img{
  width: 100%;
  }
}


/*商品詳細*/
.product-container {
 width: 70%;
}
@media screen and (max-width: 1024px) {
  .product-container {
    width: 100%;
  }
}

.product-top {
 display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 1024px) {
  .product-top {
  flex-direction: column;
  }
}

/*上部レイアウト*/
 .p-product-img {
  width: 50%;
 }
 
 @media screen and (max-width: 1024px) {
   .p-product-img {
     margin-left: auto;
     margin-right: auto;
     width: 100%;
   }
 }
  
 .p-product-img__main {
   text-align: center;
   width: 100%;
 }
 
 @media screen and (max-width: 767px) {
   .p-product-img__main {
     margin-left: auto;
     margin-right: auto;
   }
 }
 .p-product-img__main-item {
   position: relative;
   text-align: center;
 }
 @media screen and (max-width: 767px) {
   .p-product-img__main-item {
     text-align: center;
   }
 }
 .p-product-img__main-item:before {
   content: "";
   display: block;
   padding-top: 100%;
 }
 .p-product-img__main-item a {
   display: block;
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
 }
 .p-product-img__main-item img {
   display: inline-block;
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   margin: auto;
   margin-top: 0;
   width: auto !important;
   max-width: 100%;
   max-height: 100%;
   text-align: center;
 }
@media screen and (min-width: 768px) and (max-width: 1024px) {
 .p-product-img__main-item img {
 }
}

 .p-product-thumb-list {
   display: flex;
   flex-wrap: wrap;
   margin-left: -4px;
   margin-right: -4px;
   margin-top: 10px;
 }
 @media screen and (max-width: 767px) {
   .p-product-thumb-list {
     margin-left: 0;
     margin-right: 0;
     margin-top: 15px;
   }
 }
@media screen and (min-width: 768px) and (max-width: 1024px) {
 .p-product-thumb-list {
   margin-top: -140px;
 }
}

 .p-product-thumb-list__item {
   box-sizing: border-box;
   margin-bottom: 8px;
   padding-left: 4px;
   padding-right: 4px;
   width: 20%;
   transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
 }
 @media screen and (max-width: 1024px) {
   .p-product-thumb-list__item {
     margin-right: 5px;
     padding-left: 0;
     padding-right: 0;
     width: 90px;
   }
 }
 @media screen and (max-width: 767px) {
   .p-product-thumb-list__item {
     margin-right: 5px;
     width: 60px;
   }
 }
 .p-product-thumb-list__item:hover, .p-product-thumb-list__item.is-current {
   opacity: 0.7;
   cursor: pointer;
 }
 @media screen and (max-width: 1024px) {
   .p-product-thumb-list__item img {
     width: 90px;
   }
 }
 @media screen and (max-width: 767px) {
   .p-product-thumb-list__item img {
     width: 60px;
   }
 }
 .p-product-thumb-list__img {
   /* overflow用 */
   position: relative;
   text-align: center;
 }
 @media screen and (max-width: 1024px) {
   .p-product-thumb-list__img {
     width: 90px;
   }
 }
 @media screen and (max-width: 767px) {
   .p-product-thumb-list__img {
     width: 60px;
     text-align: center;
   }
 }
 .p-product-thumb-list__img:before {
   content: "";
   display: block;
   padding-top: 100%;
 }
 .p-product-thumb-list__img img {
   display: inline-block;
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   margin: auto;
   width: auto !important;
   max-width: 100%;
   max-height: 100%;
   text-align: center;
 }

 /* 商品画像 slider */
 .p-product-img__main .slick-track {
   margin-left: 0;
   margin-right: 0;
 }
 .p-product-img__main .slick-prev, .p-product-img__main .slick-next {
   top: 42%;
   width: 30px;
   height: 30px;
   transition: all 0.4s ease;
   z-index: 1;
 }
 @media screen and (max-width: 767px) {
   .p-product-img__main .slick-prev, .p-product-img__main .slick-next {
     width: 45px;
     height: 45px;
   }
 }
 .p-product-img__main .slick-prev:before, .p-product-img__main .slick-next:before {
   content: "";
   position: absolute;
   top: 7px;
   left: 10px;
   width: 15px;
   height: 15px;
   border-left: 1px solid #333;
   border-top: 1px solid #333;
   transition: all 0.4s ease;
   z-index: 1;
 }
 @media screen and (max-width: 767px) {
   .p-product-img__main .slick-prev:before, .p-product-img__main .slick-next:before {
     top: 35px;
   }
 }
 .p-product-img__main .slick-prev {
   left: 15px;
 }
 @media screen and (max-width: 767px) {
   .p-product-img__main .slick-prev {
     left: -10px;
   }
 }
 .p-product-img__main .slick-prev:before {
   transform: rotate(-45deg);
 }
 @media screen and (max-width: 767px) {
   .p-product-img__main .slick-prev:before {
     left: 17px;
   }
 }
 .p-product-img__main .slick-next {
   right: 15px;
 }
 @media screen and (max-width: 767px) {
   .p-product-img__main .slick-next {
     right: -10px;
   }
 }
 .p-product-img__main .slick-next:before {
   left: 4px;
   transform: rotate(135deg);
   top: 5px;
 }
 @media screen and (max-width: 767px) {
   .p-product-img__main .slick-next:before {
     left: 13px;
     top: 31px;
   }
 }
@media screen and (min-width: 768px) and (max-width: 1024px) {
   .p-product-img__main .slick-next:before {
     top: 3px;
   }
 }
 
 /*商品情報*/
 .product-info {
  width: 42%;
 }
 @media screen and (max-width: 1024px) {
  .product-info {
   margin-top: 20px;
  width: 100%;
 　}
 }

 /*商品番号*/
 .p-product-info__id {
  
 }
 
 /*商品価格*/
 .p-product-price__sell {
  font-size: 1.5rem;
   font-weight: bold;
   margin-top: 20px;
 }
 @media screen and (max-width: 1024px) {
 .p-product-price__sell {
  text-align: center;
  }
 }

/*お客様の声を見る*/
.review-link {
 display: block;
 margin: 12px 0;
  cursor: pointer;
}
.review-link:hover {
 opacity: .8;
}

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

/*オプション価格表*/
.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;
 }

/*購入欄*/
.product-top .back-color2 {
padding: 15px;
margin-top: 20px;
 border-radius: 15px;
}
 
 /*購入オプション*/
/* オプション table */
.p-product-option-tbl {
 margin-top: 30px;
 margin-bottom: 30px;
 overflow-x: auto;
}
.p-product-option-tbl table {
 margin-bottom: 0;
 border-left: 0;
 border-right: 0;
 width: 100%;
}
.p-product-option-tbl table div {
 display: inline-block !important;
}
.p-product-option-tbl th {
 min-width: 100px;
}
.p-product-option-tbl th, .p-product-option-tbl td {
 padding: 12px 5px;
 border-top: 1px solid #dddddd;
 border-bottom: 1px solid #dddddd;
 border-left: 0;
 text-align: center;
}
.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;
 font-weight: 500;
 margin-right: 10px;
}

.product_cart_select {
height: 40px;
 width: 100px;
 border: 1px solid #333;
 margin-left: 10px;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
 .product_cart_select {
  width: 45%;
 }
}
 
 /*購入フォーム　数量*/
 .product-init-list {
  display: flex;
   align-items: center;
 }
 @media screen and (max-width: 1024px) {
 .product-init-list {
   justify-content: center;
   }
 }
 
 .product-init-list__name {
   font-weight: 500;
   margin-right: 20px;
 }
 
 .product-init-list__detail {
  display: flex;
   align-items: center;
 }
 .product-init-list__detail input {
  height: 40px;
   width: 100px;
   border: 1px solid #333;
 }
 
 .product-init-list__detail-updw {
  margin-left: 5px;
   margin-top: 5px;
   margin-bottom: 0;
 }
 
 /*カートに入れるボタン*/
 .p-product-form-btn {
  text-align: center;
 }
 
 .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: 20px;
   background: #3B833D;
   display: flex;
   justify-content: center;
   align-items: center;
   width: 100%;
   color: #fdfdfd;
 }
.c-btn-cart:hover {
opacity: .6;
}
 @media screen and (max-width: 767px) {
 .c-btn-cart {

  }
 }
 @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.2rem;
   margin-bottom: 0;
 }
 
 /*SNSシェアボタン*/
.sns-share {
 margin: 20px 0;
}

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

.p-product-sns-list {
   margin-top: 10px;
  display: flex;
   justify-content: space-around;
   text-align: center;
 }
 @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 { 

  }
 }

 /*購入欄各リンク*/
.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;
}
 
 /*商品説明*/
.product-explain {
 margin-top: 80px;
}
@media screen and (max-width: 1024px) {
 .product-explain {
 margin-top: 50px;
   margin-bottom: 80px;
  }
}

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


 .product-order-exp p {
  padding-left: 10px;
  font-size: 1rem;
 }

  border-top: 2px solid #A7A696;
  border-right: 2px solid #A7A696;
  transform: rotate(45deg); 
}

.category-list-child-image {
 margin-right: 10px;
  border-radius: 50%;
}


 /*関連商品*/
 .product-list {
   display: flex;
    flex-wrap: wrap;
  }
  @media screen and (max-width: 767px) { 
  .product-list {
    justify-content: space-between;
  　}
  }
  
  .product-item {
   width: calc(90%/3);
  margin: 0 10px 30px 10px;
  }
  @media screen and (max-width: 767px) { 
  .product-item {
   width: calc(93%/2);
  margin: 10px 5px;
  　}
  }
  @media screen and (min-width: 768px) and (max-width: 1024px) {
  .product-item {
   width: calc(90%/3);
  margin: 10px;
  　}
  }
  
  
  .item-image {
   width: 100%;
    height: 250px!important;
    object-fit: cover;
    margin: 10px auto;
    text-align: center;
  }
 @media screen and (max-width: 767px) {
   .item-image {
   height: 160px!important;
   }
 }
 
  @media screen and (min-width: 768px) and (max-width: 1024px) {
  .item-image {
    height: 220px!important;
  　}
  }

 /*レビュー*/
 .product-related-list,.product-review p {
  padding-left: 15px;
 }

.p-product-review__btn {
 margin-top: 20px;
}

.p-product-review__btn a  {
 font-size: 1.2rem;
}

.p-product-review__btn a img {
  margin-right: 10px;
 width: 40px;
  height: 40px;
}
@media screen and (max-width: 767px) {
.p-product-review__btn a img {
 width: 30px;
  height: 30px;
  }
}

/*追従購入ボタン*/
.fixed-cart-block {
  position: fixed;
  bottom: 0;
  left: 0;
 width: 100%;
  background-color: #3B833D;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  opacity: 0;
  visibility: hidden;
}

.fixed-cart-block.show {
  opacity: 1;
  visibility: visible;
}

.fixed-cart-contents {
 display: flex;
 justify-content: space-between;
  align-items: center;
 color: #fdfdfd;
 max-width: 60%;
 margin: 0 auto;
 padding: 10px 0;
}
@media screen and (max-width: 1024px) {
  .fixed-cart-contents {
 max-width: 100%;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .fixed-cart-contents {
 justify-content: center;
  }
}

.fixed-product-name {
 width: 40%;
 font-size: 1.2rem;
  font-weight: 600;
}
@media screen and (max-width: 1024px) {
  .fixed-product-name {
    display: none;
  }
}

.fixed-price {
 width: 20%;
 font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .fixed-price {
    width: 35%;
  }
}

.fixed-cart-contents .p-product-form-btn {
 width: 35%;
}
@media screen and (max-width: 1024px) {
.fixed-cart-contents .p-product-form-btn {
 width: 60%;
  }
}

.fixed-cart-contents .p-product-form-btn .c-btn-cart{
 width: 70%;
 padding: 10px 0;
 border: 1px solid #fdfdfd;
}
@media screen and (max-width: 1024px) {
.fixed-cart-contents .p-product-form-btn .c-btn-cart{
 width: 90%;
  }
}
