#car-form {
  height: 150px;
  width: 400px;
  position: relative;
  overflow: hidden;
  background: lightblue;
  border-radius: 15px;
  padding: 15px;
  border: 2px solid grey;
}

#form_modal,
#form_modal_model {
  position: absolute;
  top: 0;
  left: 100%;
  background: #fff;
  overflow-y: scroll;
  width: 100%;
  height: 100%;
  background: #efefef;
  font-family: serif;
  font-weight: bold;
  display: none;
  border-radius: 15px;
}

.c-form-modal__close {
  color: #333;
  float: right;
  font-size: 35px;
  font-weight: bold;
  margin-top: 0;
  position: absolute;
  right: 30px;
  top: 15px;
  z-index: 99;
}

.step-title {
  font-weight: bold;
  font-size: 22px;
  color: #333;
  font-family: "Noto Sans JP", san-serif, 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  position: absolute;
  left: 15px;
  top: 15px;
  z-index: 99;
}

.brand-title-close-ctn .step-title,
.brand-title-close-ctn .c-form-modal__close {
  display: none;
}

.show-brand-title-close .brand-title-close-ctn .step-title,
.show-brand-title-close .brand-title-close-ctn .c-form-modal__close {
  display: block;
}

.show-brand-title-close .brand-title-close-ctn {
  display: block;
  background: #f4f4f4;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  height: 50px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.model-title-close-ctn .step-title,
.model-title-close-ctn .c-form-modal__close {
  display: none;
}

.show-model-title-close .model-title-close-ctn .step-title,
.show-model-title-close .model-title-close-ctn .c-form-modal__close {
  display: block;
  font-size: 18px;
}

.show-model-title-close .model-title-close-ctn {
  display: block;
  background: #f4f4f4;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  height: 75px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.c-form-modal__close:hover,
.c-form-modal__close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.c-form-modal__step__contents p.m-maker {
  cursor: pointer;
}

.c-form-modal__step__contents p.m-maker:hover {
  color: #63b719;
}

.jp-syllabary-list {
  background: #fff;
  z-index: 9999;
  position: absolute;
  left: auto;
  right: 10px;
  top: 75px;
  width: 54px;
  font-size: 14px;
  list-style: none;
  height: 450px;
  display: none;
  border-radius: 10px;
}

.jp-syllabary-list li {
  /* padding: 0 10px; */
  border-bottom: 1px solid #ccc;
  text-align: center;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.jp-syllabary-list li:first-of-type a {
  border-top-right-radius: 15px;
}

.jp-syllabary-list li:last-of-type a {
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
}

.jp-syllabary-list li a {
  color: #333333;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-family: "Noto Sans JP", san-serif, 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.modal-main-container {
  position: relative;
  width: 460px;
  overflow: hidden;
  height: 276px;
}

.c-form-relative {
  position: relative;
  padding: 0 15px 15px;
  background: #f4f4f4;
  margin-top: 75px;
}

.c-form-modal__step__contents {
  background: #fff;
}

.c-form-modal__step__contents p,
.c-form-modal__step__contents li {
  color: #000;
  padding: 5px 10px 5px;
  font-family: "Noto Sans JP", san-serif, 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 400;
}

.c-form-modal__step__contents p.m-maker {
  border-bottom: 1px solid #ccc;
}

p.formError {
  color: #ff0001;
  font-weight: bold;
}


/** form 2 */
.next_step_btn.form2_box_check_link.submit {
  /* font-size: 23px; */
  font-size: min(4.5vw, 20px);
}

.step_form_2 .wrap_back_car_info_form {
  text-align: center;
  height: 80px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ccc;
  border-radius: 10px;
  box-shadow: 0.13vw 0.13vw 1.2vw 0 rgba(94, 94, 94, 0.8);
  margin-top: 20px;
  font-size: 20px;
  font-family: "Noto Sans JP", san-serif, 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: bold;
  color: #555;
  line-height: 80px;
}

.title {
  background: #63b719;
  padding: 5px 10px;
  margin-bottom: 10px;
}

.title span {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

.recap-content {
  background: #fff386;
  padding: 10px;
  font-weight: bold;
  font-size: 22px;
  color: #333;
  font-family: "Noto Sans JP", san-serif, 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  line-height: 35px;
}

.jp-syllabary-list li:last-of-type {
  border-bottom: none;
}

@media screen and (max-width: 768px) {
  .jp-syllabary-list {
    height: 350px;
    /* top: 75px; */
  }

  .show-brand-title-close .brand-title-close-ctn .step-title,
  .show-brand-title-close .brand-title-close-ctn .c-form-modal__close .step-title,
  .show-model-title-close .model-title-close-ctn .step-title,
  .show-model-title-close .model-title-close-ctn .c-form-modal__close .step-title {
    font-size: 16px;
    background: #f4f4f4;
  }

  .show-brand-title-close .brand-title-close-ctn .c-form-modal__close,
  .show-model-title-close .model-title-close-ctn .c-form-modal__close {
    right: 10px;
    font-size: 25px;
  }

  .show-model-title-close .model-title-close-ctn .step-title,
  .show-model-title-close .model-title-close-ctn .c-form-modal__close .step-title {
    padding-right: 75px;
    width: calc(100% - 4vw);
  }

  .fv__form__inr {
    padding: 0 2vw;
  }

  .fv #contact {
    width: 100%;
  }

  .c-form-modal__step__contents p.m-maker {
    padding-right: 50px;
  }

  .c-form-modal__step__contents p.m-maker:hover {
    color: #000;
  }

  .c-form-relative {
    /* margin-top: 75px; */
  }

  .recap-content {
    font-size: 1rem;
  }
}

.footer {
  padding: 30px 0 50px;
  text-align: center;
}

@media screen and (max-width: 800px) {
  .footer {
    padding: 30px 0 20vw;
  }
}






/* モーダルここから */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transition: all 0.5s ease-out;
}
.mfp-zoom-out-cur .mfp-image-holder .mfp-close{
  cursor: pointer !important;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}
.mfp-fade.mfp-wrap .mfp-container {
  padding: 15px;
  cursor: default;
}
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: pointer;
  display: inline-block;
  width: auto;
}
.mfp-iframe-holder .mfp-close{
  width: 20px;
}


.sale_modal {
  position: relative;
  padding: 25px;
  max-width: 1200px;
  margin: 0 auto;
  display: none;
  box-sizing: content-box;
}

.mfp-content .sale_modal {
  display: block;
}

.sale_modal .sale_modal_inner {
  background: #fff;
  border-radius: 50px;
  border: 10px solid #20BA31;
  padding: 70px 80px 30px;
}

#sale_modal .mfp-close{
  right: 25px;
  top: 25px;
  background: #20BA31;
  border-radius: 50%;
  color: #fff !important;
  opacity: 1;
  text-align: center;
}
.sale_modal .mfp-close:hover{
  opacity: 0.7;
}
.sale_modal h2 {
  font-size: 40px;
  color: #23BE4F;
  font-weight: bold;
  text-align: center;
  border: 4px solid #00A831;
  padding: 30px 15px;
  border-radius: 50px;
  margin-bottom: 50px;
  position: relative;
}

