#openModalBtn {
  font-size: 16px;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal-content {
  position: relative;
  padding: 0;
  width: 86%;
  max-width: 560px;
  height: auto;
  aspect-ratio: 560/315;
  background-color: #000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
}

iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 560/315;
  vertical-align: bottom;
}

.modal-sort {
  display: none;
  width: 100%;
  height: auto;
  background: #F6F5EF;
  padding: 30px 20px;
  border-radius: 10px;
}
.modal-sort-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 600;
}
.modal-sort-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  gap: 20px;
}
.modal-sort-label {
  padding-left: 28px;
  font-size: 1.6rem;
  line-height: 1.6em;
  position: relative;
}
.modal-sort-label::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 2px;
  background: #FFF;
  border-radius: 1px;
  border: 1px solid #CCC;
  width: 15px;
  height: 15px;
  z-index: 10001;
}
.modal-sort input[type=checkbox] {
  display: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  font-size: 1.6rem;
}
.modal-sort input[type=checkbox]:checked + .modal-sort-label::after {
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  left: 2px;
  margin: 1px 0 0 5px;
  width: 5px;
  height: 10px;
  transform: rotateZ(45deg);
  border-bottom: solid 3px #319bd2;
  border-right: solid 3px #319bd2;
  z-index: 10002;
}
.modal-sort input[type=submit] {
  display: block;
  background: #FF6B00;
  padding: 20px;
  width: 100%;
  max-width: 300px;
  margin: 30px auto;
  text-align: center;
  border-radius: 5px;
  color: #FFF;
  font-size: 1.8rem;
  font-weight: 700;
  box-sizing: border-box;
  border: none;
}