@charset "UTF-8";
/* news*/
.news {
  padding-bottom: 130px;
}

.news__inner {
  display: flex;
  gap: 0 5%;
}

.news__cont {
  width: calc(100% - 270px);
  /* padding-left: 5%; */
}

.news__nav {
  width: 270px;
}

@media (max-width: 1334px) {
  .news {
    padding-bottom: 8vw;
  }
}
@media (max-width: 1024px) {
  .news__inner {
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
    gap: 70px;
  }
  .news__cont {
    width: 100%;
    padding-left: 0;
  }
  .news__nav {
    width: 100%;
  }
}
@media (max-width: 834px) {
  .news {
    padding-bottom: 50px;
  }
}
@media (max-width: 600px) {
  .news__inner {
    gap: 50px;
  }
}
.news__item {
  border-bottom: 1px solid #fff;
  /* padding: 35px 0 40px; */
  padding-bottom: 15px;
}

.news__item:nth-of-type(1) {
  /* border-top: 1px solid #d3dcda; */
  padding-top: 0;
}

.news__item-inner {
  position: relative;
  display: flex;
  align-items: center;
  padding: 25px 100px 25px 0;
}

.news__item:nth-of-type(1) .news__item-inner {
  padding-top: 0;
}

.news__img-wrap {
  width: 290px;
  border-radius: 10px;
  overflow: hidden;
}

.news__item-inner:hover .h-txt {
  background-size: 100% 1px;
  /* 線の横幅を100%にする */
  transition: all 0.6s ease-in-out;
}

.news__item-arrow {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
}

.news__main {
  width: calc(100% - 290px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 4%;
}

.news__head {
  display: flex;
  align-items: center;
  /* width: 270px; */
}

.news__link {
  position: relative;
  display: flex;
  /* width: calc(100% - 270px); */
  margin-left: auto;
}

@media (max-width: 1024px) {
  .news__item {
    /* padding: 25px 0; */
  }
}
@media (max-width: 600px) {
  .news__item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0%;
    margin: 0 auto;
  }
  .news__item-arrow {
    position: absolute;
    bottom: 0;
    right: 0;
  }
  .news__img-wrap {
    width: 100%;
  }
  .news__main {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-left: 0%;
  }
  .news__head {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
    width: calc(100% - 60px);
  }
  .news__link {
    position: relative;
    display: flex;
    width: 100%;
    margin-left: auto;
  }
}
.post-categories {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  gap: 5px;
  /* padding-left: 15px; */
}

/* .post-categories::before {
  content: '';
  position: absolute;
  top: 23%;
  left: 0;
  height: 54%;
  width: 1px;
  background-color: #224e4590;
} */
.post-categories span,
.post-categories a {
  display: inline-block;
  text-align: center;
  color: #fff;
  background-color: #ffb591;
  border-radius: 3px;
  padding: 2px 8px 0px;
  white-space: nowrap;
}

/* カテゴリーによる色指定なし */
/* .post-categories li {
  font-size: 1.3rem;
  font-weight: 500;
  background-color: #429eeb;
  border-radius: 16px;
  padding: 2px 12px 1px;
  margin-right: 10px;
}
.post-categories li a{
  width: 100%;
  height: 100%;
  color: #fff;
} */
/* 一覧 */
/* .post-categories a {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  background-color: #429eeb;
  border-radius: 16px;
  padding: 2px 12px 1px;
  width: 76px;
} */
/* 
.post-categories .category-info {
  background-color: #429eeb;
}

.post-categories .category-recruit {
  background-color: #f33780;
}

.post-categories .category-product {
  background-color: #efba02;
}

.post-categories .category-cate01 {
  background-color: #154d8b;
}
.post-categories .category-cate02 {
  background-color: #21bdb6;
}
.post-categories .category-cate03 {
  background-color: #f16c1b;
}
.post-categories .category-cate04 {
  background-color: #8378ba;
} */
.post-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.post-tag a {
  /* background-color: #e7ebf0;
  border: 1px solid #e7ebf0;
  border-radius: 3px; */
  /* padding: 2px 8px 0px; */
  white-space: nowrap;
}

