/* 使用カラー */
:root {
  --black: #3C3C3C;
  --dark-gray: #7C7C7C;
  --light-gray: #D8D8D8;
  --off-white: #FFFFFF;
  --light-green: #D3E3D8;
  --green: #72A37F;
  --light-blue: #D4E0EB;
  --blue: #4978b9;
  --light-pink: #F4E1DB;
  --pink: #D17379;
  --light-brown: #EAE2D0;
  --brown: #988775;
}

body {
  background-color: var(--light-blue);
  color: var(--black);
  font-family: var(--NotoSans);
}

.header .logo-svg{
  fill: #3c3c3c;
  /* filter: drop-shadow(1px 1px 1px #ffffff12); */
}

.logo_wrap{
  color: #3c3c3c;
}


.fixed_area {
  padding: min(22.3rem, 223px) 4.2rem min(7.4rem, 74px) 10rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.container {
  padding: 15.9rem 6rem 13.6rem;
}

.page_title {
  font-size: 2rem;
  font-weight: 500;
  padding: 0 1rem;
  /* margin-bottom: 16.3rem; */
  letter-spacing: 0.02em;
}

.page_title:before {
  content: attr(data-title);
  font-size: 5rem;
  font-family: var(--Jost);
  font-weight: 500;
  margin-bottom: 1.7rem;
  display: block;
  margin-left: -1rem;
  letter-spacing: 0.05em;
}

.page_title::after {
  content: '';
  height: 2rem;
  background-color: var(--off-white);
  width: 18.9rem;
  display: block;
  margin-left: -1rem;
  margin-top: -1.3rem;
  border-radius: 0.5rem;
}

.works_post_wrap {
  margin-bottom: 1.9rem;
}

.works_article {
  display: block;
  width: 27.5rem;
  position: relative;
  padding-left: 0.8rem;
  color: var(--black);
  margin-bottom: 5rem;
}

.works_article_inner {
  padding: 0.8rem 0.8rem 1rem;
  background-color: var(--off-white);
}

.pattern1 .works_article_inner {
  border-radius: 0 0 5rem 5rem;
}

.pattern2 .works_article_inner {
  border-radius: 0 5rem 5rem 0;
}

.pattern3 .works_article_inner {
  border-radius: 0 5rem 0 5rem;
}

.thumbnail_multiple .works_article_inner{
  border-radius: 0 5rem 0 5rem;
}

/* .thumbnail_multiple::after{
  position: absolute;
} */



.article_image_wrap {
  margin-bottom: 1.52rem;
  overflow: hidden;
  line-height: 0;
}

.pattern1 .article_image {
  border-radius: 0 0 5rem 5rem;
}

.pattern2 .article_image {
  border-radius: 0 5rem 5rem 0;
}

.pattern3 .article_image {
  border-radius: 0 5rem 0 5rem;
}

.thumbnail_multiple .article_image:first-child {
  border-radius: 0 5rem 0 0!important;
  height: 22rem;
  margin-bottom: 0.7rem;
}

.thumbnail_multiple .article_image:last-child {
  border-radius: 0 0 0 5rem;
  height: 28.4rem;
}

.article_image {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
}

.article_title {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 2.82rem;
  letter-spacing: 0.02em;
  line-height: calc(30 / 16);
  padding: 0 4rem 0 1rem;
}


.works_category {
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  padding: 0.5rem 10px 0.7rem;
  margin: 0 0 0 -0.8rem;
  width: calc(12.9rem + 0.8rem);
  font-size: 1.3rem;
  color: white;
  background: var(--blue);
  position: absolute;
  top: 2.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1;
  clip-path: polygon(100% 0, calc(100% - 1.2rem) 100%, 16% 100%, 0% 150%, 0 0);
}

.works_category:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 0.5rem transparent;
  border-right: solid 0.8rem #0C2941;
  /* z-index: -1; */
}

.decoration {
  text-align: right;
  color: var(--blue);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.decoration::before {
  content: 'Our house Plans! ';
  font-size: 1.2rem;
  font-weight: 500;
  margin-right: 0.7rem;
}

.decoration::after {
  content: '';
  background-image: url(../img/WORKS/icon_book.png);
  width: 2rem;
  height: 2.3rem;
  display: inline-block;
  background-size: contain;
}

.category_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* grid-template-rows: repeat(2, 1fr); */
  grid-column-gap: 20px;
  grid-row-gap: 25px;
  padding-left: 5.2rem;
  /* margin-right: 0rem; */
  max-height: 23.5rem;
  overflow-y: scroll;
  overflow-x: hidden;
  padding-right: 1rem;
}
.category_list::-webkit-scrollbar-track{
  /* background-color: #ccc; */
  scrollbar-color: var(--blue) #ccc;
}
.category_list::-webkit-scrollbar-thumb{
  box-shadow: inset 0 0 6px var(--blue);
  border-radius:10rem;
  background: var(--blue);
}
.category_list::-webkit-scrollbar{
  width: 0.5rem;
}
.cat-item:first-child {
  grid-column: 1 / 3;
  /* margin-right: 2rem; */
}

