@charset "utf-8";
/*
------------------------------------------------------------------------------------------------------------------------
폼메일 쓰기 스타일
------------------------------------------------------------------------------------------------------------------------
*/

#formmail-write {
  position: relative;

  background-color: #fff !important;
  width: 100vw;
  font-size: calc(100vw * 18 / 1920);
  height: fit-content;
  overflow-x: hidden;

  padding: 80px 0 100px 0;
}
#formmail-write .formwr {
  margin: 0 calc(100vw * 450 / 1920);
}

#formmail-write .formwr .form-group {
  display: block;
  margin-bottom: 0 calc(100vw * 20 / 1920);
  align-items: center;
}
#formmail-write .formwr .form-group1 {
  display: flex;
  justify-content: space-between;
  border-bottom: solid 1px #fff;
  padding: calc(100vw * 20 / 1920) 0;
}
#formmail-write .formwr .form-group1 > div > .fileup {
  color: #fff;
  font-size: calc(100vw * 16 / 1920);
  font-family: "Pretendard";
  font-weight: 200;
  padding: calc(100vw * 20 / 1920) 0;
}

#formmail-write .formwr .form-group > label {
}
#formmail-write .formwr .form-group > div {
  width: 100%;
  color: #fff;
}
#formmail-write .formwr .form-group.col4 > label {
  width: 20%;
  color: #fff;
  display: none;
}
#formmail-write .formwr .form-group.col4 > div {
  width: 100%;
  margin: calc(100vw * 10 / 1920) 0 calc(100vw * 25 / 1920) 0;
}
#formmail-write .formwr .form-group .form-control {
  color: #737373;
  width: 100%;
  padding: calc(100vw * 15 / 1920);
  border-radius: 5px;
  border: none;
}
#formmail-write .formwr .form-footer {
  padding-top: 50px;
  text-align: center;
}
#formmail-write .formwr .btn_submit {
  padding: 10px 10rem;
  font-size: 1.2em;
  height: auto;
}
#formmail-write .formwr .check-list {
  position: absolute;
  right: 0;
  top: -30px;
}
#formmail-write .formwr .privacy-of-use {
  font-size: 14px;
  padding: 15px;
  border: solid 1px #fff;
  background-color: #ffffff5e;
  height: 150px;
  overflow-y: scroll;
  margin-top: 20px;
  line-height: 1.5;
}
#formmail-write .formwr .privacy-of-use .cont {
  margin-bottom: 15px;
}
#formmail-write .formwr .privacy-of-use h4 {
  margin-bottom: 5px;
}
#formmail-write .formwr .privacy-of-use dl {
  padding: 10px 0;
}
#formmail-write .formwr .privacy-of-use dl dt {
  font-weight: 600;
}
#formmail-write .formwr .privacy-of-use dl dd {
  margin-left: 20px;
}
#formmail-write .formwr .privacy-of-use ul {
  margin-left: 20px;
}
#formmail-write .formwr .privacy-of-use ul li {
  margin-top: 5px;
}
#formmail-write .formwr .privacy-of-use table {
  width: 100%;
  border-collapse: collapse;
}
#formmail-write .formwr .privacy-of-use table th,
#formmail-write .formwr .privacy-of-use table td {
  border: 1px solid rgb(226, 226, 226);
  padding: 5px;
}
#formmail-write .formwr .privacy-of-use table th {
  background: rgb(245, 245, 247);
}

#formmail-write .formwr .privacy-of-use-check {
  text-align: right;
  padding: 10px;
  color: #fff;
  font-size: 1rem;
}

.privacy-of-use-check label input,
.privacy-of-use-check label {
  font-size: 1rem;
}
#formmail-write .formwr .form-group > table {
  width: 100%;
  padding: calc(100vw * 20 / 1920) 0;
  border-bottom: solid 1px #fff;
}
#formmail-write .formwr .form-group > table > tbody > tr > td {
  padding: calc(100vw * 10 / 1920) 0;
}
#formmail-write .formwr .form-group > table > tbody > tr > th {
  width: 37%;
  text-align: left;
}
#formmail-write .formwr .form-group > table > tbody > tr > th > span {
  font-size: 0.8rem;
  font-weight: 200;
  line-height: 2;
}

.checkSch,
.test1 {
  margin-right: 10px;
}

#formmail-write > .twr {
  height: calc(100vw * 350 / 1920);
}
.uploadbtn {
  text-align: right !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
.uploadbtn > .upload-name {
  display: grid;
  height: calc(100vw * 40 / 1920);
  padding: 0 calc(100vw * 10 / 1920);
  vertical-align: middle;
  border: 1px solid #dddddd;
  width: 100%;
  justify-content: center;
  align-self: center;
  color: #999999;
}

.uploadbtn label {
  display: grid;
  justify-content: center;
  align-items: center;
  width: calc(100vw * 150 / 1920);

  padding: calc(100vw * 10 / 1920) calc(100vw * 20 / 1920);
  color: #fff;
  vertical-align: middle;
  background-color: #999999;
  cursor: pointer;
  height: calc(100vw * 40 / 1920);
  margin-left: calc(100vw * 10 / 1920);
  font-size: calc(100vw * 15 / 1920) !important;
}

.uploadbtn #file {
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
}

.agreepage {
  max-width: 900px;
  margin: 0 auto 50px;
  width: 100%;
}

.privacy-of-use {
  height: 190px;
  overflow-y: scroll;
  background-color: #efeaea;
  border-radius: 10px;
  padding: 30px;
  line-height: 1.3;
  font-size: 14px;
  color: #868585;
}

.notice-of-use {
  border-radius: 10px;
  padding: 30px 50px;
  line-height: 1.3;
  border: solid 1px #515151;
  background-color: #fff;
  margin-bottom: 15px;
  color: #515151;
}

