.page-inpage {
  font-size: 100%;
  background-color: #000;
  color: #373737;
  font-size: 18px;
  font-weight: bold;
  font-family: "Microsoft JhengHei";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-inpage a {
  text-decoration: none;
}

.page-inpage .wrap {
  width: 100%;
  min-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}

.page-inpage {
  background: #ecddd6;
}

.news-header {
  width: 100%;
  height: 439px;
  background: url("../images/inpage-news-bg.png") bottom no-repeat;
}

.faq-header {
  width: 100%;
  height: 439px;
  background: url("../images/inpage-faq-bg.png") bottom no-repeat;
}

.inpage-inner {
  width: 1280px;
  height: 100%;
  margin: 0 auto;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.inpage-inner img {
  max-width: 100%;
  height: auto !important;
}

.page-inpage .container {
  padding: 38px 0 58px 0;
  width: 100%;
}

.page-inpage .container .inpage-inner {
  display: block;
}

.news-board, .text-board {
  width: 1200px;
  margin-top: -150px;
}

.news-board-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.news-board-tab {
  width: 223px;
  height: 58px;
  color: transparent;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  text-indent: -9999px;
  white-space: nowrap;
  -webkit-transition: -webkit-transform 0.2s ease, -webkit-filter 0.2s ease;
  transition: -webkit-transform 0.2s ease, -webkit-filter 0.2s ease;
  transition: transform 0.2s ease, filter 0.2s ease;
  transition: transform 0.2s ease, filter 0.2s ease, -webkit-transform 0.2s ease, -webkit-filter 0.2s ease;
}

.news-board-tab:hover {
  -webkit-filter: brightness(1.04);
          filter: brightness(1.04);
}

.news-board-tab:nth-child(1) {
  background: url("../images/news-btn-new.png") center no-repeat;
  background-size: cover;
}
.news-board-tab:nth-child(1).is-active {
  background: url("../images/news-btn-new-ac.png") center no-repeat;
  background-size: cover;
}

.news-board-tab:nth-child(2) {
  background: url("../images/news-btn-important.png") center no-repeat;
  background-size: cover;
}
.news-board-tab:nth-child(2).is-active {
  background: url("../images/news-btn-important-ac.png") center no-repeat;
  background-size: cover;
}

.news-board-tab:nth-child(3) {
  background: url("../images/news-btn-system.png") center no-repeat;
  background-size: cover;
}
.news-board-tab:nth-child(3).is-active {
  background: url("../images/news-btn-system-ac.png") center no-repeat;
  background-size: cover;
}

.news-board-tab:nth-child(4) {
  background: url("../images/news-btn-event.png") center no-repeat;
  background-size: cover;
}
.news-board-tab:nth-child(4).is-active {
  background: url("../images/news-btn-event-ac.png") center no-repeat;
  background-size: cover;
}

.news-board-tab:nth-child(5) {
  background: url("../images/news-btn-service.png") center no-repeat;
  background-size: cover;
}
.news-board-tab:nth-child(5).is-active {
  background: url("../images/news-btn-service-ac.png") center no-repeat;
  background-size: cover;
}

.news-board-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}

.news-board-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 24px 0 16px;
  border-radius: 8px;
  background: #fffdfb;
  -webkit-box-shadow: 0 3px 10px rgba(115, 79, 54, 0.2);
          box-shadow: 0 3px 10px rgba(115, 79, 54, 0.2);
  color: #3d322b;
  text-decoration: none;
  min-height: 64px;
}

.news-badge {
  min-width: 58px;
  height: 23px;
  line-height: 23px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  border-radius: 50px;
  margin-right: 5px;
}

.news-badge.is-important {
  background: #c94a4a;
}

.news-badge.is-event {
  background: #8dc369;
}

.news-badge.is-system {
  background: #5b83b5;
}

.news-badge.is-service {
  background: #aa7d51;
}

.news-title {
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-date {
  color: #c09f8e;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
  margin-left: auto;
}

.news-board-pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.news-board-page {
  min-width: 34px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #8f8278;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 34px;
  text-align: center;
  text-decoration: none;
}

.news-board-page.is-active {
  background: #b86f3a;
}

.news-board-page-nav {
  padding: 0 16px;
}

.news-article, .article-style {
  position: relative;
  width: 100%;
  height: auto;
  padding: 50px 50px;
  border-radius: 8px;
  background: #fffdfb;
  -webkit-box-shadow: 0 8px 10px rgba(180, 151, 137, 0.8);
          box-shadow: 0 8px 10px rgba(180, 151, 137, 0.8);
}

.news-article__tit {
  font-size: 30px;
  font-weight: bold;
  color: #2e2e2e;
}

.article-style__tit {
  position: relative;
  font-size: 30px;
  font-weight: bold;
  color: #2e2e2e;
  margin-bottom: 35px;
}
.article-style__tit:before {
  content: "";
  position: absolute;
  bottom: -25px;
  width: 1056px;
  height: 18px;
  background: url("../images/news-hr.png") no-repeat left;
}

.news-article__date {
  position: relative;
  font-size: 14px;
  color: #a8a8a8;
  padding-left: 5px;
  margin-bottom: 35px;
}
.news-article__date:before {
  content: "";
  position: absolute;
  bottom: -25px;
  width: 1056px;
  height: 18px;
  background: url("../images/news-hr.png") no-repeat left;
}

.news-article__cont {
  color: #79716b;
}
.news-article__cont p {
  position: relative;
  margin: 0 0 0.8em;
  padding: 0 0 0.3em 0;
}
.news-article__cont img {
  max-width: 100%;
}
.news-article__cont ul, .news-article__cont ol {
  display: block;
  -webkit-margin-before: 1em;
          margin-block-start: 1em;
  -webkit-margin-after: 1em;
          margin-block-end: 1em;
  -webkit-padding-start: 40px;
          padding-inline-start: 40px;
  unicode-bidi: isolate;
}
.news-article__cont ul p, .news-article__cont ol p {
  padding: 0 0 0.65em 0.5em;
}

.news-article__back {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 140px;
  height: 44px;
  margin: 24px auto 0 auto;
  padding: 0 24px;
  border-radius: 999px;
  background: #79716b;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  -webkit-transition: background 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, transform 0.2s ease;
  transition: background 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
}
.news-article__back:hover {
  background: #5e4235;
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
}

@media (max-width: 768px) {
  .page-inpage .wrap {
    width: 100%;
    min-width: 0;
  }
  .inpage-inner {
    width: 100%;
    padding: 0 16px;
  }
  .inpage-title {
    text-align: center;
    width: 80%;
  }
  .inpage-title img {
    max-width: 100%;
  }
  .news-board, .text-board {
    width: 100%;
  }
  .news-board-tabs {
    gap: 10px;
    margin-bottom: 14px;
  }
  .news-badge {
    min-width: 47px;
  }
  .news-board-tab {
    width: calc(50% - 5px);
    max-width: 223px;
    height: auto;
    aspect-ratio: 223/58;
  }
  .news-board-item {
    padding: 12px 10px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
    min-height: 0;
  }
  .news-board-badge {
    margin-top: 2px;
  }
  .news-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.5;
  }
  .news-date {
    font-size: 12px;
    margin-top: 2px;
  }
  .news-board-pagination {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .news-article, .article-style {
    padding: 6%;
  }
  .article-style__tit:before {
    width: 98%;
  }
  .news-article__date:before {
    width: 98%;
  }
  .news-article__back {
    width: 100%;
  }
}