/* ========================================
   Doctor Page Styles
   ======================================== */

/* ----------------------------------------
   Doctor Profile Section
   ---------------------------------------- */
.l-section--doctor-profile {
  padding: 40px 0 150px;
  background-color: #fff;
}

.l-doctor-profile {
  display: flex;
  justify-content: center;
}

.l-doctor-profile__wrapper {
  width: 1078px;
  background-color: #f9f9f9;
  padding: 75px 40px 55px 110px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin: 0 auto;
}

.l-doctor-profile__content {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 50px;
  box-sizing: border-box;
}

.l-doctor-profile__image {
  flex-shrink: 0;
  width: 217px;
  height: 253px;
  overflow: hidden;
}

.l-doctor-profile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.l-doctor-profile__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.l-doctor-profile__info::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 146px;
  height: 1px;
  background: var(--col-accent);
}

.c-text--doctor-clinic {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px;
  font-weight: 400;
  color: #333;
  margin: 0 0 5px 0;
  line-height: 29px;
}

.c-text--doctor-position {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 20px 0;
  line-height: 29px;
}

.c-heading--doctor-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px 0;
  line-height: 46px;
  letter-spacing: 0;
}

.c-text--doctor-name-en {
  font-family: 'Shippori Mincho', serif;
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin: 0 0 25px 0;
  line-height: 46px;
  letter-spacing: 0;
}

.c-heading--doctor-name__divider {
  width: 146px;
  height: 1px;
  background-color: #333;
  margin: 0 0 50px;
  margin-left: 547px;
  align-self: flex-start;
}

.l-doctor-profile__description {
  width: 929px;
  margin: 0 auto;
  padding: 0;
}

.c-text--doctor-description {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #333;
  line-height: 40px;
  letter-spacing: 2.4px;
  margin: 0;
  text-align: left;
}

/* ----------------------------------------
   Responsive
   ---------------------------------------- */
@media (max-width: 1200px) {
  .l-doctor-profile__wrapper {
    width: 90%;
    max-width: 1078px;
    padding: 60px 40px;
  }

  .l-doctor-profile__description {
    width: 100%;
  }

  .c-text--doctor-description {
    font-size: 22px;
  }
}

@media (max-width: 1024px) {
  .l-doctor-profile__wrapper {
    padding: 50px 30px;
  }

  .c-text--doctor-description {
    font-size: 20px;
    line-height: 36px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .l-section--doctor-profile {
    padding: 60px 0;
  }

  .l-doctor-profile__wrapper {
    padding: 40px 20px;
  }

  .l-doctor-profile__content {
    gap: 30px;
    margin-bottom: 40px;
  }

  .l-doctor-profile__content {
    flex-direction: column;
    align-items: center;
  }

  .l-doctor-profile__info {
    text-align: center;
    align-items: center;
  }

  .l-doctor-profile__info::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .l-doctor-profile__image {
    width: 180px;
    height: 210px;
  }

  .c-text--doctor-clinic,
  .c-text--doctor-position {
    font-size: 18px;
  }

  .c-heading--doctor-name,
  .c-text--doctor-name-en {
    font-size: 24px;
  }

  .c-text--doctor-description {
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 1.6px;
  }
}

@media (max-width: 480px) {
  .l-doctor-profile__wrapper {
    padding: 30px 15px;
  }

  .l-doctor-profile__image {
    width: 150px;
    height: 175px;
  }

  .c-text--doctor-clinic,
  .c-text--doctor-position {
    font-size: 16px;
  }

  .c-heading--doctor-name,
  .c-text--doctor-name-en {
    font-size: 20px;
  }

  .c-text--doctor-description {
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 1.4px;
  }
}