/* 事例 ---------------------------------------*/

.webp .pastCaseKv {
    background-image: url(/img/webp/pastcase/index/bg.webp);
}
.no-webp .pastCaseKv {
    background-image: url(/img/pastcase/index/bg.png);
}

.pastCaseList {
    width: 100%;
    -webkit-display: flex;
    -moz-display: flex;
    display: flex;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    justify-content: space-between;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    margin: 0 0 29px;
}

.pastCaseList li {
    width: 248px;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    text-align: center;
    border: 1px solid;
}

.pastCaseList li:first-child {
    background-color: #f0cecf;
    border-color: #f0cecf;
}

.pastCaseList li:nth-of-type(2) {
    background-color: #c7c8c9;
    border-color: #c7c8c9;
}

.pastCaseList li:nth-of-type(3) {
    border-color: #000;
}

.pastCaseTable {
    text-align: center;
    margin: 0 0 20px;
    table-layout: fixed;
}

.pastCaseTable thead tr {
    background-color: #ececed;
}

.pastCaseTable thead tr th {
    font-size: 16px;
    text-align: center;
    border: 1px solid #000;
}

.pastCaseTable thead tr th:first-child {
    width: 120px;
}

.pastCaseTable thead tr th:nth-of-type(2) {
    width: 170px;
}

.pastCaseTable thead tr th:nth-of-type(3) {
    width: 170px;
}

.pastCaseTable thead tr th:nth-of-type(4) {
    width: 120px;
}

.pastCaseTable thead tr th:nth-of-type(5) {
    width: 260px;
}

.pastCaseTable tr {
    height: 60px;
}

.pastCaseTable tr.pastCaseTableGray {
    background-color: #c7c8c9;
}

.pastCaseTable tr.pastCaseTablePink {
    background-color: #f0cecf;
}

.pastCaseTable td {
    border: 1px solid #000;
    font-size: 14px;
    padding: 5px 2px;
    letter-spacing: -0.025em;
}

.pastCaseText {
    text-align: right;
    font-size: 14px;
}

@media screen and (max-width: 960px) {
    /* 業界動向 当社以外の事例 ---------------------------------------*/
    .mainTitlepastCase {
        margin-bottom: 21px;
    }
    .pastCaseContent {
        padding: 0 20px;
    }
    .pastCaseList {
        width: 100%;
        display: block;
        margin: 0 0 22px;
    }
    .pastCaseList li {
        width: auto;
        height: auto;
        line-height: 1.5;
        font-size: 12px;
        text-align: left;
        border: none;
        position: relative;
        padding-left: 82px;
        margin-bottom: 6px;
    }
    .pastCaseList li::before {
        content: '';
        display: block;
        width: 60px;
        height: 18px;
        background: #000;
        border: 1px solid;
        position: absolute;
        top: 0;
        left: 0;
    }
    .pastCaseList li::after {
        content: '…';
        position: absolute;
        top: 0;
        left: 66px;
        font-weight: bold;
    }
    .pastCaseList li:first-child {
        background: none;
    }
    .pastCaseList li:first-child::before {
        background-color: #f0cecf;
        border-color: #f0cecf;
    }
    .pastCaseList li:nth-of-type(2) {
        background: none;
    }
    .pastCaseList li:nth-of-type(2)::before {
        background-color: #c7c8c9;
        border-color: #c7c8c9;
    }
    .pastCaseList li:nth-of-type(3) {
        background: none;
    }
    .pastCaseList li:nth-of-type(3)::before {
        background-color: #fff;
        border-color: #000;
    }
    .pastCaseTable {
        display: block;
        margin-bottom: 0;
    }
    .pastCaseTable tr {
        display: block;
        margin-bottom: 10px;
    }
    .pastCaseTable thead {
        display: none;
    }
    .pastCaseTable td {
        display: block;
        font-size: 12px;
        border-top: 1px solid #000;
        border-left: 1px solid #000;
        border-right: 1px solid #000;
        border-bottom: none;
        text-align: left;
        padding: 5px 10px 5px 76px;
        position: relative;
    }
    .pastCaseTable td::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 70px;
        height: 100%;
        padding: 5px 10px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        border-right: 1px solid #000;
        background-color: #ececed;
    }
    .pastCaseTable td:nth-child(1)::before {
        content: '時期';
    }
    .pastCaseTable td:nth-child(2)::before {
        content: '譲渡企業';
    }
    .pastCaseTable td:nth-child(3)::before {
        content: '譲受企業';
    }
    .pastCaseTable td:nth-child(4)::before {
        content: '譲渡形体';
    }
    .pastCaseTable td:nth-child(5)::before {
        content: '備考';
    }
    .pastCaseTable td:last-child {
        border-bottom: 1px solid #000;
    }
    .pastCaseTable tr {
        height: auto;
    }
    .pastCaseText {
        font-size: 12px;
    }
}

.contactInfoTitle {
    background-color: #45494b;
    color: #fff;
    font-size: 20px;
    font-weight: normal;
    width: 100%;
    line-height: 62px;
    margin-bottom: 1.5em;
    margin-top: 14px;
	text-align: center;
}

/* iphone5 iphoneSE用 */

@media screen and (max-width: 960px) {
    .pastCaseContentTitle {
        font-size: 18px;
    }
    .pastCaseContentBtn {
        width: 280px;
        background-position: right 5px center;
    }
}