* {
    font-family: Toyota Type
}

:root {
    --color-buton: #eb0a1e
}

.t-overflow {
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box
}

.community-container {
    margin-top: 94px
}

.communitycsr {
    color: white
}

.communitycsr:hover {
    color: white
}

.communitycsr__img {
    height: 600px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center
}

.communitycsr__img>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: 100%
}

.communitycsr__title--container {
    width: 1193px;
    max-width: 100%;
    margin: 0 auto
}

.communitycsr__title {
    text-align: center
}

.communitycsr__title>h1 {
    font-family: Toyota Type;
    font-style: normal;
    font-weight: 600;
    font-size: 38px;
    line-height: 120%;
    display: inline-block;
    border-bottom: 3px solid #f00;
    padding: 50px 20px 36px 20px
}

.communitycsr__title>h1.no-border {
    border-bottom: none;
    display: block
}

.communitycsr__line {
    width: 344px;
    height: 0;
    border-top: 3px solid #f00;
    display: inline-block;
    margin: 0 auto
}

.communitycsr__analist--item {
    margin-top: 64px;
    text-align: center
}

.communitycsr__analist--item>.communitycsr__analist--item--title {
    margin-bottom: 36px;
    font-family: Toyota Type;
    font-style: normal;
    font-weight: normal;
    font-size: 60px;
    line-height: 150%
}

.communitycsr__analist--item>.communitycsr__analist--item--desc {
    width: 256px;
    margin: 0 auto;
    font-size: 16px
}

.communitycsr__analist--item>.communitycsr__analist--item--desc.custom {
    width: 80%;
    margin: 0 auto;
    min-height: 48px;
    margin-bottom: 34px
}

.communitycsr__analist--item--icon {
    margin-bottom: 0
}

.communitycsr__analist--item--icon img {
    width: 50px
}

.communitycsr__item--img {
    width: 50%;
    height: 637px
}

.communitycsr__item--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.communitycsr__item--img-link {
    display: block;
    width: 100%;
    height: 100%
}

.communitycsr__page {
    margin-top: 64px
}

.communitycsr__item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap
}

.communitycsr__item:nth-child(even) {
    flex-direction: row-reverse
}

.communitycsr__item--content {
    text-align: center;
    padding: 0 64px;
    width: 50%
}

.communitycsr__item--title {
    font-family: Toyota Type;
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 36px
}

.communitycsr__item--desc {
    font-family: Toyota Type;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    margin-bottom: 36px;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis
}

.communitycsr {
    background: var(--color-buton);
    border: 1px solid var(--color-buton);
    box-sizing: border-box;
    border-radius: 20px;
    padding: 6px 25px;
    color: white;
    cursor: pointer;
    text-decoration: none
}

h1.no-borderpc {
    border: unset
}

.communitycsr__item--content--icon {
    margin-bottom: 36px
}

.communitycsr__item--content--icon img {
    width: 70px;
    height: 70px;
    position: relative
}

.line-img {
    width: 90px;
    border-top: 3px solid #000;
    margin: 0 auto;
    margin-top: 16px
}

.communitycsr__head {
    padding-left: 11px;
    border-left: 5px solid #eb0a1e;
    margin-bottom: 36px
}

.community__active--item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 58px;
    margin-bottom: 60px
}

.community__active--img {
    width: 383px;
    height: 256px
}

.community__active--img>img {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.conmunity__active--title {
    font-family: Toyota Type;
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    color: #1a1a1a;
    margin-bottom: 36px
}

.community__active--content {
    width: 762px;
    max-width: 100%;
    position: relative
}

.community__active--desc {
    font-family: Toyota Type;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 150%;
    color: #3a3a3a;
    margin-bottom: 36px
}

.community__active-more {
    font-family: Toyota Type;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 23px;
    color: #000;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-decoration: none
}

.section__container {
    width: 1200px;
    margin: 0 auto;
    margin-top: 81px;
    max-width: 100%
}

.community__active-more>svg {
    margin-left: 10px
}

.red-line {
    margin-left: 414px;
    width: 357px;
    border-top: 3px solid #eb0a1e
}

.communitycsr__active {
    margin-top: 81px
}

.communitycsr__artical {
    margin-top: 65px
}

.communitycsr__artical--box {
    display: -webkit-box;
    width: 1200px;
    overflow: auto;
    max-width: 100%
}

.communitycsr__artical--box .communitycsr__artical--item {
    margin-right: 16px
}

.communitycsr__artical--box .communitycsr__artical--item:last-child {
    margin-right: 0
}

.communitycsr__artical--item {
    width: 288px
}

.communitycsr__artical--img {
    width: 100%;
    height: 168px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 16px
}

.communitysrc__artical--title {
    font-family: Toyota Type;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    color: #1a1a1a;
    margin-bottom: 18px
}

.communitysrc__artical--date {
    font-family: Toyota Type;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 17px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    color: #000
}

.communitycsr__artical--link {
    display: inline-block;
    width: 100%;
    height: 100%
}

.communitycsr__artical.section__container.custom {
    margin-bottom: 100px
}

.communitycsr__title--desc {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 64px;
    margin-bottom: 80px
}

.beforeFooter {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 714px;
    overflow: hidden
}

.beforeFooter__img {
    flex: 1 1 auto;
    height: 100%;
    position: relative;
    overflow: hidden
}

.beforeFooter__img>img {
    width: 100%;
    height: 100%;
    object-position: center
}

.beforeFooter__box {
    width: 632px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 0 94px;
    background-color: #ba2822;
    max-width: 100%;
    position: relative
}

.beforeFooter__box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 50%;
    background-color: #ba2822;
    clip-path: polygon(0 0, 100% 0, 100% 100%)
}

