/* 背景の紫位置を変える */
.news::before {
  content: "";
  position: absolute;
  z-index: -10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 138.09vw;
  background: url("../images/purple_background-PC.webp") no-repeat;
  background-position: -4.2vw 43.4vw;
  background-size: 105.2vw auto;
  pointer-events: none;
  inset: 0;
}

@media (width <= 767px) {
  .news::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 543.84vw;
    background: url("../images/purple_background-SP.webp") no-repeat;
    background-position: -10vw 92.8vw;
    background-size: 164.1vw auto;
    pointer-events: none;
    inset: 0;
  }
}
.fv {
  padding-bottom: 5.14vw;
}
.news__content {
  display: flex;
  flex-direction: column;
  gap: 5.56vw;
  width: 83.3vw;
  padding-bottom: 8.82vw;
  margin: 2vw auto 0;
}
.news__content-list {
  display: flex;
  flex-direction: column;
  gap: 1.875vw;
  width: 100%;
}
.news__content-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.news__content-row {
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.22vw;
  border-bottom: 1px solid #c6c6c6;
}
.news__content-date {
  margin-right: 1.1vw;
  color: #282828;
  font-family: Poppins, sans-serif;
  font-size: calc(1.1vw * var(--text-scale));
  font-weight: 400;
}
.news__content-category {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 4.4vw;
  height: 1.25vw;
  margin-right: 2.2vw;
  background: #826190;
  border-radius: 2px;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: calc(0.76vw * var(--text-scale));
  font-weight: 700;
  line-height: 1.3;
}
.news__content-ttl {
  overflow: hidden;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: calc(1.1vw * var(--text-scale));
  font-weight: 400;
  line-height: 1.4;
  text-overflow: ellipsis;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.89vw;
}
.pagination__list {
  display: flex;
  align-items: center;
  gap: 1.11vw;
  padding: 0;
  margin: 0;
  list-style: none;
}
.pagination__btn {
  display: grid;
  place-items: center;
  width: 2.5vw;
  height: 2.5vw;
  border: 1px solid #826190;
  border-radius: 999px;
  color: #826190;
  font-family: "Noto Sans JP", sans-serif;
  font-size: calc(1vw * var(--text-scale));
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.pagination__btn.is-active {
  background: #826190;
  color: #fff;
}
.pagination__dots {
  color: #826190;
  font-family: "Noto Sans JP", sans-serif;
  font-size: calc(1vw * var(--text-scale));
  font-weight: 700;
  letter-spacing: 0.1em;
}
.pagination__btn:hover {
  background: #826190;
  color: #fff;
}
.pagination__arrow:hover {
  opacity: 0.7;
}
.pagination-arrow {
  display: grid;
  place-items: center;
  color: #826190;
  text-decoration: none;
}
.pagination-arrow svg {
  width: 0.42vw;
  height: 0.97vw;
}

@media (width <= 767px) {
  .fv {
    padding-bottom: 7.69vw;
  }
  .news .section__ttl {
    padding-bottom: 5vw;
  }
  .news__category {
    flex-wrap: nowrap;
    gap: max(2.56vw, 10px);
    padding-bottom: 7.17vw;
  }
  .news__category__btn {
    width: 15.89vw;
    min-height: 7.17vw;
    padding: 0;
    font-size: calc(3.3vw * var(--text-scale));
    line-height: 1;
    white-space: nowrap;
  }
  .news__content {
    display: flex;
    flex-direction: column;
    gap: 10.3vw;
    width: 89.7vw;
    padding-bottom: 23.3vw;
    margin: 6vw auto 0;
  }
  .news__content-list {
    flex: none;
    gap: 6.15vw;
    width: 100%;
    padding-top: 0;
  }
  .news__content-link {
    display: block;
    color: inherit;
    text-decoration: none;
  }
  .news__content-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.28vw;
    padding-bottom: 5.9vw;
  }
  .news__content-sp {
    display: flex;
    align-items: center;
  }
  .news__content-date {
    margin-right: 4.1vw;
    font-size: calc(3.8vw * var(--text-scale));
    letter-spacing: 0.06rem;
  }
  .news__content-category {
    min-width: 16.4vw;
    height: 4.61vw;
    margin-right: 0;
    font-size: calc(2.82vw * var(--text-scale));
  }
  .news__content-ttl {
    width: 100%;
    font-size: calc(4.1vw * var(--text-scale));
    line-height: 1.5;
    white-space: normal;
  }
  .pagination {
    gap: 14.6vw;
  }
  .pagination__list {
    gap: 4.1vw;
  }
  .pagination__btn {
    width: 9.23vw;
    height: 9.23vw;
    font-size: 4.1vw;
  }
  .pagination__dots {
    font-size: 4.1vw;
  }
  .pagination__btn:hover {
    background: #826190;
    color: #fff;
  }
  .pagination-arrow svg {
    width: 1.54vw;
    height: 3.59vw;
  }
}

