#in-app {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #0f172a; 
    color: #f8fafc; 
    border: 1px solid #334155;
    padding: 2rem;
    font-family: "Inter", sans-serif;
}
#in-app .hidden { display: none !important; }

/* ドロップゾーン */
#in-app .drop-zone {
    border: 2px dashed #3b82f6;
    background-color: rgba(15, 23, 42, 0.6);
    padding: 4rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
#in-app .drop-zone:hover, #in-app .drop-zone.dragover {
    border-color: #60a5fa;
    background-color: rgba(59, 130, 246, 0.1);
}
#in-app .upload-icon { width: 48px; height: 48px; color: #3b82f6; margin-bottom: 1rem; }
#in-app .drop-text { font-size: 1.2rem; font-weight: 700; color: #f8fafc; }
#in-app .drop-subtext { font-size: 0.85rem; color: #94a3b8; margin-top: 0.5rem; display: block; }
#in-app .drop-zone * { pointer-events: none; }

/* プログレスバー */
#in-app #progress-container { padding: 3rem 2rem; background-color: #1e293b; border: 1px solid #334155; text-align: center; }
#in-app .status-header { margin-bottom: 1.5rem; font-family: monospace; color: #60a5fa; font-weight: bold; }
#in-app .progress-bar-bg { width: 100%; height: 4px; background-color: #334155; overflow: hidden; }
#in-app .progress-bar-fill { height: 100%; width: 0%; background-color: #3b82f6; transition: width 0.2s ease; }

/* 結果エリア */
#in-app #result-container { padding: 3rem 2rem; background-color: #1e293b; border: 1px solid #3b82f6; text-align: center; }
#in-app .result-title { font-size: 1.5rem; margin-bottom: 2rem; font-family: monospace; color: #f8fafc; }
#in-app .result-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem; }
#in-app .stat-box { padding: 1.5rem; border: 1px solid #334155; background: #0f172a; min-width: 160px; }
#in-app .stat-box.highlight { border-color: #3b82f6; background: rgba(59, 130, 246, 0.1); }
#in-app .stat-label { font-size: 0.75rem; color: #94a3b8; font-family: monospace; margin-bottom: 0.5rem; display: block; }
#in-app .stat-value { font-size: 1.5rem; font-weight: 700; color: #ffffff; }
#in-app .highlight-text { color: #60a5fa; }

/* ファイルリスト */
#in-app .file-list-container { max-height: 200px; overflow-y: auto; background: #0f172a; border: 1px solid #334155; margin-bottom: 1.5rem; text-align: left; }
#in-app .file-list { list-style: none; padding: 0; margin: 0; }
#in-app .file-list li { padding: 0.8rem 1rem; border-bottom: 1px solid #1e293b; display: flex; justify-content: space-between; font-size: 0.85rem; color: #cbd5e1; }
#in-app .file-list li:last-child { border-bottom: none; }
#in-app .file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50%; }
#in-app .file-reduction { color: #60a5fa; font-weight: bold; }

/* ボタン類 */
#in-app .card-link { display: inline-flex; padding: 0.8rem 2rem; background: transparent; color: #3b82f6; font-weight: 600; border: 1px solid #3b82f6; cursor: pointer; text-decoration: none; transition: all 0.2s; }
#in-app .card-link:hover { background: #3b82f6; color: #ffffff; box-shadow: 0 0 15px rgba(59, 130, 246, 0.5); }
#in-app #reset-btn { display: block; margin: 1.5rem auto 0; background: none; border: none; color: #94a3b8; cursor: pointer; text-decoration: underline; }
#in-app #reset-btn:hover { color: #f8fafc; }


/* --- ここからSEOコンテンツエリアのスタイル --- */
.seo-content-area {
    max-width: 800px;
    margin: 4rem auto 0;
    color: #cbd5e1;
}
.seo-content-area h2 {
    font-size: 1.5rem;
    color: #f8fafc;
    border-bottom: 1px solid #334155;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.seo-content-area p {
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .feature-grid { grid-template-columns: 1fr 1fr; }
}
.feature-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid #334155;
    padding: 1.5rem;
}
.feature-card h3 {
    font-size: 1.1rem;
    color: #60a5fa;
    margin-bottom: 1rem;
    font-weight: 600;
}
.feature-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #94a3b8;
}