/* =========================================================
   ThinX-Lab. フロントページ — 分析基盤バランス版
   方向性: Anthropic×Linear の余白・知性 ＋ QuickSight×Datadog×Snowflake の情報設計。
   区切りの二層ルール:
     - セクション間 : 罫線なし（背景の面＋余白で区切る）
     - カード/パネル : 極薄枠 1px var(--txl-card-line) で情報をグルーピング（影なし）
   余白統一: --sec-y = 96 / 64 / 48
   背景バンド: 信頼バンド/ナレッジ/プラン = 面(tint)、最終CTA=濃紺
   ========================================================= */

.txl-home { --sec-y: 96px; }
.txl-home .txl-container { max-width: var(--txl-maxw); margin: 0 auto; padding: 0 32px; }
.txl-home .txl-section { padding: var(--sec-y) 0; }
.txl-home h1, .txl-home h2, .txl-home h3 { color: var(--txl-navy); font-weight: 700; letter-spacing: .005em; }
.txl-home .ac { color: var(--txl-accent); }
.txl-home .arw { display: inline-block; transition: transform .18s ease; }
.txl-home a:hover .arw { transform: translateX(4px); }

.txl-home .txl-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--txl-accent-d); text-transform: uppercase; margin-bottom: 16px; }
.txl-home .txl-eyebrow::before { content: none; }

.txl-home .txl-sec-head { margin-bottom: 40px; }
.txl-home .txl-sec-head h2 { font-size: 38px; line-height: 1.35; letter-spacing: -.015em; }
.txl-home .txl-sec-head--center { text-align: center; }
.txl-home .txl-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.txl-home .txl-head-row h2 { font-size: 34px; line-height: 1.35; letter-spacing: -.015em; }
.txl-home .txl-sec-foot { margin-top: 40px; }
.txl-home .txl-status.live .dot { box-shadow: 0 0 0 3px rgba(var(--txl-accent-rgb),.18); }

/* 背景バンド（面で区切る） */
.txl-home .txl-trust,
.txl-home #plans { background: var(--txl-surface-3); }
.txl-home #knowledge { background: var(--txl-surface-2); }

/* 信頼バンドは鮮度表示だけの細帯にしたので、上下余白は最小限にする。 */
.txl-home .txl-trust { padding: 22px 0; border-top: 1px solid var(--txl-card-line); border-bottom: 1px solid var(--txl-card-line); }

/* Hero は主役。上下を特別扱い（やや広め）。次セクションは通常の --sec-y を維持し、
   他セクションと余白リズムを揃える。 */
.txl-home .txl-hero { padding: 100px 0; }

/* ===== 共通：KPIバー（QuickSight/Datadog風・横並び数値） ===== */
.txl-kpibar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #fff; border: 1px solid var(--txl-card-line); border-radius: 12px; overflow: hidden; }
.txl-kpibar__item { padding: 22px 26px; border-left: 1px solid var(--txl-card-line); }
.txl-kpibar__item:first-child { border-left: none; }
.txl-kpibar__item b { display: block; font-size: 34px; font-weight: 600; color: var(--txl-navy); line-height: 1; letter-spacing: -.02em; }
.txl-kpibar__item b .u { font-size: 16px; color: var(--txl-accent-d); margin-left: 1px; }
.txl-kpibar__item span { display: block; font-size: 13px; color: var(--txl-muted); margin-top: 8px; }

