.home {
  padding: 0 0 50px 0;
  margin: 0;

 .home__top {
    position: relative;

    .content {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      z-index: 1;

      .title {
        img {
          width: 100%;
        }
      }

      .description {
        padding: 50px 10px 0 10px;
        font-size: 24px;
        text-align: center;
        word-break: keep-all;

        @media (max-width: 629px) {
          font-size: 18px;
        }

        @media (max-width: 374px) {
          font-size: 16px;
        }
      }

      h2 {
        font-size: 30px;
        margin: 40px 0 20px 0;

        @media (max-width: 629px) {
          font-size: 26px;
        }
      }

      .group {
        .item {
          display: inline-flex;
          margin: 10px 15px;
          border: 1px solid #000000;
          border-radius: 50%;
          width: 150px;
          height: 150px;
          font-size: 22px;
          justify-content: center;
          align-items: center;
          text-align: center;

          &.active {
            font-weight: 800;
            color: #ffffff;
            background-color: #1b63af;
          }

          @media (max-width: 629px) {
            margin: 5px 5px;
            width: 105px;
            height: 105px;
            font-size: 18px;
          }

          @media (max-width: 374px) {
            margin: 3px 3px;
            width: 90px;
            height: 90px;
            font-size: 15px;
          }
        }
      }

      .region {
        width: 100%;
        max-width: 558px;
        text-align: center;

        label {
          display: flex;
          align-items: center;
          justify-content: space-between;
          position: relative;

          input[type='text'] {
            width: calc(100% - 72px);
            padding: 0 10px;
            font-size: 25px;
            line-height: 44px;
          }

          button {
            position: absolute;
            right: 0;
            background-color: #000000;
            border: 1px solid #000000;
            color: #ffffff;
            padding: 0 10px;
            font-size: 22px;
            line-height: 44px;
            border-radius: 6px;
            margin: 0 0 0 10px;
          }
        }
      }

      .btn-area {
        margin-top: 70px;
      }
    }
  }
}


.region-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;

  .region-modal__container {
    position: relative;
    max-width: 375px;
    width: 100%;

    @media (max-width: 629px) {
      max-width: 320px;
    }

    .content {
      display: flex;
      flex-direction: column;
      align-items: center;
      z-index: 1;
      width: 100%;
      padding: 20px 10px;
      background-color: #ffffff;

      h1 {
        color: #000000;
        font-size: 22px;
        width: 100%;
        border-bottom: 1px solid gray;
        text-align: center;
        padding-bottom: 10px;
        margin: 0 0 10px;
      }

      .search-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 16px;
        margin-bottom: 10px;

        input[type='text'] {
          padding: 5px;
        }

        button {
          width: 60px;
          margin: 0 0 0 10px;
          padding: 0 10px;
          border: 1px solid #000000;
          background-color: #000000;
          line-height: 44px;
          color: #FFFFFF;
          border-radius: 6px;
        }
      }

      .no-data {
        display: flex;
        width: 100%;
        height: 300px;
        align-items: center;
        justify-content: center;
        background-color: #efefef;
        font-size: 15px;
      }

      .list-wrap {
        list-style: none;
        width: 100%;
        margin: 0;
        padding: 0;
        height: 300px;
        overflow-x: hidden;
        overflow-y: scroll;

        li {
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: 10px 20px;
          font-size: 15px;
          text-align: center;

          button {
            margin-left: 10px;
            padding: 5px 15px;
            border: 1px solid #000000;
            background-color: #000000;
            color: #FFFFFF;
          }

          @media (max-width: 629px) {
            padding: 10px;
            font-weight: 600;
            font-size: 18px;
          }

          &:nth-child(odd) {
            background-color: #efefef;
          }

          &:nth-child(even) {
            background-color: #ffffff;
          }

          .name {
            font-weight: 600;
          }

          .address {
            font-size: 12px;
          }

          .school-select {
            width: 100%;
            margin: 5px 0 0 0;
          }
        }
      }

      .btn_close {
        margin-top: 15px;
        padding: 10px 30px;
        border: 0;
        border-radius: 13px;
        color: #FFFFFF;
        font-size: 1.5rem;
        font-weight: 400;
        background-color: #1b63af;
      }
    }
  }
}
