@charset "utf-8";

/* * {
  outline: 1px solid magenta;
} */

/* ==========================　ここからmain　=============================== */

.btnList {
  display: flex;
  justify-content: center;
  /* padding: 0 20px; */
  margin: 40px;
}

.btnList li {
  width: 1000%;
  max-width: 165px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: solid 1px #8d8d8d;
  color: #8d8d8d;
  cursor: pointer;
  padding-bottom: 20px;
  font-size: clamp(0.75rem, 0.614rem + 0.68vw, 1.125rem);
  margin-right: 13px;
  transition: all 0.3s ease;
}

.btnList li:last-child {
  margin-right: 0;
}



.btnList li.active {
  /* background: rgba(75, 118, 227, 0.8); */
  color: #1f1f1f;
  border-bottom: solid 2px #1f1f1f;
  font-size: 120%;
}

.facilityList {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 120px;
  display: none;
}

.facilityList.active {
  display: grid;
}

.facilityList li {
  position: relative;
}

.facilityList li .info {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.6s ease;
}

.facilityList li:hover .info {
  opacity: 1;
}

.facilityList li .info .name {
  font-size: 16px;
  margin-bottom: 5px;
}

.facilityList li .info .infoAdd {
  font-size: 12px;
  padding-top: 5px;
  text-align: center;
  line-height: 1.5;
}


.sp01,
.sp02,
.sp03,
.sp04,
.sp05,
.sp06,
.sp07,
.sp08,
.sp09,
.sp10,
.sp11,
.sp12,
.infoBr {
  display: none;
}

/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 1390px) {
  .facilityList {
    grid-template-columns: repeat(3, 1fr);
  }


  .p01,
  .p02,
  .p03,
  .p04,
  .p05,
  .p06,
  .p07,
  .p08,
  .p09,
  .p10,
  .p11,
  .p12 {
    display: none;
  }

  .sp01,
  .sp02,
  .sp03,
  .sp04,
  .sp05,
  .sp06,
  .sp07,
  .sp08,
  .sp09,
  .sp10,
  .sp11,
  .sp12,
  .infoBr {
    display: block;
  }
}

/*-------------------------------------------
スマートフォン
-------------------------------------------*/
@media screen and (max-width: 767px) {
  .btnList {
    margin-bottom: 20px;
    /* font-size: 70%; */
  }

  .btnList li {
    /* font-size: 83%; */
    margin-right: 20px;
    padding-bottom: 40px;
  }

  .facilityList {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 60px;
  }

  .btnList li:hover {
    /* background: rgba(0, 0, 0, 0.2); */
    color: #1f1f1f;

  }

  .btnList li.active {
    /* background: rgba(75, 118, 227, 0.8); */
    color: #1f1f1f;
    border-bottom: solid 2px #1f1f1f;
    font-size: 80%;
  }


}