/* ===== Hero ===== */
/* ===== Hero — 淡いグラデーション（ミント→ラベンダー→ピンク）。参考: aws.amazon.com/jp/quick/ ===== */
.txl-home .txl-hero--soft { background: var(--txl-grad-hero); }
.txl-hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 72px; align-items: center; }
.txl-hero__title { font-size: 54px; line-height: 1.28; letter-spacing: -.02em; font-weight: 700; }
.txl-hero__lead { color: var(--txl-muted); font-size: 17px; line-height: 1.9; margin: 22px 0 32px; max-width: 30em; }
.txl-hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
/* 右の図版は淡いグラデーションのパネルに載せる（参考サイトの図版枠と同じ扱い）。 */
.txl-hero__visual { background: var(--txl-grad-panel); border-radius: var(--txl-radius-lg); padding: 22px; }
/* Hero 数値パネル＝ダッシュボード風（タイトルバー＋KPIセル＋最新レポート行） */
.txl-herostats { border: 1px solid var(--txl-card-line); border-radius: var(--txl-radius); background: #fff; padding: 16px; box-shadow: 0 6px 24px rgba(22,25,31,.06); }
.txl-herostats__bar { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 14px; }
.txl-herostats__title { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--txl-muted); }
.txl-herostats__live { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--txl-accent-d); }
.txl-herostats__live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--txl-accent); }
.txl-herostats__kpis { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.txl-herostat { border: 1px solid var(--txl-card-line); border-radius: 10px; padding: 16px 14px; }
.txl-herostat b { display: block; font-size: 36px; font-weight: 600; color: var(--txl-navy); line-height: 1; letter-spacing: -.02em; }
/* 数値スロットに和文（「毎週」など）が入る場合。和文はベタ組みで字面が大きく、
   数字用フォントの数字と並ぶと一段太く・大きく見えるため、級数と字間を調整して
   光学的に揃える（ヒーローとAboutで同じ扱いにする）。 */
.txl-herostat b.txl-num--word,
.txl-about__st b.txl-num--word { font-family: var(--txl-font-base); font-size: 26px; font-weight: 600; letter-spacing: .01em; line-height: 1.385; }/* 行高は数字(36px×1)と同じ高さに合わせ、ラベル位置を揃える */
.txl-herostat span { font-size: 12px; color: var(--txl-muted); display: block; margin-top: 8px; }
.txl-herostat__latest { display: block; text-decoration: none; margin-top: 10px; padding: 14px; border: 1px solid var(--txl-card-line); border-radius: 10px; }
.txl-herostat__latest .txl-meta { display: block; margin-bottom: 4px; }
.txl-herostat__title { font-size: 14px; font-weight: 600; color: var(--txl-navy); }
.txl-herostat__latest:hover { border-color: var(--txl-accent); }
.txl-herostat__latest:hover .txl-herostat__title { color: var(--txl-accent-d); }

/* ===== 独自分析レポート：フィーチャー＝ダッシュボードカード ===== */
.txl-feature { border: 1px solid var(--txl-card-line); border-radius: 14px; background: #fff; overflow: hidden; margin-bottom: 48px; }
.txl-feature__head { padding: 30px 32px 26px; }
.txl-feature__top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.txl-feature__title { font-size: 26px; line-height: 1.5; margin-bottom: 14px; }
.txl-feature__title a { color: var(--txl-navy); text-decoration: none; }
.txl-feature__title a:hover { color: var(--txl-accent-d); }
/* フィーチャー内のKPIバーはカードのフッターとして上罫のみ */
.txl-feature .txl-kpibar { border: 0; border-top: 1px solid var(--txl-card-line); border-radius: 0; }

/* レポートカード（枠線を復活） */
.txl-reports { display: grid; gap: 24px; }
.txl-reports--cols-2 { grid-template-columns: repeat(2,1fr); }
.txl-reports--cols-3 { grid-template-columns: repeat(3,1fr); }
.txl-reports--cols-4 { grid-template-columns: repeat(4,1fr); }
.txl-report-card { border: 1px solid var(--txl-card-line); border-radius: 10px; padding: 22px 24px; background: #fff; }
.txl-report-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.txl-report-card__title { font-size: 18px; line-height: 1.55; margin: 0 0 14px; }
.txl-report-card__title a { color: var(--txl-navy); text-decoration: none; }
.txl-report-card__title a:hover { color: var(--txl-accent-d); }

/* ===== 信頼バンド（KPIバー） ===== */
.txl-trust__fresh { display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap; }

/* ===== パチンコ分析ハブ（分析ボックス＝カード） ===== */
.txl-hub { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.txl-hub__col { border: 1px solid var(--txl-card-line); border-radius: 12px; padding: 26px 28px; background: #fff; }
.txl-hub__no { font-size: 13px; font-weight: 700; color: var(--txl-accent-d); letter-spacing: .1em; font-family: var(--txl-font-num); }
.txl-hub__col h3 { font-size: 20px; margin: 10px 0 6px; }
.txl-hub__cnt { font-size: 11px; color: var(--txl-muted); font-family: var(--txl-font-num); letter-spacing: .06em; display: block; margin-bottom: 16px; }

/* ===== ナレッジ（面・テキスト列＝カードにしない／編集的コントラスト） ===== */
.txl-know { display: grid; grid-template-columns: repeat(3,1fr); gap: 56px; }
.txl-know__tag { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--txl-accent-d); font-family: var(--txl-font-num); text-decoration: none; }
.txl-know__desc { font-size: 16px; color: var(--txl-navy); font-weight: 600; line-height: 1.7; margin: 12px 0 14px; }
.txl-know__list { list-style: none; margin: 0; padding: 0; }
.txl-know__list li { font-size: 14px; color: var(--txl-muted); padding: 6px 0; }

/* ===== ダッシュボード（QuickSight風・分析画面の実在感） ===== */
/* 交互2カラムの機能紹介行（参考サイトの構成）。文章側と図版側を左右で入れ替える。 */
.txl-featrow { display: grid; grid-template-columns: .86fr 1.14fr; gap: 72px; align-items: center; }
.txl-featrow--rev { grid-template-columns: 1.14fr .86fr; }
.txl-featrow--rev .txl-featrow__copy { order: 2; }
.txl-featrow--rev .txl-featrow__visual { order: 1; }
.txl-featrow__copy h2 { font-size: 34px; line-height: 1.4; letter-spacing: -.015em; margin: 14px 0 16px; }
.txl-featrow__copy p { color: var(--txl-muted); font-size: 16px; line-height: 1.95; margin-bottom: 22px; max-width: 30em; }
/* 図版は淡いグラデーションのパネルに載せる。 */
.txl-panel-soft { background: var(--txl-grad-panel); border-radius: var(--txl-radius-lg); padding: 26px; }

.txl-dashboard__wrap { display: grid; grid-template-columns: .86fr 1.14fr; gap: 72px; align-items: center; }
.txl-dashboard__copy h2 { font-size: 34px; line-height: 1.4; letter-spacing: -.015em; margin: 14px 0 16px; }
.txl-dashboard__copy p { color: var(--txl-muted); font-size: 16px; line-height: 1.95; margin-bottom: 22px; max-width: 30em; }

.txl-qs { position: relative; border: 1px solid var(--txl-card-line); border-radius: 14px; background: #fff; padding: 16px; overflow: hidden; }
.txl-qs__bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 12px; }
.txl-qs__title { font-size: 12px; font-weight: 700; color: var(--txl-navy); letter-spacing: .02em; }
.txl-qs__tabs { display: inline-flex; gap: 5px; }
.txl-qs__tabs i { width: 18px; height: 5px; border-radius: 3px; background: var(--txl-line); display: inline-block; }
.txl-qs__tabs i:first-child { background: var(--txl-accent); }
.txl-qs__toolbar { display: flex; align-items: center; gap: 6px; padding: 0 2px 12px; flex-wrap: wrap; }
.txl-qs__chip { font-size: 10px; padding: 4px 10px; border: 1px solid var(--txl-card-line); border-radius: 6px; color: var(--txl-muted); background: #fff; }
.txl-qs__chip.is-active { background: var(--txl-navy); color: #fff; border-color: var(--txl-navy); }
.txl-qs__chip--range { margin-left: auto; }
.txl-qs__kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 10px; }
.txl-qs__kpi { background: #fff; border: 1px solid var(--txl-card-line); border-radius: 8px; padding: 10px 12px; }
.txl-qs__kpi small { font-size: 9px; color: var(--txl-muted); letter-spacing: .04em; display: block; }
.txl-qs__kpi b { font-size: 18px; font-weight: 800; color: var(--txl-navy); }
.txl-qs__kpi em { font-size: 10px; font-style: normal; color: var(--txl-muted); }
.txl-qs__kpi em.up { color: var(--txl-accent-d); }
.txl-qs__kpi em.down { color: #b25; }
.txl-qs__row { display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px; margin-bottom: 10px; }
.txl-qs__row:last-of-type { margin-bottom: 0; }
.txl-qs__panel { background: #fff; border: 1px solid var(--txl-card-line); border-radius: 8px; padding: 12px; }
.txl-qs__plabel { font-size: 10px; color: var(--txl-muted); letter-spacing: .04em; display: block; margin-bottom: 8px; }
.txl-qs__panel--line svg { width: 100%; height: 76px; display: block; }
.txl-qs__panel--donut { display: flex; flex-direction: column; align-items: center; }
.txl-qs__panel--donut svg { width: 72px; height: 72px; }
.txl-qs__bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.txl-qs__bars span { flex: 1; background: linear-gradient(180deg, var(--txl-accent), #4B2CD4); border-radius: 2px 2px 0 0; opacity: .85; }
.txl-qs__table { list-style: none; margin: 0; padding: 0; }
.txl-qs__table li { display: flex; justify-content: space-between; font-size: 11px; padding: 5px 0; color: var(--txl-ink); border-top: 1px solid var(--txl-card-line-soft); }
.txl-qs__table li:first-child { border-top: none; }
.txl-qs__table b { color: var(--txl-navy); }
.txl-qs__veil { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; backdrop-filter: blur(2px); -webkit-mask-image: linear-gradient(180deg, transparent, #000 48%); mask-image: linear-gradient(180deg, transparent, #000 48%); background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.74) 66%); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; padding: 20px; font-size: 12px; font-weight: 600; color: var(--txl-navy); }
.txl-qs__veil .lk { font-size: 18px; }

/* ===== プラン（比較パネル＝枠線復活・列/行の極薄区切り） ===== */
.txl-plans { border: 1px solid var(--txl-card-line); border-radius: 14px; overflow: hidden; background: #fff; }
.txl-plans__row { display: grid; grid-template-columns: 1.1fr repeat(5,1fr); align-items: stretch; }
.txl-plans__row + .txl-plans__row { border-top: 1px solid var(--txl-card-line-soft); }
.txl-plans__rowhead { padding: 15px 24px; font-size: 14px; font-weight: 600; color: var(--txl-ink); display: flex; align-items: center; }
.txl-plans__col, .txl-plans__cell { border-left: 1px solid var(--txl-card-line-soft); }
.txl-plans__col { padding: 26px 18px 22px; text-align: center; display: flex; flex-direction: column; }
/* Free（featured）だけを主役に: 強めのアクセント面＋上アクセントライン（面はtintセクションと差別化） */
.txl-plans__col.is-featured, .txl-plans__cell.is-featured { background: var(--txl-tint); }
.txl-plans__col.is-featured { border-top: 3px solid var(--txl-accent); padding-top: 23px; }
.txl-plans__name { font-size: 20px; margin: 0 0 6px; }
.txl-plans__tagline { font-size: 12.5px; color: var(--txl-muted); margin: 0 0 10px; line-height: 1.6; min-height: 2.6em; }
.txl-plans__price { display: flex; align-items: baseline; justify-content: center; gap: 3px; margin: 0 0 2px; flex-wrap: wrap; }
.txl-plans__incl { flex-basis: 100%; text-align: center; font-size: 12px; font-weight: 600; color: var(--txl-navy); white-space: nowrap; }
.txl-plans__amount { font-size: 26px; font-weight: 800; color: var(--txl-navy); letter-spacing: -.01em; white-space: nowrap; }
/* 年額は桁が増えるため「/年（税別）」が折り返しやすい。単位は常に1行に保つ。 */
.txl-plans__per { font-size: 11px; color: var(--txl-muted); white-space: nowrap; }
.txl-plans.is-annual .txl-plans__amount { font-size: 23px; }
/* 「個別見積もり」は文字数が多いため、金額より小さくして列の幅に収める（月額・年額とも同じ大きさ）。 */
.txl-plans__amount--quote, .txl-plans.is-annual .txl-plans__amount--quote { font-size: 21px; }
@media (max-width: 980px) { .txl-plans__amount--quote, .txl-plans.is-annual .txl-plans__amount--quote { font-size: 18px; } }
.txl-plans__annual { font-size: 11px; color: var(--txl-muted); margin: 0; min-height: 1.4em; line-height: 1.4; }
.txl-plans__cta { display: inline-block; }
/* 操作部分：各列の下端に同じ高さの帯を置き、中身の上下中央をそろえる（月額・年額とも）。 */
.txl-plans__act { margin-top: auto; padding-top: 14px; min-height: 52px; display: flex; align-items: center; justify-content: center; }
.txl-plans__act > * { margin: 0; }
.txl-plans .txl-nw { white-space: nowrap; }
.txl-plans__note { font-size: 11px; color: var(--txl-line-2); letter-spacing: .06em; display: block; font-family: var(--txl-font-num); }
.txl-plans__note--on { color: var(--txl-accent-d); }

/* 月額/年額トグル */
.txl-plans-toggle { display: flex; width: max-content; margin: 0 auto 18px; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--txl-card-line); border-radius: 999px; }
.txl-plans-toggle__btn { appearance: none; border: 0; background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--txl-muted); padding: 8px 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.txl-plans-toggle__btn:hover, .txl-plans-toggle__btn:focus { background: var(--txl-tint); color: var(--txl-navy); }
.txl-plans-toggle__btn.is-active, .txl-plans-toggle__btn.is-active:hover, .txl-plans-toggle__btn.is-active:focus { background: var(--txl-navy); color: #fff; }
.txl-plans-toggle__save { font-size: 10px; font-weight: 700; color: var(--txl-accent-d); background: var(--txl-tint); border-radius: 999px; padding: 2px 7px; }
.txl-plans-toggle__btn.is-active .txl-plans-toggle__save { color: var(--txl-navy); background: #fff; }

/* 価格の月額/年額 出し分け（既定=月額・JSが .txl-plans に is-annual を付与） */
.txl-plans__price--annual, .txl-plans__annual--annual { display: none; }
.txl-plans.is-annual .txl-plans__price--monthly { display: none; }
.txl-plans.is-annual .txl-plans__price--annual { display: flex; }
.txl-plans.is-annual .txl-plans__annual--annual { display: block; }

/* 表の下の支払い方法の一行案内と注記（2026-11-01：料金表と左右の端をそろえて左寄せ・固定の改行なし・Pro と Enterprise は段落を分ける）。
   料金表（.txl-plans）の外に置くので、スマホでも表の横スクロールには入らず、画面の幅で折り返す。 */
/* 支払い方法の案内：料金表のすぐ下・中央寄せ。まとまり（.txl-plans__payseg）ごとに折り返す。スマホは詳細のリンクを次の行に。 */
.txl-plans__pay { margin: 14px 0 0; text-align: center; font-size: 13px; line-height: 1.8; color: var(--txl-muted); }
.txl-plans__payseg { display: inline-block; }
@media (max-width: 600px) { .txl-plans__pay .txl-link { display: block; margin: 2px 0 0; } }
.txl-plans__pay strong { color: var(--txl-navy); font-weight: 700; }
.txl-plans__pay .txl-link { margin-left: 6px; font-size: 13px; }

/* 利用中バッジ・決済通知 */
.txl-plans__owned { display: inline-block; font-size: 12px; font-weight: 700; color: var(--txl-accent-d); background: var(--txl-tint); border: 1px solid rgba(var(--txl-accent-rgb),.3); border-radius: 999px; padding: 7px 16px; }
/* 操作部分：5 列とも同じ幅・高さのピル（2026-10-19）。種類は色と枠線で区別する。
   黒地＝申込・アップグレード／白地・黒枠＝お問い合わせ／白地・灰色の枠＝下位への変更／淡い紫＝ご利用中（クリックできない）。 */
.txl-plans__act .txl-plans__ctl { display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; width: 100%; max-width: 156px; height: 40px; padding: 0 12px; font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; border-radius: 999px; text-decoration: none; }
.txl-plans__act .txl-plans__owned { cursor: default; }
.txl-plans__chg { background: #fff; color: var(--txl-ink); border-color: var(--txl-line-2); }
.txl-plans__chg:hover, .txl-plans__chg:focus { background: var(--txl-tint); color: var(--txl-ink); border-color: var(--txl-ink); }
.txl-plans__alert { max-width: 720px; margin: 0 auto 18px; text-align: center; font-size: 13px; color: #b4452b; background: #fbeeea; border: 1px solid rgba(180,69,43,.25); border-radius: 10px; padding: 10px 14px; }
.txl-plans__cell { padding: 15px 18px; text-align: center; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.txl-yes { color: var(--txl-accent-d); font-weight: 800; }
/* 非提供は「–」ダッシュ・スレートグレー（○と同等の視認性・赤を使わない上品な表現） */
.txl-no { color: #8A94A3; font-weight: 700; font-size: 18px; line-height: 1; }

/* ===== About ===== */
.txl-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.txl-about__grid h2 { font-size: 27px; line-height: 1.6; }
.txl-about__lead { color: var(--txl-muted); font-size: 15px; line-height: 1.85; margin-top: 14px; max-width: 30em; }
.txl-about__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 1px solid var(--txl-card-line); border-radius: 12px; overflow: hidden; }
.txl-about__st { padding: 26px 24px; border-left: 1px solid var(--txl-card-line); }
.txl-about__st:first-child { border-left: none; }
/* 数値はヒーローのサマリー指標（.txl-herostat b）と同じ級数・太さに揃える
   （「毎週」のような和文が入ると 800 では太く見えすぎるため）。 */
.txl-about__st b { display: block; font-size: 36px; font-weight: 600; color: var(--txl-navy); line-height: 1; letter-spacing: -.02em; }
.txl-about__st small { font-size: 12px; color: var(--txl-muted); display: block; margin-top: 10px; }

/* ===== AI分析（Vertical AI / 濃色面） =====
   この面のタイポグラフィは図解（.txl-flow）に揃える。
     ラベル 11px/700/字間.14em・ラベンダー ／ 見出し 15px/700・白 ／ 本文 13px・白82%
     箱 = 塗り rgba(255,255,255,.05)／枠 rgba(255,255,255,.16)／角丸14px
   図解はSVGのため、器が広いほど文字も一緒に拡大されHTML側と大きさがズレる。
   そこでこのセクションだけ器を 1040px（＝横組みSVGのviewBox幅）に絞り、
   図解と下段パネルのフォントサイズが実寸で一致するようにする。 */
.txl-ai { background: var(--txl-dark); color: rgba(255,255,255,.82); }
.txl-home .txl-ai .txl-container { max-width: 1104px; } /* 1040 + 左右padding32 */
.txl-ai .txl-eyebrow { color: var(--txl-accent-l); }
.txl-ai__head { max-width: 760px; margin-bottom: 40px; }
.txl-ai__head h2 { color: #fff; font-size: 32px; line-height: 1.45; letter-spacing: -.01em; }
.txl-ai .txl-flow { margin: 0 0 28px; }

/* 面（図解の箱と同じ塗り・枠・角丸） */
.txl-ai__panel,
.txl-ai__card,
.txl-ai__a,
.txl-ai__srcgroup,
.txl-ai__input,
.txl-ai__statement {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
}
.txl-ai__panel { padding: 18px; display: flex; flex-direction: column; }

/* ラベル（図解の cap と同じ） */
.txl-ai__panel-title,
.txl-ai__panel-live,
.txl-ai__srclabel,
.txl-ai__a-label,
.txl-ai__ctag {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--txl-accent-l);
  /* ブランド表記（ThinX-Lab.）を含むため大文字化はしない。 */
  text-transform: none;
}
.txl-ai__panel-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 2px 12px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 16px;
}
.txl-ai__panel-live { display: inline-flex; align-items: center; gap: 6px; }
.txl-ai__panel-live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--txl-accent-l); }

/* 見出し・本文（図解の h2 / t と同じ） */
.txl-ai__merge { font-size: 15px; font-weight: 700; color: #fff; margin: 16px 0 6px; }
.txl-ai__answer,
.txl-ai__a p,
.txl-ai__card p,
.txl-ai__input-text,
.txl-ai__srclink { font-size: 13px; line-height: 1.85; color: rgba(255,255,255,.82); }
/* 2枚のパネルは同じ高さに揃える（align-items は既定の stretch）。
   余った高さは、左パネルはデータソースの箱（＝中身の面）を伸ばして吸収し、
   右パネルは入力欄を下端に寄せて吸収する。▼から結びまでの間隔は設計値のまま。 */
.txl-ai__panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.txl-ai__chat .txl-ai__input { margin-top: auto; }

/* データソース横断分析パネル */
.txl-ai__assets { text-align: center; }
.txl-ai__srcgrid { display: grid; gap: 12px; flex: 1 1 auto; grid-template-rows: 1fr 1fr; }
.txl-ai__srcgroup { padding: 14px; text-align: left; display: flex; flex-direction: column; justify-content: center; }
.txl-ai__srclabel { display: block; margin-bottom: 10px; }
.txl-ai__srcrow { display: flex; flex-wrap: wrap; gap: 8px; }
.txl-ai__src,
.txl-ai__q {
  font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; padding: 9px 14px;
}
.txl-ai__src--web { border-style: dashed; border-color: rgba(var(--txl-accent-l-rgb),.45); color: var(--txl-accent-l); background: rgba(var(--txl-accent-l-rgb),.10); }
.txl-ai__merge::before { content: "▼"; display: block; font-size: 10px; color: rgba(255,255,255,.35); margin-bottom: 10px; }
.txl-ai__answer { color: rgba(255,255,255,.7); }

/* チャット分析パネル */
.txl-ai__a { padding: 16px 18px; }
.txl-ai__a p { margin: 8px 0 14px; }
.txl-ai__a-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.txl-ai__bars { display: inline-flex; align-items: flex-end; gap: 4px; height: 28px; }
.txl-ai__bars i { width: 8px; background: var(--txl-accent-l); border-radius: 2px 2px 0 0; opacity: .8; display: inline-block; }
.txl-ai__srclink { color: var(--txl-accent-l); text-decoration: none; font-weight: 600; }
.txl-ai__srclink:hover { color: #fff; }
.txl-ai__qs { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.txl-ai__q { border-radius: 999px; font-weight: 500; color: rgba(255,255,255,.85); }
.txl-ai__input { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; }
.txl-ai__input-text { flex: 1; color: rgba(255,255,255,.5); text-align: left; }
.txl-ai__send { flex: 0 0 auto; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--txl-accent); color: #fff; font-size: 15px; font-weight: 700; }

/* ステートメント（図解の「根拠つきの答えを返す」＝強調の箱と同じ扱い） */
.txl-ai__statement {
  background: rgba(var(--txl-accent-l-rgb),.14); border-color: rgba(var(--txl-accent-l-rgb),.55);
  padding: 22px 26px; margin-bottom: 28px; text-align: center;
  font-size: 17px; font-weight: 700; line-height: 1.9; color: #fff;
}
.txl-ai__statement .ac { color: var(--txl-accent-l); }

/* AIエージェント／コンテキスト記憶 */
.txl-ai__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.txl-ai__card { padding: 20px 22px; }
.txl-ai__ctag { display: block; margin-bottom: 12px; }
.txl-ai__card p { margin: 0; }
.txl-ai__cta { text-align: center; }

/* ===== 最終CTA（フッターへ連続） ===== */
.txl-final { background: var(--txl-grad-band); color: #fff; text-align: center; padding: var(--sec-y) 0; }
/* 最終CTAはブランド名（Join ThinX-Lab.）を表示するため大文字化しない（字間も詰める）。 */
.txl-final .txl-eyebrow { color: var(--txl-accent-l); text-transform: none; letter-spacing: .04em; }
.txl-final h2 { color: #fff; font-size: 34px; margin-bottom: 30px; letter-spacing: -.01em; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .txl-home { --sec-y: 64px; }
  .txl-home .txl-container { padding: 0 22px; }
  .txl-home .txl-hero { padding: 64px 0; }
  .txl-home .txl-trust { padding: 18px 0; }
  .txl-hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .txl-hero__title { font-size: 35px; }
  .txl-herostats__kpis { gap: 8px; }
  .txl-herostat b { font-size: 38px; }
  .txl-kpibar { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; }
  .txl-kpibar__item { border-left: none; }
  .txl-kpibar__item:nth-child(odd) { border-right: 1px solid var(--txl-card-line); }
  .txl-kpibar__item:nth-child(n+3) { border-top: 1px solid var(--txl-card-line); }
  .txl-reports--cols-3, .txl-reports--cols-2, .txl-reports--cols-4 { grid-template-columns: 1fr; gap: 16px; }
  .txl-hub { grid-template-columns: 1fr; gap: 16px; }
  .txl-know { grid-template-columns: 1fr; gap: 36px; }
  .txl-dashboard__wrap { grid-template-columns: 1fr; gap: 40px; }
  .txl-ai__panels, .txl-ai__grid2 { grid-template-columns: 1fr; gap: 16px; }
  .txl-ai__statement { font-size: 16px; padding: 20px 22px; }
  .txl-about__grid { grid-template-columns: 1fr; gap: 32px; }
  .txl-about__stats { grid-template-columns: 1fr 1fr 1fr; }
  .txl-plans { overflow-x: auto; }
  .txl-plans__row { grid-template-columns: 116px repeat(5,minmax(136px,1fr)); min-width: 796px; }
  /* 操作部分：列の幅（約 136px）に「アップグレード →」が 1 行で収まるよう、余白と文字を詰める。 */
  .txl-plans__col { padding-left: 10px; padding-right: 10px; }
  .txl-plans__act .txl-plans__ctl { font-size: 12px; padding: 0 6px; gap: 4px; }
}
/* 中間の幅（981〜1199px）：列が狭くなるため、ボタンの余白と文字を少し詰める。 */
@media (min-width: 981px) and (max-width: 1199px) {
  .txl-plans__col { padding-left: 14px; padding-right: 14px; }
  .txl-plans__act .txl-plans__ctl { padding: 0 8px; }
}
@media (max-width: 560px) {
  .txl-home { --sec-y: 48px; }
  .txl-hero__title { font-size: 29px; }
  .txl-herostats__kpis { grid-template-columns: 1fr 1fr; }
  .txl-about__stats { grid-template-columns: 1fr; }
  .txl-about__st { border-left: none; border-top: 1px solid var(--txl-card-line); }
  .txl-about__st:first-child { border-top: none; }
  .txl-ai__panel { padding: 14px; }
  .txl-ai__card { padding: 18px; }
}

/* =========================================================
   Hero — 淡いグラデーション面の前景指定
   ・背景は .txl-hero--soft（tokens の --txl-grad-hero）。
   ・文字はインク色のまま。強調だけをアクセント紫にする。
   ========================================================= */
.txl-home .txl-hero--soft { position: relative; }
.txl-hero--soft .txl-container { position: relative; z-index: 2; }
.txl-hero--soft .txl-hero__title { color: var(--txl-ink); }
.txl-hero--soft .ac { color: var(--txl-accent-d); }
.txl-hero--soft .txl-hero__lead { color: var(--txl-muted); }
.txl-link--light { color: rgba(255,255,255,.82); }
.txl-link--light:hover { color: var(--txl-accent-l); }

/* フェードアップ（コピー＆数値パネル） */
.txl-hero--soft .txl-hero__copy { animation: txlHeroUp .8s cubic-bezier(.2,.7,.2,1) both; }
.txl-hero--soft .txl-hero__visual { animation: txlHeroUp .8s cubic-bezier(.2,.7,.2,1) .12s both; }
@keyframes txlHeroUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .txl-hero--soft .txl-hero__copy,
  .txl-hero--soft .txl-hero__visual { animation: none !important; }
}

/* ===== 最終CTA（紫→マゼンタのグラデーション帯）の前景 =====
   帯の上ではラベンダーだと沈むため、文字は白、ボタンは白ピル＋濃文字にする
   （参考サイトのバナーと同じ扱い）。 */
.txl-final .txl-eyebrow { color: rgba(255,255,255,.82); }
.txl-final h2 { color: #fff; }
.txl-final .txl-btn--accent { background: #fff; color: var(--txl-ink); }
.txl-final .txl-btn--accent:hover,
.txl-final .txl-btn--accent:focus { background: var(--txl-ink); color: #fff; }

/* =========================================================
   構造図（一次データ → 分析 → レポート／ダッシュボード／AI）
   インラインSVG。色はトークン参照、横組み／縦組みを幅で切り替える。
   ========================================================= */
.txl-flow { margin: 0; }
.txl-flow__svg { display: block; width: 100%; height: auto; }
.txl-flow__svg--narrow { display: none; }
.txl-flow text { font-family: var(--txl-font-base); }
.txl-flow .txl-flow__cap {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  fill: var(--txl-accent-d);
}
.txl-flow .txl-flow__cap--on { fill: rgba(255,255,255,.82); }
.txl-flow .txl-flow__h  { font-size: 17px; font-weight: 700; fill: var(--txl-ink); }
.txl-flow .txl-flow__h--on { fill: #fff; }
.txl-flow .txl-flow__h2 { font-size: 15px; font-weight: 700; fill: var(--txl-ink); }
.txl-flow .txl-flow__t  { font-size: 12.5px; fill: var(--txl-muted); }
.txl-flow .txl-flow__t--on  { fill: rgba(255,255,255,.9); }
.txl-flow .txl-flow__t--sub { fill: var(--txl-faint); }
.txl-flow__cap-text {
  margin-top: 18px; font-size: 13px; line-height: 1.9; color: var(--txl-muted); text-align: center;
}
@media (max-width: 760px) {
  .txl-flow__svg--wide { display: none; }
  .txl-flow__svg--narrow { display: block; }
  .txl-flow .txl-flow__h  { font-size: 16px; }
  .txl-flow .txl-flow__t  { font-size: 12px; }
  .txl-flow__cap-text { text-align: left; }
}

/* 図解の共通ボックス（塗りをCSS側で持ち、明暗2種の面に対応させる） */
.txl-flow .txl-flow__box { fill: #fff; stroke: var(--txl-line); }
.txl-flow .txl-flow__box--tint { fill: var(--txl-tint); stroke: var(--txl-line); }

/* 濃色セクションに載せる図解 */
.txl-flow--on-dark .txl-flow__box { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.16); }
.txl-flow--on-dark .txl-flow__box--tint { fill: rgba(var(--txl-accent-l-rgb),.12); stroke: rgba(var(--txl-accent-l-rgb),.45); }
.txl-flow--on-dark .txl-flow__box--dim { fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.10); }
.txl-flow--on-dark .txl-flow__box--strong { fill: rgba(var(--txl-accent-l-rgb),.14); stroke: rgba(var(--txl-accent-l-rgb),.55); }
.txl-flow--on-dark .txl-flow__cap { fill: var(--txl-accent-l); }
.txl-flow--on-dark .txl-flow__h,
.txl-flow--on-dark .txl-flow__h2 { fill: #fff; }
.txl-flow--on-dark .txl-flow__t { fill: rgba(255,255,255,.82); }
.txl-flow--on-dark .txl-flow__h2--dim { fill: rgba(255,255,255,.62); }
.txl-flow--on-dark .txl-flow__t--dim { fill: rgba(255,255,255,.45); }
.txl-flow--on-dark .txl-flow__cap-text { color: rgba(255,255,255,.6); }
.txl-flow .txl-flow__h2--on { fill: #fff; }

/* 無料で読めるレポート（無料会員への導線） */
.txl-home .txl-freesec { background: var(--txl-surface-3); }
/* 無料レポートは本数が少ないので、カードを余白に合わせて広げる。 */
.txl-freesec .txl-rgrid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.txl-freecta {
  margin-top: 36px; background: var(--txl-grad-band); border-radius: var(--txl-radius-lg);
  padding: 26px 30px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px 28px; flex-wrap: wrap;
}
.txl-freecta__title { font-size: 19px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.txl-freecta__desc { font-size: 14px; color: rgba(255,255,255,.82); margin: 0; line-height: 1.8; }
.txl-freecta .txl-btn--accent { background: #fff; color: var(--txl-ink); flex: 0 0 auto; }
.txl-freecta .txl-btn--accent:hover,
.txl-freecta .txl-btn--accent:focus { background: var(--txl-ink); color: #fff; }
@media (max-width: 560px) {
  .txl-freecta { padding: 22px; }
  .txl-freecta .txl-btn { width: 100%; }
}

/* スマートフォンでは見出しを一段落とす（1文字だけ折り返すのを防ぐ） */
@media (max-width: 560px) {
  .txl-home .txl-sec-head h2 { font-size: 26px; line-height: 1.45; text-wrap: balance; }
  .txl-home .txl-head-row h2 { font-size: 24px; line-height: 1.45; text-wrap: balance; }
  .txl-ai__head h2 { font-size: 24px; line-height: 1.5; }
}

/* ダッシュボードのモックは中身が横並びのため、狭い画面では段組みを解く
   （パネルごと横にはみ出していたのを解消する）。 */
@media (max-width: 760px) {
  .txl-dashboard__wrap .txl-panel-soft { padding: 14px; }
  .txl-qs { padding: 12px; }
  .txl-qs__kpis { grid-template-columns: 1fr 1fr; }
  .txl-qs__row { grid-template-columns: 1fr; }
  .txl-qs__toolbar { row-gap: 6px; }
  .txl-qs__chip--range { margin-left: 0; }
  .txl-hero__visual { padding: 14px; }
}
@media (max-width: 560px) {
  .txl-qs__kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .txl-qs__kpi { padding: 8px 10px; }
}

/* 図解のテキストは y を「視覚的な中心」として扱う（箱の中で必ず縦中央に載る）。 */
.txl-flow text { dominant-baseline: middle; }
.txl-flow .txl-flow__chip { fill: #fff; stroke: var(--txl-line); }

/* スマホの料金表：税込の行は列の幅で折り返す（2026-10-18 税別／税込の併記）。 */
@media (max-width: 600px) {
  .txl-plans__incl { white-space: normal; font-size: 11px; line-height: 1.5; }
  /* スマホ：ボタンの文字をさらに小さくし、矢印は省く（2026-10-18 了承済み）。 */
  .txl-plans__act .txl-plans__ctl { height: 36px; font-size: 12px; padding: 0 6px; }
  .txl-plans__act .txl-plans__ctl .arw { display: none; } /* 列が狭いため矢印は省き、文言を 1 行に収める。 */
  .txl-plans__act .txl-link { font-size: 12.5px; line-height: 1.5; }
  .txl-plans__owned { padding: 6px 12px; }
}

/* Pro プランの 14 日間無料体験（2026-10-30・2026-11-01 デザイン修正：目印とボタンは列から外し、表の下の枠に置く）。
   枠は料金表と同じ幅・白地・はっきりした枠線。本文は読みやすい幅にとどめる。 */
.txl-plans__trialnote { margin: 24px 0 0; padding: 22px 28px; background: #fff; border: 1px solid rgba(var(--txl-accent-rgb), .45); border-radius: 14px; font-size: 13px; line-height: 1.9; }
.txl-plans__trialhead { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--txl-card-line); }
.txl-plans__trialtitle { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.txl-plans__trialh { margin: 0; font-size: 18px; line-height: 1.5; color: var(--txl-navy); }
.txl-plans__trialbadge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--txl-accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.txl-plans__trialcta { display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap; justify-content: flex-end; }
.txl-plans__trialcta .txl-plans__triallink { white-space: nowrap; }
.txl-plans__triallink--sub { font-size: 12.5px; color: var(--txl-muted); }
.txl-plans__trialnow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--txl-accent-d); background: var(--txl-tint); border: 1px solid rgba(var(--txl-accent-rgb), .3); border-radius: 999px; padding: 6px 16px; }
.txl-plans__trialbody { max-width: 820px; } /* PDF の注記が PC で 1 行に収まる幅（2026-11-01）。スマホは画面の幅で折り返す。 */
.txl-plans__trialbody p { margin: 0 0 6px; }
.txl-plans__trialflow { font-weight: 700; color: var(--txl-navy); }
.txl-plans__trialsmall { font-size: 12px; color: var(--txl-muted); margin: 0; }
@media (max-width: 600px) {
  .txl-plans__trialnote { padding: 18px 16px; }
  .txl-plans__trialhead { flex-direction: column; align-items: stretch; }
  .txl-plans__trialh { font-size: 16px; }
  .txl-plans__trialcta { flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .txl-plans__trialcta .txl-plans__triallink { justify-content: center; width: 100%; box-sizing: border-box; white-space: normal; text-align: center; }
  .txl-plans__trialcta .txl-plans__triallink--sub { text-align: center; }
}

/* 数値の単位（「1,612機種」の「機種」）と期間の補足（2026-11-10）。
   数字より小さく、同じ色で添える。親の span／small の規則（block・余白）を受けないよう i を使う。 */
.txl-stat-unit { font-style: normal; font-size: .4em; font-weight: 600; letter-spacing: 0; margin-left: 3px; font-family: var(--txl-font-base); }
.txl-herostat .txl-stat-note,
.txl-about__st .txl-stat-note { font-size: 11px; margin-top: 2px; opacity: .85; }
.txl-herostat b, .txl-about__st b { white-space: nowrap; } /* 単位を数字と同じ行に保つ */
.txl-qs__kpi .txl-stat-unit { font-size: 10px; margin-right: 4px; } /* 見本の画面は数字が小さいので単位は実寸で */
.txl-qs__kpi small { white-space: nowrap; letter-spacing: 0; } /* 「対象機種(P・S計)」を狭い幅でも1行に（4枚並びの 981〜1199px 付近） */
@media (max-width: 560px) {
  .txl-herostat b:not(.txl-num--word) { font-size: 30px; } /* 2列の狭いカードで「1,612機種」を1行に収める */
}
