* {
    margin: 0;
    padding: 0;
}

html {
    color: #48505c;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
}

html {
    background-color: #f2f7ff;
}

h2 {
    font-size: 1rem;
    font-weight: 300;
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    width: 100vw;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0;
    width: 80%;
    margin: auto;
    font-weight: 200;
}

/* ヘッダーロゴ */
.header__logo a {
    text-decoration: none;
    color: #616c7d;
    font-size: clamp(1.1rem, 0.709rem + 0.45vw, 1.25rem);
}

/* ヘッダーメニュー */
.header__menu a {
    color: #616c7d;
    text-decoration: none;
    font-size: clamp(1.1rem, 0.709rem + 0.45vw, 1.25rem);
    margin-left: 3vw;
}

/* トップページギャラリー */
.top {
    width: 80%;
    margin: auto;
    margin-top: 13vh;
}

.top__contents_wrapper ul {
    columns: 4;
    /*段組みの数*/
    width: 100%;
}

.top__contents_item {
    list-style: none;
    margin-bottom: 4%;
}

.top__contents_item img {
    width: 100%;
    object-fit: cover;
    box-shadow: 0px 4px 9px -3px #d9dfe9;
    border-radius: 8px;
}

/* imageCategory */
.imageCategory {
    position: fixed;
    bottom: 0;
    background-color: #f2f7ff;
    width: 100%;
    border-top: 1px solid #a8afbb;
}

.imageCategory_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: auto;
}

.imageCategory ul {
    display: flex;
    position: relative;
    left: -0.5rem;
}

.imageCategory ul li {
    list-style: none;
    padding: 0.5rem;
    margin: 1.5rem 0;
    margin-right: 0.5rem;
    color: #48505c;
    font-weight: 200;
    font-size: clamp(1rem, 0.709rem + 0.45vw, 1.25rem);
}

.attention {
    font-size: 0.6rem;
    color: #afbacb;
    position: relative;
    right: 0;
}

@media screen and (max-width: 900px) {
    .header {
        width: 85%;
        padding: 40px 0;
    }

    .top {
        width: 85%;
    }

    .imageCategory_inner {
        width: 85%;
    }

    .top__contents_wrapper ul {
        columns: 2;
        /*段組みの数*/
        width: 100%;
    }

    .top__contents_item {
        margin-bottom: 6%;
    }

    .imageCategory ul li {
        margin: 0.5rem 0;
        margin-right: 0.5rem;
    }
}




/* p5.css 
#sample figure {
    margin: 0;
    display: none;
}


#sample figure:target {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

#sample figure:target #overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    color: inherit;
}

#sample figure:target img {
    animation: fadein .3s;
}


@keyframes fadein {
    0% {

        opacity: 0.2;
    }

    100% {

        opacity: 1;
    }
}
*/