/* 의사소개 */

.doctors-wrap {
  /*padding-top : 100px;*/
  margin-bottom: 100px;
}

.doctors-wrap > ul > li {
  align-items: center;
  border-bottom: 1px solid #efefef;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

/*.doctors-wrap > ul > li:nth-child(2n){*/
/*    flex-direction: row-reverse;*/
/*}*/
.doctors-wrap > ul > li .image {
  border-radius: 32px;
  overflow: hidden;
  width: 414px;
}

.doctors-wrap > ul > li .desc {
  flex: 1;
  text-align: center;
}

.doctors-wrap > ul > li .desc .name {
  border-bottom: 1px solid #efefef;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
}

.doctors-wrap > ul > li .desc .sub {
  color: #16344b;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
}

.doctors-wrap > ul > li .desc .history {
  font-size: 30px;
  line-height: 1.4;
  margin: 26px 0 30px;
}

.doctors-wrap > ul > li .desc .member {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
}


/* 직원소개 */
.staff-wrap {
  margin-top: 100px;
}

.staff-wrap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.staff-wrap ul li {
  aspect-ratio: 16/9;
  width: calc((100% - 16px) / 2);
}

.staff-wrap .title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 23px;
  padding-left: 10px;
}

.staff-wrap .sub-title {
  font-size: 18px;
  font-weight: 500;
  margin-top: 16px;
  padding-left: 10px;
  text-align: center;
}

.staff-wrap .sub-title div {
  color: #3a4c40;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.staff-wrap li {
  margin-bottom: 100px;
}

.staff-wrap ul li .sub-image {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}

.doctors-wrap > ul > li .desc .greetings {
  margin-top: 40px;
}

.doctors-wrap > ul > li .desc .greetings .sub {
  margin-bottom: 24px;
}

.doctors-wrap > ul > li .desc .greetings ul li {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  padding: 0 20px;
  text-wrap: balance;
}

.staff-wrap .label {
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  font-weight: 700;
  margin: 60px 0 32px;
  text-align: center;
}

.staff-wrap .information {
  align-items: center;
  column-gap: 8px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  margin-top: 32px;
  row-gap: 4px;
}

.staff-wrap .information .name {
  font-size: 18px;
  font-weight: 700;
}

.staff-wrap .information .grade-name {
  color: #767676;
  font-size: 14px;
  font-weight: 500;
}

.staff-wrap .information .sub-text {
  font-size: 14px;
  grid-column-end: 3;
  grid-column-start: 1;
}

.staff-wrap .information .greeting {
  font-size: 16px;
  font-weight: 700;
  grid-column-start: 3;
  grid-row-start: 1;
  margin-left: 24px;
}

.staff-wrap .information .sub-greeting {
  font-size: 14px;
  grid-column-start: 3;
  grid-row-start: 2;
  margin-left: 24px;
}

.small-staff-wrap ul {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.small-staff-wrap ul li .sub-image {
  aspect-ratio: 1/1.23;
  background: #efefef;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

.small-staff-wrap ul li .sub-image img {
  width: 100%;
}

.small-staff-wrap .label {
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  font-weight: 700;
  margin: 60px 0 32px;
  text-align: center;


}

.small-staff-wrap .information {
  align-items: center;
  column-gap: 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  margin-top: 24px;
  row-gap: 4px;
}

.small-staff-wrap .information .name {
  font-size: 18px;
  font-weight: 700;
}

.small-staff-wrap .information .grade-name {
  color: #767676;
  font-size: 14px;
  font-weight: 500;
}

.small-staff-wrap .information .sub-text {
  font-size: 14px;
  grid-column-end: 3;
  grid-column-start: 1;
}

@media screen and (max-width: 1016px) {
  .doctors-wrap > ul {
    padding: 0 10px;
  }

  .staff-wrap {
    padding: 0 10px;
  }

  .small-staff-wrap {
    padding: 0 10px;
  }

  .staff-wrap .information .greeting, .staff-wrap .information .sub-greeting {
    margin-left: 16px;
  }
}

@media screen and (max-width: 768px) {
  .doctors-wrap > ul > li {
    flex-direction: column;
  }

  .doctors-wrap > ul > li .desc .name {
    font-size: 28px;
  }

  .doctors-wrap > ul > li .desc .history {
    font-size: 20px;
    line-height: 26px;
  }

  .doctors-wrap > ul > li .desc .member {
    font-size: 16px;
    line-height: 26px;
  }

  .doctors-wrap > ul > li .image {
    margin: auto;
    width: 340px;
  }

  .doctors-wrap > ul > li .desc {
    width: 100%;
  }

  .doctors-wrap {
    margin-bottom: 120px;
  }

  .staff-wrap .title {
    font-size: 28px;
  }

  .staff-wrap .sub-title {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .staff-wrap li {
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 480px) {
  .staff-wrap ul li {
    width: 100%;
  }

  .doctors-wrap > ul > li .image {
    margin-bottom: 30px;
    width: 100%;
  }

  .doctors-wrap > ul > li {
    gap: initial;
  }

  .doctors-wrap > ul > li .desc .name {
    border-bottom: none;
    font-size: 24px;
    margin-bottom: 0;
    margin-bottom: 18px;
    padding-bottom: 13px;
  }

  .doctors-wrap > ul > li .desc .sub {
    font-size: 14px;
    line-height: 16px;
  }

  .doctors-wrap > ul > li .desc .history {
    font-size: 16px;
    line-height: 30px;
    margin: 20px 0;
  }

  .doctors-wrap > ul > li .desc .member {
    font-size: 16px;
    line-height: 30px;
  }

  .doctors-wrap {
    margin-bottom: 80px;
  }


  .staff-wrap .title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .staff-wrap .sub-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .staff-wrap li {
    margin-bottom: 20px;
  }

  .doctors-wrap > ul > li .desc .greetings ul li {
    margin-bottom: 40px;
    padding: 0 10px;
  }

  .doctors-wrap > ul > li .desc .greetings .sub {
    font-size: 24px;
  }

  .small-staff-wrap ul {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
  }
}