.news__date {
  /* font-size: 1.6rem; */
  /* margin-left: 15px; */
  margin-right: 15px;
}

.news__title {
  /* font-size: 1.6rem; */
  line-height: 1.6;
}

.news__text {
  font-size: 1.4rem;
}

@media (max-width: 834px) {
  .news__title {
    /* font-size: 1.5rem; */
  }
  .news__date {
    /* font-size: 1.5rem; */
  }
  .post-categories a {
    /* padding: 1px 6px 0px; */
  }
}
@media (max-width: 834px) {
  .post-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-left: 0px;
    margin-top: 2px;
  }
}
/* news-detail */
.news__detail-inner {
  display: flex;
}

.news__detail-head {
  position: sticky;
  top: 100px;
  left: 0;
  width: 46%;
  height: fit-content;
  padding-right: 4%;
}

.news__detail-cont {
  width: 54%;
}

@media (max-width: 1024px) {
  .news__detail-inner {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 50px;
  }
  .news__detail-head {
    position: static;
    width: 100%;
    max-width: 600px;
    padding-right: 0%;
  }
  .news__detail-cont {
    width: 100%;
  }
}
@media (max-width: 500px) {
  .news__detail-inner {
    gap: 10px;
  }
}
.news__detail .news__img-wrap {
  width: 100%;
  margin-bottom: 35px;
}

.news__detail .news__title {
  /* font-size: 2.2rem; */
  /* border-bottom: 1px solid #EAEAEA; */
  /* padding-bottom: 30px; */
  margin-bottom: 25px;
}

.news__detail .news__head {
  justify-content: start;
  margin-bottom: 20px;
}

.news__detail .news__date {
  margin-left: 0;
  margin-right: 15px;
}

.news__detail .news__img-wrap {
  width: 100%;
}

/* .news__detail h1 {
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.75;
  border-bottom: 1px solid #EAEAEA;
  padding-bottom: 5px;
  margin-top: 40px;
  margin-bottom: 10px;
} */
.news__detail h2,
.news__detail h3,
.news__detail h4,
.news__detail h5,
.news__detail h6 {
  line-height: 1.6;
  margin-top: 50px;
}

.news__detail h2 {
  position: relative;
  font-size: 2.1rem;
  font-weight: 500;
  padding: 5px 0 2px 20px;
  margin-bottom: 20px;
}

.news__detail h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #f0a499;
}

.news__detail h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 13px;
  width: calc(100% - 13px);
  height: 1px;
  background-color: #f0a499;
}

.news__detail h3 {
  position: relative;
  font-size: 2.1rem;
  font-weight: 500;
  color: #e09286;
  background: rgba(255, 255, 255, 0.5647058824);
  border-radius: 30px;
  padding: 7px 18px 5px;
  margin-bottom: 20px;
}

.news__detail h4 {
  position: relative;
  font-size: 1.8rem;
  font-weight: 500;
  padding-left: 22px;
  margin-bottom: 20px;
}

.news__detail h4::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 0.5em;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: #505050;
}

.news__detail h5 {
  position: relative;
  font-size: 1.8rem;
  font-weight: 500;
  border-bottom: 1px solid #f0a499;
  margin-bottom: 25px;
}

.news__detail h6 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 20px;
}

/* 一覧へ戻る　リンクボタン */
.news__arc-link {
  /* display: block;
  width: fit-content;
  border-bottom: 1px solid #224e45;
  padding: 0 10px 5px; */
  justify-content: center;
  margin: 65px auto 0;
}

