.fa-head__inner {
  padding-top: 1rem;
  padding-bottom: 12rem;
  display: flex;
  align-items: center;
}

.fa-head__main {
  flex: 1;
  padding-top: 2.6rem;
}

.fa-head__ttl {
  margin-bottom: 2rem;
  font-size: var(--f32);
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.fa-head__ttl-or {
  font-size: var(--f40);
  color: #ED6822;
}

.fa-head__mes {
  width: 46.2rem;
}

.fa-head__img {
  width: 56.2rem;
  overflow: hidden;
  border-radius: 1rem;
}

@media screen and (max-width: 767px) {
  .fa-head__inner {
    padding-top: 0rem;
    padding-bottom: 8rem;
    display: block;
  }
  .fa-head__main {
    padding-top: 0rem;
  }
  .fa-head__mes {
    width: auto;
  }
  .fa-head__img {
    width: auto;
    margin-top: 2rem;
  }
}
/* ---------------------  */
/* ---------------------  */
.fa-map__btn {
  display: flex;
}

.fa-map__btn li {
  width: 15.5rem;
}

.fa-map__btn a {
  display: block;
  position: relative;
  z-index: 1;
}

.fa-map__btn img {
  width: 100%;
}

.fa-map__btn span {
  display: block;
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--f20);
  line-height: 1.3;
  color: #ED6822;
}

.fa-map__btn a.active {
  --icon-number-color: #FDEBD7;
}

.fa-map__tab {
  background: #fdebd7;
  padding: 2rem;
  border-radius: 0 2rem 2rem 2rem;
}

.fa-map__box {
  display: none;
  background: #fff;
}

.fa-map__box img {
  width: 100%;
}

.fa-map__box.active {
  display: block;
}

@media screen and (max-width: 767px) {
  .fa-map__btn {
    width: 93%;
  }
  .fa-map__btn li {
    width: 13.5rem;
  }
  .fa-map__tab {
    padding: 1rem;
  }
  .fa-map__box {
    overflow: hidden;
    border-radius: 1rem;
  }
}
/* ---------------------  */
.fa-photo__box {
  padding-top: 11.7rem;
  padding-bottom: 11.7rem;
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.fa-photo__box:nth-child(even):before {
  content: "";
  z-index: -1;
  position: absolute;
  background: #FEF6EE;
  border-radius: 5rem;
  top: 0;
  bottom: 0;
  left: -7rem;
  right: -7rem;
}

.fa-photo__box:last-child {
  padding-bottom: 0;
}

.fa-photo__ttl {
  display: flex;
  font-weight: 700;
  font-size: var(--f28);
  line-height: 1;
  color: #ED6822;
  width: 11.7rem;
  margin-top: -0.6rem;
}

.fa-photo__main {
  flex: 1;
}

.fa-photo__list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 7.5rem 3rem;
}

.fa-photo__list + .fa-photo__list {
  margin-top: 7.5rem;
}

