@charset "UTF-8";

* {
    box-sizing: border-box;
    max-width: 100%;
}

body {
    line-height: 1.6em;
    margin: 0 50px 0 60px;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", san
}

body p {
    margin: 0 0 0 0;
}

h1 {
    margin: 0;
}

footer {
    width: 100%;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}

header {
    text-align: center;
    width: 100%;
}

div {
    display: flex;
    gap: 5px;
}

h3 {
    margin: 20px 0 0 0;
}

ul {
    margin: 0;
}

img {
    max-width: 100%;
}





a img {
    transition: 0.3s;
}

a:hover img {
    opacity: 0.6;
}

footer img {
    max-width: 10%;

}

.imagework {
    font-size: 20px;

}

ul {
    list-style: none;
    padding-left: 0;
}

p {
    margin: 20px;
}

.greeting {
    line-height: 1.9;

}

.space {
    margin: 0 0 0 0;
}

.navdiv {
    position: fixed;
    width: 100%;
    background-color: #ffffffd3;
    justify-content: space-around;
    font-size: 20px;
    padding: 20px;
}

input[type="checkbox"] {
    display: none;
}


a {
    text-decoration: none;
    color: black;
}

.han {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 30p;

}

a:hover {
    color: #fc0000;
}

h2 {
    text-align: center;
}

.work {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
}

header {
    background-color: rgb(255, 255, 255);
}

.profile {
    background-color: #ffffff;
}

.imagework4 {
    width: 30%;
}

.imagework3 {
    width: 80%;
}

.imagework2 {
    width: 90%;
}

@media screen and (max-width: 768px) {
    .imagework {
        display: flex;
        flex-direction: column;
    }

    .nav-menu {
        display: none;
    }

    #menu-toggle:checked~.nav-menu {
        display: block;
    }

    .menu-btn {
        display: inline-block;
        width: 60px;
        height: 60px;
    }

    .menu-btn .icon-close {
        display: none;
    }

    #menu-toggle:checked~.menu-btn .icon-close {
        display: block;
    }

    #menu-toggle:checked~.menu-btn .icon-open {
        display: none;
    }

    #menu-toggle {
        display: none;
    }
}