.movie {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.movie__contents {
  position: relative;
  width: 100%;
  height: 100%;
}

.movie__content {
  width: 100%;
  height: 100%;
  position: relative;
}

.js-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
  will-change: transform, opacity;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.js-video.is-active {
  opacity: 1;
  z-index: 2;
}

.movie__buttons {
  position: absolute;
  top: 30px;
  right: 6.25vw;
  z-index: 10;
}

.movie__countryBtn {
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
}

.movie__countryBtn.is-active {
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.movie__countryBtn.is-disabled {
  opacity: 0.6;
}

.movie__countryBtn.is-disabled img {
  filter: grayscale(100%);
}

.movie button {
  background: none;
  border: none;
  padding: 0;
  display: block;
}

.movie button + button {
  margin-top: 10px;
}

.movie button > img {
  vertical-align: top;
}

.movie__link {
  position: absolute;
  z-index: 11;
}

.movie__link.--1 {
  bottom: 6px;
  right: 18.75vw;
  width: 36.953vw;
}

.movie__link.--2 {
  bottom: 6px;
  left: 3.906vw;
  width: 32.969vw;
}

.movie__link.--3 {
  bottom: 6px;
  right: 210px;
}

.back-button-link {
  position: absolute;
  top: 31px;
  left: 35px;
  z-index: 1000;
  display: inline-block;
}

.back-button-image {
  width: 91px;
  height: 32px;
  object-fit: contain;
}

/* form */

.form {
  padding: 40px;
  background-color: #fff;
}

.form__content {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 20px;
}

.form__content + .form__content {
  margin-top: 40px;
}

.form__input.--select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.form__input input,
.form__input select {
  width: 100%;
  padding: 16px 24px;
  border: 1px solid #A4A4A4;
  border-radius: 8px;
  background-color: #fff;
}

.form__contents dl + .form__wrap {
  margin-top: 40px;
}

.form__wrap {
  border: 1px solid #E2E2E2;
  border-radius: 20px;
  padding: 30px 20px;
}

.form__wrap + .form__wrap {
  margin-top: 20px;
}

.form__checkTitle {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.form__checkTitle span {
  font-size: 14px;
  font-weight: 500;
  padding-left: 20px;
}

input[type=checkbox] {
  width: 1px;
  height: 1px;
  position: absolute;
  clip: rect(0, 0, 0, 0);
}

input[type=checkbox]:checked + span {
  background-color: #00A0BB;
  color: #fff;
}

.form__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.form__checkItem {
  margin-left: 0;
  cursor: pointer;
}

.form__country,
.form__consult,
.form__hearing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background-color: #F5F5F5;
  border-radius: calc(infinity * 1px);
}

.form__country::before {
  content: '';
  width: 24px;
  height: 24px;
  background: url(../img/flag/flag_usa.png) no-repeat center/contain;
}

.form__country.--australia::before {
  background: url(../img/flag/flag_australia.png) no-repeat center/contain;
}

.form__country.--canada::before {
  background: url(../img/flag/flag_canada.png) no-repeat center/contain;
}

.form__country.--new_zealand::before {
  background: url(../img/flag/flag_new_zealand.png) no-repeat center/contain;
}

.form__country.--ireland::before {
  background: url(../img/flag/flag_ireland.png) no-repeat center/contain;
}

.form__country.--united_kingdom::before {
  background: url(../img/flag/flag_united_kingdom.png) no-repeat center/contain;
}

.form__country.--philippines::before {
  background: url(../img/flag/flag_philippines.png) no-repeat center/contain;
}

.form__country.--malaysia::before {
  background: url(../img/flag/flag_malaysia.png) no-repeat center/contain;
}

.form__country.--malta::before {
  background: url(../img/flag/flag_malta.png) no-repeat center/contain;
}

.form__country.--uae::before {
  background: url(../img/flag/flag_uae.png) no-repeat center/contain;
}

.form__country.--south_africa::before {
  background: url(../img/flag/flag_south_africa.png) no-repeat center/contain;
}

.form__btn {
  margin-top: 40px;
  text-align: center;
}

.form__btnWrap {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  border: none;
  background-color: #F43580;
  border-radius: calc(infinity * 1px);
  padding: 20px 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 454px;
}

.form__btnWrap::after {
  content: '';
  width: 40px;
  height: 40px;
  background: url(../img/icon_arrow.png) no-repeat center/contain;
}

.form__send {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  border: none;
  background: none;
}

.form__textAreaWrap {
  margin-top: 30px;
}

.form__textArea textarea {
  width: 100%;
  min-height: 124px;
  margin-top: 20px;
  padding: 16px 24px;
  background: none;
  border-radius: 8px;
  field-sizing: content;
}

/*
** ポップアップ閉じるボタン調整
*******************/
#pum-110.pum-theme-lightbox .pum-content + .pum-close {
  top: 45px !important;
  right: 130px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  background: none !important;
  border: none !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 50px !important;
}

#pum-346.pum-theme-lightbox .pum-content + .pum-close {
  top: 19px !important;
  right: 40px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  background: none !important;
  border: none !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 50px !important;
}

