.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;
  }
}

/* --------------------------------------------------------- *
 *  header
 * --------------------------------------------------------- */
/* --------------------------------------------------------- *
 *  footer
 * --------------------------------------------------------- */
/* --------------------------------------------------------- *
 *  top
 * --------------------------------------------------------- */
@media (max-width: 1199px) {
  .p-mv-section {
    margin-bottom: 0 !important;
  }
}
@media (min-width: 1200px) {
  .p-mv-section .p-mv-section__catch {
    width: fit-content;
    margin-left: 4%;
    padding-bottom: 0;
  }
}
@media (max-width: 1199px) {
  .p-mv-section .p-mv-section__catch {
    width: 100%;
    margin-top: -15rem;
    margin-left: 0;
    padding-inline: 0;
  }
}
@media (max-width: 575px) {
  .p-mv-section .p-mv-section__catch {
    margin-top: -6rem;
  }
}
.p-mv-section .p-catch__image {
  filter: none;
  max-width: 9em;
}
@media (max-width: 1199px) {
  .p-mv-section .p-catch__image {
    max-width: 10em;
  }
}

.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;
}

/* --------------------------------------------------------- *
 *  services
 * --------------------------------------------------------- */
.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-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;
}

/* --------------------------------------------------------- *
 *  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: 575px) {
  .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
 * --------------------------------------------------------- */
/* --------------------------------------------------------- *
 *  pattern
 * --------------------------------------------------------- */

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