@charset "utf-8";
/* CSS Document */
body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0px;
            height: 100svh; background-color: #000;
        }
        .container {
            background: white;
            padding: 0px;
        }
        h1 { color: #FFF; position: fixed; top:20px; left: 20px; font-size: 10vw; margin: 0; line-height: 1; z-index: 1;}
@media (orientation: landscape) {
h1 { font-size: 5vw;}
}
        .controls {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-bottom: 20px;
            flex-wrap: wrap; width: 100%; position: fixed; bottom: 0; left: 0; z-index: 1;
        }
        button {
            padding: 12px 30px;
            font-size: 16px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
        }
        button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        #captureBtn {
            background: none; width: 80px; height: 80px; border-radius: 50%; border:10px solid #fff; box-sizing: border-box;
            color: white; text-indent: -9999px;
        }
        #captureBtn:hover {
            
        }
        #resetBtn {
            background: none;
            color: white; position: fixed; top:0; left: 0; z-index: 1; width: 60px; height: 60px;background-size: 30px; background-position: center; background-repeat: no-repeat; background-image: url("../img/back.svg"); text-indent: -9999px;
        }
        #resetBtn:hover {
            
        }
        #playBtn {
            background: none;
            color: white; width: 80px; height: 80px; border-radius: 50%; background-size: 70px; background-position: center; background-repeat: no-repeat; background-image: url("../img/play.svg"); text-indent: -9999px;
        }
        #playBtn:hover {
            
        }
        #stopBtn {
            background: none;
            color: white; width: 80px; height: 80px; border-radius: 50%; background-size: 70px; background-position: center; background-repeat: no-repeat; background-image: url("../img/pause.svg"); text-indent: -9999px;
        }
        #stopBtn:hover {
           
        }
        .canvas-container {
            display: flex;
            gap: 20px;
            justify-content: center; position: fixed; top:50%; left: 0; transform: translateY(-50%);
            flex-wrap: wrap; width:100%;
        }
        .canvas-wrapper {
            text-align: center;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .canvas-wrapper h3 {
            margin-bottom: 10px;
            color: #555;
        }
        canvas, video {
            border: 0px solid #ddd;
            border-radius: 0px;
            max-width: 100%;
            height: auto;
            width: auto;
        }
        video {
            /* 左右反転はJavaScriptで制御 */
        }
        #watercolorCanvas {
            position: absolute;
            top: 0;
            left: 0;
            pointer-events: none;
            border: none;
            box-shadow: none;
        }
        .settings {
            margin: 20px 0;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px; display: none;
        }
        .setting-item {
            margin: 10px 0;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .setting-item label {
            min-width: 150px;
            font-weight: 600;
            color: #555;
        }
        input[type="range"] {
            flex: 1;
            max-width: 300px;
        }
        .value-display {
            min-width: 50px;
            text-align: right;
            font-weight: bold;
            color: #667eea;
        }
        #status {
            text-align: center;
            margin: 0 0;
            padding: 10px;
            border-radius: 0;
            font-weight: 600; width: 100%; position: fixed; top:0; left: 0; box-sizing: border-box; z-index: 1; display: none;
        }
        .status-ready {
            background: #d4edda;
            color: #155724;
        }
        .status-error {
            background: #f8d7da;
            color: #721c24;
        }

