body {
  position: relative;
}
.event__header,
.event__content,
.event__detail-content,
.school__detail-btn {
  width: 83.3vw;
  margin: 0 auto;
}

/* 背景の紫位置を変える */
.facility-guide::before {
  content: "";
  position: absolute;
  z-index: -10;
  min-height: 138.09vw;
  background: url("../images/A1-bg.webp") no-repeat;
  background-position: -4.2vw 43.4vw;
  background-size: 105.2vw 99.86vw;
  pointer-events: none;
  inset: 0;
}

@media (width <= 767px) {
  .facility-guide::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    min-height: 543.84vw;
    background: url("../images/A1-bg-sp.webp") no-repeat;
    background-position: -33vw 92.8vw;
    background-size: 164.1vw 180.76vw;
    pointer-events: none;
    inset: 0;
  }
}
.main {
  width: 83.3vw;
  margin: 0 auto;
}
.sp {
  display: none;
}

@media (width <= 767px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}
.facility {
  padding-bottom: 17vw;
}
.facility::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 129vw;
  left: 50%;
  width: 100vw;
  height: 15vw;
  background: url("../images/top-bg-WH.webp") no-repeat center;
  background-size: cover;
  pointer-events: none;
  transform: translateX(-50%);
}
.facility__content {
  display: flex;
  flex-direction: column;
  gap: 1.1vw;
  padding-bottom: 5.55vw;
  text-align: center;
}
.facility__catch-copy {
  color: #826190;
  font-size: 3.88vw;
  font-weight: 700;
  line-height: 1.5;
}
.facility__catch-copy-txt {
  color: #000;
  font-size: calc(1.2vw * var(--text-scale));
  font-weight: 400;
  line-height: 1.7;
}
.facility__catch-img {
  width: 83.3vw;
  height: auto;
}
.facility__catch-img.sp {
  display: none;
}
.facility__map {
  position: relative;
}
.facility__hotspot--01 {
  top: 60.7%;
  left: 53.4%;
}
.facility__hotspot--02 {
  top: 69.8%;
  left: 75.7%;
}
.facility__hotspot--03 {
  top: 57.2%;
  left: 70.3%;
}
.facility__hotspot--04a {
  top: 58%;
  left: 74.2%;
}
.facility__hotspot--04b {
  top: 77.8%;
  left: 71%;
}
.facility__hotspot--04c {
  top: 88.1%;
  left: 73.2%;
}
.facility__hotspot--05a {
  top: 69.3%;
  left: 27.4%;
}
.facility__hotspot--05b {
  top: 73.7%;
  left: 38.4%;
}
.facility__hotspot--05c {
  top: 62.8%;
  left: 41.1%;
}
.facility__hotspot--06 {
  top: 74.9%;
  left: 65.9%;
}
.facility__hotspot {
  position: absolute;
  width: 2.5vw;
  height: 2.5vw;
  background: transparent;
  transform: translate(-50%, -50%);
}
.facility__list {
  padding-bottom: 8.33vw;
}
.facility__head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.66vw;
  margin-bottom: 3.3vw;
}
.facility__ttl {
  color: #282828;
  font-size: calc(2.77vw * var(--text-scale));
  font-weight: 700;
  line-height: 1;
}
.facility__line {
  width: 5.55vw;
  height: 2px;
  background: #826190;
}
.facility__grid {
  display: grid;
  gap: 2.77vw 2.08vw;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0;
  list-style: none;
}
.facility__card {
  height: 100%;
}
.facility__link {
  display: block;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.facility__img-wrap {
  position: relative;
}
.facility__number {
  display: flex;
  position: absolute;
  z-index: 2;
  top: 1.11vw;
  left: 1.11vw;
  justify-content: center;
  align-items: center;
  width: 3.47vw;
  height: 3.47vw;
  background: #826190;
  border-radius: 50%;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.53vw;
  font-weight: 700;
  line-height: 1;
}
.facility__img {
  display: block;
  width: 26.4vw;
  height: 15.3vw;
  margin-bottom: 1.1vw;
  object-fit: cover;
  object-position: center;
}
.facility__name {
  margin-bottom: 1.5vw;
  color: #282828;
  font-size: calc(1.66vw * var(--text-scale));
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.facility__body {
  flex: 1;
}
.facility__meta {
  margin-bottom: 8px;
  color: #826190;
  font-size: calc(1.4vw * var(--text-scale));
  font-weight: 700;
  line-height: 1.5;
}
.facility__desc {
  margin-bottom: 1.1vw;
  color: #000;
  font-size: calc(1.2vw * var(--text-scale));
  font-weight: 400;
  line-height: 1.7;
}
.facility__btn {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  margin-top: auto;
}
.facility__dl-list {
  padding-bottom: 8.8vw;
}

@media (width <= 767px) {
  .fv {
    padding: 31.79vw 0 6vw;
  }
  .main {
    width: 89.74vw;
  }
  .facility {
    padding-bottom: 25vw;
  }
  .facility::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 260vw;
    left: 50%;
    width: 100vw;
    height: 15.12vw;
    background: url("../images/top-bg-WH-sp.webp") no-repeat center;
    background-size: cover;
    pointer-events: none;
    transform: translateX(-50%);
  }
  .facility__content {
    gap: 4.1vw;
    padding-bottom: 11vw;
  }
  .facility__catch-copy {
    font-size: 6.15vw;
  }
  .facility__catch-copy-txt {
    font-size: 4.1vw;
    line-height: 1.5;
  }
  .facility__catch-img.sp {
    display: block;
    width: 89.74vw;
    height: auto;
  }
  .facility__catch-img.pc {
    display: none;
  }
  .facility__hotspot {
    display: none;
  }
  .facility__list {
    padding-bottom: 14.35vw;
  }
  .facility__head {
    gap: 6.15vw;
    margin-bottom: 10.25vw;
  }
  .facility__ttl {
    font-size: 7.17vw;
  }
  .facility__line {
    width: 12.3vw;
  }
  .facility__grid {
    gap: 10.25vw;
    grid-template-columns: repeat(1, 1fr);
  }
  .facility__number {
    top: 3.2vw;
    left: 3.2vw;
    width: 11.73vw;
    height: 11.73vw;
    font-size: 5.87vw;
  }
  .facility__img {
    width: 89.7vw;
    height: 49.7vw;
    margin-bottom: 4.1vw;
  }
  .facility__name {
    margin-bottom: 4.1vw;
    font-size: 6.15vw;
  }
  .facility__meta {
    margin-bottom: 8px;
    font-size: 4.6vw;
  }
  .facility__desc {
    margin-bottom: 3.5vw;
    font-size: 4.1vw;
  }
  .facility__dl-list {
    padding-bottom: 23.3vw;
  }
}

/* facility-category */

//* =========================
facility
  spec
  =========================
  */
  .facility-category
  .facility__content {
  padding-bottom: 3.33vw;
}
.facility__spec {
  margin-bottom: 8.33vw;
}
.facility__spec-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 2.08vw 4.16vw;
}
.facility__spec-card {
  box-sizing: border-box;
  width: 38.9vw;
  padding: 1.67vw 5vw 1.67vw 1.67vw;
  background: #f7f4f9;
}
.facility__spec-ttl {
  margin: 0 0 0.4vw;
  color: #826190;
  font-size: calc(1.67vw * var(--text-scale));
  font-weight: 700;
  line-height: 1.4;
}
.facility__spec-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.facility__spec-list li {
  position: relative;
  padding-left: 1.67vw;
  margin: 0;
  color: #000;
  font-size: calc(1.2vw * var(--text-scale));
  font-weight: 400;
  line-height: 1.7;
}
.facility__spec-list li + li {
  margin-top: 0.07vw;
}
.facility__spec-list li::before {
  content: "";
  position: absolute;
  top: 0.9vw;
  left: 0.69vw;
  width: 0.28vw;
  height: 0.28vw;
  background: #000;
  border-radius: 50%;
}
.facility-category .facility__grid {
  gap: 3.33vw 2.08vw;
}
.facility-category .facility__name .small {
  font-size: calc(1.11vw * var(--text-scale));
}

