.board__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.board__list h3 {
  font-family: "GmarketSans";
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
}

.board__list h3:nth-of-type(2) {
  margin-top: 60px;
}

.table__scroll {
  width: 100%;
  overflow-x: auto;
}

.board__table.type2,
.board__table.type3 {
  min-width: 300px;
  color: #000;
  table-layout: auto;
}

.board__table.m-20 {
  margin: 20px 0;
}

.board__table th,
.board__table td {
  vertical-align: middle;
  border-width: 0;
  border-style: solid;
  border-color: #e6e6e6;
}

.board__table th {
  height: 54px;
  font-weight: var(--font-weight-semibold);
  text-align: center;
  padding: 19px 8px;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  background: #fbfbfb;
}

.board__table.type2 th,
.board__table.type3 th {
  height: auto;
  padding: 12px 8px;
  border: 1px solid #e6e6e6;
}

.board__table.type3 thead th {
  background: #f0f8ff;
}

.board__table tbody td {
  height: 79px;
  line-height: var(--line-height-xs);
  text-align: center;
  padding: 28px 8px;
  border-bottom: 1px solid #e6e6e6;
}

.board__table.type2 tbody th {
  background: #f8f9fa;
}

.board__table.type2 tbody td,
.board__table.type3 tbody td {
  height: auto;
  padding: 12px 8px;
  border: 1px solid #e6e6e6;
  background: var(--color-white);
}

.board__table tbody td[data-title="제목"] {
  text-align: left;
}

.board__table tbody td a:hover {
  color: var(--primary-300);
  text-decoration: underline;
}

.board__table tbody td.success {
  color: var(--primary-300);
}

.board__table.type2 tbody td .link {
  font-weight: var(--font-weight-semibold);
  color: var(--primary-300);
}

.board__table tbody td.text-left {
  text-align: left;
  padding-left: 20px;
}

.board__table.type2 .single-line,
.board__table.type3 .single-line {
  white-space: nowrap;
  width: auto;
  min-width: fit-content;
}

.mobile__scroll__wrap {
  position: sticky;
  left: 0;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mobile__scroll__wrap p {
  font-size: var(--font-size-s);
  color: #606060;
  line-height: var(--line-height-xs);
}

.table__scroll .mobile__scroll {
  position: sticky;
  left: 0;
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin: 10px 0;
  padding-right: 20px;
  background: url('../../../../images/react/icon/ico_double_arrow.svg') right center no-repeat;
  background-size: 12px;
}

.post__title {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dadada;
}

.post__title h3 {
  font-size: var(--font-size-3xl);
}

.post__info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.post__info li:nth-child(n + 2) {
  padding-left: 20px;
  border-left: 1px solid #dadada;
}

.post__info li.date {
  color: #606060;
}

.post__content {
  min-height: 200px;
  font-size: var(--font-size-lg);
  color: #606060;
  line-height: var(--line-height-xs);
  padding: 65px 0;
}

.post__content pre {
  white-space: pre-wrap;
}

.post__attach {
  display: flex;
  flex-direction: column;
  border-top: 1px dashed #d4d4d4;
  border-bottom: 1px solid #d4d4d4;
}

.post__attach li {
  padding: 23px 10px;
}

.post__attach li:nth-child(n + 2) {
  border-top: 1px dashed #d4d4d4;
}

.post__attach li a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-size-lg);
}

.post__attach .ico-file {
  display: inline-block;
  width: 27px;
  height: 27px;
  background: url('../../../../images/react/icon/ico_file.svg') center no-repeat;
}

.faq__section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: var(--line-height-xs);
  padding: 20px;
  border-radius: var(--border-radius-md);
  background: var(--color-white);
  box-shadow: inset 2px 0 0 0 #c4d8f9, 0 0 10px 3px rgba(0, 0, 0, 0.05);
  background: #fcfcfc;
  cursor: pointer;
}

.faq__item input[type="radio"] {
  display: none;
}

.faq__title {
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq__title h4 {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  padding-left: 15px;
}

.faq__title h4:before {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--primary-300);
  content: "Q";
}

.faq__title:focus-visible {
  outline: 2px solid orange;
  outline-offset: 8px;
  border-radius: 4px;
}

.faq__toggle {
  display: none;
}

.faq__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 0;
  padding: 20px 20px 20px 50px;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  background: var(--color-white);
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.05);
  transition: max-height 0.3s ease-out;
}

.faq__content:before {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--error-red);
  content: "A";
}

.faq__title .view {
  position: relative;
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq__title .view:before,
.faq__title .view:after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  width: 100%;
  height: 1px;
  background: #000;
  content: "";
  transition: transform 0.3s ease;
}

.faq__toggle:checked ~ .faq__title .view:after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__toggle:checked ~ .faq__content {
  max-height: 3000px;
  transition: max-height 0.5s;
  opacity: 1;
  visibility: visible;
}

.faq__toggle:not(:checked) ~ .faq__content {
  display: none;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}

