.pw_wrap {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  max-width: 460px;
  padding: 30px;
  background-color: #fff;
  text-align: center;
  border: 1px solid #b3b3b3;
  border-radius: 20px;
  z-index: 1000;
}

.pw_wrap p:nth-child(1) {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.pw_wrap p:nth-child(2) {
  font-size: 0.875rem;
  color: #808080;
  margin-top: 10px;
}

.pw_wrap .pass_word {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin: 20px 0;
}

.pw_wrap .pass_word input {
  width: 23%;
  height: 60px;
  max-width: 45px;
  border: 1px solid #ccc;
  background: #f2f2f2;
  border-radius: 5px;
  display: block;
  outline: none;
  position: relative;
}

.announcement .inner {
  padding: 0 !important;
}

.announcement.write .inner .an_table .top {
  padding: 0;
  border-bottom: 1px solid #ccc;
}

.announcement.write .inner .an_table .top .top_box {
  display: flex;
  align-items: center;
  height: 100%;
}

.announcement.write .inner .an_table .top .top_box p input {
  width: 100%;
  outline: none;
  height: 100%;
  border: 1px solid #ccc;
  background: #f2f2f2;
  border-radius: 5px;
  display: block;
  outline: none;
  position: relative;
  padding: 0 10px;
}

#main .sub_title::before{
  display: none;
}
.announcement.write .inner .an_table .top .top_box p.input_wrap {
  height: 100%;
}

.announcement.write .inner .an_table .top .top_box p.title_p {
  padding: 0 10px;
}

.announcement.write .inner .an_table .top .top_box:nth-of-type(1) {
  width: 100%;
  flex: 1;
}

.announcement.write .inner .an_table .top .top_box:nth-of-type(1) .input_wrap {
  flex: 1;
}

.announcement.write .inner .an_table .detail_contents {
  padding: 0;
}

.announcement.write .inner .an_table .detail_contents textarea {
  width: 100%;
  height: 600px;
  overflow-y: scroll;
  border: none;
  outline: none;
  padding: 20px 20px;
}

.announcement.write .submit_btn {
  background: #000;
  color: #fff;
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin: 40px auto;
  border-radius: 30px;
  overflow: hidden;
}

.announcement.write .submit_btn a {
  display: block;
  padding: 20px 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.announcement h2 {
  text-align: center;
  margin: 30px 0;
}

.announcement {
  padding: 0 0 80px;
}

.announcement .inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.announcement .inner {
  position: relative;
}

.announcement .inner .an_table {
  margin-top: 70px;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

.announcement .inner .an_table .top {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}

.announcement .inner .an_table .top li {
  font-size: 0.875rem;
  font-weight: 500;
  color: #808080;
  text-align: center;
}

.announcement .inner .an_table .top li:nth-child(1) {
  width: 52px;
}

.announcement .inner .an_table .top li:nth-child(2) {
  width: calc(100% - 420px);
  text-align: left;
}

.announcement .inner .an_table .top li:nth-child(3) {
  width: 52px;
}

.announcement .inner .an_table .top li:nth-child(4) {
  width: 70px;
}

.announcement .inner .an_table .top li:nth-child(5) {
  width: 80px;
}

.announcement .inner .an_table .contents {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e2e2e2;
  padding: 0 30px;
}

.announcement .inner .an_table .contents:hover {
  background-color: #f2f2f2;
}

.announcement .inner .an_table .contents p {
  font-size: 0.875rem;
  color: #333;
  text-align: center;
}

.announcement .inner .an_table .contents p:nth-child(1) {
  width: 52px;
}

.announcement .inner .an_table .contents p:nth-child(2) {
  width: calc(100% - 420px);
  text-align: left;
  white-space: nowrap;
  word-break: break-all;
  text-overflow: ellipsis;
  overflow: hidden;
}

.announcement .inner .an_table .contents p:nth-child(3) {
  width: 67px;
}

.announcement .inner .an_table .contents p:nth-child(4) {
  width: 70px;
}

.announcement .inner .an_table .contents p:nth-child(5) {
  width: 80px;
}

.announcement .inner .an_table .detail_contents {
  padding: 30px;
  word-break: keep-all;
}

.announcement .inner .an_table .detail_contents p {
  font-size: 0.875rem;
  line-height: 1.5;
}

.announcement .inner .an_table .detail_contents img {
  display: block;
  margin: 20px auto;
}

.announcement .inner .detail_bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  width: 100%;
  margin: 40px auto;
  color: #000;
}

.announcement .inner .detail_bottom a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.announcement .inner .detail_bottom a p {
  font-size: 0.875rem;
  position: relative;
}

.announcement .inner .detail_bottom a.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.announcement .inner .detail_bottom a.center div {
  position: relative;
  width: 30px;
  height: 20px;
}

.announcement .inner .detail_bottom a.center div span:nth-child(1) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 2px;
  background-color: #000;
}