.beforeFooter__box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 50%;
    height: 50%;
    background-color: #ba2822;
    clip-path: polygon(100% 100%, 0 100%, 100% 0)
}

.beforeFooter__title {
    font-family: Toyota Type;
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    line-height: 57px;
    letter-spacing: 0;
    text-align: left;
    margin-bottom: 30px;
    color: #fff
}

.beforeFooteer__content {
    font-family: Toyota Type;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0;
    text-align: left;
    margin-bottom: 73px;
    color: #fff
}

.btn-white {
    padding: 12px 66px;
    background: #fff;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-family: Toyota Type;
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 120%;
    color: #eb0a1e
}

.comunitycsr__detail {
    text-align: center
}

.comunitycsr__detail.no-img {
    margin-bottom: 116px
}

.communitycsr__detail--title {
    font-family: Toyota Type;
    font-style: normal;
    font-weight: 600;
    font-size: 38px;
    line-height: 120%;
    color: #1a1a1a;
    margin-bottom: 36px
}

.communitycsr__detail--desc {
    font-family: Toyota Type;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    margin-bottom: 36px;
    color: #000
}

.communitycsr__dettail--img {
    width: 100%;
    height: 768px
}

.communitycsr__dettail--img>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.section__slide {
    background-color: #f5f5f5;
    padding: 62px 0
}

.section__slide>.slide__box {
    margin-top: 0
}

.communitycsr__slide--title {
    margin-bottom: 65px;
    font-family: Toyota Type;
    font-style: normal;
    font-weight: 600;
    font-size: 38px;
    line-height: 115%;
    letter-spacing: .04em;
    color: #000;
    text-align: center
}

.main-slider.slick-initialized.slick-slider {
    width: 940px;
    max-width: 100%;
    margin: 0 auto;
    z-index: 1
}

button.slick-prev.btn-custom.slick-arrow {
    position: absolute;
    top: 50%;
    left: -155px;
    z-index: 1;
    padding: 5px 10px;
    border: 1px solid;
    outline: none
}

button.slick-next.btn-custom.slick-arrow {
    position: absolute;
    top: 50%;
    right: -155px;
    padding: 5px 10px;
    border: 1px solid;
    outline: none
}

p.main-slider__desc {
    margin-top: 36px;
    margin-bottom: 0;
    font-family: Toyota Type;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: #808080
}

.main-detail__img {
    height: 447px;
    width: 100%
}

.main-detail__video {
    height: 447px;
    width: 100%
}

.communitycsr__page p img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center
}

@media(max-width:1199.98px) {}

@media(max-width:991.98px) {}

@media(max-width:767.98px) {
    .community-container {
        margin-top: 60px
    }

    .communitycsr__title>h1 {
        font-size: 20px
    }

    .communitycsr__item {
        flex-direction: column;
        flex-wrap: wrap
    }

    .communitycsr__item:nth-child(even) {
        flex-direction: column
    }

    .communitycsr__item--img {
        width: 100%;
        height: 203px
    }

    .communitycsr__item--content {
        width: 100%;
        padding: 36px 3px 66px 3px
    }

    .communitycsr__item--title {
        margin-bottom: 16px;
        font-size: 20px
    }

    .communitycsr__item--desc {
        margin: 0 auto;
        margin-bottom: 36px;
        padding: 0 17px;
        text-align: justify
    }

    .t-overflow {
        -webkit-line-clamp: 3
    }

    .communitycsr__line.has-boder {
        display: block;
        width: 100px
    }

    h1.no-borderpc {
        border-bottom: 3px solid #f00
    }

    .communitycsr__title--desc {
        padding: 0 17px;
        text-align: justify
    }
}

@media screen and (max-width:576px) {
    .communitycsr__page p img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center
    }

    .communitycsr__page p {
        padding: 0 16px
    }

    .communitycsr__active {
        margin-top: 0
    }

    .community__active--item {
        gap: 0
    }

    .conmunity__active--title {
        margin-bottom: 16px;
        margin-top: 16px
    }
}