.term-of-use-checkbox {
  display: flex;
  align-items: center;
  width: 100%;
}

.term-of-use-checkbox-input {
  margin: 0 10px 0 5px;
  min-width: 20px;
  width: 20px;
  max-width: 20px;
  -webkit-appearance: checkbox;
  z-index: 1;
}

.term-of-use-checkbox-txt {
  text-align: left;
  z-index: 1;
}

/* PC用のスタイル */
@media (min-width: 1024px) {
  .checkbox-app-popup-content,
  .checkbox-app-error-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: none;
    z-index: 9000;
    color: #303030;
  }
  .checkbox-app-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
    fill: rgb(100, 100, 100);
  }
}

/* モバイル用のスタイル */
@media (max-width: 1023px) {
  .checkbox-app-popup-content,
  .checkbox-app-error-dialog {
    position: fixed;
    width: 90%;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    display: none;
    z-index: 9000;
    color: #303030;
  }
  .checkbox-app-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    fill: rgb(100, 100, 100);
  }
}

.checkbox-app-popup-content p {
  margin-top: 1em;
}

/* モーダルのオーバーレイ */
.modal-overlay-terms-of-use-checkbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

/* PC用のスタイル */
@media (min-width: 1024px) {
  .modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #303030;
    z-index: 10000;
  }
}

/* モバイル用のスタイル */
@media (max-width: 1023px) {
  .modal-content {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: #303030;
    z-index: 10000;
  }
}

input[type=checkbox]:before {
  background-image: none !important;
}
input[type=checkbox]:checked:before {
  background-color: transparent !important;
}