form {
  margin-top: 5%;
}
.form_item:not(:first-child) {
  margin-top: 32px;
}
.form_item:has(.address), .form_item:has(#your_mail-confirm) {
  margin-top: 0;
}
.element_box:has(.address) {
  margin-top: 0;
  flex: 1;
}
.head_box {
  display: flex;
  align-items: center;
  gap: 13px;
}
.address_head {
  margin-top: 32px;
}
.must {
  border-radius: 100px;
  background-color: #F24646;
  color: #fff;
  padding: 0 12px;
}
.element_box {
  margin-top: 16px;
}
input[type="text"], textarea, select {
  border: 1px solid #DCDCDC;
  padding: 10px 16px;
  display: block;
  width: 100%;
}
textarea {
  height: 320px;
}
.radio_wrapper {
  background-color: #f4f4f4;
  padding: 25px 36px;
  display : flex;
  gap: 68px;
  flex-wrap: wrap;
}
.radio_label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.radio_label input[type="radio"] {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #222222;
  position: relative;
  cursor: pointer;
}
.radio_label input[type="radio"]:checked::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: #222222;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.radio_span {
  flex: 1;
}
.privacy_txt {
  text-align: center;
  margin-top: 8%;
  a {
    color: #0A4DFB;
  }
}
.submit_btn_wrapper {
  width: fit-content;
  margin: 4% auto 0;
  input {
    color: #fff;
    background-color: #0769B3;
    padding: 16px 120px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 100px;
    cursor: pointer;
  }
}
.submit_btn:hover {
  background-color: #20AFE6;
}
.postal_code_wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}
.search_address {
  background-color: #fff;
  border: 1px solid #222222;
  padding: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  line-height: 1.2;
}
.search_address:hover {
  background-color: #222222;
  color: #fff;
}
.sub_head_element {
  display: flex;
  align-items: center;
  gap: 23px;
}
input[class*="input_half"], select[class*="input_half"] {
  width: 360px;
}
.sub_head_element {
  margin-top: 16px;
}
.errors {
  color: #F24646;
}

@media screen and (max-width: 480px) {
  .radio_wrapper {
    gap: 20px;
  }
  .sub_head_element {
    flex-direction: column;
    align-items: flex-start;
  }
  .element_box:has(.address) {
    width: 100%;
  }
  input[class*="input_half"], select[class*="input_half"] {
    width: 100%;
    flex: 1;
  }
}