@charset "UTF-8";

.progress .progress-bar-step:not(:last-of-type):after, .progress .progress-bar-step.active:not(:last-of-type):after {
    position: absolute;
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-width: 20px;
    border-style: solid;
    border-color: transparent #f8f5f5 #f8f5f5 transparent;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 50%;
    right: -14px;
    margin-top: -20px;
    z-index: 1;
    -moz-box-shadow: 6px 6px 2px -4px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 6px 6px 2px -4px rgba(0, 0, 0, 0.15);
    box-shadow: 6px 6px 2px -4px rgba(0, 0, 0, 0.15);
}

.progress {
    border: 1px solid #d7d7d7;
    height: 40px;
    width: 90%;
    margin: 0 auto 30px auto;
    background-color: #f8f5f5;
    counter-reset: progress;
}

@media only screen and (max-width: 768px) {
    .progress {
        /* スマホのみ */
        width: 100%;
    }
}

.progress .progress-bar-step {
    position: relative;
    float: left;
    text-align: center;
    color: #898989;
    width: 20%;
    height: 100%;
}

.progress .progress-bar-step > span {
    display: block;
    width: 100%;
    margin: 0;
    padding-left: 20px;
    font-size: 1.35rem;
    z-index: 1;
}

@media only screen and (max-width: 768px) {
    .progress .progress-bar-step > span {
        /* スマホのみ */
        font-size: 1.0rem;
        z-index: 2;
        position: relative;
    }
}

@media only screen and (max-width: 768px) {
    .progress .progress-bar-step {
        /* スマホのみ */
    }

    .progress .progress-bar-step:nth-of-type(1) > span {
        padding-left: 0;
    }
}

.progress .progress-bar-step:before {
    counter-increment: progress;
    content: "STEP" counter(progress);
    display: block;
    font-size: 1.25rem;
    padding-left: 20px;
}

@media only screen and (max-width: 768px) {
    .progress .progress-bar-step:before {
        /* スマホのみ */
        font-size: 0.9rem;
        z-index: 2;
        position: relative;
    }
}

.progress .progress-bar-step.active {
    color: #ffffff;
    background-color: #a5a5a5;
}

.progress .progress-bar-step.active:not(:last-of-type):after {
    border-color: transparent #a5a5a5 #a5a5a5 transparent;
}