/*
----------------------------------------
news
----------------------------------------
*/
.news {
  padding-bottom: 164px;
}

.news-inner {
  padding-top: 29px;
}

.news-content {
  display: grid;
  grid-template-columns: calc(100% - 290px) 250px;
  -moz-column-gap: 40px;
       column-gap: 40px;
}

.news-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.news-head__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.news-head__term {
  display: inline-block;
  padding: 6px 10px 7px 11px;
  background: #3bb077;
  font-size: 15px;
  line-height: 1;
  color: #fff;
  border-radius: 5px;
  border: 1px solid #3bb077;
  transition: all ease 0.2s;
}
.news-head__date {
  font: 16px "Lato", sans-serif;
  letter-spacing: 0.08em;
  color: #666666;
}

.news-block {
  padding: 50px 50px 69px 0;
  position: relative;
  z-index: 0;
}
.news-block__bg {
  width: 100vw;
  max-width: calc(50vw + 310px);
  height: 100%;
  display: block;
  background: #eff9f7;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 20px 0 20px;
  z-index: -1;
}

.news-list-item + .news-list-item {
  margin-top: 41px;
}
.news-list-item a {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 39px 37px 34px 40px;
  background: #fff;
  border-radius: 20px 20px 0 20px;
  position: relative;
  transition: 0.2s;
}
.news-list-item a::after {
  content: "";
  display: block;
  border-top: 15px solid rgba(0, 0, 0, 0);
  border-right: 15px solid #3bb077;
  position: absolute;
  right: 0;
  bottom: 0;
  transition: 0.2s;
}
.news-list-item__thumb {
  aspect-ratio: 3/2;
  max-width: 300px;
}
.news-list-item__thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}
.news-list-item__desc {
  width: 100%;
  display: block;
}
.news-list-item__head {
  margin-bottom: 10px;
}
.news-list-item__ttl {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.07em;
  color: #3bb077;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.news-list-item__txt {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8666666667;
  letter-spacing: 0.08em;
  color: #333333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-single {
  padding-bottom: 178px;
}

.news-single-inner {
  padding-top: 25px;
}

.news-post__content {
  padding: 33px 44px 49px;
  background: #fff;
  border: 5px solid #3bb077;
  border-radius: 20px;
  position: relative;
}
.news-post__content::after {
  content: "";
  width: 115px;
  height: 18px;
  display: block;
  background: url(../img/news/clip-illust.png) center/cover no-repeat;
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}
.news-post__head {
  margin-bottom: 17px;
}
.news-post__ttl {
  margin-bottom: 60px;
  padding-bottom: 25px;
  font-size: 30px;
  font-weight: 700;
  color: #3bb077;
  line-height: 1.2;
  border-bottom: 2px solid #3bb077;
}
.news-post__body #ez-toc-container {
  width: 100%;
  background: #F6F3EF;
  border: none;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 51px;
  padding: 21px 30px 40px;
  position: relative;
}
.news-post__body #ez-toc-container::after {
  content: "";
  width: 57px;
  height: 103px;
  display: inline-block;
  background: url(../img/news/illust-01.png) center/cover no-repeat;
  position: absolute;
  top: -36px;
  right: 40px;
}
.news-post__body #ez-toc-container .ez-toc-title-container {
  margin-bottom: 27px;
}
.news-post__body #ez-toc-container .ez-toc-title {
  padding-left: 43px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  position: relative;
}
.news-post__body #ez-toc-container .ez-toc-title::before {
  content: "";
  width: 24px;
  height: 24px;
  display: inline-block;
  background: #3BB077;
  -webkit-mask: url(../img/news/index-icon.svg) center/cover no-repeat;
          mask: url(../img/news/index-icon.svg) center/cover no-repeat;
  position: absolute;
  top: 5px;
  left: 3px;
}
.news-post__body #ez-toc-container .ez-toc-title-toggle {
  display: none;
}
.news-post__body #ez-toc-container ul {
  margin-left: 30px;
}
.news-post__body #ez-toc-container ul li {
  margin-bottom: 29px;
}
.news-post__body #ez-toc-container ul li:last-child {
  margin-bottom: 0;
}
.news-post__body #ez-toc-container ul li::before {
  content: none;
}
.news-post__body #ez-toc-container ul li a {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 0.5ex;
}
.news-post__body #ez-toc-container ul li a::before {
  margin: 2px 0.7em 0 0;
  font: 400 18px "Urbanist", sans-serif;
  color: #3BB077;
}
.news-post__body #ez-toc-container ul ul {
  margin-top: 18px;
}
.news-post__body #ez-toc-container ul.ez-toc-list-level-1 {
  margin-left: 0;
}
.news-post__body #ez-toc-container ul.ez-toc-list-level-1 > li > a {
  background: #fff;
  border-radius: 5px;
  padding: 12px 20px 13px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.07);
  text-decoration: unset;
}
.news-post__body #ez-toc-container ul.ez-toc-list-level-1 > li > a::before {
  margin-top: 3px;
}
.news-post__body .linkcard {
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
}
.news-post__body .lkc-internal-wrap,
.news-post__body .lkc-external-wrap {
  width: 100%;
}
.news-post__body .lkc-link {
  width: 100%;
  height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f7f7f7;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}
