@charset "utf-8";

/****************** 当院について ******************/
.about{
    position: relative;
    line-height: 2.5;
}
.about::after{
    position: absolute;
    top: -2rem;
    right: 0rem;
    content: "";
    width: 8rem;
    height: 8rem;
    background-image: url("../img/flower.png");
    background-repeat: no-repeat;
    background-size: contain;
    filter: drop-shadow(10px 10px 5px #aaa);
}
@media screen and (min-width:1025px) {
    .about::after{
        top: -2rem;
        right: -2rem;
        width: 15rem;
        height: 15rem;
    }
}

.profile__container  {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
@media screen and (min-width:1025px) {
    .profile__container  {
        flex-direction: row;
        gap: 10rem;
        margin-bottom: 5rem;
    }
}

.profile__name {
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}
.profile__list {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #ffecb5;
    border-radius: 5px;
    box-shadow: 5px 5px 2px #ccc;
}
@media screen and (min-width:1025px) {
    .profile__name {
        margin-left: 13rem;
        text-align: left;
    }
    .profile__list  {
        margin-bottom: 0;
        padding: 4rem 6rem;
    }
}

.profile__item{
    display: block;
    text-align: right;
    line-height: 1;
    padding-bottom: 1rem;
}

.palm_photo {
  width: 100%;
  border-radius: 10px;
  /*filter: sepia(0.3) drop-shadow(5px 5px 8px #ffecb5);*/
  filter: drop-shadow(5px 5px 8px #ffecb5);
}

.doctor_photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: 0 -15px;
  border-radius: 50%;
  filter: drop-shadow(5px 5px 8px #ffecb5);
}

@media screen and (min-width:1025px) {
    .palm_photo {
      width: 40rem;
    }
    .doctor_photo {
      margin-left: 15rem;
      width: 250px;
      height: 270px;
    }
}