﻿/*---------
ご利用の流れ
----------*/

/*----共通ブロック ----*/

/*----コンテンツブロック ----*/

.use_flow_list {
    counter-reset: number 0;
    /* カウント用 */
    border: 1px solid #0089D4;
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.45);
    border-radius: 10px;
    padding: 20px 15px;
}

.use_flow_item:not(:last-child) {
    margin-bottom: calc(60px / 2);
    padding-bottom: calc(60px / 2);
    position: relative;
}

.use_flow_item:not(:last-child)::after {
    content: "";
    position: absolute;
    background: url("../images/how-to-use/use_flow_border.png") center / cover no-repeat;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: calc(16px / 2);
}

.picture_block {
    margin-bottom: calc(40px / 2);
}

.use_flow_picture img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.use_flow_step_num {
    background: #0089D4;
    border-radius: 15px;
    width: calc(130px / 2);
    height: calc(36px / 2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(24px / 2);
    font-weight: bold;
    color: var(--sub-text-color);
    font-family: var(--sub-font);
    margin-bottom: calc(30px / 2);
    position: relative;
    z-index: 0;
}

.use_flow_step_num::after {
    counter-increment: number 1;
    content: counter(number, decimal-leading-zero);
    position: absolute;
    background: #0089D4;
    border-radius: 50%;
    width: calc(60px / 2);
    height: calc(60px / 2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(32px / 2);
    color: var(--sub-text-color);
    font-weight: bold;
    font-family: var(--sub-font);
    top: 0;
    right: -10px;
    bottom: 0;
    margin: auto;
    z-index: -1;
}


.use_flow_step_title {
    font-size: calc(40px / 2);
    color: var(--main-color);
    font-weight: bold;
    margin-bottom: calc(20px / 2);
}

.use_flow_text {
    font-size: calc(32px / 2);
    font-weight: 400;
    line-height: calc(28 / 16);
}

@media (min-width:768px) {

    /*----共通ブロック ----*/

    /*----コンテンツブロック ----*/

    .use_flow_list {
        padding: 80px 150px;
    }

    .use_flow_item:not(:last-child) {
        margin-bottom: 50px;
        padding-bottom: 60px;
        position: relative;
    }

    .use_flow_item:not(:last-child)::after {
        bottom: -5px;
        height: 14px;
    }

    .use_flow_item_detail {
        display: flex;
        align-items: center;
        gap: clamp(45px, 5vw, 90px);
    }

    .picture_block {
        flex: 1 1 50%;
        max-width: clamp(200px, calc(404px + 50vw - 570px), 404px);
        margin-bottom: 0;
    }

    .use_flow_picture {
        width: 100%;
    }

    .use_flow_step_num {
        border-radius: 30px;
        width: 80px;
        height: 30px;
        font-size: 16px;
        margin-bottom: 30px;
    }

    .use_flow_step_num::after {
        width: 44px;
        height: 44px;
        font-size: 24px;
        right: -20px;
    }

    .use_flow_info_content {
        flex: 1 1 50%;
        max-width: 603px;
    }

    .use_flow_step_title {
        font-size: clamp(20px, calc(30px + 50vw - 570px), 30px);
        margin-bottom: 20px;
    }

    .use_flow_text {
        font-size: 16px;
        letter-spacing: 0.04em;
    }
}