/* ============================================
   NEWLP — セールスレター型LP (lp/lp2とは別枠)
   参考: ai-manga-s.com/lp5 (紙色×濃紺×紫グラデ)
   装飾ルール: h1〜h3内 <em>=メインカラー強調(版ズレ縁) / <strong>=グラデ文字
   色は --newlp-* 変数で一括変更可
   ============================================ */
:root {
    --newlp-bg: #f4f1ea;
    --newlp-bg-alt: #0e1020;
    --newlp-text: #171a2b;
    --newlp-muted: #5a5e72;
    --newlp-accent: #5a4bff;
    --newlp-accent2: #ff4b8b;
    --newlp-card: #ffffff;
    --newlp-head-font: 'Shippori Mincho', serif;
}

.newlp-body {
    margin: 0;
    background: var(--newlp-bg);
    color: var(--newlp-text);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.newlp img { max-width: 100%; height: auto; }

/* --- セクション共通 --- */
.newlp .lp-sec { padding: 96px 24px; position: relative; }
.newlp .lp-sec > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.newlp .lp-sec > .wp-block-columns { max-width: 1080px; }

/* --- 文字スタイル (レターの命) --- */
.newlp h1, .newlp h2, .newlp h3,
.editor-styles-wrapper .lp-sec h1, .editor-styles-wrapper .lp-sec h2, .editor-styles-wrapper .lp-sec h3 {
    font-family: var(--newlp-head-font);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .02em;
    text-align: center;
}
.newlp .lp-h1 { font-size: clamp(40px, 8.5vw, 84px); line-height: 1.2; }
.newlp h2 { font-size: clamp(28px, 5vw, 48px); margin: 0 0 28px; }
.newlp h3 { font-size: clamp(20px, 3vw, 26px); }
/* em = メインカラー強調 + 版ズレ風の縁 */
.newlp h1 em, .newlp h2 em, .newlp h3 em {
    font-style: normal;
    color: var(--newlp-accent);
    text-shadow: 3px 3px 0 rgba(255, 75, 139, .35);
    font-size: 1.2em;
}
/* strong = グラデ文字 */
.newlp h1 strong, .newlp h2 strong, .newlp h3 strong {
    background: linear-gradient(100deg, var(--newlp-accent), var(--newlp-accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: inherit;
}
.newlp .section-kicker {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--newlp-accent);
    text-align: center;
    margin: 0 0 14px;
}
.newlp .eyebrow {
    width: fit-content;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--newlp-accent);
    border: 1px solid rgba(90, 75, 255, .4);
    border-radius: 999px;
    padding: 6px 18px;
    text-align: center;
    margin-bottom: 22px;
}
.newlp .micro-copy { font-size: 12.5px; color: var(--newlp-muted); text-align: center; margin-top: 14px; }

/* --- ヒーロー --- */
.newlp .lp-hero { min-height: 0; display: block; text-align: left; }
.newlp .hero-lead { font-size: clamp(15px, 2vw, 18px); color: var(--newlp-muted); text-align: left; margin-top: 26px; }

/* --- ボタン --- */
.newlp .lp-actions { margin-top: 30px; }
.newlp .lp-actions .wp-block-button { max-width: 100%; }
.newlp .lp-actions .wp-block-button__link {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    white-space: normal;
    word-break: keep-all;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.5;
    font-weight: 800;
    font-size: 16px;
    color: var(--newlp-text);
    background: var(--newlp-card);
    border: 2px solid var(--newlp-text);
    border-radius: 999px;
    padding: 16px 36px;
    transition: transform .2s, box-shadow .2s;
}
.newlp .lp-actions .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.newlp .lp-btn-primary .wp-block-button__link {
    color: #fff;
    background: linear-gradient(100deg, var(--newlp-accent), var(--newlp-accent2));
    border: none;
    box-shadow: 0 8px 24px rgba(90, 75, 255, .45);
}
.newlp .lp-btn-large .wp-block-button__link { font-size: 19px; padding: 20px 52px; }
.newlp .lp-btn-line .wp-block-button__link { background: #06C755; color: #fff; border: none; }
.newlp .lp-hero .lp-actions, .newlp .lp-actions.center { display: flex; justify-content: center; }

/* --- 共感 (断片クラウド) --- */
.newlp .fragment-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 36px auto; }
.newlp .fragment-cloud span {
    display: inline-block;
    background: var(--newlp-card);
    border: 1px solid rgba(23, 26, 43, .12);
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 14.5px;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.newlp .empathy-answer { font-size: clamp(17px, 2.4vw, 21px); text-align: center; margin-top: 36px; }
.newlp .empathy-answer strong { color: var(--newlp-accent); }

/* --- 問題フロー / ステップ (columns) --- */
.newlp .problem-flow { gap: 18px; }
.newlp .problem-card {
    background: var(--newlp-card);
    border-radius: 18px;
    padding: 26px 22px;
    box-shadow: 0 8px 26px rgba(0,0,0,.08);
    text-align: center;
}
.newlp .problem-num { font-size: 13px; letter-spacing: .2em; color: var(--newlp-accent); font-weight: 800; margin: 0 0 8px; }
.newlp .problem-copy { font-weight: 700; font-size: 15.5px; margin: 0; }
.newlp .problem-conclusion { text-align: center; font-size: clamp(18px, 2.6vw, 24px); font-weight: 700; margin-top: 44px; }
.newlp .problem-conclusion strong { color: var(--newlp-accent); }

/* --- チャット再現 --- */
.newlp .chat-stage { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.newlp .chat-msg {
    padding: 14px 20px;
    border-radius: 18px;
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 78%;
    box-shadow: 0 4px 14px rgba(0,0,0,.07);
    margin: 0;
}
.newlp .chat-user {
    align-self: flex-end;
    background: linear-gradient(100deg, var(--newlp-accent), var(--newlp-accent2));
    color: #fff;
    border-bottom-right-radius: 4px;
}
.newlp .chat-ai { align-self: flex-start; background: var(--newlp-card); border-bottom-left-radius: 4px; }
.newlp .lp-statement { text-align: center; margin-top: 64px; }
.newlp .lp-statement p { letter-spacing: .14em; color: var(--newlp-muted); font-weight: 700; }

/* --- 数字の証明 --- */
.newlp .volume-equation { gap: 18px; align-items: stretch; }
.newlp .volume-item {
    background: var(--newlp-card);
    border-radius: 18px;
    padding: 26px 18px;
    box-shadow: 0 8px 26px rgba(0,0,0,.08);
    text-align: center;
}
.newlp .volume-num { font-family: var(--newlp-head-font); font-size: clamp(34px, 5vw, 56px); line-height: 1.1; font-weight: 800; margin: 0; }
.newlp .volume-label { font-size: 13px; color: var(--newlp-muted); margin: 4px 0 0; }
.newlp .volume-total { border: 2px solid var(--newlp-accent); }
.newlp .volume-total .volume-num { color: var(--newlp-accent); }

/* --- 特徴カード --- */
.newlp .feature-grid { gap: 20px; }
.newlp .feature-card { background: var(--newlp-card); border-radius: 18px; padding: 28px 24px; box-shadow: 0 8px 26px rgba(0,0,0,.08); }
.newlp .feature-tag { font-size: 11.5px; letter-spacing: .2em; color: var(--newlp-accent); font-weight: 800; margin: 0 0 10px; }
.newlp .feature-card h3 { text-align: left; margin: 0 0 8px; }
.newlp .feature-card p:not(.feature-tag) { font-size: 14px; color: var(--newlp-muted); margin: 0; }
.newlp .figure-image { text-align: center; margin-top: 48px; }
.newlp .figure-image img { max-width: 720px; border-radius: 16px; }

/* --- FAQ (details) --- */
.newlp .wp-block-details {
    background: var(--newlp-card);
    border-radius: 14px;
    padding: 4px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    margin-bottom: 14px;
}
.newlp .wp-block-details summary { font-weight: 700; padding: 16px 0; cursor: pointer; }
.newlp .wp-block-details p { color: var(--newlp-muted); font-size: 14.5px; margin: 0 0 18px; }

/* --- プラン表 --- */
.newlp .plan-grid { gap: 22px; align-items: stretch; }
.newlp .plan-card {
    background: var(--newlp-card);
    border-radius: 22px;
    padding: 34px 28px;
    box-shadow: 0 10px 32px rgba(0,0,0,.09);
    position: relative;
}
.newlp .plan-featured { border: 2px solid var(--newlp-accent); }
.newlp .plan-ribbon {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(100deg, var(--newlp-accent), var(--newlp-accent2));
    color: #fff; font-size: 12.5px; font-weight: 800;
    border-radius: 999px; padding: 5px 20px; margin: 0;
}
.newlp .plan-name { font-weight: 800; letter-spacing: .1em; margin: 0 0 6px; }
.newlp .plan-price { margin: 0 0 8px; color: var(--newlp-muted); font-size: 14px; }
.newlp .plan-price strong { font-family: var(--newlp-head-font); font-size: clamp(38px, 5vw, 52px); line-height: 1.1; color: var(--newlp-text); margin-right: 4px; }
.newlp .plan-tagline { font-size: 13.5px; color: var(--newlp-muted); margin: 0 0 18px; }
.newlp .plan-features { list-style: none; padding: 0; margin: 0 0 26px; }
.newlp .plan-features li { padding: 9px 0 9px 26px; position: relative; font-size: 14.5px; border-bottom: 1px dashed rgba(23, 26, 43, .12); }
.newlp .plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--newlp-accent); font-weight: 900; }
.newlp .plan-note { text-align: center; color: var(--newlp-muted); margin-top: 36px; }

/* --- 最終CTA (暗背景で締め) --- */
.newlp .lp-final { background: var(--newlp-bg-alt); color: #fff; padding: 130px 24px; text-align: center; }
.newlp .lp-final h2 { color: #fff; }
.newlp .lp-final p { color: rgba(255,255,255,.75); }
.newlp .lp-final .micro-copy, .newlp .lp-escape .micro-copy { text-align: center; }

/* --- reveal アニメーション (フロントのみ・JSが .is-visible を付与) --- */
.newlp-body .lp-sec { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.newlp-body .lp-sec.is-visible, .newlp-body .lp-hero { opacity: 1; transform: none; }
/* エディタ内では常に表示 */
.editor-styles-wrapper .lp-sec { opacity: 1; transform: none; }

/* --- レスポンシブ --- */
@media (max-width: 781px) {
    .newlp .lp-sec { padding: 64px 18px; }
    .newlp .problem-flow, .newlp .plan-grid, .newlp .feature-grid, .newlp .volume-equation { flex-wrap: wrap !important; }
    .newlp .chat-msg { max-width: 92%; }
}

/* ==========================================================================
   NEWLP 確定デザイン (2026-08-07 社長仕様)
   ①背景画像=ページ全体にうっすら
   ②本文エリア=中央の白いシート(最大1000px・全幅ではない・不透明)
   ③見出し=黒帯・画面の端から端まで(途切れ無し)・文字は中央寄せ
   ④画像=シートの中で最大620px中央
   ========================================================================== */

/* --- 背景レイヤー --- */
.newlp-bgfixed {
    position: fixed; inset: 0; z-index: 0;
    background-position: center top; background-size: cover; background-repeat: no-repeat;
    transform: translateZ(0); pointer-events: none;
}
.newlp-bgfixed::after { content: ""; position: absolute; inset: 0; background: rgba(247, 246, 243, 0.55); }
.newlp-bgstack { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; pointer-events: none; }
.newlp-bgzone { flex: 1 1 0; background-position: center; background-size: cover; background-repeat: no-repeat; }
.newlp-bgzone::after { content: ""; position: absolute; inset: 0; background: rgba(247, 246, 243, 0.55); }

/* --- ページ地色(画像なしの時も薄いグレー) --- */
body.newlp-body { background: #e9e7e2; overflow-x: hidden; }
html { overflow-x: hidden; }

/* --- 本文エリア: 中央の白いシート(全幅ではない・不透明) --- */
main.newlp {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 60px;
    overflow: visible;
    background-color: rgba(250, 249, 246, 0.86);   /* 全幅・半透明=背景うっすら・膜は1枚だけ */
    color: #1c1f26;
    font-family: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
}

/* --- ヘッダー画像(シート上部) --- */
.newlp-header-visual { line-height: 0; margin: 0; }
.newlp-header-visual img { width: 100%; height: auto; display: block; }

/* --- セクション: 装飾なし・クリップなし --- */
.newlp .lp-sec,
.newlp .lp-sec.lp-hero,
.newlp .lp-hero {
    display: block;
    background: none; border: none; box-shadow: none; border-radius: 0;
    width: auto; max-width: none; min-height: 0;
    margin: 0; padding: 24px 0;
    opacity: 1; transform: none;
    overflow: visible;
    text-align: left;
}
.newlp .lp-sec > *,
.newlp .lp-sec .wp-block-group__inner-container {
    max-width: 860px;
    margin-left: auto; margin-right: auto;
    padding-left: clamp(20px, 4vw, 40px);
    padding-right: clamp(20px, 4vw, 40px);
    box-sizing: border-box;
}
.newlp .lp-sec .wp-block-group__inner-container { overflow: visible; }
.newlp .lp-sec .wp-block-group__inner-container > * { max-width: none; padding-left: 0; padding-right: 0; }

/* セクション外(main直下)の段落・画像も同じ列 */
main.newlp > p, main.newlp > .wp-block-image, main.newlp > figure {
    max-width: 860px;
    margin-left: auto; margin-right: auto;
    padding-left: clamp(20px, 4vw, 40px);
    padding-right: clamp(20px, 4vw, 40px);
    box-sizing: border-box;
}

/* --- 本文 --- */
main.newlp p, main.newlp li { color: #1c1f26; font-size: 16.5px; line-height: 2; margin: 0 0 1.5em; text-align: left; }
main.newlp p:empty { margin: 0 0 1.5em; min-height: 1em; }
main.newlp strong { font-weight: 900; color: #111319; }
main.newlp em { font-style: normal; font-weight: 800; color: #6b46d6; }
main.newlp h3 { font-size: clamp(17px, 2.2vw, 22px); font-weight: 800; margin: 1.6em 0 .7em; color: #111319; }

/* --- 見出し: 画面の端から端までの黒帯・文字は中央 --- */
main.newlp h2 {
    width: 100vw;
    max-width: none;
    margin: 0 0 28px calc(50% - 50vw);
    padding: 0.85em 24px;
    background: rgba(14, 15, 20, 0.93);
    color: #fff;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 900;
    line-height: 1.55;
    box-sizing: border-box;
    text-align: center;               /* ★見出しは中央寄せ */
}

/* --- 本文中の画像: シートの中で最大620px中央 --- */
main.newlp .wp-block-image, main.newlp figure.wp-block-image {
    text-align: center;
    background: none;
    margin-top: 26px;
    margin-bottom: 26px;
}
main.newlp .wp-block-image img {
    max-width: 620px; width: 100%; height: auto;
    display: block; margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(20, 22, 30, 0.10);
}
main.newlp figcaption { font-size: 12.5px; color: #5b616e; margin-top: 10px; text-align: center; }

@media (max-width: 640px) {
    main.newlp .wp-block-image img { max-width: 100%; }
    main.newlp p, main.newlp li { font-size: 15.5px; }
}

/* ==========================================================================
   リスト装飾: NEWLP本文(front)+エディタ両対応・マーカー位置を中央に揃える
   ========================================================================== */
main.newlp .wp-block-list.is-style-bad,
.editor-styles-wrapper .wp-block-list.is-style-bad {
    list-style: none; padding: 16px 22px; margin: 1.4em 0;
    background: #ffebee; border-radius: 8px; border-left: 4px solid #e74c3c;
}
main.newlp .wp-block-list.is-style-bad li,
.editor-styles-wrapper .wp-block-list.is-style-bad li {
    position: relative; padding-left: 34px; margin: 6px 0; line-height: 1.9; list-style: none;
}
main.newlp .wp-block-list.is-style-bad li::before,
.editor-styles-wrapper .wp-block-list.is-style-bad li::before {
    content: "\2716"; position: absolute; left: 6px; top: 0; line-height: 1.9;
    color: #e74c3c; font-weight: bold;
}

main.newlp .wp-block-list.is-style-list-check,
.editor-styles-wrapper .wp-block-list.is-style-list-check {
    list-style: none; padding-left: 0; margin: 1.4em 0;
}
main.newlp .wp-block-list.is-style-list-check li,
.editor-styles-wrapper .wp-block-list.is-style-list-check li {
    background: #f4fbf6; border: 1px solid #d6efe0; border-radius: 10px;
    padding: 12px 16px 12px 46px; margin: 8px 0; position: relative; line-height: 1.8; list-style: none;
}
main.newlp .wp-block-list.is-style-list-check li::before,
.editor-styles-wrapper .wp-block-list.is-style-list-check li::before {
    content: "\2713"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; line-height: 22px; text-align: center;
    background: #22c55e; color: #fff; border-radius: 50%; font-size: .72em; font-weight: bold;
}

main.newlp .wp-block-list.is-style-list-boxes,
.editor-styles-wrapper .wp-block-list.is-style-list-boxes {
    list-style: none; padding-left: 0; margin: 1.4em 0;
}
main.newlp .wp-block-list.is-style-list-boxes li,
.editor-styles-wrapper .wp-block-list.is-style-list-boxes li {
    background: #fff; border: 1px solid #e6e6e6; border-radius: 10px;
    padding: 12px 16px 12px 42px; margin: 8px 0; position: relative;
    box-shadow: 0 1px 6px rgba(0,0,0,.05); line-height: 1.8; list-style: none;
}
main.newlp .wp-block-list.is-style-list-boxes li::before,
.editor-styles-wrapper .wp-block-list.is-style-list-boxes li::before {
    content: "\25CF"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: #6b46d6; font-size: .7em;
}
