/* --- 1. タイトル幕 --- */
#タイトル幕 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    background: #000;
    overflow: hidden;
}

#タイトル背景画像 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

#背景オーバーレイ {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
}

#ロゴ容器 {
    position: relative;
    z-index: 2001;
    text-align: center;
}

#タイトル名 {
    display: none;
    /* 画像に置き換えたため非表示 */
}


#サブタイトル {
    display: none;
    /* ロゴ画像に含まれるため非表示 */
}

.巨大開始ボタン {
    width: 360px;
    /* 横幅を360pxに固定 */
    height: 80px;
    /* 高さを適正化 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    letter-spacing: 5px;
    font-family: 'Shippori Mincho';
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--金);
    /* 文字色を金に固定 */
    border: none !important;
    /* 既存の枠を完全に消去 */
    outline: none;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    text-shadow: 0 2px 4px #000;
    margin: 10px;
    background-color: transparent;
}

.巨大開始ボタン:hover {
    filter: brightness(1.3) contrast(1.1);
    box-shadow: 0 0 30px rgba(241, 196, 15, 0.5);
    transform: translateY(-3px);
    color: var(--金);
    /* ホバー時も金を維持 */
}

#フッター告知 {
    font-size: 1.05rem;
    letter-spacing: 5px;
    margin-top: 25px;
    opacity: 0.7;
}

#フッターバージョン {
    font-size: 0.85rem;
    text-align: left;
    letter-spacing: 5px;
    margin-top: 40px;
    margin-left: -450px;
    opacity: 0.5;
}

/* 固定機能バー (右上ツールバー) */
#固定機能バー {
    position: fixed;
    top: 30px;
    right: 40px;
    display: flex;
    gap: 25px;
    z-index: 60000;
}

.機能アイコン {
    width: 38px;
    height: 38px;
    cursor: pointer;
    opacity: 0.4;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
    object-fit: contain;
}

.機能アイコン:hover {
    opacity: 1;
    transform: scale(1.2) translateY(-5px);
    filter: drop-shadow(0 0 15px var(--金));
}

/* --- セーブ管理窓 (プレミアム刷新) --- */
.セーブ窓本体 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    max-height: 85vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(241, 196, 15, 0.5);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    z-index: 9500;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(241, 196, 15, 0.1);
    animation: saveModalOpen 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes saveModalOpen {
    from {
        opacity: 0;
        transform: translate(-50%, -45%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.セーブ窓ヘッダー {
    padding: 30px 40px;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--金);
    border-bottom: 2px solid rgba(241, 196, 15, 0.3);
    text-align: center;
    letter-spacing: 4px;
}

.スロットリスト容器 {
    flex: 1;
    overflow-y: auto;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* カスタムスクロールバー */
.スロットリスト容器::-webkit-scrollbar {
    width: 8px;
}

.スロットリスト容器::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.スロットリスト容器::-webkit-scrollbar-thumb {
    background: var(--金);
    border-radius: 4px;
}

.セーブ窓フッター {
    padding: 25px 40px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    border-radius: 0 0 20px 20px;
}

/* スロット詳細項目 */
.スロット項目 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(10px);
    padding: 18px 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
    cursor: pointer;
}

.スロット項目:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(241, 196, 15, 0.4);
    transform: translateX(5px);
}

.スロット項目.活性スロット {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.15) 0%, rgba(0, 0, 0, 0.5) 100%);
    border-color: rgba(241, 196, 15, 0.6);
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.15);
}

.スロット基本情報 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.スロット見出し {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.スロットラベル {
    font-weight: bold;
    color: var(--金);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.スロット日付 {
    font-size: 0.85rem;
    color: #888;
    font-family: 'Outfit';
    margin-left: auto;
    padding-right: 30px;
    opacity: 0.8;
}

.スロット詳細内容 {
    display: flex;
    gap: 20px;
    font-size: 1rem;
    color: #eee;
}

.スロット章 {
    font-weight: bold;
    color: #ddd;
    font-size: 1.2rem;
}

.スロットターン {
    color: #bbb;
    font-family: 'Outfit';
    font-size: 0.95rem;
}

.スロット操作群 {
    display: flex;
    gap: 12px;
}

.スロットボタン {
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: 0.3s;
    letter-spacing: 2px;
}

.スロットボタン.ロード:hover {
    background: var(--決定);
    border-color: #fff;
    box-shadow: 0 0 15px var(--決定);
}

.スロットボタン.削除:hover {
    background: var(--警告);
    border-color: #fff;
    box-shadow: 0 0 15px var(--警告);
}