/* 施工事例投稿
=========================================================================
=========================================================================*/
/* ページタイトル
-----------------------------------------------------------*/
.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;
}

/* 事例投稿内容
-----------------------------------------------------------*/
.works_post {
  padding: 60px 0 80px;
}

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

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

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

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

/* 投稿タイトル */
.works_post .post_title {
  margin-bottom: 45px;
}

.works_post .post_title .cat {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 10px;
  margin-bottom: 30px;
}

.works_post .post_title .cat span {
  padding: 10px 20px 7px;
  color: #FFF;
  font-size: 15px;
  line-height: 1em;
  background-color: #148571;
  border-radius: 50px;
}

.works_post .post_title h2 {
  font-weight: 600;
  font-size: 40px;
}

/* BEFORE / AFTER */
.works_post .before_after {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 70px;
}

.works_post .before_after figure.photo {
  width: calc(520 / 1100 * 100%);
}

.works_post .before_after figure.photo img {
  display: block;
}

.works_post .before_after figure.photo figcaption {
  padding: 10px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 30px;
  text-align: center;
  color: #FFF;
  background-image: linear-gradient(-45deg, #138473, #44AD31);
}

/* コメント */
.works_post .comment {
  margin: 0 auto 70px;
  max-width: 1000px;
}

/* お問い合わせ/お見積もり依頼 */
.works_post .inquiry {
  margin-bottom: 80px;
  padding: 30px 0 35px;
  color: #FFF;
  text-align: center;
  background-color: #60B49F;
}

.works_post .inquiry h3 {
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 22px;
}

.works_post .inquiry ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 calc(90 / 1100 * 100%);
}

.works_post .inquiry a.button_form,
.works_post .inquiry a.button_tel {
  position: relative;
  display: block;
  width: 387px;
  height: 70px;
  font-weight: 600;
  font-size: 20px;
  line-height: 70px;
  text-align: center;
  border: 1px solid #FFF;
  z-index: 2;
  transition: 0.3s;
}

.works_post .inquiry a.button_tel {
  font-size: 31px;
}

.works_post .inquiry a.button_tel span {
  padding-left: 36px;
  background: url(../images/common/footer_icon_tel.svg) left center no-repeat;
  background-size: 28px auto;
}

@media(hover: hover) {
  .works_post .inquiry a.button_form:hover,
  .works_post .inquiry a.button_tel:hover {
    color: #148571;
  }

  .works_post .inquiry a.button_tel:hover span {
    background: url(../images/common/footer_icon_tel_on.svg) left center no-repeat;
    background-size: 28px auto;
  }
}

.works_post .inquiry a.button_form::after,
.works_post .inquiry a.button_tel::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #FFF;
  transform: scale(0, 1);
  transform-origin: left;
  z-index: -1;
  transition: 0.6s;
}

@media(hover: hover) {

  .works_post .inquiry a.button_form:hover::after,
  .works_post .inquiry a.button_tel:hover::after {
    transform: scale(1, 1);
  }
}

.works_post .inquiry a.button_form .arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto 0;
  display: inline-block;
  width: 25px;
  height: 1px;
  border-radius: 9999px;
  background-color: #FFF;
  transition: 0.6s;
}

.works_post .inquiry a.button_form .arrow::before {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 7px;
  height: 1px;
  border-radius: 9999px;
  background-color: #FFF;
  transform: rotate(45deg);
  transform-origin: calc(100% - 0.5px) 50%;
  transition: 0.6s;
}

@media(hover: hover) {

  .works_post .inquiry a.button_form:hover .arrow {
    right: 10px;
    background-color: #148571;
  }

        .works_post .inquiry a.button_form:hover .arrow::before {
    background-color: #148571;
  }
}

/* 前の記事・次の記事 */
.works_post nav.navigation .nav-links {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.works_post nav.navigation .nav-previous,
.works_post nav.navigation .nav-next {
  position: absolute;
  top: 0;
  width: calc(230 / 1100 * 100%);
}

.works_post nav.navigation .nav-previous {
  left: 0;
}

.works_post nav.navigation .nav-next {
  right: 0;
}

.works_post nav.navigation .nav-index {
  margin: 0 auto;
}

.works_post nav.navigation .nav-previous::before,
.works_post nav.navigation .nav-next::before {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 7px;
  height: 1px;
  border-radius: 9999px;
  background-color: #302D2C;
  transform: rotate(45deg);
  transform-origin: calc(100% - 0.5px) 50%;
  transition: 0.6s;
}

.works_post nav.navigation .nav-previous::before {
  right: auto;
  left: 0;
  transform: rotate(-45deg);
  transform-origin: calc(50% - 3px) 50%;
}

.works_post nav.navigation .nav-previous::after,
.works_post nav.navigation .nav-next::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto 0;
  display: inline-block;
  width: 25px;
  height: 1px;
  border-radius: 9999px;
  background-color: #302D2C;
  transition: 0.6s;
}

