/* ==================================================
   当院の特徴
================================================== */

.about-intro__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  width: 720px;
  max-width: 100%;
  margin: 58px auto 0;
}

.about-intro__photos img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 24px;
}

.about-intro__comfort {
  margin-top: 4px;
  color: #b9d5ef99;
  font-family: "Allison", cursive;
  font-size: 96px !important;
  line-height: 1 !important;
  text-align: right;
}

.about-features {
  padding-top: 120px;
  padding-bottom: 120px;
  background-image: var(--about-texture);
  background-position: center;
  background-size: cover;
}

.about-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.about-feature + .about-feature {
  margin-top: 120px;
}

.about-feature__copy {
  position: relative;
  padding-top: 30px;
}

.about-feature__number {
  position: absolute;
  top: -18px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  color: #c6a86a;
  font-family: "Allison", cursive;
  font-size: 44px !important;
  line-height: 1;
}

.about-feature__number::before {
  content: "";
  width: 145px;
  height: 2px;
  background: #c6a86a;
}

.about-feature__title {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-top: 42px;
}

.about-feature__title img {
  width: 48px;
  height: 54px;
  object-fit: contain;
  border-radius: 0;
}

.about-feature__title h2 {
  color: #0c3d7d;
  font-size: 31px;
  line-height: 1.5;
}

.about-feature__copy > h3 {
  margin-top: 28px;
  color: #2e5ea7;
  font-size: 22px;
  line-height: 1.7;
}

.about-feature__copy > p {
  margin-top: 22px;
  line-height: 1.9;
}

.about-feature__copy ul {
  margin: 28px 0 0;
  padding: 0;
  color: #2e5ea7;
  font-weight: 700;
  list-style: none;
}

.about-feature__copy li {
  position: relative;
  padding-left: 28px;
}

.about-feature__copy li + li {
  margin-top: 14px;
}

.about-feature__copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #86b4e5;
}

.about-feature__visual {
  width: 100%;
  max-height: 490px;
  object-fit: cover;
  border-radius: 24px;
}

.about-feature__hours-visual {
  position: relative;
  margin: 0;
}

.about-feature__hours-table {
  position: absolute;
  right: 6%;
  bottom: 6%;
  left: 6%;
  width: auto;
  max-width: none;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.about-feature__hours-table .top-info__hours-table {
  width: 100%;
  font-size: 12px;
}

.about-feature__reservation,
.about-feature__barrier,
.about-feature__youtube {
  padding: 48px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 20px rgba(31, 54, 86, .07);
}

.about-feature__reservation {
  text-align: center;
}

.about-feature__reservation p {
  color: #2e5ea7;
  font-weight: 700;
}

.about-feature__reservation a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 320px;
  max-width: 100%;
  margin: 18px auto 0;
  padding: 14px 20px;
  border-radius: 18px;
}

.about-feature__reservation a:first-of-type {
  color: #fff;
  background: #f6a530;
}

.about-feature__reservation a:last-of-type {
  color: #2e5ea7;
  background: #fff;
  border: 2px solid #4f8fd4;
}

.about-feature__reservation strong {
  display: block;
  font-size: 23px;
  line-height: 1.35;
}

.about-feature__reservation small {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.about-feature__reservation-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.about-feature__reservation-icon img {
  display: block;
  width: auto;
  height: 30px;
  border-radius: 0;
  object-fit: contain;
}

.about-feature__reservation-link--tel .about-feature__reservation-icon img {
  height: 27px;
}

.about-feature__reservation-label {
  display: block;
}

.about-feature__reservation > span {
  display: block;
  width: 140px;
  height: 2px;
  margin: 28px auto;
  background: #c6a86a;
}

.about-feature__barrier ul {
  margin: 0;
  padding: 0;
  color: #2e5ea7;
  font-weight: 700;
  list-style: none;
}

.about-feature__barrier li {
  position: relative;
  padding-left: 28px;
}

.about-feature__barrier li + li {
  margin-top: 12px;
}

.about-feature__barrier li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #86b4e5;
}

.about-feature__barrier img {
  width: 310px;
  margin: 32px auto 0;
  border-radius: 24px;
}

.about-feature__youtube {
  background: #fffaf1;
}

