/* ── index ヒーロー/ページ固有 (.hero-*/.pain-*/.character/.platform-* 等) — from 5275-6246 (:root/body/a/.font-en は裸セレクタ・変数定義のためインライン維持) ── */

  /* ─────────────────────────────────────────
     ヒーロー（白基調・柔らか）
     ───────────────────────────────────────── */
  .hero {
    position: relative;
    background: #ffffff;
    padding: 32px 0 40px;
    overflow: hidden;
  }
  /* ヒーロー装飾は非表示（真っ白＋キャラ背後の光のみ残す）*/
  .hero-blob { display: none; }

  /* 幾何学装飾（参考LP風のドットパターン） */
  .hero-dots { display: none; }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    grid-template-areas:
      "text   visual"
      "cta    visual";
    gap: 20px 48px;
    align-items: center;
  }
  .hero-text { grid-area: text; align-self: end; }
  .hero-visual { grid-area: visual; }
  .hero-cta { grid-area: cta; align-self: start; }

  /* バッジ（ヒーロー上） */
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--gray-line);
    border-radius: 999px;
    font-size: 12px;
    color: var(--gray-text);
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  }
  .hero-badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(186,55,32,0.15);
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(186,55,32,0.15); }
    50% { box-shadow: 0 0 0 8px rgba(186,55,32,0); }
  }

  /* メイン見出し */
  .hero-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.01em;
    margin-bottom: 28px;
  }
  .hero-title .accent-pen {
    background-image: linear-gradient(transparent 65%, rgba(255, 207, 110, 0.55) 65%, rgba(255, 207, 110, 0.55) 95%, transparent 95%);
    padding: 0 .15em;
  }
  .hero-title .blue { color: var(--blue); }

  .hero-lead {
    font-size: 16px;
    line-height: 1.95;
    color: var(--gray-text);
    margin-bottom: 0;
    max-width: 500px;
  }

  .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }
  .btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 32px;
    min-width: 280px;
    background: var(--ink);
    color: white;
    font-weight: 700;
    font-size: 14px;
    border-radius: 999px;
    transition: all .25s ease;
    box-shadow: 0 4px 12px rgba(30,41,59,0.15);
  }
  .btn-main:hover {
    background: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(186,55,32,0.25);
  }

  /* ─── リッチ版（hero CTA） ───────────────── */
  .btn-rich {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, #0047ab 0%, #0a0a0c 50%, #ba3720 100%);
    background-size: 100% 100%;
    /* 静止グラデ */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22),
                0 2px 6px rgba(0, 0, 0, 0.12);
  }
  .btn-rich:hover {
    background: linear-gradient(135deg, #0047ab 0%, #0a0a0c 50%, #ba3720 100%);
    background-size: 100% 100%;
    background-size: 200% 200%;
    animation: btn-gradient-shift 3s ease infinite;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 71, 171, 0.22),
                0 4px 10px rgba(186, 55, 32, 0.16);
  }
  @keyframes btn-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
  }
  .btn-shine { display: none; }
  /* 外側 glow */
  .btn-glow { display: none; }
  /* テキスト 2 段組 */
  .btn-text {
    position: relative; z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
  }
  .btn-label-main {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.04em;
  }
  .btn-label-sub {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.85;
    margin-top: 3px;
  }
  /* 右の矢印 */
  .btn-arrow {
    position: relative; z-index: 2;
    font-size: 12px;
    transition: transform 0.3s ease;
  }
  .btn-rich:hover .btn-arrow {
    transform: translateX(6px);
  }
  /* 減衰モーション設定 */
  @media (prefers-reduced-motion: reduce) {
    .btn-rich, .btn-shine, .btn-glow { animation: none; }
  }
  .btn-sub {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: white;
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    border-radius: 999px;
    border: 1.5px solid var(--gray-line);
    transition: all .25s ease;
  }
  .btn-sub:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
  }

  /* ヒーロービジュアル（3キャラ横並び・ステージ風） */
  .hero-visual {
    position: relative;
    width: 100%;
  }
  .characters-stage {
    position: relative;
    height: 520px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    padding-bottom: 20px;
  }
  .character {
    position: relative;
    height: 100%;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  .character img {
    max-height: 100%;
    max-width: 165%;
    object-fit: contain;
    object-position: bottom center;
    transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 14px 18px rgba(15, 23, 42, 0.2));
  }
  /* サイドは少し小さく内側へ寄せ、中央は手前に大きく見せる */
  .character:nth-child(1) {
    z-index: 2;
    transform: translate(17%, 10px) scale(0.96) rotate(-2deg);
    transform-origin: bottom center;
  }
  .character:nth-child(2) {
    z-index: 3;
    transform: translateY(-8px) scale(1.12);
    transform-origin: bottom center;
  }
  .character:nth-child(3) {
    z-index: 2;
    transform: translate(-17%, 10px) scale(0.96) rotate(2deg);
    transform-origin: bottom center;
  }
  .character:hover { z-index: 4; }
  .character:hover img { transform: scale(1.04); }

  /* 地面の楕円シャドウ（接地感）*/
  /* picture を flex 下揃えにして img の底 = picture の底に固定 */
  .character picture {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    max-width: 165%;
  }
  /* 影は img の足元直下に配置 */
  .character picture::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60%;
    height: 16px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(15,23,42,0.35) 0%, rgba(15,23,42,0) 70%);
    pointer-events: none;
    z-index: 0;
  }
  .character picture img {
    position: relative;
    z-index: 1;
  }

  /* キャラの背後にステージ的な光（青→ピンク→黄）*/
  .character::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 12%;
    width: 100%;
    height: 70%;
    transform: translateX(-50%);
    border-radius: 50%;
    filter: blur(52px);
    z-index: -1;
    opacity: 0.7;
  }
  .character:nth-child(1)::before { background: rgba(0, 71, 171, 0.32); }    /* EXiST青 */
  .character:nth-child(2)::before { background: rgba(186, 55, 32, 0.32); }   /* EXiST赤 */
  .character:nth-child(3)::before { background: rgba(255, 207, 110, 0.55); } /* 黄 */

  /* ─── キャラ登場アニメーション（影 → 中央 → 左 → 右 → 背景色）─── */
  /* 画像は初期は透明、順次フェードイン */
  .character picture img {
    opacity: 0;
    animation: char-fade-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  /* 背景色（::before）は初期は透明、全キャラの後に登場 */
  .character::before {
    opacity: 0;
    animation: glow-fade-in 0.9s ease forwards;
  }
  /* 影（picture::after）は最初から表示（アニメ無し）*/

  /* 登場順：中央(0.4s) → 左(0.9s) → 右(1.4s) → 背景色(1.9s〜)*/
  .character:nth-child(2) picture img { animation-delay: 0.4s; }
  .character:nth-child(1) picture img { animation-delay: 0.9s; }
  .character:nth-child(3) picture img { animation-delay: 1.4s; }
  .character:nth-child(2)::before { animation-delay: 1.9s; }
  .character:nth-child(1)::before { animation-delay: 2.0s; }
  .character:nth-child(3)::before { animation-delay: 2.1s; }

  @keyframes char-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes glow-fade-in {
    from { opacity: 0; }
    to   { opacity: 0.7; }
  }
  /* 減衰モーション設定時はアニメ抑制 */
  @media (prefers-reduced-motion: reduce) {
    .character picture img,
    .character::before {
      animation: none;
      opacity: 1;
    }
    .character::before { opacity: 0.7; }
  }

  /* キャラ群の下に共通の床ライン（淡いグラデ）*/
  .characters-stage::after {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(15,23,42,0.12) 50%, transparent 100%);
  }

  /* スクロールヒント */
  .scroll-hint {
    text-align: center;
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--gray-text);
    animation: bounce 2s ease-in-out infinite;
  }
  .scroll-hint i { display: block; margin-top: 6px; }
  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
  }

  /* ─────────────────────────────────────────
     マーキー
     ───────────────────────────────────────── */
  .marquee {
    background: var(--ink);
    color: white;
    overflow: hidden;
    padding: 16px 0;
  }
  .marquee-inner {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
    white-space: nowrap;
  }
  .marquee-group {
    display: flex;
    gap: 56px;
    padding-right: 56px;
    flex-shrink: 0;
  }
  .marquee-item {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    display: inline-flex;
    align-items: center;
    gap: 20px;
  }
  .marquee-item::after {
    content: '';
    width: 5px; height: 5px;
    background: var(--red);
    border-radius: 50%;
  }
  @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) {
    .marquee-inner { animation: none; }
  }

  /* ─────────────────────────────────────────
     悩み訴求セクション
     ───────────────────────────────────────── */
  .pain-section {
    position: relative;
    padding: 100px 0 120px;
    background: linear-gradient(135deg, #0047ab 0%, #0a0a0c 50%, #ba3720 100%);
    color: #fff;
    overflow: hidden;
  }
  /* 紙のテクスチャ */
  .pain-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
  }
  /* 装飾オーブ */
  .pain-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
  }
  .pain-blob-1 { width: 380px; height: 380px; background: rgba(255, 255, 255, 0.05); top: -120px; left: -100px; }
  .pain-blob-2 { width: 320px; height: 320px; background: rgba(255, 255, 255, 0.05); bottom: -100px; right: -80px; }

  /* ドットパターン（暗背景なので白）*/
  .pain-dots {
    position: absolute;
    width: 140px; height: 140px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.6) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.18;
    pointer-events: none;
    z-index: 1;
  }
  .pain-dots-tl { top: 60px; left: 5%; }
  .pain-dots-br { bottom: 60px; right: 5%; }

  /* 縦ライン装飾（暗背景なので白）*/
  .pain-line {
    position: absolute;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
    z-index: 1;
  }
  .pain-line-l { left: 10%; }
  .pain-line-r { right: 10%; }

  .pain-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* タイトルエリア */
  .pain-head {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
  }
  /* 大きな引用符装飾 */
  .pain-head::before {
    content: '?';
    position: absolute;
    top: -30px; left: 50%;
    transform: translateX(-50%);
    font-family: 'Inter', sans-serif;
    font-size: 180px;
    font-weight: 900;
    line-height: 1;
    color: rgba(255,255,255,0.08);
    pointer-events: none;
    z-index: -1;
  }
  .pain-head .sub {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.25em;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
  }
  .pain-head .sub::before, .pain-head .sub::after {
    content: '';
    width: 28px;
    height: 1px;
    background: rgba(255,255,255,0.5);
  }
  .pain-head h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #fff;
  }
  .pain-head h2 .point {
    display: inline-block;
  }

  /* グリッド */
  .pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
  }
  @media (max-width: 900px) {
    .pain-grid { grid-template-columns: 1fr; max-width: 560px; }
  }

  .pain-card {
    background: white;
    border-radius: 20px;
    padding: 26px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 8px 24px rgba(15,23,42,0.04), 0 2px 4px rgba(15,23,42,0.02);
    position: relative;
    overflow: hidden;
  }

  .pain-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--blue-soft);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
  }
  .pain-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.65;
    color: var(--ink);
  }

  /* 下部の解決メッセージ */
  .pain-arrow {
    text-align: center;
    margin-top: 56px;
    position: relative;
  }
  @keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
  }
  .pain-arrow-text {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    line-height: 1.7;
  }
  .pain-arrow-text .em {
    color: #fff;
  }

  /* ─────────────────────────────────────────
     セクション共通見出し
     ───────────────────────────────────────── */
  .sec-head {
    text-align: center;
    margin-bottom: 56px;
  }
  .sec-head .num {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: var(--blue);
    font-weight: 700;
    letter-spacing: 0.3em;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }
  .sec-head .num::before, .sec-head .num::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--blue);
  }
  .sec-head h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .sec-head h2 .marker {
    background: linear-gradient(transparent 65%, rgba(255, 217, 130, 0.7) 65%);
    padding: 0 .2em;
  }
  .sec-head p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto;
  }

  /* ─────────────────────────────────────────
     プラットフォーム
     ───────────────────────────────────────── */
  .platform-section { padding: 80px 0; background: white; }
  .platform-wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
  .platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  @media (max-width: 640px) {
    .platform-grid { grid-template-columns: 1fr; }
  }
  .platform-card {
    --brand: #0047ab;
    background: white;
    border-radius: 20px;
    padding: 36px 32px 30px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow:
      0 20px 40px -12px rgba(15, 23, 42, 0.12),
      0 6px 16px -6px rgba(15, 23, 42, 0.06);
  }
  /* シリアル番号（右上・控えめ）*/
  .platform-num {
    position: absolute;
    top: 32px; right: 32px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--gray-text);
    line-height: 1;
  }
  .platform-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
  }
  .platform-logo {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--gray-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
  }
  .platform-logo img { width: 38px; height: 38px; object-fit: contain; }
  .platform-meta { flex: 1; min-width: 0; }
  .platform-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
    display: inline-block;
  }
  /* アクセント線（EXiSTカラーグラデーション）*/
  .platform-name::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--red));
    margin-top: 8px;
    margin-bottom: 10px;
    border-radius: 2px;
  }
  .platform-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .platform-tag {
    font-size: 11px;
    padding: 4px 10px;
    background: var(--gray-soft);
    color: var(--gray-text);
    border-radius: 6px;
    font-weight: 600;
  }
  .platform-desc {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.85;
    margin: 18px 0 22px;
    min-height: 3.7em;
  }
  .platform-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
  .btn-stream {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 16px;
    background: var(--ink);
    color: white;
    font-size: 13px; font-weight: 700;
    border-radius: 999px;
  }

  /* ─────────────────────────────────────────
     記事
     ───────────────────────────────────────── */
  .articles-section {
    background: linear-gradient(135deg, #0047ab 0%, #0a0a0c 50%, #ba3720 100%);
    color: #fff;
    padding: 80px 0;
  }
  .articles-wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
  /* 記事セクションの見出し（白基調・マーカー無し）*/
  .articles-section .sec-head .num { color: rgba(255,255,255,0.85); }
  .articles-section .sec-head .num::before,
  .articles-section .sec-head .num::after { background: rgba(255,255,255,0.5); }
  .articles-section .sec-head h2 { color: #fff; }
  .articles-section .sec-head h2 .marker { background: none; padding: 0; }
  .articles-section .sec-head p { color: rgba(255,255,255,0.75); }

  .article-list {
    background: rgba(255,255,255,0.06);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
  }
  .article-row {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 24px;
    padding: 22px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    align-items: center;
    transition: background .2s ease;
  }
  .article-row:last-child { border-bottom: none; }
  .article-row:hover { background: rgba(255,255,255,0.06); }
  .article-row:hover .article-arrow { transform: translateX(4px); }
  .article-date { font-family: 'Inter', sans-serif; font-size: 12px; color: rgba(255,255,255,0.7); font-weight: 500; }
  .article-row > div {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
  }
  .article-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 9px;
    color: white;
    border-radius: 4px;
    flex-shrink: 0;
  }
  .article-title { font-size: 15px; font-weight: 700; line-height: 1.6; color: #fff; transition: color .2s ease; }
  .article-arrow { font-size: 14px; color: rgba(255,255,255,0.7); transition: all .2s ease; }
  .articles-more { text-align: center; margin-top: 32px; }

  /* ─────────────────────────────────────────
     統計
     ───────────────────────────────────────── */
  .stats-section { background: white; padding: 80px 0; }
  .stats-wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
  .stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .stat {
    background: var(--gray-bg);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
  }
  .stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: var(--gray-text);
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 16px;
  }
  .stat-num {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
  }
  .stat-suffix {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--gray-text);
    margin-left: 4px;
  }

  /* ─────────────────────────────────────────
     EXiSTカード
     ───────────────────────────────────────── */
  .agency-section { background: var(--gray-bg); padding: 80px 0; }
  .agency-wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
  .agency-card {
    background: white;
    border-radius: 24px;
    padding: 36px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    border: 1px solid var(--gray-line);
  }
  .agency-logo {
    width: 80px; height: 80px;
    border: 1px solid var(--gray-line);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: white;
  }
  .agency-logo img { height: 36px; width: auto; }
  .agency-name { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
  .agency-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
  .agency-tag {
    font-size: 10px; padding: 3px 9px;
    background: white; border: 1px solid var(--ink);
    color: var(--ink); font-weight: 700; border-radius: 4px;
  }
  .agency-tag.featured { background: var(--red); border-color: var(--red); color: white; }
  .agency-catch { font-size: 13px; color: var(--gray-text); line-height: 1.8; margin-bottom: 14px; }
  .agency-merits { display: flex; flex-wrap: wrap; gap: 16px; }
  .agency-merit { font-size: 12px; color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
  .agency-merit i { color: var(--red); font-size: 11px; }

  /* ─────────────────────────────────────────
     エリア
     ───────────────────────────────────────── */
  .area-section { background: white; padding: 80px 0; }
  .area-wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
  .area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }
  .area-cell {
    background: var(--gray-bg);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all .25s ease;
  }
  .area-cell:hover {
    background: var(--ink);
    color: white;
    transform: translateY(-2px);
  }
  .area-cell:hover .area-count { color: rgba(255,255,255,0.6); }
  .area-name { font-size: 14px; font-weight: 700; }
  .area-count {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: var(--gray-text);
    font-weight: 700;
  }

  /* ─────────────────────────────────────────
     スクロール演出
     ───────────────────────────────────────── */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1), transform .9s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.in { opacity: 1; transform: translateY(0); }

  /* ─────────────────────────────────────────
     レスポンシブ
     ───────────────────────────────────────── */
  @media (max-width: 1024px) {
    .hero-content { gap: 32px; }
    .characters-stage { height: 520px; }
    .character img { max-width: 150%; }
  }
  @media (max-width: 900px) {
    .hero { padding: 20px 0 28px; }
    .hero-content {
      grid-template-columns: 1fr;
      grid-template-areas:
        "text"
        "visual"
        "cta";
      gap: 14px;
      padding: 0 20px;
      max-width: 560px;
    }
    .hero-text { align-self: stretch; }
    .hero-cta { justify-content: center; align-self: stretch; }
    .hero-badge { display: none; }
    .hero-title { font-size: clamp(28px, 7vw, 40px); line-height: 1.45; margin-bottom: 14px; text-align: center; }
    .hero-lead { font-size: 15px; line-height: 1.85; margin-bottom: 0; text-align: center; }
    .btn-main, .btn-sub { padding: 14px 22px; font-size: 13px; min-width: 0; }
    /* キャラはスマホでも横並び・主役感ある中サイズ */
    .characters-stage {
      height: clamp(320px, 70vw, 470px);
      padding-bottom: 16px;
    }
    .character img {
      max-width: 155%;
      filter: drop-shadow(0 8px 12px rgba(15, 23, 42, 0.18));
    }
    .character:nth-child(1) { transform: translate(13%, 18px) scale(0.94) rotate(-2deg); }
    .character:nth-child(2) { transform: translateY(7px) scale(1.10); }
    .character:nth-child(3) { transform: translate(-13%, 18px) scale(0.94) rotate(2deg); }
    .character picture::after { width: 60%; height: 12px; }
    .character::before { width: 110%; height: 60%; filter: blur(40px); }
    .scroll-hint { margin-top: 16px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .agency-card { grid-template-columns: 1fr; text-align: left; }
    .article-row { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
    .article-row .article-arrow { display: none; }
    .pain-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 480px) {
    .hero-content { padding: 0 18px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .btn-main, .btn-sub { justify-content: center; width: 100%; }
  }

/* SCROLL 下の余白確保：デスクトップで .hero のメディア別 padding が適用されず
   下余白が 0 になるため、全幅で最低限の下パディングを保証する（2026-07-05） */
.hero { padding-bottom: 2.5rem; }