.cat-item>a {
  background-color: var(--off-white);
  font-weight: 500;
  font-size: 1.5rem;
  display: block;
  padding: 0.9rem 2.1rem;
  color: var(--black);
  width: 17.4rem;
  border-radius: 5rem;
}

.cat-item.current-cat>a {
  color: var(--off-white);
  background-color: var(--blue);
}

.circle_btn_wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 4.4rem;
  gap: 8rem;
}

.circle_btn {
  background-color: var(--off-white);
  display: flex;
  color: var(--black);
  font-weight: 900;
  border-radius: 100%;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 13rem;
  height: 13rem;
  justify-content: center;
  font-family: var(--NotoSans);
  font-size: 1.5rem;
  line-height: calc(21 / 15);
}

.circle_btn .arrow-svg {
  margin-bottom: 0.3rem;
}

@media screen and (max-width: 699.98px) {
  .fixed_area {
    padding: 12.3rem 2rem 9.74rem;
    height: auto;
  }

  .page_title {
    margin-bottom: 8.89rem;
    font-size: 1.4rem;
    margin-left: 1.7rem;
    padding: 0 0.7rem;
  }

  .page_title:before {
    font-size: 3.7rem;
  }

  .page_title::after {
    width: 12.6rem;
    height: 1.8rem;
    margin-left: -0.7rem;
  }

  .category_list {
    padding-left: 0;
  }

  .cat-item>a {
    width: 15rem;
    font-size: 1.4rem;
  }

  .container {
    padding: 0 2rem 6.5rem;
  }

  .works_article {
    width: 16.4rem;
    margin-bottom: 2.76rem;
    padding-left: 0.4rem;
  }

  .works_article_inner {
    padding: 0.5rem 0.5rem 0.6rem;
  }

  .pattern1 .works_article_inner {
    border-radius: 0 0 3rem 3rem;
  }

  .pattern2 .works_article_inner {
    border-radius: 0 3rem 3rem 0;
  }

  .pattern3 .works_article_inner {
    border-radius: 0 3rem 0 3rem;
  }

  .thumbnail_multiple .works_article_inner{
    border-radius: 0 3rem 0 3rem;
  }

  .pattern1 .article_image {
    border-radius: 0 0 3rem 3rem;
  }

  .pattern2 .article_image {
    border-radius: 0 3rem 3rem 0;
  }

  .pattern3 .article_image {
    border-radius: 0 3rem 0 3rem;
  }

  .thumbnail_multiple .article_image:first-child {
    border-radius: 0 3rem 0 0!important;
    height: 12.4rem;
    margin-bottom: 0.7rem;
  }

  .thumbnail_multiple .article_image:last-child {
    border-radius: 0 0 0 3rem;
    height: 16rem;
  }

  .article_title {
    font-size: 1.1rem;
    padding: 0 1.35rem 0.52rem;
  }

  .works_category {
    font-size: 1.1rem;
    top: 1.33rem;
    width: 9rem;
    margin: 0 0 0 -0.4rem;
  }

  .works_category:before {
    border-bottom: solid 0.28rem transparent;
    border-right: solid 0.4rem #0C2941;
  }

  .decoration::before {
    font-size: 1rem;
  }

  .decoration::after {
    width: 1.2rem;
    height: 1.2rem;
  }

  .circle_btn_wrap {
    /* justify-content: space-between; */
    margin-bottom: 6.4rem;
    gap: 6.2rem;
  }

  .pagination {
    /* width: 3rem;
    height: 3rem; */
  }
}
/*----------------------------------------
	和歌山店 追加CSS
----------------------------------------*/
body{
  background: #C0D7EB;
}
.fixed_area{
  background: #C0D7EB;
  background: linear-gradient(90deg, rgba(192, 215, 235, 1) 0%, rgba(255, 255, 255, 1) 100%);
}
.category_list{
  gap: 2rem;
}
.cat-item>a{
  border-radius: 1rem;
}
.cat-item.current-cat>a{
  background: var(--dark-blue);
}
.works_category{
  background: var(--dark-blue);
}
.circle_btn{
  gap: .8rem;
  color: #fff;
  background: var(--dark-blue);
}
.circle_btn .arrow-svg{
  stroke: #fff;
}