/* =====================================================
   LLM Insight — components.css
   Hero · dashboard mock · cards · tables · forms · detail pages
   ===================================================== */

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(820px 460px at 88% -8%, var(--accent-soft), transparent 68%),
    linear-gradient(168deg, var(--tint) 0%, var(--tint-2) 58%, #ffffff 100%);
  padding: 76px 0 70px; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 52px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--brand-line); border-radius: 999px; padding: 6px 16px; font-size: 12.5px; font-weight: 700; color: var(--brand-700); box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: 45px; color: var(--brand-900); letter-spacing: 0.01em; line-height: 1.34; }
.hero h1 .hl { color: var(--brand); position: relative; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 9px; background: var(--accent-soft); z-index: -1; border-radius: 3px; }
.hero-sub { margin-top: 22px; font-size: 16.5px; color: var(--ink-700); line-height: 1.9; font-weight: 500; }
.hero-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-500); }
.hero-ctas { margin-top: 30px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-extralink { margin-top: 16px; }
.hero-trust { margin-top: 26px; }
.hero-ai { margin-top: 22px; }
.hero-ai-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-500); margin-bottom: 9px; }

/* ---------- Dashboard mock ---------- */
.mock {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-pop); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--tint-2); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock-bar .mock-title { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--ink-500); }
.mock-body { padding: 20px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.mock-kpi { background: var(--tint-2); border: 1px solid var(--line); border-radius: 11px; padding: 13px 14px; }
.mock-kpi .mk-label { font-size: 10.5px; font-weight: 700; color: var(--ink-500); }
.mock-kpi .mk-value { font-size: 26px; font-weight: 900; color: var(--brand-900); line-height: 1.15; margin-top: 3px; font-family: var(--font-en); }
.mock-kpi .mk-value small { font-size: 13px; color: var(--ink-500); }
.mock-kpi .mk-delta { font-size: 10.5px; font-weight: 700; margin-top: 2px; }
.mk-delta.up { color: var(--win); }
.mk-delta.down { color: var(--lose); }
.mock-section-label { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; color: var(--ink-300); margin: 4px 0 11px; }
.mock-bars { display: grid; gap: 9px; margin-bottom: 18px; }
.mbar { display: grid; grid-template-columns: 84px 1fr 38px; align-items: center; gap: 10px; font-size: 12px; }
.mbar .mbar-name { font-weight: 600; color: var(--ink-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbar-track { height: 9px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.mbar-fill { height: 100%; border-radius: 999px; background: var(--brand-600); width: 0; transition: width 1s cubic-bezier(.2,.7,.3,1); }
.mbar-fill.self { background: var(--accent); }
.mbar-val { font-weight: 800; color: var(--brand-900); text-align: right; font-family: var(--font-en); }
.mock-prompts { display: grid; gap: 7px; }
.mprompt { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--tint-2); border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font-size: 12px; }
.mprompt .mp-q { color: var(--ink-700); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Verdict pills ---------- */
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 11px; white-space: nowrap; font-family: var(--font-ja); }
.pill-win { background: #e4f3ec; color: var(--win); }
.pill-lose { background: #fbe9e4; color: var(--lose); }
.pill-mid { background: var(--tint); color: var(--ink-500); }
.pill-self { background: var(--accent-soft); color: var(--brand); }
.pill-comp { background: var(--tint); color: var(--brand-700); }
.pill-third { background: #f1f3f7; color: var(--ink-500); }

/* ---------- Problem cards ---------- */
.prob-card { padding: 28px 26px; }
.prob-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--tint); color: var(--brand); font-weight: 900; font-size: 15px; margin-bottom: 15px; font-family: var(--font-en); }
.prob-card h3 { font-size: 17px; font-weight: 700; color: var(--brand-900); margin-bottom: 9px; line-height: 1.5; }
.prob-card p { font-size: 14px; color: var(--ink-500); line-height: 1.75; }
.prob-cta { padding: 28px 26px; background: var(--tint); border-color: var(--brand-line); display: flex; flex-direction: column; justify-content: center; gap: 15px; text-align: center; }
.prob-cta p { font-size: 15px; font-weight: 700; color: var(--brand-900); line-height: 1.6; }

/* ---------- VS table (SEO vs AI) ---------- */
.vs-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-card); max-width: 940px; margin: 0 auto; }
.vs-table { width: 100%; border-collapse: collapse; }
.vs-table th, .vs-table td { padding: 17px 26px; font-size: 15px; text-align: left; }
.vs-table thead th { font-size: 15px; font-weight: 800; }
.vs-table thead th.col-seo { color: var(--ink-500); }
.vs-table thead th.col-ai { color: var(--brand); }
.vs-table tbody tr { border-top: 1px solid var(--line); }
.vs-table td { color: var(--ink-700); }
.vs-table td.col-ai { background: var(--tint); font-weight: 600; color: var(--brand-900); }

/* ---------- Steps (3) ---------- */
.step-card { padding: 30px 28px; }
.step-label { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--brand-600); }
.step-card h3 { font-size: 19px; font-weight: 800; color: var(--brand-900); margin: 9px 0 11px; }
.step-card p { font-size: 14px; color: var(--ink-500); line-height: 1.75; }

.datapoints { margin-top: 40px; }
.datapoints-title { text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-500); margin-bottom: 16px; }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 52px 0; }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: var(--brand-700); background: var(--tint); border-radius: 7px; padding: 5px 13px; margin-bottom: 15px; }
.feature-text h3 { font-size: 25px; font-weight: 800; color: var(--brand-900); margin-bottom: 15px; line-height: 1.48; }
.feature-desc { font-size: 15px; color: var(--ink-700); margin-bottom: 20px; line-height: 1.85; }
.feature-list { list-style: none; display: grid; gap: 9px; margin-bottom: 24px; }
.feature-list li { font-size: 14px; color: var(--ink-700); padding-left: 27px; position: relative; line-height: 1.65; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); }
.feature-list li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 8px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(40deg); }
.feature-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.shot-frame { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); padding: 8px; }

