/* ------------------------------------- */
/* lower-mv
/* ------------------------------------- */
.lower-mv-people {
  background: url(/img/people/bg-people.jpg) no-repeat center center/cover;
}

@media screen and (max-width: 600px) {
  .lower-mv-people {
    background: url(/img/people/sp/bg-people_sp.jpg) no-repeat center center/cover;
  }
}
/* ------------------------------------- */
/* people
/* ------------------------------------- */
.people {
  padding-bottom: 160px;
}
.people-bg::before {
  top: 150px;
  height: 1030px;
}
.people-inner {
  max-width: 1000px;
}
.people-list {
  display: flex;
  flex-wrap: wrap;
}
.people-item {
  width: calc(33.33% - 13.3333333333px);
  cursor: pointer;
}
.people-item:not(:nth-of-type(3n + 1)) {
  margin-left: 20px;
}
.people-item:nth-of-type(n + 4) {
  margin-top: 60px;
}
.people-item figure {
  position: relative;
}
.people-item figure figcaption {
  position: absolute;
  bottom: 25px;
  left: 24px;
}
.people-item figure figcaption .info {
  color: #fff;
  font-size: 1rem;
}
.people-item figure figcaption .name {
  margin-top: 13px;
  color: #fff;
  font-size: 2.4rem;
}
.people-item:hover .people-overlay {
  opacity: 1;
  transition: 0.3s;
}
.people-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(51, 51, 51, 0.75);
  opacity: 0;
  transition: 0.3s;
}
.people-overlay-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  font-size: 2.2rem;
  line-height: 2;
  text-align: center;
}
.people .modal {
  display: none;
  z-index: 31;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 78vw;
  max-width:1000px;
  height: 90vh;
  transform: translate(-50%, -50%);
  background-color: #fff;
}
.people .modal::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
.people .modal::-webkit-scrollbar-track {
  background: #fff;
}
.people .modal::-webkit-scrollbar-thumb {
  background: #333;
}
.people .modal-wrapper {
  display: flex;
  height: 100%;
}
.people .modal-wrapper figure {
  width: 50%;
  height: 100%;
}
.people .modal-wrapper figure img {
  height: 100%;
  object-fit: cover;
}
.people .modal-contents {
  width: 50%;
  padding: 95px 67px 0;
  overflow-y: scroll;
}
.people .modal-contents::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
.people .modal-contents::-webkit-scrollbar-track {
  background: #fff;
}
.people .modal-contents::-webkit-scrollbar-thumb {
  background: #333;
}
.people .modal-box {
  padding-bottom: 70px;
}
.people .modal-box:nth-child(2) {
  padding-top: 70px;
  border-top: solid 1px #333;
}
.people .modal-box-title {
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.5;
}
.people .modal-box-title span {
  display: block;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 1rem;
}
.people .modal-box-text {
  margin-top: 35px;
  font-size: 1.2rem;
  line-height: 2;
}
.people .modal-overlay {
  display: none;
  z-index: 30;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.6;
}
.people .modal .button-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

@media screen and (max-width: 600px) {
  .people {
    padding-bottom: 0;
  }
  .people .section-bg.people {
    padding-bottom: 100px;
  }
  .people .section-bg.people::before {
    top: 300px;
    height: 86.8%;
  }
  .people-inner {
    max-width: 100%;
  }
  .people-list {
    display: block;
  }
  .people-item {
    width: 100%;
  }
  .people-item:not(:nth-of-type(3n + 1)) {
    margin-left: 0;
  }
  .people-item:nth-of-type(n + 4) {
    margin-top: 0;
  }
  .people-item:not(:first-of-type) {
    margin-top: 50px;
  }
  .people .modal {
    width: 90%;
    height: 90%;
  }
  .people .modal-wrapper {
    display: block;
    height: 100%;
    overflow-y: scroll;
  }
  .people .modal-wrapper figure {
    width: 100%;
  }
  .people .modal-contents {
    width: 100%;
    padding: 52px 5% 110px;
    overflow-y: scroll;
  }
  .people .modal-box {
    padding-bottom: 50px;
  }
  .people .modal-box-title {
    font-size: 2rem;
  }
  .people .modal-box-text {
    margin-top: 30px;
  }
  .people .modal-box:nth-child(2) {
    padding-top: 50px;
  }
  .people .modal .button-close {
    position: fixed;
  }
}