.filebox input[type="file"] {
  display: none;
}

.filebox label {
  display: inline-block;
  width: 180px;
  height: 40px;
  text-align: center;
  color: #fff;
  font-size: 12px;
  line-height: 40px;
  vertical-align: middle;
  background-color: #000;
  cursor: pointer;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  text-transform: uppercase;
  transition: all 0.4s;
  border-radius: 0px;
}

input::placeholder {
  opacity: 0.5;
}

textarea::placeholder {
  opacity: 0.5;
}

input:focus {
  outline-offset: 0px;
  outline: -webkit-focus-ring-color auto 0px;
}

textarea:focus {
  outline-offset: 0px;
  outline: -webkit-focus-ring-color auto 0px;
}


select {
  /* ����Ƽ�� ���� ���߱� */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* IE 10, 11�� ����Ƽ�� ȭ��ǥ ����� */
select::-ms-expand {
  display: none;
}

select {
  width: 100%;
  /* ���ϴ� �ʺ��� */
  padding: 0px 45px 0px 15px;
  /* �������� ���� ���� */
  font-family: inherit;
  /* ��Ʈ ��� */
  background: url(../image/select.png) no-repeat 95% 50%;
  /* ����Ƽ�� ȭ��ǥ ��ü */
  border: 0px solid #999;
  border-radius: 0px;
  /* iOS �ձٸ𼭸� ���� */
  -webkit-appearance: none;
  /* ����Ƽ�� ���� ���߱� */
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  text-align-last: left;
  transform: skewX(-0.3deg);
  background-color: transparent;
}


.container {
  width: 100%;
  max-width: 1385px;
  padding-inline: 20px;
  margin: 0 auto;
  background-color: rgba(242, 242, 242, 0.4);
  margin-bottom: 10%;
}


.form_p {
  text-align: right;
  margin-bottom: 60px;
  padding-top: 3rem;
  padding-inline: 2.5rem;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: #666666;
  font-family: "Pretendard Variable";
}

/* .form_p::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(to right, #ddd 0%, #ddd 50%, transparent 50%);
  background-size: 15px 1px;
  background-repeat: repeat-x;
  margin-top: 20px;
} */


.form_inner {
  font-size: 0px;
  width: 100%;
  padding: 3rem;
}


#mail_to {
  margin-bottom: 30px;
  display: none;
}

.mail_to_c {
  color: #000000;
  font-size: 1rem;
  font-weight: 800;
  width: 180px;
  border: 1px solid #ddd;
  padding: 5px;
}



#form_tabs {
  width: 100%;
  font-size: 0px;
  margin-bottom: 40px;
}

