/** @format */

.request {
  position: relative;
  display: flex;
  justify-content: flex-start;
  padding: 0px 14.375rem 0 0;
}
.request .rolling-banner.fixed {
  z-index: 1;
  position: fixed;
}
.request .rolling-banner {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30vw;
  height: fit-content;
  flex: none;
}
.request .cont {
  width: 70vw;
  padding: 0 0 8vw 1.56vw;
  border-left: 1px solid #2e2e2e;
  flex: 0;
  margin-left: 30vw;
}
.request .request-info-wrap {
  flex: 1;
  display: flex;
  margin-top: 6.875rem;
  flex-direction: column;
  gap: 9.375rem;
}
.request .title-box {
  display: flex;
  flex-direction: column;
  gap: 1.3vw;
}
.request .title-box > div {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 0.52vw;
}
.request .title-box span {
  color: var(--op1-color);
  font-family: "NanumSquareNeoLight";
  font-size: 1.75rem;
}
.request .title-box .title {
  font-size: 1.75rem;
  font-family: "NanumSquareNeoLight";
}
.request .title-box .num {
  color: var(--wh-color);
  font-family: "neurimboGothicRegular";
  font-size: 0.875rem;
}
.request .request-info > ul {
  margin-top: 1.56vw;
}
/* 선택형 */
.request label {
  background-color: var(--gy2-color);
  color: #707070;
  border: 3px dashed #4a5362;
  border-radius: 20px;
  padding: 1vw 1.6vw;
  display: flex;
}
.request .select ul {
  display: flex;
  gap: 50px;
  min-height: 6.25rem;
}
.request .select input {
  display: none;
}
.request label.active {
  color: #fff;
  border-color: #fff;
  background-color: #2e2e2e;
}
.request .select label {
  height: 100%;
  align-items: center;
  font-size: 1.25rem;
  justify-content: center;
  min-width: 13.02vw;
}
/* 작성형 */
.request-info__form-list {
  margin-top: 30px;
}
.request-info__form-list > div {
  position: relative;
  margin-bottom: 50px;
}

.request-info__form-list input {
  position: absolute;
  top: 3vw;
  left: 1.6vw;
  appearance: none;
  background: none;
  font-size: 21px;
  color: #fff;
  border: none;
  background-color: transparent;
  width: calc(100% - 4.8vw)
}

.request-info__form-list .flex {
  display: flex;
  gap: 30px;
  margin-bottom: 50px
}
.request-info__form-list .flex > div {
  position: relative;
}
.request .form label {
  flex-direction: column;
  height: 7vw;
  max-height: 100px;
  gap: 0.52vw;
  width: 28.65vw;
  font-size: 0.94rem;
}
.request .form textarea {
  width: 100%;
  height: 300px;
  border: 3px dashed #4a5362;
  border-radius: 20px;
  background-color: #2e2e2e;
  font-size: 21px;
  padding: 3vw 1.6vw;
  box-sizing: border-box;
}
.request .form textarea + label {
  position: absolute;
  top: 1vw;
  left: 1.6vw;
  padding: 0;
  border: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background-color: initial;
}
/* .request .form li.active label {
  border-color: #fff;
} */

.request-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4.43vw;
}
.request-btn .agree {
  display: flex;
  align-items: center;
  gap: 0.52vw;
}
.request-btn .agree label {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.94rem;
  flex-direction: row;
  align-items: center;
  color: var(--wh-color);
  min-height: fit-content;
}
.request-btn .agree span {
  text-decoration: underline;
}
.request-btn .agree input {
  flex: 0 0 auto;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  appearance: none;
  position: relative;
  background-image: url(/assets/images/ico_check.svg);
  margin: 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.request-btn .agree input:checked::after {
  display: block;
  content: "";
  position: absolute;
  background-image: url(/assets/images/ico_checked.svg);
  width: 2rem;
  height: 2rem;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  background-size: 100% 100%;
  filter: var(--filter);
}
.request-btn .submit-btn {
  font-size: 21px;
  font-family: "neurimboGothicRegular", sans-serif;
  gap: 3.13vw;
  padding: 1.3vw 1.83vw;
  border: 1px solid var(--wh-color);
  border-radius: 60px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.request-btn .submit-btn + svg {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
}

/* 개인정보동의 팝업 */
.agree-popup {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 13;
  left: 0;
  display: none;
  background: #00000066;
}
.agree-popup.active {
  display: block;
}
.agree-popup > div {
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 50vw;
  width: 100%;
  background: #ffffff;
  border-radius: 2.86vw;
  max-height: 31.25vw;
  height: 100%;
  padding: 3.13vw 2.6vw;
}
.agree-popup h3 {
  font-family: "NanumSquareNeoExtraBold";
  color: #000;
  font-size: 21px;
  padding-bottom: 40px;
}
.agree-popup p {
  color: #000;
  font-family: "NanumSquareNeo";
  font-size: 15px;
  line-height: 1.8;
  margin: 10px 0;
}
.agree-popup .close-btn {
  position: absolute;
  transform: translateX(-50%);
  width: 2.6rem;
  background-repeat: no-repeat;
  background-position: center;
  height: 2.6rem;
  background-image: url(/assets/images/ico_popup_bk_close.svg);
  z-index: 1;
  top: 50px;
  right: 40px;
  left: auto;
}
.request-info.form li {
  width: 50%;
}
.request .text-area {
  position: relative;
}
.request .text-area,
.request .text-area label {
  width: 100%;
}

.request-info {
  margin-bottom: 150px
}
.request .form li {
  position: relative;
}
.request input[type="checkbox"]:checked + label,
.request input[type="radio"]:checked + label {
  color: #fff;
  border-color: #fff;
  background-color: #2e2e2e;
}
.request input,
.request textarea {
  outline: 0;
  border: 0;
  background-color: transparent;
  color: #fff;
  resize: none
}
.request input:-internal-autofill-selected {
  background-color: transparent !important;
}
.request .form input:focus + label, 
.request .form textarea:focus + label {
  border-color: #FFF;

}
/* input:required:invalid + label {
  border-color: #FFF;
} */

.validation-note {
  display: none;
  position: relative;
  margin: 10px 0 0 30px;
  font-size: 15px;
}
.validation-note::before {
  display: inline-block;
  content: "!";
  font-family: "neurimboGothicRegular", sans-serif;
  font-size: 15px;
  width: 30px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid #ff0000;
  background-color: rgba(219,16,16,.2);
  text-align: center;
  box-sizing: border-box;
  margin-right: 10px;
}
.validation-note.active {
  display: block;
}
