.modal {
    position: fixed;
    top: 0;
    display: none;
    width: 100%;
    height: 100vh;
    overflow-y: hidden;
    z-index: 10000;
    overflow: auto
  }
  
  .modal_bg {
    position: relative;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8)
  }
  
  .modal_body {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: calc(100% - (58 / 750 * 100vw));
    background-color: #fff;
    max-height: 90vh;
    padding: calc(25 / 750 * 100vw);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: auto;
    display: block
  }
  
  @media screen and (min-width: 768px) {
    .modal_body {
      width: 768px;
      padding: 1.5%
    }
  }
  
  .modal_content {
    min-height: calc(390 / 750 * 100vw)
  }
  
  @media screen and (min-width: 768px) {
    .modal_content {
      min-height: auto
    }
  }
  
  @media screen and (min-width: 768px) {
    .modal_content .note_ul li, .modal_content .note_ol li {
      font-size: 22px
    }
  }
  
  @media screen and (min-width: 768px) {
    .modal_content .text {
      font-size: 26px
    }
  }
  
  .modal_content p {
    margin-bottom: calc(25 / 750 * 100vw);
    font-size: calc(25 / 750 * 100vw)
  }
  
  @media screen and (min-width: 768px) {
    .modal_content p {
      font-size: 26px;
      margin-bottom: 15px
    }
  }
  
  .modal_content p:last-child {
    margin-bottom: 0
  }
  
  .modal_content img {
    width: 100%
  }
  
  .modal_headline {
    background-color: #00a0f0;
    padding: calc(16 / 750 * 100vw) 0 calc(14 / 750 * 100vw);
    text-align: center;
    font-weight: bold;
    margin-bottom: calc(25 / 750 * 100vw);
    line-height: 1.4
  }
  
  @media screen and (min-width: 768px) {
    .modal_headline {
      padding: 2% 0;
      margin-bottom: 4%
    }
  }
  
  @media all and (-ms-high-contrast: none) and (min-width: 769px) {
    .modal_headline {
      padding: 2% 0 .5%
    }
  }
  
  .modal_headline.color2 {
    background-color: #005ac3
  }
  
  .modal_headline.color3 {
    background-color: #005ac3
  }
  
  .modal_headline p {
    margin-bottom: 0;
    color: #fff;
    font-size: calc(36 / 750 * 100vw)
  }
  
  @media screen and (min-width: 768px) {
    .modal_headline p {
      font-size: 30px
    }
  }
  
  .modal_footer {
    text-align: center;
    margin-top: calc(25 / 750 * 100vw);
    margin-bottom: calc(15 / 750 * 100vw)
  }
  
  .modal_close {
    display: inline-block;
    width: calc(221 / 750 * 100vw);
    height: calc(81 / 750 * 100vw);
    background-image: url("../images/modal_close_sp.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-indent: -9999px
  }
  
  @media screen and (min-width: 768px) {
    .modal_close {
      width: 110px;
      height: 40px
    }
  }
  
  .style02 .modal_content {
    border: none
  }
  
  .attention_sign {
    width: 90px;
    margin: 25px auto 0
  }