@charset "UTF-8";

/* .modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999999;
  display: none;
} */

.modal_inner {
  position: absolute;
  overflow: hidden;
  border-radius: 20px;
  width: 50%;
  max-height: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 40px;
  box-sizing: border-box;
  max-height: 540px;
}
.modal .content {
}
.modal .head {
  display: flex;
  justify-content: space-between;
  color: var(--800, #262626);
  font-size: 28px;
  font-weight: 400;
  line-height: 100%;
  padding-bottom: 30px;
  border-bottom: 2px solid #333;
}
.modal .head h3 {
  color: var(--grayscale-800, #262626);

  /* H6 */
  font-family: Pretendard;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%; /* 31.2px */
  letter-spacing: -0.48px;
}
.modal .head button {
  background: transparent;
  border: none;
}
.modal .txt_wrap {
  margin: 0;
  max-height: calc(540px - 170px);
  display: block;
  overflow-y: auto;
}
.modal .txt_wrap::-webkit-scrollbar {
  width: 2px;
  background: #eee;
  visibility: hidden;
}
.modal .txt_wrap::-webkit-scrollbar-thumb {
  background-color: #262626;
  border-radius: 10px;
  visibility: hidden;
}
.modal .txt_wrap.scrolling::-webkit-scrollbar {
  visibility: visible;
}
.modal .txt_wrap.scrolling::-webkit-scrollbar-thumb {
  visibility: visible;
}
.pop_policy .txt {
  width: calc(100% - 12px);
  white-space: pre-line;
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  letter-spacing: -0.64px;
}
.modal.pop_policy strong {
  color: var(--grayscale-800, #262626);
  font-family: Pretendard;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%; /* 36px */
  letter-spacing: -0.8px;
}
@media (max-width: 768px) {
  .modal_inner {
    padding: 30px 20px;
    width: 90%;
  }
  .pop_policy .head {
    font-size: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .pop_policy .txt {
    font-size: 14px;
    line-height: 1.3;
  }
  .modal.pop_policy strong {
    font-size: 14px;
    font-weight: 700;
  }
}

/* 비급여 */
.pop_uninsured .modal_content {
  width: 90%;
  max-width: 820px;
  max-height: 540px;
}
.pop_uninsured p.top_txt {
  color: #333;
  margin-top: 30px;
  margin-bottom: 30px;
  font-family: Pretendard;
  font-size: 16px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: -0.64px;
}

.pop_uninsured .table_wrap table {
  table-layout: fixed;
  width: 100%;
  border: 1px solid #d9d9d9;
  text-align: center;
  font-family: Pretendard;
}

.pop_uninsured .table_wrap table:not(:last-child) {
  margin-bottom: 40px;
}

.pop_uninsured .table_wrap th {
  border: 1px solid #d9d9d9;
  padding: 10px;
  color: var(--800, #262626);
  font-size: 13px;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: -0.52px;
  vertical-align: middle;
  background: #f6f6f6;
}
.pop_uninsured .table_wrap td {
  border: 1px solid #d9d9d9;
  vertical-align: middle;
  padding: 10px;
  color: var(--700, #404040);
  font-size: 13px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.52px;
}
.pop_uninsured .modal_con {
  padding: 0px 30px 30px 0;
  max-height: 300px;
}
@media screen and (max-width: 768px) {
  .pop_policy .modal_head {
    margin-bottom: 20px;
  }
  .pop_uninsured p.top_txt {
    font-size: 13px;
  }
  .pop_uninsured .table_wrap th {
    font-size: 10px;
  }
  .pop_uninsured .table_wrap td {
    font-size: 10px;
  }
  .pop_uninsured .modal_con {
    padding: 0 0 20px 0;
  }
  .pop_uninsured .table_wrap th,
  .pop_uninsured .table_wrap td {
    padding: 10px 0;
    word-break: break-word;
  }
}
