/* ********** intro bg + setting ********** */
#intro {
  background-image: url(../img/work/bg.png);
}

#content {
  background-color: #f4f7f9;
  padding-bottom: 0;
}

nav {
  z-index: 1;
}

/* ********** content1 ********** */
/* 유의사항 */
#content .con_box {
  background-color: #f4f7f9;
}

.brand_title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 3.6rem;
  position: relative;
}

.mitu {
  width: 40%;
  margin: auto;
  margin-bottom: 50px;
}

.brand_title::before {
  content: "";
  width: 20px;
  height: 20px;
  background-image: url(../img/list.png);
  position: absolute;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
}

/* 브랜드 logo*/
.brand_box {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 80px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.brand_box .logo {
  width: 12%;
  margin-left: 6px;
  overflow: hidden;
  margin-bottom: 6px;
}

.brand_box .logo .img_box {
  width: 100%;
  margin: auto;
  border: 1px solid #eee;
  box-sizing: border-box;
  background-color: #fff;
}

.brand_box .logo .img_box img {
  width: 90%;
  height: 90%;
  margin: auto;
  object-fit: contain;
}

.brand_box .logo .yellow {
  background-color: #ffc20e;
}

/* .brand_box .logo .text_box {
  margin-top: 5px;
  margin-bottom: 20px;
  color: #555;
}

.brand_box .logo .text_box h4 {
  font-size: 1.4rem;
  font-weight: 600;
}

.brand_box .logo .text_box p {
  font-size: 1.2rem;
  margin-top: 3px;
} */

/* ********** content ********** */
/* 의뢰서 작성 */
#content .request {
  background-color: #fff;
  position: relative;
  padding-bottom: 150px;
}

/* 배경지정 */
.request::before {
  content: "";
  width: 100%;
  height: 400px;
  background-color: #f4f7f9;
  position: absolute;
  top: 0;
  left: 0;
}

.request #wrap {
  position: relative;
  background-color: #fff;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  border-top: 5px solid #465dff;
  box-sizing: border-box;
}

.request .request_box {
  padding: 0 50px;
}

#content .request .title {
  width: 100%;
  padding: 50px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.request .title h2 {
  font-size: 3.6rem;
  font-weight: 900;
}

/* 중요표시 */
.important::after {
  position: absolute;
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: 5px;
  background: linear-gradient(129.81deg, #469bff 18.18%, #465dff 87.5%);
}

/* 작성부분 */
#content .info,
#content .document {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid #ccc;
  padding: 50px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#content .info_box {
  margin-bottom: 30px;
}

#content .w30 {
  width: 32.33%;
}

#content .w50 {
  width: 49%;
}

#content .w60 {
  width: 66%;
}

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

#content .w100 {
  width: 100%;
}

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

#content .info span {
  display: block;
  width: 100%;
  height: 50px;
  overflow: hidden;
  background-color: #f5f5f5;
  box-sizing: border-box;
  border-radius: 10px;
}

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

#content .info_box input {
  background-color: #f5f5f5;
  padding-left: 20px;
  font-size: 16px;
  width: 100%;
  border: none;
  line-height: 5rem;
}

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

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

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

#content textarea:focus {
  outline: none;
}

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

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

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

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

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

/* 파일등록 */
#content .document input {
  background-color: #f5f5f5;
  border: none;
}

#content .filebox {
  width: 100%;
  overflow: hidden;
}

#content .filebox span {
  width: 78%;
  float: left;
}

#content .filebox .upload-name {
  margin-left: 0;
  height: 50px;
  line-height: 5rem;
  vertical-align: middle;
  box-sizing: border-box;
  width: 100%;
  color: #999999;
  border-radius: 5px;
  cursor: auto;
  margin-left: 20px;
}

#content .filebox label {
  background: linear-gradient(99.22deg, #469bff 5.74%, #465dff 93.68%);
  border-radius: 10px;
  width: 20%;
  height: 50px;
  line-height: 5rem;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  float: right;
}

#content .filebox input[type="file"] {
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
}

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

#content .check label {
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: 700;
}

