@charset "UTF-8";
/**
 * editor/style.css - らんエディタ トップページ用スタイルシート
 * 
 * 視認性、モダンなガラスモーフィズム、モバイル320px完全レスポンシブ対応
 */

:root {
    --primary-color: #ec4899;        /* メインピンク */
    --primary-gradient: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #8b5cf6 100%);
    --primary-hover: linear-gradient(135deg, #e11d48 0%, #db2777 50%, #7c3aed 100%);
    --accent-color: #6366f1;         /* インディゴ */
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 36px rgba(236, 72, 153, 0.15);
    --radius-lg: 18px;
    --radius-md: 12px;
}

/* 全体ラッパー */
.editor-portal-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 16px 12px 60px;
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    box-sizing: border-box;
}

/* ヒーローセクション（メイン紹介） */
.editor-hero {
    background: linear-gradient(145deg, #ffffff 0%, #fff1f5 100%);
    border: 1px solid rgba(244, 63, 94, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.editor-hero::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffe4e6;
    color: #e11d48;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.35;
    margin: 0 0 12px;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 auto 24px;
    max-width: 620px;
}

/* アクションボタン群 */
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

@media (min-width: 520px) {
    .hero-actions {
        flex-direction: row;
    }
}

.btn-editor-launch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-gradient);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.35);
    transition: all 0.25s ease;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
}

.btn-editor-launch:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.45);
    color: #ffffff;
}

.btn-editor-resume {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 13px 22px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
}

.btn-editor-resume:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

/* セクション共通見出し */
.section-headline {
    text-align: center;
    margin: 40px 0 20px;
}

.section-headline h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
}

.section-headline p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* 3ステップ使い方ガイド */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 30px;
}

@media (min-width: 680px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 16px;
    background: var(--accent-color);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 12px;
    letter-spacing: 0.05em;
}

.step-icon-wrap {
    width: 52px;
    height: 52px;
    margin: 6px auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.step-icon-1 { background: #fee2e2; color: #ef4444; }
.step-icon-2 { background: #fef3c7; color: #f59e0b; }
.step-icon-3 { background: #dcfce7; color: #10b981; }

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: #1e293b;
}

.step-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* 機能・見本ギャラリー */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

@media (min-width: 600px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 18px 16px;
    box-shadow: var(--shadow-sm);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.feature-header i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.feature-header h3 {
    font-size: 0.98rem;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
}

/* 見本プレビューエリア */
.preview-sample-area {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 12px 10px;
    margin-bottom: 10px;
}

/* 初心者ガイド・Q&Aアコーディオン風ボックス */
.guide-banner-card {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 6px solid #16a34a;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 30px;
}

.guide-banner-card h3 {
    color: #15803d;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-banner-card p {
    font-size: 0.85rem;
    color: #166534;
    line-height: 1.6;
    margin: 0 0 8px;
}

.guide-banner-card ul {
    margin: 0;
    padding-left: 20px;
    font-size: 0.84rem;
    color: #166534;
    line-height: 1.6;
}

/* 下部起動コールトゥアクション */
.bottom-cta {
    background: #ffffff;
    border: 2px dashed #f472b6;
    border-radius: var(--radius-lg);
    padding: 26px 16px;
    text-align: center;
    margin-top: 30px;
}

.bottom-cta h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: #0f172a;
}

.bottom-cta p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 16px;
}

/* 320pxモバイル対応調整 */
@media (max-width: 360px) {
    .editor-portal-wrap {
        padding: 10px 8px 40px;
    }
    .hero-title {
        font-size: 1.45rem;
    }
    .hero-subtitle {
        font-size: 0.85rem;
    }
    .btn-editor-launch {
        font-size: 0.95rem;
        padding: 12px 18px;
    }
}
