@import url(../../common/css/common.css);

/* member list */
.memberlist {
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 64px;
  color: #f172a3;
  font-weight: unset;
  display: flex;
  justify-content: space-around;
}
.memberlist li.active {
  font-weight: bold;
}
.memberlist a {
  color: inherit;
}

/* box space */
.box {
  padding: 30px;
  background-color: #fff;
  background-image: url(img/logo_emblem.png);
  background-size: 120px;
  background-repeat: no-repeat;
  background-position: top 30px right 30px;
  display: flex;
  justify-content: space-between;
  column-gap: 5%;
  position: relative;
}
.box p,
.box ul {
  flex: 1;
}

/* member pic */
.member-pic {
  width: 300px;
  height: 400px;
  margin-left: auto;
  margin-right: auto;
}
.member-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* prof name */
.prof li.name {
  padding-top: 32px;
  padding-bottom: 32px;
  color: #f172a3;
  font-size: 32px;
  font-weight: bold;
  line-height: 36px;
  text-align: left;
}
.prof li.name p.kana {
  font-size: 16px;
}
.prof li.name p.en {
  font-size: 16px;
}

/* prof data */
.prof li.data dl {
  width: 100%;
  border-radius: 10px;
  padding: 5%;
  line-height: 32px;
  text-align: left;
  background-color: #fdeaf1;
}
.prof li.data div {
  display: flex;
  column-gap: 10%;
}
.prof li.data dt {
  flex-basis: 100px;
  color: #f172a3;
  font-weight: bold;
}
.prof li.data dd {
  flex: 1;
}

/* fb */
.prof li.sns {
  padding-top: 32px;
  padding-bottom: 16px;
  line-height: 40px;
  display: flex;
  position: relative;
}
.prof li.sns ul {
  width: fit-content;
  display: flex;
  position: absolute;
  right: 0;
}
.prof li.sns li {
  padding-left: 15px;
  padding-right: 15px;
}
.prof .sns img {
  width: 40px;
}

/*=============== responsive ===============*/

/* mobile */
@media (max-width: 767px) {
  .memberlist {
    width: 300px;
    padding-bottom: 32px;
    column-gap: 16px;
  }
  .box {
    background-size: 60px;
    background-position: top 3% right 3%;
  }
}

@media (max-width: 575px) {
  .box p.member-pic {
    aspect-ratio: 300/400;
    width: 70%;
    height: 100%;
  }
  .box {
    display: block;
  }
  .box p {
    text-align: center;
  }

  ul.prof {
    margin-left: auto;
    margin-right: auto;
  }
  .prof li.name {
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 24px;
    line-height: 28px;
  }
  .prof li.name p.kana {
    font-size: 14px;
  }
  .prof li.name p.en {
    font-size: 14px;
  }

  /* fb-like */
  .prof li.sns {
    padding-top: 16px;
    line-height: 30px;
  }

  .prof li.sns li {
    padding-left: 10px;
    padding-right: 10px;
  }
  .prof .sns img {
    width: 30px;
  }
}
