@charset "UTF-8";
/*====================
  ニュース一覧ページ
====================*/
.news-list-page {
  padding-top: 98px;
}

.news-list,
.news-card,
.news-main,
.news-aside {
  min-width: 0;
}

.news-aside {
  order: 2;
  position: static;
}

.news-main {
  order: 1;
}

.news-card-title {
  overflow-wrap: anywhere;
}

.news {
  margin: auto;
  max-width: 960px;
  padding: 112px 0 160px;
}

.news .section_title {
  margin-top: 0;
}

.news .news_title {
  line-height: 1;
}

.news-year-filter-block {
  display: grid;
  gap: 10px;
}

.news-year-list {
  background: #6c978f;
}

.news-year-list:hover {
  opacity: 0.8;
  transition: 0.3s;
}

.news-year-list .selected-year {
  align-items: center;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  justify-content: space-between;
  line-height: 1;
  padding: 8px 12px;
  position: relative;
  text-decoration: none;
  width: 100%;
}

.news-year-list .selected-year::after {
  background: url("../../assets/img/common/white-lower-triangle.svg") no-repeat center center;
  content: '';
  display: inline-block;
  height: 8px;
  transform: rotateX(0deg);
  transition: 0.2s;
  width: 12px;
}

.news-year-list .selected-year[aria-expanded="true"]::after {
  transform: rotateX(-180deg);
  transition: 0.2s;
}

.news-year-list-select {
  background: #fff;
  display: none; /* JSで制御 */
  font-size: 14px;
  list-style: none;
  margin: 0;
  max-height: 320px;
  overflow: auto;
  padding: 6px 0;
  z-index: 1;
}

.news-year-list-select.active {
  display: block;
}

.news-year-list-item .news-year-list-item-text {
  color: #c6d3d1;
  display: block;
  font-weight: 500;
  line-height: 1;
  padding: 6px 12px;
  text-decoration: none;
}

.news-year-list-item:hover {
  opacity: 0.8;
  transition: 0.3s;
}

.news-year-list-item .news-year-list-item-text.open {
  color: #6c978f;
  font-weight: 700;
}