.board__title {
  font-size: var(--font-size-3xl);
  margin-bottom: 20px;
}

.board__ul {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #dadada;
  border-bottom: 1px solid #dadada;
}

.board__ul li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 10px;
}

.board__ul li:nth-child(n + 2) {
  border-top: 1px dashed #d4d4d4;
}

.board__ul li label {
  min-width: 80px;
  font-weight: var(--font-weight-semibold);
}

.board__ul li label .required {
  color: var(--error-red);
}

.board__ul li .comment {
  font-size: var(--font-size-xs);
  color: var(--primary-300);
}

.board__ul li > div,
.board__ul .input__group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.board__ul li > div.content {
  display: block;
  min-height: 200px;
  font-size: var(--font-size-lg);
  color: #606060;
  line-height: var(--line-height-sm);
}

.board__ul .input__group.column {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.board__ul .input__group span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.file__upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
  margin: 65px auto;
}

.file__upload.none {
  margin: 0;
}

.file__upload > p {
  font-size: var(--font-size-lg);
}

.file__upload .file__form {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.file__form p {
  display: block;
  /* width: 310px; */
  font-size: var(--font-size-md);
  color: #787878;
  line-height: 1.5;
  word-break: keep-all;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 5px 10px;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  border: 1px solid #dedede;
  background: var(--color-white);
  cursor: pointer;
  flex-grow: 1;
}

.file__form input[type="file"] {
  display: none;
}

.file__upload__info {
  padding: 24px 10px 10px;
  border-top: 1px dashed #d4d4d4;
}

.file__upload__info ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.file__upload__info a {
  font-size: var(--font-size-lg);
  text-decoration: underline;
  padding-left: 35px;
  background: url(../../../../images/react/icon/ico_file.svg) left center no-repeat;
  background-size: 25px;
}

@media (max-width: 765px) {
  .board__ul li.column {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
  }

  .board__ul li.column > div {
    width: 100%;
    padding: 15px 10px;
  }

  .board__ul li.column > div:nth-child(n + 2) {
    border-top: 1px dashed #d4d4d4;
  }

  .board__table colgroup,
  .board__table thead {
    display: none;
  }

  .board__table tbody tr {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    border-top: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
  }

  .board__table tbody tr:nth-child(n + 2) {
    margin-top: 30px;
  }

  .board__table tbody tr td:last-child {
    border-bottom: none;
  }

  .board__table tbody td {
    width: 100%;
    height: auto;
    display: flex;
    text-align: left;
    padding: 15px 10px;
    border-bottom: 1px dashed #dadada;
  }

  .board__table tbody td:before {
    display: inline-block;
    flex: 0 0 100px;
    font-weight: var(--font-weight-semibold);
    content: attr(data-title);
  }

  .board__table.type2 colgroup,
  .board__table.type2 thead,
  .board__table.type3 colgroup,
  .board__table.type3 thead {
    display: table-header-group;
  }

  .board__table.type2 th,
  .board__table.type2 td,
  .board__table.type3 th,
  .board__table.type3 td {
    font-size: var(--font-size-s);
  }

  .board__table.type2 tbody tr,
  .board__table.type3 tbody tr {
    display: table-row;
    border-top: none;
    border-bottom: none;
  }

  .board__table.type2 tbody tr:nth-child(n + 2),
  .board__table.type3 tbody tr:nth-child(n + 2) {
    margin-top: 0;
  }

  .board__table.type2 tbody tr td:last-child,
  .board__table.type3 tbody tr td:last-child {
    border-bottom: 1px solid #e6e6e6;
  }

  .board__table.type2 tbody td,
  .board__table.type3 tbody td {
    display: table-cell;
    width: auto;
    height: auto;
    text-align: center;
    padding: 12px 8px;
    border: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    background: var(--color-white);
  }

  .board__table.type2 tbody td:before,
  .board__table.type3 tbody td:before {
    display: none;
  }

  .board__table.type3 td img {
    height: 100px;
  }

  .mobile__scroll__wrap,
  .table__scroll .mobile__scroll {
    display: flex;
  }

  .mobile__scroll__wrap {
    flex-direction: column;
  }

  .mobile__scroll__wrap .btn__wrap {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .post__title h3 {
    font-size: var(--font-size-2xl);
  }

  .post__content {
    font-size: var(--font-size-md);
    align-items: flex-start !important;
    justify-content: flex-start;
    padding: 40px 0;
  }

  .post__attach li a {
    font-size: var(--font-size-md);
  }

  .post__attach .ico-file {
    width: 16px;
    height: 16px;
    background-size: cover;
  }

  .file__upload {
    margin: 30px auto;
  }

  .file__upload > p {
    font-size: var(--font-size-s);
  }

  .file__form p {
    width: 100%;
  }

  .file__upload__info a {
    font-size: var(--font-size-s);
    padding-left: 25px;
    background-size: 16px;
  }
}
