body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0;
}

.wrap {
  padding: 18px 18px 16px;
}
@media (max-width: 376px) {
  .wrap {
  padding: 8px 18px;
}
}
h1 {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.5;
  padding: 1rem 0;
}
@media (max-width: 376px) {
  h1 {
  font-size: 1.1rem;
}
}

h1 small {
  display: block;
  font-weight: normal;
  font-size: 0.8rem;
  padding-top: 0.3rem;
}



.terms {
  height: 300px;
  overflow-y: auto;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 25px;
  line-height: 1.75;
  background: #fafafa;
}

@media (max-width: 376px) {
  .terms {
    height: 250px;
  }
}

.terms strong {
  display: block;
  font-size: 1.1rem;
  padding-bottom: 0.2em;
}

@media (max-width: 376px) {
  .terms strong {
    font-size: 1rem;
  }
}


.terms .red {
  color: red;
}

.terms .red a {
  color: red;
}

.terms .img {
  display: block;
  padding: 0.8rem 0;
}

.terms .img>img {
  max-width: 100%;
  height: auto;
}

.terms p+strong {
  padding-top: 2em;
}

.modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 20px 18px;
  border-top: 1px solid #eee;
}

button {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 376px) {
  button {
    font-size: 1rem;
  }
}

.agree {
  background: #2563eb;
  color: #fff;
}

.agree:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.hint {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.3;
  color: #666;
}

.sign {
  display: block;
  text-align: right;
  line-height: 100%;
  padding-top: 2em;

}



.footer {
  margin-top: 0.3rem;
  display: flex;
  justify-content: flex-end;
}

button {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  background: #2563eb;
  color: #fff;
}

button:disabled {
  opacity: .45;
  cursor: not-allowed;
}