.news-category-filter {
  display: grid;
  gap: 12px;
  grid-auto-rows: min-content;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-category-link {
  background: #fff;
  color: #6c978f;
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 12px;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.news-grid {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) 195px;
}

.filter-card {
  background: #c6d3d1;
  margin-bottom: 16px;
  padding: 24px 24px 40px;
}

.filter-title {
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 24px;
}

.news-category-link:hover {
  opacity: 0.8;
  transition: 0.3s;
}

.news-category-link.is-active {
  background: #6c978f;
  color: #fff;
}

.news-list {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-card {
  background: #fff;
  border-bottom-right-radius: 24px;
  border-top-left-radius: 24px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
}

.news-card:hover {
  opacity: 0.8;
  transform: translateY(4px);
  transition: 0.3s;
}

.news-card-link {
  color: inherit;
  display: block;
  padding: 40px 30px 40px 50px;
  text-decoration: none;
}

.news-card-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.badge {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 20px;
  white-space: nowrap;
}

.badge-cat {
  border: 1px solid #9eb7b0;
  color: #6c978f;
}

.badge-date {
  border: none;
  color: #344054;
  padding: 8px;
}

.news-card-title {
  -webkit-box-orient: vertical;
  color: #1f2937;
  display: -webkit-box;
  font-size: 16px;
  font-weight: 500;
  -webkit-line-clamp: 2;
  line-height: 1.6;
  margin: 0;
  overflow: hidden;
}

.news-loadmore {
  margin-top: 40px;
  text-align: center;
}

.news-loadmore .btn {
  align-items: center;
  background: transparent;
  border: 1px solid #222;
  border-radius: 9999px;
  color: #222;
  display: inline-flex;
  font-family: Roboto, "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 18px;
  font-weight: 600;
  gap: 16px;
  justify-content: center;
  line-height: 1;
  min-width: 362px;
  padding: 24px;
  position: relative;
  text-decoration: none;
}

.news-loadmore .btn::after {
  background: url('../../assets/img/common/btn-down-arrow-black.svg') no-repeat center / contain;
  content: '';
  flex: 0 0 16px;
  height: 16px;
  width: 16px;
}

.news-loadmore:hover .btn::after {
  background: url('../../assets/img/common/btn-down-arrow-white.svg') no-repeat center / contain;
  content: '';
  flex: 0 0 16px;
  height: 16px;
  width: 16px;
}

.news-loadmore .btn:hover {
  background: #222;
  color: #fff;
  transition: 0.3s;
}

.news-loadmore .btn:focus-visible {
  outline: 2px solid #6c978f;
  outline-offset: 2px;
}

.news-year-list-item-text:focus-visible,
.news-category-link:focus-visible {
  outline: 2px solid #6c978f;
  outline-offset: 2px;
}

@media screen and (max-width: 1024px) {
  .middle_dot {
    margin: 0 24px 40px;
  }

  .news_title,
  .news-grid {
    padding: 0 24px;
  }
}

@media screen and (max-width: 768px) {
  .news {
    padding: 22px 0 80px;
  }

  .middle_dot {
    margin-bottom: 0;
  }

  .news-grid {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .news-aside {
    order: 1;
    position: static;
  }

  .news-main {
    order: 2;
  }

  .filter-card {
    padding: 24px;
  }

  .filter-card:last-child {
    margin-bottom: 0;
  }

  .news-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .news-year-list .selected-year,
  .news-category-link {
    padding: 13px 8px;
  }

  .filter-title {
    margin-bottom: 16px;
  }

  .news-card-link {
    padding: 32px 24px;
  }

  .news-card-head {
    margin-bottom: 16px;
  }

  .news-loadmore {
    margin-top: 24px;
  }

  .news-loadmore .btn {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
  }

  .badge {
    white-space: unset;
  }
}

/*====================
  ニュース記事ページ
====================*/
.section.news-article {
  background: url(../img/common/common-bg.png) repeat left top / 60%, linear-gradient(270deg, #EBF5F6 0%, #FFFFFF 100%);
  color: #222;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 0;
  padding: 100px 0 160px;
}

.news-article h1,
.news-article h2,
.news-article h3,
.news-article h4,
.news-article h5,
.news-article h6 {
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 40px;
}

.news-article h1.news-article-title {
  font-family: "Zen Old Mincho", serif;
  line-height: 1;
  margin: 0 auto 40px;
  max-width: 960px;
  position: relative;
  width: 66.7%;
}

.news-article h2 {
  font-size: 1.875rem;
  margin-bottom: 50px;
  position: relative;
}

.news-article h2::after {
  background-color: #9eb7b0;
  bottom: -8px;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  width: 100%;
}

.news-article h3 {
  font-size: 1.5rem;
  margin-left: 18px;
  position: relative;
}

.news-article h3::before {
  background-color: #9eb7b0;
  content: "";
  display: block;
  height: 100%;
  left: -16px;
  position: absolute;
  width: 2px;
}

.news-article h4 {
  font-size: 1.25rem;
}

.news-article h5 {
  font-size: 1.125rem;
}

.news-article h6 {
  font-size: 1rem;
}

.news-article img {
  height: auto;
  width: 100%;
}

.news-article .back-to-news {
  color: #222;
  display: block;
  font-size: .875rem;
  font-weight: 700;
  padding-left: 24px;
  position: relative;
  text-decoration: none;
  transition: 0.3s;
}

.news-article .back-to-news:hover {
  color: #6c978f;
}

.news-article .back-to-news:focus-visible {
  outline: 2px solid #6c978f;
  outline-offset: 2px;
}

.news-article .back-to-news::before {
  background: url("../img/common/btn-arrow-black.png") no-repeat center center / contain;
  content: "";
  display: block;
  height: 16px;
  left: 0;
  position: absolute;
  top: 49%;
  transform: translateY(-50%) rotateY(180deg);
  transition: 0.3s;
  width: 16px;
}

.news-article .back-to-news:hover::before {
  background: url("../img/common/btn-arrow-green.svg") no-repeat center center / contain;
  content: "";
  display: block;
  height: 16px;
  left: 0;
  position: absolute;
  transform: translateY(-50%) rotateY(0);
  transition: 0.3s;
  top: 49%;
  width: 16px;
}

.news-article .news-article-link {
  color: #6c978f;
  font-weight: 700;
  text-decoration: underline #6c978f;
  transition: 0.3s;
}

.news-article .news-article-link:hover {
  color: #c6d3d1;
  text-decoration: underline #c6d3d1;
}

.news-article .news-article-link:focus-visible {
  outline: 2px solid #6c978f;
  outline-offset: 2px;
}

.news-article .news-article-block {
  display: block;
}

.news-article .news-article-flex {
  display: flex;
}

.mb-basic {
  margin-bottom: 40px !important;
}

.news-article .align-items-center {
  align-items: center;
}

.news-article .back-to-news {
  margin: 0 auto;
  max-width: 960px;
  width: 66.7%;
}

.news-article .under-title {
  justify-content: space-between;
  line-height: 1;
  margin: 0 auto 32px;
  max-width: 960px;
  width: 66.7%;
}

.news-article .under-title .align-items-center {
  gap: 16px;
}

.news-article-category {
  border: 1px solid #9eb7b0;
  color: #6c978f;
  font-size: .875rem;
  padding: 8px 20px;
}

.news-article .under-title .date {
  font-size: .875rem;
  font-weight: 700;
}

.news-article-sns {
  gap: 8px;
}

.news-article-sns .sns-icon:hover {
  opacity: 0.8;
  transition: 0.3s;
}

.news-article .news-article-inner-content {
  background-color: #fff;
  border-radius: 0 0 24px 0;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, .05);
  margin: 0 auto 64px;
  max-width: 960px;
  padding: 64px 80px 80px;
  width: 66.7%;
}

.news-article-code-box {
  border: 1px solid #9eb7b0;
  padding: 8px 12px;
}

.news-article-code-box pre,
.news-article-code-block pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.news-article-code-box pre code,
.news-article-code-block pre code {
  display: block;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  font-size: .875rem;
  margin: 0;
  padding: 0;
  white-space: inherit;
}

.news-article-code-block {
  background-color: #333;
  color: #fff;
  padding: 8px 12px;
}

.news-article-inner-content blockquote {
  background-color: #e5eeec;
  margin: 0;
  padding: 16px 3% 16px 5%;
  position: relative;
}

.news-article-inner-content blockquote::before {
  background: url("../img/common/double-quote.png") no-repeat center center / cover;
  content: "";
  display: block;
  height: 14px;
  left: 12px;
  position: absolute;
  top: 12px;
  width: 20px;
}

.news-article-inner-content ol {
  margin: 0 0 40px;
  padding-left: 32px;
}

.news-article-inner-content ol li {
  margin-bottom: 8px;
  padding-left: 8px;
}

.news-article-inner-content ul {
  list-style: none;
  margin: 0 0 40px;
  padding-left: 0;
}

.news-article-inner-content ul li {
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}

.news-article-inner-content ul li::before {
  background-color: #9eb7b0;
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 8px;
  left: 0;
  margin-right: 8px;
  position: absolute;
  top: 10px;
  width: 8px;
}

.news-article-bottom-btn {
  border: 1px solid #222;
  border-radius: 33px;
  color: #222;
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  margin: 0 auto;
  padding: 24px 120px 24px 150px;
  position: relative;
  text-decoration: none;
  transition: 0.3s;
  width: fit-content;
}

.news-article-bottom-btn:hover {
  background-color: #222;
  color: #fff;
  text-decoration: none;
}

.news-article-bottom-btn:focus-visible {
  outline: 2px solid #6c978f;
  outline-offset: 2px;
}

.news-article-bottom-btn::before {
  background: url("../img/common/btn-arrow-black.png") no-repeat center center / cover;
  content: "";
  display: block;
  height: 16px;
  left: calc(50% - 4.5em);
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotateY(180deg);
  width: 16px;
}

.news-article-bottom-btn:hover::before {
  background: url("../img/common/btn-arrow-wh.png") no-repeat center center / contain;
  transition: 0.3s;
}

.news-article-inner-content .definition-list {
  border: 1px solid #9eb7b0;
  border-bottom: none;
  margin: 0;
}

.news-article-inner-content .definition-list-row {
  border-bottom: 1px solid #9eb7b0;
  display: grid;
  grid-template-columns: 1fr 3fr;
}

.news-article-inner-content .definition-list-ttl {
  background-color: #e5eeec;
  border-right: 1px solid #9eb7b0;
  padding: 2px 5px;
}

.news-article-inner-content .definition-list-text {
  padding: 2px 5px;
}

@media screen and (max-width: 1200px) {
  .news-article-inner-content blockquote {
    padding-top: 32px;
  }
}

@media screen and (max-width: 768px) {
  .section.news-article {
    padding: 120px 0 80px;
  }

  .news-article h1,
  .news-article h2,
  .news-article h3,
  .news-article h4,
  .news-article h5,
  .news-article h6 {
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .news-article h1.news-article-title {
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0 auto 24px;
    width: 87.5%;
  }

  .news-article h2 {
    font-size: 1.25rem;
    margin-bottom: 34px;
  }

  .news-article h3 {
    font-size: 1.125rem;
    margin-left: 12px;
  }

  .news-article h3::before {
    left: -12px;
  }

  .news-article h4 {
    font-size: 1rem;
  }

  .news-article h5 {
    font-size: .9375rem;
  }

  .news-article h6 {
    font-size: .875rem;
  }

  .mb-basic {
    margin-bottom: 24px !important;
  }

  .news-article .back-to-news {
    margin: 0 0 42px 6.25%;
  }

  .news-article .under-title {
    margin: 0 auto 24px;
    max-width: 960px;
    width: 87.5%;
  }

  .news-article .news-article-inner-content {
    border-radius: 0;
    font-size: .875rem;
    margin-bottom: 40px;
    padding: 24px 24px 80px;
    width: 100%;
  }

  .news-article-code-box pre code,
  .news-article-code-block pre code {
    font-size: .75rem;
  }

  .news-article-inner-content blockquote {
    padding: 32px 24px 24px;
  }

  .news-article-inner-content ol,
  .news-article-inner-content ul {
    margin-bottom: 24px;
  }

  .news-article-bottom-btn {
    font-size: 1rem;
    padding: 24px 96px 24px 128px;
  }

  .news-article-bottom-btn::before {
    left: calc(50% - 4.5em);
  }
}

/*===============================
  ニュース詳細ページカスタムCSS
===============================*/
.text-center {
  text-align: center;
}

.text-decoration-underline {
  text-decoration: underline;
}

.fw-bold {
  font-weight: 700;
}

.mb-basic-half {
  margin-bottom: 20px !important;
}

@media screen and (max-width: 768px) {
  .mb-basic-half {
    margin-bottom: 12px !important;
  }
}