
body {
    margin: 0;
    overflow-y: auto;
    background-color: #0b0b30;
    color: #ab9c6f;
    font-family:
            "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN", 
            "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo;
    font-size:10px;
    text-align: center;
}

#starCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;     /* 横幅は100% */
    height: 150px;    /* 高さは固定 */
    z-index: -1000;      /* 背面に配置 */
}

#menu-container {
    position: fixed;  /* 画面の上に固定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, #0b0b30, rgba(11, 11, 48, 0));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* 他の要素より上にする */
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    margin: 150 auto;
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}
/* ギャラリーのサムネイル画像 */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.thumb {
    pointer-events: auto !important;
    width: 80px;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}
.thumb:hover {
    transform: scale(1.2);
}

.lightbox {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    flex-direction: column;  /* 子要素を縦並びにする */
    align-items: center;  /* 子要素を中央揃え */
    z-index: 1000; /* 他の要素より上にする */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#lightbox.show {
    opacity: 1;
    display: flex;
}

.lightbox img {
    max-width: 80vw;  /* 画面幅の90%まで拡大可能 */
    max-height: 60vh; /* 画面高さの80%まで拡大可能 */
    width: auto;      /* 縦横比を維持 */
    height: auto;  
    object-fit: contain; /* 画像が枠からはみ出さないようにする */
    display: block;
}

.lightbox-text {
    margin-top: 10px;  /* 画像との間にスペースを追加 */
    text-align: center;
}
