@charset "UTF-8";
/* CSS Document */

.modal {
  width: 100vw;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  position: fixed;
  inset: 0;
  visibility: hidden;
  z-index: 999;
  background: rgba(0, 0, 0, 0.6);
  transition: 0.3s;
}

.modal .modal_content_wrap {
  width: 100%;
  max-width: 550px;
  height: auto;
  position: relative;
}

@media screen and (max-width: 750px) {
  .modal .modal_content_wrap {
    max-width: 90%;
  }
}

.modal .modal_content {
  width: auto;
  height: auto;
  padding: 50px 40px;
  background: #fff;
  position: relative;
  border-radius: 10px;
  z-index: 0;
}

@media screen and (max-width: 750px) {
  .modal .modal_content {
    padding: 20px 30px;
  }
}

.modal .modal_content img {
  width: 100%;
  height: auto;
}

.modal .modal_content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(to bottom, #d4a24b, #856121);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.modal button[data-modal-close] {
  width: 40px;
  height: 40px;
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  background: url(../images/icon_close.png) no-repeat center / contain;
  z-index: 1;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
