.news_item__ttl {
  font-family: "BIZ UDPGothic", sans-serif;
}

.news_item__date, .detail_date {
  font-family: "Oswald", sans-serif;
}

.news_item__tag, .detail_tag {
  font-size: 1.3rem;
}

.news_list__item, .news_item__date, .news_item__ttl {
  font-size: 1.4rem;
}
@media only screen and (min-width: 768px) {
  .news_list__item, .news_item__date, .news_item__ttl {
    font-size: 1.7rem;
  }
}

.detail p {
  font-size: 1.4rem;
}
@media only screen and (min-width: 768px) {
  .detail p {
    font-size: 1.8rem;
  }
}

.detail_btn {
  font-size: 1.6rem;
}
@media only screen and (min-width: 768px) {
  .detail_btn {
    font-size: 1.9rem;
  }
}

.detail p a {
  font-size: 1.6rem;
}
@media only screen and (min-width: 768px) {
  .detail p a {
    font-size: 2rem;
  }
}

.detail h3 {
  font-size: 1.8rem;
}
@media only screen and (min-width: 768px) {
  .detail h3 {
    font-size: clamp(2.3rem, 2.3rem + 0.0047468354 * (100vw - 768px), 2.6rem);
  }
}

.detail h2 {
  font-size: 2rem;
}
@media only screen and (min-width: 768px) {
  .detail h2 {
    font-size: clamp(2.5rem, 2.5rem + 0.0110759494 * (100vw - 768px), 3.2rem);
  }
}

.detail_ttl {
  font-size: 2.2rem;
}
@media only screen and (min-width: 768px) {
  .detail_ttl {
    font-size: clamp(3rem, 3rem + 0.0110759494 * (100vw - 768px), 3.7rem);
  }
}

.p_news {
  background-color: #5eb7e8;
  --bg-color01: #d1d651;
}
.p_news.p_detail {
  background-color: #fff;
}
.p_news .mv_child {
  z-index: 1;
}
.p_news .color01 {
  --bg-color01: #d1d651;
}
.p_news .color02 {
  --bg-color01: #16985c;
}
.p_news .color03 {
  --bg-color01: #f57f7f;
}
.p_news .color04 {
  --bg-color01: #5666bf;
}
.p_news .color05 {
  --bg-color01: #c48d79;
}
.p_news .color06 {
  --bg-color01: #ca82d3;
}

.news {
  padding-bottom: 50px;
}
@media only screen and (min-width: 768px) {
  .news {
    margin-top: 34px;
    padding: 0 25px 62px 25px;
  }
}
.news_list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 30px;
  padding-bottom: 40px;
}
@media only screen and (min-width: 768px) {
  .news_list {
    gap: 40px 10px;
    padding-bottom: 30px;
  }
}
.news_list__item {
  flex-shrink: 0;
  font-weight: 700;
  color: #fff;
  width: calc(50% - 5px);
  width: clamp(33.33% - 6.6666666667px, (500px - 100vw) * 1000, 50% - 5px);
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  cursor: pointer;
}
@media only screen and (min-width: 768px) {
  .news_list__item {
    width: 175px;
    transition: all 0.5s;
  }
  .news_list__item:hover {
    opacity: 0.8;
  }
}
.news_list__item .news_list__bg {
  position: absolute;
  inset: 0;
}
.news_list__item .news_list__bg::after, .news_list__item .news_list__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  mask-image: url(./../images/common/img_shape_news.svg);
  mask-size: cover;
  mask-position: center right;
  mask-repeat: no-repeat;
}
.news_list__item .news_list__bg::before {
  z-index: -2;
  background-color: #fff;
}
.news_list__item .news_list__bg::after {
  opacity: 0.3;
  background-color: var(--bg-color01);
}
.news_list__item::before {
  content: "";
  width: 46px;
  height: 46px;
  position: absolute;
  z-index: -1;
  left: 61px;
  top: calc(100% - 17px);
  background-color: var(--bg-color01);
  mask-image: url(./../images/common/icon_shape_news.svg);
  mask-size: cover;
  mask-position: center right;
  mask-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  display: none;
}
@media only screen and (min-width: 768px) {
  .news_list__item::before {
    display: block;
  }
}
.news_list__item.active::before {
  opacity: 1;
  visibility: visible;
}
.news_list__item.active .news_list__bg::after, .news_list__item.active .news_list__bg::before {
  opacity: 1;
}
.news_list__ttl {
  position: relative;
  z-index: 2;
}
.news_inner {
  background-color: #fff;
  border-radius: 15px;
  position: relative;
}
@media only screen and (min-width: 768px) {
  .news_inner {
    margin-top: 13px;
  }
}
.news_content {
  max-width: 850px;
  width: 100%;
  position: relative;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  gap: 21px;
  flex-direction: column;
}
@media only screen and (min-width: 768px) {
  .news_content {
    padding: 65px 40px;
  }
}
.news_item {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #c4c4c4;
  position: relative;
  margin-bottom: 10px;
  padding-bottom: 11px;
}
@media only screen and (min-width: 768px) {
  .news_item {
    padding-bottom: 11px;
  }
}
.news_item__tag {
  font-weight: 700;
  color: #fff;
  width: 100%;
  max-width: 110px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-left: 1px;
}
@media only screen and (min-width: 768px) {
  .news_item__tag {
    max-width: 128px;
    min-height: 32px;
  }
}
.news_item__tag::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  mask-image: url(./../images/common/img_shape_news.svg);
  mask-size: contain;
  mask-position: center right;
  mask-repeat: no-repeat;
  background-color: var(--bg-color01);
}
.news_item__date {
  font-weight: 200;
  display: inline-block;
  padding-left: 16px;
  padding-top: 5px;
}
.news_item__ttl {
  width: 100%;
  line-height: 1.1764705882;
  letter-spacing: 0.02em;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 16px 40px 0 0;
  position: relative;
}
.news_item__ttl::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 19px;
  width: 12px;
  height: 12px;
  border-bottom: 1px solid #707070;
  border-right: 1px solid #707070;
  transform: rotate(-45deg);
}

