@charset "utf-8";
.c-modal {
  position: fixed;
  background-color: #ededed;
  padding: 2rem 1.5rem;
  width: 18rem;
  bottom: 20%;
  right: 0.5rem;
  font-size: 1rem;
  z-index: 20000;
  border-radius: 0.5rem;
  box-shadow: 0 0 8px #b7b7b7;
  transition: 0.3s;
}
@media (max-width: 767px) {
  .c-modal {
    display: none;
    /* padding: 2rem 0.5rem;
    width: 42vw;
    max-width: 17rem;
    left: 10vw;
    bottom: 4%;
    z-index: 10; */
  }
}
.c-modal.js-hidden {
  opacity: 0;
}

.c-modal_close {
  display: block;
  position: absolute;
  right: 0.3rem;
  top: 0.3rem;
  background-color: #747474;
  border: 1px solid transparent;
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 50%;
  z-index: 10;
}
.c-modal_close::after,
.c-modal_close::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.15em;
  height: 1em;
  background: #ffffff;
}
.c-modal_close::after {
  transform: translate(-50%, -50%) rotate(45deg);
}
.c-modal_close::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.c-modal_close:hover {
  background-color: #747474;
  opacity: 1;
}
.c-modal-text {
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  line-height: 1.3em;
  margin-top: 0.5rem;
}
.c-modal_btn {
  font-size: 1em;
  line-height: 1.4em;
  position: relative;
  background-color: #10447d;
  color: #ffffff;
  margin-top: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0.4em 0.5em;
  width: 12rem;
  border-radius: 999px;
}
.c-modal_btn::before {
  position: absolute;
  content: "";
  top: 50%;
  right: 6%;
  border-style: solid;
  border-top: 0.4em solid transparent;
  border-bottom: 0.4em solid transparent;
  border-left: 0.5em solid #ffffff;
  border-right: 0;
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  .c-modal_btn {
    width: 100%;
    font-size: 0.8em;
  }
}
