/* AI活用事例（ホワイトペーパー）用。seo-content.css の上に重ねて使う。 */
.wp-cover { padding: 72px 0 60px; background: linear-gradient(145deg, #f2fbfd 0%, #fff 55%, #fff4ed 100%); border-bottom: 1px solid var(--line); }
.wp-cover h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); letter-spacing: -.04em; }
.wp-label { margin: 0 0 16px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.wp-label span { display: inline-block; margin-right: 8px; padding: 3px 10px; border-radius: 6px; color: #fff; background: #152c3d; letter-spacing: .06em; font-size: .82rem; }
.wp-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.wp-tools li { padding: 5px 12px; border: 1px solid #cfe6f3; border-radius: 999px; background: #fff; color: #1d5f8a; font-size: .85rem; font-weight: 700; }
.wp-tools.small { margin-top: 14px; }
.wp-tools.small li { padding: 2px 9px; font-size: .75rem; }
.wp-meta { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin: 26px 0 0; }
.wp-meta div { padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.85); }
.wp-meta dt { color: var(--muted); font-size: .78rem; font-weight: 700; }
.wp-meta dd { margin: 0; font-weight: 700; }
.actions .button { cursor: pointer; font: inherit; font-weight: 900; }

.wp-body { padding: 40px 0 72px; }
.wp-body h2 { display: flex; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--line); scroll-margin-top: 96px; }
.wp-body h2 span { color: var(--blue); font-family: inherit; font-size: 1rem; }
.wp-toc { padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; background: #fbfdfe; }
.wp-toc p { margin: 0 0 6px; font-weight: 900; }
.wp-toc ol { margin: 0; padding-left: 1.4em; columns: 2; }
.wp-toc a { color: var(--blue); text-decoration: none; }
.wp-problems, .wp-checks { padding: 0; list-style: none; display: grid; gap: 10px; }
.wp-problems li, .wp-checks li { position: relative; padding: 14px 18px 14px 46px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.wp-problems li::before { content: "!"; position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: #fff; font-size: .75rem; font-weight: 900; }
.wp-checks li::before { content: "✓"; position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--cyan); color: #fff; font-size: .72rem; font-weight: 900; }
.wp-flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin: 26px 0; }
.wp-flow-item { flex: 1 1 140px; padding: 14px; border: 1px solid #cfe6f3; border-radius: 14px; background: #f3fbfc; }
.wp-flow-item strong { display: block; color: #1d5f8a; font-size: .9rem; }
.wp-flow-item span { display: block; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.wp-arrow { align-self: center; color: var(--blue); font-weight: 900; }
.wp-prompt { position: relative; border-radius: 16px; background: #152c3d; }
.wp-prompt pre { margin: 0; padding: 24px; overflow-x: auto; color: #e4f1f8; font-family: inherit; font-size: .88rem; line-height: 1.75; white-space: pre-wrap; }
.wp-copy { position: absolute; top: 12px; right: 12px; padding: 5px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: .78rem; cursor: pointer; }
.wp-body code { padding: 1px 6px; border-radius: 4px; background: #eef4f8; }
.wp-body .note { margin-top: 18px; }
.wp-body .fineprint { margin-top: 40px; }
.wp-back { margin: 28px 0 0; }
.wp-back a { color: var(--blue); font-weight: 700; }

/* 一覧 */
.wp-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.wp-filter { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.wp-filter.is-active { border-color: transparent; background: var(--blue); color: #fff; }
.wp-card { display: flex; flex-direction: column; }
.wp-card[hidden] { display: none; }
.wp-card h3 { font-size: 1.15rem; }
.wp-card > p:not(.wp-card-no) { font-size: .92rem; }
.wp-card-no { margin: 0 0 8px !important; color: var(--muted); font-family: inherit; font-size: .75rem !important; font-weight: 700; letter-spacing: .08em; }
.wp-card-no.substack { color: #ff6719; }
.wp-go { margin-top: auto; padding-top: 16px; color: var(--blue); font-weight: 700; font-size: .9rem; }
.wp-latest-head { margin: 48px 0 18px; }
.wp-latest-head h3 { margin: 0; font-size: 1.3rem; }
.wp-substack-feed .card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 12px; border-radius: 12px; }
.wp-substack-feed time { color: var(--muted); font-size: .8rem; }

@media (max-width: 820px) {
  .wp-meta { grid-template-columns: 1fr; }
  .wp-toc ol { columns: 1; }
  .wp-arrow { transform: rotate(90deg); flex-basis: 100%; text-align: center; }
  .wp-flow-item { flex-basis: 100%; }
}
@media print {
  #header, .breadcrumbs, .no-print, .site-footer { display: none !important; }
  .wp-cover { padding: 0 0 24px; background: none; }
  .wp-body { padding-top: 16px; }
  .card, .step { box-shadow: none; }
      .wp-body h2 { break-after: avoid; }
}
.wp-card .tag, .wp-card .wp-tools { align-self: flex-start; }

/* メール登録ゲート */
.wp-gate { display: none; }
html.wp-lock .wp-gate { display: block; }
html.wp-lock .wp-locked, html.wp-lock .wp-print { display: none !important; }
.wp-gate { position: relative; margin: 8px 0 0; padding: 34px 30px; border: 1px solid #cfe6f3; border-radius: 22px; background: linear-gradient(160deg, #f2fbfd 0%, #fff 70%); box-shadow: var(--shadow); }
.wp-gate::before { content: ""; position: absolute; left: 0; right: 0; top: -90px; height: 90px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.wp-gate-label { margin: 0 0 6px !important; color: var(--blue) !important; font-size: .82rem; font-weight: 900; }
.wp-gate h2 { display: block; margin: 0 0 10px; padding: 0; border: 0; font-size: clamp(1.3rem, 3vw, 1.6rem); }
.wp-gate-form { display: grid; gap: 14px; margin-top: 20px; }
.wp-gate-form label { display: block; font-weight: 700; font-size: .92rem; }
.wp-gate-form input[type="email"], .wp-gate-form input[type="text"] { width: 100%; padding: 13px 14px; border: 1px solid #c9d8e2; border-radius: 12px; margin-top: 6px; background: #fff; font: inherit; font-size: 16px; font-weight: 400; }
.wp-gate-form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.wp-gate-form .req, .wp-gate-form .opt { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 6px; font-size: .72rem; }
.wp-gate-form .req { background: var(--orange); color: #fff; }
.wp-gate-form .opt { background: #eef4f8; color: var(--muted); }
.wp-gate-form .button { width: 100%; border: 0; }
.wp-gate-form .button[disabled] { opacity: .6; cursor: wait; }
.wp-gate-msg { min-height: 1.4em; margin: 0 !important; color: #c0392b !important; font-size: .9rem; }
.wp-gate-form .fineprint { margin: 0 !important; }
.wp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.card .wp-tools { padding-left: 0; }

/* 無料相談への導線 */
.wp-consult { margin: 44px 0; padding: 28px 28px 26px; border: 2px solid #bfe3f5; border-radius: 22px; background: linear-gradient(150deg, #eef9fc 0%, #fff 65%); }
.wp-consult[hidden] { display: none; }
.wp-consult-label { margin: 0 0 6px !important; color: var(--blue) !important; font-size: .82rem; font-weight: 900; }
.wp-consult h3 { margin: 0 0 10px; font-size: clamp(1.15rem, 2.6vw, 1.4rem); line-height: 1.55; }
.wp-consult ul { margin: 0 0 18px; padding-left: 1.2em; }
.wp-consult li { margin: 4px 0; }
.wp-consult .button { margin-top: 6px; }
.wp-consult-note { margin: 10px 0 0 !important; color: var(--muted) !important; font-size: .82rem; }
.wp-thanks { margin-top: 8px; border-color: var(--cyan); }
.wp-sticky { display: none; }
@media (max-width: 820px) {
  .wp-sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: block; padding: 14px 16px; border-radius: 999px; background: linear-gradient(120deg, #18c0c8 0%, #1f8fe8 100%); color: #fff; font-weight: 900; font-size: .92rem; text-align: center; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(31,143,232,.6); transform: translateY(140%); transition: transform .3s ease; }
  .wp-sticky.is-visible { transform: none; }
  .site-footer { padding-bottom: 96px; }
}
html.wp-lock .wp-sticky { display: none; }
.wp-thanks { scroll-margin-top: 96px; }

/* こんなことができます */
.wp-label span + * { color: var(--blue); }
.wp-surprise { margin: 0 0 28px; padding: 22px 24px; border-radius: 18px; background: #fff7ef; border: 1px solid #ffd9bd; }
.wp-surprise-label { margin: 0 0 4px !important; color: var(--orange) !important; font-size: .85rem; font-weight: 900; }
.wp-surprise p:last-child { margin: 0; color: #3b2a1e; font-weight: 700; }
.wp-card-target { margin: 0 0 4px !important; color: var(--orange) !important; font-size: .85rem; font-weight: 900; }
.wp-substack-feed { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.wp-substack-feed > * { min-width: 0; }
