/* ============================================================
  【BMP】AI活用コンサルLP専用 CSS
  ファイル名：bmp-ai-lp.css
  スラッグ：ai_leverage-lp
  読み込み条件：is_page('ai_leverage-lp')
============================================================ */

/* ---------- 基礎（ラッパー） ---------- */
.lp-wrapper {
    all: initial;
    display: block;

    --lp-primary: #1e3a8a;
    --lp-primary-light: #eff6ff;
    --lp-accent: #ea580c;
    --lp-accent-dark: #c2410c;
    --lp-bg: #f8fafc;
    --lp-text-main: #334155;
    --lp-text-muted: #64748b;
    --lp-border: #e2e8f0;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--lp-text-main);
    background-color: var(--lp-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: 20px;
    margin-top: -85px !important;
    margin-bottom: -50px !important;
}

.lp-wrapper *,
.lp-wrapper *::before,
.lp-wrapper *::after {
    box-sizing: border-box;
    font-family: inherit;
}

/* ---------- Cocoon見出し装飾の打ち消し ---------- */
.lp-wrapper h1::before, .lp-wrapper h1::after,
.lp-wrapper h2::before, .lp-wrapper h2::after,
.lp-wrapper h3::before, .lp-wrapper h3::after {
    content: none !important;
    display: none !important;
}
.lp-wrapper h1,
.lp-wrapper h2,
.lp-wrapper h3 {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}
.lp-wrapper p { margin: 0 0 1.25em 0 !important; }

.lp-phrase { display: inline-block; }

.lp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ---------- ファーストビュー ---------- */
.lp-fv {
    background-color: #ffffff;
    padding: 120px 20px 100px;
    text-align: center;
    border-bottom: 1px solid var(--lp-border);
}

.lp-wrapper h1.lp-title {
    font-size: 3.4rem !important;
    color: var(--lp-primary) !important;
    line-height: 1.3 !important;
    margin: 0 0 40px !important;
    font-weight: 900 !important;
    padding: 0 !important;
    text-align: center !important;
}

.lp-fv .sub-copy {
    font-size: 1.6rem;
    color: var(--lp-text-muted);
    margin-bottom: 60px;
    line-height: 1.5;
}

/* ---------- CTAボタン ---------- */
.lp-cta-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin: 40px 0;
}

/* メインCTA（個別コンサルへ） */
.lp-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: var(--lp-accent);
    color: #ffffff !important;
    font-weight: 900;
    font-size: 1.8rem;
    text-decoration: none !important;
    padding: 24px 60px;
    border-radius: 60px;
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 650px;
}
.lp-btn-primary:hover {
    transform: translateY(-4px);
    background-color: var(--lp-accent-dark);
    color: #ffffff !important;
    box-shadow: 0 15px 40px rgba(234, 88, 12, 0.4);
}

