/* 北村会計事務所 / お問い合わせ受付停止モーダル */
body.contact-stop-is-open {
  overflow: hidden;
}

.contact-stop-modal {
  box-sizing: border-box;
  width: min(90vw, 480px);
  max-width: 480px;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #333;
  box-shadow: 0 12px 48px rgb(0 0 0 / 20%);
  overflow: auto;
}

.contact-stop-modal::backdrop {
  background: rgb(0 0 0 / 65%);
}

.contact-stop-modal__inner {
  box-sizing: border-box;
  position: relative;
  padding: 42px 32px 34px;
  text-align: center;
}

.contact-stop-modal__x {
  position: absolute;
  top: 10px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #666;
  font: normal 28px/1 sans-serif;
  cursor: pointer;
}

.contact-stop-modal__title {
  margin: 0 0 20px;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-stop-modal__message {
  margin: 0 0 28px;
  color: #333;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
}

.contact-stop-modal__close {
  display: inline-block;
  box-sizing: border-box;
  min-width: 150px;
  min-height: 44px;
  padding: 10px 26px;
  border: 0;
  border-radius: 4px;
  background: #444;
  color: #fff;
  font: 500 15px/1.5 sans-serif;
  cursor: pointer;
}

.contact-stop-modal__close:hover {
  background: #222;
}

.contact-stop-modal__x:focus-visible,
.contact-stop-modal__close:focus-visible {
  outline: 3px solid #3977bd;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .contact-stop-modal__inner {
    padding: 44px 22px 28px;
  }
  .contact-stop-modal__title {
    font-size: 18px;
  }
  .contact-stop-modal__message {
    font-size: 14px;
  }
}