/* news-detail */
.news-detail {
  margin-bottom: 8.33vw;
}
.news-flex {
  display: flex;
  justify-content: center;
  gap: 4.86vw;
  margin: 2vw auto 0;
}
.news__meta {
  padding-bottom: 2.71vw;
  margin-bottom: 2.71vw;
  border-bottom: 1px solid #9b9b9b;
}
.news-detail .news__content-ttl {
  margin-bottom: 0.4vw;
  color: #826190;
  font-family: "Noto Sans JP", sans-serif;
  font-size: calc(2.22vw * var(--text-scale));
  font-weight: 700;
  line-height: 1.4;
}
.news-side .news__content-ttl {
  margin: 0.46vw 0 0;
  color: #826190;
  font-family: "Noto Sans JP", sans-serif;
  font-size: calc(1.11vw * var(--text-scale));
  font-weight: 400;
  line-height: 1.4;
}
.news-side__category .news__content-ttl {
  display: block;
  margin: 0;
}
.news-side__category .news__content-ttl::before {
  content: "▶︎";
  display: inline-block;
  position: relative;
  top: -2px;
  width: 0.56vw;
  height: 0.35vw;
  margin-right: 0.35vw;
  font-size: calc(0.625vw * var(--text-scale));
}
.news-detail__content {
  width: 60.4vw;
}
.news__content--body {
  margin-bottom: 3.89vw;
}
.news__content--body h2,
.news__content--body h3,
.news__content--body h4,
.news__content--body p {
  margin-bottom: 1.67vw;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
}
.news__content--body h2 {
  font-size: calc(1.66vw * var(--text-scale));
  font-weight: 700;
  line-height: 1.5;
}
.news__content--body h3 {
  font-size: calc(1.38vw * var(--text-scale));
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
}
.news__content--body h4 {
  font-size: calc(1.1vw * var(--text-scale));
  font-weight: 700;
  line-height: 1.5;
}
.news__content--body p {
  font-size: calc(1.1vw * var(--text-scale));
  font-weight: 400;
  line-height: 1.7;
}
.news__content--body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 2.78vw;
}
.news__content--body ul {
  display: flex;
  flex-direction: column;
  gap: 0.69vw;
  padding-left: 1.25vw;
  margin-bottom: 1.67vw;
}
.news__content--body ul li {
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: calc(1.1vw * var(--text-scale));
  font-weight: 400;
  line-height: 1.6;
  list-style: disc;
}
.news-detail__content .detailed-btn {
  margin: 0 auto;
}
.news-side {
  display: flex;
  flex-direction: column;
  gap: 3.3vw;
  width: 18.1vw;
}
.news-side__archive-ttl {
  color: #282828;
  font-family: "Noto Sans JP", sans-serif;
  font-size: calc(1.67vw * var(--text-scale));
  font-weight: 700;
  line-height: 1.4;
}
.news-side__archive-ttl::before {
  content: "";
  display: inline-block;
  position: relative;
  top: 3px;
  width: 0.24vw;
  height: 1.67vw;
  margin-right: 0.76vw;
  background: #826190;
  border-radius: 2px;
}
.news-side__archive-list {
  display: flex;
  flex-direction: column;
  gap: 0.8vw;
  margin-top: 2vw;
}
.news-side__category .news-side__archive-list {
  margin-top: 1.6vw;
}
.news-side__archive-list-item {
  padding-bottom: 1.11vw;
  border-bottom: 1px dotted #9b9b9b;
}
.news-side__archive-list-item a {
  text-decoration: none;
}

/* Layout Fix for text-size-2 to 4 */
html.text-size-2 .news__content-category,
html.text-size-3 .news__content-category,
html.text-size-4 .news__content-category {
  min-width: 4.8vw;
  height: auto;
  padding: 0.2vw 0.5vw;
}
html.text-size-2 .news-side__archive-list,
html.text-size-3 .news-side__archive-list,
html.text-size-4 .news-side__archive-list {
  gap: 1vw;
}
html.text-size-2 .news-side__archive-list-item,
html.text-size-3 .news-side__archive-list-item,
html.text-size-4 .news-side__archive-list-item {
  padding-bottom: 1.3vw;
}

@media (width <= 767px) {
  .news-detail {
    margin-bottom: 23.3vw;
  }
  .news-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12.4vw;
    margin: 6vw auto 0;
  }
  .news__meta {
    padding-bottom: 6.15vw;
    margin-bottom: 6.15vw;
  }
  .news-detail .news__content-ttl {
    margin-bottom: 4.1vw;
    font-size: 6.15vw;
  }
  .news-side .news__content-ttl {
    margin: 0.56vw 0 0;
    color: #826190;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 4.1vw;
  }
  .news-side__category .news__content-ttl::before {
    content: "▶︎";
    display: inline-block;
    position: relative;
    margin-right: 2.35vw;
    font-size: 1.625vw;
  }
  .news-detail__content {
    width: 89.7vw;
    margin: 0 auto;
  }
  .news__content--body {
    margin-bottom: 10.3vw;
  }
  .news__content--body h2,
  .news__content--body h3,
  .news__content--body h4,
  .news__content--body p {
    margin-bottom: 6.15vw;
  }
  .news__content--body h2 {
    font-size: 6.15vw;
  }
  .news__content--body h3 {
    font-size: 5.12vw;
  }
  .news__content--body h4 {
    font-size: 4.1vw;
  }
  .news__content--body p {
    font-size: 4.1vw;
  }
  .news__content--body img {
    margin: 0 auto 6.15vw;
  }
  .news__content--body ul {
    gap: 2.56vw;
    padding-left: 5.25vw;
    margin-bottom: 6.15vw;
  }
  .news__content--body ul li {
    font-size: 4.1vw;
  }
  .news-detail__content .detailed-btn {
    margin: 0 auto;
  }
  .news-side {
    gap: 12.4vw;
    width: 89.7vw;
    margin: 0 auto;
  }
  .news-side__archive-ttl {
    font-size: 6.15vw;
  }
  .news-side__archive-ttl::before {
    top: 3px;
    width: 0.89vw;
    height: 6.15vw;
    margin-right: 1.93vw;
  }
  .news-side__archive-list {
    gap: 4.1vw;
    margin-top: 7.3vw;
  }
  .news-side__category .news-side__archive-list {
    gap: 1.8vw;
    margin-top: 6vw;
  }
  .news-side__archive-list-item {
    padding-bottom: 4.1vw;
  }
}
