@charset "utf-8";

.box:not(:last-child) {
    margin: 0 0 30px;
}

.box .colL {
    width: 170px;
    text-align: center;
    align-content: center;
}

.box .colL h3 {
    font-size: 2.4rem;
    font-weight: bold;
}

.box .bg01 {
    background: #f0f0f0;
}

.box .bg02 {
    background: #e6e6e6;
}

.box .bg03 {
    background: #d3d3d3;
}

.box .colR {
    width: calc(100% - 180px);
}

.box .colR .box-step {
    position: relative;
    border: 2px solid #222222;
    align-items: center;
    padding: 30px 30px 30px 0;
}

.box .colR .box-step::after {
    position: absolute;
    content: "";
    border-left: 12.5px solid transparent;
    border-right: 12.5px solid transparent;
    border-top: 10px solid #222;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
}

.box .colR .box-step.no-arrow::after {
    display: none;
}

.box .colR .box-step:not(:last-child) {
    margin: 0 0 30px;
}

.box .colR .box-step .img-step {
    width: 260px;
    text-align: center;
}

.box .colR .box-step .txt-step {
    width: calc(100% - 260px);
}

.box .colR .box-step .txt-step>p {
    line-height: 2;
}

.box .colR .box-step .txt-step b {
    color: #9e1f00;
}

.box .colR .box-step .txt-step .step-ttl {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 10px;
}

.box .colR .box-step .txt-step .step-ttl p {
    color: #fff;
    width: 7.875em;
    height: 2.5em;
    background: #222222;    
    justify-content: center;
    align-items: center;
    line-height: 1;
    padding: 4px 0 0;
    gap: 3px;
}

.box .colR .box-step .txt-step .step-ttl p span {
    font-size: 1.5em;
    font-weight: bold;
}

.box .colR .box-step .txt-step .step-ttl h4 {
    font-size: 2rem;
    font-weight: bold;
}

.box .colR .box-step .txt-step .note {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .box .colL {
        width: 100%;
        padding: 10px 20px;
        margin: 0 0 15px;
    }

    .box .colL h3 {
        font-size: min(5vw, 2.4rem);
    }

    .box .colR {
        width: 100%;
    }

    .box .colR .box-step .img-step {
        width: 200px;
    }

    .box .colR .box-step {
        padding: 20px;
    }

    .box .colR .box-step .txt-step>p {
        line-height: 1.6;
    }

    .box .colR .box-step:last-child::after {
        display: none;
    }

    .box .colR .box-step .txt-step {
        width: calc(100% - 220px);
    }

    .box .colR .box-step .txt-step .step-ttl p {
        font-size: 1.4rem;
        width: 6.5em;
    }

    .box .colR .box-step .txt-step .step-ttl h4 {
        font-size: min(4.5vw, 2rem);
    }

    .box .colR .box-step .txt-step .step-ttl {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .box .colR .box-step .img-step {
        width: 100%;
        margin: 0 0 20px;
    }

    .box .colR .box-step .img-step img {
        width: auto;
        height: 80px;
    }

    .box .colR .box-step .txt-step {
        width: 100%;
    }

}