.wrap {
  background-color: #F9F8F4;
}


svg {
  vertical-align: bottom;
  transform: scale(-1, -1);
}

/*--------------------------------
greeting
--------------------------------*/

.greeting {
  background: linear-gradient(180deg, #F9F8F4 0%, #F9F8F4 80%, #FFF 80%, #FFF 100%);
}

.greeting-content {
  display: flex;
  justify-content: space-between;
  max-width: 1040px;
  padding: 0 4vw;
  margin: 8rem auto 0;
  align-items: center;
}

.greeting-img {
  width: 45%;
}

.greeting-img img {
  width: 100%;
}

.greeting-wrap {
  width: 47%;
}

.greeting-ttl {
  padding-top: 18rem;
}

.greeting-name {
  font-size: 2rem;
}

.greeting-txt {
  margin-top: 3rem;
  font-size: 1.6rem;
}


/*--------------------------------
sp css
--------------------------------*/


@media screen and (max-width: 800px) {
  .greeting-ttl {
    padding-top: 8rem;
  }

  .greeting-content {
    flex-direction: column;
    width: 85%;
    margin: 2rem auto 0rem;
    padding: 0;
  }

  .greeting-name {
    text-align: center;
    margin-top: 3rem;
  }

  .greeting-wrap {
    width: 100%;
  }

}


@media screen and (max-width: 767px) {

  .greeting-ttl {
    padding-top: 10rem;
  }

  .greeting-img {
    width: 65%;
  }


  .greeting-name {
    font-size: 1.4rem;
  }

  .greeting-txt {
    margin-top: 1.4rem;
    font-size: 1.4rem;
  }

}



/*--------------------------------
clinic
--------------------------------*/


.clinic {
  background-color: #FFF;
  padding-top: 10rem;
  margin-bottom: 18rem;
}

.clinic-list1, .clinic-list2 {
  display: flex;
  margin: auto;
  justify-content: center;
  margin-top: 5rem;
  padding: 0 4vw;
}

.clinic-item1, .clinic-item2 {
  border-radius: 50%;
  color: #FFF;
  width: 300px;
  height: 300px;
  font-size: 2rem;
  text-align: center;
  position: relative;
  margin-top: 3rem;
  margin-right: 4rem;
}

.clinic-item1:nth-child(3), .clinic-item1:nth-child(5) {
  margin-right: 0;
}

.clinic-item1 p, .clinic-item2 p {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.clinic-color1 {
  background-color: #64C0AB;
}

.clinic-color2 {
  background-color: #74B5E4;
}

.clinic-color3 {
  background-color: #45BDCF;
}

.clinic-decorate1, .clinic-decorate2 {
  position: relative;
}

.clinic-decorate2::before {
  position: absolute;
  top: -96px;
  left: -13px;
  content: '';
  display: inline-block;
  width: 153px;
  height: 184px;
  background-image: url(../img/clinic1.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.clinic-decorate1::before {
  position: absolute;
  top: -138px;
  right: -19px;
  content: '';
  display: inline-block;
  width: 128px;
  height: 221px;
  background-image: url(../img/clinic2.png);
  background-size: cover;
  background-repeat: no-repeat;
}


.clinic-list3 {
  width: 80%;
  margin: 25rem auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.clinic-item3 {
  width: 48%;
}

.clinic-item3:nth-child(n + 3) {
  margin-top: 16rem;
}

.clinic-img img {
  width: 100%;
  transition: all 0.5s ease-in-out;
}

.clinic-txt {
  text-align: center;
  margin-top: 2rem;
  font-size: 2rem;
}

.clinic-listSP {
  display: none;
}


.clinic-img {
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
}

.clinic-img img:hover {
  transform: scale(1.1);
}

/*--------------------------------
sp css
--------------------------------*/

@media screen and (max-width: 1420px) {

  .clinic-item1, .clinic-item2 {
    width: 258px;
    height: 258px;
  }
}

@media screen and (max-width: 970px) {

  .clinic-listSP {
    display: flex;
    flex-wrap: wrap-reverse;
  }

  .clinic-listPC {
    display: none;
  }

  .clinic-list2 {
    margin-top: 2rem;
  }

  .clinic-item1, .clinic-item2 {
    font-size: 2rem;
  }


  .clinic-item1:nth-child(2) {
    margin-right: 0;
  }

  .clinic-wrap2 {
    height: 170px;
  }
}


@media screen and (max-width: 767px) {

  svg{
    height: 100px;
  }

  .greeting {
    background: linear-gradient(180deg, #F9F8F4 0%, #F9F8F4 90%, #FFF 90%, #FFF 100%);
}

  .clinic {
    margin-bottom: 10rem;
    padding-top: 1rem;
  }

  .clinic-item3 {
    margin-top: 3.5rem;
  }

  .clinic-list3 {
    width: 90%;
    font-size: 1.4rem;
    margin: 5rem auto 0;
  }

  .clinic-txt {
    font-size: 1.4rem;
    margin-top: 1rem;
  }

  .clinic-item3:nth-child(n + 3) {
    margin-top: 3rem;
}
}

@media screen and (max-width: 680px) {

  .clinic-item1, .clinic-item2 {
    font-size: 1.3rem;
    width: 180px;
    height: 180px;
    margin-top: 1rem;
  }

  .clinic-decorate2::before {
    top: -58px;
    left: -24px;
    width: 88px;
    height: 105px;
  }

  .clinic-decorate1::before {
    top: -78px;
    right: -5px;
    width: 67px;
    height: 115px;
  }
}


@media screen and (max-width: 500px) {
  .clinic-item1, .clinic-item2 {
    font-size: 1.3rem;
    width: 150px;
    height: 150px;
    margin-right: 1rem;
    margin-top: 0;
  }

  .clinic-list2 {
    margin-top: 0;
  }

  .clinic-decorate1::before {
    top: -77px;
    right: -5px;
    width: 60px;
    height: 104px;
  }

  .clinic-decorate2::before {
    top: -44px;
    left: -14px;
    width: 69px;
    height: 83px;
  }
}