.news-post__body .lkc-link::after {
  content: "";
  display: block;
  margin: auto;
  background: #3bb077;
  -webkit-mask: url(../img/common/angle-right.svg) center/cover no-repeat;
          mask: url(../img/common/angle-right.svg) center/cover no-repeat;
  position: absolute;
  top: 0;
  bottom: 0;
}
.news-post__body .lkc-internal-wrap .lkc-link::after {
  width: 16px;
  height: 22px;
  right: 29px;
}
.news-post__body .lkc-external-wrap .lkc-link::after {
  width: 20px;
  height: 20px;
  -webkit-mask-image: url(../img/news/external-link-icon.svg);
          mask-image: url(../img/news/external-link-icon.svg);
  top: 3px;
  right: 27px;
}
.news-post__body .lkc-info {
  display: none !important;
}
.news-post__body .lkc-thumbnail {
  aspect-ratio: 225/150;
  width: 100%;
  max-width: 225px;
  border-radius: 20px;
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
}
.news-post__body .lkc-thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.news-post__body .lkc-content {
  width: 100%;
  padding: 25px 83px 30px 287px;
  position: relative;
}
.news-post__body .lkc-title-text,
.news-post__body .lkc-url,
.news-post__body .lkc-excerpt {
  width: 100%;
}
.news-post__body .lkc-title-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.news-post__body .lkc-url {
  max-width: -moz-max-content;
  max-width: max-content;
  margin-top: 10px;
  padding: 6px 21px 7px 16px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: #3bb077;
  border-radius: 5px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
.news-post__body .lkc-excerpt {
  margin-top: 11px;
  font-size: 16px;
  font-weight: 500;
  color: #202929;
  line-height: 1.5;
  letter-spacing: 0.02em;
  transition: 0.3s;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.news-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 29px;
}
.news-share__ttl {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4705882353;
}
.news-share__list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1px;
}
.news-share__list a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #e5e5e5;
  background: #fff;
}

.news-pagination {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  align-items: center;
  -moz-column-gap: 52px;
       column-gap: 52px;
  margin-top: 50px;
}
.news-pagination__prev, .news-pagination__next {
  flex: 1;
}
.news-pagination__prev a, .news-pagination__next a {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  transition: 0.2s;
  z-index: 0;
}
.news-pagination__prev a::before, .news-pagination__next a::before {
  content: "";
  width: 40px;
  height: 40px;
  display: inline-block;
  background: #3bb077;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s;
  z-index: 0;
}
.news-pagination__prev a::after, .news-pagination__next a::after {
  content: "";
  width: 9px;
  height: 12px;
  position: absolute;
  top: calc(50% + 1px);
  bottom: 0;
  background: #fff;
  -webkit-mask: url(../img/news/chevron-left.svg) center/cover no-repeat;
          mask: url(../img/news/chevron-left.svg) center/cover no-repeat;
  transform: translateY(-50%);
  transition: 0.2s;
  z-index: 1;
}
.news-pagination__prev a span, .news-pagination__next a span {
  position: relative;
  display: block;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.8666666667;
  text-decoration: underline;
  text-underline-offset: 0.9ex;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.news-pagination__prev a {
  padding-left: 52px;
}
.news-pagination__prev a::before {
  left: 0;
}
.news-pagination__prev a::after {
  left: 15px;
}
.news-pagination__next a {
  padding-right: 52px;
}
.news-pagination__next a::before {
  right: 0;
}
.news-pagination__next a::after {
  right: 15px;
  -webkit-mask-image: url(../img/news/chevron-right.svg);
          mask-image: url(../img/news/chevron-right.svg);
}
.news-pagination__back-link {
  width: 200px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: #3bb077;
  border-radius: 30px;
  border: 2px solid #3bb077;
  transition: 0.2s;
}

.news-related {
  margin-top: 73px;
}
.news-related__ttl {
  margin-bottom: 40px;
  padding-left: 49px;
  padding-bottom: 21px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.2857142857;
  border-bottom: 2px solid #3bb077;
  position: relative;
}
.news-related__ttl::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: url(../img/news/related-icon.png) center/cover no-repeat;
  position: absolute;
  top: 7px;
  left: 1px;
}
.news-related__list {
  display: flex;
  justify-content: center;
  gap: 25px 50px;
}

