@charset "UTF-8";

.p-nakamawoshiru-detail .page-visual {
  background: url(../images/page_img.jpg) no-repeat center center;
}

.p-nakamawoshiru-detail .detail-contents .c-rettl01 {
  margin-bottom: 45px;
}

.p-nakamawoshiru-detail .detail-contents .c-rettl01 .ttljp {
  display: block;
  text-align: center;
  color: #384355;
  font-size: 35px;
  font-weight: bold;
}

.p-nakamawoshiru-detail .staff-profile__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  background: #eaedf4;
}

.p-nakamawoshiru-detail .staff-profile__image {
  width: 45.5%;
}

.p-nakamawoshiru-detail .staff-profile__image img {
  display: block;
  width: 100%;
  height: auto;
}

.p-nakamawoshiru-detail .staff-profile__summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 54.5%;
  padding: 35px 40px;
}

.p-nakamawoshiru-detail .staff-profile__work {
  width: 100%;
  max-width: 500px;
  margin: 40px auto 0;
}

.p-nakamawoshiru-detail .staff-profile__work-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.p-nakamawoshiru-detail .staff-profile__work figcaption {
  margin-top: 10px;
  color: #384355;
  font-size: 13px;
  text-align: right;
}

.p-nakamawoshiru-detail .staff-profile__department {
  margin: 0 0 10px;
  color: #e7a85e;
  font-size: 18px;
  font-weight: bold;
}

.p-nakamawoshiru-detail .staff-profile__name {
  margin: 0;
  color: #384355;
  font-size: 34px;
  font-weight: bold;
}

.p-nakamawoshiru-detail .staff-profile__name small {
  margin-left: 8px;
  font-size: 16px;
  font-weight: normal;
}

.p-nakamawoshiru-detail .staff-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 20px 0 0;
  color: #384355;
  font-size: 16px;
}

.p-nakamawoshiru-detail .staff-profile__meta dt,
.p-nakamawoshiru-detail .staff-profile__meta dd {
  margin: 0;
}

.p-nakamawoshiru-detail .staff-profile__meta dt {
  font-weight: bold;
}

.p-nakamawoshiru-detail .staff-profile__lead {
  margin: 25px 0 0;
  font-size: 17px;
  line-height: 1.8;
}

.p-nakamawoshiru-detail .staff-profile__interview {
  max-width: 850px;
  margin: 55px auto 0;
}

.p-nakamawoshiru-detail .staff-profile__interview .de-ttl01 {
  margin-bottom: 35px;
}

.p-nakamawoshiru-detail .staff-profile__qa {
  margin-bottom: 30px;
}

.p-nakamawoshiru-detail .staff-profile__qa:last-child {
  margin-bottom: 0;
}

.p-nakamawoshiru-detail .staff-profile__question {
  margin: 0 0 10px;
  color: #ff898d;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.5;
}

.p-nakamawoshiru-detail .staff-profile__answer {
  margin: 0;
  color: #384355;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.9;
}

/* 社員詳細下部の導線を、現在の4名分で横幅いっぱいに整える */
.p-nakamawoshiru-detail .detail-contents .block05 {
  width: 100%;
  max-width: none;
  margin: 75px 0 0;
}

.p-nakamawoshiru-detail .detail-contents .block05 .list01 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.p-nakamawoshiru-detail .detail-contents .block05 .list01 li {
  width: auto;
  margin: 0;
}

.p-nakamawoshiru-detail .detail-contents .block05 .list01 li a {
  box-sizing: border-box;
  min-height: 68px;
  padding: 14px 18px;
  border-radius: 6px;
}

.p-nakamawoshiru-detail .detail-contents .block05 .list01 li a p {
  margin: 0;
}

@media only screen and (max-width: 767px) {
  .p-nakamawoshiru-detail {
    padding: 0 10px;
  }

  .p-nakamawoshiru-detail .detail-contents {
    margin: 30px auto 60px;
    padding: 35px 5px;
  }

  .p-nakamawoshiru-detail .detail-contents .c-rettl01 {
    margin-bottom: 30px;
  }

  .p-nakamawoshiru-detail .detail-contents .c-rettl01 .ttljp {
    font-size: 24px;
  }

  .p-nakamawoshiru-detail .staff-profile__image,
  .p-nakamawoshiru-detail .staff-profile__summary {
    width: 100%;
  }

  .p-nakamawoshiru-detail .staff-profile__image {
    height: auto;
  }

  .p-nakamawoshiru-detail .staff-profile__summary {
    padding: 25px 15px 30px;
  }

  .p-nakamawoshiru-detail .staff-profile__work {
    margin-top: 30px;
  }

  .p-nakamawoshiru-detail .staff-profile__department {
    font-size: 16px;
  }

  .p-nakamawoshiru-detail .staff-profile__name {
    font-size: 25px;
  }

  .p-nakamawoshiru-detail .staff-profile__meta {
    font-size: 15px;
  }

  .p-nakamawoshiru-detail .staff-profile__lead {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.7;
  }

  .p-nakamawoshiru-detail .staff-profile__interview {
    margin-top: 40px;
  }

  .p-nakamawoshiru-detail .staff-profile__interview .de-ttl01 {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .p-nakamawoshiru-detail .staff-profile__question {
    font-size: 18px;
  }

  .p-nakamawoshiru-detail .staff-profile__answer {
    font-size: 15px;
    line-height: 1.7;
  }

  .p-nakamawoshiru-detail .detail-contents .block05 {
    margin-top: 55px;
  }

  .p-nakamawoshiru-detail .detail-contents .block05 .list01 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .p-nakamawoshiru-detail .detail-contents .block05 .list01 li {
    width: auto;
    margin: 0;
  }

  .p-nakamawoshiru-detail .detail-contents .block05 .list01 li a {
    min-height: 62px;
    padding: 12px 10px;
  }
}
