* { box-sizing: border-box; } html, body { margin: 0; padding: 24px; background: linear-gradient(135deg, #072402 0%, #065c18 50%, #11882f 100%); color: #cbd5e1; font-family: "Meiryo", sans-serif; font-size: 14px; scrollbar-width: none; -ms-overflow-style: none; } html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; } .container { max-width: 1440px; margin: auto; } header { margin-bottom: 20px; } h1 { font-size: 28px; font-weight: 700; margin: 0; letter-spacing: 0.03em; background: linear-gradient(135deg, #1a6bbd 0%, #a7c1e0 50%, #aac3e2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; } /* 全体レイアウト：横並び（2カラム） */ .workspace { display: grid; grid-template-columns: 440px 1fr; gap: 20px; align-items: start; } @media (max-width: 1024px) { .workspace { grid-template-columns: 1fr; } } .column { display: flex; flex-direction: column; gap: 16px; } .panel { background: #1e293b; border: 1px solid #334155; padding: 18px; border-radius: 8px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2); } h2 { font-size: 14px; font-weight: 600; color: #e2e8f0; margin: 0 0 10px; display: flex; align-items: center; gap: 6px; } .description { color: #94a3b8; font-size: 12px; margin-bottom: 10px; line-height: 1.5; } textarea { width: 100%; min-height: 266px; padding: 12px; background: #0f172a; border: 1px solid #475569; border-radius: 6px; color: #f8fafc; font-family: Consolas, "Courier New", Courier, monospace; font-size: 13px; line-height: 1.6; resize: vertical; scrollbar-width: none; } textarea::-webkit-scrollbar { display: none; } textarea:focus, select:focus { outline: none; border-color: #3b82f6; } .settings-group { display: flex; flex-direction: column; gap: 12px; } .setting-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; } .setting-row label { font-size: 13px; color: #cbd5e1; } select, input[type="color"] { padding: 6px 10px; background: #0f172a; border: 1px solid #475569; border-radius: 6px; color: #f8fafc; font-size: 13px; cursor: pointer; } input[type="color"] { width: 50px; height: 32px; padding: 2px; } .checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #cbd5e1; cursor: pointer; } .button-group { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; } button { padding: 7px 14px; border: 0; border-radius: 6px; background: #3b82f6; color: white; font-size: 13px; font-weight: 500; cursor: pointer; transition: background 0.2s; } #sampleBtn{background: #374904;} #clearBtn{background: #3a042a;} button:hover { background: #2563eb; } button.secondary { background: #333b02; } button.secondary:hover { background: #686903; } button.success { background: #059669; } button.success:hover { background: #047857; } button.indigo { background: #4f46e5; } button.indigo:hover { background: #4338ca; } .JSON_h{background: #046a7c;} .JSON_y{background: #3c0470;} .no-scrollbar { overflow: auto; scrollbar-width: none; -ms-overflow-style: none; } .no-scrollbar::-webkit-scrollbar { display: none; } .preview-box { min-height: 220px; max-height: 400px; padding: 16px; background: #090d16; border: 1px solid #334155; border-radius: 6px; display: flex; justify-content: flex-start; align-items: flex-start; background-image: linear-gradient(45deg, #111827 25%, transparent 25%), linear-gradient(-45deg, #111827 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #111827 75%), linear-gradient(-45deg, transparent 75%, #111827 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0px; } #treeCanvas { height: auto; display: block; box-shadow: 0 4px 12px rgba(0,0,0,0.5); border-radius: 4px; } .text-preview { min-height: 180px; max-height: 300px; padding: 12px; background: #090d16; border: 1px solid #334155; border-radius: 6px; color: #f8fafc; } .tree-output { margin: 0; width: max-content; min-width: 100%; font-family: Consolas, "Courier New", Courier, "ＭＳ ゴシック", monospace; font-size: 14px; line-height: 1.5; white-space: pre; } .meta-info { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12px; color: #94a3b8; } .status { color: #34d399; font-weight: 500; min-height: 18px; }