/* ==========================================================================
  MODAL
========================================================================== */
.modal-bg[data-modal="close"]{
  display: none;
}
.modal-bg[data-modal="open"]{
  display: flex;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  padding: 0 20px;
  top: 0;
  z-index: 20000;
  overflow-y: scroll;
}
.modal-bg[data-modal="open"] .modal-wrap {
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.modal-content_area:focus{
  outline: none;
}
.modal-close{
  position: relative;
  width: 100%;
}
.modal-close .js-close_button{
  position: absolute;
  top: 0;
  right: 0;
  transition: all 300ms ease;
}
.modal-close .js-close_button:hover{
  opacity: 0.7;
}
.modal-close .js-close_button::before{
  content: "";
  width: 2px;
  background-color: #2eb395;
  position: absolute;
  top: 0;
  left: 15px;
  transform: rotate(45deg);
}
.modal-close .js-close_button::after{
  content: "";
  width: 2px;
  background-color: #2eb395;
  position: absolute;
  top: 0;
  left: 15px;
  transform: rotate(135deg);
}
.modal-header{
  text-align: center;
}
.modal-body-description{
  letter-spacing: 0;
}
.modal-body-image{
  display: block;
}
.modal-footer .js-close_button{
  margin: 0 auto;
  transition: all 300ms ease;
}
.modal-body-list {
  display: flex;
  justify-content: center;
  gap: min(14px, calc((14 / var(--pc-width)) * 100vw));
  margin-left: min(95px, calc((95 / var(--pc-width)) * 100vw));
}
.modal-body-list dt {
  font-weight: bold;
  font-size: min(16px, calc((16 / var(--pc-width)) * 100vw));
}
.modal-body-list dd {
  font-size: min(16px, calc((16 / var(--pc-width)) * 100vw));
  margin-top: 5px;
}
.modal-body-list-item {
  margin-top: min(105px, calc((105 / var(--pc-width)) * 100vw));
}
.modal-body-list dd + dt {
  margin-top: min(40px, calc((40 / var(--pc-width)) * 100vw));
}
@media screen and (min-width:801px){
  .modal-bg[data-modal="open"] .modal-wrap {
    border: 10px solid #2eb395;
    padding:min(40px, calc((40 / var(--pc-width)) * 100vw));
    width: min(1100px, calc((1100 / var(--pc-width)) * 100vw));
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  .modal-close .js-close_button{
    width: 30px;
    height: 30px;
  }
  .modal-close .js-close_button::before{
    height: 30px;
  }
  .modal-close .js-close_button::after{
    height: 30px;
  }
  .modal-main_area{
    padding-top: min(24px, calc((24 / var(--pc-width)) * 100vw));
  }
  .modal-heading{
    width: min(138px, calc((138 / var(--pc-width)) * 100vw));
  }
  .modal-body{
    margin-top: min(32px, calc((32 / var(--pc-width)) * 100vw));
  }
  .modal-body-description{
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
  }
  .modal-body-image{
    margin: min(40px, calc((40 / var(--pc-width)) * 100vw)) auto 0;
    width: min(281px, calc((281 / var(--pc-width)) * 100vw));
    height: min(274px, calc((274 / var(--pc-width)) * 100vw));
  }
  .modal-footer{
    margin-top: min(40px, calc((40 / var(--pc-width)) * 100vw));
  }
  .modal-footer .js-close_button{
    font-size: 16px;
    border: 1px solid #2eb395;
    width: 220px;
    height: 48px;
  }
}
@media screen and (max-width:800px){
  .modal-bg[data-modal="open"] .modal-wrap {
    border: 5px solid #2eb395;
    padding:18px;
    width: 84%;
  }
  .modal-close .js-close_button{
    width: 20px;
    height: 20px;
  }
  .modal-close .js-close_button::before{
    height: 20px;
  }
  .modal-close .js-close_button::after{
    height: 20px;
  }
  .modal-main_area{
    padding-top: 6px;
  }
  .modal-heading{
    width: 90px;
  }
  .modal-body{
    margin-top: min(36px, calc((36 / 750) * 100vw));
  }
  .modal-body-list {
    flex-direction: column;
    margin-left: 0;
    gap: 0;
  }
  dl.modal-body-list-item {
    margin-top: calc(12 / 750* 100vw);
  }
  .modal-body-list dt {
    font-weight: bold;
    font-size: calc(26 / 750* 100vw);
  }
  .modal-body-list dd {
    font-size: calc(26 / 750* 100vw);
    margin-top: calc(5 / 750* 100vw);
  }
  .modal-body-list dd + dt {
    margin-top: calc(20 / 750* 100vw);
  }
  .modal-body-description{
    text-align: left;
    font-size: calc(26 / 750* 100vw);
    line-height: 1.6;
  }
  .modal-body-image{
    margin: calc((50 / 750) * 100vw) auto 0;
    width: calc((370 / 750) * 100vw)
  }
  .modal-footer{
    margin-top: calc((44 / 750) * 100vw);
  }
  .modal-footer .js-close_button{
    font-size: 13px;
    border: 1px solid #2eb395;
    width: 198px;
    height: 45px;
  }
}
