@charset "UTF-8";
/**************************\
  Basic Modal Styles
\**************************/
.modal[aria-hidden=true] {
  display: none;
}

.modal[aria-hidden=false] {
  display: block;
}

.modal__overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5001;
}
@media screen and (max-width: 750px) {
  .modal__overlay {
    background-color: rgba(0, 0, 0, 0.8);
  }
}

.modal__overlay.is-scrollable {
  align-items: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: min(40px, 5.3333333333vw) 0;
}

@media screen and (max-width: 750px) {
  html.safari .modal__overlay.is-scrollable {
    background-color: rgba(0, 0, 0, 0.6);
  }
}

.modal-overlay {
  width: 100vw;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  inset: 0;
  z-index: 5000;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
@media screen and (max-width: 750px) {
  .modal-overlay {
    display: none;
  }
}
@media print, screen and (min-width: 751px) {
  .modal-overlay.is-active {
    opacity: 1;
  }
}

.modal__container {
  position: relative;
  outline: 0;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #00449e;
  box-sizing: border-box;
}

.modal__close {
  background: transparent;
  border: 0;
}

.modal__header .modal__close:before {
  content: "✕";
}

.modal__content {
  width: 100%;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.8);
}

.modal__iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 0.2s;
}

.modal__iframe.is-ready {
  opacity: 1;
}

.modal__container.is-loading {
  position: relative;
}
.modal__container.is-loading .modal__close-btn {
  opacity: 0;
}

.modal__container.is-loading::before {
  content: "読み込み中...";
  display: block;
  padding: 20px;
  text-align: center;
  color: #fff;
}

.modal__btn {
  font-size: 0.875rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  border-radius: 0.25rem;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 0.25s ease-out;
}

.modal__btn:focus, .modal__btn:hover {
  transform: scale(1.05);
}

.modal__btn-primary {
  background-color: #00449e;
  color: #fff;
}

/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes mmslideIn {
  from {
    transform: translateY(20px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes mmslideOut {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-20px);
  }
}
.modal {
  display: none;
}
.modal.is-open {
  display: block;
}

.modal[aria-hidden=false] .modal__overlay {
  animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.modal[aria-hidden=true] .modal__overlay {
  animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.modal[aria-hidden=false] .modal__container {
  animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.modal[aria-hidden=true] .modal__container {
  animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.modal .modal__container,
.modal .modal__overlay {
  will-change: transform;
}