@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
    font-size: 100%;
}
body{
    line-height: 1.2;
    color: rgb(67, 67, 67);
}
a {
    color: rgb(67, 67, 67);
    text-decoration: none;
}
img {
    max-width: 100%;
}

/* レイアウト
------------------------------- */
.wrapper {
    max-width: 1120px;
    margin: auto;
    padding: 0 1.5rem;
}
.align-center {
    text-align: center;
}

/* ヘッダー
------------------------------- */
.header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: space-around;
    gap: 2rem;
    list-style: none;    

    padding: 1rem 50px;
    background-color: rgb(255, 255, 255);
    height: 50px;
    line-height: 1;

    font-family: "Quicksand", sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
}

.header2 {
    text-align: left;
}

.header :hover {
    color: #ffffff;
}

/* ギャラリー
------------------------------- */
.title {
    font-size: 1rem;
    font-family: "Quicksand", sans-serif;

}

.grid {
    display: grid;
    gap: 1rem 1.5rem;
    padding-top: 1rem;
    grid-template-columns: repeat(1, 1fr);
    text-align: left;
}
.item img {
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 0px;
    margin-bottom: .5rem;
}
.item {
    font-size: 0.7rem;
    font-family: "Quicksand", sans-serif;
    align-items: flex-end;
    padding-top: 1rem;
    background-color: rgb(255, 255, 255);
}



a:hover {
    color: #7c7c7c; 
}


/* フッター
------------------------------- */
.copyright {
    background-color: rgb(255, 255, 255);
    text-align: center;
    padding: 2rem 0;
    margin-top: 6rem;
    color: rgb(67, 67, 67);
    font-family: "Quicksand", sans-serif;
}

/* デスクトップ版
------------------------------- */
@media (min-width: 800px) {


    /* ヘッダー */
    .header {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        font-size: 1.4rem;
        gap: 3rem;
        height: 70px;
    }

    .grid {
        gap: 2rem 2rem;
        grid-template-columns: repeat(2, 1fr);
    }


/* ↓ 追加 ↓ ------------------------------- */
    .item img {
        margin-bottom: .5rem;
    }
    .item {
        font-size: 0.7rem;
        font-family: "Quicksand", sans-serif;
    }
}