/* company */
.company {
  max-width: 1200px;
  margin: 50px auto 0;
}

.company-title {
  text-align: center;
  color: black;
}

.company-title h1 {
  font-size: 55px;
  margin-bottom: 15px;
}

.company-title h5 {
  font-size: 16px;
}

.company-body {
  width: 60%;
  margin: 100px auto 100px;
  font-size: 24px;
}

.company-name {
  margin-bottom: 30px;
}

.company-info {
  line-height: 30px;
}

/* member profile */
.member_profile {
  margin-top: 150px;
  min-height: 300px;
  margin-bottom: 150px;
}

.member-info {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.member_name {
  width: 100%;
  margin-top: 10px;
  margin-right: 40px;
  margin-left: 30px;
}

.member_name img {
  width: 100%;
  max-width: 430px;
}

.member_word {
  display: flex;
  position: absolute;
  flex-direction: column;
  font-size: 40px;
  margin-top: 40px;
  margin-left: 40px;
  color: #545454;
}

.member_word .w-top {
  margin-left: -110px;
}

.member_word .w-bottom {
  margin-top: 25px;
}

.member_position {
  width: 60%;
  margin: 120px auto;
}

.member_position-title {
  color: black;
  font-size: 32px;
}

.member_position-introduce {
  margin-top: 1.5rem;
  line-height: 30px;
}

.member_word_sp {
  display: none;
}

.member-image img {
  max-width: 428px;
  width: 100%;
}

/* tablet */
@media screen and (min-width: 1100px) and (max-width: 1200px) {
  .company {
    margin-top: 150px;
  }
}

@media screen and (min-width: 521px) and (max-width: 1100px) {
  .company {
    margin-top: 150px;
  }

  .member-info {
    flex-direction: column-reverse;
    text-align: center;
  }

  .member_word {
    /* width: 100%; */
    position: relative;
  }
}

/* SP */
@media screen and (max-width: 520px) {
  .company-body {
    width: 90%;
    font-size: 21px;
  }

  .company-title h1 {
    font-size: 35px;
  }

  .member_profile {
    margin-top: 30px;
  }

  .member-text {
    margin-top: -30px;
  }

  .member-info {
    flex-direction: column-reverse;
  }

  .member-image {
    text-align: center;
  }

  .member-image img {
    max-width: 70%;
  }

  .member_name {
    text-align: center;
    width: auto;
    margin-left: 0;
  }

  .member_name img {
    width: 90%;
  }

  .member_word {
    display: none;
  }

  .member_word_sp {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 30px;
  }

  .member_word_sp .w-top {
    font-size: 30px;
    margin-left: 40px;
  }
  .member_word_sp .w-bottom {
    font-size: 21px;
    margin-top: 10px;
    margin-left: 10px;
  }

  .member_position {
    margin-top: 70px;
    width: 90%;
  }

  .member_position-title {
    margin-bottom: 60px;
  }
}
