/* ========================================
 * information/schedule.html 専用のスタイル
 * このページだけに適用したいスタイルはここに書く
 * ======================================== */

.step_wrap {
    background-color: #f2f3fb;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    counter-reset: step;
    max-width: 750px;
    margin: 0 auto;
}

h2::before,
h2::after {
    background-color: #5156a1;
}

.step_item {
    background: #fff;
    display: flex;
    padding: 15px;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    position: relative;
}

.step_item+.step_item::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    width: 10px;
    height: 20px;
    background: #7e86d6;
}

.step_count {
    width: 5em;
    height: 5em;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    counter-increment: step;
    line-height: 1.2;
    letter-spacing: 0.2em;
}

.step_count::before {
    content: "STEP";
    letter-spacing: 0.2em;
}

.step_count::after {
    content: counter(step);
    font-size: 1.5em;
}

.step_item:nth-of-type(1) .step_count {
    background: #cbcfef;
}

.step_item:nth-of-type(2) .step_count {
    background: #ebd9ef;
}

.step_item:nth-of-type(3) .step_count {
    background: #f7dbc9;
}

.step_item:nth-of-type(4) .step_count {
    background: #f9ecba;
}

.step_item:nth-of-type(5) .step_count {
    background: #cbf2e2;
}

.step_item:nth-of-type(6) .step_count {
    background: #b9e9f5;
}

.step_item:nth-of-type(7) .step_count {
    background: #99badb;
}

main .step_item p {
    margin-bottom: 0;
    font-size: 0.8em;
    color: #666;
}

main .step_item p strong {
    display: inline-block;
    font-size: 1.25em;
    margin-right: 1em;
    color: #000;
}

@media screen and (max-width: 768px) {
    .step_item {
        gap: 10px;
        padding: 10px;
    }

    main .step_item p {
        width: calc(100% - 10px - 4em);
    }

    main .step_item p strong {
        font-size: 1.1em;
    }

    main .step_item:first-of-type p strong {
        margin-right: 0;
    }

    .step_count {
        width: 4em;
        height: 4em;
        color: #000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        counter-increment: step;
        line-height: 1.2;
    }

    .step_count::before {
        letter-spacing: 0.1em;
    }
}
