@use 'utils/base' as *;

/* 정책 모달 */
#policyWrap {
  position: fixed;
  left: 0;
  top: 0;
  z-index: $zindex-modal;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.policy_in {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 1160px;
  height: 600px;
  background: #fff;
  transform: translate(-50%, -50%);
}
.policy_in h2 {
  position: absolute;
  top: 70px;
  left: 100px;
  padding-left: 25px;
  font-weight: 500;
  font-size: 1.0625rem;
  color: #000;
}
.policy_in h2:before {
  display: block;
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #262262;
}
.policy_in .policy_content {
  overflow-y: scroll;
  height: 370px;
  margin: 120px 2.5862% 0;
  padding: 0 80px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

.btnPolicyX {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 60px;
  height: 60px;
  background: url('/assets/img/legacy/policy_x.jpg') no-repeat 50% 50%;
  font-size: 0;
  line-height: 0;
}

.policy_text {
  font-size: 0.9375rem;
  color: #474747;
  letter-spacing: -0.01em;
  line-height: 166%;
}

@media screen and (max-width: 1260px) {
  .policy_in {
    width: 92.0634%;
  }
}
@media screen and (max-width: 900px) {
  .policy_in {
    height: 70%;
  }
  .policy_in .policy_content {
    height: 75%;
    padding: 0 30px;
  }
  .policy_in h2 {
    left: 40px;
  }
}

@media screen and (max-width: 480px) {
  .policy_in .policy_content {
    height: 60%;
  }
}
