body.fixed {
  position: fixed;
}

.moving-modal {
  display: none;
  height: 100vh;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99999;
}

.moving-modal .modal__overlay {
  background: rgba(0, 0, 0, 0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
}

.moving-modal .modal__content {
  background: #fff;
  left: 50%;
  position: absolute;
  text-align: right;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 1100px;
  width: 90%;
  border-radius: 20px;
  background-color: #c5dcff;
  box-shadow: none;
}

.moving-modal .modal__content_scroll {
  overflow-x: hidden;
  overflow-y: scroll;
  height: 90vh;
  border-radius: 10px;
  background-color: #c5dcff;
}

.moving-modal .modal__content p.modTextNote {
  font-size: 1.4rem;
  line-height: 2.5rem;
}

.moving-modal .js-moving-modal-close {
  position: absolute;
  right: 0px;
  cursor: pointer;
}

.moving-modal .modal__content .js-moving-modal-close {
  right: 15px;
  position: fixed;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2f509f;
  z-index: 1;
}

.moving-modal .moving_modal_fv {
  position: relative;
}

.moving-modal .moving_modal_fv img {
  width: 100%;
}

.moving-modal .modHeadingMain--moving {
  height: auto;
  background-image: none;
  padding: 0;
  margin: 0;
  background: none;
}

.moving-modal .moving-modal__fv-note {
  margin: 30px 60px 60px 0;
}

.moving-modal section {
  margin: 0 60px 60px;
}

.moving-modal .card {
  text-align: left;
}

.moving-modal .moving-modal__example-flow {
  position: relative;
  background: #e4ecf7;
  border-radius: 8px;
  padding: 45px 30px;
  width: 100%;
  margin: 40px auto;
}

.moving-modal .moving-modal__example-flow-label {
  position: absolute;
  top: -24px;
  left: 40px;
  background: #2f509f;
  color: #fff;
  padding: 2px 40px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 20px;
}

.moving-modal .moving-modal__example-flow-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.moving-modal .moving-modal__example-flow-step {
  text-align: center;
}

.moving-modal .moving-modal__example-flow-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #fff;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.moving-modal .moving-modal__example-flow-date {
  font-size: 14px;
  font-weight: bold;
}

.moving-modal .moving-modal__example-flow-title {
  font-size: 15px;
  font-weight: bold;
  color: #2f509f;
  margin: 0;
}

.moving-modal .moving-modal__example-flow-arrow {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 16px solid #849cd7;
}

.moving-modal .modMovingContact__bubble {
  position: relative;
  width: fit-content;
  font-size: 1.8rem;
  margin: 0px auto;
  padding: 5px 50px;
  text-align: center;
  font-weight: 700;
  color: #2f509f;
  background: #fff;
  border-radius: 50px;
}

.moving-modal .modMovingContact__title {
  font-size: 3.8rem;
  font-weight: 700;
  text-align: center;
  margin: 0 auto 30px;
  color: #2f509f;
}

.moving-modal .modBox__titleBox__title_top {
  text-align: center;
  border-bottom: 3px solid #333;
  padding-bottom: 10px;
  width: fit-content;
  margin: 0 auto 20px;
  position: relative;
  font-size: 2.6rem;
  display: flex;
  align-items: center;
}

.moving-modal .modBox__titleBox__title_top:before {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  margin-left: -15px;
  border: 12px solid transparent;
  border-top: 12px solid #fff;
  z-index: 2;
}

.moving-modal .modBox__titleBox__title_top:after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid #333;
  z-index: 1;
}

.moving-modal .moving-box {
  border: 2px solid #2f509f;
  border-radius: 8px;
  padding: 30px 30px;
  width: 100%;
  margin: 0 auto 60px;
  background: #fff;
  position: relative;
}