.news-related-item {
  width: 29.6703296703%;
}
.news-related-item__link {
  display: block;
}
.news-related-item__head {
  margin-bottom: 15px;
  position: relative;
  z-index: 0;
}
.news-related-item__thumb {
  aspect-ratio: 270/180;
  width: 100%;
  max-width: 270px;
  overflow: hidden;
  border-radius: 20px;
  transition: all 0.5s;
}
.news-related-item__thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: all 0.5s;
}
.news-related-item__date {
  padding: 6px 11px;
  background: #3bb077;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
  color: #fff;
  border-radius: 5px;
  position: absolute;
  bottom: -15px;
  left: 53%;
  transform: translateX(-50%);
  z-index: 1;
}
.news-related-item__ttl {
  padding-top: 8px;
}
.news-related-item__ttl span {
  font-size: 18px;
  font-weight: 700;
  color: #3bb077;
  line-height: 1.6666666667;
  letter-spacing: 0.07em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.news-search-msg {
  margin-bottom: 30px;
  padding: 6px 20px;
  font-size: 18px;
  color: #3bb077;
  border: 1px solid #3bb077;
}

@media screen and (min-width: 751px) {
  .news-list-item__thumb {
    flex: 0 0 50%;
    margin-top: 1px;
  }
}

@media screen and (min-width: 960px) {
  .news-head a:hover {
    background: #fff;
    color: #3bb077;
  }
  .news-list-item a:hover {
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.04);
  }
  .news-list-item a:hover::after {
    opacity: 0;
  }
  .news-single .news-block {
    padding-bottom: 80px;
  }
  .news-post__body .lkc-link:hover {
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
  }
  .news-pagination__prev a:hover, .news-pagination__next a:hover {
    color: #3bb077;
  }
  .news-pagination__prev a:hover::before {
    left: -5px;
  }
  .news-pagination__prev a:hover::after {
    left: 10px;
  }
  .news-pagination__next a:hover::before {
    right: -5px;
  }
  .news-pagination__next a:hover::after {
    right: 10px;
  }
  .news-pagination__back-link:hover {
    background: #3bb077;
    color: #fff;
  }
  .news-related-item__link:hover .news-related-item__thumb {
    background: #000;
  }
  .news-related-item__link:hover .news-related-item__thumb img {
    opacity: 0.75;
    transform: scale(1.1);
  }
}

@media screen and (max-width: 1240px) {
  .news-block__bg {
    max-width: calc(100vw - 310px);
  }
}

@media screen and (max-width: 959px) {
  .news-content {
    grid-template-columns: 100%;
  }
  .news-block {
    padding: 20px 0 60px;
  }
  .news-block__bg {
    max-width: calc(100vw + 40px);
    right: -20px;
  }
  .news-post__body .lkc-link {
    height: 190px;
  }
  .news-post__body .lkc-internal-wrap .lkc-link::after {
    right: 20px;
  }
  .news-post__body .lkc-external-wrap .lkc-link::after {
    right: 20px;
  }
  .news-post__body .lkc-thumbnail {
    max-width: 30%;
  }
  .news-post__body .lkc-content {
    padding-right: 60px;
    padding-left: calc(30% + 60px);
  }
  .news-related__list {
    -moz-column-gap: 25px;
         column-gap: 25px;
  }
}