/* ---------- Use-case tabs ---------- */
.tabs-nav { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.tab-btn { font-family: var(--font-ja); font-size: 14px; font-weight: 700; color: var(--ink-700); background: var(--white); border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 22px; cursor: pointer; transition: 0.15s; }
.tab-btn:hover { border-color: var(--brand); }
.tab-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.usecase-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 40px 44px; }
.usecase-role { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--brand-600); margin-bottom: 10px; }
.usecase-panel h3 { font-size: 22px; font-weight: 800; color: var(--brand-900); margin-bottom: 14px; line-height: 1.5; }
.usecase-pain { font-size: 14px; color: var(--ink-500); margin-bottom: 18px; line-height: 1.8; }
.usecase-pain strong { color: var(--ink-700); }
.usecase-points { list-style: none; display: grid; gap: 9px; }
.usecase-points li { font-size: 14px; color: var(--ink-700); padding-left: 22px; position: relative; line-height: 1.6; }
.usecase-points li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }

/* ---------- Discovery (challenges / solutions) ---------- */
.discover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.discover-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.discover-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 34px 34px 30px; }
.discover-col h3 { font-size: 19px; font-weight: 800; color: var(--brand-900); margin-bottom: 6px; }
.discover-col .dc-sub { font-size: 13.5px; color: var(--ink-500); margin-bottom: 20px; }
.discover-list { list-style: none; display: grid; gap: 2px; }
.discover-list a { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 10px; color: var(--ink-700); font-size: 14.5px; font-weight: 600; border-bottom: 1px solid var(--line); }
.discover-list li:last-child a { border-bottom: none; }
.discover-list a:hover { background: var(--tint); color: var(--brand-900); padding-left: 16px; }

