@charset "UTF-8";
.modal.hidden {
  display: none;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

#modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.modal-title {
  font-size: 28px;
  line-height: 1.5;
  margin-bottom: 10px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 60px;
}

.modal-content {
  background: #fff;
  padding: 90px;
  border-radius: 30px;
  max-width: 1280px;
  margin-top: 100px;
  width: 90%;
  position: relative;
  height: 75%;
  overflow-y: scroll;
}

.modal-content ul {
  list-style: none;
  max-width: 600px;
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 100px;
  flex-flow: row wrap;
}
.modal-content ul li {
  padding: 0;
  flex: 0 0 11.4%;
  text-align: left;
  margin-bottom: 30px;
  line-height: 1.5;
  cursor: pointer;
}
.modal-content ul li span {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  text-decoration: underline;
}
.modal-content ul li img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul.input-maker {
  list-style: none;
  grid-template-columns: repeat(8, 1fr);
  gap: 0 16px;
  max-width: 100%;
}

ul.input-maker li {
  text-align: center;
}

ul.input-year {
  list-style: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 16px;
}

ul.input-mileage {
  list-style: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 16px;
}

.modal-close {
  position: absolute;
  top: 34px;
  right: 34px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  max-width: 30px;
}

.modal .form-flow {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  max-width: 950px;
  width: 100%;
  margin: auto;
  margin-bottom: 76px;
}
.modal .form-flow-item {
  flex: 0 0 25%;
  position: relative;
}
.modal .form-flow-item:first-child::before {
  content: "";
  width: 50%;
  height: 3px;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
}
.modal .form-flow-item:last-child::before {
  content: "";
  width: 50%;
  height: 3px;
  background: #fff;
  position: absolute;
  top: 0;
  right: 0;
}
.modal .form-flow-item-wrap {
  text-align: center;
  position: relative;
  top: -8px;
}
.modal .form-flow-item-border {
  width: 100%;
  height: 3px;
  background: #bdbbbb;
}
.modal .form-flow-item:first-child.active .form-flow-item-border::before {
  display: none;
}
.modal .form-flow-item.active .form-flow-item-border::before {
  content: "";
  width: 100%;
  height: 3px;
  background: #fb4f34;
  position: absolute;
  top: 0;
  left: -50%;
}
.modal .form-flow-item-txt-circle {
  width: 14px;
  height: 14px;
  background: #bdbbbb;
  border-radius: 100px;
  margin: auto;
  margin-bottom: 18px;
}
.modal .form-flow-item.active .form-flow-item-txt-circle {
  background: #fb4f34;
}
.modal .form-flow-item-txt {
  font-size: 14px;
  font-weight: bold;
  color: #bdbbbb;
}
.modal .form-flow-item.active .form-flow-item-txt {
  color: #fb4f34;
}
.modal {
  /* 縦スクロールバーのトラックに上下マージン */
}
.modal .simplebar-track.simplebar-vertical {
  margin: 20px 0; /* 上下10px */
  right: 5px;
}

@media screen and (max-width: 767px) {
  .modal {
    padding: 0 10px;
  }
  .modal .form-flow {
    margin-bottom: 50px;
  }
  .modal .modal-content {
    padding: 90px 30px 45px;
    width: 98%;
    margin-top: 0;
    height: 80%;
  }
  .modal .modal-title {
    font-size: 20px;
    margin-bottom: 50px;
  }
  .modal .form-flow {
    margin-bottom: 25px;
  }
  .modal .modal-content ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .modal ul.input-model li span {
    font-size: 17px;
  }
  .modal ul.input-maker {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 16px;
  }
  .modal ul.input-year {
    display: block;
  }
  .modal ul.input-year li span {
    font-size: 17px;
  }
  .modal ul.input-mileage {
    display: block;
  }
  .modal ul.input-mileage li span {
    font-size: 17px;
  }
}
@media screen and (max-width: 767px) {
  .modal {
    padding: 0 10px;
  }
}/*# sourceMappingURL=modal.css.map */