.s-kansai-case_top-keywords--list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.s-kansai-case_top-keywords--item {
    margin-right: 0.7em;
    line-height: 1.8;
}

.s-content--inner {
    position: relative;
    padding: 16px;
    margin-bottom: 48px;
}
.s-content--inner:after {
    content: "";
    position: absolute;
    margin-top: 32px;
    margin-left: -16px;
    bottom: -32px;
    left: 50%;
    border-style: solid;
    border-width: 16px 16px 0 16px;
    border-color: #003d7c transparent transparent transparent;
}

.s-content--inner:last-child:after {
    border: none;
}
.s-index_list {
    margin-top: 48px;
}


.s-border_top {
    border-top: solid 2px #003d7c;
}

.s-border_top.s-content--wrap_point {
    border-top: solid 2px #f7931d;
}

.s-content--inner  .s-heading {
    margin-top: 0px;
    margin-bottom: 16px;
}

.s-heading--point {
    color: #f7931d;
}

.s-contract-item:last-child {
    margin-bottom: 8px;
}

.s-kansai-case--inline.s-layout__flex {
    flex-direction: row;
    flex-wrap: wrap;
}

.s-kansai-case__wrap {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.s-kansai-case__wrap--item {
    width: 50%;
    text-align: center;
}

.s-kansai-case__img--caption {
    margin-top: 8px;
    margin-bottom: 16px;
    font-size: .9em;
}

.s-contact-branch__text {
    font-weight: 700;
    color: #fff;
}

.s-contact-branch__note {
    display: block;
    color: #fff;
    font-weight: 700;
}

.s-contact-branch__item {
    margin-top: 16px;
}

.s-contact-branch__item-tel {
    background-color: #f6f6f6;
    padding: 16px 8px;
    text-align: center;
}

/* 関西コンサル - top */

.s-index_items {
    display: flex;
    margin-bottom: 32px;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
}

.s-index_items--link {
    display: block;
    padding: 32px 24px;
    transition: none;
    -webkit-transition: opacity .24s ease-out;
    -o-transition: opacity .24s ease-out;
    transition: opacity .24s ease-out;
}

.s-index_items--link:hover {
    border: none;
    opacity: 0.5;
}

.s-index_items--tag {
    background-color: #003d7c;
    border-color: #003d7c;
    border-radius: 4px;
    padding: 4px 11px;
    font-size: 15px;
}

.s-index_items--title {
    color: #00aeef;
    margin-bottom: 16px;
}

.s-index_items--text {
    color: #000;
}

/* 関西コンサル - top */

@media only screen and (min-width: 769px) {

    /* 関西コンサル - top */

    .s-index_list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        margin-top: 64px;
    }

    .s-index_items {
        width: 30%;
        margin-right: 3.5%;
        margin-bottom: 3%;
        -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, .15);
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, .15);
    }

    .s-index_items:nth-child(3n) {
        margin-right: 0;
    }

    /* 関西コンサル - top */

    .s-link-list:last-child {
        width: 50%;
    }

    .s-content--inner {
        padding: 24px;
    }

    .s-kansai-case__wrap {
        justify-content: flex-start;
    }

    .s-kansai-case__wrap--item {
        width: auto;
        margin-right: 16px;
    }

    .s-kansai-case__wrap--item:nth-child(5) {
        margin: 0;
    }

    .s-contact-branch {
        margin-left: 0;
        margin-right: 0; 
    }

    .s-contact-branch__item-tel .s-contact-branch__text {
        font-size: 18px;
    }

    .s-contact-branch__item-tel {
        padding: 0;
        font-size: .9em;
    }

    .s-contact-branch__note{
        color: #777;
        font-size: .5em;
    }
}


/* case no 5*/
.s-contract__card {
    flex-direction: column;
    border: 2px solid #ccc;
}

.s-contract__card--header {
    text-align: center;
    background-color: #00a0e9;
    padding: 10px 15px;
    color: #fff;
    margin: 0;
    border-bottom: 2px solid #ccc;
}

.s-contract__card--body {
    padding: 10px 15px;
}

/* case no 8 and 10*/
.s-kansai-case__nowrap {
    flex-wrap: nowrap !important;
    border: 2px solid #ccc;
    flex-direction: column;
}

.s-image-sch {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.s-kansai-case__wrap--header {
    background-color: #00a0e9; 
    border-right: 0;
    border-bottom: 2px solid #ccc;
    flex-basis: auto;
    min-width: auto;
    display: flex;
    align-items: center;
    padding: 5px 8px;
    color: #fff;
}

.s-kansai-case__wrap--body {
    margin-right: 0;
    padding: 5px 8px;
    line-height: 1.5;
    text-align: left !important;
}

@media only screen and (min-width: 576px) {
    .s-kansai-case__nowrap {
        flex-wrap: nowrap !important;
        border: 2px solid #ccc;
        flex-direction: row;
    }

    .s-kansai-case__wrap--header {
        border-right: 2px solid #ccc;
        border-bottom: 0;
        flex-basis: 25%;
        min-width: 135px;
        display: flex;
        align-items: center;
        padding: 5px 8px;
        color: #fff;
    }
}
