* {
  font-feature-settings: normal;
}

.singleBreadcrumbs {
  margin-top: 5.75rem;
}

.newsSingle > .container {
  display: grid;
  gap: clamp(3.85rem, 9.84375vw, 7.875rem);
  grid-template-columns: 1fr 11.25rem;
  padding-bottom: 7.5rem;
  padding-top: 4.8rem;
  width: 100%;
}

/* 本文が広い画像やテーブルなどで押し広げられないようにする */
.newsArticle {
  min-width: 0;
}

.newsArticle__title {
  border-bottom: 1px solid #dedede;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: 2rem;
}

/* タイトル下の日付・カテゴリー（区切り線はタイトルではなくこの下に引く） */
.single--news .newsArticle__title {
  border-bottom: none;
  padding-bottom: 0;
}

.newsArticle__meta {
  align-items: center;
  border-bottom: 1px solid #dedede;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.25rem;
  padding-bottom: 2rem;
}

.newsArticle__date {
  color: var(--colorGray);
  font-family: "Nunito Sans", "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
}

.newsArticle__category {
  background: var(--colorMain);
  color: var(--colorWhite);
  font-size: 0.75rem;
  line-height: 1.5;
  padding: 0.125rem 0.5rem;
  width: fit-content;
}

.newsArticle__content {
  margin-top: 2.5rem;
}

.newsArticle__content .wp-block-group.is-vertical.is-layout-flex {
  gap: 1.5rem;
}

.newsArticle__content h2 {
  color: var(--colorBlack);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.75;
  margin-block: 2.45rem;
}

.newsArticle__content p {
  color: var(--colorGray);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
  margin-bottom: 1.5rem;
}

.newsArticle__content a {
  color: var(--colorGray);
  text-decoration: underline;
  transition: 0.35s ease-out;
}

.newsArticle__content img {
  display: block;
  height: auto;
  max-width: min(100%, 60rem);
  margin-inline: auto;
}

@media (hover: hover) {
  .newsArticle__content a:hover {
    color: var(--colorMain);
    text-decoration: none;
  }
}

.wp-block-image img {
  display: block;
  height: auto;
  max-width: min(100%, 60rem);
  margin: 1rem auto 0;
}

.newsReturn {
  margin-top: 5rem;
}

.newsReturn__link {
  align-items: center;
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  gap: 0.5rem;
  line-height: 1.5;
}

.newsReturn__arrow {
  background-color: var(--colorMain);
  border-radius: 50%;
  height: 2rem;
  position: relative;
  transform: scaleX(-1);
  width: 2rem;
}

.newsReturn__arrow::before {
  background-image: url(../../images/common/img-arrow-white.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
  content: "";
  display: block;
  height: 1rem;
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translate(150%, -50%);
  width: 1rem;
  z-index: 2;
}

@media (hover: hover) {
  .newsReturn__link:hover .newsReturn__arrow::before {
    animation: arrow-hover 0.5s forwards;
  }
  .newsReturn__link:hover .newsReturn__text {
    color: var(--colorMain);
  }
}

@media screen and (max-width: 767px) {
  .singleBreadcrumbs {
    margin-top: 5.25rem;
  }

  .newsSingle > .container {
    grid-template-columns: 1fr;
    padding-block: 3.5rem 4.5rem;
  }

  .newsArticle__title {
    font-size: 2rem;
  }

  .newsArticle__meta {
    gap: 0.5rem 1rem;
    margin-top: 1rem;
    padding-bottom: 1.5rem;
  }

  .newsArticle__content {
    margin-top: 1.875rem;
  }

  .newsArticle__content .wp-block-group.is-vertical.is-layout-flex {
    gap: 1rem;
  }

  .newsArticle__content h2 {
    font-size: 1.25rem;
    margin-block: 1.875rem 2.2rem;
  }

  .newsArticle__content p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  .newsReturn {
    margin-top: 4rem;
  }

  .newsReturn__link {
    justify-content: flex-end;
    font-size: 0.875rem;
  }
}
