/* =========================================================
PROJECTS
========================================================= */
.p-projects-mv-wrap {
  height: 50vh;
  overflow: hidden;
  position: relative;
}
@media screen and (min-width: 430px) {
  .p-projects-mv-wrap {
    height: 70vh;
  }
}
@media screen and (min-width: 620px) {
  .p-projects-mv-wrap {
    height: 75vh;
  }
}
.p-projects-mv picture img {
  display: block;
  object-fit: cover;
  height: 100%;
  width: 100%;
  max-width: none;
}

.p-projects-mv_ttl {
  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-projects-mv_ttl {
    font-size: calc(50 * (100vw / 620));
  }
}

@media screen and (min-width: 620px) {
  .p-projects-mv_ttl {
    font-size: calc(60 * (100vw / 768));
  }
}

@media screen and (min-width: 768px) {
  .p-projects-mv_ttl {
    font-size: calc(60 * (100vw / 992));
  }
}

@media screen and (min-width: 992px) {
  .p-projects-mv_ttl {
    font-size: 60px;
  }
}

.p-projects-mv_ttl .reduce {
  display: block;
  font-size: 30%;
}

@media screen and (min-width: 992px) {
  .p-projects-mv_ttl .reduce {
    font-size: 20%;
    letter-spacing: .5rem;
  }
}

@media screen and (min-width: 1200px) {
  .p-projects-mv_ttl .reduce {
    font-size: 30%;
  }
}

.p-projects-wrap {
  width: 100%;
}

.p-projects-cont {
  width: 94%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.p-projects-ttl {
}

.p-projects-h2 {
  text-align: center;
  padding: 2% 0 6%;
}

.p-projects-h2 .en-large {
  color: #012E6E;
  display: block;
  font-size: clamp(50px, 12.5vw, 120px);
  font-weight: bold;
  opacity: .1;
}

.p-projects-h2 .en-small {
  color: #012E6E;
  display: block;
  font-size: clamp(12px, 2.1vw, 16px);
  font-weight: bold;
}

.p-projects-h2 .ja {
  display: block;
  font-size: clamp(20px, 3.2vw, 30px);
  font-weight: bold;
}

.p-projects-cont_box {
}

.p-projects-cont_box:not(:last-child) {
  margin-bottom: 0;
}

.p-projects-cont_box:last-child {
  margin-bottom: 6%;
}

.p-projects-cont_h3 {
  border-left: 5px solid #0047ab;
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: bold;
  line-height: 1;
  margin: 0 0 5% 0;
  padding-left: 1em;
}

.p-projects-cont_list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-start;
  gap: 5%;
  width: 100%;
}

.p-projects-cont_item {
  width: 30%;
  margin: 0 0 5% 0;
}

.p-projects-cont_card {
  border-radius: 6px;
  box-shadow: 2px 2px 4px gray;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3%;
}

.p-projects-cont_card figure {
}

.p-projects-cont_card figure img {
  border-radius: 2%;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin: 0 0 3% 0;
}

.p-projects-cont_card figure figcaption{
  font-size: clamp(14px, 1.7vw, 16px);
  font-weight: bold;
}


@media screen and (max-width: 768px) {	
  .p-projects-wrap {
  }

  .p-projects-cont {
  }

  .p-projects-ttlbox {
  }

  .p-projects-h2 {
    padding: 3% 0 9%;
  }

  .p-projects-h2 .en-large {
  }

  .p-projects-h2 .en-small {
  }

  .p-projects-h2 .ja {
  }

  .p-projects-cont_box {
  }

  .p-projects-cont_box:not(:last-child) {
    margin-bottom: 6%;
  }

  .p-projects-cont_box:last-child {
    margin-bottom: 9%;
  }

  .p-projects-cont_h3 {
    margin: 0 0 5% 0;
  }

  .p-projects-cont_list {
    gap: 8%;
  }

  .p-projects-cont_item {
    width: 46%;
    margin: 0 0 5% 0;
  }

  .p-projects-cont_card {
    padding: 2%;
  }

  .p-projects-cont_card figure {
  }

  .p-projects-cont_card figure img {
    border-radius: 2%;
    margin: 0 0 2% 0;
  }

  .p-projects-cont_card figure figcaption{
  }
}


@media screen and (max-width: 430px) {
  .p-projects-cont_list {
    gap: 0;
  }

  .p-projects-cont_item {
    width: 100%;
    margin: 0 0 5% 0;
  }
}