@charset "UTF-8";

/* ==========================
   共通
========================== */

.compliance-flow,
.compliance-flow * {
    box-sizing: border-box;
}


/* ==========================
   インフォメーション
========================== */

.Information_txt {
    padding: 0 0 10px 20px;
}

.Information_list {
    margin: 0 0 20px 50px;
    list-style: disc;
}

.Information-inner {
    width: 900px;
    max-width: 92%;
    margin: 0 auto 8em;
}


/* ==========================
   コンプライアンスフロー全体
========================== */

.compliance-flow {
    width: 100%;
    max-width: 1140px;
    margin: 30px auto;
    padding: 0 34px 56px;

    border: 1px solid #d8dedb;
    background: #fff;
    overflow: hidden;
}


/* ==========================
   フロー本体
========================== */

.flow-wrap {
    display: grid;
    grid-template-columns:
        100px
        minmax(145px, 1.35fr)
        180px
        minmax(145px, 1.35fr)
        175px;

    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
}


/* ==========================
   相談者
========================== */

.flow-person {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;

    /* 左側の矢印との距離調整 */
    transform: translateX(12px);
}

.flow-person img {
    display: block;
    width: 70%;
    max-width: 115px;
    height: auto;
    margin: 0 auto;
}


/* ==========================
   矢印エリア
========================== */

.flow-arrows {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;

    width: 100%;
    min-width: 0;
    gap: 19px;
}

/* 左側の矢印だけ相談者側へ移動 */
.flow-wrap > .flow-arrows:nth-child(2) {
    transform: translateX(-8px);
}


/* ==========================
   矢印共通
========================== */

.arrow-box {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    min-height: 62px;
    padding: 8px 32px;

    color: #002b62;
    text-align: center;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;

    white-space: nowrap;
}

.arrow-box span {
    display: block;
}


/* ==========================
   上段：青と白のグラデーション
========================== */

.arrow-blue {
    background: linear-gradient(
        90deg,
        #fff 0%,
        #eef3fb 18%,
        #d5e1f4 48%,
        #a9c3e6 78%,
        #86a9d8 100%
    );
}

/* 右向き矢印 */
.arrow-right {
    clip-path: polygon(
        0 0,
        calc(100% - 30px) 0,
        100% 50%,
        calc(100% - 30px) 100%,
        0 100%
    );
}

.arrow-right span {
    transform: translateX(-5px);
}


/* ==========================
   下段：緑と白のグラデーション
========================== */

.arrow-green {
    background: linear-gradient(
        90deg,
        #a9c8ac 0%,
        #c3d9c4 38%,
        #dce9dc 70%,
        #f4f8f4 100%
    );
}

/* 左向き矢印 */
.arrow-left {
    clip-path: polygon(
        30px 0,
        100% 0,
        100% 100%,
        30px 100%,
        0 50%
    );
}

.arrow-left span {
    transform: translateX(5px);
}


/* ==========================
   外部委託窓口
========================== */

.outside-window {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
}

.outside-window img {
    display: block;
    width: 170px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.outside-label {
    margin-top: -54px;

    color: #002b62;
    text-align: center;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}


/* ==========================
   コンプライアンス窓口
========================== */

.compliance-office {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
}

.compliance-office img {
    display: block;
    width: 80px;
    height: auto;
    margin: 70px auto 13px;
}

.office-label {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 190px;
    min-height: 70px;
    padding: 6px 10px;

    border-radius: 10px;
    background: #002b62;
    color: #fff;

    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.6;
}

/* ==========================
   注釈
========================== */

.flow-note {
    margin: -44px 0 0 -50px;

    color: #002b62;
    text-align: center;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}


/* ==========================
   タブレット
========================== */

@media screen and (max-width: 1000px) {

    .compliance-flow {
        padding: 32px 20px;
    }

    .flow-wrap {
        grid-template-columns:
            minmax(65px, 0.75fr)
            minmax(105px, 1.25fr)
            minmax(105px, 1fr)
            minmax(105px, 1.25fr)
            minmax(130px, 1.3fr);

        gap: 8px;
    }

    .flow-person img {
        max-width: 95px;
    }

    .outside-window img {
        width: 115px;
        max-width: 115px;
    }

    .arrow-box {
        min-height: 56px;
        padding-right: 22px;
        padding-left: 22px;
        font-size: 13px;
    }

    .arrow-right {
        clip-path: polygon(
            0 0,
            calc(100% - 23px) 0,
            100% 50%,
            calc(100% - 23px) 100%,
            0 100%
        );
    }

    .arrow-left {
        clip-path: polygon(
            23px 0,
            100% 0,
            100% 100%,
            23px 100%,
            0 50%
        );
    }

    .office-label {
        max-width: 155px;
        font-size: 12px;
    }
    .outside-label {
        margin-top: -34px;
        font-size: 14px;
        line-height: 1.2;
        white-space: nowrap;
    }
}


/* ==========================
   スマートフォン
   ※縦並びにせず横並びを維持
========================== */

@media screen and (max-width: 800px) {

    .compliance-flow {
        width: 100%;
        margin: 15px 0;
        padding: 20px 8px 30px;
    }

    .flow-wrap {
        display: grid;
        grid-template-columns:
            0.75fr
            1.45fr
            1fr
            1.45fr
            1.35fr;

        align-items: center;
        gap: 3px;
    }

    .flow-person {
        transform: none;
    }

    .flow-person img {
        width: 100%;
        max-width: 58px;
    }

    .flow-wrap > .flow-arrows:nth-child(2) {
        transform: translateX(-3px);
    }

    .flow-arrows {
        gap: 10px;
    }

    .arrow-box {
        min-height: 42px;
        padding: 5px 13px;

        font-size: 10px;
        line-height: 1.25;
        white-space: normal;
    }

    .arrow-right {
        clip-path: polygon(
            0 0,
            calc(100% - 14px) 0,
            100% 50%,
            calc(100% - 14px) 100%,
            0 100%
        );
    }

    .arrow-left {
        clip-path: polygon(
            14px 0,
            100% 0,
            100% 100%,
            14px 100%,
            0 50%
        );
    }

    .arrow-right span,
    .arrow-left span {
        transform: none;
    }

    .outside-window img {
        width: 100%;
        max-width: 175px;
    }

    .outside-label {
        margin-top: -24px;
        font-size: 9px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .compliance-office img {
        width: 38px;
        margin: 20px auto 7px;
    }

    .office-label {
        width: 100%;
        max-width: 100px;
        padding: 7px 4px;

        border-radius: 6px;
        font-size: 9px;
        line-height: 1.35;
         display: flex;
        align-items: center;
        justify-content: center;
    }

    .flow-note {
        margin: -20px 0 0 -30px;
        font-size: 10px;
        line-height: 1.6;
    }
}