@charset "utf-8";

/* pg__fv */
.pg__fv {
  background-image: url("https://katsushima.jp/system_panel/uploads/images/fv-news.png");
}

/* news */
.news {
  padding-top: clamp(3.750rem, 0.875rem + 5.990vw, 8.062rem);
  padding-bottom: clamp(4.625rem, 0.208rem + 9.201vw, 11.250rem);
}
.news__inner {
  padding-right: clamp(1.250rem, -5.583rem + 14.236vw, 11.500rem);
  padding-left: clamp(1.250rem, -5.583rem + 14.236vw, 11.500rem);
}
.news__container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1108px;
  margin-inline: auto;
}

/* news cate */
.news__cate {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.375rem, 0.208rem + 0.347vw, 0.625rem) clamp(0.500rem, 0.417rem + 0.174vw, 0.625rem);
}
.news__cate .webgene-blog,
.news__cate .webgene-item {
  display: contents;
}
.news__cate > a,
.news__cate .sideLink {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(2.750rem, 2.583rem + 0.347vw, 3.000rem);
  padding-right: clamp(1.125rem, 0.208rem + 1.910vw, 2.500rem);
  padding-left: clamp(1.125rem, 0.208rem + 1.910vw, 2.500rem);
  background-color: #349b8b;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  font-family: "LINE Seed JP", sans-serif;
  font-size: clamp(0.875rem, 0.625rem + 0.521vw, 1.250rem);
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.news__cate > a:hover,
.news__cate .sideLink:hover,
.news__cate > a.is-current,
.news__cate .sideLink.is-current {
  background-color: #36b488;
}
.news-cate__btn {
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-cate-btn__text {
  font-family: "LINE Seed JP", sans-serif;
  font-size: inherit;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

/* news list */
.news__block {
  width: 100%;
  margin-top: clamp(5.062rem, 3.438rem + 3.385vw, 7.500rem);
}
.news__block .webgene-blog {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.news__block .newsItem {
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}
.news__block .newsItem + .newsItem {
  margin-top: clamp(1.250rem, -0.417rem + 3.472vw, 3.750rem);
}
.newsLink {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(6.125rem, 5.292rem + 1.736vw, 7.375rem);
  padding-top: clamp(0.781rem, 0.031rem + 1.563vw, 1.906rem);
  padding-right: 100px;
  padding-bottom: clamp(0.875rem, 0.208rem + 1.389vw, 1.875rem);
  padding-left: clamp(1.250rem, 0.333rem + 1.910vw, 2.625rem);
  background-color: #fff;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.16);
}
.newsLink:hover {
  opacity: 0.5;
}
.newsLink::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  display: block;
  width: 52px;
  height: 52px;
  background-color: #c4841e;
  background-image: url("https://katsushima.jp/system_panel/uploads/images/20260828134712123515.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px auto;
  transform: translateY(-50%);
}
.newsItemImg {
  display: none;
}
.newsItemBottom {
  display: flex;
  flex-direction: column;
  gap: clamp(0.500rem, 0.375rem + 0.260vw, 0.688rem);
  width: 100%;
  min-width: 0;
}
.newsItemText {
  display: flex;
  align-items: center;
  gap: clamp(1.062rem, 0.937rem + 0.260vw, 1.250rem);
}
.newsItemTime {
  flex-shrink: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  line-height: 1.5;
  color: #000;
  white-space: nowrap;
}
.newsItemCate {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: clamp(1.438rem, 1.312rem + 0.260vw, 1.625rem);
  padding-right: 20px;
  padding-left: 20px;
  background-color: #349b8b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: clamp(0.750rem, 0.667rem + 0.174vw, 0.875rem);
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.newsItemTit {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: clamp(0.875rem, 0.708rem + 0.347vw, 1.125rem);
  line-height: 1.56;
  color: #000;
}

/* pagination */
.webgene-pagination {
  position: relative;
  width: 100%;
  max-width: clamp(20.625rem, 10.292rem + 21.528vw, 36.125rem);
  margin-top: clamp(3.750rem, 2.083rem + 3.472vw, 6.250rem);
  margin-right: auto;
  margin-left: auto;
}
.webgene-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.webgene-pagination li {
  margin: 0;
  padding: 0;
}
.webgene-pagination .number a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(2.125rem, 1.708rem + 0.868vw, 2.750rem);
  height: clamp(2.625rem, 2.125rem + 1.042vw, 3.375rem);
  padding-right: 10px;
  padding-left: 10px;
  background-color: #dceadf;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.750rem, 0.583rem + 0.347vw, 1.000rem);
  line-height: 1;
  color: #000;
}
.webgene-pagination .number.selected a {
  min-width: clamp(3.062rem, 2.437rem + 1.302vw, 4.000rem);
  background-color: #349b8b;
  color: #fff;
}
.webgene-pagination .number a:hover {
  background-color: #349b8b;
  color: #fff;
}
.webgene-pagination .prev,
.webgene-pagination .next,
.webgene-pagination .first,
.webgene-pagination .last {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.webgene-pagination .prev,
.webgene-pagination .first {
  left: 0;
}
.webgene-pagination .next,
.webgene-pagination .last {
  right: 0;
}
.webgene-pagination .prev a,
.webgene-pagination .next a,
.webgene-pagination .first a,
.webgene-pagination .last a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(1.562rem, 1.229rem + 0.694vw, 2.062rem);
  height: clamp(1.562rem, 1.229rem + 0.694vw, 2.062rem);
  background-color: #c4841e;
  background-image: url("https://katsushima.jp/system_panel/uploads/images/20260828134712123515.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50% auto;
  font-size: 0;
  line-height: 0;
  color: transparent;
}
.webgene-pagination .prev a,
.webgene-pagination .first a {
  transform: scaleX(-1);
}
.webgene-pagination .prev a:hover,
.webgene-pagination .next a:hover,
.webgene-pagination .first a:hover,
.webgene-pagination .last a:hover {
  opacity: 0.5;
}

@media (max-width: 767px) {
  .pg__fv {
    background-image: url("https://katsushima.jp/system_panel/uploads/images/pg-fv-news.png");
  }

  .news__inner {
    padding-right: 10px;
    padding-left: 10px;
  }
  .news__cate {
    justify-content: flex-start;
  }
  .newsLink::after {
    display: none;
  }
  .newsLink {
    padding-right: 20px;
  }
  .newsItemTit {
    line-height: 1.43;
  }
}
