@charset "UTF-8";
/* =========================================================
project
========================================================= */
.p-project-mv--wrap {
  height: 50vh;
  overflow: hidden;
  position: relative;
}
@media screen and (min-width: 430px) {
  .p-project-mv--wrap {
    height: 70vh;
  }
}
@media screen and (min-width: 620px) {
  .p-project-mv--wrap {
    height: 75vh;
  }
}
.p-project-mv picture img {
  display: block;
  object-fit: cover;
  height: 100%;
  width: 100%;
  max-width: none;
}
.p-project-mv_title {
  color: #fff;
  display: flex;
  align-items: center;
  font-size: calc(50 * (100vw / 430));
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
  padding: 0 5vw;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
@media screen and (min-width: 430px) {
  .p-project-mv_title {
    font-size: calc(70 * (100vw / 620));
  }
}
@media screen and (min-width: 620px) {
  .p-project-mv_title {
    font-size: calc(80 * (100vw / 768));
  }
}
@media screen and (min-width: 768px) {
  .p-project-mv_title {
    font-size: calc(80 * (100vw / 992));
  }
}
@media screen and (min-width: 992px) {
  .p-project-mv_title {
    font-size: 80px;
  }
}
.p-project-mv_title .reduce {
  display: block;
  font-size: 30%;
}
@media screen and (min-width: 992px) {
  .p-project-mv_title .reduce {
    font-size: 20%;
    letter-spacing: .5rem;
  }
}
@media screen and (min-width: 1200px) {
  .p-project-mv_title .reduce {
    font-size: 30%;
  }
}
.p-project-list {
  background-color: #fafafa;
}
.p-project-list--wrap {
  padding: 60px 3%;
}
@media screen and (min-width: 768px) {
  .p-project-list--wrap {
    padding: 100px 5%;
  }
}
.p-project-list_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(28 * (100vw / 430));
  font-weight: bold;
  text-align: center;
  position: relative;
}
@media screen and (min-width: 430px) {
  .p-project-list_title {
    font-size: calc(28 * (100vw / 620));
  }
}
@media screen and (min-width: 620px) {
  .p-project-list_title {
    font-size: calc(34 * (100vw / 768));
  }
}
@media screen and (min-width: 768px) {
  .p-project-list_title {
    font-size: calc(34 * (100vw / 992));
  }
}
@media screen and (min-width: 992px) {
  .p-project-list_title {
    font-size: 34px;
  }
}
.p-project-list_title::after {
  background-color: #223f88;
  content: '';
  display: block;
  height: 3px;
  width: 40px;
  margin: 10px 0 0;
}
.p-project-list_title .reduce {
  display: block;
  font-size: 30%;
  letter-spacing: 0.5rem;
}
.p-project-list_text {
  font-size: clamp(13px, 1.61vw, 18px);
  line-height: 2;
  margin: 35px auto 0;
  max-width: 1200px;
  text-align: center;
  width: 90%;
}
@media screen and (min-width: 992px) {
  .p-project-list_text {
    font-size: 18px;
    text-align: center;
  }
}
.p-project-list_items {
  display: flex;
  flex-wrap: wrap;
  margin: 55px auto 0;
  max-width: 1300px;
}
.p-project-list_items > li {
  padding: 5px;
  width: calc(100% / 3);
  scroll-margin-top: 96px;
}
@media screen and (min-width: 768px) {
  .p-project-list_items > li {
    padding: 10px;
    width: 25%;
  }
}
.p-project-list_items > li figure {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: .4s;
}
.p-project-list_items > li figure:hover {
  opacity: .8;
}
.p-project-list_items > li figure .thumb {
  background-color: #fefefe;
  height: 120px;
  text-align: center;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-project-list_items > li figure .thumb {
    height: 250px;
  }
}
.p-project-list_items > li figure .thumb img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.p-project-list_items > li figure figcaption {
  font-size: clamp(13px, 1.61vw, 16px);
  line-height: 1.4;
  margin: 15px 0 0;
  text-align: center;
}
@media screen and (min-width: 992px) {
  .p-project-list_items > li figure figcaption {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
  }
}
.p-project-list_items > li figure figcaption .name {
  color: #223f88;
  font-weight: bold;
}
.p-project-list_items > li figure figcaption .date {
  color: #777;
  font-size: 90%;
}
.p-project-other {
  background-color: #01A7EA;
}
.p-project-other--wrap {
  margin: auto;
  max-width: 1400px;
  padding: 60px 3%;
  width: 96%;
}
@media screen and (min-width: 768px) {
  .p-project-other--wrap {
    padding: 100px 5%;
  }
}
.p-project-other .title {
  color: #fff;
  font-size: calc(52 * (100vw / 430));
  line-height: 1.2;
}
@media screen and (min-width: 430px) {
  .p-project-other .title {
    font-size: calc(60 * (100vw / 620));
  }
}
@media screen and (min-width: 620px) {
  .p-project-other .title {
    font-size: calc(80 * (100vw / 768));
  }
}
@media screen and (min-width: 768px) {
  .p-project-other .title {
    font-size: calc(80 * (100vw / 992));
  }
}
@media screen and (min-width: 992px) {
  .p-project-other .title {
    font-size: 80px;
  }
}
.p-project-other .title .en {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
}
.p-project-other .title .reduce {
  color: #fff;
  display: block;
  font-size: 30%;
}
.p-project-other_list {
  border-top: 1px solid #fff;
  margin: 50px auto 0;
}
.p-project-other_list > li {
  border-bottom: 1px solid #fff;
  scroll-margin-top: 96px;
}
.p-project-other_list > li > label {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-size: clamp(14px, 1.61vw, 18px);
  padding: 20px 5px;
}
@media screen and (min-width: 992px) {
  .p-project-other_list > li > label {
    align-items: center;
    flex-direction: row;
    font-size: 18px;
    padding: 25px;
  }
}
.p-project-other_list > li .date {
  background-color: #fff;
  color: #01A7EA;
  border-radius: 50px;
  margin: 0 15px 0 0;
  max-width: 200px;
  padding: 5px 10px 2px;
  text-align: center;
}
@media screen and (min-width: 992px) {
  .p-project-other_list > li .date {
    max-width: none;
    width: 22%;
  }
}
.p-project-other_list > li .name {
  color: #fff;
  margin: 10px 0 0;
}
@media screen and (min-width: 992px) {
  .p-project-other_list > li .name {
    margin: 0;
  }
}
.p-project-other_btn {
  display: block;
  font-size: clamp(14px, 1.61vw, 18px);
  margin: 30px auto 0;
  width: 90%;
}
@media screen and (min-width: 768px) {
  .p-project-other_btn {
    font-size: 18px;
    margin: 50px auto 0;
  }
}
.p-project-other_btn span {
  border: 1px solid #fff;
  border-radius: 50px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  padding: 15px 25px;
  max-width: 360px;
  transition: .4s;
  text-align: center;
}
.p-project-other_btn span::before {
  content: '工事履歴をもっと見る';
}
.p-project-other_btn span::after {
  background-image: url(../images/common/icon_arrow02.svg);
  background-repeat: no-repeat;
  background-size: cover;
  content: '';
  display: block;
  height: 20px;
  width: 20px;
  margin: 0 0 0 15px;
  transform: rotate(90deg);
}
@media screen and (min-width: 620px) {
  .p-project-other_btn span::after {
    height: 25px;
    width: 25px;
  }
}
.p-project-other_btn span:hover {
  background-color: rgba(255, 255, 255, 0.5);
}
.p-project-other_toggle + .p-project-other_list {
  border-top: none;
  max-height: 0;
  visibility: hidden;
  opacity: 0;
  margin: auto;
}
.p-project-other_toggle:checked + .p-project-other_list {
  border-top: none;
  max-height: 999vh;
  visibility: visible;
  opacity: 1;
  margin: auto;
}
.p-project-modal_body {
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  transition: .4s;
}
.p-project-modal_overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.p-project-modal_content {
  background-color: #fff;
  border-radius: 5px;
  height: 90%;
  width: 90vw;
  overflow: auto;
  padding: 3vw 2vw;
  position: fixed;
  left: 5vw;
  bottom: 5%;
}
@media screen and (min-width: 992px) {
  .p-project-modal_content {
    width: 80vw;
    left: 10vw;
  }
}
.p-project-modal_content .name {
  background: #01A7EA;
  color: #fff;
  font-size: clamp(16px, 2.01vw, 20px);
  font-weight: bold;
  text-align: center;
  padding: 10px 30px 6px;
  width: 100%;
}
@media screen and (min-width: 992px) {
  .p-project-modal_content .name {
    font-size: 20px;
  }
}
.p-project-modal_content .images {
  display: flex;
  flex-wrap: wrap;
}
.p-project-modal_content .images > li {
  padding: 10px;
  width: 50%;
}
@media screen and (min-width: 992px) {
  .p-project-modal_content .images > li {
    padding: 15px;
    width: 25%;
  }
}
.p-project-modal_content .images > li img {
  border-radius: 5px;
}
.p-project-modal_content .caption {
  font-size: clamp(13px, 1.61vw, 16px);
  margin: 15px 0 0;
}
@media screen and (min-width: 992px) {
  .p-project-modal_content .caption {
    font-size: 16px;
  }
}
.p-project-modal_content--close {
  background: #ffffff;
  box-shadow: 0px 1px 4px rgba(80, 80, 80, 0.4);
  border-radius: 50px;
  color: #2d424b;
  cursor: pointer;
  position: absolute;
  top: 1vh;
  right: 1vw;
  z-index: 1;
  font-size: 26px;
  height: 32px;
  width: 32px;
  text-align: center;
}
.p-project-modal_checkbox:checked + .p-project-modal_label + .p-project-modal_body {
  opacity: 1;
  visibility: visible;
  max-height: 999vh;
}
