@charset "utf-8";
/* CSS Document */
html { overflow: hidden;}
        body {
            background: #1a1a1a;
            color: #ffffff;
            font-family: "Yuji Syuku", serif;
  font-weight: 400;
  font-style: normal;
            margin: 0;
            padding: 20px;
            height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative; box-sizing: border-box;
			
        }
		/*body:before { content: ""; display: block; width: 100%; height: 100svh; position: fixed; top:0; left: 0;background-image: url("../img/bg.jpg"); background-size: cover; background-position: center; opacity: .6;}*/
        
        .container {
            
            width: 100%;
            position:fixed; bottom: 0; left: 0;
            z-index: 2;
        }
        
        .title {
            text-align: center;
            font-size: 2em;
            margin-bottom: 1em;
            color: #d4af37; padding: 20px; font-weight: 400;
        }
		.title span { display: block;}
		
		@media (orientation: landscape) {
	.title {
            margin-bottom: 1em; padding: 0;
        }
}
        
        .controls {
            background: rgba(0, 0, 0, 0);
            padding: 20px;
            border-radius: 0px;
            /*backdrop-filter: blur(5px);*/
        }
        
        .play-button {
            border: none;
            color: #000;
            padding: 0;
            font-size: 1.2em; width: 80px; height: 80px;
            border-radius: 5px;
            cursor: pointer;
            margin-bottom: 0px; background-image: url("../img/play.svg"); background-repeat: no-repeat; background-position: center; background-size: 50px;
			background-color: transparent; text-indent: -9999px;
			display: block;
			
        }
        
        .play-button:hover {
        }
		.play-button.pause { background-image: url("../img/pause.svg");}

        .movement-selector {
            /*display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: center;*/
        }

        .movement-button {
            /*background: rgba(212, 175, 55, 0.2);*/
            border: 0px solid #d4af37;
            color: #fff;
            padding: 20px 20px;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s; width: 100%; box-sizing: border-box; text-align: left;
			background-color: transparent;
			font-family: "Yuji Syuku", serif; font-weight: normal;
  font-style: normal; font-size: 100%;
        }

        .movement-button.active {
            background: rgba(0,0,0,.4);
            
        }

        .memory-effect {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100svh;
            pointer-events: none;
            z-index: 1;
            opacity: 0;
            transition: opacity 0.5s;
        }

        .memory-effect.active {
            opacity: 0.3;
            background: radial-gradient(circle at var(--x) var(--y), #d4af37, transparent 50%);
        }

        .volume-indicator {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: 4px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 2px; display: none;
        }

        .volume-bar {
            height: 100%;
            width: 0%;
            background: #d4af37;
            border-radius: 2px;
            transition: width 0.1s;
        }

        .fog-effect {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100svh;
            pointer-events: none;
            z-index: 1;
            opacity: 0.4;
            mix-blend-mode: screen;
            background: 
                radial-gradient(circle at var(--x) var(--y), 
                rgba(255, 255, 255, 0.1), 
                transparent 40%);
            filter: blur(20px);
        }

        .silhouette {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100svh;
            pointer-events: none;
            z-index: 1;
            opacity: 0;
            transition: opacity 0.3s ease;
            background: linear-gradient(90deg, 
                transparent,
                rgba(212, 175, 55, 0.1) 40%,
                rgba(212, 175, 55, 0.2) 45%,
                rgba(212, 175, 55, 0.1) 50%,
                transparent
            );
        }

        .silhouette.active {
            opacity: 1;
            transform: translateX(calc(var(--mouse-x) * 0.1px));
        }

        .club-ambient {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100svh;
            pointer-events: none;
            z-index: 0;
            background: radial-gradient(
                circle at var(--light-x) var(--light-y),
                rgba(212, 175, 55, 0.15),
                transparent 60%
            );
            transition: all 0.5s ease;
        }
        
        .timer-container {
   
    text-align: center; width: calc( 100% - 80px);
}

.timer-display {
    font-size: 1.5em;
    font-family: monospace;
    color: #fff;
    margin-bottom: 5px; display: none;
}

.timer-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    margin: 10px 0;
}

.timer-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: rgba(255, 255, 255, 1);
    border-radius: 2px;
    width: 100%;
    transition: width 1s linear;
}
		
	.canvas-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100svh;
            z-index: 0;
            pointer-events: none;
        }
        
        #animationCanvas {
            width: 100%;
            height: 100%;
        }
        
        #lightCanvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100svh;
            pointer-events: none;
            mix-blend-mode: screen;
        }
        
        

        /* 新しい光のエフェクト用のスタイル */
        .light-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100svh;
            pointer-events: none;
            z-index: 1;
            background: radial-gradient(circle at center, 
                rgba(255, 255, 255, 0), 
                rgba(255, 255, 255, 0.1));
            opacity: 0;
            transition: opacity 0.5s;
        }	
		
		.flex {
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, .2);
    padding: 0 20px;
    
}
		
		.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    opacity: 0;
    transition: opacity 1s ease; z-index: -2;
}
#bgs,canvas {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; z-index: -1; mix-blend-mode: overlay;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: .8;
}
		
		.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.loading-container.hidden {
    display: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: #fff;
    font-size: 1.2em;
    font-family: "Yuji Syuku", serif;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#book { width: 70px; height: 70px; position: fixed; top:0; right: 0; background-image: url("../img/book.svg"); background-repeat: no-repeat; background-position: center; background-size: 30px; cursor: pointer;z-index:1;}
#modal { width: 100%; height: 100svh; background-color: #FFF; border-radius: 0em; position: fixed; top:50%; left: 50%; transform: translate(-50%,-50%); z-index: -1; opacity: 0; transition: all .4s ease 0s;}
.open #modal { z-index: 99; opacity: 1; }
#modal #close { width: 60px; height: 60px; position: absolute; top:0; right: 0; cursor: pointer; background-image: url("../img/close.svg"); background-repeat: no-repeat; background-position: center; background-size: 25px;}
#modal .inner { width: 100%; position: absolute; top:60px; height: calc( 100% - 60px );}
#modal .inner iframe { width: 100%; height: 100%; border: none;}
#overlay { width: 100%; height: 100svh; position: fixed; top:0; left: 0; background-color: rgba(0,0,0,.6); z-index: -1; opacity: 0; transition: all .4s ease 0s;}
.open #overlay { opacity: 1; z-index: 99;}
