@charset 'UTF-8';
.modal_open {
  width: 100px;
  height: 100px;
  cursor: pointer;
}
.modal_overlay,
.modal_content {
  display: none;
  position: fixed;
}
.modal_content {
  width: 100%;
  height: 90%;
  max-width: 700px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  z-index: 4;
  text-align: center;
}
.modal_content img {
  max-width: 100%;
}
.modal_overlay {
  width: 100%;
  height: 100%;
  background: grey;
  opacity: 0.6;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
.modal_overlay.open,
.modal_content.open {
  display: block;
}
.modal_delete {
  cursor: pointer;
  text-align: center;
  position: absolute;
  bottom: 0px;
  right: -83px;
}

.modal_delete img {
  width: 15%;
}

.zoom-up {
  display: none; /* 初期非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content01 {
  position: relative;
  background: white;
  padding: 1em;
  border-radius: 10px;
  max-width: 50%;

  overflow: auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.modal-content01 img {
  max-width: 100%;

  display: block;
}

.modal-close-x {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  color: black;
  border: none;
  font-size: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.modal-close-x:hover {
  background: #eee;
}

a.modal_detail {
  text-align: center;
  align-items: center;
  font-size: 0.8em;
  margin: 3% auto;
  padding: 1%;
  width: 200px;
  transform: scale(1.02);
  transition: 0.3s;
  background-color: #eac7de;
  color: #fff;
  border-radius: 4px;
}
@media screen and (max-width: 600px) {
  .modal-content01 {
    position: relative;
    background: white;
    padding: 1em;
    border-radius: 10px;
    max-width: 90%;

    overflow: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
}
