/* --- 基本設定 --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    background: linear-gradient(120deg, #f6d365 0%, #fda085 100%); /* オレンジ系のグラデーション */
    color: #3a3a3a; /* 基本の文字色を濃い色に */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

/* --- スプラッシュ画面 --- */
#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#splash-text {
    font-size: 4rem;
    font-weight: 300;
    color: #3a3a3a; /* 文字色を濃い色に */
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3); /* 影を明るい色に */
    animation: floatUp 2s ease-out forwards;
}

/* --- メインコンテンツ --- */
#home-content {
    animation: fadeIn 1s ease-out forwards;
}

/* --- ガラス風コンテナ --- */
.glass-container {
    background: rgba(255, 255, 255, 0.25); /* 背景とのコントラストを調整 */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px 50px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.glass-container h1 {
    margin-top: 0;
    font-size: 2.5rem;
    color: #3a3a3a; /* 文字色を濃い色に */
}

.glass-container p {
    color: #5a5a5a; /* 少し柔らかい濃さの文字色に */
    margin-bottom: 30px;
}

/* --- メニュー --- */
.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    margin-bottom: 15px;
}

.menu a {
    display: block;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #3a3a3a; /* 文字色を濃い色に */
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.menu a:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* --- アニメーション定義 --- */
@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hidden {
    display: none;
}

.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}