.notice-of-use ul li {
  padding: 3px 0;
  list-style: disc;
  font-size: 14px;
  font-weight: 200;
}

.scrollbar::-webkit-scrollbar {
  width: 5px;
}

.scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.336); /* 스크롤바 색상 */
  border-radius: 5px; /* 스크롤바 둥근 테두리 */
}

.scrollbar::-webkit-scrollbar-track {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1); /*스크롤바 뒷 배경 색상*/
}

.privacy-of-use-check {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: right;
  margin-top: 15px;
}

#proceed-button {
  width: 50%;
  height: 50px;
  border: solid 1px #515151;
  background-color: transparent;
  color: #515151;
  margin: 30px auto 0;
  display: block;
  border-radius: 10px;
  font-size: 1rem;
}

#proceed-button:hover {
  background-color: #fff;
  color: #000;
  transition: 0.3s;
}

.agreetitle {
  width: 100%;
  color: #515151;
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-align: center;
  margin-bottom: 30px;
}

.agreetitle p {
  color: #9e908b;
  font-size: 1rem;
}

.agreetitle span {
  border-bottom: solid 1px #515151;
  padding-bottom: 5px;
  display: block;
  width: fit-content;
  margin: 0 auto;
  font-weight: 800;
  font-size: 1.6rem;

  margin-bottom: 15px;
}

.formwr_flex {
  display: block;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.formwr_flex .left_form {
  width: 100%;
  height: fit-content;
  margin-bottom: 50px;
  text-align: center;
}

.formwr_flex .left_form h2 {
  font-family: "Edensor", sans-serif;
  font-weight: lighter;
  font-size: 3rem;
  letter-spacing: 0.1em;
}

.formwr_flex .left_form p {
  font-size: 1rem;
  margin-top: 15px;
  line-height: 1.5;
}

.formwr_flex .right_form {
  width: 100%;
}

#wr_content {
  width: 100%;
  border-radius: 10px;
  padding: 15px;
}

.form_table {
  margin-bottom: 100px;
}

.reservation_table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
}

.table_header_title th {
  width: 100%;
  padding: 0 0 10px 0;
  border-bottom: solid 1px #515151;
  text-align: left;
  color: #515151;
  box-sizing: border-box;
  font-size: 1.3rem;
}

.reservation_table tbody tr td {
  padding: 15px 0;
  font-size: 16px;
}

.reservation_table tbody tr:nth-child(1) td {
  padding-top: 30px;
}

.reservation_table tbody tr td:nth-child(1) {
  width: 15%;
}

.reservation_table tbody tr td:nth-child(2) {
  width: 70%;
}

.reservation_table tbody tr td:nth-child(2) input,
.reservation_table tbody tr td:nth-child(2) textarea {
  width: 100%;
  border-radius: 5px;
  border: none;
  background-color: #fff;
  height: 50px;
  border: solid 1px #ccc;
  padding: 0 15px;
}

.reservation_table tbody tr td:nth-child(2) textarea {
  padding: 15px;
  height: 100px;
}

.form-footer > button {
  background-color: transparent;
  color: #515151;
  font-weight: 300;
  font-size: 16px;
  border: solid 1px #515151;
  width: 100%;
  padding: 10px;
  max-width: 900px;
  height: fit-content;
  border-radius: 10px;
  margin: 0 auto;
}

.form-footer {
  text-align: center;
}

.form-footer > button:hover {
  background-color: #fff;
  color: #000;
}

.radio_input_wrap {
  display: flex;
  align-items: center;
  justify-content: left;
}

.radio_style {
  display: flex;
  align-items: center;
  justify-content: left;
  margin-right: 20px;
}

.radio_style input {
  width: 20px !important;
  height: 20px !important;
  margin-right: 5px;
}

@media (max-width: 1280px) {
  .formwr_flex,
  .agreepage {
    min-width: 768px;
    max-width: 900px;
    width: 60%;
    margin: 0 auto;
  }
  .reservation_table tbody tr td:nth-child(1) {
    font-size: 0.8rem;
    width: 25%;
  }
  .reservation_table tbody tr td:nth-child(2) {
    width: 100%;
  }
  .reservation_table tbody tr td:nth-child(2) input {
    height: 40px;
  }

  #reservation-section {
    margin-top: 50px;
  }
}

@media (max-width: 768px) {
  #formmail-write {
    padding: 30px 30px;
    height: fit-content;
  }

  #reservation-section {
    margin-top: 60px;
  }

  .notice-of-use {
    padding: 20px 30px;
  }

  .formwr_flex {
    flex-wrap: wrap;
  }

  .formwr_flex,
  .agreepage {
    min-width: initial;
    max-width: 768px;
    width: 100%;

    margin: 0 auto;
  }

  .formwr_flex .left_form,
  .formwr_flex .right_form {
    width: 100%;
    margin-bottom: 30px;
  }

  .formwr_flex .left_form p {
    font-size: 0.8rem;
  }

  .form_table {
    margin-bottom: 70px;
  }

  .reservation_table tbody tr td label {
    font-size: 0.8rem;
  }
  .reservation_table tbody tr td:nth-child(1) {
    font-size: 0.8rem;
    width: 25%;
  }

  .radio_input_wrap {
    display: block;
  }

  .radio_input_wrap .radio_style {
    margin-bottom: 10px;
  }

  .reservation_table tbody tr td:nth-child(2) {
    width: 100%;
  }
  .reservation_table tbody tr td:nth-child(2) input {
    height: 40px;
  }

  .agreetitle p {
    color: #9e908b;
    font-size: 0.9rem;
  }
}
