.modal {
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .8);

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px;
  z-index: 9999;
}

.image-modal {
  position: relative;

  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
}

.modal-image {
  display: block;

  width: 100%;
  height: auto;

  max-height: 90vh;
  object-fit: contain;
}

.modal__close {
  position: absolute;
  top: -40px;
  right: 0;

  border: none;
  background: none;

  color: #fff;
  font-size: 32px;
  line-height: 1;

  cursor: pointer;
}

.thumb-image {
  display: block;
  max-width: 300px;
  cursor: pointer;
}

.image-modal-link{
	position: relative;
	
	&::before{
		content: '＋';
		width: 25px;
		height: 25px;
		border-radius: 50%;
		background-color: var(--color_navy_01);
		color: #fff;
		display: flex;
		justify-content: center;
		align-items: center;
		
		position: absolute;
		top:10px;
		right: 10px;
		z-index: 10;
	}
}

/* ======================
   responsive
====================== */
@media screen and (max-width: 1000px) {

  .modal__overlay {
    padding: 16px;
  }

  .image-modal {
    max-width: 100%;
  }

  .modal__close {
    top: -32px;
    font-size: 28px;
  }

}