.wf-site-notice-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2990;
  background: rgba(38, 52, 47, .28);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
}

.wf-site-notice-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.wf-site-notice-backdrop.is-closing {
  opacity: 0;
  visibility: hidden;
}

.wf-site-notice {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 3000;
  width: min(540px, calc(100% - 48px));
  padding: 31px 32px 27px;
  border: 1px solid rgba(79, 125, 115, .26);
  border-radius: 25px;
  background: rgba(255, 255, 255, .985);
  color: #26342f;
  box-shadow: 0 28px 80px rgba(29, 54, 47, .30);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-50% + 28px)) scale(.97);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .5s;
}

.wf-site-notice.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0s;
}

.wf-site-notice.is-departing {
  transform: translate(-50%, calc(-50% + 7px)) scale(.98);
}

.wf-site-notice.is-closing {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-50% + 105px)) scale(.82);
  transition: opacity .65s ease, transform .7s cubic-bezier(.4, 0, .8, .2), visibility 0s linear .7s;
}

.wf-site-notice-close {
  position: absolute;
  top: 14px;
  right: 15px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #e8f2ef;
  color: #315f56;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.wf-site-notice-label {
  margin: 0 46px 7px 0;
  color: #4f7d73;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.wf-site-notice h2 {
  margin: 0 46px 13px 0;
  color: #315f56;
  font-size: clamp(1.35rem, 3vw, 1.62rem);
  line-height: 1.5;
  letter-spacing: .025em;
}

.wf-site-notice p {
  margin: 0;
  color: #52605b;
  font-size: .94rem;
  line-height: 1.85;
}

.wf-site-notice-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 21px;
}

.wf-site-notice-link,
.wf-site-notice-dismiss {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 21px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.wf-site-notice-link {
  flex: 1;
  border: 1px solid #4f7d73;
  background: #4f7d73;
  color: #fff;
  box-shadow: 0 8px 20px rgba(49, 95, 86, .18);
}

.wf-site-notice-dismiss {
  min-width: 94px;
  border: 1px solid #d4e1dc;
  background: #fff;
  color: #315f56;
}

.wf-site-notice-persistent-hint {
  display: block;
  margin-top: 13px !important;
  color: #4f7d73 !important;
  font-size: .78rem !important;
  font-weight: 700;
  line-height: 1.5 !important;
  text-align: center;
  opacity: 1;
}

@media (hover: hover) {
  .wf-site-notice-link:hover { background: #315f56; }
  .wf-site-notice-dismiss:hover,
  .wf-site-notice-close:hover { background: #dcebe6; }
}

@media (max-width: 640px) {
  .wf-site-notice {
    width: calc(100% - 30px);
    padding: 27px 20px 22px;
    border-radius: 21px;
  }

  .wf-site-notice h2 { margin-right: 38px; }

  .wf-site-notice p {
    font-size: .88rem;
    line-height: 1.75;
  }

  .wf-site-notice-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 9px;
  }

  .wf-site-notice-link,
  .wf-site-notice-dismiss {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    font-size: .8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wf-site-notice,
  .wf-site-notice-backdrop,
  .wf-site-notice-persistent-hint {
    transition-duration: .01ms !important;
  }
}
