/*
Theme Name: Minimal
Theme URI: https://wordpress.cascade-path.com/
Author: cascade-path
Description: Minimal blank theme
Version: 1.0
*/

:root{
    font-size: 20px;
    font-family: "Inter","M PLUS 1p";
    --main-color: #fff;
    --base-color: #00a;
    --accent-color: #00e;
}

body{
    margin: 0;
}


/* header.php */

header{
    box-shadow: 0 1px 2px #000;
}
header nav{
    display: flex;
    gap: 2em;
    justify-content: center;
}
header a{
    text-decoration: none;
    color: #000;
    border-bottom: solid 2px transparent;
}
header nav a.open{
    border-bottom-color:var(--accent-color);
}
header nav a:hover{
    border-bottom-color:var(--accent-color);
}

/* footer.php　サイトマップ実装 */

footer{
    display: grid;
    justify-items: center;
    background: var(--base-color);
    color: var(--main-color);
}
footer .sitemap{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
@media (max-width: 768px){
    footer .sitemap{
        grid-template-columns: 1fr;
    }
}
footer .sitemap-links{
    display: grid;
}
footer .sitemap-links a{
    color: var(--main-color);
}

/* main */
main{
    width: clamp(200px,90vw,1000px);
    margin: 0 auto;
}


article.wp-block-group{
    margin-bottom: 3rem;
}

article > h2{
    font-size: 28px;
    margin-bottom: 1.5rem;
}

section.wp-block-group{
    margin-bottom: 2rem;
}

section > h3{
    font-size: 22px;
    margin-bottom: 1rem;
}