/* ============================================================
  【BMP】再起動セッションLP専用 CSS
  ファイル名：bmp-reboot-lp.css
  スラッグ：reboot-lp
  読み込み条件：is_page('reboot-lp')
============================================================ */

/* ===== Cocoon / WordPress テーマ干渉の徹底リセット (v5: ハイブリッド自己紹介 ＆ プランカード完全最適化版) ===== */
.lp-restart-wrapper {
    --lp-gold: #e8b84b;
    --lp-black: #0d0d0d;
    --lp-dark-gray: #1a1a1a;
    --lp-light-gray: #f5f5f5;
    --lp-accent-bg: #fafafa;
    --lp-discount: #e53e3e;
    --lp-font-title: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
    --lp-font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
    --lp-font-accent: "Montserrat", "Helvetica Neue", Arial, sans-serif;

    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -110px !important;
    margin-bottom: -150px !important;
    scroll-behavior: smooth !important;

    background-color: #ffffff;
    font-family: var(--lp-font-sans);
    color: var(--lp-dark-gray);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    font-size: 1.35rem;

    /* 日本語テキストの折り返し・厳格な禁則処理 */
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
}

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

.lp-restart-wrapper b,
.lp-restart-wrapper strong {
    font-weight: 700 !important;
}

/* Cocoon見出し装飾打ち消し（子テーマから回収・統合） */
.lp-restart-wrapper h1::before, .lp-restart-wrapper h1::after,
.lp-restart-wrapper h2::before, .lp-restart-wrapper h2::after,
.lp-restart-wrapper h3::before, .lp-restart-wrapper h3::after {
    content: none !important;
    display: none !important;
}
.lp-restart-wrapper h2 {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* モダンCSS: 見出しの自動均等折り返し（文末の泣き別れ防止） */
.lp-restart-wrapper h1,
.lp-restart-wrapper h2,
.lp-restart-wrapper h3,
.lp-sec-title,
.lp-reason-title,
.lp-plan-name,
.lp-form-title {
    text-wrap: balance;
}

/* モダンCSS: 本文・リストの孤立文字防止 */
.lp-restart-wrapper p,
.lp-check-list li,
.lp-plan-features li,
.lp-faq-q,
.lp-faq-a {
    text-wrap: pretty;
}

/* レスポンシブ改行制御 */
.br-pc { display: inline; }
.br-sp { display: none; }

@media (max-width: 768px) {
    .br-pc { display: none !important; }
    .br-sp { display: inline !important; }
}

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

.lp-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-section { padding: 90px 0; background-color: transparent; }

.lp-indent-narrow { padding-left: 80px !important; }
@media (max-width: 900px) { .lp-indent-narrow { padding-left: 24px !important; } }

.lp-fv {
    background-color: var(--lp-black);
    color: #ffffff;
    padding: 110px 0 90px;
    text-align: center;
}

.lp-restart-wrapper h1.lp-title {
    font-family: var(--lp-font-title) !important;
    font-size: 3.5rem !important;
    font-weight: 950 !important;
    line-height: 1.25 !important;
    margin: 0 0 25px !important;
    color: #ffffff !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    text-align: center !important;
}

.lp-restart-wrapper h1.lp-title span { color: var(--lp-gold) !important; font-family: inherit !important; }

.lp-fv .sub-copy {
    font-size: 1.7rem;
    color: #cccccc;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.6;
}

.lp-fv-meta {
    display: inline-block;
    border: 1px solid var(--lp-gold);
    color: var(--lp-gold);
    padding: 14px 32px;
    font-size: 1.2rem;
    margin-bottom: 40px;
    border-radius: 4px;
}

.lp-cta-wrap { text-align: center; padding: 60px 0; }

.lp-restart-wrapper a.lp-btn {
    display: inline-block !important;
    background-color: var(--lp-gold);
    color: var(--lp-black) !important;
    font-weight: 700;
    font-size: 2rem;
    text-decoration: none !important;
    padding: 24px 64px;
    border-radius: 54px;
    box-shadow: 0 8px 25px rgba(232, 184, 75, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.lp-restart-wrapper a.lp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #ffffff;
    color: var(--lp-gold) !important;
    box-shadow: 0 15px 40px rgba(232, 184, 75, 0.5);
}

.lp-restart-wrapper h2.lp-sec-title {
    font-family: var(--lp-font-title) !important;
    font-size: 2.8rem !important;
    font-weight: 950 !important;
    color: var(--lp-black) !important;
    margin: 0 0 50px !important;
    border-left: 10px solid var(--lp-gold) !important;
    padding: 0 0 0 24px !important;
    line-height: 1.25 !important;
    background: none !important;
    box-shadow: none !important;
}

.lp-alert {
    background-color: var(--lp-accent-bg);
    border-left: 8px solid var(--lp-black);
    padding: 45px;
    margin: 40px 0;
    border-radius: 0 12px 12px 0;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1.8;
}

.lp-em {
    background: linear-gradient(transparent 60%, rgba(232, 184, 75, 0.2) 60%);
    font-weight: bold;
    display: inline;
}

.lp-check-list { list-style: none !important; padding: 0 !important; margin: 30px 0 !important; }
.lp-check-list li {
    position: relative;
    padding-left: 2.5em !important;
    margin-bottom: 25px !important;
    font-size: 1.6rem;
    color: var(--lp-dark-gray);
    border-bottom: 1px solid #f0f0f0 !important;
    padding-bottom: 10px !important;
    line-height: 1.6;
}
.lp-check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--lp-gold); font-weight: 900; }