.moving-modal .moving-box-inner {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.moving-modal .moving-box-left img {
  max-width: 100px;
  height: auto;
}

.moving-modal .moving-box-right img {
  max-width: 130px;
  height: auto;
}

.moving-modal .moving-box-center {
  text-align: center;
}

.moving-modal .moving-modal__plus {
  width: 30px;
  height: 30px;
  background-color: #2f509f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin: 15px auto;
  letter-spacing: 0;
}

.moving-modal .moving-modal__headline {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
  line-height: 1.5;
}

.moving-modal .moving-modal__hl {
  background: linear-gradient(transparent 60%, #fff399 60%);
  padding: 0 4px;
}

.moving-modal .img_plus {
  margin: 0 10px;
}

.moving-modal .moving-modal__speech {
  display: flex;
  margin: 0 auto;
  align-items: center;
  gap: 0;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  background: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  position: relative;
  max-width: 372px;
  width: 90%;
  height: 50px;
  border: 2px solid #2f509f;
  color: #2f509f;
}

.moving-modal .moving-modal__speech::after {
  content: "";
  position: absolute;
  bottom: -11px;
  width: 19px;
  height: 19px;
  background: #fff;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  border-right: 2px solid #2f509f;
  border-bottom: 2px solid #2f509f;
}

.moving-modal .moving-modal__discount-img {
  max-width: 453px;
  width: 100%;
  margin: 5px auto 20px;
}

.moving-modal section.moving-modal__benefit-2 {
  margin-top: 120px;
}

.moving-modal .moving-modal__benefit-2 .moving-box .moving-modal__example-flow-label {
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  max-width: 486px;
  width: 90%;
  padding: 7px 0;
  text-align: center;
}

.moving-modal .moving-modal__benefit-2 .moving-box {
  padding: 45px 30px 30px;
}

.moving-modal .moving-modal__benefit-2 .moving-modal__example-flow-inner {
  gap: 10px;
}

.moving-modal .moving-modal__campaign-condition {
  background-color: #e0e3e9;
  border-radius: 8px;
  padding: 30px;
  width: 100%;
  margin: 30px auto 0;
}

.moving-modal .moving-modal__campaign-title {
  font-weight: bold;
  margin-bottom: 16px;
  line-height: 1.6;
}

.moving-modal .moving-modal__campaign-list {
  padding-left: 1.2em;
  margin: 0;
}

.moving-modal .moving-modal__campaign-list li {
  margin-bottom: 8px;
  line-height: 1.7;
  list-style-type: disc;
  margin-left: 15px;
}

.moving-modal .moving-modal__campaign-list li:last-child {
  margin-bottom: 0;
}

.moving-modal .moving-modal__summary {
  background: #cfe0ff url("https://japaden.jp/wp/wp-content/themes/japan/assets/img/top/moving_modal/bg-rays.png") center / cover
    no-repeat;
}

.moving-modal section.moving-modal__summary {
  margin: 0;
}

.moving-modal .moving-modal__summary-inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
  height: 354px;
}

.moving-modal .moving-modal__summary-illust {
  position: absolute;
  bottom: 0;
  max-width: 110px;
  height: auto;
}

.moving-modal .moving-modal__summary-illust--left {
  left: 10%;
  max-width: 135px;
}

.moving-modal .moving-modal__summary-illust--right {
  right: 10%;
}

.moving-modal .moving-modal__summary-discount {
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  max-width: 498px;
  width: 60%;
  height: auto;
  z-index: 2;
}

.moving-modal .moving-modal__summary-text {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  max-width: 366px;
  width: 90%;
}

.moving-modal .moving-modal__summary-lead {
  font-weight: bold;
  color: #2f509f;
  font-size: 38px;
}

.moving-modal .moving-modal__summary-bubble {
  position: relative;
  display: inline-block;
  background: #fff;
  color: #2f509f;
  border: 2px solid #2f509f;
  border-radius: 999px;
  padding: 2px 22px;
  font-weight: bold;
  font-size: 21px;
  width: 100%;
}

.moving-modal .moving-modal__summary-bubble::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 14px solid #2f509f;
}

.moving-modal .moving-modal__summary-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #fff;
}

