.product_wrapper {

}
.imgs_wrapper{
  overflow-x: scroll;
    position: sticky;
    top: 0;
    z-index: 1;
}
.thumb-list {
	display: flex;
}
.thumb-list > div {
	width: 100vw;
  	aspect-ratio: 4 / 5;
  	overflow: hidden;
  	flex-shrink: 0;
}
.thumb-list > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* コンテナを埋め尽くす */
  object-position: center;
}


.details_wrapper {
    position: relative;
    z-index: 1;
  	background-color: var(--bg-color);
  	padding: 29px 20px 20px;
  	/*transition: z-index 0s 1s;*/
}
/*body.loaded .details_wrapper {
  z-index: 2;
  transition-delay: 0s;
}*/

.details_wrapper h2 {
  margin-top: 0;
  font-size: 1.9rem;
  margin-bottom: 0;
  line-height: 1.3;
}

.details_wrapper .product_model {
  font-size: 1.2rem;
}

.details_wrapper .teika {
	font-size: 1.2rem;
    margin-bottom: 0.5em;
    margin-top: 1em;
}

.details_wrapper .price {
     font-size: 1.6rem;
    margin-top: 1em;
}

.details_wrapper .teika + .price {
  margin-top: 0;
}

.details_wrapper .option_label {
	font-size: 1.2rem;
}

.details_wrapper .prduct-option {
	margin-top: 1.3em;
}

.details_wrapper .select_wrapper {
position:relative;
}

.details_wrapper .select_wrapper::after {
    content: "\e136";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    font-family: var(--icon-font);
}

.details_wrapper select {
  	padding: .5em;
    height: 44px;
    border-radius: 0;
    border-color: var(--key-color);
    color: var(--key-color);
  	background-color: var(--bg-color);
    text-align: center;
  -webkit-appearance: none;
  appearance: none; 
}
.details_wrapper select::-ms-expand {
  display: none;
}

.details_wrapper .together-block h2 {
  margin-bottom: .8em;
}

@media (min-width: 768px) {
  .details_wrapper {
      padding: 29px 28px 20px;
  }
  .details_wrapper h2 {
  margin-top: 90px;
  }
}

.product-order .btn.btn-addcart {
  	width: 100%;
    border-radius: 0;
    background-color: var(--key-color);
    color: #fff;
    font-size: 1.3rem;
    padding: 1.1em;
    border: 0;
}
.product-order .btn.btn-block {
	border-radius: 0;
    font-size: 1.3rem;
  	padding: .9em;
}
.product-order .continue_shopping {
	font-size: 1.25rem;
 	text-align: end;
}

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

@media (min-width: 992px) {
  .product-order-exp {
	font-size: 1.3rem;
	}
}

.product-order-exp hr {
  	display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid var(--key-color);
    margin: 1em 0;
    padding: 0;
}

input, button, select, textarea {
    font-family: "Times New Roman", Times, serif;
}

@media (min-width: 768px) {
  .product_wrapper {
	display: flex;
    margin-bottom: 50px
	}
  	
  .product_wrapper > * {
	width: 50%;
    box-sizing: border-box;
	}
  
  .sticky {
  	position: sticky;
    top: 81px;
    max-width: 500px
  }
  
  .imgs_wrapper{
    overflow-x: unset;
      position: static;
  }
  .thumb-list {
      display: block;
  }
  .thumb-list > div {
      width: auto;
  }
}


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

.checked_item h2 {
     margin-top: 0;
    font-size: 1.8rem;
    margin-bottom: 0;
    line-height: 1.3;
  padding-left: 10px
}




 .modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 999;
}
.modal-content {
  position: relative;
  max-width: 800px;
  margin: 50px auto;
  background: #fff;
  padding: 20px;
}
.modal .close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
}