@charset "utf-8";



/* 全体レイアウト */
body {
    background-color: blue; /* 背景青 */
    color: white;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ヘッダー */
.header {
    width: 100%;
    background-color: blue;
    padding: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
.logo {
    width: 150px;
    height: 50px;
    
}
.nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-family: "neuropol-nova", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem;
}

/* プロフィール情報 */
.profile {
    text-align: left;
    margin-top: 20px;
    width: 80%;
    max-width: 1000px;
}

/* ギャラリー（Flexboxで6列2行を維持しながら縮小） */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end; /* 右端に寄せる */
    align-items: center;
    width: 100%;
    max-width: 1800px; /* 6列 × 200px = 1200px */
    margin-top: 20px;
    margin-bottom: 20px;
}

/* 各アイテム */
.gallery-item {
    width: calc(100vw / 6 - 10px); /* 画面サイズに応じて縮小 */
    height: calc(100vw / 6 - 10px);
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.description {
    text-align: left;
    margin-top: 20px;
    width: 80%;
    max-width: 1000px;
}




/* === レスポンシブ対応 === */

/* 画面幅が1440px以上のとき（元の200px×200pxを維持） */
@media (min-width: 1440px) {
    .gallery-item {
        width: 250px;
        height: 250px;
    }
}

/* 画面幅が600px以下のとき、1列12行に変更 */
@media (max-width: 600px) {
    .gallery {
        
        align-items: flex-end; 
        width: auto;
        
        margin-left: auto;
    }

    .gallery-item {
        width: 100px;
        height: 100px;
    }
}




.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* 右端に揃える */
    width: 100%;
    padding-right: 50px; /* 右端から50pxの余白 */
    max-width: 1200px;
}
.profile,
    .description {
        width: 50%;
        max-width: none;
        margin-left: 60px;
    }


    @media screen and (max-width: 500px) {
        .logo {
            width: 75px;
            height: 25px;
        }
        .nav a {
            font-size: 1.4rem;
        }
    }



