@charset "UTF-8";
/* モーダル */
.modal-overlay {
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
}

.modal-container {
  background-color: #fff;
  max-width: 720px;
  max-height: 70vh;
  padding: 40px 16px 40px;
  width: 80%;
}

.modal-containerInner {
  width: 100%;
  position: relative;
}
.modal-containerInner .scroll {
  overflow-y: scroll;
  max-height: calc(70vh - 80px);
}
.modal-containerInner .box {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.modal-containerInner img {
  width: auto;
  margin: auto;
}

.modal-close {
  position: absolute;
  right: -25px;
  top: -25px;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  border: none;
  z-index: 1001;
  cursor: pointer;
  background: #003792;
}
.modal-close::before {
  content: "";
  background: url(../img/common/icon_cross.svg) no-repeat;
  width: 16px;
  height: 16px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
@media screen and (max-width: 1020px) {
  .modal-close {
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
  }
}

.modal-close:focus {
  outline: none;
  box-shadow: none; /* 必要なら */
}

.modal-close-bottom:hover {
  cursor: pointer;
}

.modal-ttl {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  position: relative;
}
@media screen and (max-width: 1020px) {
  .modal-ttl {
    font-size: 20px;
  }
}

.modal-img {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.modal-content {
  line-height: 1.5;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.modal-content .contents .sub_ttl {
  color: #3FB4E0;
  font-size: 108%;
  margin-top: 24px;
  margin-bottom: 8px;
  font-weight: 600;
}
.modal-content .contents table {
  width: 100%;
  border-collapse: collapse;
  box-sizing: border-box;
}
.modal-content .contents table tr {
  width: 100%;
}
.modal-content .contents table th, .modal-content .contents table td {
  box-sizing: border-box;
  padding: 10px 10px;
  font-size: 100%;
  vertical-align: middle;
  border: 1px solid #CCC;
}
.modal-content .contents table th {
  text-align: center;
  width: 30%;
  background: #EEEEEE;
}
.modal-content .contents table td {
  background: white;
}

.modal-container header {
  padding: 0;
  background: none;
  box-sizing: border-box;
  min-height: auto;
}

.modal-open {
  display: block;
  margin: 100px auto;
}

.modal__img img {
  width: 100%;
}

/* モーダルアニメーション */
@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes mmslideIn {
  from {
    transform: translateY(15%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes mmslideOut {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10%);
  }
}
.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden=false] .modal-overlay {
  animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden=false] .modal-container {
  animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden=true] .modal-overlay {
  animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden=true] .modal-container {
  animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide .modal-container,
.micromodal-slide .modal-overlay {
  will-change: transform;
}/*# sourceMappingURL=modal.css.map */