.fa-photo__list-img {
  aspect-ratio: 323/216;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.fa-photo__list-ttl {
  display: flex;
  align-items: flex-start;
  gap: 0 1rem;
  margin-bottom: 1.3rem;
  font-size: var(--f20);
  line-height: 1.5;
}

.fa-photo__list-no {
  display: inline-block;
  width: 20px;
  line-height: 20px;
  text-align: center;
  background: #222;
  color: #fff;
  font-weight: 400;
  border-radius: 10rem;
  margin-top: 3px;
}

.fa-photo__list-mes {
  font-size: var(--f14);
  line-height: 1.7;
}

@media screen and (max-width: 767px) {
  .fa-photo__box {
    display: block;
    padding-top: 5.7rem;
    padding-bottom: 5.7rem;
  }
  .fa-photo__box:nth-child(even):before {
    left: -1rem;
    right: -1rem;
    border-radius: 0;
  }
  .fa-photo__ttl {
    width: auto;
    margin-bottom: 2rem;
  }
  .fa-photo__list {
    grid-template-columns: 1fr 1fr;
    gap: 4rem 1rem;
  }
  .fa-photo__list + .fa-photo__list {
    margin-top: 4rem;
  }
  .fa-photo__list-img {
    margin-bottom: 1rem;
  }
  .fa-photo__list-ttl {
    margin-bottom: 0.3rem;
  }
  .fa-photo__list-no {
    width: 2rem;
    line-height: 2rem;
    margin-top: 0.1rem;
  }
}
/* ---------------------  */
.fa-event__inner {
  position: relative;
  z-index: 1;
}

.fa-event__list {
  display: flex;
  gap: 8rem;
  padding-top: 9.5rem;
  padding-bottom: 7rem;
  position: relative;
  z-index: 1;
}

.fa-event__arrow {
  position: absolute;
  z-index: 1;
  background: url(../img/event/arrow.svg) 0 0 no-repeat;
  background-size: cover;
  width: 3.6rem;
  height: 2.4rem;
  right: calc(-7rem + 3px);
  bottom: 0;
  transform: translate(50%, 0);
}

.fa-event__bg {
  position: absolute;
  z-index: -10;
  background: #ccc;
  top: 0;
  left: -11.7rem;
  right: -11.7rem;
  bottom: 0;
  background: #FEF6EE;
}

.fa-event__list:before {
  content: "";
  z-index: -1;
  position: absolute;
  border: 6px dashed #F6B27B;
  border-left: none;
  border-bottom: none;
  border-radius: 0 2rem 0 0;
  top: 10rem;
  bottom: 0;
  right: -7rem;
  left: 0;
}

.fa-event__list:after {
  content: "";
  z-index: -2;
  position: absolute;
  border: 6px dashed #F6B27B;
  border-right: none;
  border-top: none;
  border-radius: 0 0 0 2rem;
  top: -6px;
  left: -7rem;
  height: calc(10rem + 12px);
  width: calc(7rem + 6px);
}

.fa-event__list:nth-child(even) .fa-event__bg {
  background: #FEF1E3;
}

.fa-event__list:nth-child(even) .fa-event__arrow {
  left: calc(-7rem + 3px);
  right: auto;
  transform: translate(-50%, 0);
}

.fa-event__list:nth-child(even):before {
  border-left: 6px dashed #F6B27B;
  border-right: none;
  border-radius: 2rem 0 0 0;
  left: -7rem;
  right: 0;
}

.fa-event__list:nth-child(even):after {
  border-right: 6px dashed #F6B27B;
  border-left: none;
  border-radius: 0 0 2rem 0;
  left: auto;
  right: -7rem;
}

.fa-event__list:nth-child(even) {
  flex-direction: row-reverse;
}

.fa-event__list:first-child {
  padding-top: 12rem;
}

.fa-event__list:first-child:after {
  display: none;
}

.fa-event__list:first-child:before {
  top: 12.2rem;
}

.fa-event__list:last-child {
  padding-bottom: 12rem;
}

.fa-event__list:last-child .fa-event__arrow {
  bottom: 10rem;
}

.fa-event__list:first-child .fa-event__bg {
  border-radius: 2rem 2rem 0 0;
}

.fa-event__list:last-child .fa-event__bg {
  border-radius: 0 0 2rem 2rem;
}

.fa-event__list:nth-child(1) {
  z-index: 26;
}

.fa-event__list:nth-child(2) {
  z-index: 25;
}

.fa-event__list:nth-child(3) {
  z-index: 24;
}

.fa-event__list:nth-child(4) {
  z-index: 23;
}

.fa-event__list:nth-child(5) {
  z-index: 22;
}

.fa-event__list:nth-child(6) {
  z-index: 21;
}

.fa-event__list:nth-child(7) {
  z-index: 20;
}

.fa-event__box {
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 5.3rem 0 0;
}

.fa-event__mm {
  position: absolute;
  z-index: 1;
  top: -1.4rem;
  left: 0;
  width: 7.9rem;
  height: 4.1rem;
  background: #FFFFFF;
  border: 3px solid #F18846;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--f20);
  color: #F18846;
}

.fa-event__data li {
  padding-left: 18px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.fa-event__data li:before {
  content: "";
  z-index: 1;
  position: absolute;
  background: #ED6822;
  width: 5px;
  height: 5px;
  top: 8px;
  left: 6px;
  border-radius: 10rem;
}

.fa-event__img {
  margin-top: 3.5rem;
  overflow: hidden;
  border-radius: 1rem;
}

.fa-event__mes {
  font-size: var(--f14);
  margin-top: 0.5rem;
}

@media screen and (max-width: 767px) {
  .fa-event__list {
    display: grid;
    padding: 7rem 1rem 7rem !important;
    gap: 5rem;
  }
  .fa-event__arrow {
    right: auto;
    left: calc(2rem + 2px) !important;
    transform: translate(-50%, 0px);
    bottom: !important;
  }
  .fa-event__bg {
    left: -0.7rem;
    right: -0.7rem;
  }
  .fa-event__list:before {
    border-right: none !important;
    border-left: 4px dashed #F6B27B !important;
    right: auto !important;
    left: 2rem !important;
    top: 0;
    border-radius: 0 !important;
  }
  .fa-event__list:after {
    display: none;
  }
  .fa-event__list:first-child:before {
    top: 6rem;
  }
  .fa-event__box {
    padding: 3.8rem 0 0 4rem;
  }
  .fa-event__mm {
    width: 6.9rem;
    height: 3.4rem;
    border-width: 2px;
  }
  .fa-event__data li {
    padding-left: 1.8rem;
  }
  .fa-event__data li:before {
    width: 0.5rem;
    height: 0.5rem;
    top: 0.8rem;
    left: 0.6rem;
  }
  .fa-event__img {
    margin-top: 1.5rem;
  }
}
/*# sourceMappingURL=schoollife-facility.css.map */
