/* page title */

.p-case-main{
    min-height: 86px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}
.p-case-case {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    color: #0D8A19;
}
.p-case-attr{
    margin-top: 7px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    color: #333;
}
@media screen and (max-width: 767px) {
    .p-case-main{
        max-width: initial;
        min-height: initial;
        padding: 15px;
    }
    .p-case-case {
        font-size: 15px;
    }
}


/* case header */

.p-case-header__title{
    max-width: 1100px;
    margin: 0 auto;
    padding: 55px 0;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.3;
    color: #333;
}
.p-case-header__meta{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 50px 0;
    background: #f7f7f7;
}
@media screen and (max-width: 767px) {
    .p-case-header{
        padding: 30px 15px 15px;
    }
    .p-case-header__title{
        max-width: initial;
        padding: 0;
        font-size: 26px;
        line-height: 1.5;
    }
    .p-case-header__meta{
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        margin: 30px 0 0;
        padding: 20px;
    }
}

.p-case-header__person{
    display: flex;
    align-items: center;
    gap: 20px;
}
.p-case-header__person-img{
    flex-shrink: 0;
    width: 120px;
}
.p-case-header__person-face{
    height: 120px;
    border-radius: 60px;
}
.p-case-header__person-name{
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: #333;
}
.p-case-header__person-name b{
    font-size: 28px;
}
.p-case-header__person-attr{
    margin: 12px 0 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    color: #333;
}
.p-case-header__person-tags{
    margin: 12px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px;
}
.p-case-header__person-tag{
    display: inline-block;
    padding: 6px 12px 8px;
    font-size: 15px;
    line-height: 1;
    color: #fff;
    background: #0D8A19;
}
.p-case-header__meta>.p-case-header__person-tags{
    display: none;
}
@media screen and (max-width: 767px) {
    .p-case-header__person{
        justify-content: flex-start;
        gap: 15px;
    }
    .p-case-header__person-img{
        width: 100px;
    }
    .p-case-header__person-face{
        height: 100px;
        border-radius: 50px;
    }
    .p-case-header__person-txt{
        flex-grow: 1;
    }
    .p-case-header__person-name{
        font-size: 16px;
    }
    .p-case-header__person-name b{
        font-size: 24px;
    }
    .p-case-header__meta>.p-case-header__person-tags{
        display: flex;
    }
    .p-case-header__person-txt>.p-case-header__person-tags{
        display: none;
    }
}

.p-case-header__result{
    position: relative;
    padding: 0 0 0 50px;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.6;
    color: #C65300;
    text-align: center;
}
.p-case-header__result::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 40px;
    background: #C65300;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}
@media screen and (max-width: 767px) {
    .p-case-header__result{
        padding: 35px 0 0;
        font-size: 20px;
    }
    .p-case-header__result::before{
        top: 0;
        left: 50%;
        transform: translate(-50%,0);
        width: 40px;
        height: 20px;
        clip-path: polygon(0 0, 100% 0, 50% 100%);
    }
}


/* contents */

.p-case-contents{
    padding: 10px 0 100px;
    background: #F8F7E8;
}
.p-case-contents__inner{
    max-width: 900px;
    margin: 0 auto;
}
@media screen and (max-width: 767px) {
    .p-case-contents{
        padding: 1px 15px 50px;
        background: #F8F7E8;
    }
    .p-case-contents__inner{
        max-width: initial;
    }
}

.p-case-heading{
    margin: 90px 0 0;
    padding: 0 0 10px;
    border-bottom: 2px solid #0D8A19;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
    color: #0D8A19;
}
.p-case-subheading{
    margin: 25px 0 35px;
    padding: 10px 0 10px 20px;
    border-left: 6px solid #0D8A19;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    color: #333;
}
@media screen and (max-width: 767px) {
    .p-case-heading{
        margin-top: 60px;
        padding-bottom: 8px;
        font-size: 18px;
    }
    .p-case-subheading{
        margin: 20px 0;
        padding: 6px 0 6px 14px;
        font-size: 18px;
    }
}

.p-case-talk{
    display: flex;
    align-items: flex-start;
    gap: 35px;
    margin: 30px 0 0;
}
.p-case-talk__by{
    flex-shrink: 0;
    width: 100px;
    text-align: center;
}
.p-case-talk__by-face{

}
.p-case-talk__by-name{
    margin: 12px 0 0;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}
