﻿@media (max-width: 768px) {
    body{
        grid-template-columns: calc(100vw - 40px) 40px ;
        align-items: flex-start;
    }
    body > header{
        grid-column: 1 / -1;
        grid-row: 1;
    }
    ul.banner{
        grid-column: 2;
        grid-row: 1 / 4;
    }
    body > main{
        grid-column: 1;
        grid-row: 2;
    }
    body > footer{
        grid-column: 1 / -1;
        grid-row: 3;
    }
    body > #slider,
    body > p{
        display: none;
    }
}

article > header > figure{
    position: relative;
    margin-bottom: 1rem;
}
article > header > figure::after{
    content: "";
    background: radial-gradient( rgba(var(--main-color-opacity), .7) 0%, rgba(var(--main-color-opacity), 0) 70%);
    width: 17.5rem;
    height: 13.5rem;
    position: absolute;
    bottom: -10rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

article > header > figure img{
    width: 50vw;
    height: 25rem;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 768px) {
    article > header > figure img{
        width: 100vw;
        height: 15rem;
    }
}
article > header h2{
    font-size: 2rem;
    padding-left: 6rem;
    position: relative;
    margin-bottom: 3rem;
}
article > header h2::before{
    content: "";
    width: 26.75rem;
    height: 2px;
    background: var(--main-color);
    position: absolute;
    left: 0;
    bottom: -1.5rem;
}
article > header h2::after{
    content: "Flow";
    color: rgba(var(--main-color-opacity), .5);
    font-size: 3rem;
    position: absolute;
    left: 2rem;
    bottom: -2rem;
    z-index: -1;
}
@media (max-width: 768px) {
    article > header h2{
        font-size: 1.5rem;
        padding-left: 2rem;
    }
    article > header h2::before{
        width: 16rem;
    }
    article > header h2::after{
        left: 17rem;
    }
}


article section > div{
    padding: 0 0 3rem;
}
article section > div h3{
    width: 90%;
    margin: 0 auto 2rem;
}
article section > div dl{
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 5rem 2rem;
}
article section > div dl dt{
    width: 7rem;
    height: 7rem;
    border: 1px solid rgb(83,71,65,1);
    background: rgba(255,255,255,1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    line-height: 1.2;
    align-self: flex-start;
}
article section > div dl dt span{
    font-size: 1.8rem;
}
article section > div dl dd{
    text-align: justify;
    position: relative;
    font-size: .9rem;
}
article section > div dl dd::after{
    content: "▼";
    font-size: 2rem;
    position: absolute;
    left: 20%;
    bottom: -4rem;
}
article section > div dl dd:last-of-type::after{
    display: none;
}
article section > div dl dd span{
    font-size: 1.2rem;
    display: block;
    margin-bottom: .5rem;
}
@media (max-width: 768px) {
    article section > div dl{
        grid-template-columns: 5rem 1fr;
    }
    article section > div dl dt{
        width: 5rem;
        height: 5rem;
    }
    article section > div dl dt span{
        font-size: 1.4rem;
    }
}