@import url('https://fonts.googleapis.com/css2?family=LINE+Seed+JP:wght@100;400;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');
    :root {
      /* 計装パネル・デザインシステム v1.0 への移行済みトークン */
      --color-main: #10151C;      /* 旧#1A3C6E → ink-900 */
      --color-accent: #4FB8C4;    /* ハブの基礎カラー（最初期から一貫）。DQS側の色を動かして重複を解消 */
      --color-warm: #E8964A;      /* signal-warm（実行系アクセント） */
      --color-bg: #F7F5EF;        /* 旧#F8FAFC → paper */
      --color-text: #1B2430;      /* 旧#1E293B → ink-text */
      --color-text-light: #8A93A0;/* 旧#64748B → ink-text-soft */
      --color-white: #FFFFFF;
      --color-border: #E2E8F0;
      --ink-900: #10151C;
      --ink-800: #161D26;
      --ink-700: #1C232D;
      --line-mid: rgba(255,255,255,.12);
      --line-faint: rgba(255,255,255,.06);
      color-scheme: light;
    }
    .section-subtitle, .hero-subtitle, .progress-label, .choice-key { font-family:"JetBrains Mono",monospace; }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; overflow-x: hidden; }
    body { font-family: "LINE Seed JP", sans-serif; background: var(--color-bg); color: var(--color-text); line-height: 1.7; overflow-x: hidden; max-width: 100vw; }
    img, svg { max-width: 100%; height: auto; display: block; }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }

    .section-subtitle { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--color-accent); text-transform: uppercase; margin-bottom: 10px; }
    .section-title { font-size: clamp(22px,3vw,32px); font-weight: 700; color: var(--color-main); line-height: 1.4; margin-bottom: 16px; }
    .section { padding: 80px 0; }
    .container { max-width: 1240px; margin: 0 auto; padding: 0 24px; width: 100%; }
    .section-header { text-align: center; margin-bottom: 56px; }
    .text-center { text-align: center; }

    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 6px; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s; border: 2px solid transparent; text-decoration: none; }
    .btn-primary { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
    .btn-primary:hover { background: #0097b8; border-color: #0097b8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
    .btn-secondary { background: transparent; color: #fff; border-color: #fff; }
    .btn-secondary:hover { background: #fff; color: var(--color-main); }
    .btn-outline { background: transparent; color: var(--color-main); border-color: var(--color-main); }
    .btn-outline:hover { background: var(--color-main); color: #fff; }
    .btn-dark { background: var(--color-main); color: #fff; border-color: var(--color-main); }
    .btn-dark:hover { background: #142f58; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
    .btn-sm { padding: 10px 20px; font-size: 13px; }
    .btn-lg { padding: 18px 40px; font-size: 16px; }

    /* HEADER */
    #site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-border); transition: background .3s, box-shadow .3s; }
    #site-header.scrolled { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
    .header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
    .header-logo img { height: 26px; width: auto; }
    .header-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
    .header-nav a { font-size: 13px; font-weight: 600; color: var(--color-text); transition: color .2s; }
    .header-nav a:hover { color: var(--color-accent); }
    .header-cta { display: flex; align-items: center; gap: 10px; margin-left: 16px; }
    .header-cta .btn { padding: 10px 18px; font-size: 13px; }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; margin-left: auto; background: none; border: none; }
    .hamburger span { display: block; width: 24px; height: 2px; background: var(--color-main); transition: all .3s; border-radius: 2px; }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border); padding: 20px 24px; z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
    .mobile-menu.open { display: block; }
    .mobile-menu a { display: block; padding: 14px 0; font-size: 15px; font-weight: 600; color: var(--color-text);}
    .mobile-menu a:last-of-type { border-bottom: none; }

    /* HERO — 計装パネル・コンセプト */
    #section-hero { background: var(--ink-900); padding: 140px 0 100px; position: relative; overflow: hidden; width: 100%; max-width: 100vw; }
    #section-hero::before, #section-hero::after { content:''; position:absolute; inset:0; pointer-events:none; }
    #section-hero::before { background-image:
        repeating-linear-gradient(90deg, var(--line-faint) 0 1px, transparent 1px 64px),
        repeating-linear-gradient(0deg, var(--line-faint) 0 1px, transparent 1px 64px); }
    #section-hero::after { background-image:
        repeating-linear-gradient(90deg, var(--line-mid) 0 1px, transparent 1px 320px),
        repeating-linear-gradient(0deg, var(--line-mid) 0 1px, transparent 1px 320px); }
    .hero-inner { position: relative; z-index: 1; max-width: 860px; width:100%; }
    .cal-ruler { display:flex; align-items:center; margin-bottom:32px; opacity:.55; font-family:"JetBrains Mono",monospace; font-size:10px; color:var(--color-text-light); letter-spacing:.04em; user-select:none; }
    .cal-ruler .tick { position:relative; width:34px; flex-shrink:0; text-align:center; }
    .cal-ruler .tick::before { content:''; position:absolute; left:50%; top:-8px; width:1px; height:6px; background:var(--color-text-light); }
    .cal-ruler .tick.major::before { height:10px; top:-12px; background:var(--color-accent); }
    .cal-ruler .tick.major { color:var(--color-accent); font-weight:600; }
    .cal-ruler .rule-line { flex:1; height:1px; background:var(--line-mid); margin-left:8px; }
    .hero-subtitle { display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:500; letter-spacing:.12em; color:var(--color-accent); text-transform:uppercase; margin-bottom:20px; background:rgba(79,184,196,.08); padding:7px 14px 7px 10px; border-radius:3px; border:1px solid rgba(79,184,196,.35); max-width:100%; white-space:normal; word-break:break-word; }
    .hero-subtitle .dot { width:6px; height:6px; border-radius:50%; background:var(--color-warm); flex-shrink:0; box-shadow:0 0 0 3px rgba(232,150,74,.18); }
    .hero-title { font-size:clamp(22px,3.8vw,46px); font-weight:700; color:#fff; line-height:1.4; margin-bottom:24px; word-break:break-word; overflow-wrap:anywhere; letter-spacing:-.01em; }
    .hero-title .accent { color:var(--color-accent); }
    .hero-lead { font-size:clamp(13px,1.5vw,16px); color:rgba(255,255,255,.82); line-height:1.85; margin-bottom:40px; max-width:680px; word-break:break-word; overflow-wrap:anywhere; }
    .hero-btns { display:flex; flex-wrap:wrap; gap:16px; margin-bottom:56px; }

    /* HERO — チャットのライブプレビュー（計装パネル外枠＋実物チャットカード） */
    .hero-signal-panel { position:relative; border:1px solid var(--line-mid); border-radius:6px; background:var(--ink-800); overflow:hidden; max-width:640px; }
    .hero-signal-head { display:flex; align-items:center; justify-content:space-between; padding:14px 20px; border-bottom:1px solid var(--line-mid); font-family:"JetBrains Mono",monospace; font-size:11px; color:var(--color-text-light); letter-spacing:.04em; }
    .hero-signal-head .rec { display:inline-flex; align-items:center; gap:7px; color:var(--color-accent); }
    .hero-signal-head .rec::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--color-accent); box-shadow:0 0 0 3px rgba(79,184,196,.18); }
    .hero-chat-pad { padding:18px; }
    .hero-chat-card { background:#F8FAFC; border-radius:14px; overflow:hidden; box-shadow:0 20px 50px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.2); }
    .hero-chat-header { background:linear-gradient(135deg, var(--ink-900), #1E3A52); padding:16px 20px; display:flex; align-items:center; gap:12px; }
    .hero-chat-avatar { width:34px; height:34px; border-radius:50%; background:var(--color-accent); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
    .hero-chat-avatar i { color:var(--ink-900); font-size:14px; }
    .hero-chat-title { flex:1; }
    .hero-chat-name { font-size:13px; font-weight:700; color:#fff; }
    .hero-chat-status { font-size:11px; color:rgba(255,255,255,.7); display:flex; align-items:center; gap:5px; margin-top:2px; }
    .hero-chat-status::before { content:''; width:6px; height:6px; border-radius:50%; background:#4ade80; display:inline-block; }
    .hero-chat-window { padding:20px; height:220px; overflow-y:auto; }
    .hero-chat-row { display:flex; gap:9px; margin-bottom:14px; align-items:flex-end; }
    .hero-chat-row.me { flex-direction:row-reverse; }
    .hero-chat-bubble-av { width:28px; height:28px; border-radius:50%; background:var(--ink-900); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
    .hero-chat-bubble-av i { font-size:11px; color:var(--color-accent); }
    .hero-chat-row.me .hero-chat-bubble-av { background:#CBD5E1; }
    .hero-chat-row.me .hero-chat-bubble-av i { color:#fff; }
    .hero-chat-bubble { background:#fff; border-radius:16px 16px 16px 4px; padding:12px 16px; font-size:13.5px; color:var(--color-text); line-height:1.7; max-width:80%; box-shadow:0 1px 4px rgba(0,0,0,.08); }
    .hero-chat-row.me .hero-chat-bubble { background:var(--ink-900); color:#fff; border-radius:16px 16px 4px 16px; }
    .hero-chat-opts { display:flex; flex-direction:column; gap:8px; margin:0 0 4px 37px; }
    .hero-chat-opt-btn { background:#fff; border:1.5px solid #E2E8F0; border-radius:10px; padding:11px 15px; font-family:"LINE Seed JP",sans-serif; font-size:12.5px; font-weight:700; color:var(--ink-900); text-align:left; cursor:pointer; transition:all .15s; }
    .hero-chat-opt-btn:hover { border-color:var(--color-accent); background:#EEF9FA; }
    .hero-chat-note { font-size:12px; color:rgba(255,255,255,.5); margin-top:16px; font-family:"JetBrains Mono",monospace; }

    /* HERO — 5ソリューション計器盤ダイヤル */
    .hero-dial-panel { position:relative; border:1px solid var(--line-mid); border-radius:6px; background:var(--ink-800); overflow:hidden; max-width:760px; }
    .hero-dial-head { display:flex; align-items:center; justify-content:space-between; padding:14px 20px; border-bottom:1px solid var(--line-mid); font-family:"JetBrains Mono",monospace; font-size:11px; color:var(--color-text-light); letter-spacing:.04em; }
    .hero-dial-head .rec { display:inline-flex; align-items:center; gap:7px; color:var(--color-accent); }
    .hero-dial-head .rec::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--color-accent); box-shadow:0 0 0 3px rgba(79,184,196,.18); }
    .hero-dial-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:0; }
    .hero-dial-item { padding:22px 10px 18px; text-align:center; border-right:1px solid var(--line-faint); cursor:pointer; background:none; border-top:none; border-bottom:none; border-left:none; transition:background .2s; }
    .hero-dial-item:last-child { border-right:none; }
    .hero-dial-item:hover { background:rgba(255,255,255,.03); }
    .hero-dial-svg { width:76px; height:76px; margin:0 auto 10px; position:relative; }
    .hero-dial-svg svg { width:100%; height:100%; transform:rotate(-90deg); }
    .hero-dial-track { fill:none; stroke:var(--line-mid); stroke-width:6; }
    .hero-dial-fill { fill:none; stroke-width:6; stroke-linecap:round; stroke-dasharray:220; stroke-dashoffset:220; transition:stroke-dashoffset 1.4s cubic-bezier(.22,.9,.34,1); }
    .hero-dial-pct { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-family:"JetBrains Mono",monospace; font-size:13px; font-weight:600; color:#fff; }
    .hero-dial-label { font-family:"JetBrains Mono",monospace; font-size:9.5px; letter-spacing:.03em; color:var(--color-text-light); margin-bottom:4px; }
    .hero-dial-name { font-size:12.5px; font-weight:700; color:#fff; line-height:1.4; }
    .hero-dial-cat { font-size:10.5px; color:rgba(255,255,255,.5); margin-top:2px; line-height:1.4; }
    @media (max-width:820px){
      .hero-dial-grid { grid-template-columns:repeat(3,1fr); }
      .hero-dial-item:nth-child(3){ border-right:none; }
      .hero-dial-item { border-bottom:1px solid var(--line-faint); }
    }
    @media (max-width:520px){
      .hero-dial-grid { grid-template-columns:repeat(2,1fr); }
      .hero-dial-item:nth-child(2n){ border-right:none; }
    }

    /* HERO PC：ダイヤルパネルを右カラムに配置（1101px以上のみ。タブレット・スマホは従来の縦積み） */
    @media (min-width:1101px){
      .hero-inner { max-width:none; display:grid; grid-template-columns:minmax(0,1fr) 440px; column-gap:56px; align-items:center; }
      .hero-copy { min-width:0; }
      .hero-copy .hero-btns { margin-bottom:0; }
      .hero-visual .hero-dial-panel { max-width:none; }
      /* 右カラム幅に合わせ、5項目を上段3つ・下段2つで配置 */
      .hero-visual .hero-dial-grid { grid-template-columns:repeat(6,1fr); }
      .hero-visual .hero-dial-item { grid-column:span 2; }
      .hero-visual .hero-dial-item:nth-child(n+4) { grid-column:span 3; }
      .hero-visual .hero-dial-item:nth-child(-n+3) { border-bottom:1px solid var(--line-faint); }
      .hero-visual .hero-dial-item:nth-child(3) { border-right:none; }
    }

    /* PROBLEM */
    #section-problem { background: #fff; }
    .problem-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
    .problem-card { background:var(--color-bg); border:2px solid var(--color-border); border-radius:12px; padding:32px 28px; cursor:pointer; transition:all .25s; position:relative; overflow:hidden; }
    .problem-card::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background:var(--color-accent); transform:scaleX(0); transition:transform .3s; }
    .problem-card:hover { border-color:var(--color-accent); box-shadow:0 8px 24px rgba(0,0,0,.12); transform:translateY(-4px); }
    .problem-card:hover::before { transform:scaleX(1); }
    .problem-card-icon { width:48px; height:48px; border-radius:10px; background:var(--color-main); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
    .problem-card-icon i { color:var(--color-accent); font-size:20px; }
    .problem-card-text { font-size:16px; font-weight:700; color:var(--color-main); line-height:1.6; margin-bottom:16px; }
    .problem-card-link { font-size:13px; color:var(--color-accent); font-weight:600; }

    /* SHINDAN */
    #section-shindan { background:linear-gradient(180deg,#EEF6FF 0%,var(--color-bg) 100%); transition:outline .3s; }
    #section-shindan.highlight { outline:3px solid var(--color-accent); outline-offset:-3px; }
    .shindan-box { max-width:680px; margin:0 auto; background:#fff; border-radius:20px; box-shadow:0 8px 24px rgba(0,0,0,.12); overflow:hidden; }
    .shindan-progress { padding:24px 32px 0; }
    .progress-labels { display:flex; justify-content:space-between; margin-bottom:10px; }
    .progress-label { font-size:12px; font-weight:600; color:var(--color-text-light); }
    .progress-label.active { color:var(--color-accent); }
    .progress-bar-track { height:6px; background:var(--color-border); border-radius:100px; overflow:hidden; }
    .progress-bar-fill { height:100%; background:linear-gradient(90deg,var(--color-main),var(--color-accent)); border-radius:100px; transition:width .4s; width:33.33%; }
    .shindan-step { display:none; padding:32px; }
    .shindan-step.active { display:block; }
    .shindan-step-q { font-size:18px; font-weight:700; color:var(--color-main); margin-bottom:6px; }
    .shindan-step-hint { font-size:13px; color:var(--color-text-light); margin-bottom:24px; }
    .shindan-choices { display:flex; flex-direction:column; gap:12px; }
    .shindan-choice { display:flex; align-items:flex-start; gap:12px; padding:14px 18px; border:2px solid var(--color-border); border-radius:6px; cursor:pointer; transition:all .2s; }
    .shindan-choice:hover { border-color:var(--color-accent); background:#F0FBFF; }
    .shindan-choice.selected { border-color:var(--color-accent); background:#E6F8FD; }
    .shindan-choice input[type="radio"] { display:none; }
    .choice-dot { width:20px; height:20px; border-radius:50%; border:2px solid var(--color-border); flex-shrink:0; margin-top:2px; display:flex; align-items:center; justify-content:center; transition:all .2s; }
    .shindan-choice.selected .choice-dot { border-color:var(--color-accent); background:var(--color-accent); }
    .shindan-choice.selected .choice-dot::after { content:''; width:8px; height:8px; border-radius:50%; background:#fff; display:block; }
    .choice-key { font-family:'Inter',sans-serif; font-size:12px; font-weight:700; color:var(--color-accent); background:#E6F8FD; padding:2px 7px; border-radius:4px; flex-shrink:0; }
    .choice-text { font-size:14px; font-weight:500; color:var(--color-text); line-height:1.5; }
    .shindan-actions { display:flex; justify-content:space-between; align-items:center; margin-top:28px; padding-top:20px; border-top:1px solid var(--color-border); }
    .btn-next { background:var(--color-accent); color:#fff; border:none; padding:12px 28px; border-radius:6px; font-weight:700; font-size:14px; cursor:pointer; transition:all .2s; opacity:.4; pointer-events:none; }
    .btn-next.active { opacity:1; pointer-events:auto; }
    .btn-next.active:hover { background:#0097b8; transform:translateY(-1px); }
    .btn-back { background:none; border:none; color:var(--color-text-light); font-size:14px; font-weight:600; cursor:pointer; padding:8px 12px; border-radius:6px; transition:all .2s; }
    .btn-back:hover { color:var(--color-main); background:var(--color-bg); }
    #shindan-result { display:none; padding:40px 32px; text-align:center; }
    .result-badge { display:inline-block; background:linear-gradient(135deg,var(--color-main),var(--color-accent)); color:#fff; font-size:12px; font-weight:700; padding:6px 18px; border-radius:100px; margin-bottom:20px; letter-spacing:.06em; }
    .result-title { font-size:22px; font-weight:900; color:var(--color-main); margin-bottom:12px; line-height:1.5; }
    .result-desc { font-size:14px; color:var(--color-text-light); margin-bottom:28px; line-height:1.8; }
    .result-actions { display:flex; flex-direction:column; gap:12px; align-items:center; }

    /* SOLUTION */
    #section-solution { background:#fff; }
    .solution-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:20px; }
    .solution-card { background:var(--color-bg); border:1px solid var(--color-border); border-radius:8px; padding:28px 20px 22px; transition:all .25s; display:flex; flex-direction:column; position:relative; overflow:hidden; }
    .solution-card:hover { border-color:var(--color-accent); box-shadow:0 12px 32px rgba(79,184,196,.15); transform:translateY(-5px); }
    .solution-card:target { border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(79,184,196,.2), 0 12px 32px rgba(79,184,196,.15); }
    .solution-num { display:none; }
    .solution-dot { display:inline-block; width:9px; height:9px; border-radius:50%; margin-right:8px; vertical-align:middle; }
    .solution-name { font-size:16px; font-weight:700; color:var(--color-main); margin-bottom:4px; line-height:1.3; display:flex; align-items:center; }
    .solution-category { font-size:11px; color:var(--color-accent); font-weight:700; margin-bottom:12px; letter-spacing:.04em; }
    .solution-desc { font-size:13px; color:var(--color-text-light); line-height:1.75; flex:1; margin-bottom:16px; word-break:break-word; overflow-wrap:anywhere; }
    .solution-badges { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
    .solution-badge { font-size:11px; font-weight:700; padding:3px 9px; border-radius:4px; background:rgba(0,180,216,.08); color:var(--color-main); border:1px solid rgba(0,180,216,.2); }
    .solution-btn { display:flex; align-items:center; justify-content:center; gap:6px; padding:11px; border:1.5px solid var(--color-main); border-radius:8px; font-size:12px; font-weight:700; color:var(--color-main); transition:all .2s; margin-top:auto; }
    .solution-btn:hover { background:var(--color-main); color:#fff; }
    .solution-btn:hover i { color:#fff; }

    /* CTA */
    #section-CTA { background:linear-gradient(160deg,#0B0F14 0%,var(--color-main) 55%,#1E3A52 100%); text-align:center; }
    #section-CTA .section-subtitle { color:var(--color-accent); }
    #section-CTA .section-title { color:#fff; }
    .cta-box { max-width:680px; margin:0 auto; }
    /* before-diagnosis card */
    #cta-before { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:20px; padding:44px 40px; }
    #cta-before h3 { font-size:22px; font-weight:800; color:#fff; margin-bottom:14px; line-height:1.5; }
    .cta-features { display:flex; flex-direction:column; gap:10px; margin-bottom:32px; text-align:left; }
    .cta-feature-item { display:flex; align-items:center; gap:12px; font-size:14px; color:rgba(255,255,255,.85); }
    .cta-feature-item i { color:var(--color-accent); font-size:15px; flex-shrink:0; }
    /* after-diagnosis */
    .cta-result-box { background:rgba(255,255,255,.1); border:1.5px solid var(--color-accent); border-radius:12px; padding:24px 28px; margin-bottom:24px; text-align:left; }
    .cta-result-label { font-size:11px; font-weight:700; letter-spacing:.12em; color:var(--color-accent); margin-bottom:10px; text-transform:uppercase; }
    #cta-result-text { font-size:16px; font-weight:700; color:#fff; line-height:1.7; }
    .cta-lead { font-size:15px; color:rgba(255,255,255,.75); margin-bottom:28px; line-height:1.8; }
    .cta-actions { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-bottom:20px; }
    .cta-link { font-size:13px; color:rgba(255,255,255,.6); font-weight:600; transition:color .2s; }
    .cta-link:hover { color:#fff; }
    .cta-link i { margin-right:4px; }

    /* CHAT — 計装パネル外枠＋実物チャットカード（ヒーローのライブプレビューと統一） */
    #section-chat { background:var(--ink-900); position:relative; overflow:hidden; }
    #section-chat::before { content:''; position:absolute; inset:0; pointer-events:none;
      background-image: repeating-linear-gradient(90deg, var(--line-faint) 0 1px, transparent 1px 64px),
        repeating-linear-gradient(0deg, var(--line-faint) 0 1px, transparent 1px 64px); }
    #section-chat .container { position:relative; z-index:1; }
    #section-chat .section-subtitle { color:var(--color-accent); }
    #section-chat .section-title { color:#fff; }
    #section-chat .section-header p { color:rgba(255,255,255,.6); }
    .chat-wrapper { max-width:640px; margin:0 auto; border:1px solid var(--line-mid); border-radius:6px; background:var(--ink-800); overflow:hidden; }
    .chat-wrapper-head { display:flex; align-items:center; justify-content:space-between; padding:14px 20px; border-bottom:1px solid var(--line-mid); font-family:"JetBrains Mono",monospace; font-size:11px; color:var(--color-text-light); letter-spacing:.04em; }
    .chat-wrapper-head .rec { display:inline-flex; align-items:center; gap:7px; color:var(--color-accent); }
    .chat-wrapper-head .rec::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--color-accent); box-shadow:0 0 0 3px rgba(79,184,196,.18); }
    .chat-frame-pad { padding:18px; }
    .chat-ui { border-radius:14px; overflow:hidden; box-shadow:0 20px 50px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.2); }
    .chat-header { background:linear-gradient(135deg,var(--color-main),#1E3A52); padding:16px 20px; display:flex; align-items:center; gap:12px; }
    .chat-header-avatar { width:36px; height:36px; border-radius:50%; background:var(--color-accent); display:flex; align-items:center; justify-content:center; }
    .chat-header-avatar i { color:var(--ink-900); font-size:16px; }
    .chat-header-info { flex:1; }
    .chat-header-name { font-size:14px; font-weight:700; color:#fff; }
    .chat-header-status { font-size:11px; color:rgba(255,255,255,.7); display:flex; align-items:center; gap:5px; }
    .chat-header-status::before { content:''; width:7px; height:7px; border-radius:50%; background:#4ade80; display:inline-block; }
    .chat-window { background:#F8FAFC; padding:22px; height:420px; overflow-y:auto; }
    .chat-bubble { display:flex; gap:10px; margin-bottom:16px; align-items:flex-end; }
    .chat-bubble.user { flex-direction:row-reverse; }
    .chat-avatar { width:30px; height:30px; border-radius:50%; background:var(--ink-900); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--color-accent); }
    .chat-avatar i { font-size:12px; }
    .chat-avatar.user-avatar { background:#CBD5E1; color:#fff; }
    .chat-msg { background:#fff; border-radius:16px 16px 16px 4px; padding:12px 16px; font-size:14px; line-height:1.7; color:var(--color-text); max-width:440px; box-shadow:0 1px 4px rgba(0,0,0,.08); }
    .chat-bubble.user .chat-msg { background:var(--ink-900); color:#fff; border-radius:16px 16px 4px 16px; }
    .chat-choices { display:flex; flex-direction:column; gap:8px; margin-top:12px; margin-bottom:16px; margin-left:40px; }
    .chat-choice-btn { background:#fff; border:1.5px solid #E2E8F0; border-radius:10px; padding:11px 16px; font-size:13px; font-weight:700; color:var(--ink-900); cursor:pointer; text-align:left; transition:all .2s; }
    .chat-choice-btn:hover { border-color:var(--color-accent); background:#EEF9FA; }
    .chat-cta-group { display:flex; flex-direction:column; gap:8px; margin-top:16px; margin-left:40px; }
    .chat-cta-link { display:inline-flex; align-items:center; gap:8px; padding:11px 16px; background:var(--ink-900); color:#fff; border-radius:8px; font-size:13px; font-weight:700; transition:background .2s; }
    .chat-cta-link:hover { background:#000; }
    .chat-input-area { background:#fff; border-top:1px solid #E2E8F0; padding:14px 16px; display:flex; align-items:center; gap:10px; }
    .chat-input { flex:1; border:1.5px solid #E2E8F0; border-radius:10px; padding:10px 16px; font-size:14px; font-family:inherit; color:var(--color-text); outline:none; transition:border .2s; resize:none; height:42px; line-height:1.4; }
    .chat-input:focus { border-color:var(--color-accent); }
    .chat-send-btn { width:42px; height:42px; border-radius:10px; background:var(--color-accent); border:none; color:#fff; font-size:16px; cursor:pointer; transition:background .2s; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
    .chat-send-btn:hover { background:#0097b8; }
    /* 入力欄の一時非表示：.chat-ui に .is-input-hidden が付いている間は非表示（再表示はクラスを外すだけ） */
    .chat-ui.is-input-hidden .chat-input-area { display:none; }
    .chat-reset-wrap { margin-top:14px; text-align:center; }
    .btn-chat-reset { background:none; border:none; font-size:12px; font-weight:600; color:var(--color-text-light); cursor:pointer; transition:color .2s; display:inline-flex; align-items:center; gap:5px; }
    .btn-chat-reset:hover { color:#fff; }

    /* COLUMN */
    #section-column { background:var(--color-bg); }
    .column-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-bottom:40px; }
    .column-card { background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.1); transition:all .25s; }
    .column-card:hover { box-shadow:0 8px 24px rgba(0,0,0,.12); transform:translateY(-4px); }
    .column-thumbnail { aspect-ratio:16/9; background:linear-gradient(135deg,#CBD5E1,#94A3B8); display:flex; align-items:center; justify-content:center; }
    .column-thumbnail i { font-size:32px; color:rgba(255,255,255,.7); }
    .column-body { padding:20px; }
    .column-tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
    .tag { font-size:11px; font-weight:700; padding:3px 10px; border-radius:100px; background:rgba(0,180,216,.1); color:var(--color-accent); border:1px solid rgba(0,180,216,.2); }
    /* タグ色分け：ソリューション種別 */
    .tag-rag   { background:rgba(79,184,196,.12); color:#0097b8; border-color:rgba(79,184,196,.3); }
    .tag-aio   { background:rgba(139,92,246,.12); color:#7C3AED; border-color:rgba(139,92,246,.3); }
    .tag-agent { background:rgba(16,185,129,.12); color:#059669; border-color:rgba(16,185,129,.3); }
    .tag-bpaas { background:rgba(245,158,11,.12); color:#D97706; border-color:rgba(245,158,11,.3); }
    .tag-dqs   { background:rgba(239,68,68,.1);  color:#DC2626; border-color:rgba(239,68,68,.25); }
    .tag-mktg  { background:rgba(236,72,153,.1); color:#BE185D; border-color:rgba(236,72,153,.25); }
    .tag-ops   { background:rgba(8,145,178,.12); color:#0891B2; border-color:rgba(8,145,178,.3); }
    .column-title-text { font-size:14px; font-weight:700; color:var(--color-main); line-height:1.6; }

    /* EVENT */
    #section-event { background:#fff; }
    .event-tabs { display:flex; flex-wrap:wrap; gap:4px; margin-bottom:40px; border-bottom:2px solid var(--color-border); }
    .tab-btn { padding:12px 24px; font-size:14px; font-weight:700; color:var(--color-text-light); cursor:pointer; background:none; border:none; border-bottom:3px solid transparent; margin-bottom:-2px; transition:all .2s; }
    .tab-btn.active { color:var(--color-accent); border-bottom-color:var(--color-accent); }
    .event-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; margin-bottom:40px; }
    .event-card { background:var(--color-bg); border:1px solid var(--color-border); border-radius:12px; overflow:hidden; transition:all .25s; }
    .event-card:hover { border-color:var(--color-accent); box-shadow:0 4px 12px rgba(0,0,0,.1); transform:translateY(-2px); }
    .event-thumbnail { aspect-ratio:16/9; background:linear-gradient(135deg,var(--color-main) 0%,#0e6a8a 100%); display:flex; align-items:center; justify-content:center; position:relative; }
    .event-thumbnail i { font-size:36px; color:rgba(255,255,255,.7); }
    .event-body { padding:20px; }
    .event-date { font-size:11px; font-weight:600; color:var(--color-text-light); margin-bottom:10px; }
    .event-title-text { font-size:15px; font-weight:800; color:var(--color-main); line-height:1.55; margin-bottom:10px; }
    .event-desc { font-size:13px; color:var(--color-text-light); line-height:1.75; margin-bottom:16px; }
    .past-event-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; margin-bottom:40px; }
    .past-event-card { background:var(--color-bg); border:1px solid var(--color-border); border-radius:12px; overflow:hidden; opacity:.9; }
    .past-event-card:last-child:nth-child(2n+1) { grid-column: 1 / -1; max-width: calc(50% - 14px); }
    .past-event-thumbnail { aspect-ratio:16/9; background:linear-gradient(135deg,#94A3B8,#64748B); display:flex; align-items:center; justify-content:center; position:relative; }
    .past-event-thumbnail i { font-size:28px; color:rgba(255,255,255,.55); }
    .past-event-thumbnail::after { content:'アーカイブ'; position:absolute; top:10px; left:10px; font-size:10px; font-weight:700; color:#fff; background:rgba(0,0,0,.45); padding:3px 8px; border-radius:4px; letter-spacing:.06em; }
    .past-event-body { padding:16px; }
    .past-event-date { font-size:11px; color:var(--color-text-light); font-weight:600; margin-bottom:6px; letter-spacing:.04em; }
    .past-event-title { font-size:14px; font-weight:700; color:var(--color-main); line-height:1.55; }

    /* CASE */
    #section-case { background:var(--color-bg); }
    .case-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
    .case-card { background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.1); transition:all .25s; }
    .case-card:hover { box-shadow:0 8px 24px rgba(0,0,0,.12); transform:translateY(-4px); }
    .case-thumbnail { aspect-ratio:4/3; background:linear-gradient(135deg,#BFDBFE,#93C5FD); display:flex; align-items:center; justify-content:center; }
    .case-thumbnail i { font-size:28px; color:rgba(255,255,255,.75); }
    .case-body { padding:18px; }
    .case-industry { font-size:11px; font-weight:700; color:var(--color-accent); background:rgba(0,180,216,.1); padding:3px 10px; border-radius:100px; display:inline-block; margin-bottom:8px; }
    .case-client { font-size:12px; color:var(--color-text-light); margin-bottom:6px; }
    .case-result { font-size:14px; font-weight:700; color:var(--color-main); line-height:1.5; }

    /* FOOTER */
    #site-footer { background:var(--color-main); color:rgba(255,255,255,.8); padding:60px 0 30px; }
    .footer-top { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr 1fr; gap:32px; margin-bottom:48px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.12); }
    .footer-logo { margin-bottom:14px; }
    .footer-logo img { height:18px; width:auto; filter:brightness(0) invert(1); }
    .footer-tagline { font-size:13px; line-height:1.7; color:rgba(255,255,255,.7); }
    .footer-col-title { font-size:13px; font-weight:700; color:#fff; margin-bottom:16px; }
    .footer-col ul li { margin-bottom:10px; }
    .footer-col ul li a { font-size:13px; color:rgba(255,255,255,.65); transition:color .2s; display:flex; align-items:center; gap:6px; }
    .footer-col ul li a:hover { color:var(--color-accent); }
    .footer-col ul li a i { font-size:10px; color:rgba(255,255,255,.3); flex-shrink:0; }
    .footer-bottom { text-align:center; font-size:12px; color:rgba(255,255,255,.4); }

    /* =====================
       RESPONSIVE
    ===================== */
    @media (max-width:1100px) {
      .solution-grid { grid-template-columns:repeat(3,1fr); }
    }
    @media (max-width:960px) {
      .footer-top { grid-template-columns:1fr 1fr 1fr; }
      .case-grid { grid-template-columns:repeat(2,1fr); }
      .problem-cards { grid-template-columns:repeat(2,1fr); }
      .column-grid { grid-template-columns:repeat(2,1fr); }
    }
    @media (max-width:900px) {
      .event-grid { grid-template-columns:1fr; }
    }
    @media (max-width:768px) {
      .section { padding:56px 0; }
      .section-header { margin-bottom:36px; }
      .container { padding:0 18px; }
      /* header */
      .header-nav, .header-cta { display:none; }
      .hamburger { display:flex; }
      /* hero */
      #section-hero { padding:96px 0 64px; }
      .hero-inner { max-width:100%; }
      .hero-title { font-size:clamp(20px,5.5vw,30px); word-break:break-word; overflow-wrap:anywhere; }
      .hero-subtitle { font-size:11px; max-width:calc(100vw - 36px); }
      .hero-lead { font-size:14px; word-break:break-word; overflow-wrap:anywhere; max-width:100%; }
      .hero-btns { flex-direction:column; gap:12px; }
      .hero-btns .btn { width:100%; justify-content:center; }
      /* problem */
      .problem-cards { grid-template-columns:1fr; gap:16px; }
      .problem-card-text { word-break:break-word; overflow-wrap:anywhere; }
      /* shindan */
      .shindan-box { border-radius:12px; }
      .shindan-progress { padding:20px 18px 0; }
      .shindan-step { padding:20px 18px; }
      .shindan-actions { flex-wrap:wrap; gap:10px; }
      .choice-text,.shindan-step-q,.shindan-step-hint,.result-title,.result-desc { word-break:break-word; overflow-wrap:anywhere; }
      /* solution */
      .solution-grid { grid-template-columns:1fr 1fr; gap:14px; }
      .solution-name,.solution-desc,.solution-category { word-break:break-word; overflow-wrap:anywhere; }
      /* cta */
      #cta-before { padding:28px 20px; }
      .cta-actions { flex-direction:column; gap:10px; }
      .cta-actions .btn { width:100%; justify-content:center; }
      /* chat */
      .chat-choices { margin-left:0; }
      .chat-cta-group { margin-left:0; }
      .chat-msg { max-width:calc(100% - 44px); }
      .tab-btn { padding:10px 16px; font-size:13px; }
      /* column / event / case */
      .column-grid { grid-template-columns:1fr; }
      .event-grid { grid-template-columns:1fr; }
      .event-title-text,.case-result,.column-title-text,.past-event-title { word-break:break-word; overflow-wrap:anywhere; }
      .past-event-grid { grid-template-columns:1fr; }
      /* footer */
      .footer-top { grid-template-columns:1fr 1fr; gap:24px; }
    }
    @media (max-width:480px) {
      .container { padding:0 16px; }
      .solution-grid { grid-template-columns:1fr; }
      .case-grid { grid-template-columns:1fr; }
      .footer-top { grid-template-columns:1fr; }
      .section-title { font-size:clamp(20px,5.5vw,28px); word-break:break-word; overflow-wrap:anywhere; }
      .shindan-step { padding:20px 16px; }
      .shindan-box { border-radius:10px; }
      .result-actions .btn { width:100%; justify-content:center; }
    }