@import url(./common.css);
/*==================================================================*/
/* staff css */
/*==================================================================*/
/* -------------------------------------------- */
/* pagetitle */
/* -------------------------------------------- */
.pagetitle-wrapper .bg {
  background-image: url("../staff/image/title.jpg");
}

/* -------------------------------------------- */
/* staff */
/* -------------------------------------------- */
.staff-wrapper h2 {
  margin-bottom: 2.5em;
  padding: 0.4em 0.5em;
  color: #1874b4;
  border: 1px solid #1874b4;
  background-color: #dff2ff;
  font-size: 1.6em;
  font-weight: bold;
  text-align: center;
}
.staff-wrapper .staff {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4em;
}
.staff-wrapper .staff:last-of-type {
  margin-bottom: 6em;
}
.staff-wrapper .staff .photo {
  width: 515px;
}
.staff-wrapper .staff .photo figure {
  margin-bottom: 1em;
}
.staff-wrapper .staff .photo figure img {
  vertical-align: bottom;
}
.staff-wrapper .staff .photo dl {
  display: flex;
  justify-content: center;
}
.staff-wrapper .staff .photo dl dt {
  display: flex;
  align-items: center;
  margin-right: 1em;
}
.staff-wrapper .staff .photo dl dt span {
  display: inline;
  padding: 0 0.8em;
  border: 1px solid black;
  font-size: 1.2em;
  line-height: 1.4;
}
.staff-wrapper .staff .photo dl dd {
  font-size: 2.5em;
}
.staff-wrapper .staff .profile {
  width: calc(100% - 560px);
}
.staff-wrapper .staff .profile dl {
  display: flex;
  justify-content: flex-start;
  padding: 0.8em 0;
  border-bottom: 1px solid #e5e5e5;
}
.staff-wrapper .staff .profile dl:last-of-type {
  margin-bottom: 2em;
}
.staff-wrapper .staff .profile dl dt {
  width: 110px;
  font-weight: bold;
}
.staff-wrapper .staff .profile dl dt span {
  display: block;
}
.staff-wrapper .staff .profile dl dd {
  width: calc(100% - 110px);
}
.staff-wrapper .staff .profile dl dd ul:not(:last-child) {
  margin-bottom: 2em;
}
.staff-wrapper .staff .profile dl dd .remark .description {
  font-size: .9em;
}
.staff-wrapper .staff .profile .punishment h3 {
  margin-bottom: 1em;
  padding: 0.2em 0;
  background-color: #f6f6f6;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
}

/*===========================================================================*/
/*  media quary:1000px  */
/*===========================================================================*/
@media screen and (max-width: 1000px) {
  /* -------------------------------------------- */
  /* staff */
  /* -------------------------------------------- */
  .staff-wrapper h2 {
    margin-bottom: 2em;
    font-size: 1.3em;
  }
  .staff-wrapper .staff {
    margin-bottom: 3em;
  }
  .staff-wrapper .staff:last-of-type {
    margin-bottom: 4em;
  }
  .staff-wrapper .staff .photo {
    width: 360px;
  }
  .staff-wrapper .staff .photo dl dt span {
    font-size: 1.1em;
  }
  .staff-wrapper .staff .photo dl dd {
    font-size: 2em;
  }
  .staff-wrapper .staff .profile {
    width: calc(100% - 400px);
  }
  .staff-wrapper .staff .profile dl {
    padding: 0.6em 0;
  }
  .staff-wrapper .staff .profile .punishment h3 {
    font-size: 1em;
  }
}
/*===========================================================================*/
/*  media quary:767px  */
/*===========================================================================*/
@media screen and (max-width: 767px) {
  /* -------------------------------------------- */
  /* staff */
  /* -------------------------------------------- */
  .staff-wrapper h2 {
    font-size: 1.1em;
  }
  .staff-wrapper .staff {
    flex-wrap: wrap;
    margin-bottom: 4em;
  }
  .staff-wrapper .staff:last-of-type {
    margin-bottom: 4em;
  }
  .staff-wrapper .staff .photo {
    width: 100%;
    margin-bottom: 2em;
    text-align: center;
  }
  .staff-wrapper .staff .photo dl dt span {
    font-size: 1em;
  }
  .staff-wrapper .staff .photo dl dd {
    font-size: 1.8em;
  }
  .staff-wrapper .staff .profile {
    width: 100%;
    font-size: .9em;
  }
}
/*===========================================================================*/
/*  media quary:479px  */
/*===========================================================================*/
@media screen and (max-width: 479px) {
  /* -------------------------------------------- */
  /* staff */
  /* -------------------------------------------- */
  .staff-wrapper h2 {
    font-size: 1.1em;
  }
  .staff-wrapper .staff {
    flex-wrap: wrap;
    margin-bottom: 4em;
  }
  .staff-wrapper .staff:last-of-type {
    margin-bottom: 4em;
  }
  .staff-wrapper .staff .photo {
    width: 100%;
    margin-bottom: 2em;
    text-align: center;
  }
  .staff-wrapper .staff .photo dl dt span {
    font-size: 1em;
  }
  .staff-wrapper .staff .photo dl dd {
    font-size: 1.8em;
  }
  .staff-wrapper .staff .profile {
    width: 100%;
    font-size: .9em;
  }
  .staff-wrapper .staff .profile dl dt {
    width: 90px;
  }
  .staff-wrapper .staff .profile dl dd {
    width: calc(100% - 90px);
  }
  .staff-wrapper .staff .profile .punishment dl {
    flex-wrap: wrap;
  }
  .staff-wrapper .staff .profile .punishment dl dt {
    width: 100%;
  }
  .staff-wrapper .staff .profile .punishment dl dd {
    width: 100%;
    padding-left: 1em;
  }
}