.works_post nav.navigation .nav-previous::after {
  right: auto;
  left: 0;
}

.works_post nav.navigation a {
  position: relative;
  display: block;
}

.works_post nav.navigation .nav-previous a {
  padding-left: 35px;
}

.works_post nav.navigation .nav-index a {
  padding: 0 1em;
}

.works_post nav.navigation .nav-next a {
  padding-right: 35px;
  text-align: right;
}

.works_post nav.navigation a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background-color: #302D2C;
  transform: scale(1, 1);
  transform-origin: left;
  transition: 0.6s;
}

.works_post nav.navigation .nav-index a::before {
  transform-origin: center;
}

.works_post nav.navigation .nav-next a::before {
  transform-origin: right;
}

@media(hover: hover) {
  .works_post nav.navigation a:hover::before {
    transform: scale(0, 1);
  }
}

/* 関連事例
-----------------------------------------------------------*/
.related {
  padding: 50px 0;
  background-color: #F7F7F8;
}

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

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

.related h3 {
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
  font-weight: 600;
  font-size: 30px;
}

.related h3 span:first-child {
  position: relative;
  margin-right: 20px;
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  color: #148571;
}

.related h3 span:first-child::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #148571;
}

.related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px calc(55 / 1100 * 100%);
}

.related ul li {
  width: calc(330 / 1100 * 100%);
}

.related ul li picture {
  overflow: hidden;
  margin-bottom: 15px;
}

.related ul li picture img {
  transition: 0.6s;
}

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

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

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

.related ul li h4 {
  font-weight: 600;
  font-size: 20px;
}

.related ul li h4 span {
  position: relative;
  padding-right: 42px;
}

.related ul li h4 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) {
  .related ul li:hover h4 span::after {
    right: -5px;
  }
}

/*  スマホ（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%);
  }

  /* 事例投稿内容
  -----------------------------------------------------------*/
  .works_post {
    padding: 30px 0 50px;
  }

  /* 投稿タイトル */
  .works_post .post_title {
    margin-bottom: 30px;
  }

  .works_post .post_title .cat {
    margin-bottom: 20px;
  }

  .works_post .post_title .cat span {
    font-size: 14px;
  }

  .works_post .post_title h2 {
    font-size: 28px;
  }

  /* BEFORE / AFTER */
  .works_post .before_after {
    gap: 25px 0;
    margin-bottom: 35px;
  }

  .works_post .before_after figure.photo {
    width: 100%;
  }

  .works_post .before_after figure.photo figcaption {
    padding: 5px;
    font-size: 20px;
  }

  /* コメント */
  .works_post .comment {
    margin: 0 auto 35px;
  }

  /* お問い合わせ/お見積もり依頼 */
  .works_post .inquiry {
    margin-bottom: 40px;
    padding: 30px 20px;
  }

  .works_post .inquiry h3 {
    margin-bottom: 25px;
    font-size: 18px;
  }

  .works_post .inquiry ul {
    gap: 25px 0;
  }

  .works_post .inquiry ul li {
    width: 100%;
  }

  .works_post .inquiry a.button_form,
  .works_post .inquiry a.button_tel {
    width: 100%;
    height: 63px;
    font-size: 18px;
    line-height: 63px;
  }

  .works_post .inquiry a.button_tel {
    font-size: 25px;
  }

  /* 前の記事・次の記事 */
  .works_post nav.navigation .nav-links {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .works_post nav.navigation .nav-previous,
  .works_post nav.navigation .nav-next {
    position: absolute;
    top: 0;
    width: calc(100 / 350 * 100%);
  }


  .works_post nav.navigation .nav-index {
    margin: 0 auto;
  }

  /* 関連事例
  -----------------------------------------------------------*/
  .related {
    padding: 40px 0;
  }

  .related h3 {
    margin-bottom: 30px;
    font-size: 25px;
  }

  .related h3 span:first-child {
    margin-right: 10px;
    font-size: 18px;
  }

  .related ul {
    gap: 30px 0;
  }

  .related ul li {
    width: 100%;
  }

  .related ul li a {
    display: flex;
    flex-wrap: wrap;
    gap: 0 calc(10 / 350 * 100%);
    width: 100%;
  }

  .related ul li picture {
    width: calc(120 / 350 * 100%);
    margin-bottom: 0;
  }

  .related ul li .info {
    width: calc(220 / 350 * 100%);
    margin-bottom: 0;
  }

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

  .related ul li h4 {
    font-size: 18px;
  }

  .related ul li h4 span {
    padding-right: 37px;
  }

}

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


}
