@charset "UTF-8";
/* layout */
html,
body {
  width: 100%;
  height: 100%;
}
body.fixed {
  overflow-y: hidden;
}
.main {
  width: 100%;
  height: 100%;
  padding: 0 20px;
  padding-top: 56px;
}
#wrap {
  width: 100%;
  height: 100%;
}
.page {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  min-height: 100dvh;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #F2F4F6;
}
.page.bg_white {
  background-color: #fff;
}
.page.bg_green {
  background-color: #F2FAF1;
}
.container {
  padding: 0 20px;
}
.header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 56px;
  width: 100%;
  max-width: 600px;
  z-index: 999;
  background-color: #F2F4F6;
}
.page.bg_white .header {
  background-color: #fff;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 100%;
  width: 100%;
}
.header .left_btn,
.header .right_btn {
  display: flex;
  align-items: center;
  width: 28px;
  height: 100%;
}
.header .btn_back {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: url(../_img/icon/icon_back.svg) no-repeat center / contain;
}
.header .btn_search {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: url(../_img/icon/icon_search.svg) no-repeat center / contain;
}
.header .btn_close {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: url(../_img/icon/icon_close_modal.svg) no-repeat center / contain;
}
.header .title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 4px;
}
.header h1 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.header .btn_menu {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: url(../_img/icon/icon_menu.svg) no-repeat center / contain;
}
.header .common-tab__menu {
  width: auto;
}
.header .common-tab__menu>a {
  height: 28px;
  flex: none;
  min-width: 84px;
  padding: 0 12px;
}
.appbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: 100%;
  height: 56px;
  background-color: #31343B;
}
.appbar__inner {
  display: flex;
  align-items: center;
  height: 100%;
}
.appbar__inner>a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 3px;
  flex: 1;
  height: 100%;
  width: 100%;
}
.appbar__inner>a .icon {
  display: inline-block;
  width: 20px;
  height: 20px;
}
.appbar__inner>a .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.appbar__inner>a span {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}
.floating_btn {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: 100%;
  padding: 20px;
  background-color: #fff;
}
.btn_area {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Text */
.info_txt {
  display: none;
  margin-top: 2px;
  font-size: 13px;
}
.info_txt.active {
  display: block;
}
.info_txt.invalid {
  color: #E42925;
}
.info_txt.gray {
  color: gray;
}
/* Title */
.common_title h1 {
  font-size: 20px;
  font-weight: 700;
}
.common_title h1 span {
  font-weight: 500;
}
.common_title p {
  margin-top: 8px;
  font-size: 16px;
  color: #767676;
}
/* Form */
.input--typeA {
  margin-bottom: 8px;
}
.input--typeA .input_wrap {
  background-color: #fff;
  border-radius: 8px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid transparent;
}
.input--typeA .input_wrap.bg_gray {
  background-color: #F2F4F6;
}
.input--typeA .input_label {
  display: block;
  font-size: 13px;
  color: #999;
  margin-bottom: 4px;
}
.input--typeA .form-control {
  border: none;
  height: 22px;
  padding: 0;
  width: 100%;
  background-color: transparent;
}
.input_wrap:focus-within {
  border: 1px solid var(--color-primary);
}
.input--typeA .input_wrap.invalid {
  border: 1px solid #E42925;
}
.input_wrap.invalid:focus-within {
  border-color: #E42925;
}
.input--typeA .textarea {
  border: none;
  min-height: 80px;
  resize: none;
}
.radio_flex_box {
  display: flex;
  align-items: center;
  gap: 16px;
}
.input--select .select-primary {
  width: 100%;
  height: 68px;
  padding-top: 12px;
}
.input--select .select-primary span.current{
  font-size: 16px;
  display: block;
  padding-top: 22px;
  position: relative;
}
.input--select .select-primary span.current::before {
  content: '';
  font-size: 13px;
  color: #999;
  position: absolute;
  top: 0;
  left: 0;
}
.file_upload {
  background: #fff;
  padding: 12px 16px;
  border-radius: 8px;
}
.upload_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.upload_header .label {
  font-size: 13px;
  color: #999;
}
.upload_header .desc {
  font-size: 16px;
  font-weight: 500;
  margin: 4px 0 0;
  color: #767676;
}
.upload-img__list {
  margin-top: 8px;
  /* margin-bottom: 8px; */
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.upload_img {
  position: relative;
  width: 56px;
  height: 56px;
  background-color: #ccc;
  border-radius: 8px;
  overflow: hidden;
}
.upload_img::after {
  content: '';
  display: inline-block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: #00000042;
}
.upload_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.btn_delete_img {
  position: absolute;
  top: 3px;
  right: 3px;
  z-index: 2;
  background: #fff;
  color: #000;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  cursor: pointer;
  background: url(../_img/icon/icon_delete_image.svg) no-repeat center / contain;
}
.image_list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.image_list .image {
  cursor: pointer;
  display: inline-block;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
}
.image_list .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Modal */
.modal--typeA .modal__inner {
  max-width: 320px;
}
.modal--typeA .modal__header {
  text-align: center;
}
/* Status */
span.status {
  display: inline-block;
  width: auto;
  height: 21px;
  line-height: 21px;
  border-radius: 800px;
  background-color: #393E48;
  text-align: center;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}
span.status.gray {
  background-color: #999999;
}
/* Card */
.farm-diary__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background-color: #fff;
  border-radius: 16px;
  margin-bottom: 12px;
}
.farm-diary__item.rep {
  align-items: flex-start;
}
.farm-diary__item .diary_info {
  flex: 1;
}
.farm-diary__item .diary_info .loc {
  padding-left: 17px;
  position: relative;
  font-size: 12px;
  font-weight: 500;
  color: #767676;
}
.farm-diary__item .diary_info .loc::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(../_img/icon/icon_loc.svg) no-repeat center / contain;
}
.farm-diary__item .diary_info h3 {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
}
.farm-diary__item .diary_info p {
  font-size: 12px;
  font-weight: 500;
  color: #767676;
  margin-top: 4px;
}
.farm-diary__item .diary_info .farm_tag {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.farm-diary__item .diary_info .farm_tag span {
  display: inline-block;
  padding: 0 10px;
  background-color: #E6E9EF;
  border-radius: 800px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  height: 22px;
  line-height: 22px;
  width: auto;
}
.farm-diary__item .diary_thum {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  justify-content: center;
}
span.rep_farm {
  width: auto;
  display: inline-block;
  padding: 0 10px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  height: 21px;
  line-height: 20px;
  border-radius: 800px;
}
.farm-diary__item .diary_thum img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
  object-fit: cover;
}
.qna__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background-color: #fff;
  border-radius: 16px;
  margin-bottom: 12px;
}
.qna__item .qna_info {
  flex: 1;
}
.qna__item .qna_info h3 {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  line-height: 1.4;
  height: auto;
  margin-top: 8px;
  margin-bottom: 10px;
}
.qna__item .qna_info ul.info_list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.qna__item .qna_info ul.info_list li {
  font-size: 12px;
  font-weight: 500;
  color: #767676;
  position: relative;
  padding-right: 4px;
}
.qna__item .qna_info ul.info_list li::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 8px;
  background-color: #E6E9EF;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.qna__item .qna_info ul.info_list li:last-child {
  padding-right: 0;
}
.qna__item .qna_info ul.info_list li:last-child::after {
  content: none;
}
.qna__item .qna_thum {
  display: inline-block;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
}
.qna__item .qna_thum img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Tab */
.common-tab__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background-color: #E6E9EF;
  width: 100%;
  border-radius: 8px;
}
.common-tab__menu>a {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #767676;
  border-radius: 6px;
  height: 40px;
}
.common-tab__menu>a.active {
  background-color: #fff;
  color: #111;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}
.nodata {
  text-align: center;
  color: #767676;
}
/* Common Detail */
.dtl__header {
  padding-bottom: 20px;
  border-bottom: 1px solid #E6E9EF;
}
.dtl__header span.status {
  margin-bottom: 8px;
}
.dtl__header h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.dtl__header ul.dtl_info {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dtl__header ul.dtl_info li {
  font-size: 12px;
  font-weight: 500;
  color: #767676;
  padding-right: 4px;
  position: relative;
}
.dtl__header ul.dtl_info li::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 8px;
  background-color: #E6E9EF;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.dtl__header ul.dtl_info li:last-child {
  padding-right: 0px;
}
.dtl__header ul.dtl_info li::after {
  content: none;
}
.dtl__content {
  margin: 20px 0;
  color: #111;
}
.dtl__answer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #E6E9EF;
  border-radius: 0 16px 16px 16px;
  background-color: #fff;
  padding: 16px;
}
.dtl__answer h3 {
  font-size: 16px;
  font-weight: 600;
}
.dtl__answer p.answer {
  margin-top: 8px;
  color: #111;
}
/* 이미지 확대 모달 */
.modal_show_image .modal__inner {
  padding: 0;
  max-width: 240px;
  background-color: transparent;
  padding-top: 36px;
}
.modal_show_image .modal__close {
  top: 0px;
  right: 0;
}
.modal_show_image .enlarge_image {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
}
.modal_show_image .enlarge_image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* 캘린더 */
.calendar {
  padding: 12px 16px;
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 8px;
}
.calendar__month {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.calendar__month button {
  display: inline-block;
  width: 16px;
  height: 16px;
}
.calendar__month .btn_prev {
  background: url(../_img/icon/icon_calendar_prev.svg) no-repeat center / contain;
}
.calendar__month .btn_next {
  background: url(../_img/icon/icon_calendar_next.svg) no-repeat center / contain;
}
.calendar__month h3 {
  font-size: 16px;
  font-weight: 600;
}
.calendar__weekday {
  display: flex;
  align-items: center;
  background-color: #F2F4F6;
  border-radius: 8px;
  height: 36px;
}
.calendar__weekday>div {
  flex: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #111;
}
.calendar .sunday {
  color: #E42925;
}
.calendar__date .week {
  display: flex;
  align-items: center;
}
.calendar__date .week>div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  aspect-ratio: 1/1;
  color: #111;
  cursor: pointer;
}
.calendar__date .week>div.sunday {
  color: #E42925;
}
.calendar__date .week>div.last_month {
  color: #999999;
}
.calendar__date .week>div.next_month {
  color: #999999;
}
.calendar__date .week>div.selected {
  color: #fff;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.calendar__date .week>div.selected::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  background-color: var(--color-primary);
}
.calendar__date .week>div.active {
  position: relative;
}
.calendar__date .week>div.active::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  position: absolute;
  left: 50%;
  bottom: 0;
  top: 75%;
  transform: translate(-50%, -50%);
}
.no_farm {
  text-align: center;
  padding-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid #E6E9EF;
  border-bottom: 1px solid #E6E9EF;
}

.no_farm p {
  font-size: 14px;
  color: #767676;
}

.no_farm .btn {
  margin-top: 12px;
  width: 120px;
}