@charset "utf-8";

.page-link ul {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}
.page-link ul li {
  padding-top: 0;
  padding-left: 0;
  text-indent: 0;
  width: 25%;
}
.page-link ul li::before {
  content: none;
}
.page-link ul li a {
  width: 100%;
}
@media screen and (max-width: 480px) {
  .page-link ul {
    gap: 15px;
  }
  .page-link ul li {
    width: 50%;
  }
}

/* 院長あいさつ */
#greeting {
  padding: 40px 40px 0 40px;
}
#greeting .flex {
  justify-content: space-between;
  margin-top: 40px;
}
#greeting .flex div {
  width: 60%;
  margin-top: 0;
}
#greeting .flex img {
  width: 40%;
  padding-left: 30px;
}
@media screen and (max-width: 1000px) {
  #greeting .flex {
    flex-direction: column;
    align-items: center;
  }
  #greeting .flex div {
    width: 100%;
  }
  #greeting .flex img {
    width: 50%;
    padding-top: 20px;
    padding-left: 0;
  }
}
@media screen and (max-width: 1000px) {
  #greeting .flex img {
    width: 90%;
  }
}
@media screen and (max-width: 480px) {
  #greeting {
    padding: 30px 15px 0;
  }
}

/* 院内紹介 */
#inside .gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: center;
}
#inside .gallery img {
  border-radius: 20px;
}
#inside .gallery figcaption {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  margin-bottom: 5px;
  padding: 2.5px 0 2.5px 8px;
  border-left: 5px solid #53c59e;
  font-size: 2.2rem;
}
@media screen and (max-width: 480px) {
  #inside .gallery {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  #inside .gallery figcaption {
  font-size: 2rem;
}
}