.popup {
  position: fixed;
  z-index: -10;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  transition-duration: 0.3s;
  transition-property: opacity;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.popup.is-open {
  z-index: 600;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.popup__body {
  position: relative;
  display: flex;
  max-height: 96%;
}
.popup__close {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 18px;
  width: 30px;
  height: 30px;
  color: inherit;
  background-color: transparent;
  border: none;
}
.popup__close::after,
.popup__close::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: currentColor;
  transition-duration: 0.3s;
  transition-property: background-color;
}
.popup__close::before {
  transform: translateY(-50%) rotate(-45deg);
  top: 50%;
}
.popup__close::after {
  transform: translateY(50%) rotate(45deg);
  bottom: 50%;
}
.popup__close:focus-visible {
  outline: 0;
}
#expert-popup .popup__close {
  display: none;
}
.popup__inner {
  flex-shrink: 0;
  flex-grow: 1;
  transform: translate3d(0, 0, 0);
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
}
.popup__inner::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
@-moz-document url-prefix() {
  .popup__inner {
    scrollbar-width: thin;
  }
}
.expert-agree {
  width: 100vw;
  padding: 40px 20px;
  color: #16201e;
  background-color: #fff;
  border-radius: 16px 16px 0 0;
}
.expert-agree__content {
  margin-bottom: 20px;
}
.expert-agree__content_pc {
  display: none;
}
.expert-agree__title {
  max-width: 500px;
  font-weight: 500;
  font-size: 21px;
}
.expert-agree__title:not(:last-child) {
  margin-bottom: 15px;
}
.expert-agree__text {
  font-size: 14px;
}
.expert-agree__action {
  display: flex;
  flex-direction: column;
  gap: 15px 25px;
}
@media (min-width: 475.98px) {
  .expert-agree__action {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (min-width: 767.98px) {
  .popup {
    align-items: center;
  }
  .expert-agree {
    max-width: 620px;
    padding: 30px;
    border-radius: 0;
  }
  .expert-agree__content_pc {
    display: block;
  }
  .expert-agree__content_mob {
    display: none;
  }
}
@media (min-width: 1023.98px) {
  .expert-agree {
    max-width: 695px;
    padding: 50px;
  }
  .expert-agree__content {
    margin-bottom: 30px;
  }
  .expert-agree__title {
    max-width: none;
    font-size: 25px;
  }
  .expert-agree__text {
    font-size: 16px;
  }
}