/* ===============================
   ドクター表示：折りたたみ
   =============================== */
.doctor {
  position: relative;
  max-height: 400px;
  overflow: hidden;
  transition: max-height 0.6s ease;
  max-width: 1240px;
  margin-inline: auto;
}

.doctor .sec_innerM {
  padding: 0;
}

.doctor_sec01 .flex .right {
  width: 70%;
  margin-inline: auto;
}

@media screen and (max-width: 1024px) {
  .doctor_sec01 .flex .right {
    width: 90%;
  }
}

.doctor_sec01 .flex .left {
  background-position: top center;
  aspect-ratio: 1200 / 2216;
  align-self: self-start;
  width: 30%;
}

@media screen and (max-width: 1024px) {
  .doctor_sec01 .flex .left {
    aspect-ratio: unset;
    width: 100%;
  }
}

.doctor::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5em;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.doctor.is-expanded::after {
  display: none;
}

/* ボタン */
.read-more-doctor-btn {
  display: block;
  margin: 1em auto 2em;
  padding: 0.8em 2em;
  background: #c2b6a8;
  color: #43434b;
  font-size: 0.95em;
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}

.read-more-doctor-btn:hover {
  border: 1px solid #43434b;
  background: #fff;
  color: #43434b;
}
