#job .num-box-wrapper .item {
  display: flex;
  flex-direction: column;
}

#job .num-box-wrapper .item .px-4.pb-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

#job .num-box-wrapper h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1.25em;
}

#job .num-box-wrapper h4 span {
  width: 15%;
}


.profile-comment-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20%;
}

.profile span {
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
  .profile-comment-wrapper {
    width: 60%;
  }
  .profile {
    width: 10%;
  }
}

/* コメントデザイン */
.comment {
  position: relative;
  display: inline-block;
  padding: 15px;
  border: 2px solid #c7c7c7;
  border-radius: 8px;
  background-color: #cbffb5;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #3d3d3d;
  width: 80%;
}

.comment:before,
.comment:after {
  content: "";
  position: absolute;
}

.comment-left {
  margin-left: 20px;
}

.comment-left:before,
.comment-left:after {
  top: 50%;
  left: 0;
  translate: -100% -50%;
  transform: skew(0, -25deg);
  transform-origin: right;
}

.comment-left:before {
  border-style: solid;
  border-width: 10px 20px 10px 0;
  border-color: transparent #c7c7c7 transparent transparent;
}

.comment-left:after {
  border-style: solid;
  border-width: 7.8px 15.5px 7.8px 0;
  border-color: transparent #cbffb5 transparent transparent;
}

.comment-right {
  margin-right: 20px;
}

.comment-right:before,
.comment-right:after {
  top: 50%;
  right: 0;
  translate: 100% -50%;
  transform: skew(0, -25deg);
  transform-origin: left;
}

.comment-right:before {
  border-style: solid;
  border-width: 10px 0 10px 20px;
  border-color: transparent transparent transparent #c7c7c7;
}

.comment-right:after {
  border-style: solid;
  border-width: 7.8px 0 7.8px 15.5px;
  border-color: transparent transparent transparent #cbffb5;
}

.comment p {
  margin-bottom: inherit;
}

@media screen and (min-width: 768px) {
  .comment {
    width: 90%;
  }
}


#job ul li:not(:last-of-type) {
  margin-bottom: 10px;
}

ul.schedule-wrapper {
  border: 3px solid #3a0;
  margin-bottom: 30px;
  padding-left: initial;
}

ul.schedule-wrapper li {
  list-style: none;
  padding: 30px;
}

ul.schedule-wrapper li:not(:last-of-type) {
  border-bottom: 3px solid #3a0;
  position: relative;
}

ul.schedule-wrapper li:not(:last-of-type)::before,
ul.schedule-wrapper li:not(:last-of-type)::after {
  content: "";
  border: solid transparent;
  position: absolute;
  top: 100%;
  left: 15%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

ul.schedule-wrapper li:not(:last-of-type)::before {
  border-width: 22px;
  border-top-color: #3a0;
}

ul.schedule-wrapper li:not(:last-of-type)::after {
  border-width: 18px;
  border-top-color: #fff;
}

ul.schedule-wrapper li .item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

ul.schedule-wrapper li .item .icon {
  color: #fff;
  background: rgb(107,144,219);
  background: -moz-linear-gradient(left, rgba(107,144,219,1) 0%, rgba(102,213,233,1) 100%);
  background: -webkit-linear-gradient(left, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
  background: linear-gradient(to right, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6b90db', endColorstr='#66d5e9',GradientType=1 );
  font-size: 20px;
  padding: 5px 10px;
  display: block;
  border-radius: 20px;
  text-align: center;
}

ul.schedule-wrapper li .text {
  text-align: center;
}

ul.schedule-wrapper li .text h5 {
  margin-bottom: initial;
}


@media screen and (min-width: 768px) {
  ul.schedule-wrapper li .item {
    margin: 0;
    flex-direction: initial;
    align-items: center;
    justify-content: space-between;
    gap: 4%;
  }
  ul.schedule-wrapper li .item .step-title {
    flex-basis: 25%;
  }
  ul.schedule-wrapper li .item .text {
    flex: 1 1 0;
    text-align: left;
  }
}

.stepbar {
  margin: 0 auto;
  width: 90%;
  position: relative;
}

.stepbar .stepbarwrap {
  margin: 2em 0;
  position: relative;
}

.stepbar .stepbarwrap .steptitle {
  display: inline-flex;
  align-items: center;
}

.stepbar .stepbarwrap .steptitle .stepcircle {
  display: inline-block;
  width: 1em;
  height: 1em;
  content: "";
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #e70;
}

.stepbar .stepbarwrap .steptitle .stepnum {
  padding-left: 1em;
  color: #e70;
}

.stepbar .stepbarwrap .steptxt {
  padding-left: 2em;
}

.stepbar .stepbarwrap .steptxt .steptxt-title {
  margin: 0.5em 0;
  font-weight: bold;
  font-size: 1.2em;
}

.stepbar .stepbarwrap .stepline {
  width: 1px;
  height: calc(100% + 1em);
  background-color: #e70;
  position: absolute;
  top: 1.25em;
  left: 0.5em;
  z-index: 1;
}

.stepbarwrap:last-of-type .stepline:last-of-type {
  display: none;
}

.stepbar img {
  position: absolute;
}

.stepbar .full-time-image img {
  width: 25%;
}

.stepbar .full-time-image img:first-of-type {
  top: 15%;
  right: 0;
}

.stepbar .full-time-image img:last-of-type {
  top: 25%;
  right: 20%;
}

@media screen and (min-width: 992px) {
  .stepbar .full-time-image img {
    width: 25%;
  }
  .stepbar .full-time-image img:first-of-type {
    top: 0;
  }
  .stepbar .full-time-image img:last-of-type {
    top: 20%;
  }
}

.stepbar .shorter-image img {
  top: 20%;
  right: 0;
  width: 40%;
}

.stepbar .spend-image img {
  width: 25%;
}

.stepbar .spend-image img:first-of-type {
  top: 0%;
  right: 0;
}

.stepbar .spend-image img:last-of-type {
  top: 70%;
  right: 0;
}

@media screen and (min-width: 768px) {
  .stepbar .spend-image img:first-of-type {
    top: 0%;
    right: 0;
  }
  .stepbar .spend-image img:last-of-type {
    top: 65%;
    right: 0;
  }
}

@media screen and (min-width: 768px) {
  .stepbar {
    width: 80%;
  }
}