@media (max-width: 834px) {
  .news__detail .news__img-wrap {
    margin-bottom: 25px;
  }
  .news__detail .news__title {
    font-size: 2rem;
    /* padding-bottom: 20px; */
    margin-bottom: 30px;
  }
  .news__detail h2,
  .news__detail h3,
  .news__detail h4,
  .news__detail h5,
  .news__detail h6 {
    margin-top: 35px;
  }
  .news__detail h2,
  .news__detail h3,
  .news__detail h4 {
    font-size: 1.9rem;
  }
  .news__detail h2,
  .news__detail h3 {
    margin-bottom: 15px;
  }
  .news__detail h4 {
    margin-bottom: 10px;
  }
  .news__detail h5,
  .news__detail h6 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  .news__arc-link {
    margin: 40px auto 0;
  }
}
@media (max-width: 500px) {
  .news__arc-link {
    margin: 40px auto 0;
  }
}
/* 目次 */
div#toc_container {
  display: flex;
  gap: 25px;
  width: 100%;
  border-radius: 10px;
  border: none;
  padding: 30px 5%;
  margin: 0px auto 70px;
}

div#toc_container p.toc_title {
  writing-mode: vertical-rl;
  font-family: "Tenor Sans", sans-serif;
  font-size: 2.4rem;
  text-align: start;
  margin-top: 15px;
}

.toc_list {
  font-weight: 300;
  width: calc(100% - 50px);
}

.toc_number {
  font-weight: 600;
  color: #154d8b;
  font-family: "Poppins", sans-serif;
  margin-right: 10px;
}

#toc_container p.toc_title + ul.toc_list {
  margin-top: 0em;
}

#toc_container .toc_list li {
  font-weight: 400;
  margin: 10px 0;
}

#toc_container .toc_list > li > a {
  position: relative;
  padding-left: 1em;
}

#toc_container .toc_list > li > a::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 0;
  width: 4px;
  height: 80%;
  background-color: #f0a499;
}

.toc_list > li > a {
  font-size: 1.7rem;
  font-weight: 500;
  display: inline-block;
  width: 100%;
  /* border-bottom: 1px solid #EAEAEA; */
  /* padding-bottom: 10px; */
}

#toc_container .toc_list > li > ul > li > a {
  position: relative;
  padding-left: 1.2em;
  color: #e09286;
  font-weight: 500;
}

#toc_container .toc_list > li > ul > li > a::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 0.5em;
  aspect-ratio: 1/1;
  border-radius: 100vmax;
  background-color: #f0a499;
}

#toc_container .toc_list > li > ul > li > ul > li > a {
  position: relative;
  padding-left: 1.2em;
  font-weight: 500;
}

#toc_container .toc_list > li > ul > li > ul > li > a::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 0.5em;
  aspect-ratio: 1/1;
  border-radius: 100vmax;
  background-color: #abc79b;
}

#toc_container .toc_list > li > ul > li > ul > li > ul > li > a {
  font-weight: 500;
}

#toc_container .toc_list > li > ul > li > ul > li > ul > li > ul > li > a {
  color: #b2b2b2;
  font-weight: 500;
}

@media (max-width: 1024px) {
  div#toc_container {
    width: 100%;
    padding: 30px 5%;
    margin: 30px auto;
  }
}
/* nav共通 */
.news__nav {
  display: flex;
  flex-direction: column;
  row-gap: 60px;
}

.news__nav-title {
  position: relative;
  font-size: 2.4rem;
  font-weight: 300;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news__nav-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background: url(../img/news/nav-bar.webp) no-repeat center/cover;
}

.news-expand-wrap {
  position: relative;
  height: 34px;
  overflow: hidden;
}

.news-expand-wrap.expanded {
  height: auto;
  overflow: visible;
}

.news__view-more {
  position: relative;
  text-align: start;
  width: 100%;
  color: #505050;
  border-bottom: 1px solid #505050;
  padding: 0 0.5em 0.8em;
}

.news__view-more::after {
  content: "";
  position: absolute;
  top: 40%;
  right: 0.5em;
  transform: translate(0, -50%);
  width: 13px;
  height: 11px;
  background: url(../img/common/arrow_bottom.webp) no-repeat center/contain;
  transition: all 0.4s ease-in-out;
}

.news-expand-wrap.expanded .news__view-more::after {
  transform: translate(0, -50%) rotate(180deg);
}

.news__nav-list {
  font-size: 1.5rem;
}

.news-expand-wrap .news__nav-list {
  background-color: #fff0e6;
  border-radius: 10px;
  padding: 10px 15px;
  margin-top: 15px;
}

