section .inner {
  max-width: 1200px;
  min-width: 500px;
  /* background-color: rgb(127, 255, 136); */
  margin: 0 auto;
}
section h1 {
  color: #55433c;
  font-size: 2.5rem;
  margin-top: 20px;
  display: block;
  margin: 20px auto 40px;
  width: 280px;
}
/* form 상단 */
.form_top {
  display: flex;
  justify-content: space-evenly;
}
/* form 왼쪽 이미지 업로드 */
.form_top .top_left {
  /* background-color: red; */
}

/* 이미지 업로드 선택창 */
.form_top .top_left label {
  background-color: #c7a88c;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  border-radius: 6px;
  cursor: pointer;
  width: 100px;
  display: block;
}

.form_top .top_left label:hover {
  background-color: #9ab292;
}

.form_top .top_left input[type="file"] {
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
}

.form_top .top_left .upload-box {
  width: 280px;
  box-sizing: border-box;
}

.form_top .top_left .upload-box .drag-file {
  height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 3px dashed #dbdbdb;
  position: relative;
}

.form_top .top_left .upload-box .highlight {
  border: 3px dashed #9ab292;
}

.upload-box .drag-file .image {
  width: 40px;
}

.upload-box .drag-file .message {
  display: block;
  padding-top: 20px;
}

.form_top .top_left .upload-box .drag-file #preview {
  display: none;
  position: absolute;
  left: 0;
  height: 0;
  width: 100%;
  height: 100%;
}

/* form 오른쪽 */
.inner .form_top .top_right {
  /* background-color: orange; */
  padding-top: 40px;
}
.inner .form_top .top_right li {
  padding: 15px;
  font-size: 1.4rem;
}

.inner .form_top .top_right li select {
  width: 150px;
  /* padding: 0.8em 0.5em; */
  width: auto; /* 기본적으로 너비를 내용에 맞게 자동 조정합니다. */
  padding: 0.5em 0.8em;
}

.inner .form_top .top_right label {
  color: #3d2d27;
  padding-right: 20px;
}

.inner .form_top .top_right input {
  padding: 7px;
  border-radius: 50px;
  border: 1px solid #55433c;
}

.inner .form_top .top_right li #data {
  width: 140px;
}

.inner .form_top .top_right li #place {
  width: 160px;
  border-radius: 20px;
}

.inner .form_top .top_right li #number {
  width: 145px;
}

.inner .form_top .top_right li #region {
  width: 205px;
}
/* 폼 버튼 */

section .button {
  display: flex;
  justify-content: center;
}

section .button button {
  background-color: #c7a88c;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  border-radius: 6px;
  cursor: pointer;
  width: 80px;
  display: block;
  margin: 30px;
  border: none;
  font-size: 1rem;
}

/* 모바일 반응형 웹, 브라우저 크기가 780이하일 때 header*/
@media all and (max-width: 560px) {
  section .inner {
    max-width: 560px;
    min-width: 360px;
    /* background-color: rgb(127, 255, 136); */
    margin: 0;
  }
  section h1 {
    font-size: 2.4rem;
    width: 150px;
  }

  .form_top {
    width: 360px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
  }

  .inner .form_top .top_right li {
    padding: 10px;
    font-size: 1.4rem;
  }
  .inner .form_top .top_right label {
    padding-right: 10px;
  }
}

@media all and (max-width: 360px) {
  section .inner {
    max-width: 360px;
    min-width: 360px;
    /* background-color: rgb(127, 255, 136); */
    margin: 0;
  }
  section h1 {
    font-size: 2.4rem;
  }

  .form_top {
    display: flex;
    flex-wrap: wrap;
  }

  .inner .form_top .top_right li {
    padding: 10px;
    font-size: 1.2rem;
  }
  .inner .form_top .top_right label {
    padding-right: 10px;
  }
}