.lp-step-list { counter-reset: step; list-style: none !important; padding: 0 !important; }
.lp-step-list li {
    position: relative;
    padding-left: 85px !important;
    margin-bottom: 50px !important;
}
.lp-step-list li::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 0; top: 5px; width: 60px; height: 60px;
    background-color: var(--lp-black); color: var(--lp-gold);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 900;
}

.lp-step-list li h3.lp-step-title { margin: 0 0 10px !important; color: var(--lp-black) !important; font-size: 1.8rem !important; font-weight: 800 !important; border: none !important; padding: 0 !important; font-family: var(--lp-font-title) !important; }

/* なぜ売れないのか 装飾 */
.lp-reason-list { display: flex; flex-direction: column; gap: 30px; margin: 50px 0; }
.lp-reason-item { background: #fff; padding: 40px; border-radius: 12px; border: 1px solid #f0f0f0; display: flex; flex-direction: column; gap: 15px; position: relative; }
.lp-reason-num { color: var(--lp-gold); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.2em; display: block; border-bottom: 2px solid var(--lp-gold); width: fit-content; padding-bottom: 5px; }
.lp-reason-title { font-size: 2rem !important; font-weight: 800 !important; color: var(--lp-black) !important; margin: 10px 0 !important; border: none !important; padding: 0 !important; background: none !important; box-shadow: none !important; line-height: 1.35 !important; }

.lp-profile { display: flex; gap: 40px; align-items: flex-start; background-color: var(--lp-accent-bg); padding: 60px; border-radius: 20px; margin-top: 40px; }
.lp-profile-img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 4px solid #ffffff; flex-shrink: 0; }
.lp-profile-text h3 { margin: 0 0 15px !important; color: var(--lp-black); font-size: 2.22rem !important; font-weight: 800 !important; border: none !important; }

/* ===== 提供プランカード（v5: 文字改行・ボタン完全最適化） ===== */
.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: 28px 18px 36px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 2px solid #eee;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}
.lp-plan-card:hover {
    border-color: var(--lp-gold);
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(232, 184, 75, 0.15);
    background-color: #fffdf9;
}

.lp-plan-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lp-gold);
    color: var(--lp-black);
    padding: 7px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
}
.lp-plan-name {
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    color: var(--lp-black) !important;
    text-align: center !important;
    margin: 0 0 20px !important;
    line-height: 1.3 !important;
    border: none !important;
    padding: 0 !important;
    font-family: var(--lp-font-title) !important;
}
.lp-plan-price {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 25px;
    color: var(--lp-black);
    line-height: 1.0;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    font-family: var(--lp-font-accent);
}
.lp-plan-price .strike {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
    display: block;
    margin-bottom: 5px;
    opacity: 0.7;
    height: 1.1rem;
}
.lp-plan-discount-label {
    color: var(--lp-discount);
    font-size: 1.0rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    height: 1.0rem;
}
.lp-plan-price .price-val {
    font-size: 2.22rem;
    font-weight: 950;
    color: var(--lp-black);
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}
.lp-plan-price .price-val span {
    font-size: 1.15rem;
    color: #888;
    font-weight: 600;
    margin-left: 4px;
}

.lp-plan-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px !important;
    flex-grow: 1;
}
.lp-plan-features li {
    padding: 10px 4px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.05rem;
    color: var(--lp-dark-gray);
    text-align: center;
    font-weight: 700;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    word-break: keep-all;
    overflow-wrap: normal;
}
.lp-plan-features li.lp-plan-note {
    font-size: 0.88rem;
    color: #777;
    font-weight: 600;
    line-height: 1.35;
}

