.member-detail {
  padding: 0px 0 100px;
}

.member-detail__inner {
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: 585px 1fr;
  gap: 78px;
  align-items: start;
}

.member-detail__photo {
  background: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
}

.member-detail__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.member-detail__content {
  padding-top: 18px;
}

.member-heading {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 35px;
}

.member-number {
  font-family: var(--font-jost);
  font-size: 100px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: #e60012;
  letter-spacing: 0.02em;
}

.member-name-wrap {
  padding-top: 8px;
}

.member-name-en {
  font-family: var(--font-jost);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: #333;
  margin: 0;
  display: block;
}

.member-name-ja {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
  margin: 12px 0 0;
}

.h2_title{
  font-family: var(--font-jost);
  font-size: 32px;
  font-weight: bold;
  position: relative;
  padding: 0 0 12px;
  margin-bottom: 10px;
}
.h2_title:before{
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 4px;
  bottom: 0;
  background-color:  var(--ember-color);
}


.member-profile {
  margin: 0;
}

.profile__row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding:10px;
  border-bottom: 1px solid #d9d9d9;
}

.profile__row dt,
.profile__row dd {
  margin: 0;
  color: #333;
}

.profile__row dt {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.profile__row dd {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

.profile__row--career dd {
  line-height: 1.7;
}

.profile__sns {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.profile__sns img {
  display: block;
  width: 28px;
  height: 28px;
}


.back-btn{text-align: center;margin: 30px 0;}





@media screen and (max-width: 1200px) {
  .member-detail__inner {
    grid-template-columns: 450px 1fr;
    gap: 20px;
  }
}
@media screen and (max-width: 1023px) {
  .member-detail {
    padding: 0 0 80px;
  }

  .member-detail__inner {
    width: min(100%, calc(100% - 40px));
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .member-detail__content {
    padding-top: 0;
  }

  .member-heading {
    margin-bottom: 25px;
  }

  .member-number {
    font-size: 72px;
  }

  .member-name-en {
    font-size: 40px;
  }


  .h2_title {
    font-size: 24px;
  }

}

@media screen and (max-width: 767px) {
  .member-detail {
    padding: 0 0 60px;
  }

  .member-detail__inner {
    width: calc(100% - 32px);
    gap: 28px;
  }

  .member-detail__photo {
    border-radius: 8px;
  }

  .member-heading {
    gap: 20px;
    margin-bottom: 15px;
  }

  .member-number {
    font-size: 64px;
  }

  .member-name-wrap {
    padding-top: 4px;
  }
  .member-name-wrap h1{
    line-height:1em;
    display: flex;
    flex-flow: column;
  }
  .member-name-en {
    font-size: 25px;
    line-height: 1;
  }

  .member-name-ja {
    font-size: 18px;
    margin-top: 0px;
  }

  .member-profile {
    border-top: none;
  }

  .profile__row {
    grid-template-columns: 133px 1fr;
    gap: 5px;
    padding: 10px 0;
  }

  .profile__row dt {
    /* font-size: 14px; */
    line-height: 1.6;
  }

  .profile__row dd {
    /* font-size: 14px; */
    line-height: 1.8;
  }
}
@media screen and (max-width: 350px) {
    .profile__row {
        grid-template-columns: 1fr;

    }
  }