@charset "UTF-8";
/* ENTRY ポップアップ（include-entry-modal.php）。SCSS のビルド外で直接書いている */
.entry-modal {
  --entry-green: #149c88;
  --entry-green-dark: #0f8574;
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.entry-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity .25s ease;
}
.entry-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}
.entry-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 56px 48px 44px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
  text-align: center;
  color: #3E3A39;
  transform: translateY(12px);
  transition: transform .25s ease;
}
.entry-modal.is-open .entry-modal__dialog {
  transform: translateY(0);
}
.entry-modal__dialog:focus {
  outline: none;
}
.entry-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.entry-modal__close::before,
.entry-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #3E3A39;
}
.entry-modal__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.entry-modal__close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.entry-modal__title {
  margin: 0 0 20px;
  font-size: 44px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--entry-green);
}
.entry-modal__lead {
  margin: 0 0 36px;
  font-size: 15px;
  line-height: 1.9;
}
.entry-modal__btns {
  display: flex;
  justify-content: center;
  gap: 32px;
}
.entry-modal__item {
  flex: 0 1 300px;
}
.entry-modal__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 56px 0 32px;
  border-radius: 999px;
  background: var(--entry-green);
  color: #fff !important;
  font-size: 17px;
  text-decoration: none !important;
  transition: background-color .2s ease, transform .2s ease;
}
.entry-modal__btn:hover,
.entry-modal__btn:focus-visible {
  background: var(--entry-green-dark);
  transform: translateY(-2px);
}
.entry-modal__icon {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}
.entry-modal__icon--ext {
  width: 16px;
  height: 16px;
  color: #fff;
}
.entry-modal__icon--arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--entry-green);
}
.entry-modal__icon--arrow svg {
  width: 14px;
  height: 14px;
}
.entry-modal__note {
  margin: 12px 0 0;
  font-size: 12px;
}
html.entry-modal-lock,
html.entry-modal-lock body {
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .entry-modal__dialog {
    padding: 48px 20px 32px;
  }
  .entry-modal__title {
    font-size: 34px;
  }
  .entry-modal__lead {
    margin-bottom: 28px;
    font-size: 13px;
    text-align: left;
  }
  .entry-modal__br {
    display: none;
  }
  .entry-modal__btns {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .entry-modal__item {
    flex: none;
  }
  .entry-modal__btn {
    height: 56px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .entry-modal,
  .entry-modal__dialog,
  .entry-modal__btn {
    transition: none;
  }
}
