@charset "UTF-8";

/* form step */
.c-form-step {
  display: flex;
  margin: 28px 0 60px;
  list-style-type: none;
  max-width: 100%;
}

.c-form-step__caption {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 223px;
  box-sizing: border-box;
  position: relative;
  background-color: #dbdbdb;
  font-size: 1.6rem;
  padding: 10px 20px 10px 40px;
  text-align: center;
}

@media screen and (max-width: 1099px) {
  .c-form-step__caption {
    padding: 10px 10px 10px 20px;
  }
}

.c-form-step__caption:first-child {
  padding-left: 20px;
}

@media screen and (max-width: 1099px) {
  .c-form-step__caption:first-child {
    padding-left: 10px;
  }
}

.c-form-step__caption--current {
  background-color: #ffe600;
  font-weight: 500;
}

.c-form-step__caption::after,
.c-form-step__caption::before {
  content: "";
  display: block;
  position: absolute;
  width: 18px;
  height: 100%;
  top: 0;
  right: -18px;
  clip-path: polygon(0 0, 2px 0, 100% 50%, 2px 100%, 0 100%);
}

@media screen and (max-width: 519px) {
  .c-form-step__caption::after,
  .c-form-step__caption::before {
    width: 10px;
    right: -10px;
    clip-path: polygon(0 0, 1px 0, 100% 50%, 1px 100%, 0 100%);
  }
}

.c-form-step__caption::before {
  right: -16px;
  background: #dbdbdb;
  z-index: 3;
}

@media screen and (max-width: 519px) {
  .c-form-step__caption::before {
    right: -9px;
  }
}

.c-form-step__caption.c-form-step__caption--current::before {
  background: #ffe600;
}

.c-form-step__caption::after {
  background: #fff;
  z-index: 1;
}

.c-form-step__caption:last-child::before,
.c-form-step__caption:last-child::after {
  display: none;
}
