* { box-sizing: border-box; } body { font-family: Inter, 'Noto Sans JP', sans-serif; background: linear-gradient(90deg, #031301 0%, #022b0b 50%, #07501a 100%); min-height: 100vh; color: #f1f5f9; } html, body { overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; } html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; } .glass-card { background: rgba(30, 41, 59, 0.78); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.1); } .checkerboard-bg { background-color: #1e293b; background-image: linear-gradient(45deg, #334155 25%, transparent 25%), linear-gradient(-45deg, #334155 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #334155 75%), linear-gradient(-45deg, transparent 75%, #334155 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0; } #threeCanvas { display: block; width: 100%; height: 100%; touch-action: none; outline: none; } #viewer { display: flex; align-items: center; justify-content: center; position: relative; width: 100%; height: 460px; min-height: 360px; overflow: auto; border-radius: 12px; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; user-select: none; text-align: center; } #viewer.hidden { display: none !important; } #viewer:not(.hidden) { display: flex; } #viewer::-webkit-scrollbar { display: none; } #viewer:active { cursor: grabbing; } #originalPreview { display: block; width: auto; height: auto; max-width: none; max-height: none; flex: none; object-fit: contain; margin: auto; padding: 0; } @media (max-width: 640px) { #viewer { height: 380px; } } .download-message { margin-top: 8px; min-height: 28px; font-size: 15px; color: #34d399; font-weight: bold; text-align: center; } #downloadBtn:disabled, #download3DBtn:disabled, #downloadRotationVideoBtn:disabled { opacity: 0.45; cursor: not-allowed; } /* スライダーデザイン */ input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; accent-color: #38bdf8; background: rgba(15, 23, 42, 0.8); border-radius: 9999px; outline: none; border: 1px solid rgba(255, 255, 255, 0.08); transition: all 0.2s ease; margin: 6px 0; cursor: pointer; } input[type=range]:hover { background: rgba(15, 23, 42, 0.95); border-color: rgba(56, 189, 248, 0.3); box-shadow: 0 0 10px rgba(56, 189, 248, 0.15); } input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #38bdf8, #6366f1); cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 8px rgba(56, 189, 248, 0.6); border: 2px solid rgba(255, 255, 255, 0.9); transition: transform 0.15s ease, box-shadow 0.15s ease; } input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.25); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5), 0 0 14px rgba(56, 189, 248, 0.8); } input[type=range]::-webkit-slider-thumb:active { transform: scale(1.1); } input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #38bdf8, #6366f1); cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 8px rgba(56, 189, 248, 0.6); border: 2px solid rgba(255, 255, 255, 0.9); transition: transform 0.15s ease, box-shadow 0.15s ease; } input[type=range]::-moz-range-thumb:hover { transform: scale(1.25); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5), 0 0 14px rgba(56, 189, 248, 0.8); } /* 回転操作ボタン */ #rotateStartBtn, #rotateStopBtn, #rotateXBtn, #rotateYBtn { writing-mode: horizontal-tb; white-space: nowrap; font-size: 13px; padding: 10px 16px; border-radius: 10px; font-weight: 700; background: linear-gradient(180deg, rgba(0, 255, 255, 0.25), rgba(0, 120, 255, 0.25)); border: 1px solid rgba(0, 255, 255, 0.5); color: #e6e6fd; cursor: pointer; transition: all 0.2s ease; } #rotateStartBtn:hover, #rotateStopBtn:hover, #rotateXBtn:hover, #rotateYBtn:hover { border-color: #00ffff; box-shadow: 0 0 12px rgba(0, 255, 255, 0.4); } /* 動画向きセレクトボックス */ #rotationOrientation { background: #1e293b !important; color: white !important; border: 1px solid #64748b; padding: 10px; } #rotationOrientation option { background: #1e293b; color: white; } .game-select { min-width: 140px; height: 40px; padding: 0 14px; color: #dffcff; font-size: 14px; font-weight: 700; border: 1px solid rgba(0, 255, 255, 0.55); border-radius: 10px; background: linear-gradient(180deg, rgba(0, 255, 255, 0.18), rgba(0, 120, 255, 0.18)); box-shadow: 0 0 8px rgba(0, 255, 255, 0.25), inset 0 0 8px rgba(0, 255, 255, 0.15); text-shadow: 0 0 4px rgba(0, 255, 255, 0.8); cursor: pointer; transition: all 0.2s ease; } .game-select:hover { border-color: #00ffff; box-shadow: 0 0 16px rgba(0, 255, 255, 0.5), inset 0 0 12px rgba(0, 255, 255, 0.2); } .game-select:focus { outline: none; border-color: #4dfcff; box-shadow: 0 0 20px rgba(0, 255, 255, 0.7); } .game-select option { background: #122237; color: #dffcff; } /* ================================= PC版：左右2分割レイアウト ================================= */ @media (min-width: 1024px) { main > section:first-child { position: sticky; top: 12px; align-self: start; min-width: 0; } main > section:nth-child(2) { min-width: 0; align-self: start; } main > section:nth-child(2) > .glass-card { max-height: calc(100vh - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #475569 #1e293b; } main > section:nth-child(2) > .glass-card::-webkit-scrollbar { width: 7px; } main > section:nth-child(2) > .glass-card::-webkit-scrollbar-thumb { background: #475569; border-radius: 10px; } #viewer { height: min(65vh, 650px); min-height: 360px; } #dropZone { min-height: 300px; } } @media (max-width: 1023px) { main > section:first-child { position: static; } main > section:nth-child(2) > .glass-card { max-height: none; overflow: visible; } } /* 設定項目の文字折り返し防止 */ .glass-card .grid > * { min-width: 0; } .glass-card label { writing-mode: horizontal-tb; word-break: keep-all; } /* 保存操作エリア（2列×2段） */ .download-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; margin-top: 16px; padding-top: 16px; border-top: 1px solid #334155; } .download-controls .download-button, .download-controls select { width: 100%; min-width: 0; height: 48px; box-sizing: border-box; margin: 0; } .download-controls .download-button { display: flex; align-items: center; justify-content: center; padding: 8px; white-space: nowrap; writing-mode: horizontal-tb; word-break: keep-all; font-size: 13px; line-height: 1.2; cursor: pointer; } .download-controls select { text-align: center; }