@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 {
}
.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: #4b8859;
  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;
}
.pop_policy strong {
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 180%;
  letter-spacing: -0.8px;
}

.ico_close {
  display: inline-block;
  background: url("/img/ico_close.svg") center center / 100% no-repeat;
  width: 24px;
  height: 24px;
}

@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;
  }
  .pop_policy strong {
    font-size: 14px;
    font-weight: 700;
  }
}
