@charset "utf-8";

/* blog */
.blog {
  padding-top: clamp(5.000rem, 0.833rem + 8.681vw, 11.250rem);
  padding-bottom: clamp(6.250rem, -1.625rem + 16.406vw, 18.062rem);
  background-color: #fff;
}
.blog__inner {
  padding-right: 20px;
  padding-left: 20px;
}
.blog__container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1344px;
  margin-right: auto;
  margin-left: auto;
}
.enFont01 {
  font-family: "Audiowide", sans-serif;
}

/* blog cate */
.blog__cate .webgene-blog {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.750rem, 0.250rem + 1.042vw, 1.500rem);
}
.blog__cate .webgene-item {
  width: auto;
  margin: 0;
  padding: 0;
}
.blog__cate .sideLink {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 203px;
  height: clamp(2.750rem, 2.167rem + 1.215vw, 3.625rem);
  background-color: #002c6a;
  font-size: clamp(0.875rem, 0.708rem + 0.347vw, 1.125rem);
  font-weight: 500;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.5s, color 0.5s;
}
.blog__cate .sideLink:hover,
.blog__cate .webgene-item.selected .sideLink,
.blog__cate .webgene-item.current .sideLink {
  background-color: #faf7a5;
  color: #002c6a;
}

/* blog list */
.blog__block {
  width: 100%;
  margin-top: clamp(2.500rem, -1.417rem + 8.160vw, 8.375rem);
}
.blog__block .webgene-blog {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.blogItem {
  width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #707070;
  transition: opacity 0.5s;
}
.blogItem:hover {
  opacity: 0.5;
}
.blogLink {
  display: flex;
  align-items: center;
  column-gap: clamp(0.750rem, 0.250rem + 1.042vw, 1.500rem);
  width: 100%;
  padding-top: clamp(1.250rem, 0.583rem + 1.389vw, 2.250rem);
  padding-bottom: clamp(1.250rem, 0.583rem + 1.389vw, 2.250rem);
}
.blogItemImg {
  flex-shrink: 0;
  width: clamp(4.500rem, 3.333rem + 2.431vw, 6.250rem);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.blogItemImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blogItemBottom {
  display: flex;
  flex-direction: column;
  row-gap: clamp(0.500rem, 0.250rem + 0.521vw, 0.875rem);
  min-width: 0;
  flex: 1;
}
.blogItemText {
  display: flex;
  align-items: center;
  column-gap: clamp(0.750rem, 0.333rem + 0.868vw, 1.375rem);
}
.blogItemTime {
  flex-shrink: 0;
  font-family: "Audiowide", sans-serif;
  font-size: clamp(1.000rem, 0.708rem + 0.608vw, 1.438rem);
  font-weight: 400;
  line-height: 1.3;
  color: #000;
  white-space: nowrap;
}
.blogItemCate {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: clamp(1.625rem, 1.333rem + 0.608vw, 2.062rem);
  padding-right: clamp(0.625rem, 0.333rem + 0.608vw, 1.062rem);
  padding-left: clamp(0.625rem, 0.333rem + 0.608vw, 1.062rem);
  background-color: #003f98;
  font-size: clamp(0.750rem, 0.583rem + 0.347vw, 1.000rem);
  font-weight: 500;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.blogItemTit {
  overflow: hidden;
  font-size: clamp(0.812rem, 0.688rem + 0.260vw, 1.000rem);
  font-weight: 500;
  line-height: 1.5;
  color: #000;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* pagination */
.blog .webgene-pagination {
  width: 100%;
  margin-top: clamp(3.000rem, 0.833rem + 4.514vw, 6.250rem);
}
.blog .webgene-pagination ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.750rem, 0.333rem + 0.868vw, 1.375rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog .webgene-pagination li {
  margin: 0;
  padding: 0;
}
.blog .webgene-pagination .number a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.750rem, 2.125rem + 1.302vw, 3.688rem);
  height: clamp(2.750rem, 2.167rem + 1.215vw, 3.625rem);
  background-color: #002c6a;
  font-family: "Audiowide", sans-serif;
  font-size: clamp(1.250rem, 0.750rem + 1.042vw, 2.000rem);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  transition: background-color 0.5s, color 0.5s;
}
.blog .webgene-pagination .number a:hover {
  background-color: #faf7a5;
  color: #002c6a;
}
.blog .webgene-pagination .prev a,
.blog .webgene-pagination .next a,
.blog .webgene-pagination .first a,
.blog .webgene-pagination .last a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.750rem, 2.125rem + 1.302vw, 3.688rem);
  height: clamp(2.750rem, 2.167rem + 1.215vw, 3.625rem);
  overflow: hidden;
  background-color: #faf7a5;
  background-repeat: no-repeat;
  background-position: center;
  background-size: clamp(1.125rem, 0.833rem + 0.608vw, 1.562rem) auto;
  font-size: 0;
  line-height: 0;
  color: transparent;
  transition: opacity 0.5s;
}
.blog .webgene-pagination .next a,
.blog .webgene-pagination .last a {
  background-image: url("https://yukodensetu0924.co.jp/system_panel/uploads/images/arrow-black.png");
}
.blog .webgene-pagination .prev a,
.blog .webgene-pagination .first a {
  background-image: url("https://yukodensetu0924.co.jp/system_panel/uploads/images/arrow-left-black.png");
}
.blog .webgene-pagination .prev a:hover,
.blog .webgene-pagination .next a:hover,
.blog .webgene-pagination .first a:hover,
.blog .webgene-pagination .last a:hover {
  opacity: 0.5;
}

@media (max-width: 767px) {
  .blog {
    padding-top: 60px;
    padding-bottom: 80px;
  }
  .blog__inner {
    padding-right: 20px;
    padding-left: 20px;
  }
  .blog__cate .webgene-blog {
    gap: 10px;
  }
  .blog__cate .webgene-item {
    width: calc(50% - 5px);
    max-width: 170px;
  }
  .blog__cate .sideLink {
    width: 100%;
    height: 44px;
    font-size: 13px;
  }
  .blog__block {
    margin-top: 40px;
  }
  .blogLink {
    column-gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .blogItemImg {
    width: 72px;
  }
  .blogItemTime {
    font-size: 14px;
  }
  .blogItemCate {
    height: 24px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 11px;
  }
  .blogItemTit {
    font-size: 13px;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .blog .webgene-pagination {
    margin-top: 40px;
  }
  .blog .webgene-pagination .number a,
  .blog .webgene-pagination .prev a,
  .blog .webgene-pagination .next a,
  .blog .webgene-pagination .first a,
  .blog .webgene-pagination .last a {
    width: 44px;
    height: 44px;
  }
  .blog .webgene-pagination .number a {
    font-size: 20px;
  }
}
