/* ======================================
   09. Doctor
====================================== */
.doctor-section {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 9vw, 140px) 0;
  background: #fff;
}

/* Doctor photo story */
.doctor-photo-story {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 120px) 0;
  background: linear-gradient(135deg, #f4fbfc 0%, #fff 52%, #fff9f1 100%);
}

.doctor-photo-story::before {
  content: "";
  position: absolute;
  top: 10%;
  right: 7%;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(26, 183, 190, 0.14);
  border-radius: 50%;
}

.doctor-photo-story__inner {
  width: min(1280px, calc(100% - 60px));
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  grid-template-rows: auto auto;
  gap: 22px;
  align-items: end;
}

.doctor-photo-story figure {
  margin: 0;
}

.doctor-photo-story__main {
  grid-row: 1 / 3;
}

.doctor-photo-story__main img,
.doctor-photo-story__sub img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.doctor-photo-story__main img {
  aspect-ratio: 3 / 2;
  border-radius: 12px;
}

.doctor-photo-story__sub img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
}

.doctor-photo-story__copy {
  padding: 20px 8px 4px;
}

.doctor-photo-story__en {
  margin: 0 0 10px;
  color: #18aeb5;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.doctor-photo-story__copy h2 {
  margin: 0 0 20px;
  color: #0b2f5f;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.55;
  letter-spacing: 0.07em;
}

.doctor-photo-story__copy > p:last-child {
  margin: 0;
  color: #30425b;
  font-size: 17px;
  line-height: 2;
}

@media (max-width: 767px) {
  .doctor-photo-story {
    padding: 64px 0;
  }

  .doctor-photo-story__inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 18px;
  }

  .doctor-photo-story__main {
    grid-row: auto;
  }

  .doctor-photo-story__copy {
    padding: 12px 4px 0;
  }

  .doctor-photo-story__copy h2 {
    font-size: 27px;
  }

  .doctor-photo-story__copy > p:last-child {
    font-size: 16px;
  }
}

.doctor-section__inner {
  width: min(1500px, calc(100% - 60px));
  margin-inline: auto;
}

.doctor-section__content {
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) minmax(380px, 1fr) minmax(250px, .65fr);
  align-items: center;
  gap: clamp(45px, 5vw, 80px);
}

.doctor-section__visual img {
  width: 100%;
  max-width: 570px;
  height: auto;
  margin-inline: auto;
}

.doctor-section__message {
  max-width: 520px;
}

.doctor-section__catch {
  color: var(--color-navy);
  font-size: clamp(27px, 2.5vw, 38px);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .08em;
}

.doctor-section__line {
  width: 38px;
  height: 3px;
  margin: 30px 0;
  border-radius: 999px;
  background: var(--color-main);
}

.doctor-section__text {
  color: var(--color-text);
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: .04em;
}

.doctor-section__button {
  margin-top: 34px;
}

.doctor-profile {
  padding: 38px 34px;
  border: 1px solid #edf1f3;
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 36px rgba(36, 75, 150, .12);
}

.doctor-profile__position {
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 500;
}

.doctor-profile__name {
  margin-top: 8px;
  color: var(--color-navy);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .1em;
}

.doctor-profile__name-en {
  margin-top: 5px;
  color: var(--color-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}

.doctor-profile__list {
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.doctor-profile__list li {
  position: relative;
  margin-top: 11px;
  padding-left: 16px;
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.7;
}

.doctor-profile__list li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-main);
}

/* ======================================
   Doctor History
====================================== */

.doctor-history {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(90px, 9vw, 140px) 0;
  background: #ecfbfd;
}

.doctor-history__inner {
  width: min(1000px, calc(100% - 120px));
  margin-inline: auto;
}

.doctor-history__list {
  display: grid;
  gap: 18px;
}

.doctor-history__item {
  overflow: hidden;
  border: 1px solid #dfeff1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 151, 180, .12);
}

.doctor-history__summary {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 24px;
  min-height: 120px;
  padding: 24px 32px;
  cursor: pointer;
  list-style: none;
}

.doctor-history__summary::-webkit-details-marker {
  display: none;
}

.doctor-history__number {
  color: #bfeef2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  line-height: 1;
}

.doctor-history__heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doctor-history__period {
  color: var(--color-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.doctor-history__title {
  color: var(--color-navy);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .05em;
}

.doctor-history__icon {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dcf7fa;
}

.doctor-history__icon::before,
.doctor-history__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-main);
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}

.doctor-history__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.doctor-history__item[open] .doctor-history__icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.doctor-history__content {
  border-top: 1px solid #e8f2f3;
}

.doctor-history__body {
  width: min(760px, calc(100% - 64px));
  margin-inline: auto;
  padding: 38px 0 46px;
}

.doctor-history__photo {
  margin: 0 0 30px;
}

.doctor-history__photo img {
  display: block;
  width: 100%;
  max-height: 470px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 14px 34px rgba(18, 52, 91, .12);
}

.doctor-history__body p {
  color: var(--color-text);
  font-size: 16px;
  line-height: 2.15;
  letter-spacing: .04em;
}

.doctor-history__body p+p {
  margin-top: 24px;
}

.doctor-history__summary:hover {
  background: #f2fdff;
}

@media (max-width: 767px) {

  .doctor-photo-story + .lower-page__layout {
    margin-top: 0;
  }

  .doctor-history .section-heading__title {
    margin-top: 0;
  }

  .doctor-history__inner {
    width: calc(100% - 32px);
  }

  .doctor-history__photo {
    margin-bottom: 24px;
  }

  .doctor-history__photo img {
    max-height: 320px;
    border-radius: 10px;
  }

  .doctor-history__list {
    gap: 12px;
  }

  .doctor-history__item {
    border-radius: 18px;
  }

  .doctor-history__summary {
    grid-template-columns: 56px minmax(0, 1fr) 36px;
    gap: 14px;
    min-height: 92px;
    padding: 18px 16px;
  }

  .doctor-history__number {
    font-size: 42px;
  }

  .doctor-history__period {
    font-size: 11px;
  }

  .doctor-history__title {
    font-size: 18px;
  }

  .doctor-history__icon {
    width: 34px;
    height: 34px;
  }

  .doctor-history__icon::before,
  .doctor-history__icon::after {
    width: 13px;
  }

  .doctor-history__body {
    width: calc(100% - 36px);
    padding: 28px 0 34px;
  }

  .doctor-history__body p {
    font-size: 15px;
    line-height: 2;
  }

}

/* Typography hierarchy */
.doctor-section__catch { font-size: clamp(28px,2.15vw,32px); line-height: 1.68; letter-spacing: .07em; }
.doctor-section__catch span { display:block; white-space:nowrap; }
.doctor-section__text,.doctor-history__body p { font-size: 17px; }
.doctor-profile__position,.doctor-profile__name-en,.doctor-profile__list li,.doctor-history__period { font-size: 14px; }
.doctor-profile__name { font-size: 25px; }
.doctor-history__title { font-size: clamp(23px,2.3vw,29px); }
@media (max-width:767px) {
  .doctor-section__catch { font-size: clamp(25px,7vw,30px); }
  .doctor-section__text,.doctor-history__body p { font-size: 16px; }
  .doctor-history__heading { gap: 2px; }
  .doctor-history__title { font-size: 17px; }
  .doctor-history__period { font-size: 14px; }
}
