@charset "utf-8";

/* news一覧 */
/*.news-category-list {
  grid-template-columns: repeat(6, 1fr);
}*/
.newslist-col {
  position: relative;
  display: flex;
  padding: 15px;
  gap: 6%;
  margin-bottom: 30px;
  align-items: center;
  border: 1px solid var(--color-base);
  border-radius: 10px;
  background: var(--color-white);
}
.newslist-col:hover {
  background: var(--color-base-light);
  transition: all 0.5s;
}
.newslist-pict {
  max-width: 300px;
  width: 100%;
}
.newslist-main {
  display: flex;
  justify-content: space-between;
  gap: 6%;
  align-items: center;
  width: 100%;
}
.newslist-main .btn-arrow {
  z-index: 2;
}
.newslist-category {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 5px;
  margin-top: 20px;
  margin-bottom: 25px;
}
.newslist-category .front-category {
  width: fit-content;
  white-space: nowrap;
}
.newslist-txt {
  font-size: var(--font-size-18px);
  font-weight: var(--font-regular);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
}
.newslist-post {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 960px) {
  .newslist-col,
  .newslist-main {
    gap: 4%;
  }
  .newslist-category {
    margin-top: 15px;
    margin-bottom: 20px;
  }
  .newslist-txt {
    font-size: var(--font-size-16px);
  }
}
@media screen and (max-width: 767px) {
  .newslist-pict {
    display: none;
  }
  .newslist-category {
    margin-top: 10px;
    margin-bottom: 15px;
  }
  .newslist-main .btn-arrow {
    display: none;
  }
}

/* news詳細ページ */
.post-area {
  background-color: var(--color-base-light);
}
.post-main h1,
.post-main h3,
.post-main h4,
.post-main h5,
.post-main h6 {
  padding-bottom: 10px;
  line-height: 1.8;
}
.post-main h2 {
  position: relative;
  font-size: var(--font-size-28px);
  font-weight: var(--font-black);
  letter-spacing: 0.25em;
  line-height: 1.8;
  padding: 0 0 65px 40px;
}
.post-main h2::before {
  content: '';
  position: absolute;
  top: 13%;
  left: 0;
  width: 23px;
  height: 23px;
  background-image: url("../images/contents-title-001_wt.svg");
  background-repeat: no-repeat;
  background-size: 100%;
}
.post-main h3 {
  font-size: var(--font-size-20px);
  font-weight: var(--font-black);
  letter-spacing: .1em;
  line-height: 1;
}
.post-main h4,
.post-main h5,
.post-main h6 {
  font-size: var(--font-size-18px);
  font-weight: var(--font-bold);
  letter-spacing: .1em;
}
.post-main p {
  font-size: var(--font-size-16px);
  margin-top: 2rem;
}
.post-main table td,
.post-main table th,
.post-main p,
.post-main a {
  font-size: var(--font-size-16px);
}
.post-main p > a {
  color: var(--color-text-blue);
  font-weight: var(--font-bold);
  border-bottom: 1px solid var(--color-base);
}
.post-main hr {
  color: var(--color-base);
  border-width: 1px;
  border-style: dashed;
}
.post-main ul {
  margin-left: 1.5em;
}
.post-main ul > li {
  list-style: disc;
}
.post-main ul > li > ul >li {
  list-style: circle;
}
.post-main ol > li {
  list-style: decimal;
  margin-left: 20px;
}
.post-main .wp-block-list {
  margin-left: none;
}
.post-content {
  position: relative;
  margin: 0 auto;
  max-width: 1120px;
  padding: 80px 30px;
}
.post-title-wrap {
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--color-base);
}
.post-title-wrap .newslist-category {
  margin-top: 20px;
  margin-bottom: 45px;
}
.post-title-wrap .newslist-category .front-category {
  background-color: var(--color-white);
}
.post-title {
  font-size: var(--font-size-36px);
  font-weight: var(--font-black);
  letter-spacing: .1em;
  line-height: 1.5;
}
.post-pagefooter {
  margin-top: 80px;
}
.post-pagefooter .btn-regular {
  margin: 0 auto;
}
@media screen and (max-width: 1080px) {
  .post-main p {
    margin-top: 1.5rem;
  }
  .news-intro-wrap_back::before {
    height: 100%;
  }
  .post-title {
    font-size: var(--font-size-28px);
  }
  .post-title-wrap {
    margin-bottom: 60px;
    padding-bottom: 60px;
  }
  .post-title-wrap .newslist-category {
    margin-top: 15px;
    margin-bottom: 35px;
  }
  .post-pagefooter {
    margin-top: 60px;
  }
}
@media screen and (max-width: 767px) {
  .post-main p {
    font-size: var(--font-size-15px);
  }
  .post-content {
    padding: 50px 30px;
  }
  .post-title {
    font-size: var(--font-size-24px);
  }
  .post-title-wrap {
    margin-bottom: 45px;
    padding-bottom: 45px;
  }
  .post-title-wrap .newslist-category {
    margin-top: 10px;
    margin-bottom: 30px;
  }
  .post-pagefooter {
    margin-top: 30px;
  }
}

/*--投稿の表--*/
/*基本の表*/
.wp-block-table table {
  width: 100%;
  margin-bottom: 50px;
}
.post-main .wp-block-table thead {
  border-bottom: none;
}
.post-main .wp-block-table thead th {
  text-align: left;
  font-weight: var( --font-bold);
  color: var(--color-text-white);
  background: var(--color-base);
  padding: 1em;
  border-right: solid 1px var(--color-base-light);
}
.post-main .wp-block-table tbody tr td {
  padding: 1em;
  border-left: solid 1px var(--color-base);
  border-bottom: solid 1px var(--color-base);
  background: var(--color-white);
}
.post-main .wp-block-table tbody tr td:last-child {
  border-right: solid 1px var(--color-base);
}
/*投稿の表-ストライプ*/
.post-main .wp-block-table.is-style-stripes table {
  border: none;
}
.post-main .wp-block-table.is-style-stripes thead th {
  border-right: none;
  background: var(--color-base);
}
.post-main .wp-block-table.is-style-stripes table td {
  background: none;
  border: none;
}
.post-main .wp-block-table.is-style-stripes tbody tr td {
  border-bottom: none;
  border-right: none;
}
.post-main .wp-block-table.is-style-stripes tbody tr {
  color: var(--color-text-white);
  background: var(--color-base);
}
.post-main .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  color: var(--color-text-base);
  background: var(--color-white);
}

.news-nonecat-wrap {
  text-align: center;
}
.news-nonecat-wrap p {
  display: inline-block;
  text-align: left;
}