/* 施工事例
=========================================================================
=========================================================================*/
/* ページタイトル
-----------------------------------------------------------*/
.page_title {
  margin-top: 90px;
  width: 100%;
}

.page_title h1 {
 position: relative;
  margin: 0 auto;
  padding: 35px 0;
  width: 100%;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.6em;
  text-align: center;
  color: #FFF;
  background-image: linear-gradient(-45deg, #138473, #44AD31);
}

.page_title h1 span.title_en {
  overflow: hidden;
  display: block;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  font-size: 30px;
  line-height: 1em;
}

.title_en span {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  white-space: pre;
}

.page_title h1::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: calc(500 / 1300 * 100%);
  height: 100%;
  background: url(../images/common/section_title_bg01.svg) top center no-repeat;
  background-size: contain;
}

.page_title h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(500 / 1300 * 100%);
  height: 100%;
  background: url(../images/common/section_title_bg02.svg) bottom center no-repeat;
  background-size: contain;
}

/* カテゴリ
-----------------------------------------------------------*/
.nav_cat {
  padding: 40px 0;
  background-color: #F6F6F6;
}

.nav_cat .inner {
  margin: 0 auto;
  max-width: 1100px;
}

@media screen and (max-width:1140px) {
  .nav_cat .inner {
    padding: 0 10px;
  }
}

.nav_cat ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 50px;
}

.nav_cat ul.parents {
  gap: 0 50px;
  margin-bottom: 30px;
}

.nav_cat ul.children {
  gap: 0 30px;
}

.nav_cat ul a {
  display: block;
  padding: .75em 1.5em;
  font-weight: 600;
  line-height: 1em;
  text-align: center;
  color: #FFF;
  background-color: #148571;
  border: 1px solid #148571;
  border-radius: 50px;
  transition: 0.3s;
}

.nav_cat ul.parents a {
  min-width: 200px;
  font-size: 18px;
}

.nav_cat ul.children a {
  min-width: 200px;
  font-size: 16px;
}

@media(hover: hover) {
  .nav_cat ul a:hover {
    color: #148571;
    background-color: #FFF;
  }
}

.nav_cat ul a.active {
  color: #148571;
  background-color: #FFF;
}

@media(hover: hover) {
  .nav_cat ul a.active:hover {
    color: #FFF;
    background-color: #148571;
  }
}

/*.nav_cat ul.children a.active {
  pointer-events: none;
}*/

/* 事例リスト
-----------------------------------------------------------*/
.works_list {
  padding: 60px 0 80px;
}

.works_list .inner {
  margin: 0 auto;
  max-width: 950px;
}

@media screen and (max-width:990px) {
  .works_list .inner {
    padding: 0 20px;
  }
}

.works_list ul li {
  margin-bottom: 40px;
}

.works_list ul li a {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 calc(60 /950 * 100%);
  border: 1px solid #E4E4E4;
}

.works_list ul li picture {
  overflow: hidden;
  width: calc(420 / 950 * 100%);
}

.works_list ul li picture img {
  object-fit: cover;
  aspect-ratio: 7 / 5;
  transition: 0.6s;
}

@media(hover: hover) {
  .works_list ul li a:hover picture img {
    transform: scale(1.05, 1.05);
    opacity: .7;
  }
}

.works_list ul li .text {
  width: calc(470 / 950 * 100%);
}

.works_list ul li .text .cat {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 10px;
  margin-bottom: 10px;
}

.works_list ul li .text .cat span {
  padding: 5px 15px;
  color: #FFF;
  font-size: 13px;
  line-height: 1em;
  background-color: #148571;
  border-radius: 50px;
}

.works_list ul li .text h3 {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 20px;
}

.works_list ul li .text h3 span {
  position: relative;
  padding-right: 42px;
}

.works_list ul li .text h3 span::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 27px;
  height: 100%;
  background: url(../images/index/works_icon_link.svg) no-repeat;
  background-size: contain;
  transition: 0.6s;
}

@media(hover: hover) {
  .works_list ul li a:hover h3 span::after {
    right: -5px;
  }
}


/* 現在、該当する施工事例はありません。 */
.works_list p.no_works {
  margin: 15vh 0;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
}

/* ページネーション */
.works_list .pagination {
  display: flex;
  width: fit-content;
  gap: 0 10px;
  margin: 0 auto;
  padding-top: 50px;
  text-align: center;
}

.works_list .pagination a {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  color: #FFF;
  border: 1px solid #148571;
  background-color: #148571;
  border-radius: 20px;
  transition: 0.6s;
}

.works_list .pagination span.current {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  color: #148571;
  border: 1px solid #148571;
  background-color: #FFF;
  border-radius: 20px;
  transition: 0.6s;
}

@media(hover: hover) {
  .works_list .pagination a:hover {
    color: #148571;
    background-color: #FFF;
  }
}

.works_list .pagination span.dots {
  color: #148571;
  background-color: #FFF;
}

/*  スマホ（767px以下）
=========================================================================
=========================================================================*/
@media screen and (max-width:767px) {
  /* ページタイトル
  -----------------------------------------------------------*/
  .page_title {
    margin-top: 0;
    width: 100%;
  }

  .page_title h1 {
    padding: 25px 0;
    font-size: 26px;
  }

  .page_title h1 span {
    font-size: 20px;
  }

  .page_title h1::before {
    width: calc(250 / 390 * 100%);
  }

  .page_title h1::after {
    width: calc(250 / 390 * 100%);
  }

  /* カテゴリ
  -----------------------------------------------------------*/
  .nav_cat {
    padding: 20px 0;
  }

  .nav_cat ul.parents {
    display: grid;
    grid-template-columns: repeat(3, auto);
    /* 3列 */
    justify-content: center;
    gap: 15px 15px;
    margin-bottom: 20px;
  }

  .nav_cat ul.parents li:first-child {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .nav_cat ul.parents a {
    padding: .5em 1.25em .4em;
    min-width: 145px;
    font-size: 16px;
  }

  .nav_cat ul.parents li:nth-child(n+2) a {
    padding: .5em 1em .4em;
    min-width: auto;
  }

  .nav_cat ul.children {
    gap: 15px 0;
  }

  .nav_cat ul.children li {
    width: 100%;
  }

  .nav_cat ul.children a {
    width: 100%;
    font-size: 14px;
  }

  /* 事例リスト
  -----------------------------------------------------------*/
  .works_list {
    padding: 50px 0 70px;
  }

  .works_list ul li {
    margin-bottom: 30px;
  }

  .works_list ul li a {
    gap: 0 calc(15 / 350 * 100%);
  }

  .works_list ul li picture {
    width: calc(140 / 350 * 100%);
  }

  .works_list ul li .text {
    width: calc(195 / 350 * 100%);
  }

  .works_list ul li .text .cat span {
    padding: 5px 10px 3px;
    font-size: 10px;
  }

  .works_list ul li .text h3 {
    margin-bottom: 5px;
    font-size: 18px;
  }

  /* 現在、該当する施工事例はありません。 */
  .works_list p.no_works {
    margin: 5vh 0;
    font-size: 16px;
  }

  /* ページネーション */
  .works_list .pagination {
    padding-top: 0;
  }

}

/*  スマホ（480px以下）
=========================================================================
=========================================================================*/
@media screen and (max-width:480px) {


}
