@charset "utf-8";
h1 {
  width: fit-content;
  margin: clamp(60px, 20vw, 125px) auto 0;
  position: relative;
  color: #006837;
  font-weight: 700;
  font-size: min(36px, 7vw);
}

h1::before {
  position: absolute;
  content: "";
  width: 55%;
  height: 4px;
  background-color: #fbc600;
  left: 50%;
  transform: translateX(-50%);
  bottom: max(-30px, -6vw);
}

.agreement-container {
  width: min(1000px, 90%);
  margin: clamp(40px, 12vw, 75px) auto;
  border-radius: 30px;
  background-color: #fff;
  padding: min(60px, 7vw) min(100px, 8vw);
}

.agreement-container h2 {
  font-size: min(16px, 4vw);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 2;
  color: #663606;
}
.agreement-container p {
  padding-left: 1.25em;
  text-indent: -1em;
  margin-bottom: 1em;
  font-size: min(14px, 3.5vw);
}
.agreement-container p:last-child {
  padding-left: 0;
  text-indent: 0;
}

.thanks-btn {
  margin: 0 auto clamp(40px, 12vw, 75px);
  background: #92c446;
  color: white;
}

.thanks-btn::after {
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

@media screen and(max-width:640px) {
  .agreement-container {
    border-radius: 20px;
  }
}

@media screen and(min-width:640px) {
  .thanks-btn {
    width: 280px;
  }
}
