@charset "UTF-8";
/* 施工事例  */
body {
  /* ローカルコーディング後に消す  */
}
.works-bfaf {
  -ms-flex-wrap: wrap;
  gap: 5em 8%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 3em;
}

.works-bfaf__item-title {
  font-size: 1.2em;
  font-weight: bold;
}

.works-bfaf__item {
  width: 46%;
}
.works-bfaf__item + .works-bfaf__item {
  z-index: 0;
  position: relative;
}
.works-bfaf__item + .works-bfaf__item::after {
  -webkit-transform: translate(0, -50%);
  display: block;
  display: inline-block;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: -11%;
  width: 0;
  height: 0;
  transform: translate(0, -50%);
  border-width: 1.125em 0 1.125em 1.875em;
  border-style: solid;
  border-color: transparent transparent transparent #000;
  content: "";
}

.works-category-wrap {
  margin-top: 5em;
  font-family: serif;
}

.works-category-list {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  gap: 0.7em 2.5em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
}

.works-category-list__item {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 13.75em;
  height: 3.125em;
  border: 1px solid #000000;
  background-image: url(../../images/bg_tribal.png);
}
.works-category-list__item[aria-current=true] {
  background-color: #e5decc;
  background-image: none;
}

.works-category__link {
  font-size: 1.125em;
}
a.works-category__link {
  color: #000000;
  text-decoration: none;
}

.works-gallery-wrap {
  -ms-flex-wrap: wrap;
  position: relative;
  flex-wrap: wrap;
  width: 57.8125em;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.works-single__gallery-thumbnail-item {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 17.5em;
  height: 13.125em;
  margin-top: 1.5625em;
  border: 3px solid #fff;
}
.works-single__gallery-thumbnail-item:not(:nth-of-type(3n)) {
  margin-right: 2.65625em;
}
.works-single__gallery-thumbnail-item.active {
  border: 3px solid #000;
}
.works-single__gallery-thumbnail-item img {
  -o-object-fit: cover;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works-single__gallery-item {
  -webkit-transition: 0.4s;
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: 0.4s;
}

.works-single__gallery-item.active {
  z-index: 2;
  opacity: 1;
}

.works-single__gallery-item {
  text-align: center;
}
.works-single__gallery-item img {
  margin-right: auto;
  margin-left: auto;
}

.before-gallery {
  -ms-flex-wrap: wrap;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.875em;
}

.before-gallery__item {
  width: 23%;
  margin: 1.25em 1% 0;
}
.before-gallery__item .u-imgFrame--Vertical {
  padding-bottom: 85%;
  background-color: #ececec;
}

.comment-box {
  width: 71.875em;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-bottom: 1.25em;
  border: 3px solid #000000;
  font-family: "Noto Sans JP", sans-serif;
}

.comment-title {
  padding: 0.5em;
  border: 3px solid #fff;
  background-image: url(../../images/bg_gray_transparent.png);
  font-size: 1.25em;
  font-weight: bold;
  text-align: center;
}

.comment-cnt {
  min-height: 18.4375em;
  padding: 2.5em 3.125em;
  padding-top: EM(50);
  border-top: 3px solid #000;
  background-image: url(../../images/text_bg_logo.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 15.90625em 18.34375em;
}

.comment-text {
  line-height: 2.5;
  text-align: left;
}

.info-box {
  width: 71.875em;
  max-width: 100%;
  margin-top: 2.8125em;
  margin-right: auto;
  margin-left: auto;
  padding-bottom: 2.8125em;
  border: 3px solid #000000;
  font-family: "Noto Sans JP", sans-serif;
}

.info-title {
  padding: 0.5em;
  border: 3px solid #fff;
  background-image: url(../../images/bg_gray_transparent.png);
  font-size: 1.25em;
  font-weight: bold;
  text-align: center;
}

.info-cnt {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -ms-flex-wrap: wrap;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-right: 1.25em;
  padding-left: 1.25em;
  border-top: 3px solid #000;
}
.info-cnt::after {
  width: 45%;
  content: "";
}

.works-info__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 45%;
  margin-top: 0.9375em;
}
.works-info__item:nth-of-type(odd) {
  margin-right: 2%;
}
.works-info__item dt, .works-info__item dd {
  padding: 0.5em 1em;
}
.works-info__item dt {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5em;
  margin-right: 0.25em;
  background-color: #000000;
  color: #fff;
  text-align: center;
}
.works-info__item dd {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  border: 1px solid #000;
}

/*page navi*/
.wp-pagenavi {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.wp-pagenavi a {
  margin-right: 1.5%;
  border: none;
}

.nextpostslink {
  border-radius: 4px;
  background-color: #231815;
}
a.nextpostslink {
  margin-right: 0;
  padding: 0.75em;
  color: #fff;
  font-family: serif;
  text-decoration: none;
}

.previouspostslink {
  border-radius: 4px;
  background-color: #231815;
}
a.previouspostslink {
  padding: 0.5em;
  color: #fff;
  text-decoration: none;
}

span.current {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.3125em;
  height: 3.3125em;
  margin-right: 2%;
  border: none;
  border-radius: 50%;
  background-color: #231815;
  color: #fff;
}

@media screen and (max-width: 1540px) {
  /* 施工事例
  */
}

@media screen and (max-width: 1024px) {
  /* 施工事例
  */
}

@media screen and (max-width: 768px) {
  /* 施工事例
  */
  .works-category-list__item {
    width: 22%;
  }
  .works-single__gallery-thumbnail-item {
    width: 15.75em;
  }
  .before-gallery__item {
    width: 31%;
  }
}

@media screen and (max-width: 480px) {
  /* 施工事例
  */
  .works-bfaf__item {
    width: 100%;
  }
  .works-bfaf__item + .works-bfaf__item::after {
    -webkit-transform: translate(-50%, -50%) rotate(90deg);
    top: -8%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .works-category-list {
    gap: 0.7em;
  }
  .works-category-list__item {
    width: 45%;
  }
  .works-single__gallery-thumbnail-item:not(:nth-of-type(3n)) {
    margin-right: 1.3125em;
  }
  .works-single__gallery-thumbnail-item {
    width: 8.71875em;
    height: 6.5625em;
  }
  .works-info__item:nth-of-type(odd) {
    margin-right: 0;
  }
  .works-info__item {
    display: block;
    width: 100%;
  }
  .works-info__item dt {
    margin-right: 0;
  }
}