:root {
  --color-background: #ffffff;
}
.notice .table-top-bar {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  height: 60px;
  align-items: start;
  margin-top: 140px;
}
@media screen and (max-width: 599px) {
  .notice .table-top-bar {
    margin-top: 50px;
    height: 50px;
  }
}
.notice .search-bar {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
  height: auto;
  padding-right: 60px;
}
.notice .search-bar > input {
  width: calc(100% - 110px);
  max-width: 350px;
  height: 50px;
  border: 1px solid #dddddd;
  background-color: transparent;
  border-right: none;
  outline: none;
  padding: 0 1rem;
  font-size: 1rem;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
@media screen and (max-width: 599px) {
  .notice .search-bar {
    padding-right: 50px;
  }
  .notice .search-bar > input {
    max-width: unset;
    flex: 1 1 0;
    height: 40px;
  }
}
.notice .search-bar > input:focus-visible {
  border-width: 2px;
  border-color: var(--color-green);
}
.notice .search-bar > button.search-button {
  width: 50px;
  height: 50px;
  border: none;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: var(--color-green);
  background-image: url(../images/icon_search.png);
  background-repeat: no-repeat;
  background-position: center center;
}
@media screen and (max-width: 599px) {
  .notice .search-bar > button.search-button {
    width: 40px;
    height: 40px;
  }
}
.notice .search-bar .search-filter-radio-bar {
  position: absolute;
  width: fit-content;
  max-width: 0px;
  height: 100%;
  top: 0;
  right: 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-background);
  border: 0px solid #dddddd;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-right: none;
  transition: max-width 200ms ease;
}
@media screen and (max-width: 599px) {
  .notice .search-bar .search-filter-radio-bar {
    right: 40px;
  }
}
.notice .search-bar button.search-filter-button {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--color-green);
  background-image: url(../images/icon_filter.png);
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 4px;
}
@media screen and (max-width: 599px) {
  .notice .search-bar button.search-filter-button {
    width: 40px;
    height: 40px;
  }
}
.notice .search-bar .search-filter-radio-bar.show {
  max-width: 300px;
  border-width: 1px;
}
.notice .search-bar .search-filter-radio-bar.show + .search-filter-button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.notice .search-bar .search-filter-radio-bar > input[type='radio'] {
  display: none;
}
.notice .search-bar .search-filter-radio-bar > .filter-radio-label {
  font-size: 1rem;
  width: 90px;
  height: 18px;
  border-right: 1px solid #dddddd;
  text-align: center;
}
.notice .search-bar .search-filter-radio-bar > .filter-radio-label.checked {
  color: var(--color-green);
}
.notice .search-bar .search-filter-radio-bar > .filter-radio-label:last-of-type {
  border-right: none;
}

