body {
  background: #F2F2F2;
}

/* ==================================
== section1
================================== */
#section1 {
  padding: 70px 0 160px;
}

.contact__form {
  position: relative;
}

.contact__form dl {
  padding: 20px 0;
  border-bottom: 1px solid #707070;
}

.contact__form dl:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact__form dl dt {
  font-size: 1.75rem;
}

.contact__form dl dt span {
  color: var(--blue-color);
  font-size: 1.25rem;
  display: block;
  margin-top: 3px;
}

.contact__form dl dd input[type="text"],
.contact__form dl dd input[type="email"],
.contact__form dl dd textarea {
  background: #FFF;
  width: 100%;
  padding: 15px;
  outline: none;
}

.contact__form dl dd.d-flex {
  gap: 35px;
}

.contact__form dl dd input[type="radio"] {
  position: relative;
  width: 16px;
  height: 16px;
  background: #FFF;
  border: 1px solid #000;
  border-radius: 50%;
  vertical-align: -2px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-right: 10px;
}

.contact__form dl dd input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-color);
  content: '';
}
.privacy_agree{
  margin-top: 20px;
}

.checkboxItem {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  column-gap: 4px;
  width: fit-content;
  line-height: 1;
  cursor: pointer;
}

.checkboxItem:not(:last-of-type) {
  margin-bottom: 16px;
}

#agree {
  appearance: none;
  position: relative;
  width: 15px;
  height: 15px;
  border: 1px solid var(--blue-color);
  border-radius: 2px;
  cursor: pointer;
}

#agree:checked {
  background-color: var(--blue-color);
}

#agree:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 2px;
  width: 10px;
  height: 5px;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.checkboxItem a{
  color: var(--blue-color);
}

.contact__form input[type="submit"] {
  color: #FFF;
  font-size: 2.5rem;
  width: 100%;
  height: 60px;
  border-radius: 30px;
  margin-top: 50px;
  pointer-events: none;
  background-color: #ccc;
  cursor: not-allowed;
}
form:has(#agree:checked) input[type=submit] {
  background: #585858;
  cursor: pointer;
  pointer-events: auto;
}

@media screen and (max-width: 768px) {
  .contact__form dl dt {
    margin-bottom: 15px;
  }
}

@media screen and (min-width: 769px) {
  #section1 {
    padding: 140px 0 120px;
  }

  .contact__form dl dt {
    font-size: 1.9rem;
  }

  .contact__form dl dt span {
    font-size: 1.7rem;
    margin-top: 6px;
  }

  .contact__form dl dd {
    width: 410px;
    font-size: 1.9rem;
  }

  .contact__form dl dd.d-flex {
    gap: 90px;
  }

  .contact__form dl dd input[type="radio"] {
    width: 20px;
    height: 20px;
  }

  .contact__form dl dd input[type="radio"]:checked:before {
    width: 13px;
    height: 13px;
  }

  .checkboxItem {
    font-size: 1.8rem;
  }
  #agree {
    width: 20px;
    height: 20px;
  }
#agree:checked::after {
  top: 5px;
  left: 3px;
  width: 12px;
  height: 6px;
}
  .contact__form input[type="submit"] {
    font-size: 2.0rem;
    width: 392px;
    height: 51px;
    border-radius: 25.5px;
    margin-top: 30px;
  }

}