.doctor-profile {
  width: auto;
  max-width: 1000px;
  margin: 0 auto;
  padding: 90px 0 130px;
  color: #28231d;
}

.doctor-profile__lead {
  max-width: 720px;
  margin: 0 auto 90px;
  text-align: center;
}

.doctor-profile__eyebrow,
.doctor-profile__section-heading > p,
.doctor-card__role,
.doctor-modal__role {
  margin: 0;
  color: #9a7445;
  font-family: classico-urw, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: .06em;
}

.doctor-profile__lead h2 {
  margin: 14px 0 20px;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.55;
}

.doctor-profile__lead > p:last-child {
  margin: 0;
  line-height: 1.9;
}

.doctor-profile__section + .doctor-profile__section {
  margin-top: 110px;
}

.doctor-profile__section-heading {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 34px;
  padding-bottom: 15px;
  border-bottom: 1px solid #c9ab7a;
}

.doctor-profile__section-heading h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 400;
}

.doctor-profile__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.doctor-profile__section--chairman .doctor-profile__grid {
  grid-template-columns: 1fr;
}

.doctor-profile__section--chairman .doctor-card {
  flex-direction: row;
  align-items: stretch;
}

.doctor-profile__section--chairman .doctor-card__photo {
  flex: 0 0 345px;
  width: 345px;
  max-width: 40%;
}

.doctor-profile__section--chairman .doctor-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 40px;
}

.doctor-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 12px 28px rgba(64, 45, 24, .1);
}

.doctor-card__photo {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #eee8df;
  cursor: pointer;
}

.doctor-card__photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(45, 31, 13, .52));
  content: '';
  opacity: .25;
  transition: opacity .25s ease;
}

.doctor-card__photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .35s ease;
}

.doctor-card__photo > span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  padding: 7px 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .75);
  font-size: .75rem;
  letter-spacing: .08em;
}

.doctor-card__photo:hover::after,
.doctor-card__photo:focus-visible::after {
  opacity: 1;
}

.doctor-card__photo:hover img,
.doctor-card__photo:focus-visible img {
  transform: scale(1.045);
}

.doctor-card__photo:focus-visible,
.doctor-modal__close:focus-visible {
  outline: 3px solid #8b5b20;
  outline-offset: -3px;
}

.doctor-card__content {
  flex: 1;
  padding: 22px 22px 25px;
}

.doctor-card__content h3 {
  margin: 8px 0 12px;
  font-size: 1.5rem;
  font-weight: 400;
}

.doctor-card__summary {
  margin: 0;
  color: #655a4e;
  font-size: .9rem;
  line-height: 1.75;
}

.doctor-card__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doctor-card__labels li {
  margin: 0;
  padding: 5px 10px;
  color: #715a38;
  background: #f3ebe0;
  border: 1px solid #d8c39e;
  font-size: .75rem;
  line-height: 1.4;
}

.doctor-modal[hidden] {
  display: none;
}

.doctor-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 40px;
}

.doctor-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 20, 12, .7);
}

.doctor-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(720px, calc(100vh - 80px));
  overflow: auto;
  padding: 55px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .3);
}

.doctor-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #6c512d;
  border: 0;
  background: transparent;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

body.doctor-modal-open #menuBtn {
  visibility: hidden;
  pointer-events: none;
}

.doctor-modal__profile {
  display: grid;
  grid-template-columns: 235px 1fr;
  gap: 35px;
}

.doctor-modal__profile > img {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
  object-position: center top;
}

.doctor-modal__profile h2 {
  margin: 8px 0 25px;
  font-size: 2rem;
  font-weight: 400;
}

.doctor-modal__profile h3 {
  margin: 25px 0 7px;
  padding-bottom: 7px;
  border-bottom: 1px solid #d8c39e;
  color: #715a38;
  font-size: 1rem;
  font-weight: 400;
}

.doctor-modal__profile p,
.doctor-modal__profile li,
.doctor-modal__profile dd,
.doctor-modal__profile blockquote {
  font-size: .9375rem;
  line-height: 1.8;
}

.doctor-modal__profile ul {
  margin: 0;
  padding-left: 1.2em;
}

.doctor-modal__profile dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 20px;
  margin: 0;
}

.doctor-modal__profile dt,
.doctor-modal__profile dd {
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid #ece4d8;
}

.doctor-modal__profile dt {
  white-space: nowrap;
}

.doctor-modal__profile blockquote {
  margin: 25px 0 0;
  padding: 15px 17px;
  border-left: 3px solid #b5935b;
  background: #faf7f1;
}

.doctor-modal__link a {
  color: #76542a;
}

body.doctor-modal-open {
  overflow: hidden;
}

@media (max-width: 750px) {
  .page-id-574 #mainContents {
    margin-top: 20px;
    margin-bottom: 70px;
  }

  .doctor-profile {
    width: auto;
    margin: 0 3%;
    padding: 28px 0 100px;
  }

  .doctor-profile__lead {
    margin-bottom: 28px;
  }

  .doctor-profile__lead h2 {
    margin: 10px 0 12px;
    font-size: 1.5rem;
  }

  .doctor-profile__lead > p:last-child {
    font-size: .875rem;
    line-height: 1.7;
  }

  .doctor-profile__section-heading {
    display: block;
    margin-bottom: 20px;
  }

  .doctor-profile__section + .doctor-profile__section {
    margin-top: 70px;
  }

  .doctor-profile__section-heading h2 {
    margin-top: 4px;
    font-size: 1.5rem;
  }

  .doctor-profile__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .doctor-profile__section--chairman .doctor-profile__grid {
    grid-template-columns: 1fr;
  }

  .doctor-profile__section--chairman .doctor-card {
    flex-direction: column;
  }

  .doctor-profile__section--chairman .doctor-card__photo {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .doctor-profile__section--chairman .doctor-card__content {
    padding: 14px 12px 16px;
  }

  .doctor-card__photo > span {
    right: 8px;
    bottom: 8px;
    padding: 5px 8px;
    font-size: .625rem;
    letter-spacing: .04em;
  }

  .doctor-card__content {
    padding: 14px 12px 16px;
  }

  .doctor-card__role {
    font-size: .75rem;
    letter-spacing: .08em;
  }

  .doctor-card__content h3 {
    margin: 6px 0 8px;
    font-size: 1.125rem;
  }

  .doctor-card__summary {
    font-size: .8125rem;
    line-height: 1.6;
  }

  .doctor-card__labels li {
    font-size: .65rem;
  }

  .doctor-modal {
    padding: 20px;
  }

  .doctor-modal__dialog {
    max-height: calc(100vh - 40px);
    padding: 72px 35px 40px;
  }

  .doctor-modal__close {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 2001;
    width: 64px;
    height: 64px;
    color: #fff;
    background: rgba(27, 20, 12, .72);
    font-size: 2.25rem;
  }

  .doctor-modal__profile {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .doctor-modal__profile > img {
    width: 235px;
    margin: 0 auto;
  }

  .doctor-modal__profile dl {
    column-gap: 12px;
  }
}
