@charset "UTF-8";
.custom-cart-modal {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}
.custom-cart-modal .modal {
  height: 100%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* 縦中央 */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* 横中央 */
}
.custom-cart-modal .modal-content {
  background-color: #fff;
  width: 50%;
  max-height: 50vh;
  overflow-y: scroll;
  -webkit-box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
          box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
  -webkit-animation-name: modalopen;
          animation-name: modalopen;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
}
@media screen and (max-width: 767px) {
  .custom-cart-modal .modal-content {
    width: 90%;
  }
}
@-webkit-keyframes modalopen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modalopen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.custom-cart-modal .modal-header h1 {
  margin: 1rem 0;
}
.custom-cart-modal .modal-header {
  background: #fff;
  padding: 3px 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.custom-cart-modal .modalClose {
  font-size: 3rem;
  color: #707070;
}
.custom-cart-modal .modalClose:hover {
  cursor: pointer;
}
.custom-cart-modal .modal-body {
  padding: 10px 50px 50px;
  color: black;
}
@media screen and (max-width: 767px) {
  .custom-cart-modal .modal-body {
    padding: 10px 10px 50px;
  }
}

@media screen and (max-width: 767px) {
  #fs_ProductDetails .custom-cart-modal .fs-c-variationCart--withImage > li {
    grid-template-columns: auto 1fr 2em 150px;
  }
  #fs_ProductDetails .custom-cart-modal .fs-c-button--primary.fs-c-button--addToCart--variation {
    min-width: 70%;
    width: 100%;
  }
}