@charset 'UTF-8';
.common-mv {
  background-image: url(../images/mv.jpg);
}

.greeting {
  margin: 68px 0 0;
}

.greeting .block {
  display: flex;
  margin-top: 32px;
}

.greeting .block img {
  flex: 0 0 208px;
  width: 208px;
  height: 263px;
  object-fit: cover;
}

.greeting .block .text p {
  line-height: 2;
  margin: 0;
}

.greeting .block .text p + p {
  margin-top: 20px;
}

.greeting .block .text p span {
  font-size: 1.4285714285714286em;
}

.greeting .block .text p a {
  color: #383838;
  text-decoration: underline;
}

.greeting .block .text .source {
  margin: 41px 0 0;
  padding: 26px 30px;
  background-color: #F4F4F4;
}

.greeting .block .text .source p {
  position: relative;
  margin: 0;
  padding-left: 34px;
  font-size: 0.9375em;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.greeting .block .text .source p::before {
  position: absolute;
  top: 5px;
  left: -2px;
  width: 22px;
  height: 17px;
  background: url(../images/icon-source.svg) center center / 22px 17px no-repeat;
  content: "";
}

.greeting .block .text .source + .source {
  margin: 12px 0 0;
}

.greeting .block .text .source + p {
  margin: 16px 2px 0 0;
  font-size: 0.875em;
  line-height: 1.6;
  text-align: right;
}

.greeting .block .text .source + p + p{
  margin-top: 42px;
}

.facility-info {
  margin: 54px 0 0;
}

.facility-info .clinic-list ul {
  margin: 0;
  padding: 0;
}

.facility-info .clinic-list ul li {
  margin-top: 32px;
}

.facility-info .clinic-list ul li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--main-color-black);
  box-shadow: 0 0 20px #00000014;
}

.facility-info .clinic-list ul li a .img {
  overflow: hidden;
}

.facility-info .clinic-list ul li a img {
  max-width: 270px;
  transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1);
}

.facility-info .clinic-list ul li a .text {
  padding-left: 52px;
}

.facility-info .clinic-list ul li a .text h3 {
  position: relative;
  font-size: 1.25em;
  font-weight: 400;
}

.facility-info .clinic-list ul li a .text h3::before {
  position: absolute;
  width: 10px;
  bottom: -14px;
  border-top: 1px solid var(--main-color-green);
  content: "";
}

.facility-info .clinic-list ul li a .text p {
  margin: 37px 0 0;
  font-size: 0.875em;
}

.profile {
  margin: 120px 0 0;
}

.profile .inner .data {
  margin: 45px 0 0;
}

.profile .inner .data dl {
  display: flex;
  margin: 0;
  padding: 24px 0 26px;
  border-top: 1px solid #f4f4f4;
}

.profile .inner .data dl:last-child {
  border-bottom: 1px solid #f4f4f4;
}

.profile .inner .data dl dt {
  width: 124px;
  color: #a7a7a7;
  text-align: center;
}

.profile .inner .data dl dd {
  flex: 1;
  margin-left: 47px;
}

.profile .inner .data dl dd .address-detail + .address-detail {
  margin-top: 31px;
}

.profile .inner .data dl dd .address-detail h3 {
  position: relative;
  font-size: 1em;
  font-weight: 500;
}

.profile .inner .data dl dd .address-detail h3 + p {
  margin: 10px 0 0;
  line-height: 1.7;
}

.profile .inner .data dl dd .address-detail p {
  margin: 0;
  font-size: 0.875em;
}

.profile .inner .data dl dd .address-detail p .tel {
  display: block;
  margin: -2px 0 0;
  font-size: 1.0714285714285714em;
}

.profile .inner .data dl dd .address-detail .link {
  margin-left: 22px;
}

.profile .inner .data dl dd ul {
  margin: 0;
  padding: 0;
}

.profile .inner .data dl dd ul li {
  line-height: 2.5;
}

@media screen and (min-width: 769px) {
  .greeting .block .text p a:hover {
    text-decoration: none;
  }
  
  .facility-info .clinic-list ul li a:hover {
    box-shadow: 0 0 20px #00000008;
  }

  .facility-info .clinic-list ul li a:hover img {
    transform: scale(1.1);
  }
}

@media screen and (max-width: 768px) {
  .wrap {
    padding: 0 20px;
  }

  .common-mv {
    background-image: url(../images/mv_sp.jpg);
  }

  .greeting {
    margin: 32px 0 0;
  }

  .greeting .block {
    display: block;
    margin-top: 30px;
  }

  .greeting .block img {
    display: block;
    margin: 0 auto;
  }

  .greeting .block .text {
    margin-top: 26px;
    margin-left: 0;
  }

  .greeting .block .text p + p {
    margin-top: 15px;
  }

  .greeting .block .text p + p:last-child {
    margin-top: 23px;
  }

  .greeting .block .text p span {
    font-size: 1.1428571428571428em;
  }

  .greeting .block .text .source {
    margin: 34px 0 0;
    padding: 20px 22px;
  }

  .greeting .block .text .source p::before {
    left: -7px;
  }

  .greeting .block .text .source + p {
    margin: 14px 7px 0;
    text-align: left;
  }

  .greeting .block .text .source + p + p {
    margin-top: 32px;
  }

  .facility-info {
    margin: 71px 0 0;
  }

  .facility-info .clinic-list ul li {
    margin-top: 27px;
  }

  .facility-info .clinic-list ul li + li {
    margin-top: 38px;
  }

  .facility-info .clinic-list ul li a {
    display: block;
  }

  .facility-info .clinic-list ul li .img {
    width: 100%;
    height: 205px;
  }

  .facility-info .clinic-list ul li a img {
    width: 100%;
    max-width: none;
    object-fit: cover;
  }

  .facility-info .clinic-list ul li a .text {
    padding-left: 21px;
    padding-bottom: 23px;
  }

  .facility-info .clinic-list ul li a .text h3 {
    margin-top: 22px;
    font-size: 1em;
    line-height: 1.8;
  }

  .facility-info .clinic-list ul li a .text h3::before {
    bottom: -5px;
  }

  .facility-info .clinic-list ul li a .text p {
    margin: 21px 0 0;
    font-size: 0.75em;
    line-height: 1.8;
  }

  .profile {
    margin: 76px 0 0;
    padding-bottom: 20px;
  }

  .profile .inner .data {
    margin-top: 24px;
  }

  .profile .inner .data dl {
    display: block;
    padding: 20px 3px 18px;
  }

  .profile .inner .data dl dt,
  .profile .inner .data dl dd {
    width: 100%;
    text-align: left;
  }

  .profile .inner .data dl dd {
    margin: 7px 0 0;
    line-height: 1.7;
  }

  .profile .inner .data dl dd .address-detail h3 + p {
    line-height: 1.5;
    margin: 9px 0 0;
  }

  .profile .inner .data dl dd .address-detail p .tel {
    margin: 1px 0 0;
    line-height: 1.3;
  }

  .profile .inner .data dl dd .address-detail .link {
    margin-top: 2px;
  }

  .profile .inner .data dl dd .address-detail + .address-detail {
    margin-top: 24px;
  }
}