.c_pagination {
  margin-top: 30px;
}
@media only screen and (min-width: 768px) {
  .c_pagination {
    margin-top: 67px;
  }
}

.detail {
  padding-top: 32px;
  padding-bottom: 50px;
}
@media only screen and (min-width: 768px) {
  .detail {
    padding-bottom: 100px;
  }
}
.detail mark {
  font-style: normal;
}
.detail_content {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.detail_tag {
  width: 100%;
  max-width: 128px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
@media only screen and (min-width: 768px) {
  .detail_tag {
    margin-left: -6px;
  }
}
.detail_tag::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  mask-image: url(./../images/common/img_shape_news.svg);
  mask-size: contain;
  mask-position: center right;
  mask-repeat: no-repeat;
  background-color: var(--bg-color01);
}
.detail_date {
  font-size: 1.3rem;
  font-weight: 400;
  display: inline-block;
  padding-left: 20px;
  padding-top: 5px;
}
@media only screen and (min-width: 768px) {
  .detail_date {
    font-size: 1.5rem;
  }
}
.detail_ttl {
  font-weight: 900;
  color: #5eb7e8;
  padding: 14px 0 43px;
  margin-left: -5px;
  line-height: 1.6486486486;
}
.detail_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.6315789474;
  padding-top: 40px;
}
@media only screen and (min-width: 768px) {
  .detail_btn {
    gap: 57px;
    padding-top: 92px;
  }
}
.detail_btn_col {
  width: 146px;
}
.detail_btn_col:nth-child(2) {
  width: 149px;
}
.detail_btn .btn {
  width: 100%;
  max-width: 148px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  z-index: 1;
}
@media only screen and (min-width: 768px) {
  .detail_btn .btn {
    min-height: 49px;
  }
}
.detail_btn .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #5eb7e8;
  mask-size: contain;
  mask-position: center right;
  mask-repeat: no-repeat;
}
.detail_btn .btn_prev::after,
.detail_btn .btn_next::after {
  mask-image: url(./../images/common/img_shape_news01.svg);
}
.detail_btn .btn_prev {
  max-width: 145px;
}
.detail_btn .btn_prev::after {
  transform: scale(-1);
}
.detail_btn .btn_center::after {
  mask-image: url(./../images/common/img_shape_news02.svg);
}
.detail h2 {
  font-weight: 700;
  line-height: 1.375;
  letter-spacing: -0.02em;
  background-color: rgba(94, 183, 232, 0.12);
  padding: 17px 20px 18px 26px;
  position: relative;
  margin-bottom: 29px;
}
.detail h2::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background-color: #5eb7e8;
}
.detail h3 {
  font-weight: 700;
  line-height: 1.6923076923;
  letter-spacing: -0.02em;
  color: #464646;
  display: inline-block;
  border-bottom: 1px solid #5eb7e8;
  padding-bottom: 9px;
  margin-bottom: 17px;
}
.detail p {
  line-height: 2.0555555556;
}
.detail p + h2 {
  margin-top: 40px;
}
@media only screen and (min-width: 768px) {
  .detail p + h2 {
    margin-top: 80px;
  }
}
.detail p + p {
  margin-top: 16px;
}
@media only screen and (min-width: 768px) {
  .detail p + p {
    margin-top: 29px;
  }
}
.detail p a {
  color: #5eb7e8;
  font-weight: 700;
  line-height: 1.75;
}
@media only screen and (min-width: 768px) {
  .detail p a {
    display: inline-block;
  }
}
.detail figure {
  margin-bottom: 24px;
}
.detail .wp-block-columns {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 0 30px;
}
@media only screen and (min-width: 768px) {
  .detail .wp-block-columns {
    gap: 30px;
    margin: 44px 0 108px;
  }
}