.paging-bar {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
  font-size: clamp(0.875rem, 3.3vw, 20px);
}
.paging-bar .clear-button {
  width: clamp(20px, 8.3vw, 50px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.paging-bar .paging-input {
  width: clamp(40px, 10vw, 60px);
  height: clamp(30px, 6.7vw, 40px);
  text-align: center;
  color: var(--color-green);
  border: 1px solid var(--color-green);
  border-radius: 5px;
  background-color: transparent;
  font-size: clamp(0.875rem, 3.3vw, 20px);
}

.bbs-table {
  width: 100%;
  border-top: 2px solid black;
  color: #666666; 
}
.bbs-table-row,
.bbs-table-header {
  width: 100%;
  display: grid;
  grid-template-columns: 80px 1fr 260px;
  border-bottom: 1px solid #dddddd;
  padding-block: 1rem;
  font-size: 1rem;
}
.bbs-table-header {
  background-color: #f8f8f8;
  color: black;
}
.bbs-table-row .bbs-table-opt,
.bbs-table-header .bbs-table-opt {
  display: grid;
  grid-template-columns: 80px 180px;
}
.bbs-table-row p,
.bbs-table-header p {
  width: 100%;
  text-align: center;
}
.bbs-table-row p.align-left {
  text-align: left;
  font-size: 20px;
  padding-inline: 1rem;
  color: #000;
}
.bbs-table-row {
  color: #999999;
  background-color: var(--color-background);
  cursor: pointer;
}
.bbs-table-row:hover {
  background-color: #f3fefd;
}
.bbs-table-row:hover p.align-left {
  color: var(--color-green);
}
@media screen and (max-width: 599px) {
  .bbs-table-header {
    display: none;
  }
  .bbs-table-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .bbs-table-row p {
    font-size: clamp(14px, 2.7vw, 1rem);
  }
  .bbs-table-row p.align-left {
    text-align: left;
    font-size: clamp(1rem, 3.3vw, 20px);
    padding-inline: 0;
  }
  .bbs-table-row .bbs-table-opt {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
  }
  .bbs-table-row .bbs-table-opt p {
    width: fit-content;
  }
  .bbs-table-row .bbs-table-opt p::before {
    content: attr(data-cell);
    margin-inline-end: 5px;
  }
  .bbs-table-row > p:first-child {
    display: none;
  }
}
.bbs-detail {
  width: 100%;
  margin-top: 140px;
  border-top: 2px solid black;
}
.bbs-detail > div {
  border-bottom: 1px solid #dddddd;
  padding-inline: 20px;
}
@media screen and (max-width: 599px) {
  .bbs-detail {
    margin-top: 50px;
  }
  .bbs-detail > div {
    padding-inline: 0 0;
  }
}
.bbs-detail > div:last-child {
  border-bottom: 1px solid black;
}
.bbs-detail-title-box {
  padding-block: 20px;
}
p.bbs-detail-title {
  font-size: clamp(18px, 4vw, 24px);
  color: black;
  padding-bottom: 20px;
}
div.bbs-detail-info-bar {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
div.bbs-detail-info-bar > p {
  font-size: clamp(0.75rem, 2.67vw, 1rem);
  width: fit-content;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
div.bbs-detail-body {
  padding-block: 40px;
  line-height:40px;
}
.bbs-detail-body-example {
  background-color: #f3f3f3;
  display: grid;
  place-items: center;
  width: 100%;
  height: 460px;
  color: black;
  font-size: 24px;
}
.bbs-detail > div.bbs-detail-attach {
  width: 100%;
  padding-inline: 0 0;
  display: grid;
  grid-template-columns: 120px 1fr;
}
.bbs-detail > div.bbs-detail-attach > p {
  width: 100%;
  min-height: 60px;
  font-size: 1rem;
  line-height: 60px;
  padding-inline: 1rem;
  text-align: left;
  color: black;
}
.bbs-detail > div.bbs-detail-attach > p a:hover {
  color: var(--color-green);
}
.bbs-detail > div.bbs-detail-attach > p:first-child {
  background-color: #f8f8f8;
  text-align: center;
  padding-inline: 0;
}
@media screen and (max-width: 599px) {
  .bbs-detail > div.bbs-detail-attach {
    display: block;
  }
  .bbs-detail > div.bbs-detail-attach > p {
    min-height: unset;
    height: fit-content;
    padding-inline: 0;
    padding-block: 1em;
    line-height: normal;
    font-size: 0.875rem;
    text-align: left;
  }
  .bbs-detail > div.bbs-detail-attach > p:first-child {
    text-align: left;
    background-color: transparent;
    padding-block: 1em 0;
  }
}
.bbs-detail-nav-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
}
.bbs-detail-nav-bar > button {
  width: 60px;
  height: 60px;
  background-color: var(--color-background);
  border: 1px solid var(--color-green);
  border-radius: 5px;
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .bbs-detail-nav-bar {
    margin-top: 50px;
    height: 50px;
  }
  .bbs-detail-nav-bar > button {
    transform: scale(0.6);
  }
}
.bbs-detail-nav-bar > button:hover {
  background-color: var(--color-green);
}
.bbs-detail-nav-bar > button.btn-prev-item {
  background-image: url(../images/icon_chevron_left_green.png);
}
.bbs-detail-nav-bar > button.btn-prev-item:hover {
  background-image: url(../images/icon_chevron_left_white.png);
}
.bbs-detail-nav-bar > button.btn-listup-item {
  background-color: var(--color-green);
  background-image: url(../images/icon_listup_white.png);
}
.bbs-detail-nav-bar > button.btn-listup-item:hover {
  background-color: var(--color-background);
  background-image: url(../images/icon_listup_green.png);
}
.bbs-detail-nav-bar > button.btn-next-item {
  background-image: url(../images/icon_chevron_right_green.png);
}
.bbs-detail-nav-bar > button.btn-next-item:hover {
  background-image: url(../images/icon_chevron_right_white.png);
}

.terms-body {
  width: 100%;
  height: auto;
}