/*----------------------------------------------------------
Index-/case/style.css
1.flexBox
2.numTtl
3.Adjust
----------------------------------------------------------*/

/*----------------------------------------------------------
1.case
----------------------------------------------------------*/

.case {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
}

.case li:first-child {
    width: 100%;
    margin-right: 0 !important;
}

.case li:first-child a {
    border: 1px solid #ea002a;
    overflow: hidden;
    position: relative;
}

.case li:first-child a::before {
    content: 'PICK UP';
    font-size: .6em;
    font-weight: bold;
    width: 12em;
    height: 12em;
    display: flex;
    -ms-align-items: flex-end;
    align-items: flex-end;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    background: #ea002a;
    color: #fff;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    z-index: 3;
    margin-top: -6em;
    margin-left: -6em;
    padding-bottom: .6em;
}

.case a {
    box-shadow: 0px 1px 5px 0px rgba(4, 0, 0, 0.28);
    position: relative;
    padding-bottom: 2em !important;
}

.case a:after {
    content: '';
    display: block;
    width: .6em;
    height: .6em;
    bottom: .4em;
    right: .4em;
    position: absolute;
    border-bottom: 3px solid #ea002a;
    border-right: 3px solid #ea002a;
}

.case_img {
    display: block;
    overflow: hidden;
    position: relative;
}