input.tab_item {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

label.tab_item {
  position: relative;
  width: auto;
  margin-right: 35px;
  display: inline-block;
  vertical-align: middle;
  font-size: 1rem;
  color: #808080;
  text-align: center;
  font-weight: 300;
  overflow: hidden;
  transform: skewX(-0.3deg);
  padding-left: 22px;
  cursor: pointer;
  height: 20px;
  line-height: 20px;
  transition: .28s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tab_item:last-child {
  margin-right: 0px;
}

[type="radio"] + label:before,
[type="radio"] + label:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  margin: 3px;
  width: 10px;
  height: 10px;
  z-index: 0;
  transition: .28s ease;
  border-radius: 50%;
  border: 2px solid transparent;
}

[type="radio"]:not(:checked) + label:before {
  border-radius: 50%;
  border: 2px solid #5a5a5a;
}

input[type='radio']:checked:before {
  background: #1a1a1a;
}


[type="radio"]:checked + label:before {
  border-radius: 50%;
  border: 2px solid #1a1a1a;
}

[type="radio"]:checked + label:after {
  border-radius: 50%;
  border: 2px solid #1a1a1a;
  background-color: #1a1a1a;
  z-index: 0;
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
}



.form_ul {
  font-size: 0px;
  width: 100%;
}

.form_ul.last {
  margin-bottom: 8vh;
}

.form_ul li {
  display: inline-block;
  vertical-align: top;
  width: 47.5%;
}

.form_ul li:nth-child(1) {
  margin-right: 5%;
}

/* .form_ul.last::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(to right, #ddd 0%, #ddd 50%, transparent 50%);
  background-size: 15px 4px;
  background-repeat: repeat-x;
  margin-top: 20px;
} */


.f_title {
  font-size: 1.1rem;
  line-height: 1.5;
  letter-spacing: -0.35px;
  color: #4d4d4d;
  margin-bottom: 10px;
  width: 100%;
  vertical-align: top;
  box-sizing: border-box;
  font-weight: 600;
  transform: skewX(-0.3deg);
  text-transform: uppercase;
  font-family: 'pretendard';
}

.addr_btn {
  color: #fff;
  letter-spacing: -0.5px;
  font-size: 0.85rem;
  text-align: center;
  cursor: pointer;
  background-color: #8C8D8D;
  border: 1px solid #8C8D8D;
  border-radius: 5px;
  padding: 5px;
  margin-left: 10px;
}

.f_title .color1 {
  color: #4d4d4d;
  padding-left: 5px;
  display: inline-block;
  vertical-align: middle;
  font-family: "Pretendard Variable";
}

.f_title.ver2 {
  color: #808080;
}

.f_title.wid50 {
  width: 50%;
}

.title_info {
  color: #666666;
  font-weight: 300;
  margin-left: 10px;
  font-size: 1rem;
}


.f_cont {
  clear: both;
  height: 40px;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 45px;
  width: 100%;
  display: inline-block;
  box-sizing: border-box;
  border: 1px solid #b1b1b1;
  border-radius: 0px;
  vertical-align: top;
  background-color: #fff;
}

.f_cont.wid50 {
  width: 47.5%;
}

.f_cont.margin-10 {
  margin-bottom: 10px;
}

.f_cont.wid25 {
  width: 175px;
  margin-right: 10px;
  display: inline-block;
  vertical-align: top;
}

.f_cont.wid75 {
  width: calc(100% - 185px);
  display: inline-block;
  vertical-align: top;
}

.f_cont2 {
  clear: both;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 20px;
  width: 100%;
  display: inline-block;
  box-sizing: border-box;
  border: 1px solid #b1b1b1;
  border-radius: 0px;
  vertical-align: top;
  background-color: #fff;
}

.f_cont3 {
  clear: both;
  margin-bottom: 100px;
  width: 100%;
  display: inline-block;
  box-sizing: border-box;
  vertical-align: top;
  border: 1px solid #808080;
  border-radius: 0px;
  background-color: #fff;
}

.f_cont p {
  color: #808080;
  margin-top: 0;
}





.f_input {
  width: 100%;
  color: #808080;
  border: 0px;
  background-color: transparent;
  font-size: 14px;
  line-height: 38px;
}

.f_input_radio {
  margin-right: 5px;
}

.form_cate_span {
  margin-right: 10px;
}

.f_input2 {
  height: 230px;
  width: 100%;
  color: #808080;
  font-size: 14px;
  padding-top: 10px;
  border: 0px;
  background-color: transparent;
  font-family: 'Roboto', 'Pretendard', 'sans-serif';
}

.f_cont3 .filebox {
  display: inline-block;
}

.upload-name {
  display: inline-block;
  padding: 0px 8px;
  font-size: 0.8rem;
  line-height: 40px;
  color: #808080;
  vertical-align: middle;
  background-color: #f2f2f3;
  border: 0px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: calc(100% - 180px);
  box-sizing: border-box;
  display: none;
}

.upload-name.ver2 {
  background-color: transparent;
  width: 100%;
  padding: 0 50px 0 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-name.on .upload-name {
  display: block;
}

.filebox label:hover {
  background-color: #808080;
}

.file-name {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 180px);
}

.file-name .file_del {
  font-size: 20px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  cursor: pointer;
  display: none;
}

.file-name.on .file_del {
  display: block;
}


.form_line {
  display: block;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(to right, #B2B2B2 0%, #B2B2B2 50%, transparent 50%);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  margin-top: 20px;
  margin-bottom: 70px;
}

.file_p {
  display: inline-block;
  vertical-align: top;
  width: 15%;
  font-size: 1.1rem;
}

.file_info {
  display: inline-block;
  width: 74%;
}

/* .file_info { display: inline-block; width: calc(100% - 180px); vertical-align: middle; padding-left: 25px;  box-sizing: border-box;} */
.file_info p {
  font-size: 0.85rem;
  font-weight: 300;
  color: #808080;
  transform: skewX(-0.3deg);
}
.file_info p:last-child {
    margin-top: 0.5rem;
}


#form_send {
  text-align: right;
  width: 100%;
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: 0rem;
  color: #636363;
  transform: skewX(-0.3deg);
}

#form_send_1 {
  width: 100%;
}

.content_p {
  text-align: right;
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: 5px;
  color: #636363;
  margin-bottom: 65px;
  transform: skewX(-0.3deg);
}


.inq_div {
  width: 100%;
  margin-bottom: 70px;
}

.inq_txt {
  font-size: 17px;
  line-height: 28.55px;
  letter-spacing: -0.68px;
  color: #231815;
  padding-left: 30px;
  position: relative;
}

.inq_txt img {
  width: 100%;
  max-width: 22px;
  position: absolute;
  left: 0px;
  top: 3px;
}

.inq_contbox {
  width: 100%;
  padding: 15px;
  margin: 10px 0px;
  box-sizing: border-box;
  border: 1px solid #b1b1b1;
  border-radius: 0px;
  background-color: #fff;
}

.inq_contbox p {
  font-size: 14px;
  line-height: 1.3;
  color: #808080;
  transform: skewX(-0.3deg);
  height: 140px;
  overflow-y: scroll;
}

.inq_contbox p::-webkit-scrollbar {
  width: 10px;
}

.inq_contbox p::-webkit-scrollbar-thumb {
  background-color: #666666;
  border-radius: 10px;
}