.moving-modal .moving-modal__scroll-arrows {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 0 30px;
}

.moving-modal .moving-modal__scroll-arrows-item {
  display: block;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 12px solid #849cd7;
}

.moving-modal .moving-modal__procedure {
  background: #abccff;
  padding: 60px;
  margin: 0;
}

.moving-modal .moving-modal__procedure-title {
  text-align: center;
  font-size: 38px;
  font-weight: bold;
  color: #2f509f;
  letter-spacing: 0.06em;
  margin: 0 0 28px;
}

.moving-modal .moving-modal__procedure-card-inner {
  display: grid;
  grid-template-columns: 2fr 0.8fr;
  align-items: center;
  gap: 24px;
}

.moving-modal .moving-modal__procedure-text {
  text-align: center;
}

.moving-modal .moving-modal__procedure-lead {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.6;
}

.moving-modal .moving-modal__procedure-quote {
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 0.04em;
}

.moving-modal .moving-modal__procedure-hl {
  box-shadow: inset 0 -0.45em 0 #ffeb57;
  padding: 0 0.08em;
  font-size: 24px;
}

.moving-modal .moving-modal__procedure-hl strong {
  font-size: 30px;
  font-weight: bold;
  color: #2f509f;
}

.moving-modal .moving-modal__procedure-illust {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 220px;
}

.moving-modal .moving-modal__procedure-illust img {
  width: min(360px, 100%);
  height: auto;
  display: block;
}

