#wrap{
    max-width: 1000px;
    margin:0 auto;
}

main{
    margin:1% 5%;
    padding-top:2%;
    width:90%;
}

h1,h2,h3,h4,li,p,span,a{
    letter-spacing: .1em;
}

#breadcrumb{
    text-align: right;
    margin:2em auto;
}

#breadcrumb {
    ul{
        display: flex;
    }

    li{
        display: inline-block;
        padding:0 .2em;
        font-size:.9em;
    }

    li a{
        text-decoration: none;
        color:#2d2d2d;
    }

    li a:hover{
        color:#006400;
        text-decoration: underline;
    }
}

@media screen  and (max-width:430px) {
    #breadcrumb li{
        font-size: 0.5em;
    }
}

article{
    h2,h3{
        margin-top:2em;
        margin-bottom:.5em;
    }
    
    p{
        margin-bottom: 1em;;
    }

    ul:has(li a){
        list-style: none;
        padding: 0;
        margin: 0;
    }

    li{
        margin-bottom: .2em;
        text-indent: -2em;
        padding-left: 2em;
    }

    li:has(a){
        margin-bottom:.4em;
    }

    li a{
        color:#2d2d2d;
        position: relative;
        text-decoration: none;
    }

    li a:before{
        padding-right: 1em;
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: '\f35d';
        padding-top: 0.1em;
    }

    li a:hover{
        color:#006400;
        text-decoration: underline;
    }

    h1{
        font-size: 1em;
        font-weight:normal;
        margin-top:.5em;
    }
    
    span{
        font-weight: normal;
        padding-bottom:.2em;
        font-size:1.8em;
    }
}

.top-h1{
    text-align: center;
    margin:4em auto;
}

.button-area{
    margin:2em 0;
}

.centering-cont{
    text-align: center;
}

footer{
    margin-top:10em;
}

/* portfolio */
.works_h_area{
    width:100%;

    ul{
        display: flex;
        margin-bottom:2em;
        width:100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    li ::before{
        content:none;
    }

    a{
        display: inline;
        list-style: none;
        text-indent: unset;
        color:#fff;
        text-decoration: none;
    }

    a :hover{
        background-color: #fff;
        color:#006400;
        font-weight: bold;
        padding:.7em 1.2em ;
        border: solid 1px #2d2d2d;
    }

    li{
        text-decoration: none;
        text-indent: unset;
        color:#fff;
        padding-left: 0;
        padding: .5em 1em;
        margin: .5em 1em;
        background-color: black;
    }
}

@media screen  and (max-width:950px) {
    .works_h_area {
        font-size: 0.8em;
    }
}

@media screen  and (max-width:450px) {
    .works_h_area ul  {
        li{
            margin:.5em 0;
        }

        a{
            width:100%;
        }

        li:before{
            content:"▼";
            padding-right:.6em;
        }
    }
}
