#agreement-checkbox {
  margin-bottom: 10px;
  text-align: unset;
}
#agreement-checkbox #final-sale-checkbox-label {
  display: inline-block;
  position: relative;
}
#agreement-checkbox #final-sale-checkbox-label:before {
  content: " ";
  top: 0;
  left: 0;
  display: block;
  width: 14px;
  height: 14px;
  border: 1px solid #000;
  /*background-image: url(https://www.tadashishoji.com/skin/frontend/enterprise/newskin/images/sprite-black.png);*/
  background: url(../../../images/sprite-black.png) center no-repeat;
  background-repeat: no-repeat;
  background-position: -90px -121px;
  opacity: .5;
}
#agreement-checkbox #final-sale-checkbox-label.active::before {
  opacity: 1;
  background-position: -131px -121px;
}
@media screen and (min-width: 992px) {
  #agreement-checkbox {
    float: right;
    max-width: 304px;
    margin-top: 10px;
  }
  #agreement-checkbox label {
    width: 5%;
  }
  #agreement-checkbox span {
    width: 90%;
  }
}
@media screen and (max-width: 991px) {
  #agreement-checkbox {
    margin: 0 auto;
    width: fit-content !important;
  }
}
.agreement-checkbox-overlay {
  position: absolute;
  height: 100%;
  width: 304px;
  background: #FFF;
  transition: opacity 0.3s, visibility 0.3s;
  opacity: 0;
  visibility: hidden;
}
.agreement-checkbox-overlay.active {
  opacity: 0.7 !important;
  visibility: visible !important;
  cursor: not-allowed;
}
@media screen and (max-width: 991px) {
  .agreement-checkbox-overlay {
    width: 100%;
  }
}
aside.modal-popup.fs-agreement {
  left: 0;
  top: 37px;
}
aside.modal-popup.fs-agreement .modal-inner-wrap {
  height: auto !important;
  max-width: 42em !important;
  transform: translateY(6%) !important;
  box-shadow: none;
  padding: 2.35em 1.3em;
}
aside.modal-popup.fs-agreement .modal-inner-wrap .modal-fsAgreement .modal-inner div.actions a[role='button'] {
  display: block;
  border: 1px solid #D3D3D3;
  margin-top: 1em;
  white-space: nowrap;
}
aside.modal-popup.fs-agreement .modal-inner-wrap .modal-fsAgreement .modal-inner div.actions a[role='button'].ignore {
  background: unset !important;
  color: black !important;
}
aside.modal-popup.fs-agreement .modal-inner-wrap .modal-footer {
  display: none;
}
