@charset "utf-8";

.process-info {
    background-color: #F9F9F9;
    border-radius: 8px;
    padding: 24px 32px;
}

.info-wrap {
    margin-bottom: 24px;
}

.process-info .title {
    font-size: 20px;
    font-weight: bold;
    color: #14237f;
    margin-bottom: 8px;
}

.info-wrap .contents:not(:last-child) {
    margin-bottom: 8px;
}

.process-info .contents {
    font-size: 16px;
    color: #333;
}

.process-wrap {
    margin-bottom: 8px;
}

.process-wrap .steps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 0;
    align-items: center;
}

.process-wrap .step {
    width: 197.3px;
    height: 170px;
    background: #fff;
    border: 1px solid #e1e1e2;
    border-radius: 4px;
    text-align: center;

    /*flex: 1 1 calc(25% - 20px);*/
    /*padding: 15px;*/

}

.process-wrap .arrow {
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-right: 9px solid transparent;
    border-left: 9px solid #14237f;
    margin-left: 9px;
}

.process-wrap .step a.img-step {
    display: inline-block;
    margin-top: 24px;
    width: 72px;
    height: 72px;
    background-size: contain;
}

.process-wrap .step a.sms-step {
    width: 81px;
}

.process-wrap .step a.step1 {
    background-image: url("../images/step1.png");
}

.process-wrap .step a.step2 {
    background-image: url("../images/step2.png");
}

.process-wrap .step a.step3 {
    background-image: url("../images/step3.png");
}

.process-wrap .step a.step4 {
    background-image: url("../images/step4.png");
}

.process-wrap .step a.step5 {
    background-image: url("../images/step5.png");
}

.process-wrap .step a.step6 {
    background-image: url("../images/step6.png");
}

.process-wrap .step a.step7 {
    background-image: url("../images/step7.png");
}

.process-wrap .step a.step8 {
    background-image: url("../images/step8.png");
}

.process-wrap .step h4 {
    margin: 8px 0;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: -0.4px;
}

.process-wrap .step p {
    font-size: 14px;
    letter-spacing: -0.35px;
}

/* ext-step : 설명이 2줄로 되어있는 절차 */
.process-wrap .step.ext-step h4 {
    margin-bottom: 2px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .process-info {
        padding: 12px;
        width: 100%;
    }

    .process-wrap .steps-grid {
        flex-direction: column;
        gap: 0;
    }

    .process-wrap .arrow {
        margin-left: 0;
        margin-top: 9px;
        transform: rotate(90deg);
    }

    .process-wrap .step {
        width: 100%;
        height: 65px;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        /*align-items: center;*/
        padding-left: 16px;
        /* padding: 16px; */
    }

    .process-wrap .step a.img-step {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        margin-right: 20px;
        margin-top: 8px;
    }

    .process-wrap .step a.sms-step {
        width: 51px;
    }

    .process-wrap .step .text-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
        margin-top: 12px;
    }

    .process-wrap .step h4 {
        margin: 0;
    }

    .process-wrap .step p {
        margin: 2px 0 0 !important;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    .step h4 {
        font-size: 14px;
    }

    .step p {
        font-size: 12px;
    }
}
