.modal__backdrop {
  display: none;
}

.modal__backdrop,
.modal__closed_btn {
  cursor: pointer;
}

.modal__fixed {
}

.modal__box {
  position: absolute;
  top: 10px;
  left: 0;
  width: 320px;
  height: fit-content;
  background: #fff;
  border-radius: 5px;
  z-index: 1000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.068);
}

.modal__contents_box,
.modal__header {
  padding: 15px;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: solid 1px #ccc;
}

.modal__header span {
  display: block;
  height: 24px;
  width: 24px;
}

.modal__header h3 {
  font-size: 18px;
}

.modal__box h3,
.modal__box h4,
.modal__box p {
  margin-bottom: 0;
}

.modal__contents_box {
  border-bottom: solid 1px #eeeeee;
}

.modal__contents_box:nth-last-child(1) {
  border-bottom: none;
}

.modal__contents_box h4 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.modal__contents_box h4 > span {
  font-size: 12px;
  color: #969696;
  font-weight: 400;
}

.modal__contents_box p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .modal__backdrop {
    position: fixed;
    inset: 0;
    display: block;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
  }

  .modal__box {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    max-width: 320px;
    height: fit-content;
    background: #fff;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  }
}
