@charset "utf-8";
/* CSS Document */
.modal-toggle,
.icon__zoom {
  cursor: pointer;
}
.modal-toggle img {
  max-width: 100%;
}
.modal-toggle:hover {
  opacity: .6;
}
.icon__zoom {
  border: none;
  background: transparent;
  color: #0065cc;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
  text-decoration: underline;
  padding-left: 24px;
  margin-top: 8px;
  margin: 6px 0 0 auto;
  display: block;
}
.icon__zoom::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../img/i_zoom.svg) center no-repeat;
  background-size: 100% auto;
  position: relative;
  top: 6px;
  bottom: 0;
  left: 0;
  margin-right: 4px;
}

/* modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  transition: all 1s ease-in-out;
}
.modal-container .img {
    background: #f1f1f1;
    margin-bottom: 15px;
}
.modal-container p {
    margin-bottom: 10px;
}
.modal-container p:last-child {
    margin-bottom: 0;
}
.modal-content {
    background: #fff;
    overflow-y: auto;
    padding: 20px 25px;
    width: 90%;
    max-width: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: show 0.6s linear 0s;
    filter: drop-shadow(0px 2px 6px #777);
}
.modal-top {
    display: inline-block;
    position: absolute;
    right: 5px;
    top: 5px;
}
.modal-close {
    color: #000;
    text-decoration: none;
    font-size: 2rem;
    line-height: 1;
    padding: 0 8px;
}
.modal-close:hover, .modal-close:focus {
  text-decoration: none;
  cursor: pointer;
}

@keyframes show{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}