.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.team-card {
  width: 40rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;

  @media screen and (max-width: 767px) {
    margin-bottom: 1rem;
  }
}

.team-image-box {
  position: relative;
  margin-bottom: 3rem;
  background-color: #ededf0;

  &::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: -1;
    background: radial-gradient(ellipse at 100% 3.48%,
        #CACA3D 0%,
        #00A7A7 28%,
        #009898 54.5%,
        #3F6AC7 69.5%,
        #4A417C 100%);
  }

  @media screen and (max-width: 767px) {
    &::after {
      top: 5px;
      left: 5px;
    }
  }

  &>img {
    width: 100%;
  }
}

.team-members {
  display: flex;
  flex-direction: column;
}

.team-jp-title {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  font-size: 2rem;
  line-height: 2.4rem;
  letter-spacing: 0.08em;
  color: #000000;
  padding-bottom: 1rem;
}

.team-position {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.9rem;
  letter-spacing: 0.08em;
  color: #000000;
  padding-bottom: 2rem;
}

.team-jp-name {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 4.3rem;
  letter-spacing: 0.08em;
  color: #000000;
  padding-bottom: 1rem;

  @media screen and (max-width: 767px) {
    font-size: 28px;
    line-height: 1.2;
  }
}

.team-eng-name {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.1em;
  background: radial-gradient(ellipse at 1.67% 3.88%,
      #CACA3D 0%,
      #00A7A7 28%,
      #009898 54.5%,
      #3F6AC7 69.5%,
      #4A417C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  padding-bottom: 1rem;
}

.team-eng-title {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.1em;
  color: #000000;
}

.team-social-icons {
  margin-top: 10px;
}

.team-social-icons img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

@media (max-width: 1024px) {
  .card {
    width: 48%;
  }
}

@media (max-width: 600px) {
  .container {
    justify-content: center;
  }

  .card {
    width: 90%;
  }
}

.intro {
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.68;
  letter-spacing: 0.08em;
  padding-bottom: 10rem;

  @media screen and (max-width: 767px) {
    font-size: 18px;
    padding-bottom: 50px;
  }
}

.the-other {
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-align: right;
  padding-bottom: 10rem;

  @media screen and (max-width: 767px) {
    font-size: 16px;
    padding-bottom: 50px;
  }
}