#sp-sch-section {
  height: 100vh;
  padding-top: 94px;
  box-sizing: border-box;
}
#sp-sch-section .wrap {
  display: flex;
}
#map {
  width: 80vw;
  position: relative;
  height: calc(100vh - 94px);
}
.show-list {
  width: 20vw;
  position: absolute;
  height: 100%;
  overflow-y: scroll;
  top: 0px;
  background-color: var(--gray);
  right: 0px;
  padding: 12px;
  box-sizing: border-box;
}
.school-list-item {
  width: 100%;
  padding: 12px;
  background-color: var(--white);
  border-radius: 10px;
  box-sizing: border-box;
  cursor: pointer;
  margin-bottom: 12px;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}
.school-list-item-top {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.school-list-item-top-tag {
  padding: 8px;
  font-size: 14px;
  background-color: var(--point);
  color: var(--white);
  border-radius: 5px;
}
.school-list-item-body-title {
  font-size: 18px;
  font-family: "sb";
  margin-bottom: 4px;
}
.school-list-item-body-text-line {
  font-size: 14px;
  color: var(--darkk);
}
.school-list-item-body-text > .school-list-item-top-tag {
  display: inline-block;
  margin-top: 24px;
  background-color: var(--white);
  border: 1px solid var(--point);
  color: var(--point);
  font-size: 13px;
}
.school-list-item-opened {
  height: auto;
  max-height: 0px;
  transition: all 0.2s ease-in-out;
  overflow: hidden;
}
.school-list-item-body-text-flex {
  display: flex;
  align-items: center;
  gap: 8px;
}

.opened .school-list-item-opened {
  height: auto;
  max-height: 1000px;
  margin-top: 12px;
}
.button-low {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.button-low > a {
  display: flex;
  width: 100%;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background-color: var(--point);
  color: var(--white);
  cursor: pointer;
  border-radius: 5px;
}
.label-line {
  position: absolute;
  bottom: 5vh;
  width: 100%;
  justify-content: center;
  z-index: 1000;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-line {
  position: absolute;
  top: 5vh;
  width: min-content;
  border-radius: 20px;
  justify-content: center;
  z-index: 1000;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  background-color: var(--white);
  padding: 20px;
  gap: 8px;
}
.label-items {
  padding: 8px 12px;
  background-color: var(--white);
  border: 1px solid var(--point);
  color: var(--point);
  font-size: 14px;
  border-radius: 5px;
}
.label-items.active {
  background-color: var(--point);
  color: var(--white);
}
.search-select {
  width: 170px;
}
.search-button {
  width: 80px;
  text-align: center;
  height: 42px;
  align-items: center;
  display: flex;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  background-color: var(--point);
  color: var(--white);
  box-sizing: border-box;
  border: 1px solid var(--point);
  border-radius: 5px;
  margin-left: 24px;
}
.reload-button {
  width: 80px;
  text-align: center;
  height: 42px;
  align-items: center;
  display: flex;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  background-color: var(--white);
  color: var(--point);
  box-sizing: border-box;
  border: 1px solid var(--point);
  border-radius: 5px;
}
@media (max-width: 1440px) {
  .label-line {
    display: block;
    left: 5vw;
    transform: translateX(0px);
  }
  .label-items {
    display: block;
    width: min-content;
    white-space: nowrap;
    margin-bottom: 8px;
  }

  #sp-sch-section {
    padding-top: 60px;
  }

  #sp-sch-section .wrap {
    overflow-x: scroll;
    position: relative;
    width: 100vw;
  }
  #map {
    height: calc(100vh - 60px);
    width: 100vw;
  }
  .show-list {
    width: 100vw;
    z-index: 999;
    padding-top: 72px;
    display: none;
    background-color: var(--form);
  }
  .list_open {
    display: block;
  }
  .label-line {
    width: 90vw;
    position: fixed;
    top: 84px;
    white-space: nowrap;
    overflow-x: scroll;
    bottom: auto !important;
  }
  .label-line a {
    display: inline-flex;
    margin-right: 8px;
  }

  .mobile-show-buttons {
    position: fixed;
    bottom: 5vh;
    width: 90vw;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6000;
    display: flex;
    align-items: center;
    justify-content: right;
  }
  .mobile-show-button {
    height: 32px;
    padding: 0px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--point);
    color: var(--white);
    font-size: 14px;
    border-radius: 5px;
  }
}