.moving-modal .moving-modal__procedure-actions {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.moving-modal .moving-modal__procedure-action {
  position: relative;
}

.moving-modal .moving-modal__procedure-cap {
  width: fit-content;
  margin: 0 auto -3px;
  padding: 8px 32px;
  background: #fff;
  border-radius: 999px;
  font-size: 18px;
  font-weight: bold;
  color: #2f509f;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

.moving-modal .moving-modal__procedure-note {
  margin: 8px 0 0;
  text-align: center;
  color: #2f509f;
  font-weight: 700;
}

.moving-modal .moving-modal__procedure-btn-ico {
  display: inline-block;
  margin-right: 6px;
  transform: translateY(4px);
}

.moving-modal .moving-modal__procedure .modal_btn {
  width: 100%;
  max-width: none;
  border-radius: 10px;
  font-size: 22px;
  font-weight: bold;
}

.moving-modal .moving-modal__procedure .modal_btn--web {
  background: linear-gradient(to top, #3051a0 0%, #4e87d8 100%);
  border: 4px solid #2f509f;
  color: #fff;
}

.moving-modal .moving-modal__procedure .modal_btn--web::after {
  border-top-color: #2f509f;
}

.moving-modal .moving-modal__procedure .modal_btn--web::before {
  background: #fff;
}

.moving-modal .moving-modal__procedure .modal_btn::before  {
  right: 20px;
}


.moving-modal .moving-modal__procedure .modal_btn--web .modal_btn-text {
  color: #fff;
}

.moving-modal .moving-modal__procedure .modal_btn::after {
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #2f509f;
  right: 25px;
}

.moving-modal .moving-modal__fv-btn-wrap {
  text-align: center;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 680px;
  width: 100%;
}

.moving-modal .moving-modal__btn-speech {
  color: #2f509f;
  font-size: 16px;
  max-width: 480px;
  border-radius: 999px;
  z-index: 2;
  background: #fff;
  display: flex;
  margin: 0 auto;
  align-items: center;
  gap: 0;
  justify-content: center;
  font-weight: bold;
  padding: 6px 20px;
  position: relative;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.moving-modal .modal_btn {
  margin-top: -16px;
  position: relative;
  display: inline-block;
  max-width: 680px;
  padding: 18px 0;
  background: linear-gradient(to top, #f3ca00 0%, #ffeb57 50%, #fff399 100%);
  border-radius: 10px;
  font-size: 26px;
  color: #2f509f;
  text-decoration: none;
  text-align: center;
  width: 100%;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 4px solid #ffde25;
  overflow: hidden;
}

.moving-modal .modal_btn:hover {
  opacity: 0.7;
  transition: 0.3s;
}

.moving-modal .modal_btn-text {
  position: relative;
  display: block;
}

.moving-modal .modal_btn::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 30px;
  width: 30px;
  height: 30px;
  margin: auto;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moving-modal .modal_btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 40px;
  width: 0;
  height: 0;
  margin: auto;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid #2f509f;
}

.moving-modal .modal_btn-text::before {
  content: "";
  position: absolute;
  display: block;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.9)
  );
  width: 50px;
  height: 50px;
  top: -60px;
  left: -60px;

  animation-name: shine-run;
  animation-delay: 0s;
  animation-duration: 4s;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}

@keyframes shine-run {
  0% {
    transform: scale(0) rotate(50deg);
    opacity: 0;
  }
  40% {
    transform: scale(1) rotate(50deg);
    opacity: 1;
  }
  100% {
    transform: scale(250) rotate(50deg);
    opacity: 0;
  }
}

.moving-modal .nopc {
  display: none;
}

@media screen and (max-width: 1023px) {
  .moving-modal .modal__content {
    width: 93%;
    min-width: auto;
    height: 90vh;
  }

  .moving-modal .modal__content_scroll {
    height: 90vh;
  }

  .moving-modal section {
    margin: 0 30px 60px;
  }

  .moving-modal .modal_btn {
    font-size: 16px;
    padding: 13px 0;
    width: 80%;
  }

  .moving-modal .moving-modal__btn-speech {
    font-size: 14px;
    width: 68%;
  }

  .moving-modal .card {
    width: 100%;
    padding: 40px 30px;
    border-radius: 5px;
  }

  .moving-modal .moving-modal__benefit-2 .card {
    padding-top: 60px;
  }

  .moving-modal .moving-modal__example-flow-circle {
    width: 110px;
    height: 110px;
  }

  .moving-modal .moving-modal__summary-illust--left {
    left: 4%;
  }

  .moving-modal .moving-modal__summary-illust--right {
    right: 4%;
  }

  .moving-modal .moving-modal__procedure {
    padding: 40px 30px;
  }

  .moving-modal .moving-modal__procedure .modal_btn {
    font-size: 16px;
    padding: 18px 0;
  }

  .moving-modal .moving-modal__procedure-cap {
    font-size: 14px;
  }

  .moving-modal .moving-modal__procedure-illust {
    max-width: 160px;
    margin: 0 auto;
  }

  .moving-modal .nopc {
    display: none;
  }

  .moving-modal .nosp {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .moving-modal .modal__content {
    min-width: 300px;
  }

  .moving-modal .modal__content p.modTextNote {
    font-size: 4vw;
    line-height: 7vw;
  }

  .moving-modal section {
    margin: 0 15px 60px;
  }

  .moving-modal .card {
    padding: 30px 15px;
  }

  .moving-modal .modMovingContact__bubble {
    font-size: 1.5rem;
    padding: 5px 38px;
    margin-bottom: 8px;
  }

  .moving-modal .modMovingContact__title {
    font-size: 2.6rem;
    margin-bottom: 20px;
  }

  .moving-modal .moving-modal__fv-note {
    margin: 15px 15px 40px;
    text-align: left;
  }

  .moving-modal .moving-box {
    padding: 30px 15px;
    margin-bottom: 40px;
  }

  .moving-modal .moving-modal__headline {
    font-size: 1.8rem;
  }

  .moving-modal .moving-modal__speech {
    font-size: 1.5rem;
  }

  .moving-modal .moving-modal__discount-img {
    width: 87%;
    margin-top: 12px;
  }

  .moving-modal .moving-modal__benefit-2 .moving-box .moving-modal__example-flow-label {
    top: -42px;
    font-size: 1.6rem;
    line-height: 1.6;
    padding: 10px 0;
  }

  .moving-modal .moving-modal__benefit-2 .moving-box {
    padding: 60px 15px 30px;
    margin-top: 10px;
  }

  .moving-modal .moving-modal__benefit-2 .moving-modal__example-flow-inner {
    gap: 18px;
  }

  .moving-modal .moving-modal__campaign-condition {
    padding: 30px 15px;
  }

  .moving-modal section.moving-modal__benefit-2 {
    margin-bottom: 40px;
    margin-top: 60px;
  }

  .moving-modal .moving-modal__summary-lead {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .moving-modal .moving-modal__summary-bubble {
    padding: 6px 0px;
    font-size: 16px;
    width: 80%;
  }

  .moving-modal .moving-modal__summary-text {
    top: 5%;
  }

  .moving-modal .moving-modal__summary-discount {
    bottom: inherit;
    width: 86%;
    top: 32%;
  }

  .moving-modal .moving-modal__summary-illust--left {
    left: 28%;
  }

  .moving-modal .moving-modal__summary-illust--right {
    right: 28%;
  }

  .moving-modal .moving-modal__summary-illust {
    max-width: 76px;
  }

  .moving-modal .moving-modal__summary-illust--left {
    max-width: 85px;
  }

  .moving-modal .moving-modal__procedure-cap {
    width: 60%;
    text-align: center;
    margin-bottom: 2px;
    padding: 6px 0;
  }

  .moving-modal .modal_btn-text {
    width: 62%;
    margin: 0 auto;
  }

  .moving-modal .moving-modal__procedure-lead,
  .moving-modal .moving-modal__procedure-hl {
    font-size: 1.5rem;
  }

  .moving-modal .moving-modal__procedure-hl strong {
    font-size: 1.8rem;
  }

  .moving-modal .modal_btn {
    width: 90%;
    padding: 23px 0;
  }

  .moving-modal .moving-modal__btn-speech {
    width: 62%;
  }

  .moving-modal .modal_btn.fv_btn {
    margin: -66vw auto 62vw;
  }

  .moving-modal .btn_box .modal_btn,
  #tel .modal_btn_tel {
    width: 85vw;
  }

  .moving-modal .modal_btn .icon_right {
    width: 8vw;
  }

  .moving-modal .modal_btn .icon_left {
    width: 7vw;
    margin-right: 5px;
  }

  .moving-modal .line_txt_yellow {
    font-size: 8vw;
  }

  .moving-modal .nopc {
    display: block;
  }

  .moving-modal .nosp {
    display: none;
  }

  .moving-box-inner {
    flex-direction: column;
    gap: 20px;
  }

  .moving-box-left img,
  .moving-box-right img {
    max-width: 150px;
  }

  .moving-modal .moving-modal__headline {
    font-size: 22px;
  }

  .moving-modal .moving-modal__plus {
    font-size: 20px;
  }

  .moving-modal .moving-modal__example-flow {
    padding: 60px 20px 40px;
    margin-top: 60px;
    margin-bottom: 30px;
  }

  .moving-modal .moving-modal__example-flow-label {
    left: 50%;
    transform: translateX(-50%);
    top: -20px;
  }

  .moving-modal .moving-modal__example-flow-inner {
    flex-direction: column;
    gap: 18px;
  }

  .moving-modal .moving-modal__example-flow-circle {
    width: 130px;
    height: auto;
    margin-bottom: 12px;
  }

  .moving-modal .moving-modal__example-flow-arrow {
    transform: rotate(90deg);
  }

  .moving-modal .moving-modal__procedure-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .moving-modal .moving-modal__procedure-card-inner {
    grid-template-columns: 1fr;
  }

  .moving-modal .moving-modal__procedure-quote {
    font-size: 26px;
  }

  .moving-modal .moving-modal__procedure-actions {
    grid-template-columns: 1fr;
  }

  .moving-modal .moving-modal__procedure {
    padding: 40px 15px;
  }

  .moving-modal .modal_btn-text::before {
    width: 50px;
    height: 50px;
    top: -110px;
    left: -110px;
    animation-duration: 4s;
  }
}