.announcement .inner .detail_bottom a.center div span:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
}

.announcement .inner .detail_bottom a.center div span:nth-child(3) {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
}

.announcement .inner .detail_bottom a.center p {
  position: absolute;
  bottom: -30px;
  width: 60px;
  text-align: center;
}

.announcement.detail .inner .an_ta_mob {
  display: none;
}

.page_pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 50px auto 0;
}

.page_pagination a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  background-color: #fff;
  border: 1px solid #ccc;
}

.page_pagination .num {
  display: flex;
  gap: 5px;
}

.page_pagination .num a p {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #bbb;
}

.page_pagination .num a.on {
  border-color: #000000;
}

.page_pagination .num a.on p {
  color: #000000;
  font-weight: 700;
}

@media (max-width: 1350px) {
  .announcement .inner {
    padding: 0 16px;
  }
}
@media (max-width: 1024px) {
  .announcement .inner .an_table {
    margin-top: 50px;
  }
  .announcement .inner .an_table .top {
    height: 50px;
    padding: 0 0px;
  }
  .announcement .inner .an_table .top li {
    font-size: 0.75rem;
  }
  .announcement .inner .an_table .contents {
    height: 50px;
    padding: 0 20px;
  }
  .announcement .inner .an_table .contents p {
    font-size: 0.75rem;
  }
  .announcement .inner .an_table .detail_contents {
    padding: 30px 20px;
  }
}
@media (max-width: 768px) {
  .announcement .inner .an_table {
    margin-top: 40px;
  }
  .announcement .inner .an_table .top {
    height: 40px;
    padding: 0 10px;
  }
  .announcement .inner .an_table .top li {
    font-size: 0.6875rem;
  }
  .announcement .inner .an_table .top li:nth-child(1) {
    width: 40px;
  }
  .announcement .inner .an_table .top li:nth-child(2) {
    width: calc(100% - 200px);
  }
  .announcement .inner .an_table .top li:nth-child(3) {
    width: 42px;
  }
  .announcement .inner .an_table .top li:nth-child(4) {
    width: 56px;
  }
  .announcement .inner .an_table .top li:nth-child(5) {
    display: none;
  }
  .announcement.detail .inner .an_table .top li:nth-child(5) {
    display: block;
  }
  .announcement .inner .an_table .contents {
    height: 40px;
    padding: 0 10px;
  }
  .announcement.detail .inner .an_table .contents {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: right;
    height: 50px;
  }
  .announcement .inner .an_table .contents p {
    font-size: 0.6875rem;
  }
  .announcement .inner .an_table .contents p:nth-child(1) {
    width: 40px;
  }
  .announcement.detail .inner .an_table .contents p:nth-child(1) {
    width: 40px;
    margin-right: 20px;
  }
  .announcement .inner .an_table .contents p:nth-child(2) {
    width: calc(100% - 200px);
  }
  .announcement.detail .inner .an_table .contents p:nth-child(2) {
    width: calc(100% - 60px);
  }
  .announcement .inner .an_table .contents p:nth-child(3) {
    width: 42px;
  }
  .announcement .inner .an_table .contents p:nth-child(4) {
    width: 56px;
  }
  .announcement .inner .an_table .contents p:nth-child(5) {
    display: none;
  }
  .announcement.detail .inner .an_table .contents p:nth-child(5) {
    display: block;
  }
  .announcement .inner .an_table .contents p img {
    width: 20px;
  }
  .announcement.detail .inner .an_table > .top {
    display: none;
  }
  .announcement.detail .inner .an_table > .contents {
    display: none;
  }
  .page_pagination a {
    width: 25px;
    height: 25px;
  }
  .page_pagination a img {
    width: 15px;
    height: 15px;
  }
  .page_pagination .num a p {
    font-size: 0.75rem;
  }
  .announcement .inner .an_table .detail_contents p {
    font-size: 0.8125rem;
  }
  .announcement.detail .inner .an_ta_mob {
    display: block;
  }
  .announcement.detail .inner .an_ta_mob .ttop {
    border-bottom: 1px solid #e2e2e2;
  }
  .announcement.detail .inner .an_ta_mob .ttop ul {
    display: flex;
    padding: 5px 10px;
  }
  .announcement.detail .inner .an_ta_mob .ttop ul:first-child {
    border-bottom: 1px solid #ccc;
  }
  .announcement.detail .inner .an_ta_mob .ttop ul li {
    font-size: 0.75rem;
  }
  .announcement.detail .inner .an_ta_mob .ttop ul li:first-child {
    width: 45px;
    margin-right: 15px;
    text-align: center;
  }
  .announcement.detail .inner .an_ta_mob .ttop ul li:last-child {
    width: calc(100% - 60px);
    word-break: keep-all;
  }
  .announcement.detail .inner .an_ta_mob .bbot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 10px;
    height: 35px;
    border-bottom: 2px solid #000;
  }
  .announcement.detail .inner .an_ta_mob .bbot .right {
    display: flex;
    gap: 10px;
  }
  .announcement.detail .inner .an_ta_mob .bbot .ccontents {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .announcement.detail .inner .an_ta_mob .bbot .ccontents p {
    font-size: 0.75rem;
  }
  .announcement.detail .inner .an_ta_mob .bbot .ccontents span {
    font-size: 0.75rem;
  }
  .announcement.detail .inner .an_ta_mob .bbot .ccontents img {
    width: 20px;
    height: 20px;
  }
  .announcement .inner .an_table .detail_contents {
    padding: 20px 10px;
  }
  .announcement .inner .detail_bottom a {
    gap: 10px;
  }
  .announcement .inner .detail_bottom a img {
    width: 8px;
  }
  .announcement .inner .detail_bottom a p {
    font-size: 0.75rem;
  }
  .announcement .inner .detail_bottom a.center div {
    width: 20px;
    height: 15px;
  }
  .announcement .inner .detail_bottom a.center p {
    bottom: -20px;
  }
  .announcement.detail .inner .an_ta_mob .bbot .file_mb {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .announcement.detail .inner .an_ta_mob .bbot .file_mb img {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 465px) {
  .pw_wrap {
    width: 85%;
  }
}
@media (max-width: 440px) {
  .announcement .inner .an_table .top li:nth-child(2) {
    width: calc(100% - 120px);
  }
  .announcement .inner .an_table .top li:nth-child(3) {
    display: none;
  }
  .announcement .inner .an_table .contents p:nth-child(2) {
    width: calc(100% - 120px);
  }
  .announcement .inner .an_table .contents p:nth-child(3) {
    display: none;
  }
  .announcement.detail .inner .an_ta_mob .bbot {
    justify-content: space-between;
  }
  .announcement.detail .inner .an_ta_mob .bbot .ccontents {
    gap: 5px;
  }
  .announcement.detail .inner .an_ta_mob .bbot .ccontents img {
    width: 15px;
    height: 15px;
  }
}
@media (max-width: 400px) {
  .announcement.detail .inner .an_ta_mob .bbot .ccontents p {
    font-size: 0.625rem;
  }
  .announcement.detail .inner .an_ta_mob .bbot .ccontents span {
    font-size: 0.625rem;
  }
  .pw_wrap {
    width: 90%;
  }
  .pw_wrap p:nth-of-type(1) {
    font-size: 1rem;
  }
  .pw_wrap p:nth-of-type(2) {
    font-size: 0.875rem;
  }
  .announcement.detail .inner .an_ta_mob .bbot .file_mb p{
    font-size: 10px;
  }
  .announcement.detail .inner .an_ta_mob .bbot .file_mb img {
    width: 15px;
    height: 15px;
  }
}
@media (max-width: 335px) {
  .announcement.detail .inner .an_ta_mob .bbot {
    gap: 10px;
  }
}
.write_btn a {
  display: block;
  width: 150px;
  padding: 10px 0;
  max-width: 100px;
  text-align: center;
  background-color: #fbb03b;
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 0.9375rem;
}

@media screen and (max-width: 1350px) {
  .write_btn a {
    margin-right: 16px;
  }
}
.detail_contents p img {
  width: 100%;
}
