.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .60);
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 100;
}
#progress-modal-overlay.modal-overlay{
    background: rgba(255, 255, 255, .90);
}
.modal-container {
  display: table;
  width: 100%;
  height: 100%;
}
.modal-inner {
  display: table-cell;
  padding: 2.7em 2em; /* モーダル外側の余白 */
  vertical-align: middle;
}
.modal-main {
  margin: 0 auto;
  padding: 20px 15px; /* モーダル内側の余白 */
  max-width: 550px;
  background-color: #fff;
  position: relative;
}

#modal-close{
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: -20px;
    right: -20px;
    border-radius: 20px;
    background: #3f3f3f;
    color: #fff;
    font-size: 24px; font-size: 2.4rem;
    text-align: center;
}

.modal-ttl{
    margin: 0 -15px 20px;
    padding: 0 15px 10px;
    border-bottom: 1px solid #d1d1d1;
    font-size: 20px; font-size: 2.0rem;
    font-weight: normal;
}

.cv-spinner {
  /*height: 100%;*/
  display: flex;
  justify-content: center;
  align-items: center;  
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px #f2f2f2 solid;
  border-top: 4px #66cc1f solid;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
  100% { 
    transform: rotate(360deg); 
  }
}

.progress-txt{
    margin: 20px auto 0;
    text-align: center;
    color: #66cc1f;
}

.progress_rate{
    font-size: 14px; font-size: 1.4rem;
}

@media only screen and (min-width: 768px) {

    .modal-main{
      padding: 20px 30px; /* モーダル内側の余白 */
    }

    .modal-ttl{
        margin: 0 -30px 20px;
        padding: 0 30px 15px;
    }

}