#pum-412.pum-theme-lightbox .pum-content + .pum-close {
  top: 19px !important;
  right: 40px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  background: none !important;
  border: none !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 50px !important;
}

.pum-container.pum-responsive.pum-responsive-medium {
  border-radius: 40px;
}

#popmake-346.pum-container.pum-responsive.pum-responsive-medium {
  max-width: 768px !important;
  width: 100%;
}

.back-btn-img {
  position: absolute;
  top: 31px;
  left: 20px;
  z-index: 999;
}

.back-btn-img.--2 {
/*  left: -140px;*/
  left: -75px;
}

.back-btn-img.--price {
  top: -63px;
  left: -150px;
}

.back-btn-img.--consult {
  left: initial;
  right: 20px;
  top: 20px;
}

.radio-wrap .radio-item input{
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border: 2px solid #F43580;
    border-radius: 50%;
    transform: translateY(-0.075em);
    place-content: space-around;
    display: grid;
}
.radio-wrap .radio-item input:before{
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #F43580;

}
.radio-wrap .radio-item input:checked:before{transform: scale(1);}


#modal-loading.hidden {
  display:none; 
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #64CFD6;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1999999999;
    background-image: url('../img/bg-wavy.png');
    background-size: 100%;
}

.modal-content {
    background: #fff;
    width: 480px;
    height: 362px;
    border-radius: 40px;
}

.modal-content .modal-header {
    background: #F43580;
    height: 80px;
    text-align: center;
    color: #fff;
    font-size: 28px;
    letter-spacing: 2.24px;
    line-height: 80px;
    font-weight: 700;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.modal-content .content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.modal-content .content p {
    font-size: 20px;
    line-height: 160%;
    color: #2D2D2D;
    font-weight: 700;
    margin-top: 100px;
}
.loading-wrapper{
  height: 80px;
    width: 80px;
    padding-top: 80px;
    padding-left: 30px;
}

.loader {
  color: #F43580;
  font-size: 15px;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  -webkit-animation: load4 1.3s infinite linear;
  animation: load4 1.3s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

@-webkit-keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}

@keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}
.wp-block-image img.wp-image-124{
  max-width: 438px;
}
@media  only screen and (max-width: 1280px) and (min-width:600px)  {
  .lp-content:not([data-postid="220"]):not([data-postid="209"]) {
    height: 100vh;
    overflow: hidden;
  }
  .wp-block-image img.wp-image-127,
  .wp-block-image img.wp-image-122,
  .wp-block-image img.wp-image-464,
  .wp-block-image img.wp-image-124{
    height: 21.875vw;
    width: 32.813vw;
  }
  .wp-block-image img.wp-image-600,
  .wp-block-image img.wp-image-599{
    width: 35.938vw;
    height: 39.844vw;
  }
}