.news__nav-item {
  /* opacity: .6; */
  margin: 5px 0;
}

.news__nav-item:first-of-type {
  margin-top: 0;
}

/* .news__nav-item.is-current {
  opacity: 1;
} */
.news__tag-list {
  font-size: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
}

.news__tag-item {
  /* padding: 3px 10px 2px;
  border-radius: 3px; */
}

@media (max-width: 1024px) {
  .news__nav {
    display: flex;
    flex-direction: row;
    row-gap: 20px;
    column-gap: 0px;
    padding-right: 0;
  }
  .news__nav-box {
    width: 33%;
    /* width: 100%; */
  }
  .news__nav-item {
    white-space: nowrap;
  }
  .news__nav-item:first-of-type {
    margin-top: 10px;
  }
  .news__nav-title {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .news__nav {
    display: flex;
    flex-direction: column;
    row-gap: 40px;
    column-gap: 0px;
    padding-right: 0;
  }
  .news__nav-box {
    width: 100%;
  }
}
/* 矢印 */
.news__nav-arrow {
  position: relative;
  width: 9px;
  height: 9px;
}

.news__nav-arrow::before,
.news__nav-arrow::after {
  content: "";
  position: absolute;
  top: 35%;
  transform: rotate(45deg);
  width: 64%;
  height: 7%;
  background-color: rgba(255, 255, 255, 0.5647058824);
}

.news__nav-arrow::before {
  top: 35%;
  right: 50%;
  transform: rotate(45deg);
  transition: all 0.3s ease-in-out;
}

.news__nav-arrow::after {
  top: 35%;
  right: 7%;
  transform: rotate(-45deg);
  transition: all 0.3s ease-in-out;
}

/* page nation */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 40px;
}

.page-numbers {
  font-size: 1.4rem;
  width: 5rem;
  aspect-ratio: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  /* border-radius: 50%; */
  text-align: center;
  font-family: "Tenor Sans", sans-serif;
  font-weight: 400;
}

.page-numbers.current {
  color: #fff;
  background-color: #f0a499;
  width: 50px;
  aspect-ratio: 1/1;
  border-radius: 100vmax;
  /* border-bottom: 1px solid #224e45; */
  margin: 0 10px;
}

@media (max-width: 600px) {
  .nav-links {
    margin-top: 20px;
  }
  /* .page-numbers {
    width: 22px;
    height: 40px;
  } */
}
.page-numbers.prev,
.page-numbers.next {
  width: 5rem;
  aspect-ratio: 5rem;
  border-radius: 100vmax;
  background-color: rgba(255, 255, 255, 0.6);
}

.page-numbers.prev {
  /* background-color: #f4f4f4; */
  /* border-radius: 50%; */
  margin-right: 10px;
}

.page-numbers.next {
  /* background-color: #f4f4f4; */
  /* border-radius: 50%; */
  margin-left: 10px;
}

@media (max-width: 600px) {
  /* .page-numbers.prev,
  .page-numbers.next {
    width: 40px;
    height: 40px;
  } */
}
.prev-text,
.next-text {
  position: relative;
  width: 100%;
  height: 100%;
}

.prev-text::after,
.next-text::after {
  font-family: "Material Symbols Outlined";
  content: "\e5cc";
  font-size: 1.8rem;
  color: #222;
  font-weight: 400;
  text-align: center;
  line-height: 5rem;
  transition: 0.3s;
}

.prev-text::after {
  content: "\e5cb";
}

@media (max-width: 600px) {
  /* .next-text::after {
    right: 7px;
    transform: translate(0%, 0);
  }

  .prev-text::after {
    transform: translate(0%, 0) rotate(180deg);
    right: unset;
    left: 7px;
  } */
}
@media (max-width: 460px) {
  /* .next-text::after {
    right: 50%;
    transform: translate(50%, 0);
  }

  .prev-text::after {
    transform: translate(-50%, 0) rotate(180deg);
    right: unset;
    left: 50%
  } */
}
/* ---------------
 add
--------------- */
.news__img-wrap {
  aspect-ratio: 290/200;
}
.news__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}