@charset "utf-8";

/*----------------------------------------------------------------------------------------------------

  Staff Parts / スタッフ紹介の設定

----------------------------------------------------------------------------------------------------　*/

.staff{
  width: 100%;
  margin: 100px 0px 0px;
  padding: 80px 0px;
  background: #e9e7e1;
}

.staff .staff-in{
  width: 1000px;
  margin: 0px auto;
}

.staff .staffbox{
  display: flex;
  margin: 40px 0px 0px;
  padding: 0px 7.5px 40px;
  border-bottom: 1px #cfcfcf solid;
}

.staff .staffbox:last-of-type{
  border-bottom: 0;
}

.staff .staffbox figure{
  width: 350px;
}

.staff .staffbox figure img{
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 7px 7px 0px 0px #efefef;
}

.staff .staffbox .profile{
  width: 700px;
  margin-left: 50px;
  text-align: left;
}

.staff .staffbox .profile p.type{
  margin: 0px;
  color: #f39600;
  font-size: 1.8rem;
  font-weight: bold;
}

.staff .staffbox .profile h3{
  display: flex;
  align-items: center;
  color: #101010;
  font-size: 2.8rem;
  line-height: 1.4;
}

.staff .staffbox .profile h3 span{
  padding-left: 15px;
  color: #909090;
  font-size: 1.8rem;
  font-weight: 500;
  font-style: italic;
}

.staff .staffbox .profile h3 span::before{
  content: "-";
  color: #4f4f4f;
  margin-right: 12px;
}

.staff .staffbox .profile p{
  margin: 15px 0px 0px;
  font-size: 1.6rem;
  line-height: 1.5;
}

.staff .staffbox .profile dl{
  display: flex;
  flex-wrap: wrap;
  margin: 15px 0px 0px;
  padding: 5px 15px;
  font-size: 1.5rem;
  border: 1px #dfdfdf solid;
  border-radius: 5px;
  background: #ded6d2;
  box-shadow: 5px 5px 0px 0px #efefef;
}

.staff .staffbox .profile dl dt{
  width: calc( 25% - 15px );
  margin: 7.5px 7.5px 0px;
  padding: 0px 7.5px 7.5px;
  border-bottom: 1px #e9e7e1 solid;
}

.staff .staffbox .profile dl dd{
  width: 75%;
  margin: 7.5px 0px 0px;
  padding: 0px 7.5px 7.5px;
  border-bottom: 1px #e9e7e1 solid;
}

.staff .staffbox .profile dl dt:last-of-type,
.staff .staffbox .profile dl dd:last-of-type{
  border-bottom: 0;
}

.staff .staffbox .profile dl dd ul{
  display: flex;
}

.staff .staffbox .profile dl dd ul li:not(:last-of-type)::after{
  content: "/";
  margin: 0px 7.5px;
}


@media only screen and ( max-width: 1019px ){
  .staff{
    margin: 70px 0px 0px;
    padding: 30px 25px 70px;
  }

  .staff .staff-in{
    width: auto;
    margin: 0px;
  }

  .staff .staffbox figure{
    width: 35%;
  }

  .staff .staffbox figure img{
    box-shadow: 5px 5px 0px 0px #efefef;
  }

  .staff .staffbox .profile{
    width: 65%;
    margin-left: 20px;
    text-align: left;
  }

  .staff .staffbox .profile p.type{
    font-size: 1.7rem;
  }

  .staff .staffbox .profile h3{
    font-size: 2.8rem;
  }

  .staff .staffbox .profile dl dt{
    width: 35%;
    margin: 7.5px 0px 0px;
  }

  .staff .staffbox .profile dl dd{
    width: 65%;
    margin: 7.5px 0px 0px;
    line-height: 1.5;
  }

  .staff .staffbox .profile dl dd ul{
    flex-wrap: wrap;
  }
}


@media only screen and ( max-width: 640px ){
  .staff{
    margin: 50px 0px 0px;
    padding: 30px 15px;
  }

  .staff .staffbox{
    flex-direction: column;
    padding: 0px 5px 30px;
  }

  .staff .staffbox figure{
    width: 100%;
    height: auto;
  }

  .staff .staffbox .profile{
    width: auto;
    margin: 0px;
  }

  .staff .staffbox .profile p.type{
    margin: 20px 0px 0px;
  }

  .staff .staffbox .profile h3{
    margin: 0px;
    font-size: 2.0rem;
  }

  .staff .staffbox .profile p{
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .staff .staffbox .profile dl{
    padding: 5px 7.5px;
  }
}
