.sectionNecessaries {
    position: relative;
    background-color: #dddddd;
}

.sectionNecessariesBackground {
    position: absolute;
    top: 20%;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 7%;
    z-index: 0;
    background: #2AA8DA;
    transform-origin: top left;
}

.sectionNecessariesBackground.delighter {
    transition: all 0.4s linear;
    transform: skewY(30deg);
    opacity: 0;
}

.sectionNecessariesBackground.delighter.started {
    transform: skewY(20deg);
    opacity: 1;
}

.sectionNecessariesBackground.delighter.ended {
    transform: skewY(15deg);
    opacity: 0;
}

.necessariesGroup {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10vh;
}

.necessariesGroup.delighter {
    transition: all 0.4s linear;
    transform: skewY(-10deg);
    opacity: 0;
}

.necessariesGroup.delighter.started {
    transform: skewY(-3deg);
    opacity: 1;
}

.necessariesGroup.delighter.ended {
    transform: skewY(-10deg);
    opacity: 0;
}

/* 動画
--------------------------------- */
.necessariesItemImg {
    width: 60%;
    height: 50vh;
}

.necessariesImgWrapper{
    border: 1rem solid #D93D93;
    width: calc(100%-2rem);
    height: 100%;
}

.necessariesImg {
    filter: brightness(130%) contrast(90%) saturate(120%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
}

/* テキスト
--------------------------------- */
.necessariesItemText {
    width: 35%;
    margin-left: 5%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    position: relative;
}

.necessariesItemText:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 20%;
    height: 0.4rem;
    background: #D93D93;
}

.necessariesItemText:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80%;
    height: 0.4rem;
    background: #ffffff;
}

.necessariesHeader {
    font-size: 10rem;
    letter-spacing: 1.5rem;
}

.necessariesBody {
    font-size: 1.0rem;
    letter-spacing: 0.1rem;
    margin-bottom: 5vh;
}

.necessariesFooter {
    font-size: 3rem;
    letter-spacing: 0.25rem;
}

/* ============================================================

    SP対応

============================================================ */
@media screen and (max-width: 1279px){
/* @media screen and (max-width: 768px){ */
    .sectionNecessaries{
        height: 100vh;
    }

    .necessariesGroup {
        flex-direction: column;
    }

    /* 動画
    --------------------------------- */
    .necessariesItemImg {
        width: 100%;
        height: 25vh;
    }

    /* テキスト
    --------------------------------- */
    .necessariesItemText {
        width: 90%;
        margin: 0;   
    }

    .necessariesHeader {
        font-size: 8rem;
        letter-spacing: 1.2rem;
    }

    .necessariesBody {
        margin-bottom: 2vh;
    }
}