@charset "UTF-8";

/* ===================================================
   患者さん側の診察の流れ（2746-5402）
=================================================== */

.flow2 {
    background-color: #ffffff;
    padding: 70px 0;
}

.flow2_inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* 見出し */
.flow2_heading {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.5;
    color: #383b42;
    text-align: center;
    margin: 0 0 40px;
}

.flow2_heading_blue {
    color: #006ec5;
    font-weight: 600;
}

/* ----------------------
   STEPラベル行
---------------------- */
.flow2_step_labels {
    display: flex;
    gap: 30px;
    width: 100%;
    margin-bottom: 16px;
}

.flow2_step_col {
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.flow2_badge {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    padding: 10px 14px;
    background-color: #b9d6ff;
    border-radius: 30px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    color: #01457a;
    white-space: nowrap;
}

.flow2_step_title {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    color: #0a3e8b;
    text-align: center;
}

/* ----------------------
   イラスト + バーエリア
---------------------- */
.flow2_illust_area {
    position: relative;
    width: 100%;
    height: 100px; /* イラスト100px + バー下部28px */
}

/* バー背景（右矢印型の薄い青色帯） */
.flow2_bar_bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
}

.flow2_bar_svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* 矢印アイコン（バー上に3つ） */
.flow2_arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 29px;
    height: 16px;
}

.flow2_arrow--1 { left: calc(25% - 14px); }
.flow2_arrow--2 { left: calc(50% - 14px); }
.flow2_arrow--3 { left: calc(75% - 14px); }

/* イラスト行 */
.flow2_illust_row {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 30px;
    height: 100px;
}

.flow2_illust {
    flex: 1 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow2_illust img {
    max-height: 100px;
    width: auto;
    max-width: 120px;
    display: block;
}

/* ----------------------
   説明文行
---------------------- */
.flow2_descs {
    display: flex;
    gap: 30px;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 40px;
}

.flow2_desc {
    flex: 1 0 0;
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W5", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.7;
    color: #383b42;
}

/* ----------------------
   POINTボックス
---------------------- */
.flow2_point {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: #dfedff;
    border: 2px solid #006ec5;
    border-radius: 12px;
    box-sizing: border-box;
}

.flow2_point_badge {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    padding: 10px 14px;
    background-color: #b9d6ff;
    border-radius: 30px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    color: #01457a;
    white-space: nowrap;
    align-self: flex-start;
}

.flow2_point_heading {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.5;
    color: #0a3e8b;
    white-space: nowrap;
}

.flow2_point_text {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W4", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #0a3e8b;
}

/* ===================================================
   レスポンシブ
=================================================== */
@media screen and (max-width: 768px) {
    .flow2 {
        padding: 20px 0;
    }

    .flow2_inner {
        padding: 0 20px;
    }

    .flow2_heading {
        font-size: 22px;
        margin-bottom: 28px;
    }

    /* SP: step_labels / illust_area / descs を横スクロール */
    .flow2_scroll_wrap {
        width: calc(100% + 40px); /* inner の padding 分だけ広げる */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px; /* スクロールバー分の余白 */
    }

    .flow2_scroll_inner {
        display: inline-flex;
        flex-direction: column;
        min-width: 1000px; /* デスクトップデザインを維持する最小幅 */
        padding: 0 20px;
        box-sizing: border-box;
    }

    /* POINT だけレスポンシブ */
    .flow2_point {
        gap: 14px;
        padding: 16px;
    }

    .flow2_point_heading {
        font-size: 20px;
        white-space: normal;
    }

    .flow2_point_text {
        font-size: 14px;
    }
    .flow2_descs{
        margin-bottom: 24px;
    }
}