/* サブCTA（無料メルマガへ） */
.lp-btn-direct {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: transparent;
    color: var(--lp-primary) !important;
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: underline !important;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 30px;
}
.lp-btn-direct:hover {
    background-color: var(--lp-primary-light);
    color: var(--lp-accent) !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* ---------- セクション共通 ---------- */
.lp-section { padding: 120px 0; }

.lp-wrapper h2.lp-sec-title {
    font-size: 2.8rem !important;
    text-align: center !important;
    color: var(--lp-primary) !important;
    margin: 0 0 70px !important;
    font-weight: 900 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}
.lp-wrapper h2.lp-sec-title::after {
    content: '' !important;
    display: block !important;
    width: 80px; height: 5px;
    background-color: var(--lp-accent);
    margin: 30px auto 0;
}

.lp-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

/* ---------- チェックリスト・引用・ステップ ---------- */
.lp-check-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.lp-check-list li {
    display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px !important;
    font-size: 1.45rem; font-weight: 600; color: var(--lp-text-main);
}
.lp-check-list li svg { color: var(--lp-primary); width: 28px; height: 28px; flex-shrink: 0; margin-top: 4px; }

.lp-quote-box {
    background-color: var(--lp-primary-light);
    border-left: 8px solid var(--lp-primary);
    padding: 50px;
    border-radius: 0 25px 25px 0;
    font-size: 2rem; font-weight: 900; color: var(--lp-primary);
    line-height: 1.5; margin-bottom: 60px;
}

.lp-step-list { counter-reset: step; list-style: none !important; padding: 0 !important; }
.lp-step-list li {
    display: flex; align-items: flex-start; gap: 30px; margin-bottom: 50px !important;
    font-size: 1.6rem; font-weight: 800; color: var(--lp-text-main);
}
.lp-step-list li::before {
    counter-increment: step; content: counter(step); flex-shrink: 0;
    width: 70px; height: 70px; background-color: var(--lp-primary); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem;
}

/* ---------- プロフィール・事例 ---------- */
.lp-profile { display: flex; gap: 50px; align-items: flex-start; margin-top: 50px; }
.lp-profile-img {
    width: 240px; height: 240px; border-radius: 50%; flex-shrink: 0;
    object-fit: cover; border: 6px solid var(--lp-primary-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.lp-profile-text h3 {
    margin: 0 0 20px !important;
    color: var(--lp-primary);
    font-size: 2.3rem !important;
    font-weight: 900 !important;
    padding: 0 !important;
}

.lp-case-box {
    background: var(--lp-primary-light);
    border-radius: 20px;
    padding: 40px;
    margin-top: 50px;
}
.lp-case-label {
    display: inline-block;
    background: var(--lp-primary);
    color: #fff;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 6px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}
.lp-case-title {
    font-size: 1.9rem;
    font-weight: 950;
    color: var(--lp-primary);
    margin-bottom: 30px;
    letter-spacing: 0.03em;
}
.lp-case-box p {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--lp-text-main);
    line-height: 1.9;
}
.lp-case-result {
    font-size: 2rem !important;
    font-weight: 950 !important;
    color: var(--lp-primary) !important;
    margin: 40px 0 !important;
}
.lp-case-result span {
    color: var(--lp-accent);
}
.lp-case-conclusion {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
}
.lp-case-conclusion strong {
    color: var(--lp-accent);
}

/* 注記 ---------- */
.lp-note {
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: var(--lp-text-muted) !important;
    line-height: 1.7 !important;
}

/* ---------- 提供プラン ---------- */
.lp-plan-grid {
    display: flex; gap: 20px; justify-content: center; align-items: stretch;
    margin: 60px 0; width: 100%;
}
.lp-plan-card {
    flex: 1; min-width: 280px; background: #fff; border-radius: 20px; padding: 30px 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05); border: 2px solid var(--lp-border);
    display: flex; flex-direction: column; transition: all 0.3s ease; position: relative;
    cursor: pointer;
}
.lp-plan-card:hover {
    border-color: var(--lp-primary);
    background-color: var(--lp-primary-light);
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(30,58,138,0.15);
}

/* おすすめプラン（竹）の強調 */
.lp-plan-card.is-recommended {
    border-color: var(--lp-accent);
    box-shadow: 0 25px 60px rgba(234,88,12,0.12);
}
.lp-plan-badge {
    position: absolute;
    top: -18px; left: 50%;
    transform: translateX(-50%);
    background: var(--lp-accent);
    color: #fff;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 6px 24px;
    border-radius: 20px;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.lp-plan-name {
    font-size: 1.8rem; font-weight: 950; color: var(--lp-primary); text-align: center;
    margin-bottom: 16px; line-height: 1.2;
    display: flex; align-items: center; justify-content: center; letter-spacing: -1px;
}

.lp-plan-price {
    font-size: 3.2rem; font-weight: 950; text-align: center; margin-bottom: 20px;
    line-height: 1; color: var(--lp-text-main); min-height: 110px;
    display: flex; flex-direction: column; justify-content: center; padding: 14px 0;
    background-color: #fcfdfe; border-radius: 12px; letter-spacing: -1px;
    position: relative; transition: all 0.3s ease;
}
.lp-plan-price .price-val { font-size: 3.2rem; display: block; white-space: nowrap; }
.lp-plan-price span:not(.price-val) {
    font-size: 1.1rem; color: var(--lp-text-muted); font-weight: 700;
    margin-top: 2px; letter-spacing: 0;
}
.lp-plan-price.highlight { color: var(--lp-accent); }

.lp-plan-condition-label {
    font-size: 1.05rem; font-weight: 900; color: #fff; background: var(--lp-primary);
    margin: 0 auto 8px; height: 32px; display: flex; align-items: center; justify-content: center;
    width: fit-content; padding: 0 15px; border-radius: 4px; letter-spacing: 0.05em;
}

.lp-plan-features { list-style: none !important; padding: 0 !important; margin: 0 0 16px !important; flex-grow: 1; }
.lp-plan-features li {
    padding: 14px 4px; border-bottom: 1px solid #f1f5f9; font-size: 1.35rem;
    color: var(--lp-text-main); font-weight: 800; text-align: center; line-height: 1.3;
    min-height: 60px; display: flex; align-items: center; justify-content: center; word-break: keep-all;
}
.lp-plan-note {
    margin-bottom: 15px !important;
    text-align: center;
}

.lp-btn-plan {
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: 22px 10px; border-radius: 12px;
    font-weight: 900; font-size: 1.5rem; text-decoration: none !important;
    border: 2.5px solid var(--lp-primary); color: var(--lp-primary) !important;
    transition: all 0.3s ease; margin-top: auto; height: 80px;
}
.lp-plan-card:hover .lp-btn-plan {
    background: var(--lp-primary);
    color: #fff !important;
}

/* ---------- 申込フォーム ---------- */
.lp-form-container {
    max-width: 800px; margin: 40px auto 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px; border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}
.lp-form-title {
    font-size: 2.2rem !important; font-weight: 950 !important; color: #fff !important;
    text-align: center !important; margin: 0 0 20px !important; line-height: 1.2 !important;
    padding: 0 !important;
}

.cf7-custom-wrapper .wpcf7-list-item {
    display: block; margin: 15px 0 !important;
    background: rgba(255, 255, 255, 0.95);
    padding: 18px 20px !important; border-radius: 12px;
    border: 2px solid var(--lp-border);
    transition: all 0.2s ease; cursor: pointer; position: relative;
    color: var(--lp-text-main);
}
.cf7-custom-wrapper .wpcf7-list-item:has(input:checked) {
    border-color: var(--lp-accent); background: #fff;
    box-shadow: 0 0 15px rgba(234, 88, 12, 0.2);
}
.cf7-custom-wrapper .wpcf7-list-item label {
    margin-bottom: 0 !important; cursor: pointer; display: block; width: 100%; color: inherit;
}

.lp-form-submit {
    width: 100%; background: var(--lp-accent); color: #fff; border: none;
    padding: 25px; font-size: 1.8rem; font-weight: 900; border-radius: 15px;
    cursor: pointer; transition: all 0.3s ease; margin-top: 20px;
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.3);
}
.lp-form-submit:hover:not(:disabled) {
    transform: translateY(-3px); background: var(--lp-accent);
    color: #ffffff !important; box-shadow: 0 15px 40px rgba(234, 88, 12, 0.5);
}
.lp-form-submit:disabled {
    background: #94a3b8 !important; cursor: not-allowed !important;
    transform: none !important; opacity: 0.7;
}

/* ---------- 無料メルマガ（Substack埋め込み） ---------- */
.lp-mail-course {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.lp-mail-course .lp-mail-lead {
    font-size: 1.2rem;
    margin-bottom: 10px !important;
}
.lp-mail-course .lp-note-light {
    font-size: 1rem !important;
    color: rgba(255,255,255,0.7) !important;
    margin-bottom: 25px !important;
}
.lp-mail-embed {
    width: 100%;
    max-width: 480px;
    height: 180px;
    border: none;
    border-radius: 12px;
    background: #ffffff;
}

/* ---------- Q&A ---------- */
.lp-faq-item {
    margin-bottom: 50px; background: #fff; padding: 40px; border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.lp-faq-q {
    font-weight: 900; font-size: 1.6rem; color: var(--lp-primary);
    margin-bottom: 25px; display: flex; align-items: center; gap: 20px;
}
.lp-faq-q::before {
    content: 'Q'; font-size: 2rem; color: var(--lp-accent); background: #fff1f0;
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lp-faq-a {
    padding-left: 0px; color: var(--lp-text-muted); line-height: 1.8;
    font-size: 1.4rem; font-weight: 500; display: flex; gap: 20px; align-items: flex-start;
}
.lp-faq-a::before {
    content: 'A'; font-size: 2rem; color: var(--lp-primary); background: var(--lp-primary-light);
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---------- フッター ---------- */
.lp-footer-legal {
    text-align: center; padding: 40px 20px;
    color: var(--lp-text-muted); font-size: 0.9rem;
    border-top: 1px solid var(--lp-border);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
    .lp-wrapper h1.lp-title { font-size: 2.2rem !important; margin-bottom: 30px !important; }
    .lp-fv { padding: 80px 20px 60px; }
    .lp-section { padding: 60px 0; }
    .lp-container { padding: 0 20px; }
    .lp-profile { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
    .lp-profile-img { width: 180px; height: 180px; }
    .lp-plan-grid { flex-direction: column; align-items: center; gap: 40px; }
    .lp-plan-card { width: 100%; max-width: 450px; padding: 40px 20px; }
    .lp-plan-price { min-height: 0; padding: 16px 0; }
    .lp-plan-price .price-val { font-size: 2.6rem; }
    .lp-plan-features li { min-height: 0; padding: 15px 4px; }
    .lp-btn-plan { height: auto; padding: 20px 10px; }
}

@media (max-width: 600px) {
    .lp-wrapper h1.lp-title { font-size: 1.8rem !important; }
    .lp-wrapper h2.lp-sec-title { font-size: 1.8rem !important; margin-bottom: 40px !important; }
    .lp-quote-box { padding: 30px; font-size: 1.4rem; }
    .lp-step-list li { gap: 15px; font-size: 1.2rem; }
    .lp-step-list li::before { width: 50px; height: 50px; font-size: 1.4rem; }
    .lp-form-container { padding: 25px 20px; border-radius: 20px; }
    .lp-form-title { font-size: 1.6rem !important; }
    .lp-form-submit {
        font-size: 1.35rem !important; padding: 20px 10px !important;
        white-space: normal !important; line-height: 1.4 !important; height: auto !important;
    }
    .lp-btn-primary { padding: 18px 30px; font-size: 1.2rem; }
    #entry-form { padding: 60px 20px !important; border-radius: 0 !important; margin: 40px 0 !important; }
    .lp-faq-q, .lp-faq-a { font-size: 1.2rem; gap: 15px; }
    .lp-faq-q::before, .lp-faq-a::before { width: 40px; height: 40px; font-size: 1.4rem; }
    .lp-case-box { padding: 25px 20px; }
    .lp-case-title { font-size: 1.4rem; }
    .lp-case-result { font-size: 1.5rem !important; }
}
