#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;
  }
}