@charset "UTF-8";

@media screen and (min-width: 900px){
    /* Top Movie CSS */
    #TopMovieBox {
        width: 100%;
        position: relative;
        z-index: 500;
    }

    #TopMovieBox video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #HeaderCatchText {
        position: absolute;
        top: 50%;
        left: 10%;
        font-size: 30px;
        letter-spacing: 5px;
        line-height: 40px;
        font-weight: 600;
    }

    /* Project Section CSS */
    #ProjectImageBox {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    #ProjectImageBox a{
        display: inline-block;
        width: 48%;
        margin: 10px 1%;
    }
    .ProjectItemBox {
        width: 100%;
        margin: 10px .5%;
        display: flex;
        flex-direction: column;
    }

    .ProjectItemImage {
        width: 100%;
        aspect-ratio: .8;
        overflow: hidden;
        border-radius: 10px;
    }

    .ProjectItemImage img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .ProjectItemText {
        font-size: 15px;
        font-weight: 600;
    }

    .ProjectItemSubText {
        font-size: 10px;
        color: #797979;
    }
    /* Sustainability Section CSS */
    #SustainabilityBox {
        aspect-ratio: 2.2;
        background-image: url("../image/sustainability.jpg");
        background-color: rgba(255,255,255,.5);
        background-blend-mode: lighten;
        background-size: cover;
        background-position: bottom;
        align-items: center;
        margin: 50px 0 0;
        display: flex;
        align-items: center;
    }

    #SustainabilityInner {
        align-items: center;
    }

    .SustainabilityLeftBox {
        width: 75%;
    }

    .SustainabilityRightBox {
        width: 25%;
        min-width: 300px;
    }

    /* News Section CSS */
    #NewsContentBox {
        width: 95%;
        display: flex;
        flex-direction: column;
        margin: 0 0 100px 5%;
    }
    #NewsContentBox a{
        margin: 0 0 10px;
    }

    .NewsBox {
        width: 100%;
        background-color: #FFFFFF;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        padding: 30px 40px;
        line-height: 15px;
        border-radius: 5px;
        color: #494949;
        font-weight: 600;
    }

    .NewsCategoryBox {
        width: 25%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-size: 12px;
    }

    .NewsTitleBox {
        width: 75%;
        text-align: left;
        margin: 0 0 0 10%;
    }

    .NewsDate {
        font-size: 10px;
        color: #B9B9B9;
    }

}



@media screen and (max-width: 899px) {
    /* Top Movie CSS */
    #TopMovieBox {
        width: 100%;
        position: relative;
        z-index: 500;
    }

        #TopMovieBox video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    #HeaderCatchText {
        position: absolute;
        top: 50%;
        left: 10%;
        font-size: 30px;
        letter-spacing: 5px;
        line-height: 40px;
        font-weight: 600;
    }

    /* Project Section CSS */
    #ProjectImageBox {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    #ProjectImageBox a {
        display: inline-block;
        width: 48%;
        margin: 10px 1%;
    }

    .ProjectItemBox {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .ProjectItemImage {
        width: 100%;
        aspect-ratio: .8;
        overflow: hidden;
        border-radius: 5px;
    }

        .ProjectItemImage img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .ProjectItemText {
        font-size: 12px;
        font-weight: 600;
        line-height: 15px;
        margin: 10px 0 0;
    }

    .ProjectItemSubText {
        font-size: 10px;
        color: #797979;
    }
    /* Sustainability Section CSS */
    #SustainabilityBox {
        aspect-ratio: 2.2;
        background-image: url("../image/sustainability.jpg");
        background-color: rgba(255,255,255,.5);
        background-blend-mode: lighten;
        background-size: cover;
        background-position: bottom left;
        align-items: center;
        margin: 50px 0 0;
        display: flex;
        align-items: center;
    }

    #SustainabilityInner {
        align-items: center;
    }

    .SustainabilityLeftBox {
        width: 90%;
        margin: 0 auto 50px;
    }

    .SustainabilityRightBox {
        width: 25%;
        min-width: 300px;
        margin: 0 auto 50px;
    }

    /* News Section CSS */
    #NewsContentBox {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    #NewsContentBox a {
        margin: 0 0 10px;
    }
    .NewsBox {
        width: 100%;
        background-color: #FFFFFF;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 20px;
        line-height: 15px;
        border-radius: 5px;
        color: #494949;
        font-weight: 600;
    }
    .NewsCategoryBox {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        font-size: 10px;
        margin: 0 0 10px;
    }

    .NewsTitleBox {
        width: 100%;
        text-align: left;
        font-size: 12px;
    }

    .NewsDate {
        font-size: 10px;
        color: #B9B9B9;
        margin: 0 5px 0 0;
    }

}