/* ---------- レスポンシブ2カラム split（インラインgrid置換用 / 980pxで1カラム） ---------- */
.split-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-2col.ratio-l { grid-template-columns: 1.05fr 0.95fr; } /* 左やや広 */
.split-2col.ratio-r { grid-template-columns: 0.95fr 1.05fr; } /* 右やや広 */
.discover-list a .arw { margin-left: auto; color: var(--ink-300); }
.discover-list a:hover .arw { color: var(--brand); }

/* ---------- Diagnosis band ---------- */
.diag-band-inner { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.diag-band h2 { font-size: 31px; font-weight: 800; line-height: 1.46; }
.diag-lead { margin-top: 18px; font-size: 15px; color: rgba(255,255,255,0.82); line-height: 1.85; }
.diag-check { list-style: none; display: grid; gap: 11px; margin-top: 26px; }
.diag-check li { padding-left: 32px; position: relative; font-size: 14.5px; color: rgba(255,255,255,0.92); line-height: 1.6; }
.diag-check li::before { content: ""; position: absolute; left: 0; top: 4px; width: 21px; height: 21px; border-radius: 50%; background: var(--accent); }
.diag-check li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 6px; height: 10px; border-right: 2px solid var(--brand-900); border-bottom: 2px solid var(--brand-900); transform: rotate(40deg); }

/* ---------- Cards: form ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); padding: 38px 40px; }
.form-card h3 { font-size: 20px; font-weight: 800; color: var(--brand-900); text-align: center; }
.form-card .form-intro { font-size: 13px; color: var(--ink-500); text-align: center; margin: 9px 0 26px; }
.hs-placeholder { border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--tint-2); padding: 28px 24px; text-align: center; }
.hs-placeholder-badge { display: inline-block; font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--brand); background: var(--accent-soft); border-radius: 999px; padding: 5px 13px; margin-bottom: 16px; }
.hs-placeholder-title { font-size: 15px; font-weight: 700; color: var(--brand-900); line-height: 1.6; }
.hs-placeholder-sub { font-size: 12.5px; color: var(--ink-500); line-height: 1.75; margin-top: 10px; }
.hs-placeholder-sub code { font-family: var(--font-en); font-size: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--brand-700); }
.hs-placeholder-fields { list-style: none; margin: 18px auto 0; padding: 16px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 7px; max-width: 320px; }
.hs-placeholder-fields li { font-size: 12.5px; color: var(--ink-700); }
.form-grid { display: grid; gap: 18px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.form-field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--brand-900); margin-bottom: 7px; }
.form-field .req, .form-field .opt { display: inline-block; font-size: 10px; font-weight: 700; margin-left: 7px; padding: 2px 7px; border-radius: 4px; vertical-align: 1px; }
.form-field .req { background: #fbe9e4; color: var(--lose); }
.form-field .opt { background: var(--tint); color: var(--ink-500); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; font-family: var(--font-ja); font-size: 14.5px; color: var(--ink);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); padding: 11px 13px;
  background: var(--white); transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-field input.invalid { border-color: var(--lose); }
.form-field .field-error { display: none; font-size: 12px; color: var(--lose); margin-top: 5px; }
.form-field.show-error .field-error { display: block; }
.form-field.full { grid-column: 1 / -1; }
.form-privacy { font-size: 12px; color: var(--ink-500); grid-column: 1 / -1; }
.form-success { text-align: center; padding: 40px 20px; display: none; }
.form-success h3 { font-size: 21px; font-weight: 800; color: var(--brand-900); margin: 16px 0 10px; }
.form-success p { font-size: 14px; color: var(--ink-500); }
.success-check { width: 60px; height: 60px; border-radius: 50%; background: #e4f3ec; color: var(--win); font-size: 26px; display: grid; place-items: center; margin: 0 auto; }
.hs-placeholder { border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 30px; text-align: center; font-size: 13px; color: var(--ink-500); background: var(--tint-2); }
.hs-placeholder strong { color: var(--brand-700); }

/* ---------- Compare table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); background: var(--white); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.compare-table th, .compare-table td { padding: 14px 18px; font-size: 13.5px; text-align: center; border-top: 1px solid var(--line); }
.compare-table thead th { border-top: none; background: var(--brand-900); color: #fff; font-weight: 700; }
.compare-table thead th:first-child { text-align: left; }
.compare-table thead th.col-self { background: var(--brand); }
.compare-table tbody th { text-align: left; font-weight: 600; color: var(--ink-700); background: var(--tint-2); white-space: nowrap; }
.compare-table td.col-self { background: var(--tint); font-weight: 700; color: var(--brand-900); }
.compare-table td { color: var(--ink-500); }
.mk-strong { color: var(--brand); font-weight: 900; }
.mk-ok { color: var(--win); font-weight: 700; }
.mk-soso { color: var(--ink-300); }

/* ---------- Flow (6 steps) ---------- */
.flow-list { list-style: none; max-width: 800px; margin: 0 auto; }
.flow-item { display: grid; grid-template-columns: 54px 1fr; gap: 22px; position: relative; padding-bottom: 34px; }
.flow-item:last-child { padding-bottom: 0; }
.flow-item::before { content: ""; position: absolute; left: 26px; top: 54px; bottom: 0; width: 2px; background: var(--brand-line); }
.flow-item:last-child::before { display: none; }
.flow-num { width: 54px; height: 54px; border-radius: 50%; background: var(--white); border: 2px solid var(--brand-line); color: var(--brand); display: grid; place-items: center; font-weight: 900; font-size: 16px; font-family: var(--font-en); z-index: 1; }
.flow-body h3 { font-size: 18px; font-weight: 800; color: var(--brand-900); padding-top: 4px; margin-bottom: 7px; }
.flow-body p { font-size: 14px; color: var(--ink-500); line-height: 1.75; }

