@charset "utf-8";

@media print, screen and (min-width: 781px) {
  .people-transportation .heading-tetsudo .image{
    background-image: url("../people_transportation/img/img_main.jpg")
  }
   .people-technology .heading-tetsudo .image{
    background-image: url("../people_technology/img/img_main.jpg")
  }
}
@media screen and (max-width: 780px) {
  .people-transportation .heading-tetsudo .image{
    background-image: url("../people_transportation/img/img_main_sp.jpg")
  }
  .people-technology .heading-tetsudo .image{
    background-image: url("../people_technology/img/img_main_sp.jpg")
  }
}




.people-list-wrap{
  background-color: #EDF7FF;
}

.people-item > a{
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  position: relative;
}
.people-item:nth-child(4n+1) > a,
.people-item:nth-child(4n+2) > a{
  flex-direction: row;
}
.people-item .image{
  margin-left: auto;
  margin-right: 0;
  width: 76.923%;
}
.people-item:nth-child(4n+1) .image,
.people-item:nth-child(4n+2) .image{
  margin-left: 0;
  margin-right: auto;
}
.people-item .image img{
  height: auto;
  width: 100%;
}
.people-item .category{
  background-color: #FFF;
  padding: 0 30px;
  position: absolute;
  left: 60px;
  bottom: 0;
  top: 130px;
}
.people-item:nth-child(4n+1) .category,
.people-item:nth-child(4n+2) .category{
  right: 60px;
  left: auto;
}
.people-item .category > p{
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  border-bottom: 1px solid #E8E8E8;
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 2.4rem;
  letter-spacing: .1em;
  text-align: center;
  padding: 0 40px;
  margin-bottom: 0;
  margin-top: 0;
  min-width: 128px;
  height: 357px;
}
.people-item .category > p > span{
  align-self: center;
  font-size: 1.8rem;
}
.people-item .category > div{
  align-self: flex-end;
  margin-top: 0;
  content: "MORE";
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  text-align: center;
  width: 100%;
}
.people-item .category > div > span{
  background: url("../../common/img/ic_arrow.svg") right center no-repeat;
  background-size: 8px auto;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  display: inline-block;
  padding-right: 20px;
}
.people-item .profile{
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  letter-spacing: .1em;
  align-self: flex-start;
  background-color: #DCEFFF;
  display: flex;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  padding: 15px 0;
  margin-top: 130px;
}
.people-item .profile > p{
  text-orientation: upright;
  padding: 0 10px;
  line-height: 1;
  white-space: nowrap;
}
.people-item .profile > p:first-child{
  border-bottom: 1px solid #333333;
  padding-bottom: 15px;
}
.people-item .profile > p:last-child{
  padding-top: 15px;
}

@media print, screen and (min-width: 781px) {
  .people-list-wrap{
    padding-top: 50px;
  }
  .people-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1088px;
  }
  .people-item{
    margin-top: 115px;
    width: 47.794%;
  }
  .people-item > a{
    transition: .3s;
  }
  .people-item > a:hover{
    opacity: .7;
  }
}
@media screen and (max-width: 780px) {
  .people-list-wrap{
    padding-top: 10px;
  }
  .people-list{
    margin: 0 40px;
  }
  .people-item{
    margin-top: 75px;
  }
  .people-item .category{
    padding: 0 20px;
    top: 80px;
  }
  .people-item .category > p{
    font-size: 2.0rem;
    padding: 0 20px;
    height: calc(100% - 84px);
    min-width: 80px;
  }
  .people-item .category > p > span{
    font-size: 1.4rem;
  }
  .people-item .category > div{
    font-size: 1.2rem;
    padding: 30px 0;
  }
  .people-item .category > div > span{
    background-size: 5px auto;
  }
  .people-item .profile{
    font-size: 1.3rem;
    margin-top: 80px;
  }
}

