/* FANZA 同人投稿 管理画面スタイル */

.fdp-wrap h1 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.fdp-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1.4rem 1.8rem;
    margin-bottom: 1.4rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.07);
}

.fdp-card h2 {
    margin: 0 0 .8rem;
    font-size: 1.1rem;
    border-bottom: 2px solid #e8003a;
    padding-bottom: .5rem;
}

.fdp-generate-card {
    border-color: #e8003a;
    background: #fff5f7;
}

.fdp-generate-card h2 {
    color: #c00030;
}

.fdp-debug-card {
    border-color: #2271b1;
    background: #f0f6fc;
}

.fdp-debug-card h2 {
    border-bottom-color: #2271b1;
    color: #2271b1;
}

/* ===== フロントエンド: 記事内スタイル ===== */

/* CTAボタン */
.fdp-cta {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 2.5rem auto !important;
    width: 100% !important;
    text-align: center !important;
}

a.fdp-btn,
.fdp-btn {
    display: inline-block !important;
    max-width: 480px !important;
    width: auto !important;
    margin: 0 auto !important;
    background: linear-gradient(135deg, #e8003a 0%, #c0002e 100%) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1.6rem !important;
    font-weight: 900 !important;
    line-height: 1.4 !important;
    padding: 1.2rem 3rem !important;
    border-radius: 60px !important;
    letter-spacing: .08em !important;
    text-align: center !important;
    box-shadow: 0 6px 24px rgba(232,0,58,.5) !important;
    transition: transform .18s ease, box-shadow .18s ease !important;
    border: none !important;
    cursor: pointer !important;
}

a.fdp-btn:hover,
.fdp-btn:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 10px 30px rgba(232,0,58,.6) !important;
    color: #fff !important;
    text-decoration: none !important;
}

a.fdp-btn:active,
.fdp-btn:active {
    transform: translateY(0) scale(1) !important;
    box-shadow: 0 4px 12px rgba(232,0,58,.4) !important;
}

/* サンプル画像グリッド */
.fdp-sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.fdp-sample-grid a img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #eee;
    transition: opacity .15s;
}

.fdp-sample-grid a:hover img {
    opacity: .85;
}