/* ---------- Pricing ---------- */
.plan-card { padding: 30px 26px; display: flex; flex-direction: column; }
.plan-card.featured { border: 2px solid var(--brand); position: relative; box-shadow: var(--shadow-pop); }
.plan-popular { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 15px; border-radius: 999px; letter-spacing: 0.04em; white-space: nowrap; }
.plan-name { font-size: 19px; font-weight: 800; color: var(--brand-900); font-family: var(--font-en); }
.plan-for { font-size: 12.5px; color: var(--ink-500); margin: 8px 0 16px; min-height: 3em; line-height: 1.6; }
.plan-price { font-size: 14px; color: var(--ink-700); font-weight: 700; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.plan-feats { list-style: none; display: grid; gap: 8px; padding: 16px 0 22px; flex: 1; }
.plan-feats li { font-size: 13px; color: var(--ink-700); padding-left: 22px; position: relative; line-height: 1.55; }
.plan-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--win); font-weight: 800; }
.pricing-note { text-align: center; margin-top: 26px; font-size: 13px; color: var(--ink-500); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 11px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.faq-q { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 13px; padding: 19px 22px; font-weight: 700; font-size: 15px; color: var(--brand-900); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q .qm { font-family: var(--font-en); color: var(--brand-600); font-weight: 800; flex-shrink: 0; }
.faq-q .chev { margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--ink-300); border-bottom: 2px solid var(--ink-300); transform: rotate(45deg); transition: transform 0.2s; flex-shrink: 0; }
.faq-item[open] .chev { transform: rotate(225deg); }
.faq-a { padding: 0 22px 20px 48px; font-size: 14px; color: var(--ink-700); line-height: 1.85; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: 35px; font-weight: 900; line-height: 1.5; }
.final-cta p { margin: 18px auto 0; max-width: 640px; font-size: 15px; color: rgba(255,255,255,0.82); line-height: 1.85; }
.final-cta .hero-ctas { justify-content: center; margin-top: 34px; }

/* ---------- KPI + report blocks (sample report) ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.kpi-card { padding: 19px 20px; }
.kpi-label { font-size: 12px; font-weight: 700; color: var(--ink-500); }
.kpi-value { font-size: 30px; font-weight: 900; color: var(--brand-900); line-height: 1.15; margin-top: 5px; font-family: var(--font-en); }
.kpi-value small { font-size: 14px; font-weight: 700; color: var(--ink-500); }
.kpi-delta { font-size: 12px; font-weight: 700; margin-top: 3px; }
.kpi-delta.up { color: var(--win); }
.kpi-delta.down { color: var(--lose); }
.bar-row { display: grid; grid-template-columns: 150px 1fr 50px; align-items: center; gap: 13px; font-size: 13.5px; }
.bar-row .bar-name { font-weight: 600; color: var(--ink-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 11px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--brand-600); width: 0; transition: width 1s cubic-bezier(.2,.7,.3,1); }
.bar-fill.self { background: var(--accent); }
.bar-val { font-weight: 800; color: var(--brand-900); text-align: right; font-family: var(--font-en); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--ink-500); padding: 10px 14px; border-bottom: 1.5px solid var(--line-strong); white-space: nowrap; }
.data-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--ink-700); }
.report-block { padding: 30px 34px; margin-bottom: 26px; }
.report-block-head { display: flex; align-items: baseline; gap: 13px; margin-bottom: 20px; }
.report-block-num { font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--brand-600); }
.report-block-head h3 { font-size: 18px; font-weight: 800; color: var(--brand-900); }
.report-block-note { font-size: 12.5px; color: var(--ink-500); margin-top: 14px; line-height: 1.7; }
.report-toc { list-style: none; counter-reset: rep; }
.report-toc li { counter-increment: rep; font-size: 14px; color: var(--ink-700); font-weight: 500; padding: 11px 4px 11px 42px; position: relative; border-bottom: 1px dashed var(--line); }
.report-toc li::before { content: counter(rep, decimal-leading-zero); position: absolute; left: 4px; top: 11px; font-family: var(--font-en); font-size: 12px; font-weight: 800; color: var(--brand-600); }

/* ---------- List/index pages (resources, blog, news, events) ---------- */
.list-card { display: flex; flex-direction: column; overflow: hidden; transition: transform 0.15s, box-shadow 0.15s; }
.list-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.list-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand-900), var(--brand)); position: relative; overflow: hidden; }
.list-thumb .lt-tag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,0.92); color: var(--brand-900); padding: 4px 11px; border-radius: 999px; }
.list-thumb .lt-glyph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,0.85); }
.list-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.list-meta { font-size: 12px; color: var(--ink-500); display: flex; gap: 12px; align-items: center; }
.list-cat { font-size: 11px; font-weight: 700; color: var(--brand); }
.list-body h3 { font-size: 16.5px; font-weight: 700; color: var(--brand-900); line-height: 1.55; }
.list-body p { font-size: 13.5px; color: var(--ink-500); line-height: 1.7; flex: 1; }
.list-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }

