.c-keep-word, .c-keep-word-pc {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.c-keep-word span, .c-keep-word-pc span {
  display: inline-block;
}
@media (max-width: 767px) {
  .c-keep-word-pc {
    word-break: normal;
    overflow-wrap: normal;
  }
  .c-keep-word-pc span {
    display: inline;
  }
}

/* --------------------------------------------------------- *
 *  modification
 * --------------------------------------------------------- */
img {
  image-rendering: auto;
}

@media (min-width: 768px) {
  .c-keep-word-pc {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}

.l-menu__sub__text .mini {
  font-size: 0.75em;
}

/* --------------------------------------------------------- *
 *  header
 * --------------------------------------------------------- */
.l-header .l-header__logo > img {
  max-width: 25rem;
}
@media (max-width: 525px) {
  .l-header .l-header__logo > img {
    max-width: 100%;
  }
}

/* --------------------------------------------------------- *
 *  footer
 * --------------------------------------------------------- */
/* --------------------------------------------------------- *
 *  top
 * --------------------------------------------------------- */
@media (min-width: 1025px) {
  .p-mv-section .p-mv-section__catch {
    width: 45%;
    margin-left: -2.5%;
    padding-bottom: 6%;
  }
}
@media (max-width: 1024px) {
  .p-mv-section .p-mv-section__catch {
    width: 100%;
    margin-left: 0;
    padding-inline: 0;
  }
}
@media (max-width: 525px) {
  .p-mv-section .p-mv-section__catch {
    margin-top: -8rem;
  }
}
.p-mv-section .p-catch__image {
  filter: none;
  max-width: 15em;
  max-height: 15em;
}

.p-info-section .p-info-section__inner:not(:has(.p-info-section__tabs)) .p-info-section__header {
  margin-top: 0;
}

.p-apo-section .p-apo-section__body:has(> :only-child) {
  --column-count: 1;
  max-width: 74rem;
  margin-left: auto;
  margin-right: auto;
}

.p-service .p-service__image {
  width: 70cqw;
}
.p-service .p-service__name .mini {
  font-size: 0.75em;
}

/* --------------------------------------------------------- *
 *  services
 * --------------------------------------------------------- */
.p-menu .p-menu__image {
  width: 3.2em;
}
@media (max-width: 525px) {
  .p-menu .p-menu__image {
    width: 2.35em;
  }
}
.p-menu .p-menu__name .mini {
  font-size: 0.75em;
}

.p-subject .p-subject__name {
  max-width: none;
}
.p-subject .p-subject__content .c-paragraph:has(+ .p-subject__note-list) {
  margin-bottom: 1.5em;
}
.p-subject .p-subject__content .c-paragraph:has(+ .p-subject__subcontent) {
  margin-bottom: 5rem;
}
.p-subject .p-subject__subcontent:not(:last-child) {
  margin-bottom: 5rem;
}
.p-subject .p-subject__subheader {
  width: fit-content;
  margin-bottom: 1rem;
  padding: calc(0.75em - (1lh - 1em) / 2) 1.75em;
  text-align: center;
  color: var(--color-text-contrast);
  background-color: var(--color-primary);
  border-radius: var(--infinity);
}

.p-collab .p-collab__intro {
  text-align: center;
}
@media (max-width: 767px) {
  .p-collab .p-collab__intro {
    text-align: start;
  }
}
.p-collab .p-collab__item:only-child {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------- *
 *  staff
 * --------------------------------------------------------- */
@media (max-width: 767px) {
  .p-philosophy .p-philosophy__content .c-paragraph {
    text-align: start;
  }
}

@media (max-width: 767px) {
  .p-group .p-group__message {
    text-align: start;
  }
}
.p-group .p-group:has(.p-member-section__heading) .p-member-section .p-group .p-group:has(.p-member-section__heading) .p-member-section__heading {
  margin-bottom: 0;
}
.p-group .p-group:has(.p-member-section__heading) .p-group__body {
  margin-top: 5rem;
}

@media (max-width: 767px) {
  .p-recruit .p-recruit__message {
    text-align: start;
  }
}

/* --------------------------------------------------------- *
 *  facilities
 * --------------------------------------------------------- */
.p-main-section:has(.p-gallery) {
  overflow-x: clip;
}

@media (max-width: 767px) {
  .p-content.u-gap--0 {
    gap: 0;
  }
}

/* --------------------------------------------------------- *
 *  equipments
 * --------------------------------------------------------- */
@media (max-width: 767px) {
  .p-emergency-section .p-emergency-section__intro {
    text-align: start;
  }
}
.p-emergency-section .p-emergency-section__list:has(> :nth-child(2):last-child), .p-emergency-section .p-emergency-section__list:has(> :nth-child(4):last-child) {
  --column-count: 2;
}
@media (max-width: 525px) {
  .p-emergency-section .p-emergency-section__list:has(> :nth-child(2):last-child), .p-emergency-section .p-emergency-section__list:has(> :nth-child(4):last-child) {
    --column-count: 1;
  }
}

/* --------------------------------------------------------- *
 *  access
 * --------------------------------------------------------- */
.p-map__image {
  display: block;
  width: 80%;
  height: unset;
  margin-inline: auto;
  border-radius: var(--c-image-radius-sm);
  /*
  object-fit: cover;
  @include breakpoint-min(lg) {
  	width: 80%;
  	aspect-ratio: 1 / 0.72;
  }

  @include breakpoint-max(lg) {
  	width: 100%;
  	aspect-ratio: 1 / 1;
  }
  */
}
@media (max-width: 1024px) {
  .p-map__image {
    width: 100%;
  }
}

/* --------------------------------------------------------- *
 *  pattern
 * --------------------------------------------------------- */

/*# sourceMappingURL=style.css.map */