.inq_contbox p::-webkit-scrollbar-track {
  background-color: #e3e3e3;
  border-radius: 10px;
}

.checkbox {
  font-size: 0.85rem;
  line-height: 1.3;
  color: #808080;
  margin-left: 5px;
  transform: skewX(-0.3deg);
  font-family: var(--pre);
}

.checkbox input {
  vertical-align: middle;
  margin-right: 3px;
}



.inq_ul {
  width: 100%;
  font-size: 0px
}

.inq_ul li {
  width: 45%;
  display: inline-block;
  vertical-align: top;
  margin-right: 5%;
}

.inq_contbox.ver2 {
  width: 100%;
  padding: 0px;
  margin: 10px 0px;
  box-sizing: border-box;
  border: 2px solid #ddd;
}



.submit {
  font-family: 'Pretendard', 'sans-serif';
  font-size: 1rem;
  height: auto;
  color: #fff;
  width: 100%;
  max-width: 180px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.4s;
  background-color: #534740;
  border: 1px solid #534740;
  line-height: 40px;
  text-transform: uppercase;
  transition: all 0.4s;
  border-radius: 0px;
}

.submit:hover {
  box-shadow: 3px 3px 11px rgb(0 0 0 / 25%);
}

.reset {
  font-family: 'Pretendard', 'sans-serif';
  font-size: 1rem;
  height: auto;
  color: #fff;
  width: 100%;
  max-width: 180px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s;
  background-color: #b2b2b2;
  border: 1px solid #b2b2b2;
  line-height: 40px;
  text-transform: uppercase;
  margin-left: 10px;
  transition: all 0.4s;
  font-size: 14px;
  border-radius: 0px;
}

.reset:hover {
  box-shadow: 3px 3px 11px rgb(0 0 0 / 25%);
}




input[type=button],
input[type=reset] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  /*border-radius: 0px;*/
}

input[type=button],
input[type=reset] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  /*border-radius: 0px;*/
}

input[type="text"],
textarea {
  background-color: #fff;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-transition: background-color 9999s ease-out;
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-text-fill-color: #666666 !important;
}


.block {
  display: block;
}


@media screen and (max-width: 899px) {

  .form_ul li {
    width: 100%;
  }

  .form_ul li:nth-child(1) {
    margin-right: 0;
  }

  label.tab_item {
    width: 100%;
    margin-right: 0;
    font-size: 1.1rem;
    box-sizing: border-box;
    text-align: left;
    padding-left: 30px;
    margin-bottom: 10px;
  }

  .f_title {
    font-size: 16px;
  }

  label {
    font-size: 12px;
  }

  .file_p {
    width: 100%;
    font-size: 1rem;
  }

  .file_info {
    width: 100%;
    padding-left: 0px;
    margin-top: 5px;
  }

  .file_info p {
    padding-left: 12px;
    text-indent: -12px;
    word-break: keep-all;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-top: 0;
  }

  .title_info {
    margin-left: 5px;
    font-size: 1rem;
  }

  #form_send_1 {
    font-size: 0px;
  }

  .submit {
    width: 48%;
    max-width: 180px;
    display: inline-block;
    box-sizing: border-box;
    margin: 0px;
    margin-right: 2%;
  }

  .reset {
    width: 48%;
    max-width: 180px;
    display: inline-block;
    box-sizing: border-box;
    margin: 0px;
    margin-left: 2%;
  }

  .upload-name {
    width: 100%;
    margin-bottom: 15px;
  }

  .filebox label {
    width: 48%;
    max-width: 180px;
  }

  .f_cont3 .filebox {
    width: 100%;
  }

  .inq_contbox p {
    line-height: 1.7;
    font-size: 1.1rem;
  }

  .checkbox {
    font-size: 1.1rem;
  }

  .file-name.on .upload-name {
    font-size: 12px;
  }

  .upload-name.ver2 {
    padding: 0;
  }

  .form_p {
    text-align: center;
  }
}



.sub_wrap {
  margin-top: 15vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 3rem;

  & h2 {
    font-size: 3.125vw;
    color: var(--main-color);
    font-weight: 500;
    font-family: "MaruBuri";

    + hr {
      width: 1px;
      height: 3vw;
    }
  }
}

.qna {
  max-width: 80%;
  margin: 0 auto;
  width: 100%;
  padding: 20px;
}

@media screen and (max-width: 450px) {
  .container {
    margin-bottom: 10rem;
  }

  .form_inner {
    padding: 0;
  }

  .file_info p {
    font-size: 12px;
  }

  .sub_wrap {
    margin-top: 10%;
    padding-top: 0;
  }

  .f_cont {
    margin-bottom: 30px;
 }

 .title_info {
    font-size: 0.875rem;
    max-width: 78%;
 }

 .file_info p {
    margin-top: 0;
 }

 .f_cont3 {
    margin-bottom: 40px;
    
 }

 .inq_contbox p {
    font-size: 0.875rem;
 }

 .inq_div {
    margin-bottom: 60px;
 }
}