.filter-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn { font-family: var(--font-ja); font-size: 13px; font-weight: 700; color: var(--ink-700); background: var(--white); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 18px; cursor: pointer; transition: 0.15s; }
.filter-btn:hover { border-color: var(--brand); }
.filter-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Article / detail body ---------- */
.article-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: start; }
.article-body { font-size: 15.5px; color: var(--ink-700); line-height: 1.95; }
.article-body h2 { font-size: 24px; color: var(--brand-900); margin: 44px 0 18px; padding-top: 8px; }
.article-body h3 { font-size: 19px; color: var(--brand-900); margin: 32px 0 14px; }
.article-body p { margin-bottom: 18px; }
.article-body ul { padding-left: 0; list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.article-body ul li { padding-left: 26px; position: relative; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.article-body blockquote { margin: 24px 0; padding: 18px 24px; background: var(--tint-2); border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; font-size: 15px; color: var(--ink-700); }
.article-body ol { padding-left: 22px; display: grid; gap: 10px; margin-bottom: 22px; }
.article-body ol li { padding-left: 4px; }
.article-body strong { color: var(--brand-900); font-weight: 700; }
.article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.article-summary { background: var(--tint); border: 1px solid var(--brand-line); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 36px; }
.article-summary-label { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; color: var(--brand-600); margin: 0 0 12px; }
.article-summary ul { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 24px; -webkit-overflow-scrolling: touch; }
.article-body table { border-collapse: collapse; width: 100%; font-size: 13.5px; line-height: 1.7; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.article-body table th, .article-body table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body table th { background: var(--tint-2); color: var(--brand-900); font-weight: 700; font-size: 13px; white-space: nowrap; }
.article-body table tr:last-child td { border-bottom: none; }
.article-body table td { color: var(--ink-700); }
.article-body .faq-list { max-width: none; margin: 18px 0 0; }
.article-body h2 + .faq-list { margin-top: 18px; }
.article-aside { position: sticky; top: 90px; display: grid; gap: 20px; }
.toc-card { padding: 22px 24px; }
.toc-card h4 { font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; color: var(--ink-500); margin-bottom: 14px; }
.toc-card ul { list-style: none; display: grid; gap: 9px; }
.toc-card a { font-size: 13px; color: var(--ink-700); font-weight: 500; line-height: 1.5; }
.toc-card a:hover { color: var(--brand); }
.aside-cta { padding: 24px; background: linear-gradient(160deg, var(--brand-900), var(--brand)); color: #fff; }
.aside-cta h4 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.aside-cta p { font-size: 12.5px; color: rgba(255,255,255,0.8); margin-bottom: 16px; line-height: 1.7; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 37px; }
  .feature-row { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-visual { order: 2; }
  .usecase-panel, .diag-band-inner { grid-template-columns: 1fr; gap: 30px; }
  .article-wrap { grid-template-columns: 1fr; gap: 36px; }
  .article-aside { position: static; }
  .discover-grid, .discover-grid.cols-3 { grid-template-columns: 1fr; }
  .split-2col, .split-2col.ratio-l, .split-2col.ratio-r { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  .hero h1 { font-size: 29px; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .form-grid.two { grid-template-columns: 1fr; }
  .final-cta h2 { font-size: 26px; }
  .bar-row { grid-template-columns: 110px 1fr 44px; }
}


/* ---------- 言語切替（i18n） ---------- */
.lang-switch { display:inline-flex; align-items:center; font-size:13px; font-weight:700; color:var(--ink-700); padding:8px 10px; border-radius:8px; text-decoration:none; letter-spacing:0.04em; }
.lang-switch:hover { background:var(--tint); color:var(--brand-900); }
@media (max-width: 980px) { .lang-switch { display:none; } }


/* ---------- 観測対象のAI検索サービス（supported-ai） ---------- */
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ai-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 26px; }
.ai-card-head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.ai-card-logo { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); overflow: hidden; }
.ai-card-logo img { width: 28px; height: 28px; object-fit: contain; }
.ai-card-name { font-size: 16px; font-weight: 700; color: var(--brand-900); line-height: 1.4; }
.ai-card-vendor { font-size: 12.5px; color: var(--ink-500); margin-top: 2px; }
.ai-card-desc { font-size: 14px; color: var(--ink-500); line-height: 1.75; margin-bottom: 16px; }
.ai-card-obs { list-style: none; display: grid; gap: 9px; margin-top: auto; }
.ai-card-obs li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--ink-700); line-height: 1.6; }
.ai-card-obs li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .ai-grid { grid-template-columns: 1fr; } }