.about-feature__youtube > p {
  color: #c6a86a;
  font-family: "Allison", cursive;
  font-size: 52px;
  line-height: 1;
}

.about-feature__movie {
  display: grid;
  place-items: center;
  height: 240px;
  margin-top: 8px;
  background: #d9d9d9;
  border-radius: 16px;
}

.about-feature__movie iframe {
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

.about-feature__youtube a {
  display: block;
  width: 220px;
  margin: 24px auto 0;
  padding: 10px 18px;
  color: #c6a86a;
  border: 2px solid #c6a86a;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
}

.about-philosophy__layout {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 100px;
  align-items: center;
  margin-top: 62px;
}

.about-philosophy__layout h3 {
  margin-bottom: 34px;
  color: #2e5ea7;
  font-size: 23px;
  line-height: 1.7;
}

.about-philosophy__layout p + p {
  margin-top: 22px;
}

.about-philosophy__heart {
  color: #c6a86a;
  font-weight: 700;
}

.about-philosophy__layout img {
  width: 440px;
  max-width: 100%;
}

.about-philosophy__photo {
  margin: 0;
}

.about-philosophy__photo img {
  border-radius: 0;
}

.about-philosophy__photo figcaption {
  margin-top: 12px;
  color: #b9d5ef;
  font-family: "Allison", cursive;
  font-size: 52px;
  line-height: .9;
  text-align: right;
}


/* ==================================================
   Tablet
================================================== */

@media screen and (min-width: 768px) and (max-width: 1024px) {

  .about-features {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .about-feature {
    gap: 48px;
  }

  .about-feature + .about-feature {
    margin-top: 80px;
  }

  .about-feature__title h2 {
    font-size: 26px;
  }

  .about-feature__number::before {
    width: 90px;
  }

  .about-feature__hours-table {
    right: 5%;
    bottom: 5%;
    left: 5%;
    width: auto;
    padding: 0;
  }

  .about-feature__reservation,
  .about-feature__barrier,
  .about-feature__youtube {
    padding: 34px;
  }

  .about-philosophy__layout {
    gap: 54px;
  }

}


/* ==================================================
   Smartphone
================================================== */

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

  .about-intro__photos {
    display: block;
    margin-top: 40px;
  }

  .about-intro__photos img {
    height: auto;
  }

  .about-intro__photos img + img {
    margin-top: 20px;
  }

  .about-intro__comfort {
    margin-top: 12px;
    font-size: 48px !important;
    white-space: nowrap;
  }

  .about-features {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .about-feature {
    display: flex;
    flex-direction: column;
    gap: 34px;
    align-items: stretch;
  }

  .about-feature + .about-feature {
    margin-top: 80px;
  }

  .about-feature__copy {
    padding-top: 22px;
  }

  .about-feature__number {
    top: -14px;
    left: 0;
    font-size: 38px;
  }

  .about-feature__number::before {
    width: 72px;
  }

  .about-feature__title {
    gap: 16px;
  }

  .about-feature__title img {
    width: 42px;
    height: 48px;
  }

  .about-feature__title h2 {
    font-size: 24px;
  }

  .about-feature__copy > h3 {
    font-size: 19px;
  }

  .about-feature__visual {
    order: 2;
  }

  .about-feature__hours-visual {
    order: 2;
  }

  .about-feature__hours-table {
    right: 6%;
    bottom: 18px;
    left: 6%;
    width: auto;
    padding: 0;
  }

  .about-feature__hours-table .top-info__hours-table {
    font-size: 9px;
  }

  .about-feature__reservation,
  .about-feature__barrier,
  .about-feature__youtube {
    padding: 30px 22px;
  }

  .about-feature__movie {
    height: 190px;
  }

  .about-philosophy__layout {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 42px;
  }

  .about-philosophy__layout h3 {
    font-size: 20px;
  }

  .about-philosophy__layout img {
    width: 100%;
  }

  .about-philosophy__photo figcaption {
    font-size: 42px;
  }

}


/* ==================================================
   Small Smartphone
================================================== */

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

  .about-feature__reservation,
  .about-feature__barrier,
  .about-feature__youtube {
    padding-right: 18px;
    padding-left: 18px;
  }

  .about-feature__reservation strong {
    font-size: 20px;
  }

}