.p-case-talk__by-name b{
    font-size: 24px;
}
.p-case-talk__bubble{
    flex-grow: 1;
    position: relative;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0px 0px 20px 0px #DDDDDD;
    background: #fff;
}
.p-case-talk__bubble::before{
    content: "";
    position: absolute;
    top: 40px;
    left: -25px;
    width: 25px;
    height: 25px;
    background: #fff;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
}
.p-case-talk__bubble p{
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
}
.p-case-talk__bubble p strong{
    font-weight: 700px;
    color: #0D8A19;
}
.p-case-talk__bubble p+p{
    margin-top: 15px;
}
@media screen and (max-width: 767px) {
    .p-case-talk{
        gap: 27px;
        margin: 20px 0 0;
    }
    .p-case-talk__by{
        width: 50px;
    }
    .p-case-talk__by-name{
        margin-top: 10px;
        font-size: 14px;
    }
    .p-case-talk__by-name b{
        font-size: 18px;
    }
    .p-case-talk__bubble{
        padding: 18px;
    }
    .p-case-talk__bubble::before{
        content: "";
        position: absolute;
        top: 20px;
        left: -17px;
        width: 17px;
        height: 15px;
    }
    .p-case-talk__bubble p{
        font-size: 16px;
    }
    .p-case-talk__bubble p+p{
        margin-top: 12px;
    }
}

.p-case-lead{
    margin: 25px 0 0;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.5;
    color: #333;
}
@media screen and (max-width: 767px) {
    .p-case-lead{
        margin-top: 20px;
        font-size: 22px;
    }
}

.p-case-chk{
    margin: 25px 0 50px;
}
.p-case-chk__item{
    position: relative;
    list-style: none;
    padding: 0 0 0 40px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}
.p-case-chk__item+ .p-case-chk__item{
    margin-top: 30px;
}
.p-case-chk__item::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: url(/static/training/assets/images/case/chk.svg) no-repeat;
    background-size: contain;
}
@media screen and (max-width: 767px) {
    .p-case-chk{
        margin: 20px 0 30px;
    }
    .p-case-chk__item{
        padding-left: 28px;
        font-size: 16px;
        line-height: 1.5;
    }
    .p-case-chk__item+ .p-case-chk__item{
        margin-top: 20px;
    }
    .p-case-chk__item::before{
        top: 3px;
        width: 20px;
        height: 20px;
    }
}

.p-case-img{
    margin: 45px 0 0;
    text-align: center;
}
.p-case-img__img{
    max-width: 600px;
}
@media screen and (max-width: 767px) {
    .p-case-img{
        margin-top: 40px;
    }
    .p-case-img__img{
        max-width: 100%;
    }
}

.p-case-result{
    margin: 85px 0 0;
    padding: 0;
}
.p-case-result__title{
    padding: 20px;
    background: #0D8A19;
    color: #FFED29;
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}
.p-case-result__inner{
    padding: 35px 20px 40px;
    border: 4px solid #0D8A19;
    border-top: none;
    background: #fff;;
}
.p-case-result__company{
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.6;
    color: #C65300;
}
.p-case-result__detail{
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.8;
    color: #333;
}
@media screen and (max-width: 767px) {
    .p-case-result{
        margin-top: 50px;
    }
    .p-case-result__title{
        padding: 15px;
        font-size: 24px;
    }
    .p-case-result__inner{
        padding: 30px;
        border: 3px solid #0D8A19;
        border-top: none;
    }
    .p-case-result__company{
        text-align: center;
        font-size: 28px;
        font-weight: 700;
        line-height: 1.6;
        color: #C65300;
    }
    .p-case-result__detail{
        text-align: center;
        font-size: 20px;
        font-weight: 500;
        line-height: 1.8;
        color: #333;
    }
    .p-case-result__company{
        font-size: 20px;
    }
    .p-case-result__detail{
        font-size: 15px;
    }
}

.p-case-note{
    margin: 80px 0 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    color: #333;
}
.p-case-note+.p-case-note{
    margin-top: 15px;
}
@media screen and (max-width: 767px) {
    .p-case-note{
        margin-top: 50px;
        font-size: 12px;
    }
}


/* cvr */

.p-case-cv{
    margin: 80px 0 90px;
    padding: 0;
    box-shadow: none;
}
.p-case-cv .c-static{
    padding-top: 0;
}
.c-cv-kv__lead{
    margin: 0 0 40px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #333;
}
@media screen and (max-width: 767px) {
    .p-case-cv{
        margin: 50px 0 60px;
    }
    .c-cv-kv__lead{
        margin-bottom: 36px;
        font-size: 18px;
    }
}


/* case footer */

.p-case-footer{
    max-width: 900px;
    margin: 70px auto 20px;
}
@media screen and (max-width: 767px) {
    .p-case-footer{
        max-width: initial;
        margin: 30px 15px 20px;
    }
}

.p-case-list{
    margin: 100px 0 0;
}
.p-case-list__title{
    font-size: 45px;
    font-weight: 700;
    text-align: center;
    color: #333;
    line-height: 1.3;
}
