  body { 
    margin: 0; 
    min-height: 100vh;
    position: relative; 
    background-image: url('/image/universe72.webp');
    background-size: cover; 
    background-attachment: fixed;
    background-position: center center; 
}
        
    #three-canvas {
    display: block;
    width: 100vw;
    height: 100vh;    
    position: fixed; 
    top: 0;
    left: 0;
    z-index: 1; 
    background-color: transparent;
}

#carousel-canvas {
    display: block;
    width: 60vw; 
    aspect-ratio: 2.6/1;
    position: fixed; 
    top: 45vh;
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 5; 
    background-color: transparent;
    
}

#labels-container {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; 
    z-index: 10; 
}

.planet-label {
    position: absolute;
    color: white;
    font-family:Kaisei Decol;
    font-size: 16px;
    padding: 2px 10px;
    transition: transform 0.2s ease-out, font-size 0.2s ease-out;
    pointer-events: auto; 
    transform: translate(-50%, -400%);
}

.planet-label.is-hovering {
    transform: translate(-50%, -400%) scale(1.5); 
    border-radius: 5px;
    box-shadow: -3px -3px 10px 5px rgba(132, 0, 255, 0.8), 3px 3px 10px 5px rgba(8, 229, 243, 0.8);
    font-size: 18px; 
}

#title-wrapper {
    position: fixed; 
    top: 15vh;       
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 100;
}

#main-title {
    display: inline-block; 
    margin: 0;
    padding: 0;
    font-family:serif;
    color:aliceblue;
    font-size: 7em;
    opacity: 0.8;
    white-space: nowrap;
}

#quill-cursor {
    display: inline-block;
    vertical-align:middle;
    width: 106px; 
    height: 126px;
    background-image: url('../assets/img/quill_cursor.png');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle; 
    /* ★点滅アニメーションの適用★ */
    animation: blink-cursor 0.75s step-end infinite;
}

#main-title::after {
    content: ''; 
    display: inline-block;
    width: 3px;
    height: 1.2em; 
    background: white; 
    margin-left: 5px;   
    /* カーソルを点滅させるアニメーション */
    animation: blink-caret 0.75s step-end infinite;
}

/*  カーソル点滅アニメーションの定義  */
@keyframes blink-caret {
    from, to { opacity: 0.5; } 
    50% { opacity: 0.0; } 
}

#main-title.finished-typing::after {
    display: none;
}
.simple-footer{
    color:aliceblue;
    margin: 0;
    padding: 0;
    line-height: 0.8em;
    position: absolute;
    left: 50%;
    bottom: 10px;
    font-size: 0.5em;
    text-align: center;
        transform: translateX(-50%); 
    z-index: 999;
    pointer-events: auto;
}
/* 未訪問のリンク */
a:link {
    color: #38b380; 
    text-decoration: none; 
}

/* 訪問済みのリンク */
a:visited {
    color: #dabaf8; 
}

/* マウスを乗せた時 */
a:hover {
    color: #fff;
    text-decoration: underline;
}