/* SP */
@media (width <= 768px) {
  .facility-category .facility__content {
    padding-bottom: 10.2vw;
  }
  .facility__spec {
    margin-bottom: 18.4vw;
  }
  .facility__spec-wrap {
    gap: 3.08vw;
  }
  .facility__spec-card {
    width: 100%;
    height: auto;
    padding: 6.16vw;
  }
  .facility__spec-ttl {
    margin-bottom: 1.5vw;
    font-size: 6.15vw;
    line-height: 1.4;
  }
  .facility__spec-list li::before {
    top: 2.3vw;
    left: 2.69vw;
    width: 1.03vw;
    height: 1.03vw;
  }
  .facility__spec-list li {
    padding-left: 6.9vw;
    font-size: 4.1vw;
  }
  .facility-category .facility__head {
    gap: 2.6vw;
  }
  .facility-category .facility__line {
    width: 11.8vw;
  }
  .facility-category .facility__grid {
    gap: 8.21vw;
  }
  .facility-category .facility__list {
    padding-bottom: 22.4vw;
  }
  .facility-category .facility__list.facility__list--second {
    padding-bottom: 10.3vw;
  }
  .facility-category .facility__img {
    margin-bottom: 5.13vw;
  }
  .facility-category .facility__name {
    font-size: 5.13vw;
  }
  .facility-category .facility__name .small {
    font-size: 5.13vw;
  }
}

