.term {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.term.disabled {
  display: none;
}

.term-container {
  max-width: 1000px;
  background: #fff;
  color: #000;
  font-family: Pretendard;
  padding-bottom: 30px;
  height: 800px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.term-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 30px 0 30px;
}

.term-header .term-close {
  font-size: 20px;
}

h1.term-title {
  font-size: 22px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 30px;
  letter-spacing: normal;
  text-align: left;
}

.term-article {
  margin-top: 38px;
}

h2.term-article-title {
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 19px;
  letter-spacing: normal;
  text-align: left;
  margin-bottom: 20px;
  height: 19px;
}

.term-article-content.term-tow-content {
  max-height: 38px;
}

.term-article-content p {
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.57;
  letter-spacing: normal;
  text-align: left;
}

.term-article-content.h-16 {
  max-height: 16px;
}

p.membership-service {
  margin-top: 18px;
}

.term-article-content-detail {
  margin-top: 12px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  padding: 0 10px;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.57;
  letter-spacing: normal;
  text-align: left;
  color: #000;
  /* max-height: 38px; */
}

.term-article-list {
  margin-top: 12px;
  margin-bottom: 12px;
}

.term-article-list ul {
  list-style: none;
  padding-left: 10px;
}

.term-article-list ul li {
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.57;
  letter-spacing: normal;
  text-align: left;
  color: #000;
}

.term-content {
  overflow-y: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 30px;
}

.term-close-modal {
  cursor: pointer;
}

.term-close-modal i {
  border: none;
  font-size: 20px;
}

.mobile-only {
  display: none;
}
@media screen and (min-height: 801px) {
  .term-container {
    height: 800px;
  }
}

@media screen and (max-height: 800px) {
  .term-container {
    height: 80%;
    /* overflow-y: auto; */
  }
}

@media only screen and (max-width: 767px) {
  .term {
    display: block;
    overflow-y: auto;
    background-color: #fff;
    word-break: keep-all;
  }
  .term-container {
    width: 100%;
    padding-bottom: 40px;
    margin: 0;
    height: 100vh;
  }
  h1.term-title {
    font-size: 18px;
    line-height: 21px;
  }

  .term-header .term-close {
    font-size: 24px;
  }

  .term-article {
    margin-top: 30px;
  }

  h2.term-article-title {
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 14px;
  }

  .term-header {
    padding: 18px 20px 17px 20px;
  }

  .term-content {
    padding: 0 20px;
  }

  p.membership-service {
    margin-top: 10px;
  }

  .term-article-content.h-16 {
    max-height: 100px;
  }

  .term-article-content.term-tow-content {
    max-height: 250px;
  }

  .term-article-content-detail {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0;
    gap: 0;
    /* max-height: 100px; */
  }
  .term-article-list {
    margin-top: 10px;
  }

  .term-article-list ul {
    padding-left: 0;
  }

  .mobile-only {
    display: block;
  }
  .pc-only {
    display: none;
  }
}
