body.service-notice-open {
  overflow: hidden;
}

.service-notice-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: Arial, "Noto Sans KR", sans-serif;
}

.service-notice-modal--hidden {
  display: none;
}

.service-notice-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 27, 49, .68);
}

.service-notice-modal__panel {
  position: relative;
  width: min(660px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid #777;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
  color: #111;
}

.service-notice-modal__close {
  position: sticky;
  z-index: 1;
  top: 8px;
  float: right;
  width: 36px;
  height: 36px;
  margin: 8px 8px -44px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f4f8;
  color: #333;
  font-size: 28px;
  line-height: 34px;
  cursor: pointer;
}

.service-notice-modal__close:hover,
.service-notice-modal__close:focus {
  background: #e2e6ef;
  outline: 2px solid #1a73e8;
  outline-offset: 1px;
}

.service-notice-modal__content {
  padding: 26px 40px 20px;
  font-size: 16px;
  line-height: 1.45;
}

.service-notice-modal__content h2 {
  margin: 0 42px 2px 0;
  color: #111;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.service-notice-modal__content p {
  margin: 0 0 18px;
}

.service-notice-modal__content a,
.service-notice-modal__services li {
  color: #0070c0;
}

.service-notice-modal__content a {
  text-decoration: none;
}

.service-notice-modal__content a:hover,
.service-notice-modal__content a:focus {
  text-decoration: underline;
}

.service-notice-modal__services {
  margin-bottom: 20px;
}

.service-notice-modal__services p {
  margin: 0;
}

.service-notice-modal__services ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-notice-modal__signoff {
  padding-right: 28%;
  text-align: right;
}

@media (max-width: 640px) {
  .service-notice-modal {
    align-items: flex-start;
    padding: 12px;
  }

  .service-notice-modal__panel {
    max-height: calc(100vh - 24px);
  }

  .service-notice-modal__content {
    padding: 22px 20px 12px;
    font-size: 14px;
  }

  .service-notice-modal__content h2 {
    font-size: 14px;
  }

  .service-notice-modal__content p {
    margin-bottom: 15px;
  }

  .service-notice-modal__signoff {
    padding-right: 8%;
  }
}