.sale_modal h2 img {
  max-width: 100%;
  width: auto;
  position: absolute;
  right: -5px;
  bottom: -1px;
}

.sale_modal h3 {
  text-align: center;
  font-weight: bold;
  font-size: 70px;
  line-height: 1.4;
  color: #23BE4F;
  margin-bottom: 20px;
}

.sale_modal h3 .sale_modal_small {
  font-size: 85%;
}

.sale_modal h3 .sale_modal_mark {
  background: #FFEA01;
  display: inline-block;
  color: #000000;
  padding: 0 3px;
}

.sale_modal .sale_modal_btn {
  margin-bottom: 40px;
}

.sale_modal .sale_modal_btn a {
  background: #23BE4F;
  padding: 25px 15px 55px;
  font-weight: bold;
  display: block;
  text-align: center;
  color: #fff;
  line-height: 1.4;
  border-radius: 22px;
  position: relative;
  filter: drop-shadow(0px 12px 0px #00661a);
  transition: 0.4s ease-in-out;
}

.sale_modal .sale_modal_btn a:hover {
  filter: drop-shadow(0px 0px 0px #00661a);
  transform: translateY(3px);
}

.sale_modal .sale_modal_btn a::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

.sale_modal .sale_modal_btn span {
  display: block;
}

.sale_modal .sale_modal_btn .sale_modal_s1 {
  font-size: 30px;
}

.sale_modal .sale_modal_btn .sale_modal_s1+span {
  font-size: 55px;
}

.sale_modal .indent {
  font-size: 23px;
  text-indent: -1em;
  padding-left: 1em;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 40px;
}

.sale_modal .sale_modal_tel {
  padding-top: 25px;
  border-top: 4px solid #00A831;
  text-align: center;
  line-height: 1.5;
}

.sale_modal .sale_modal_tel h4 {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 5px;
  line-height: 1.3;
  color: #000000;
}

.sale_modal .sale_modal_tel .sale_modal_tel_tel {
  color: #ED3C46;
  font-weight: bold;
  font-size: 80px;
  letter-spacing: -0.01em;
}

.sale_modal .sale_modal_tel .sale_modal_tel_tel img {
  margin-right: 10px;
  width: auto;
  max-width: 100%;
  position: relative;
  top: -15px;
}

.sale_modal .sale_modal_tel .sale_modal_tel_sub {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  background: #ED3C46;
  border-radius: 23px;
  color: #fff;
  max-width: 715px;
  margin: 0 auto;
}


.sale_modal .sale_modal_tel .sale_modal_tel_btn {
  width: 100%;
  outline: 0;
  display: block;
  background: #ed3c46;
  padding: 10px 10px;
  border: 0;
  appearance: none;
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  border-radius: 45px;
  filter: drop-shadow(0px 4px 0px #b21625);
  transition: 0.4s ease-in-out;
  position: relative;
  cursor: pointer;
}

.sale_modal .sale_modal_tel .sale_modal_tel_btn::before {
  content: "";
  display: block;
  position: absolute;
  right: 35px;
  top: 50%;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  width: 12px;
  height: 12px;
  transform: rotate(-45deg) translateY(-50%);
}

.sale_modal .sale_modal_tel .sale_modal_tel_btn>span {
  display: inline-block;
  vertical-align: middle;
}

.sale_modal .sale_modal_tel .sale_modal_tel_btn{
  display: flex;
  justify-content: center;
}

.sale_modal .sale_modal_tel .sale_modal_tel_btn>button:hover {
  transform: translateY(3px);
  opacity: 0.7;
  filter: drop-shadow(0px 0px 0px #b21625);
}

.sale_modal .sale_modal_tel .sale_modal_tel_btn_p{
  display: none;
}
.sale_modal .sale_modal_tel .sale_modal_tel_btn img{
  max-width: 100%;
  width: 30px;
  display: inline-block;
  letter-spacing: normal;
  margin-right: 10px;
}

.sale_modal .sale_modal_tel .sale_modal_tel_btn > span{
  display: inline-block;
  letter-spacing: normal;
  /* width: calc(100% - 30px); */
}
.sale_modal .sale_modal_tel .sale_modal_tel_btn .sale_modal_tel_btn_s1{
  display: block;
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  .sale_modal{
    max-width: 860px;
  }
  .sale_modal .sale_modal_inner {
    padding: 25px 30px;
  }

  .sale_modal h2{
    font-size: 31px;
    padding: 25px 15px;
    margin-bottom: 30px;
  }
  .sale_modal h2 img{
    max-width: 110px;
  }

  .sale_modal h3 {
    font-size: 42px;
  }

  .sale_modal .sale_modal_btn .sale_modal_s1 {
    font-size: 20px;
  }

  .sale_modal .sale_modal_btn .sale_modal_s1+span {
    font-size: 40px;
  }

  .sale_modal .indent {
    font-size: 14px;
  }

  .sale_modal .sale_modal_tel h4 {
    font-size: 25px;
  }
  .sale_modal .sale_modal_tel .sale_modal_tel_tel{
    font-size: 60px;
  }
  .sale_modal .sale_modal_tel .sale_modal_tel_tel img{
    max-width: 80px;
  }
  .sale_modal .sale_modal_tel .sale_modal_tel_sub{
    font-size: 27px;
    max-width: 615px;
  }
}

@media screen and (max-width: 767px) {
  .sale_modal {
    padding: 15px;
  }
  .sale_modal .sale_modal_inner {
    padding: 40px 10px;
    border-width: 5px;
  }

  #sale_modal .mfp-close{
    right: 15px;
    top: 5px;
  }

  .sale_modal h2 {
    font-size: 15px;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-width: 2px;
  }

  .sale_modal h2 img {
    max-width: 60px;
  }

  .sale_modal h3 {
    font-size: 21px;
  }
  .sale_modal .sale_modal_btn a{
    padding-bottom: 40px;
  }
  .sale_modal .sale_modal_btn a::before{
    width: 10px;
    height: 10px;
    border-width: 2px;
  }
  .sale_modal .sale_modal_btn .sale_modal_s1 {
    font-size: 14px;
  }

  .sale_modal .sale_modal_btn .sale_modal_s1+span {
    font-size: 21px;
  }

  .sale_modal .indent {
    font-size: 10px;
    margin-bottom: 20px;
  }

  .sale_modal .sale_modal_tel{
    padding-top: 20px;
    border-width: 2px;
  }

  .sale_modal .sale_modal_tel h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .sale_modal .sale_modal_tel .sale_modal_tel_tel,
  .sale_modal .sale_modal_tel .sale_modal_tel_sub {
    display: none;
  }

  .sale_modal .sale_modal_tel .sale_modal_tel_btn_p{
    display: block;
  }
}