@charset "UTF-8";
/* CSS Document */

.main {
  padding: 90px 0 100px;
}

.sec1 {
  width: 90%;
  max-width: 600px;
  margin: 50px auto;
}

.form__contents__step__title {
  width: 90%;
  margin: 0 auto;
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 50px;
}

.form__contents__step__ul {
  width: 90%;
  max-width: 600px;
  margin: 0 auto 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form__contents__step4__ul {
  width: 90%;
  max-width: 600px;
  margin: 0 auto 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form__contents__step4__ul__li {
  display: flex;
  align-items: center;
  gap: 20px;
}

.form__contents__step4__ul__li div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.form__contents__step4__ul__li div span {
  padding: 6px 15px;
  background: #FF5100;
  color: #FFFFFF;
  display: block;
  font-weight: 900;
  letter-spacing: 0.25rem;
  font-size: 1.4rem;
}

.form__contents__step4__ul__li div .ninni {
  background: #333333;
}

.form__contents__step4__ul__li div p {
  font-weight: 900;
  width: 80px;
  letter-spacing: 0.25rem;
}

.form__contents__step4__ul__li input {
  flex: 1;
  padding: 10px 20px;
  background: #FFFFFF;
  border-radius: 10px;
  border: solid 1px #005294;
  text-align: left;
}

.form__contents__step__ul__li {
  width: calc(100% / 2 - 10px);
}

.form__contents__step__ul__li label {
  display: block;
  padding: 0 5%;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FFFFFF;
  border-radius: 10px;
  border: solid 2px #005294;
  font-size: 2rem;
  font-weight: 900;
  transition: 0.25s;
  transition-timing-function: ease-out;
}

.form__contents__step__ul__li label:hover {
  border: solid 7px #005294;
}

.form__contents__step__ul__li input:checked+label {
  background: #FF5100;
  color: #FFFFFF;
}

.form__contents__step__ul__li input {
  display: none;
}

.form__contents__step__ul__li input:checked+label:hover {
  border: solid 2px #005294;
}

.form__contents__step__button {
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-weight: 900;
  margin: 0 auto;
}

.form__contents__step__button span {
  width: 13px;
  height: 20px;
  display: block;
  background: #005294;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.top__button {
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-weight: 900;
  margin: 0 auto;
}

.top__button span {
  width: 13px;
  height: 20px;
  display: block;
  background: #005294;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.form__contents {
  position: relative;
  overflow: hidden;
  transition: height 0.4s ease;
}

.form__contents__step {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
  transition: 0.4s ease;
}

.form__contents__step.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.submit {
  position: relative;
  width: 350px;
  height: 75px;
  margin: 40px auto 60px;
}

.submit::after {
  content: "";
  display: block;
  width: 17px;
  height: 27px;
  background: #F5CF3F;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  pointer-events: none;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.submit input {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-weight: 900;
  font-size: 2.4rem;
  letter-spacing: 0.4rem;
  background: #005294;
  color: #F5CF3F;
}

input::placeholder {
  color: #005294;
  opacity: 0.2;
}

@media (max-width: 767px) {
  .form__contents__step__title {
    font-size: 2rem;
  }

  .form__contents__step4__ul__li {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .form__contents__step4__ul__li input {
    width: 100%;
  }

  .submit {
    width: 300px;
    height: 60px;
  }
}