/* トップとクリニック紹介で共通のPOINT・医師紹介。 */
.points__list,
.points__profile {
  min-width: 0;
}

.points__doctor img {
  width: 100%;
  object-fit: contain;
}

.point h3 {
  font-size: var(--text-lg);
}

.points__profile {
  text-align: center;
}

.points__profile h3 {
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-muted);
  padding-bottom: var(--space-3);
}

.points__name {
  display: block;
  font-size: var(--text-xl);
}

.points__profile .button__arrow {
  right: 0.75rem;
  width: 1.25rem;
}

.doctor-en {
  font-size: var(--text-xl);
  margin-top: var(--space-4);
}

/* 恵比寿トップのPOINT構成を銀座の素材・表面で使用する。 */
.points-section {
  padding-bottom: 0;
  overflow: hidden;
  background: #fafafa;
}

.points-section .points {
  position: relative;
  display: block;
  padding-bottom: var(--space-6);
}

.points-section .point {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  text-align: left;
}

.points-section .point + .point {
  margin-top: var(--space-2);
}

.points-section .point__number {
  display: table;
  background: var(--color-gold-line);
  color: white;
  line-height: 1.4;
  margin: 0;
  padding: 0.125rem 0.75rem;
}

.points-section .point h3 {
  position: relative;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-gold-line);
  background: var(--section-gradient);
  box-shadow: var(--shadow-card);
}

.points-section .point h3 span {
  position: relative;
  z-index: 1;
}

.points-section .points__doctor {
  max-width: 17rem;
  position: absolute;
  left: -15%;
  bottom: 0;
  width: 48%;
}

.points-section .points__doctor img {
  max-height: none;
}

.points-section .points__profile {
  position: relative;
  margin-top: var(--space-5);
  padding-bottom: var(--space-3);
}

.points-section .points__profile > h3,
.points-section .points__profile > p {
  margin-left: 35%;
}

.points-section .points__profile .button-row {
  margin-top: var(--space-5);
}

.points-section .button {
  width: 80%;
  max-width: 20rem;
}

@media (min-width: 768px) {
  .point__number {
    font-size: var(--text-lg);
  }

  .point h3,
  .doctor-en {
    font-size: var(--text-7xl);
  }

  .points__profile {
    font-size: var(--text-xl);
  }

  .points__profile h3 {
    font-size: var(--text-xl);
  }

  .points__name {
    font-size: var(--text-5xl);
  }

  .points__profile .button__arrow {
    right: 1.25rem;
    width: 1.8rem;
  }
}

@media (min-width: 768px) {
  .points-section {
    padding-top: 0;
    overflow: visible;
  }

  .points-section .points {
    display: flex;
    align-items: center;
    gap: 17%;
    min-height: min(26.667vw, 32rem);
    padding-block: min(2.083vw, 2.5rem);
  }

  .points-section .points__list {
    flex: 0 0 48%;
  }

  .points-section .point + .point {
    margin-top: min(1.25vw, 1.5rem);
  }

  .points-section .points__doctor {
    max-width: none;
    left: 43%;
    width: 26%;
    top: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .points-section .points__doctor img {
    width: auto;
    height: 100%;
    max-height: 100%;
  }

  .points-section .points__profile {
    flex: 1;
    margin: 0;
    padding: 0;
  }

  .points-section .points__profile > h3,
  .points-section .points__profile > p {
    margin-left: 0;
  }

  .points-section .points__name {
    display: inline;
    margin-left: min(0.625vw, 0.75rem);
  }

  .points-section .points__profile > p {
    font-size: clamp(0.75rem, 0.938vw, 1.125rem);
  }

  .points-section .points__profile > .doctor-en {
    font-size: min(2.5vw, 2.25rem);
  }

  .points-section .button {
    width: 100%;
  }

  .points-section .point__number {
    font-size: clamp(0.75rem, 1.25vw, 1.25rem);
    padding-inline: min(0.625vw, 0.75rem);
  }

  .points-section .point h3 {
    font-size: min(2.4vw, 2.25rem);
    padding: 0.5vw 1vw;
  }

  .points-section .points__profile h3 {
    font-size: min(1.667vw, 1.5rem);
    padding-bottom: min(0.833vw, 1rem);
  }

  .points-section .points__name {
    font-size: min(2.083vw, 1.875rem);
  }

  .points-section .doctor-en {
    margin-top: min(1.667vw, 1.5rem);
  }

  .points-section .points__profile .button-row {
    margin-top: min(1.667vw, 2rem);
  }

  .points-section .button {
    min-height: max(2.75rem, 4vw);
    padding: 0.5vw 1vw;
  }
}

@media (max-width: 479px) {
  .points-section .points__doctor {
    width: 62%;
  }
}
