/* contact */
#contact_c {
  box-sizing: border-box;
  width: 100%;
  padding: 150px 0 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: url(../img/contact-bg.png); */

  background: #3d2614;
  background-position: center center !important;
  background-size: cover !important;
  position: relative;
  overflow: hidden;
}

#contact_c .st-tit {
  background: linear-gradient(90deg, #3d2614 40%, #5f432c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  font-family: Paperlogy;
  font-style: normal;
  font-weight: 700;
}

#contact_c .top-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}

#contact_c .contact-form-container {
  max-width: 1300px;
  width: 90%;
  box-sizing: border-box;
  padding: 20px;
  gap: 24px;
  background: #fff;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.16);
  position: relative;
  z-index: 1;
}

#contact_c .contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1.5px solid #3d2614;
  background: #fff;
  position: relative;
  box-sizing: border-box;
  padding: 50px 60px;
  gap: 60px;
}

#contact_c .contact-form-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

#contact_c .flex-input {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

#contact_c .item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#contact_c .contact-form input[type='text'],
#contact_c input[type='tel'],
#contact_c textarea {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  height: 44px;
  padding: 10px;
  color: #333;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 24px;
  letter-spacing: -0.4px !important;
  border-radius: 8px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: #fff;
}

#contact_c .contact-form input[type='text']:disabled {
  background-color: #f5f5f5;
}

#contact_c .contact-form input[type='text']:focus,
#contact_c .contact-form input[type='tel']:focus,
#contact_c textarea:focus {
  outline: none;
  border: 1px solid #3d2614 !important;
  box-shadow: none !important;
}

#contact_c .contact-form input[type='text']::placeholder,
#contact_c .contact-form input[type='tel']::placeholder,
#contact_c textarea::placeholder {
  color: rgba(51, 51, 51, 0.5);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: -0.4px;
}

#contact_c textarea {
  height: 100px;
  resize: none;
}

#contact_c .item label {
  box-sizing: border-box;
  color: #333;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 24px !important;
  letter-spacing: -0.4px !important;
}

#contact_c .radio-wrap {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 44px;
  justify-content: flex-start;
}

#contact_c .radio input {
  position: absolute;
  opacity: 0;
  z-index: 3;
}

#contact_c .radio {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
}

#contact_c .custom-radio {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  position: relative;
  transition: background 0.2s ease;
  background: rgba(17, 17, 17, 0.2);
}

#contact_c .custom-radio::after {
  content: '';
  width: 17px;
  height: 17px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
  background-image: url('../img/check.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 체크 시 */
#contact_c .radio input:checked + .custom-radio::after {
  transform: translate(-50%, -50%) scale(1);
}

#contact_c .radio input:checked + .custom-radio {
  background: #111;
}

/* 텍스트 */
#contact_c .radio-text {
  color: #111;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.4px;
}

#contact_c .item .select-wrap {
  position: relative;
}

#contact_c .item .select-wrap .select-box {
  width: 100%;
  display: flex;
  height: 44px;
  box-sizing: border-box;
  padding: 10px;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: #fff;
  color: rgba(51, 51, 51, 0.5);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: -0.4px;
}

#contact_c .item .select-wrap .select-box.selected {
  color: #333 !important;
}

#contact_c .item .select-wrap .arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

#contact_c .item .select-wrap .select-child {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: #fff;
  position: absolute;
  top: 47px;
  left: 0;
  font-size: 16px;
  max-height: 185px;
  overflow-y: scroll;
  display: none;
  z-index: 10;
}

#contact_c .item .select-wrap .select-child .option {
  margin-bottom: 10px;
  cursor: pointer;
}

#contact_c .item .select-wrap .select-child .option:hover {
  color: #3d2614;
}

#contact_c .item .select-wrap .select-child .option:nth-last-child(1) {
  margin-bottom: 0;
}

#contact_c .form-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

#contact_c .agree-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

#contact_c .contact-form .round-checkbox {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50px;
  appearance: none;
  position: relative;
  cursor: pointer;
  background: #fff;
  border: 1.2px solid rgba(168, 168, 168, 0.3);
}

#contact_c .contact-form .round-checkbox:checked::before {
  font-size: 100%;
  color: #fff;
  position: relative;
}

#contact_c .contact-form .round-checkbox:checked {
  background-image: url('../img/check.png');
  background-size: 17px !important;
  background-position: center center !important;
  background-color: #3d2614;
  background-repeat: no-repeat;
  border: none;
}

#contact_c .contact-form .agree {
  color: #333;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 24px !important;
  letter-spacing: -0.4px !important;
  cursor: pointer;
}

#contact_c .contact-form .agree-open {
  font-weight: 600 !important;
  color: #3d2614;
}

#contact_c .c-btn {
  width: 160px;
  height: 48px;
  background: #3d2614;
  display: flex;
  box-sizing: border-box;
  padding: 0px 40px;
  justify-content: center;
  align-items: center;
  gap: 30px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.45px;
  border: none;
  border-radius: 50px;
  transition: 0.1s;
}

#contact_c .c-btn:hover {
  background: #48261d;
}

@media (max-width: 1280px) {
  #contact_c {
    padding: 120px 0 100px;
  }
  #contact_c .contact-form {
    padding: 40px 30px;
    gap: 50px;
  }
}

@media (max-width: 1024px) {
  #contact_c .contact-form {
    padding: 40px 30px;
  }
  #contact_c .flex-input {
    gap: 24px;
  }
}

@media (max-width: 900px) {
  #contact_c {
    padding: 120px 0 80px;
  }
  #contact_c .contact-form-container {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  #contact_c {
    padding: 70px 16px 70px;
  }
  #contact_c .contact-form-container {
    width: 100%;
    padding: 10px;
  }
  #contact_c .contact-form {
    padding: 40px 20px;
    gap: 40px;
  }
}

@media (max-width: 650px) {
  #contact_c {
    background-attachment: unset;
  }
  #contact_c .flex-input {
    flex-wrap: wrap;
  }
  #contact_c .form-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  #contact_c .c-btn {
    width: 100%;
    border-radius: 50px;
  }

  #contact_c .contact-form .agree {
    font-size: 14px !important;
  }

  #contact_c .custom-radio {
    width: 20px;
    height: 20px;
  }

  #contact_c .contact-form {
    padding: 40px 16px;
  }
}

@media (max-width: 350px) {
  #contact_c .radio-wrap {
    gap: 24px;
  }

  #contact_c .item label {
    font-size: 14px !important;
  }
}