.case_name {
    display: block;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.case_txt {
    line-height: 1.8;
}

.case_txt strong {
    font-size: 1.22em;
    line-height: 1.45;
    margin-bottom: 1em;
    display: inline-block;
}

.case_label {
    display: inline-block;
    text-align: center;
    background: #525b5c;
    color: #fff;
    border-radius: 4px;
}

@media screen and (min-width: 769px) {

    .case li {
        width: calc((100% - 88px) / 3);
        margin-right: 44px;
        margin-bottom: 56px;
    }

    .case li:first-child a {
        display: -webkit-flex;
        display: -ms-flex;
        display: flex;
        -ms-align-items: center;
        align-items: center;
        font-size: 1.2em;
        padding-bottom: 20px !important;
    }

    .case li:first-child a>*:first-child {
        width: 470px;
        margin-bottom: 0;
    }

    .case li:first-child a>*:last-child {
        width: calc(100% - 470px);
        padding-left: 56px;
        padding-right: 32px;
    }

    .case li:first-child .case_txt {
        font-size: 1.8rem;
    }

    .case a {
        padding: 20px;
        display: block;
    }

    .case li:nth-child(3n + 1) {
        margin-right: 0;
    }

    .case a:hover {
        box-shadow: 0 0px 2px 0 rgba(4, 0, 0, 0.28);
        transform: translate3d(-2px, 2px, 0);
    }

    .case a:hover .case_img::before {
        opacity: 0.5;
    }

    .case a:hover .case_img img {
        transform: scale(1.2);
    }

    .case_img {
        margin-bottom: 20px;
    }

    .case_img::before {
        position: absolute;
        width: 100%;
        height: 100%;
        content: '';
        display: block;
        top: 0;
        left: 0;
        background: #000;
        opacity: 0;
        transition: all 1.4s ease;
        z-index: 2;
    }

    .case_img img {
        transition: all 1.4s ease;
    }

    .case_name {
        margin-top: 20px;
    }

    .case_label {
        padding: 6px 12px;
        font-size: 1.2rem;
        margin-right: 10px;
    }

}

@media screen and (max-width: 768.9px) {

    .case {
        padding-bottom: 40px;
    }

    .case li {
        width: calc((100% - 10px) / 2);
        margin-right: 10px;
        margin-bottom: 24px;
    }

    .case a {
        padding: 12px;
        display: block;
    }

    .case li:first-child a>*:first-child {
        margin-bottom: 24px;
    }

    .case li:nth-child(2n + 1) {
        margin-right: 0;
    }

    .case_img {
        margin-bottom: 10px;
    }

    .case_img img{
        display: block;
        margin: 0 auto;
    }

    .case_name {
        margin-top: 6px;
        -ms-flex-flow: column;
        flex-flow: column;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .case_label {
        padding: 4px 8px;
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .case li:first-child a::before {
        z-index: 2;
    }

}

/*----------------------------------------------------------
2.company_label
----------------------------------------------------------*/

.company_label {
    color: #999;
    font-weight: bold;
}

.company_name {
    display: inline-block;
}

.companyInfo,
.companyInfo dl {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    width: 100%;
}

.companyInfo {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: .8em 0;
    margin: 2.5em 0;
}

.companyInfo dl {
    padding: .4em .94em;
}

.companyInfo dl+dl {
    border-top: 1px solid #ccc;
    margin-top: .4em;
    padding-top: .8em;
}

.companyInfo dt,
dd {
    letter-spacing: .1em;
    line-height: 1.5;
}

.companyInfo dt {
    width: 20%;
}

.companyInfo dd {
    width: 80%;
}

.companyInfo::before {
    content: 'DATA';
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    background: #525b5c;
    color: #fff;
    padding: 1.5em 0;
}

@media screen and (min-width: 769px) {

    .company {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin-bottom: 32px;
    }

    .company_label {
        font-size: 1.4rem;
        margin-right: 16px;
    }

    .company_name {
        font-size: 2.4rem;
    }

    .company_box {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin-bottom: 54px;
    }

    .company_box>*:first-child {
        margin-right: 80px;
    }

    .companyInfo::before {
        width: 180px;
    }

    .companyInfo>div {
        width: calc(100% - 180px);
        padding-left: 1.19em;
    }

}

@media screen and (max-width: 768.9px) {

    .company {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: start;
        justify-content: flex-start;
        margin-bottom: 22px;
    }

    .company_label {
        font-size: 1.2rem;
        margin-right: 14px;
    }

    .company_name {
        font-size: 1.8rem;
    }

    .company_box {
        margin-bottom: 36px;
    }

    .company_box>*:first-child {
        margin-bottom: 10px;
    }

    .companyInfo {
        display: block;
        border-top: none;
    }

    .companyInfo dl:first-child {
        border-top: 1px solid #ccc;
        margin-top: 1em;
        padding-top: .8em;
    }

    .companyInfo dt {
        width: 30%;
    }

    .companyInfo dd {
        width: 70%;
    }

}

/*----------------------------------------------------------
3.people
----------------------------------------------------------*/

.people {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.people>* {
    line-height: 1.6;
    text-align: center;
}

@media screen and (min-width: 769px) {

    .people>* {
        width: calc((100% - 156px) / 4);
        margin-left: 52px;
        font-size: 1.4rem;
    }

    .people>*:first-child {
        margin-left: 0;
    }

    .people>* img {
        margin-bottom: 16px;
    }
}

@media screen and (max-width: 768.9px) {

    .people {
        -ms-flex-flow: wrap;
        flex-flow: wrap;
    }

    .people>* {
        width: calc((100% - 20px) / 2);
        margin-right: 20px;
        margin-bottom: 16px;
        font-size: 1.2rem;
    }

    .people>*:nth-child(2n) {
        margin-right: 0;
    }

    .people>* img {
        margin-bottom: 4px;
    }

}

/*----------------------------------------------------------
4.task
----------------------------------------------------------*/

.task {
    background: #fff;
}

.task_ttl {
    background: #ea002a;
    color: #fff;
    line-height: 1.8;
    font-weight: bold;
    position: relative;
}

.task_ttl::after {
    width: 0;
    height: 0;
    content: '';
    position: absolute;
    display: block;
}

.task_box {
    line-height: 1.8;
}

@media screen and (min-width: 769px) {

    .task {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        padding: 14px 16px;
    }

    .task+.task {
        margin-top: 10px;
    }

    .task_ttl {
        width: 450px;
        padding: 40px 48px;
        font-size: 1.8rem;
        margin-right: 60px;
    }

    .task_ttl::after {
        border-top: 40px solid transparent;
        border-bottom: 40px solid transparent;
        border-left: 20px solid #ea002a;
        border-right: 20px solid transparent;
        right: -50px;
        top: 50%;
        margin-top: -40px;
    }

    .task_box {
        width: calc(100% - 510px);
    }

}

@media screen and (max-width: 768.9px) {

    .task {
        padding: 10px;
    }

    .task+.task {
        margin-top: 10px;
    }

    .task_ttl {
        padding: 16px 8px;
        font-size: 1.4rem;
        margin-bottom: 24px;
    }

    .task_ttl::after {
        border-top: 10px solid #ea002a;
        border-bottom: 10px solid transparent;
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        left: 50%;
        bottom: -24px;
        margin-left: -20px;
    }

}

/*----------------------------------------------------------
5.profile_row
----------------------------------------------------------*/

.profile_row {
    display: -ms-flexbox;
    display: flex;
    padding: 22px 0;
    border-bottom: 1px solid #ccc;
}

.profile_row:first-child {
    border-top: 1px solid #ccc;
}

@media screen and (min-width: 769px) {

    .profile {
        display: -ms-flexbox;
        display: flex;
        margin-bottom: 62px;
    }

    .profile_img {
        width: 420px;
        margin-right: 60px;
    }

    .profile_box {
        width: calc(100% - 480px);
    }

    .profile_ttl {
        width: 138px;
    }

    .profile_cnt {
        width: calc(100% - 138px);
    }

}

@media screen and (max-width: 768.9px) {

    .profile {
        margin-bottom: 30px;
    }

    .profile_img {
        text-align: center;
        margin-bottom: 14px;
    }

    .profile_row {
        font-size: 1.2rem;
    }

    .profile_ttl {
        width: 84px;
    }

    .profile_cnt {
        width: calc(100% - 84px);
    }
}


/*----------------------------------------------------------
6.Adjust
----------------------------------------------------------*/

@media screen and (min-width: 769px) {

    .description {
        text-align: center;
        font-size: 3.2rem;
        line-height: 1.6;
        margin-bottom: 40px;
    }

    .box {
        padding-bottom: 72px;
    }
    
    .pb46_pc {
        padding-bottom: 46px;
    }

}

@media screen and (max-width: 768.9px) {

    main {
        padding-bottom: 40px;
    }

    .description {
        font-size: 1.8rem;
        line-height: 1.6;
        margin-bottom: 28px;
        text-align: center;
    }

    body .contents.gap {
        padding-left: 10px;
        padding-right: 10px;
    }

}