@charset "utf-8";
/********************************************************
CSS information
style info :  関連導入事例パーツ用
********************************************************/

.related_casestudy {
    overflow: hidden;
    padding: 80px 11.5%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.related_casestudy .section_title {
    margin-bottom: 40px;
}
.related_casestudy .section_title > h2 {
    text-align: center;
    font-weight: bold;
    font-size: 32px;
    line-height: 1;
    color: #012e83;
}
.related_casestudy .section_title > hr {
    margin: 0 auto;
    margin-top: 20px;
    border-top: 3px solid #012e83;
    width: 40px;
}

@media screen and (max-width: 1024px) {
    .related_casestudy {
        overflow: hidden;
        padding: 40px 5%;
    }
    .related_casestudy .section_title > h2 {
        font-weight: bold;
        font-size: 24px;
    }
    .related_casestudy .section_title > hr {
        margin-top: 16px;
        border-top: 2px solid #012e83;
    }
}


/* リスト */
.casestudy-list {
}
.casestudy-list .slick-prev::before,
.casestudy-list .slick-next::before {
    color: #d8d8d8;
}

.casestudy-list.slick-initialized .slick-slide {
    margin: 0 10px;
}

.casestudy-list {
}
.casestudy-list a {
    background-color: #fff;
}

.casestudy-list .card_item {
    height: 430px;
    border: 1px solid rgba(216, 216, 216, 0.6);
}
.casestudy-list .card_item .service_label {
    height: 70px;
    padding: 10px;
    overflow: hidden;
    background: #012e83;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.casestudy-list .card_item .service_label p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    }
.casestudy-list .card_item .thumbnail_area {
    overflow: hidden;
    height: 150px;
}
.casestudy-list .card_item .thumbnail_area img.thumb_img {
    width: 100%;
    max-height: 150px;
    height: auto;
    display: block;
    object-fit: cover;
    transition: 0.3s;
}
.casestudy-list .card_item:hover .thumbnail_area img.thumb_img {
    transform: scale(1.1);
}
.casestudy-list .card_item .caption_area {
    padding: 10px 20px;
}
.casestudy-list .card_item .caption_area .meta {
}
.casestudy-list .card_item .caption_area h3 {
    margin-top: 16px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    text-align: left;
    color: #222;
    /* min-height: 50px; */
}
.casestudy-list .card_item .caption_area p {
    /* min-height: 65px; */
    margin-top: 12px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #222222;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

@media screen and (max-width: 1024px) {
    /* リスト */
    .casestudy-list {
        width: 100%;
        margin-bottom: 60px;
    }
    .casestudy-list a {
        width: 100%;
    }
    .casestudy-list .card_item {
        height: auto;
    }
    .casestudy-list .card_item .service_label {
        min-height: 48px;
        height: auto;
        padding: 10px 5%;
    }
    .casestudy-list .card_item .thumbnail_area {
        min-height: auto;
    }
    .casestudy-list .card_item .thumbnail_area img.thumb_img {
        width: auto;
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
        object-fit: contain;
        transition: 0.3s;
        margin: 0 auto;
    }
    .casestudy-list .card_item .caption_area h3 {
        font-size: 16px;
    }
    .casestudy-list .card_item .caption_area p {
        font-size: 12px;
    }
}

/* メタ */
.meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0 8px;
}
.meta .date {
    display: inline-block;
    font-weight: 500;
    font-size: 12px;
    color: #666;
}
.meta .tag {
    display: inline-block;
    padding: 5px 12px;
    font-weight: 500;
    font-size: 12px;
    line-height: 1;
    color: #fff;
}
.tag_cs-casestudy {
    background: #72a5e1;
}
.tag_cs-interview {
    background: #00b050;
}

/* ボタン */
.section_casestudy .button_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 24px;
    width: 100%;
    margin: 0 auto;
    margin-top: 64px;
}

.section_casestudy .button_wrapper > .button_load {
    box-sizing: border-box;
    position: relative;
    display: grid;
    place-items: center;
    width: 220px;
    height: 64px;
    padding-right: 20px;
    border-radius: 4px;
    border: 1.5px solid #0c59be;
    background: #0c59be;
    text-decoration: none;
    text-align: center;
    color: #fff;
    font-size: 16px;
    /* font-weight: 600; */
    transition: 0.3s;
}

.section_casestudy .button_wrapper > .button_load::after {
    position: absolute;
    content: "";
    margin: auto;
    top: 46%;
    right: 24px;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;

    transform: translateY(-50%) rotate(135deg);
    -webkit-transform: translateY(-50%) rotate(135deg);
    -ms-transform: translateY(-50%) rotate(135deg);
}

.section_casestudy .button_wrapper > .button_close {
    display: grid;
    place-items: center;
    display: none;
    box-sizing: border-box;
    position: relative;
    width: 220px;
    height: 64px;
    padding-right: 20px;
    border-radius: 4px;
    border: 1.5px solid #0c59be;
    background: #0c59be;
    text-decoration: none;
    text-align: center;
    color: #fff;
    font-size: 16px;
    /* font-weight: 600; */
    transition: 0.3s;
}

.section_casestudy .button_wrapper > .button_close::after {
    position: absolute;
    content: "";
    margin: auto;
    top: 54%;
    right: 24px;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;

    transform: translateY(-50%) rotate(315deg);
    -webkit-transform: translateY(-50%) rotate(315deg);
    -ms-transform: translateY(-50%) rotate(315deg);
}


/* 一覧遷移ボタン
--------------------------------------------------------*/
.related_casestudy .button_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 24px;

    width: 100%;
    margin: 0 auto;
    margin-top: 64px;
}
.related_casestudy .button_wrapper > .button_more {
    box-sizing: border-box;
    position: relative;
    display: grid;
    place-items: center;
    width: 220px;
    height: 64px;
    padding-right: 24px;
    border-radius: 4px;
    border: 1.5px solid #0c59be;
    background: #0c59be;
    text-decoration: none;
    text-align: center;
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}
.related_casestudy .button_wrapper > .button_more::after {
    position: absolute;
    content: "";
    margin: auto;
    top: 0;
    bottom: 0;
    right: 20px;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    transform: rotate(45deg);
    transition: 0.3s;
}
.related_casestudy .button_wrapper > .button_more:hover {
    background: #fff;
    color: #0c59be;
}
.related_casestudy .button_wrapper > .button_more:hover::after {
    width: 10px;
    height: 10px;
    border-top: 2px solid #0c59be;
    border-right: 2px solid #0c59be;
}

@media screen and (max-width: 1024px) {
    .related_casestudy .button_wrapper {
        margin-top: 32px;
    }
    .related_casestudy .button_wrapper > .button_more {
        box-sizing: border-box;
        position: relative;

        width: 200px;
        height: 56px;
        padding-right: 24px;
        border-radius: 4px;
        border: 1.5px solid #0c59be;
        background: #0c59be;
        text-decoration: none;
        text-align: center;
        color: #fff;
        font-size: 16px;
        line-height: 52px;
    }

    .related_casestudy .button_wrapper > .button_more::after {
        position: absolute;
        content: "";
        margin: auto;
        top: 0;
        bottom: 0;
        right: 20px;
        width: 8px;
        height: 8px;
        border-top: 1.5px solid #fff;
        border-right: 1.5px solid #fff;
        transform: rotate(45deg);
        transition: 0.3s;
    }
}
