@charset "utf-8";

@keyframes fade_in_iframodal {
  0% {
    opacity: 0;
    transform: scale(0.8)
  }

  100% {
    opacity: 1;
    transform: scale(1)
  }
}

body.is-open-iframodal {
  overflow: hidden;
  padding-right: var(--iframodal-padding, 0)
}

.m-adjustmodal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0);
  background-repeat: repeat;
  background-size: 10px 10px;
  background-image: linear-gradient(135deg, rgba(7, 7, 7, 0.9), rgba(7, 7, 7, 0.9) 4px, rgba(20, 20, 20, 0.9) 4px, rgba(20, 20, 20, 0.9) 7px, rgba(7, 7, 7, 0.9) 7px, rgba(7, 7, 7, 0.9) 11px, rgba(20, 20, 20, 0.9) 11px);
  background-color: rgba(0, 0, 0, 0);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  cursor: pointer
}

.m-adjustmodal>._modal {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 32px 8px
}

.m-adjustmodal>._modal ._inner {
  overflow-y: auto;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: #fff;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: none;
  background-size: 22px 22px;
  box-shadow: 0 0 0 8px rgba(0, 0, 0, .8);
  transition: height 1s ease;
  cursor: default;
}

.m-adjustmodal>._modal>button {
  position: absolute;
  top: 0px;
  right: 8px;
  display: block;
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  overflow: hidden;
  text-indent: 200%;
  white-space: nowrap;
  cursor: pointer
}

.m-adjustmodal>._modal>button::before,
.m-adjustmodal>._modal>button::after {
  position: absolute;
  box-sizing: border-box;
  display: block;
  content: "";
  top: 7px;
  left: 14px;
  width: 3px;
  height: 18px;
  background-color: #fff
}

.m-adjustmodal>._modal>button::before {
  transform: rotate(45deg)
}

.m-adjustmodal>._modal>button::after {
  transform: rotate(-45deg)
}

.m-adjustmodal>._modal iframe {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: hidden;
  opacity: 1;
  transition: opacity 1s ease
}

.m-adjustmodal:not(.is-open) {
  display: none
}

.m-adjustmodal.is-loading>._modal ._inner {
  overflow: hidden;
  background-image: url(/assets/images/icon/symbol/icon-loading.gif)
}

.m-adjustmodal.is-loading>._modal iframe {
  opacity: 0
}

.m-adjustmodal.is-open ._modal {
  opacity: 0;
  animation: fade_in_iframodal .4s ease-in .1s forwards
}

@media(max-width: 767.98px) {
  .m-adjustmodal>._modal {
    max-width: 480px
  }

  .m-adjustmodal>._modal ._inner {
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px)
  }

  .m-adjustmodal>._modal iframe {
    padding: 0 8px
  }
}

@media(min-width: 768px) {
  .m-adjustmodal>._modal {
    max-width: 952px
  }

  .m-adjustmodal>._modal ._inner {
    height: 80vh;
    max-height: 80vh
  }

  .m-adjustmodal>._modal iframe {
    padding: 0 16px
  }
}

.adjust_modal_contents {
  display: block;
  max-width: calc(640px + 32px);
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}
.adjust_modal_contents header h2 {
  margin: 0 auto;
  padding: 0;
  font-size: clamp(28px, calc(28/376 * 100vw), 36px);
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-indent: 0.05em;
  font-weight: 400;
  word-break: keep-all;
}
.adjust_modal_contents header p {
  margin: 16px auto 0;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-indent: 0.05em;
}

.adjust_modal_contents ._cvbox a {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 312px;
  min-height: 64px;
  margin: 40px auto;
  padding: 8px;
  border-radius: 100vh;
  box-shadow: 0 clamp(3px, calc(3/360 * 100vw), 4px) 0 0 #bfcedc;
  background-color: #ef2e42;
  color: #fff;
  font-size: clamp(20px, calc(20/376 * 100vw), 24px);
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-indent: 0.05em;
  text-align: center;
  text-decoration: none;
}

.adjust_modal_contents .adjust_qr {
  display: block;
  margin: 0 auto;
  padding: 24px;
  background: #f4f9fb;
}
.adjust_modal_contents .adjust_qr::after {
  display: block;
  margin: 16px auto 0;
  line-height: 1.5;
  content: "スマートフォンでご利用いただけます。";
}
.adjust_modal_contents .adjust_qr img {
  display: block;
  max-width: 264px;
  margin: 0 auto;
}

.adjust_modal_contents ._flow {
  display: block;
  max-width: calc(264px + 48px);
  margin: 0 auto;
  padding: 0 24px;
}
.adjust_modal_contents ._flow li {
  display: block;
  margin: 0;
  padding: 0;
}
.adjust_modal_contents ._flow li ~ li::before {
  display: block;
  width: 35px;
  height: 24px;
  background: #ef2e42;
  margin: 40px auto 32px;
  clip-path: polygon(0 0, 100% 0%, 50% 100%);
  content: "";
}

.adjust_modal_contents footer p {
  margin: 0 auto 72px;
  padding: 16px;
  border: 1px solid #e4e4e4;
  font-size: 18px;
  line-height: 1.5;
  font-weight: bold;
  letter-spacing: normal;
  text-align: left;
}
.adjust_modal_contents footer p em {
  color: #dc1c26;
  font-style: normal;
}

.adjust_modal_contents footer small {
  display: block;
  font-size: 16px;
  text-align: center;
}
.adjust_modal_contents footer small a:link {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .adjust_modal_contents {
    padding-block: 40px;
  }
  .adjust_modal_contents .adjust_qr {
    margin-block: 40px;
  }
}
@media (min-width: 768px) {
  .adjust_modal_contents {
    padding-block: 68px;
  }
  .adjust_modal_contents .adjust_qr {
    margin-block: 72px;
  }
}
