#single{
    background: var(--main-color);

    h1{
        width: clamp(22.5rem, 100%, 30rem);
        line-height: 0;
        padding: 1rem 2rem;
    }
    figure{
        display: grid;

        img{
            width: 100%;
            height: 10rem;
            object-fit: cover;
            object-position: center;
            grid-column: 1;
            grid-row: 1;
        }
        figcaption{
            width: clamp(22.5rem, 100%, 30rem);
            background: var(--clear-color);
            color: var(--text-color);
            padding: 1rem;
            font-size: 1.5rem;
            grid-column: 1;
            grid-row: 1;
            align-self: center;
            justify-self: center;
            text-align: center;
        }
    }
}

article{
    padding: 4rem 0;

    section{
        width: clamp(48rem, 90%, 68.75rem);
        margin: 0 auto;

        h2{
            font-size: 1.5rem;
            text-align: center;
            font-weight: normal;
            margin-bottom: 3rem;
        }
        p{
            margin: 1rem auto;
            line-height: 1.8;
            text-align: justify;
        }
    }
}
@media (max-width: 767px){
    article{
        padding: 3rem 0;

        section{
            width: 90%;

            h2{
                font-size: 1.25rem;
            }
        }
    }
}

.blog__list{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 3rem;

    a{
        color: var(--text-color);
    }
    figure{
        margin-bottom: 1rem;
        border: 2px solid;
        border-image:var(--main-gradation) 1;

        img{
            width: 100%;
            height: 8.25rem;
            object-fit: cover;
        }
    }
    h3{
        font-size: 1rem;
        font-weight: normal;
        text-align: justify;
    }
}


@media (max-width: 767px){
    .blog__list{
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width: 479px){
    .blog__list{
        grid-template-columns: 1fr;
    }
}

#archives{
    background: var(--sub-color);
    padding: 4rem 0;
}
#sidebar{
    width: clamp(48rem, 90%, 68.75rem);
    margin: 0 auto;

    h3{
        font-weight: normal;
        margin-bottom: 1rem;
        font-size: 1rem;
        background: var(--main-color);
        color: var(--clear-color);
        padding: .5rem 1rem;
    }
    a{
        color: var(--text-color);
    }
}
.widget-container{
    margin-bottom: 3rem;
}
.widget-container:last-of-type{
    margin-bottom: 0;  
}

.wp-pagenavi{
    margin-top: 3rem;

    a{
        display: inline-block;
    }
}
@media (max-width: 767px){
    #sidebar{
        width: 90%;
    }
}