.lp-btn-plan {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-decoration: none !important;
    border: 2.5px solid var(--lp-gold);
    color: var(--lp-gold) !important;
    transition: all 0.3s ease;
    margin-top: auto;
    height: 64px;
}
.lp-plan-card:hover .lp-btn-plan {
    background: var(--lp-gold);
    color: var(--lp-black) !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: 800 !important; color: #fff !important; text-align: center !important; margin: 0 0 20px !important; line-height: 1.25 !important; border: none !important; background: none !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 #eee; transition: all 0.2s ease; cursor: pointer; position: relative; color: var(--lp-black); }
.cf7-custom-wrapper .wpcf7-list-item:has(input:checked) { border-color: var(--lp-gold); background: #fff; box-shadow: 0 0 15px rgba(232, 184, 75, 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-gold); color: var(--lp-black); border: none; padding: 25px; font-size: 1.8rem; font-weight: 800; border-radius: 15px; cursor: pointer; transition: all 0.3s ease; margin-top: 20px; box-shadow: 0 10px 30px rgba(232, 184, 75, 0.2); }
.lp-form-submit:hover:not(:disabled) { transform: translateY(-3px); background: var(--lp-gold); color: var(--lp-black) !important; box-shadow: 0 15px 40px rgba(232, 184, 75, 0.4); }
.lp-form-submit:disabled { background: #555 !important; color: #888 !important; cursor: not-allowed !important; transform: none !important; opacity: 0.7; }

/* Q&A 刷新 */
.lp-faq-item { margin-bottom: 40px; background: #fff; padding: 40px; border-radius: 12px; border: 1px solid #f0f0f0; }
.lp-faq-q { font-size: 1.6rem; font-weight: 800; color: var(--lp-black); margin-bottom: 20px; display: flex; gap: 15px; line-height: 1.5; }
.lp-faq-q::before { content: 'Q'; color: var(--lp-gold); font-size: 1.8rem; flex-shrink: 0; }
.lp-faq-a { font-size: 1.4rem; color: #555; line-height: 1.8; display: flex; gap: 15px; }
.lp-faq-a::before { content: 'A'; color: #888; font-size: 1.8rem; flex-shrink: 0; }

.lp-info-table { width: 100%; border-collapse: collapse; margin: 40px 0; }
.lp-info-table th, .lp-info-table td { padding: 25px; border-bottom: 1px solid #e0e0e0; font-size: 1.5rem; }
.lp-info-table th { width: 30%; text-align: left; color: #888; }

.lp-closing { background-color: var(--lp-black); color: #ffffff; text-align: center; padding: 60px 0 100px; margin-top: 10px; }
.lp-closing h2 { font-size: 2.5rem !important; font-weight: 900 !important; margin-bottom: 40px !important; line-height: 1.4 !important; color: #ffffff !important; font-family: var(--lp-font-title) !important; }

@media (max-width: 900px) {
    .lp-restart-wrapper h1.lp-title { font-size: 2.22rem !important; }
    .lp-fv { padding: 80px 0 60px; }
    .lp-section { padding: 60px 0; }
    .lp-plan-grid { flex-direction: column; align-items: center; gap: 40px; }
    .lp-plan-card { width: 100%; max-width: 450px; padding: 40px 25px; }
    .lp-plan-price { font-size: 3.5rem; height: auto; }
    .lp-plan-name { height: auto; padding: 10px 0; }
    .lp-plan-features li { height: auto; padding: 15px 0; }
    .lp-profile { flex-direction: column; align-items: center; text-align: center; padding: 40px 20px; }
    .lp-profile-img { width: 150px; height: 150px; }
}

@media (max-width: 600px) {
    .lp-restart-wrapper h1.lp-title { font-size: 1.8rem !important; }
    .lp-fv .sub-copy { font-size: 1.3rem; }
    .lp-restart-wrapper h2.lp-sec-title { font-size: 1.8rem !important; padding-left: 15px !important; }
    .lp-alert { padding: 25px; font-size: 1.2rem; }
    .lp-form-container { padding: 25px 20px; border-radius: 20px; }
    .lp-form-title { font-size: 1.4rem !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; }
    #entry-form { padding: 60px 20px !important; border-radius: 0 !important; margin: 40px 0 !important; }
    .lp-closing h2 { font-size: 1.8rem !important; line-height: 1.5 !important; }
    .lp-reason-item { padding: 25px 20px; }
    .lp-reason-title { font-size: 1.6rem !important; }
    .lp-faq-item { padding: 25px 20px; }
}
