
        /* HTML変換固有のスタイル調整 */
        
        /* 隠しレンダリング領域 (フィット計算用) */
        .secure-tool-page #hidden-render-wrapper {
            position: absolute; top: -9999px; left: -9999px; z-index: -100;
            width: 100%; overflow: visible; opacity: 0; pointer-events: none;
        }
        .secure-tool-page #render-content {
            width: auto; max-width: 1024px; display: inline-block;
            background-color: white; padding: 0;
        }

        /* ファイルリストのレスポンシブ調整 */
        .secure-tool-page .p-secure-tool .file-card {
            display: flex; align-items: stretch;
            background: white; border: 1px solid #ddd; border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            min-height: 70px; margin-bottom: 10px;
            overflow: hidden; /* 角丸維持 */
        }
        
        .secure-tool-page .p-secure-tool .file-card.deleted {
            opacity: 0.6; background-color: #f3f3f3;
        }
        .secure-tool-page .p-secure-tool .file-card.deleted .thumbnail-area,
        .secure-tool-page .p-secure-tool .file-card.deleted .file-info { filter: grayscale(100%); }

        .secure-tool-page .p-secure-tool .grip-handle {
            width: 30px; background: #f8f9fa; border-right: 1px solid #eee;
            cursor: move; display: flex; align-items: center; justify-content: center;
            color: #ccc; font-size: 1.2rem; flex-shrink: 0;
        }
        .secure-tool-page .p-secure-tool .grip-handle:hover { color: #888; background: #eee; }

        .secure-tool-page .p-secure-tool .thumbnail-area {
            width: 80px; background-color: #eee; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
            border-right: 1px solid #eee; overflow: hidden; cursor: pointer; position: relative;
        }
        .secure-tool-page .p-secure-tool .thumbnail-area img {
            max-width: 100%; max-height: 100%; object-fit: contain;
        }
        .secure-tool-page .p-secure-tool .zoom-icon-overlay {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.3); color: white;
            display: flex; align-items: center; justify-content: center;
            opacity: 0; transition: opacity 0.2s; font-size: 1.5rem;
        }
        .secure-tool-page .p-secure-tool .thumbnail-area:hover .zoom-icon-overlay { opacity: 1; }

        .secure-tool-page .p-secure-tool .file-info {
            flex-grow: 1; min-width: 0; padding: 10px 15px;
            display: flex; flex-direction: column; justify-content: center; gap: 4px;
        }
        .secure-tool-page .p-secure-tool .file-name {
            font-weight: bold; color: #333; font-size: 0.95rem;
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
            overflow: hidden; text-overflow: ellipsis; word-break: break-all;
            line-height: 1.3;
        }
        .secure-tool-page .p-secure-tool .file-size-badge {
            display: inline-block; font-size: 0.75rem; color: #27ae60; background: #eafaf1;
            padding: 2px 6px; border-radius: 4px; align-self: flex-start;
            margin-top: 2px; white-space: nowrap; display: none;
        }

        .secure-tool-page .p-secure-tool .action-area {
            display: flex; align-items: center; padding-right: 15px; flex-shrink: 0;
        }

        /* 余白入力フォームの独自レイアウト */
        .secure-tool-page .margin-inputs { display: flex; gap: 15px; flex-wrap: wrap; }
        .secure-tool-page .margin-group { display: flex; align-items: center; gap: 5px; font-size: 0.9rem; font-weight: bold; color: #555; }
        .secure-tool-page .margin-group input { width: 60px !important; text-align: right; }

        /* 記事エリアの調整 */
        .secure-tool-page .article-section { margin-top: 60px; padding-top: 40px; border-top: 1px solid #eee; }
        .secure-tool-page .article-section h2 { font-size: 1.6rem; color: #333; margin-bottom: 25px; border-bottom: 2px solid #e0e0e0; padding-bottom: 10px; }
        
        /* H3: 既存テーマ風に「#」をCSSで付与するため、HTMLからは削除 */
        .secure-tool-page .article-section h3 { font-size: 1.3rem; color: #0056b3; margin-top: 40px; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
        .secure-tool-page .article-section h3::before { content: "#"; color: #007acc; font-family: monospace; }
        
        .secure-tool-page .article-section p { margin-bottom: 1.5em; text-align: justify; line-height: 1.8; color: #444; }
        .secure-tool-page .article-section ul, .secure-tool-page .article-section ol { margin-bottom: 1.5em; padding-left: 20px; color: #444; }
        .secure-tool-page .article-section li { margin-bottom: 0.5em; }
        
        .secure-tool-page .faq-item { margin-bottom: 20px; background: #f9f9f9; padding: 20px; border-radius: 8px; }
        .secure-tool-page .faq-q { font-weight: bold; color: #0056b3; margin-bottom: 10px; display: block; }
        .secure-tool-page .faq-a { font-size: 0.95rem; }

        .secure-tool-page .alert-box { background: #fff3cd; padding: 20px; border-radius: 6px; border: 1px solid #ffeeba; margin: 30px 0; color: #856404; font-size: 0.9rem; }
    