#content label::before {
  content: "";
}

#content .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;
  cursor: pointer;
  margin-left: 0;
}

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

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

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

#content .check button {
  margin-left: 10px;
  height: 4rem;
  width: 180px;
  font-size: 1.6rem;
  color: #fff;
  margin: 0;
  margin-left: 20px;
}

#content .submit {
  margin: auto;
}

#content .submit button {
  border: none;
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(92.67deg, #469bff 5.25%, #465dff 91.56%);
  color: #fff;
  margin-top: 0px;
}

#content .submit button:last-of-type {
  background: none;
  background-color: #fff;
  border: 1px solid #aaa;
  box-sizing: border-box;
  color: #999;
  box-shadow: none;
}

/* 팝업창 */
#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: 1515px) {
  .brand_box .logo {
    width: 16%;
  }
}

@media screen and (max-width: 1200px) {
  .brand_box .logo {
    width: 24%;
  }
  #content .con_box {
    padding-bottom: 30px;
  }

  #content .con_box li p {
    padding: 0;
  }

  #content .con_box article:last-of-type li:first-child p {
    width: 100%;
  }

  #content .con_box article:last-of-type li {
    margin-top: 5px;
  }

  #content .con_box article:last-of-type li p {
    width: 50%;
    float: left;
  }

  #content .con_box li {
    flex-wrap: wrap;
  }

  #content .con_box li p::after {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  #content .filebox label {
    font-size: 1.6rem;
  }

  #content .request .request_box {
    padding: 0 30px;
  }
  #content:last-child li:last-child p:first-child {
    margin-right: 0px;
  }

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

  #content .document .check {
    justify-content: space-between;
  }

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

@media screen and (max-width: 740px) {
  #content .con_box {
    padding-bottom: 10px;
  }

  #content:last-child li:last-child p {
    float: none;
    border: none;
  }

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

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

  #content .info_box {
    margin-bottom: 20px;
  }

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

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

  #content .check label {
    width: 100%;
  }

  #content .document .check {
    flex-wrap: wrap;
    flex-direction: row-reverse;
  }

  #content .info_box input {
    padding-left: 10px;
  }
}

@media screen and (max-width: 670px) {
  .brand_box .logo {
    width: 32%;
  }
}

@media screen and (max-width: 620px) {
  #content .check button {
    width: 100%;
    margin-top: 10px;
    margin-left: 0;
  }

  #content .check {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 530px) {
  #content .con_box article h1 {
    font-size: 2.4rem;
  }

  #content .con_box article:last-of-type li p {
    width: 100%;
  }

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

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

  #content .request .title {
    margin: 10px 0;
  }

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

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

  #content .document .check {
    display: block;
  }

  #content .request .title {
    padding: 10px 0;
    flex-direction: column;
    align-items: baseline;
  }

  #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;
  }
}

@media screen and (max-width: 490px) {
  .mitu {
    width: 90%;
    margin: auto;
    margin-bottom: 30px;
  }

  .brand_box .logo {
    width: 46%;
  }

  .brand_box {
    margin-top: 0;
    margin-bottom: 50px;
  }

  #content .con_box article h1 {
    font-size: 2.2rem;
  }

  #content .con_box article p {
    font-size: 1.6rem;
    line-height: 2.2rem;
  }

  #content .con_box article {
    margin-bottom: 30px;
  }

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

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

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

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

  #content .document .check {
    line-height: 2rem;
  }

  textarea {
    line-height: 2.4rem;
  }

  #content .submit {
    display: block;
  }

  #content .submit button {
    width: 100%;
    margin-bottom: 15px;
    margin-top: 0;
  }

  #popup .text_box {
    padding: 0px;
  }

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

@media screen and (max-width: 400px) {
  #content .filebox label {
    width: 25%;
  }
  #content .filebox span {
    width: 73%;
  }
  #content .request .request_box {
    padding: 0 10px;
  }
}

@media screen and (max-width: 280px) {
  #content .info h2,
  #content .filebox label,
  #content .document .check {
    font-size: 1.6rem;
  }
}