@media screen and (max-width: 750px) {
  .news-inner {
    padding-top: 15px;
  }
  .news-head__term {
    padding: 0 5px;
    border-radius: 2px;
    font-size: 12px;
    line-height: 1.905;
  }
  .news-head__date {
    font-size: 13px;
  }
  .news-block {
    padding-bottom: 35px;
  }
  .news-block__bg {
    border-radius: 0;
  }
  .news-list-item a {
    flex-direction: column;
    padding: 20px;
  }
  .news-list-item__thumb {
    margin: 15px auto 0;
  }
  .news-list-item__ttl {
    font-size: 18px;
  }
  .news-single-inner {
    padding-top: 15px;
  }
  .news-post__content {
    padding: 25px 20px;
    border-width: 4px;
  }
  .news-post__ttl {
    margin-bottom: 30px;
    font-size: 22px;
    letter-spacing: 0.8px;
    line-height: 1.5;
  }
  .news-post__body #ez-toc-container {
    padding: 20px 20px 30px;
  }
  .news-post__body #ez-toc-container::after {
    width: 43.8461538462px;
    height: 79.2307692308px;
    top: -20px;
    right: 20px;
  }
  .news-post__body #ez-toc-container .ez-toc-title-container {
    margin-bottom: 15px;
  }
  .news-post__body #ez-toc-container .ez-toc-title {
    font-size: 20px;
  }
  .news-post__body #ez-toc-container .ez-toc-title::before {
    width: 20px;
    height: 20px;
  }
  .news-post__body #ez-toc-container ul {
    margin-left: 10px;
  }
  .news-post__body #ez-toc-container ul li {
    margin-bottom: 15px;
  }
  .news-post__body #ez-toc-container ul li a {
    font-size: 14px;
  }
  .news-post__body #ez-toc-container ul li a::before {
    margin-right: 0.2em;
    font-size: 16px;
  }
  .news-post__body #ez-toc-container ul ul {
    margin-top: 10px;
  }
  .news-post__body #ez-toc-container ul.ez-toc-list-level-1 > li > a {
    padding: 6px 12px;
  }
  .news-post__body .lkc-link {
    min-height: 90px;
    height: auto;
  }
  .news-post__body .lkc-internal-wrap .lkc-link::after {
    width: 10px;
    height: 13px;
    right: 15px;
  }
  .news-post__body .lkc-external-wrap .lkc-link::after {
    width: 12px;
    height: 12px;
    right: 15px;
  }
  .news-post__body .lkc-thumbnail {
    max-width: 80px;
    border-radius: 10px;
    left: 15px;
  }
  .news-post__body .lkc-thumbnail img {
    margin-bottom: 0;
  }
  .news-post__body .lkc-content {
    padding: 10px 40px 10px 110px;
  }
  .news-post__body .lkc-title-text {
    font-size: 14px;
  }
  .news-post__body .lkc-url {
    margin-top: 5px;
    padding: 3px 8px;
    border-radius: 2px;
    font-size: 10px;
  }
  .news-post__body .lkc-excerpt {
    margin-top: 5px;
    font-size: 10px;
  }
  .news-share__ttl {
    font-size: 14px;
  }
  .news-share__list a {
    width: 32px;
    height: 32px;
    border-width: 1px;
  }
  .news-share__list a img {
    width: 60%;
  }
  .news-pagination {
    grid-template-columns: 100%;
    -moz-column-gap: 0;
         column-gap: 0;
  }
  .news-pagination__prev a::before, .news-pagination__next a::before {
    width: 20px;
    height: 20px;
  }
  .news-pagination__prev a::after, .news-pagination__next a::after {
    width: 6px;
    height: 9px;
    top: 50%;
  }
  .news-pagination__prev a span, .news-pagination__next a span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
  }
  .news-pagination__prev {
    order: 1;
  }
  .news-pagination__prev a {
    padding: 10px 0 10px 30px;
  }
  .news-pagination__prev a::after {
    left: 6px;
  }
  .news-pagination__next {
    order: 2;
  }
  .news-pagination__next a {
    justify-content: flex-end;
    padding: 10px 30px 10px 0;
  }
  .news-pagination__next a::after {
    right: 6px;
  }
  .news-pagination__back-link {
    height: 50px;
    font-size: 16px;
  }
  .news-pagination__back-link {
    order: 3;
    margin: 20px auto 0;
  }
  .news-related {
    margin-top: 45px;
  }
  .news-related__ttl {
    margin-bottom: 20px;
    padding-left: 28px;
    padding-bottom: 11px;
    font-size: 20px;
  }
  .news-related__ttl::before {
    width: 20px;
    height: 20px;
    top: 4px;
  }
  .news-related__list {
    flex-direction: column;
  }
  .news-related-item {
    width: 100%;
  }
  .news-related-item__link {
    display: flex;
    align-items: flex-start;
    -moz-column-gap: 20px;
         column-gap: 20px;
    position: relative;
  }
  .news-related-item__head {
    margin-bottom: 0;
    flex: 0 0 120px;
    position: unset;
  }
  .news-related-item__thumb {
    max-width: 120px;
    border-radius: 5px;
  }
  .news-related-item__date {
    padding: 3px 5px;
    font-size: 14px;
    border-radius: 2px;
    right: 0;
    bottom: 0;
    left: auto;
    transform: translateX(0);
  }
  .news-related-item__ttl {
    width: 100%;
    max-height: -moz-max-content;
    max-height: max-content;
    display: flex;
    align-items: center;
    margin: auto 0;
    padding-bottom: 20px;
  }
  .news-related-item__ttl span {
    font-size: 14px;
  }
  .news-search-msg {
    padding: 6px 10px;
    font-size: 14px;
  }
}
