@charset "UTF-8";






#r-modal{
  position: fixed;
  left: 0px;
  top: 0px;
  background-color: rgb(0 0 0 / 0.8);
  width: 100%;
  height: 100%;
  z-index: 9999;
  padding: 120px 40px;
  overflow: scroll;
  transition:all 0.3s ease-in;
  /*opacity: 0;
  visibility: hidden;*/
  opacity: 1;
  visibility: visible;
}


#r-modal.is-current{
  opacity: 1;
  visibility: visible;
}



@media screen and (max-width: 767px) {
  #r-modal{
    padding: 60px 20px;
  }
}





.r-modal__inner{
  position: relative;
  max-width: 800px;
  background-color: #fff;
  padding: 100px 60px 90px 60px;
  border-radius: 20px;
  margin: 0px auto;
  color: #16205C;
  transition:all 0.3s ease-in;
  transition-delay: 0.5s;
  /*opacity: 0;
  visibility: hidden;*/
  opacity: 1;
  visibility: visible;
}

.r-modal__inner.is-current{
  opacity: 1;
  visibility: visible;
}



.r-modal__inner-box{
  max-width: 420px;
  margin: 0px auto;
}


.r-modal__close{
  width: 30px;
  height: 30px;
  position: absolute;
  right: 30px;
  top: 30px;
}


.r-modal__close::before,.r-modal__close::after{
  content: "";
  width: 30px;
  height: 1px;
  background-color: #16205C;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -15px;
}


.r-modal__close::before{
  transform: rotate(45deg);
}


.r-modal__close::after{
  transform: rotate(135deg);
}



@media screen and (max-width: 767px) {
  .r-modal__close{
    right: 15px;
    top: 15px;
  }
  .r-modal__inner{
    padding: 60px 30px;
    border-radius: 10px;
  }
}



@media screen and (min-width: 768px) {
  .r-modal__inner{
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .r-modal__close{
    cursor: pointer;
  }
}





.r-modal__title{
  line-height: 1.5em;
  font-size: 24px;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 15px;
}



.r-modal__text{
  line-height: 1.9em;
  font-size: 14px;
  font-size: 0.875rem;
}



@media screen and (max-width: 767px) {
  .r-modal__title{
    font-size: 19px;
    font-size: 1.1875rem;
  }
}




#r-modal .service__btn{
  margin-top: 40px;
  text-align: center;
}




#r-modal .service__btn .square-btn{
  margin: 0px auto;
}





