.service-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  transition: opacity 240ms ease;
}

.service-notice-overlay.is-visible {
  opacity: 1;
}

.service-notice-dialog {
  position: relative;
  box-sizing: border-box;
  background: #fff;
  color: #172033;
  outline: none;
}

.service-notice-dialog--mobile {
  width: 100%;
  max-height: 70vh;
  margin-top: auto;
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 36px rgba(15, 23, 42, 0.18);
  transform: translateY(100%);
  transition: transform 240ms ease;
}

.is-visible .service-notice-dialog--mobile {
  transform: translateY(0);
}

.service-notice-overlay--pc {
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.service-notice-dialog--pc {
  width: min(540px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  padding: 28px;
  overflow-y: auto;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24);
  transform: translateY(12px);
  transition: transform 220ms ease;
}

.is-visible .service-notice-dialog--pc {
  transform: translateY(0);
}

.service-notice-handle {
  display: block;
  width: 38px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #d7dce4;
}

.service-notice-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #667085;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.service-notice-dialog--pc .service-notice-close {
  top: 16px;
  right: 18px;
}

.service-notice-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 34px;
}

.service-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 2px solid #f4c430;
  border-radius: 50%;
  color: #1a2744;
  font-size: 15px;
  font-weight: 800;
}

.service-notice-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.service-notice-description {
  margin-top: 16px;
  color: #475467;
  font-size: 14px;
  line-height: 1.65;
}

.service-notice-description p {
  margin: 0 0 9px;
}

.service-notice-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.service-notice-dialog--pc .service-notice-points {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-notice-point {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 7px 6px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fafafa;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.service-notice-point__check {
  color: #b78600;
  font-weight: 900;
}

.service-notice-footnote {
  margin: 0;
  padding: 11px 12px;
  border-left: 3px solid #f4c430;
  background: #fffaf0;
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
}

.service-notice-actions {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.service-notice-dialog--pc .service-notice-actions {
  grid-template-columns: 1fr 1fr;
}

.service-notice-action {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.service-notice-action--primary {
  border: 1px solid #f4c430;
  background: #f4c430;
  color: #172033;
}

.service-notice-action--secondary {
  border: 1px solid #cfd5df;
  background: #fff;
  color: #1a2744;
}

.service-info-bar {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #f1df9a;
  background: #fffaf0;
  color: #475467;
}

.service-info-bar--mobile {
  margin: -8px 16px 16px;
  padding: 10px 12px;
  border-radius: 8px;
}

.service-info-bar--pc {
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 6px;
}

.service-info-bar__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.service-info-bar__link {
  flex: 0 0 auto;
  color: #8a6500;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.service-faq {
  color: #273142;
}

.service-faq__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}

.service-faq__intro {
  margin: 7px 0 18px;
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
}

.service-faq__list {
  border-top: 1px solid #e5e7eb;
}

.service-faq__item {
  scroll-margin-top: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.service-faq__question {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 4px;
  border: 0;
  background: #fff;
  color: #1a2744;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.service-faq__mark {
  flex: 0 0 auto;
  color: #b78600;
  font-size: 20px;
  font-weight: 500;
}

.service-faq__question[aria-expanded='true'] .service-faq__mark {
  transform: rotate(45deg);
}

.service-faq__answer {
  padding: 0 4px 16px;
  color: #566174;
  font-size: 14px;
  line-height: 1.7;
}

.service-faq__answer[hidden] {
  display: none;
}

.service-faq__answer p {
  margin: 0 0 8px;
}

.service-faq__answer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 420px) {
  .service-notice-title {
    font-size: 18px;
  }

  .service-notice-description {
    font-size: 13px;
  }

  .service-info-bar--mobile {
    align-items: flex-start;
  }

  .service-info-bar__text {
    max-width: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-notice-overlay,
  .service-notice-dialog {
    transition-duration: 1ms;
  }
}
