#intro {
  background-image: url(../img/sub/customer/bg.jpg);
}

/* 배경색 */
#content .bg {
  position: absolute;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 50vh;
  background-color: #e6eaee;
}

#con,
#wrap:nth-of-type(2) {
  overflow: hidden;
  background-color: #e6eaee;
}

.bg_white {
  border: 1px solid #ccc;
  box-sizing: border-box;
  background-color: #fff;
  padding-left: 50px;
  padding-right: 50px;
}

/* ----- content start ----- */
#content .con {
  margin-bottom: 50px;
}

#content .con h1 {
  font-size: 2.8rem;
  font-weight: 800;
}

#content .con h1 span {
  color: #2e77cc;
}

/* 의뢰서작성 */
.request .title {
  width: 100%;
  overflow: hidden;
  margin: 50px 0;
}

.request .title h2 {
  float: left;
  font-size: 3.5rem;
  color: #2e77cc;
  line-height: 5rem;
  font-weight: 900;
}

.request .title button {
  float: right;
  background-color: transparent;
  line-height: 5rem;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.request .title button a {
  display: block;
  font-size: 1.8rem;
  line-height: 5rem;
  width: 240px;
  font-weight: 800;
  color: #555;
}

.request .title button a:hover {
  color: #fff;
  transition: all 0.3s;
}

.request .title button:hover {
  background-color: #555;
  border: 1px solid #555;
  transition: all 0.3s;
}

/* 중요표시 */
.important::after {
  position: absolute;
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: 5px;
  background-color: #e41138;
}

.info,
.document {
  width: 100%;
  overflow: hidden;
  padding: 50px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.info_box {
  margin-bottom: 30px;
}

.w30 {
  width: 32.33%;
}

.w50 {
  width: 49%;
}

.w60 {
  width: 66%;
}

.w100 {
  width: 100%;
}

.w100:first-of-type span:last-child {
  height: 50px;
}

.info h2 {
  font-size: 2rem;
  line-height: 3rem;
  margin-bottom: 5px;
}

.info span {
  display: block;
  width: 100%;
  height: 50px;
  overflow: hidden;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 5px;
}

.info input:focus,
textarea:focus {
  outline: none;
}

.info_box input {
  margin-left: 20px;
  font-size: 16px;
  width: 100%;
  border: none;
  line-height: 5rem;
}

.w100 span:last-child {
  height: 250px;
}

textarea {
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 100%;
  border: none;
  height: 250px;
  color: #1c1c1c;
  resize: none;
  font-size: 16px;
}

textarea::placeholder {
  font-size: 16px;
  color: #bbb;
}

textarea:focus {
  outline: none;
}

/* 스크롤바 세팅 */
.scroll {
  width: 100%;
  padding: 20px;
  overflow-y: scroll;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 10px;
  border-right: none;
}

/* 스크롤바 설정*/
.scroll::-webkit-scrollbar {
  width: 10px;
  margin-right: 10px;
}

/* 스크롤바 막대 설정*/
.scroll::-webkit-scrollbar-thumb {
  height: 20%;
  background-color: #ccc;
  border-radius: 10px;
}

/* 스크롤바 뒷 배경 설정*/
.scroll::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #eee;
}

.info input::placeholder,
textarea::placeholder {
  font-size: 16px;
  color: #bbb;
  font-weight: 600;
}

/* 수집동의 */
.info .check {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 2rem;
  line-height: 2.4rem;
  color: #1c1c1c;
  font-weight: 800;
}

.check label {
  cursor: pointer;
  font-size: 2rem;
  color: #1c1c1c;
  font-weight: 800;
  line-height: 2.4rem;
}

label::before {
  content: "";
}

.check label p {
  width: auto;
}

.check input[type="checkbox"] {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  outline: 0;
  /* border none */
  appearance: none;
  border: 1px solid #dbdbdb;
  text-align: center;
  margin-right: 10px;
  float: left;
  cursor: pointer;
  margin-left: 0;
}

.check input[type="checkbox"]::after {
	content: "\F633";
	font-family: "bootstrap-icons" !important;
  color: #dbdbdb;
  text-align: center;
  line-height: 2.4rem;
}

.check input[type="checkbox"]:checked {
  background: #2e77cc;
  border-color: #2e77cc;
}

.check input[type="checkbox"]:checked::after {
  color: #fff;
}

.check button {
  margin-left: 10px;
  line-height: 3.6rem;
  width: 120px;
  font-size: 1.6rem;
  color: #777;
  font-weight: 800;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.submit {
  margin: auto;
  text-align: center;
  margin-bottom: 50px;
}

.submit button {
  width: 250px;
  height: 60px;
  border: none;
  font-size: 2.4rem;
  line-height: 3.4rem;
  margin-left: 20px;
  font-weight: 700;
}

.submit button:first-child {
  background-color: #2e77cc;
  color: #fff;
}

.submit button:last-child {
  background-color: #ccc;
  color: #777;
}

/* 팝업창 */
#popup {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

#popup .popup_box {
  width: 90%;
  height: auto;
  overflow: hidden;
  max-width: 900px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 50px;
}

#popup .popup_box .title {
  width: 100%;
  overflow: hidden;
  margin-bottom: 2rem;
  border-bottom: 2px solid #1c1c1c;
}

