.works-list {
  width: clamp(331px, 88.3%, 1266px);
  margin: 0 auto;
  padding: 98px 0 100px;
  border-radius: 100px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .works-list {
    width: clamp(331px, 88.3%, 1266px);
    background-color: unset;
    padding-top: 102px;
	  padding-bottom: 0;
  }
}
.works-linklist {
  width: clamp(320px, 90%, 1000px);
  margin: 0 auto;
}
.works-linklist ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  margin-bottom: 80px;
}
@media screen and (max-width: 768px) {
  .works-linklist ul {
    gap: 15px;
    height: auto;
    flex-wrap: wrap;
    margin-bottom: 50px;
  }
}
.works-linklist ul li {
  width: 23%;
  max-width: 233px;
  height: 64px;
}
@media screen and (max-width: 768px) {
  .works-linklist ul li {
    width: 46.8%;
    height: 65px;
  }
}
.works-linklist ul li a {
  display: block;
  padding: 20px 20px 20px 30px;
  border-radius: 100px;
  color: #fff;
  text-align: left;
  background-color: #0d6fb8;
  font-family: "Noto Sans JP";
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 24px */
  letter-spacing: 0.45px;
  border: 2px solid #0d6fb8;
  position: relative;
}
@media screen and (max-width: 768px) {
  .works-linklist ul li a {
    font-size: 14px;
    line-height: 150%; /* 21px */
    letter-spacing: 0.42px;
    padding: 0 20px 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 155px;
    height: 65px;
  }
}
.works-linklist ul li a::after {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  background-image: url(../image/common/buttonarrowwhite.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transition: all 0.3s ease;
}
@media screen and (max-width: 768px) {
  .works-linklist ul li a::after {
    width: 24px;
    height: 24px;
    right: 20px;
  }
}
.works-linklist ul li a:hover {
  background-color: #fff;
  color: #0d6fb8;
}
.works-linklist ul li a:hover::after {
  background-image: url(../image/common/buttonarrowblue.svg);
}
.works-list-inner {
  width: clamp(320px, 90%, 1000px);
  margin: 0 auto 100px;
}

@media screen and (max-width:768px) {
	.works-list-inner {
	margin-bottom: 0;	
	}
	
}

.works-list-inner ul {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 60px 6%;
}
@media screen and (max-width: 768px) {
  .works-list-inner ul {
    gap: 30px;
  }
}
.works-list-inner ul li {
  width: 47%;
  background-color: #f9f3e0;
  border-radius: 20px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .works-list-inner ul li {
    width: 100%;
    background-color: #fff;
  }
}
.works-list-inner ul li a {
  width: 100%;
  display: block;
  padding: 50px;
}
@media screen and (max-width: 768px) {
  .works-list-inner ul li a {
    padding: 30px;
  }
}
.works-list-inner-ul-img {
  height: 270px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 27px;
}
@media screen and (max-width: 768px) {
  .works-list-inner-ul-img {
    height: 200px;
    margin-bottom: 20px;
  }
}
.works-list-inner-ul-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}
.works-list-inner-ul li a:hover .works-list-inner-ul-img img {
  transform: scale(1.1);
}
.works-list-inner-ul-text .category {
  color: #fff;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.45px;
  border-radius: 5px;
  background: #0d6fb8;
  padding: 2px 15px 4px;
  display: inline-block;
  margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
  .works-list-inner-ul-text .category {
    margin-bottom: 16px;
  }
}
.works-list-inner-ul-text h3 {
  color: #222;
  text-align: left;
  font-size: 25px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 37.5px */
  letter-spacing: 0.75px;
  margin-bottom: 15px;
}
@media screen and (max-width: 768px) {
  .works-list-inner-ul-text h3 {
    font-size: 22px;
    letter-spacing: 0.66px;
  }
}
.works-list-inner-ul-text h3 span {
  background: linear-gradient(transparent 60%, #f1c846 60%);
}
ul.works-list-inner-ul-text-list.flex {
  flex-wrap: wrap;
  width: 250px;
  gap: 7px;
}
@media screen and (max-width: 768px) {
  ul.works-list-inner-ul-text-list.flex {
    margin-bottom: 20px;
  }
}
ul.works-list-inner-ul-text-list li {
  width: 100%;
  justify-content: flex-start;
  padding: 0;
  justify-content: flex-starts;
  color: #222;
  font-family: "Noto Sans JP";
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 24px */
  letter-spacing: 0.45px;
}
@media screen and (max-width: 768px) {
  ul.works-list-inner-ul-text-list li {
    font-size: 14px;
    letter-spacing: 0.42px;
  }
}
ul.works-list-inner-ul-text-list li p:nth-child(1) {
  width: 76px;
}
.linkbutton {
  position: absolute;
  right: 94px;
  bottom: 45px;
  color: #222;
  font-family: "Noto Sans JP";
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 24px */
  letter-spacing: 0.45px;
  transition: all 0.3s ease;
  align-items: center;
  gap: 5px;
}
@media screen and (max-width: 768px) {
  .linkbutton {
    position: static;
    justify-content: end;
  }
}
.linkbutton span {
  color: #222;
  font-family: "Noto Sans JP";
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 24px */
  letter-spacing: 0.45px;
  transition: all 0.3s ease;
}
.linkbutton p.arrow {
  width: 34px;
  height: 34px;
  background-color: #0d6fb8;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}
.linkbutton p.arrow img {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  transition: all 0.3s ease;
}
.works-list-inner-ul li a:hover .linkbutton span {
  color: #0d6fb8;
}
.works-list-inner-ul li a:hover .linkbutton p.arrow img {
  right: 8px;
  left: auto;
}
/* 施工実績の詳細ページ */
.workscontents-head {
  height: 292px;
}
@media screen and (max-width: 768px) {
  .workscontents-head {
    height: calc(196px - 24px);
  }
}
.workscontents-head-back {
  position: absolute;
  max-width: 1151px;
  max-height: 221px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
	width: 100%;
}
@media screen and (max-width: 768px) {
  .workscontents-head-back {
    height: 94px;
    width: 100%;
  }
  .workscontents-head-back img {
    height: 96%;
    width: 100%;
    object-fit: cover;
  }
  .works-contents-container.works-single {
    width: 100%;
    padding-top: 60px;
    border-radius: 20px;
    padding-bottom: 80px;
    width: clamp(331px, 88.3%, 1266px);
    padding: 30px;
    padding-left: 0;
    padding-right: 0;
  }
}
.works-contents-container {
  background-color: #fff;
  border-radius: 100px;
  width: clamp(320px, 90%, 1266px);
  margin: 0 auto;
  padding-top: 160px;
  padding-bottom: 100px;
}
.workscontents-inner {
  width: clamp(320px, 90%, 1000px);
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .workscontents-inner {
    width: 100%;
  }
}
.workscontents-inner h2 {
  color: #222;
  font-family: "Noto Sans JP";
  font-size: 38px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 60.8px */
  letter-spacing: 1.14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 50px;
}
@media screen and (max-width: 768px) {
  .workscontents-inner h2 {
    font-size: 24px;
    letter-spacing: 0.72px;
    margin: 0 22px;
    margin-bottom: 20px;
  }
}
.workscontents-inner span.before-after {
  display: inline-block;
  border-radius: 50px;
  background: #0d6fb8;
  color: #fff;
  text-align: center;
  font-family: "Fredoka", sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.75px;
  padding: 7px 30px 6px;
  margin-bottom: 32px;
}
@media screen and (max-width: 768px) {
  .workscontents-inner span.before-after {
    font-size: 16px;
    line-height: normal;
    letter-spacing: 0.48px;
    padding: 7px 20px;
    margin-bottom: 20px;
    margin-left: 22px;
  }
}
.beforeimage {
  border-radius: 50px;
  margin-bottom: 80px;
  height: 660px;
  background-color: #d9d9d9;
  overflow: hidden;
}
.beforeimage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .beforeimage {
    width: 100%;
    height: 250px;
    margin-bottom: 50px;
    margin-left: 22px;
    margin-right: 22px;
    width: auto;
    border-radius: 30px;
  }
  .afterimage-container .slick-slider {
    margin-left: 22px;
    margin-right: 22px;
  }
}
.thumslider .slick-img {
  border-radius: 50px;
  margin-bottom: 80px;
  height: 660px;
  background-color: #d9d9d9;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .thumslider .slick-img {
    width: 100%;
    /* height: 250px;*/
    margin-bottom: 40px;
    border-radius: 30px;
    height: auto;
  }
}
.afterimage-container .thumbnail-img.slick-slide {
  width: 270px;
  height: 182px;
}
@media screen and (max-width: 768px) {
  .afterimage-container .thumbnail-img.slick-slide {
    width: 100%;
    height: auto;
  }
}
.thumslider .slick-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 331 / 250;
}
.thumbnail-img {
  margin: 0 15px;
  border-radius: 20px;
  overflow: hidden;
}
.afterimage-container .thumbnail {
  width: 90%;
  margin: 0 auto 59px;
}
@media screen and (max-width: 768px) {
  .afterimage-container .thumbnail {
    width: 100%;
    height: auto;
  }
}
.afterimage-container .thumbnail .slick-arrow {
  width: 100px;
  height: 100px;
  z-index: 10;
  background-color: #0d6fb8;
  border-radius: 50%;
  background-image: url(../image/common/buttonarrowblue.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
}
@media screen and (max-width: 768px) {
  .afterimage-container .thumbnail .slick-arrow {
    width: 51px;
    height: 51px;
    background-image: url(../image/common/buttonarrowblue-sp.svg);
  }
}
.afterimage-container .thumbnail .slick-arrow::before {
  display: none;
}
.afterimage-container .thumbnail .slick-arrow.slick-prev {
  transform: rotate(180deg) translateY(50%);
  left: -60px;
}
.afterimage-container .thumbnail .slick-arrow.slick-next {
  transform: rotate(0deg) translateY(-50%);
  right: -60px;
}
@media screen and (max-width: 768px) {
  .afterimage-container .thumbnail .slick-arrow.slick-prev {
    transform: rotate(180deg) translateY(50%);
    left: 10px;
  }
  .afterimage-container .thumbnail .slick-arrow.slick-next {
    transform: rotate(0deg) translateY(-50%);
    right: 10px;
  }
}
/* 文字を消す */
.afterimage-container .slick-prev, .afterimage-container .slick-next {
  font-size: 0;
  line-height: 0;
  color: transparent;
}
/* 擬似要素（slick-theme.cssなど）で表示される「prev」「next」も消す場合 */
.afterimage-container .slick-prev:before, .afterimage-container .slick-next:before {
  content: ""; /* コンテンツを空にする */
}
.afterimage-container .thumbnail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 331 / 250;
}
.kokiarea {
  width: 100%;
  margin: 0 auto 59px;
}
@media screen and (max-width: 768px) {
  .kokiarea {
    margin: 0 22px 50px;
    width: auto;
  }
}
.kokiarea .flex {
  justify-content: flex-start;
  gap: 10px;
  border-bottom: 1px solid #d9d9d9;
  padding: 22px 60px;
}
@media screen and (max-width: 768px) {
  .kokiarea .flex {
    flex-wrap: wrap;
    padding-left: 0;
    padding-right: 0;
  }
}
.kokiarea .flex:nth-child(1) {
  padding-top: 0;
}
.kokiarea .flex .kokiarea-left {
  width: 180px;
  color: #222;
  font-family: "Noto Sans JP";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 32px */
  letter-spacing: 0.6px;
}
@media screen and (max-width: 768px) {
  .kokiarea .flex .kokiarea-left {
    width: 100%;
    font-size: 18px;
    letter-spacing: 0.54px;
  }
}
.kokiarea .flex .kokiarea-right {
  width: auto;
  color: #222;
  font-family: "Noto Sans JP";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 32px */
  letter-spacing: 0.6px;
}
@media screen and (max-width: 768px) {
  .kokiarea .flex .kokiarea-right {
    width: 100%;
    font-size: 18px;
    letter-spacing: 0.54px;
  }
}
/*********************************

ページャー

**********************************/
/*ページナビ*/
div.pagenavi {
  /*  width: 1000px;*/
  margin: 100px auto 0;
  width: clamp(320px, 83.3%, 1160px);
}
div.pagenavi ul.page-numbers {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 8px;
  align-items: center;
}
ul.page-numbers li {
  width: 40px;
  height: 40px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
ul.page-numbers li a.page-numbers {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
ul.page-numbers li span.page-numbers.current {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: #0D6FB8;
  border-radius: 100vh;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
ul.page-numbers li a.page-numbers {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: #222;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 190%; /* 24.7px */
  padding: 0;
  background-color: transparent;
}
ul.page-numbers li a.page-numbers img {
  width: 100%;
}
.catgoryBtnlist li a.current {
  color: #fff;
  background-color: #008742;
}
/*前の記事、次の記事*/
div.PrevNext {
  justify-content: flex-start;
  display: flex;
  align-items: center;
}
@media screen and (max-width:768px) {
  div.PrevNext {
   /* padding-top: 20px;*/
	  padding: 20px 22px;
  }
  div.PrevNext a {
    position: relative;
  }
}
div.PrevNext div {
  width: calc(100% / 3);
}
div.PrevNext div {
  text-align: center;
}
div.PrevNext div:first-child {
  text-align: left;
}
div.PrevNext div:last-child {
  text-align: right;
}
ul.newsList {
  align-items: flex-start;
}
div.PrevNext div.prev a:before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: 2px;
  justify-content: center;
  align-items: center;
  background-image: url(../image/news/prev.png);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 8px;
}
div.PrevNext div.next a:after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: 2px;
  justify-content: center;
  align-items: center;
  background-image: url(../image/news/next.png);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-left: 8px;
}
@media screen and (max-width:768px) {
  div.PrevNext div.prev, div.PrevNext div.next {
    padding-top: 50px;
  }
  div.PrevNext div.prev a:before {
    position: absolute;
    top: -50px;
    left: 22px;
    margin: 0;
  }
  div.PrevNext div.next a:after {
    position: absolute;
    top: -50px;
    right: 22px;
    margin: 0;
  }
}
/*施工事例のページャー*/
@media screen and (max-width:768px) {
  .pagenavi.workspagenavi {
    padding-top: 0;
    margin-top: 50px;
  }
  .workspagenavi .page-numbers li {
    width: 40px;
  }
  .workspagenavi ul {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 8px;
    align-items: center;
  }
}
ul.newsList {
  align-items: flex-start;
}
div.PrevNext div.prev a:before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: 2px;
  justify-content: center;
  align-items: center;
  background-image: url(../image/common/buttonarrowblue.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 8px;
  transform: rotate(180deg);
}
div.PrevNext div.next a:after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: 2px;
  justify-content: center;
  align-items: center;
  background-image: url(../image/common/buttonarrowblue.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-left: 8px;
}
@media screen and (max-width:768px) {
  div.PrevNext div.prev, div.PrevNext div.next {
    padding-top: 50px;
  }
  div.PrevNext div.prev a:before {
    position: absolute;
    top: -50px;
    left: 22px;
    margin: 0;
  }
  div.PrevNext div.next a:after {
    position: absolute;
    top: -50px;
    right: 22px;
    margin: 0;
  }
}










/* サムネイル全体の基本 */
.thumbnail {
  margin-top: 20px;
  width: 100%;
}

.thumbnail .thumbnail-img {
 /* padding: 0 5px;*/
  cursor: pointer;
 /* opacity: 0.5;*/
  transition: 0.3s;
}

.thumbnail .slick-current .thumbnail-img {
  opacity: 1;
}

/* --- 【重要】枚数が3枚以下の時だけ適用するスタイル --- */
@media screen and (min-width: 768px) {
  .thumbnail.is-low-count .slick-track {
    display: flex !important;
    justify-content: center !important;
    /* 動かない原因だった transform: none は削除しました */
    width: 100% !important;
  }

  .thumbnail.is-low-count .slick-slide {
    /* 3枚以下の時、画像が巨大化しないように幅を固定 */
    max-width: 270px; 
  }
}

/* スマホでのチラ見せ時に画像が重ならないよう調整 */
@media screen and (max-width: 767px) {
  .thumbnail .slick-slide {
   /* padding: 0 10px;*/
  }
}