/*
**  Bg
*/

.target,
.unuseable {
  position: relative;
}

.target::before,
.target::after,
.unuseable::before,
.unuseable::after {
  content: '';
  position: absolute;
  display: block;
  background-size: contain;
}

.target::before,
.unuseable::before {
  z-index: -1;
  width: 6rem;
  height: 3rem;
  background-image: url(../image/common/illust_flower.png);
  background-position: center;
  background-repeat: no-repeat;
}

.target::after,
.unuseable::after {
  z-index: -2;
  background-image:
    linear-gradient(transparent 50%, #fff),
    url(../image/sick_child_care/bg_pattern.jpg);
  background-repeat: repeat;
  mask-repeat: no-repeat;
  mask-position: top center;
  mask-size: 100%;
}


/*
**  .about
*/

.about__contents {
  display: grid;
  grid-template-columns: 100%;
  grid-auto-rows: max-content;
  grid-row-gap: 2rem;
}

.about__text {
  display: grid;
  grid-template-columns: 100%;
  grid-auto-rows: max-content;
  grid-row-gap: 1rem;
}

.about__text-policy {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--main);
  line-height: 1.5;
}

.about__text-policy span {
  display: inline-block;
}

.about__text-description p + p {
  margin-top: 1rem;
}

.about__text-description-link {
  color: var(--link);
  text-decoration: underline;
}

.about__text-guide {
  display: grid;
  grid-template-columns: max-content minmax(auto, 9rem);
  grid-auto-rows: max-content;
  justify-content: center;
  align-items: center;
}

.about__image {
  max-width: 35rem;
  margin-left: auto;
  margin-right: auto;
}


/*
**  .target
*/

.target::before {
  top: -4.5rem;
  right: 0.5rem;
}

.target::after {
  top: -4.5rem;
  right: 0;
  width: 33.3%;
  height: 53.3vw;
  mask-image: url(../image/common/bg_section-mask_r@sm.svg);
}


/*
**  .sick-genre
**  .unuseable
*/

.unuseable::before {
  top: -4.5rem;
  left: 0.5rem;
  transform: scale(-1, 1);
}

.unuseable::after {
  top: -4.5rem;
  left: 0;
  width: 97.3%;
  height: 147.7vw;
  mask-image: url(../image/common/bg_section-mask_l.svg);
}

.sick-genre__text,
.unuseable__text {
  margin-bottom: 1rem;
}

.sick-genre__list,
.unuseable__list {
  grid-row-gap: 0.5rem;
  line-height: 1.25;
  margin-left: 1em;
}


/*
**  .facility
*/

.facility__list {
  display: grid;
  grid-template-columns: 100%;
  grid-auto-rows: max-content;
  grid-row-gap: 3rem;
}

.facility__item {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 1fr max-content;
  grid-row-gap: 2rem;
}

.facility__item-information {
  display: grid;
  grid-template-columns: 100%;
  grid-auto-rows: max-content;
  grid-row-gap: 1.5rem;
}

.facility__item-information-summary {
  display: grid;
  grid-template-columns: 100%;
  grid-auto-rows: max-content;
  grid-row-gap: 0.5rem;
  line-height: 1.25;
}

.facility__item-information-summary-headline,
.facility__item-information-summary-tel a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--main);
}

.facility__item-image {
  text-align: center;
  padding-left: 17.7%;
  padding-right: 17.7%;
}

.facility__item-image img {
  max-width: 35rem;
}

.facility__item-map {
  width: 100%;
  height: min(40rem, calc(var(--wrap-size) * 100vw));
}

.facility__item-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}