#popup .popup_box .title h1 {
  float: left;
  font-size: 2.6em;
  padding-bottom: 10px;
  font-weight: 800;
}

#popup .popup_box .close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 4rem;
  display: block;
  cursor: pointer;
}

#popup .text_box {
  height: 450px;
  overflow-y: scroll;
  padding: 30px;
  font-size: 1.8rem;
  line-height: 2.8rem;
  color: #777;
}

#popup .text_box b {
  color: #1c1c1c;
}

@media screen and (max-width: 1400px) {
  .filebox span {
    width: 70%;
  }

  .filebox label {
    width: 28%;
  }
}

@media screen and (max-width: 1280px) {
  #content .con h1 {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 900px) {
  #con:last-child li:last-child p:first-child {
    margin-right: 0px;
  }

  #con:last-child li:last-child p {
    padding-right: 0;
    padding-left: 0;
    padding: 0 10px;
  }

    .info .check {
    justify-content: space-between;
  }

  #popup .popup_box {
    width: 80%;
    max-width: 80%;
  }
}

@media screen and (max-width: 800px) {
  .info_box input {
    margin-left: 10px;
  }
}

@media screen and (max-width: 740px) {
  #con:last-child li:last-child p {
    float: none;
    border: none;
  }

  #con:last-child li:last-child p {
    padding: 0;
  }

  .w30,
  .w60,
  .w50 {
    width: 100%;
  }

  .info_box {
    margin-bottom: 20px;
  }

  .submit {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .submit button {
    width: 49%;
    margin-left: 0;
  }

  .check label {
    width: 100%;
  }

    .info .check {
    flex-wrap: wrap;
    flex-direction: row-reverse;
  }

  .request .title button a {
    width: auto;
    padding: 0 20px;
  }
}

@media screen and (max-width: 530px) {
  .bg_white {
    padding: 0 30px;
  }

  #con .text_box {
    font-size: 1.6rem;
    line-height: 2rem;
  }

  .request .title h2 {
    font-size: 3rem;
  }

  .request .title {
    margin: 30px 0;
  }

  .request .title button a {
    font-size: 1.6rem;
    line-height: 4rem;
  }

  .info,
  .document {
    padding: 30px 0;
  }

  .info h2,
  .filebox label,
  .document .check {
    font-size: 1.8rem;
  }

    .info .check {
    display: block;
  }

  .check button {
    margin-left: 0;
    margin-top: 10px;
  }

  .check button {
    width: 100%;
  }

  #popup .text_box {
    padding: 10px;
  }

  #popup .popup_box {
    padding: 30px;
  }

  #popup .popup_box .title h1 {
    font-size: 2.2rem;
  }

  #popup .popup_box .close {
    font-size: 3rem;
  }

  #popup .text_box {
    font-size: 1.6rem;
    line-height: 2rem;
  }

  #content .con h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 490px) {
  .bg_white {
    padding: 0 20px;
  }

  .request .title button {
    float: none;
    line-height: 4rem;
  }

  .request .title h2 {
    width: 100%;
  }

  .info span,
  .filebox .upload-name,
  .filebox label,
  .w100:first-of-type span:last-child {
    height: 40px;
  }

  .info_box input,
  .filebox .upload-name,
  .filebox label {
    line-height: 40px;
  }

  .filebox .upload-name {
    margin-left: 10px;
  }

    .info .check {
    line-height: 2rem;
  }

  textarea {
    line-height: 2.4rem;
  }

  .submit {
    display: block;
  }

  .submit button {
    width: 100%;
    margin-bottom: 15px;
  }

  #popup .text_box {
    padding: 0px;
  }

  #popup .popup_box {
    padding: 30px;
  }
}

@media screen and (max-width: 280px) {
  #content {
    background-color: #e6eaee;
  }

  .info h2,
  .filebox label,
  .info .check {
    font-size: 1.6rem;
  }
}