/* facility-category */
.fv-no-img {
  padding: 9vw 0 2vw;
}

/* =============================
   タブ
============================= */

.facility-detail__tabs {
  margin-bottom: 6.94vw;
}
.facility-detail__tab-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2vw;
  padding: 0;
  margin: 0;
  list-style: none;
}
.facility-detail__tab a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 13.6vw;
  height: 3.82vw;
  padding: 0 0.97vw;
  background: #fff;
  border: 1px solid #826190;
  border-radius: 0.21vw;
  color: #826190;
  font-family: YuGothic, sans-serif;
  font-size: calc(1.39vw * var(--text-scale));
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.facility-detail__tab a .small {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: calc(1.11vw * var(--text-scale));
}
.facility-detail__tab.is-active a {
  background: #8b6a9b;
  color: #fff;
}
.facility-detail__tab a:hover {
  background: #8b6a9b;
  color: #fff;
}

/* =============================
   タイトル
============================= */

.facility-detail .content__ttl-en {
  margin-bottom: 1.11vw;
  text-align: center;
}
.facility-detail .content__ttl-ja {
  margin-bottom: 1.67vw;
  text-align: center;
}
.facility-detail .facility__content {
  padding-bottom: 3.33vw;
  text-align: center;
}

/* =============================
   メイン画像
============================= */

.facility-detail__main-img {
  margin-bottom: 4.17vw;
}
.facility-detail__main-img img {
  width: 83.3vw;
  height: 32.2vw;
  object-fit: cover;
  object-position: center;
}

/* =============================
   画像グリッド
============================= */

.facility-detail__grid {
  display: grid;
  gap: 2.78vw;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 6.94vw;
}
.facility-detail__item img {
  display: block;
  width: 40.3vw;
  height: 22.6vw;
  object-fit: cover;
  object-position: center;
}
.facility-detail__caption {
  margin-top: 1.11vw;
  color: #282828;
  font-family: YuGothic, sans-serif;
  font-size: calc(1.11vw * var(--text-scale));
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

/* =============================
   SP
============================= */

@media (width <= 767px) {
  .fv-no-img {
    padding: 17vw 0 10.3vw;
  }
  .facility-detail__tab-list {
    gap: 2.56vw 4.5vw;
  }
  .facility-detail__tabs {
    margin-bottom: 10.3vw;
  }
  .facility-detail__tab a {
    flex-direction: row;
    width: 42.1vw;
    height: 10.8vw;
    padding: 0;
    border-radius: 0.77vw;
    font-size: 5.13vw;
    line-height: 1;
  }
  .facility-detail__tab:last-of-type a {
    width: 89.2vw;
  }
  .facility-detail__tab a .small {
    font-size: 5.13vw;
  }
  .facility-detail .content__ttl-ja {
    padding-bottom: 0;
    padding-bottom: 6.15vw;
  }
  .facility-detail .facility__content {
    padding-bottom: 10.3vw;
  }
  .facility-detail__grid {
    gap: 6.15vw;
    grid-template-columns: 1fr;
    margin-bottom: 14.4vw;
  }
  .facility-detail__item img {
    width: 89.7vw;
    height: 61.5vw;
  }
  .facility-detail__main-img {
    height: 61.5vw;
    margin-bottom: 8vw;
  }
  .facility-detail__main-img img {
    width: 89.7vw;
    height: 61.5vw;
    border-radius: 1.28vw;
    object-fit: cover;
  }
  .facility-detail__caption {
    margin-top: 5.13vw;
    font-size: 4.1vw;
  }
}
