:root {
      --bg: #F2EDE4;
      --bg-warm: #EBE4D6;
      --paper: #FAF6EE;
      --ink: #1A1815;
      --ink-soft: #3D3833;
      --ink-muted: #6E635A;
      --ink-faint: #A89E91;
      --rule: #D6CDBE;
      --vermillion: #C84B31;
      --sage: #6B7A5E;
      --gold: #B89668;
      --error: #C84B31;
      --success: #6B7A5E;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--ink);
      font-family: 'Zen Kaku Gothic New', -apple-system, sans-serif;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      min-height: 100vh;
      background-image:
        radial-gradient(circle at 20% 10%, rgba(184, 150, 104, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(200, 75, 49, 0.04) 0%, transparent 50%);
    }

    body::before {
      content: "";
      position: fixed; inset: 0;
      pointer-events: none; z-index: 1;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
      opacity: 0.55; mix-blend-mode: multiply;
    }

    a { color: inherit; text-decoration: none; }
    img, video { max-width: 100%; display: block; }
    button { font-family: inherit; cursor: pointer; }

    /* ===== Layout ===== */
    .container {
      max-width: 1280px; margin: 0 auto;
      padding: 0 40px;
      position: relative; z-index: 2;
    }

    /* ===== Nav ===== */
    nav {
      position: fixed; top: 0; left: 0; right: 0;
      padding: 20px 40px;
      display: flex; justify-content: space-between; align-items: center;
      z-index: 100;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      background: rgba(242, 237, 228, 0.78);
      border-bottom: 1px solid transparent;
      transition: border-color 0.3s ease;
    }
    nav.scrolled { border-bottom-color: var(--rule); }

    .brand {
      display: flex; align-items: center; gap: 10px;
      font-family: 'Shippori Mincho B1', serif;
      font-weight: 600; font-size: 19px;
      letter-spacing: 0.02em;
      cursor: pointer;
    }
    .brand-mark {
      width: 28px; height: 28px;
    }
    .brand-mark svg { width: 100%; height: 100%; }

    .nav-links {
      display: flex; gap: 32px; align-items: center;
      font-size: 13.5px; font-weight: 500;
    }
    .nav-link {
      color: var(--ink-soft);
      transition: color 0.2s;
      letter-spacing: 0.04em;
      position: relative;
      padding: 4px 0;
      white-space: nowrap;
    }
    .nav-link:hover { color: var(--vermillion); }
    .nav-link.active { color: var(--vermillion); }
    .nav-link.active::after {
      content: ""; position: absolute;
      left: 0; right: 0; bottom: -2px;
      height: 1px; background: var(--vermillion);
    }
    .nav-cta {
      background: var(--ink); color: var(--paper);
      padding: 10px 22px; border-radius: 100px;
      transition: all 0.25s ease;
      border: 1px solid var(--ink);
      order: 1;
    }
    .nav-cta:hover {
      background: var(--vermillion);
      border-color: var(--vermillion);
      color: white;
    }
    .nav-cta.active::after { display: none; }

    /* ===== 言語切替ドロップダウン ===== */
    .lang-switcher {
      position: relative;
      margin-right: 4px;
      order: 2;
    }
    .lang-toggle {
      background: transparent;
      border: 1px solid var(--rule);
      color: var(--ink-soft);
      padding: 7px 12px 7px 14px;
      border-radius: 100px;
      font-size: 12.5px;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.04em;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .lang-toggle:hover {
      border-color: var(--ink);
      color: var(--ink);
    }
    .lang-toggle .caret {
      font-size: 9px;
      opacity: 0.7;
    }
    .lang-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      background: var(--paper);
      border: 1px solid var(--rule);
      border-radius: 12px;
      padding: 8px;
      min-width: 160px;
      box-shadow: 0 24px 48px -16px rgba(26, 24, 21, 0.18);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-4px);
      transition: all 0.25s;
      z-index: 100;
    }
    .lang-switcher.open .lang-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .lang-menu a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 12px;
      border-radius: 6px;
      font-size: 13px;
      color: var(--ink-soft);
      transition: all 0.15s;
    }
    .lang-menu a:hover {
      background: var(--bg-warm);
      color: var(--vermillion);
    }
    .lang-menu a.current {
      color: var(--vermillion);
      background: var(--bg-warm);
    }
    .lang-menu a .lang-code {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      opacity: 0.6;
      letter-spacing: 0.05em;
    }
    @media (max-width: 720px) {
      .lang-toggle { padding: 6px 10px; font-size: 11px; }
    }

    /* ===== Pages (hash routing) ===== */
    .page { display: none; }
    .page.active { display: block; }

    /* ===== Hero ===== */
    .hero {
      padding: 160px 0 100px;
      position: relative;
    }

    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 12px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px; letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--vermillion);
      margin-bottom: 28px;
    }
    .hero-eyebrow::before {
      content: ""; width: 32px; height: 1px;
      background: var(--vermillion);
    }

    .hero-block {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 80px; align-items: center;
      margin-bottom: 120px;
    }
    .hero-block:last-child { margin-bottom: 0; }
    .hero-block.reverse {
      grid-template-columns: 1fr 1.1fr;
    }
    .hero-block.reverse .hero-left { order: 2; }
    .hero-block.reverse .hero-right { order: 1; }

    /* ── 第1ブロック: テキストに十分な幅を確保しつつ、 右側のアイコンも
       余裕を持って大きく表示する。 グリッド比率を 1.55fr : 1fr まで寄せて
       アイコン領域を一回り広げる。 */
    .hero-block.hero-main {
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
      gap: 32px;
      margin-bottom: 140px;
      align-items: center;
    }
    .hero-block.hero-main .hero-icon {
      max-width: 420px;
      margin-left: 0;
      margin-right: auto;
    }

    .hero-title {
      font-family: 'Shippori Mincho B1', serif;
      font-weight: 600;
      font-size: clamp(44px, 6vw, 84px);
      line-height: 1.05;
      letter-spacing: -0.01em;
      margin-bottom: 24px;
    }
    /* ── ヒーロー第1ブロック: より大胆な大文字キャッチ ──
       日本語が中途半端な位置で折り返されないように `word-break: keep-all` を適用。
       各フレーズは <span class="nowrap"> でグループ化し、 単位が分断されないようにする。
       上限フォントサイズも 84px に下げて、 1 行に収まる確率を上げる。 */
    .hero-title-main {
      font-size: clamp(44px, 6vw, 84px);
      font-weight: 700;
      line-height: 1.1;
      letter-spacing: -0.02em;
      word-break: keep-all;
      overflow-wrap: anywhere;
    }
    .nowrap {
      display: inline-block;
      white-space: nowrap;
    }
    .hero-accent {
      color: var(--vermillion);
      font-style: italic;
      font-family: 'Fraunces', serif;
      font-weight: 400;
    }
    /* ── 強調アクセント: 朱色 + 太字 + 下線風 ── */
    .hero-accent-strong {
      color: var(--vermillion);
      font-weight: 700;
      position: relative;
      display: inline-block;
    }
    .hero-accent-strong::after {
      content: "";
      position: absolute;
      left: 0; right: 0; bottom: 0.05em;
      height: 0.18em;
      background: rgba(200, 75, 49, 0.18);
      z-index: -1;
      border-radius: 4px;
    }
    .hero-title-sub {
      display: block;
      font-size: 0.42em;
      color: var(--ink-muted);
      font-weight: 400;
      letter-spacing: 0.01em;
      margin-top: 22px;
      font-family: 'Fraunces', serif;
      font-style: italic;
    }

    .block-title {
      font-family: 'Shippori Mincho B1', serif;
      font-size: clamp(28px, 3.5vw, 44px);
      line-height: 1.2;
      font-weight: 600;
      margin-bottom: 20px;
      letter-spacing: -0.005em;
    }

    .hero-desc {
      font-size: 16px;
      line-height: 1.95;
      color: var(--ink-soft);
      max-width: 480px;
    }

    .hero-cta {
      display: flex; gap: 16px;
      align-items: center; flex-wrap: wrap;
      margin-top: 32px;
    }
    .hero-platform {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      color: var(--ink-muted);
      letter-spacing: 0.04em;
    }

    .hero-icon {
      max-width: 360px;
      width: 100%;
      margin-left: auto;
      border-radius: 32px;
      box-shadow: 0 24px 48px -16px rgba(26, 24, 21, 0.2);
      /* 通常時は傾けない (まっすぐ) でアプリアイコンを見せる。
         以前は -2deg 傾けていたが、 アイコンの線がガタついて見える
         ため平らに戻した。 */
    }
    /* ── アイコン未配置時のフォールバック (SVG) ──
       images/icon.jpg がロード失敗した時、 onerror で表示される SVG ロゴ。
       実画像と同じ寸法・回転・影で、 デプロイ忘れがあっても見栄えを保つ。 */
    .hero-icon-fallback {
      align-items: center;
      justify-content: center;
      aspect-ratio: 1 / 1;
      background: var(--paper);
      padding: 24px;
    }
    .hero-icon-fallback svg {
      width: 100%; height: 100%;
    }

    /* ===== ヒーローアプリアイコン: 出現時に浮かび上がるアニメ =====
       ページロード時に下からふわっとせり上がる演出 (rise + fade + unblur)
       完了後に微小な上下のフロート (浮遊感) を継続。
       transform は entrance、 translate は float に分離して衝突回避。
       prefers-reduced-motion: reduce のユーザーには適用しない。 */
    @keyframes hero-icon-emerge {
      0% {
        opacity: 0;
        transform: translateY(60px) scale(0.92);
        filter: blur(10px);
      }
      60% {
        filter: blur(0);
      }
      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
      }
    }
    @keyframes hero-icon-float {
      0%, 100% { translate: 0 0; }
      50%      { translate: 0 -6px; }
    }
    .hero-block.hero-main .hero-icon,
    .hero-block.hero-main .hero-icon-fallback {
      animation:
        hero-icon-emerge 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both,
        hero-icon-float 5s ease-in-out 1.5s infinite;
      will-change: transform, opacity, filter;
      transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }
    /* ── ホバー時にふわっと持ち上がる ──
       transform で持ち上げ、 box-shadow を強めて高さを表現。
       継続フロートは translate プロパティを使っているので、
       transform で上書きしても衝突せず併存して動く。 */
    .hero-block.hero-main .hero-icon:hover,
    .hero-block.hero-main .hero-icon-fallback:hover {
      transform: translateY(-14px) scale(1.05);
      box-shadow: 0 40px 80px -16px rgba(26, 24, 21, 0.32);
    }
    @media (prefers-reduced-motion: reduce) {
      .hero-block.hero-main .hero-icon,
      .hero-block.hero-main .hero-icon-fallback {
        animation: none;
        transition: none;
      }
      .hero-block.hero-main .hero-icon:hover,
      .hero-block.hero-main .hero-icon-fallback:hover {
        transform: none;
      }
    }

    .hero-video {
      width: 100%;
      border-radius: 16px;
      border: 1px solid var(--rule);
      box-shadow: 0 24px 48px -20px rgba(26, 24, 21, 0.18);
    }

    /* ===== Buttons ===== */
    .btn-primary {
      display: inline-flex; align-items: center; gap: 10px;
      padding: 16px 28px;
      background: var(--ink); color: var(--paper);
      border-radius: 100px;
      font-size: 14.5px; font-weight: 500;
      border: 1px solid var(--ink);
      transition: all 0.25s ease;
      letter-spacing: 0.02em;
    }
    .btn-primary:hover {
      background: var(--vermillion);
      border-color: var(--vermillion);
      transform: translateY(-2px);
      box-shadow: 0 12px 28px -10px rgba(200, 75, 49, 0.4);
    }
    .btn-ghost {
      display: inline-flex; align-items: center;
      padding: 14px 26px;
      background: transparent; color: var(--ink);
      border: 1px solid var(--ink);
      border-radius: 100px;
      font-size: 14px; font-weight: 500;
      transition: all 0.25s;
    }
    .btn-ghost:hover {
      background: var(--ink); color: var(--paper);
    }
    .btn-full { width: 100%; justify-content: center; padding: 16px; }
    .btn-large { padding: 18px 32px; font-size: 15px; }

    .hero-cta-dl { gap: 14px; margin-top: 32px; }
    .btn-dl { gap: 16px; padding: 14px 28px 14px 22px; align-items: center; }
    .btn-dl .dl-os {
      display: inline-flex; align-items: center; justify-content: center;
      width: 32px; height: 32px; flex: 0 0 32px;
      color: var(--paper);
      transition: transform 0.3s ease;
    }
    .btn-dl:hover .dl-os { transform: translateY(-1px) scale(1.05); }
    .btn-dl .dl-text {
      display: flex; flex-direction: column; align-items: flex-start;
      line-height: 1.15; gap: 3px;
    }
    .btn-dl .dl-label { font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em; }
    .btn-dl .dl-sub {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px; font-weight: 400; opacity: 0.65; letter-spacing: 0;
    }
    @media (max-width: 720px) {
      .hero-cta-dl { flex-direction: column; align-items: stretch; }
      .btn-dl { justify-content: center; padding: 14px 24px; }
    }

    /* ===== Features ===== */
    .features {
      padding: 120px 0;
      border-top: 1px solid var(--rule);
    }

    .section-header {
      margin-bottom: 80px;
    }
    .section-label {
      display: inline-flex; align-items: center; gap: 14px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px; letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--ink-muted);
      margin-bottom: 24px;
    }
    .section-label::before {
      content: ""; width: 24px; height: 1px;
      background: var(--vermillion);
    }
    .section-title {
      font-family: 'Shippori Mincho B1', serif;
      font-size: clamp(32px, 4.5vw, 56px);
      line-height: 1.15;
      letter-spacing: -0.005em;
      font-weight: 600;
    }
    .section-sub {
      margin-top: 20px;
      font-size: 16px;
      color: var(--ink-soft);
      max-width: 640px;
      line-height: 1.85;
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .feature-card {
      background: var(--paper);
      border: 1px solid var(--rule);
      border-radius: 12px;
      padding: 28px;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .feature-card:hover {
      transform: translateY(-4px);
      border-color: var(--ink);
      box-shadow: 0 24px 48px -20px rgba(26, 24, 21, 0.15);
    }
    .feature-media {
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: 20px;
      aspect-ratio: 16 / 10;
      background: var(--bg-warm);
    }
    .feature-media video,
    .feature-media img {
      width: 100%; height: 100%;
      object-fit: cover;
    }
    .feature-card h3 {
      font-family: 'Shippori Mincho B1', serif;
      font-size: 19px;
      font-weight: 600;
      margin-bottom: 10px;
      line-height: 1.4;
    }
    .feature-card p {
      font-size: 14px;
      color: var(--ink-soft);
      line-height: 1.75;
    }

    /* ===== Pricing ===== */
    .pricing {
      padding: 120px 0;
      background: var(--bg-warm);
      border-top: 1px solid var(--rule);
    }
    .pricing-header {
      text-align: center;
      margin-bottom: 56px;
    }
    .pricing-header .section-label {
      justify-content: center;
    }
    .pricing-header .section-label::before { display: none; }

    .billing-toggle {
      display: inline-flex; align-items: center; gap: 4px;
      padding: 6px;
      background: var(--paper);
      border: 1px solid var(--rule);
      border-radius: 100px;
      margin: 32px auto 60px;
    }
    .billing-option {
      padding: 10px 22px;
      border-radius: 100px;
      font-size: 13px; font-weight: 500;
      color: var(--ink-muted);
      background: transparent;
      border: none;
      letter-spacing: 0.02em;
      transition: all 0.25s;
      display: inline-flex; align-items: center; gap: 8px;
    }
    .billing-option.active {
      background: var(--ink); color: var(--paper);
    }
    .save-badge {
      font-size: 10px;
      padding: 2px 8px;
      border-radius: 100px;
      background: var(--vermillion);
      color: var(--paper);
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.05em;
      font-weight: 600;
    }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      max-width: 1100px;
      margin: 0 auto;
    }
    .price-card {
      background: var(--paper);
      border: 1px solid var(--rule);
      border-radius: 8px;
      padding: 40px 32px;
      position: relative;
      display: flex; flex-direction: column;
    }
    .price-card.pro {
      background: var(--ink);
      color: var(--paper);
      border-color: var(--ink);
      transform: translateY(-12px);
    }
    .price-card.pro::before {
      content: "RECOMMENDED";
      position: absolute;
      top: -12px; left: 32px;
      background: var(--vermillion);
      color: var(--paper);
      padding: 5px 14px;
      border-radius: 100px;
      font-size: 10px;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.15em;
      font-weight: 500;
    }
    .price-tier {
      font-family: 'Fraunces', serif;
      font-style: italic;
      font-size: 14px;
      color: var(--ink-muted);
      letter-spacing: 0.05em;
      margin-bottom: 6px;
    }
    .price-card.pro .price-tier { color: var(--ink-faint); }
    .price-card.max .price-tier { color: var(--gold); }

    .price-name {
      font-family: 'Shippori Mincho B1', serif;
      font-size: 28px;
      font-weight: 600;
      margin-bottom: 24px;
    }
    .price-amount {
      display: flex; align-items: baseline; gap: 4px;
      margin-bottom: 6px;
      min-height: 60px;
    }
    .price-amount .currency {
      font-family: 'Fraunces', serif;
      font-size: 22px;
      color: var(--ink-soft);
    }
    .price-card.pro .price-amount .currency { color: var(--ink-faint); }
    .price-amount .num {
      font-family: 'Shippori Mincho B1', serif;
      font-size: 56px;
      font-weight: 600;
      line-height: 1;
      letter-spacing: -0.02em;
    }
    .price-amount .period {
      font-size: 13px;
      color: var(--ink-muted);
      margin-left: 4px;
    }
    .price-card.pro .price-amount .period { color: var(--ink-faint); }

    /* ── 年プラン時の取り消し線（元の月額価格） ── */
    .price-strike {
      display: none;
      align-items: center; gap: 4px;
      font-family: 'Shippori Mincho B1', serif;
      color: var(--ink-faint);
      text-decoration: line-through;
      text-decoration-thickness: 1.5px;
      margin-bottom: 4px;
      font-size: 16px;
    }
    .price-strike .strike-currency { font-size: 13px; }
    .price-strike .strike-num { font-size: 20px; line-height: 1; }
    .price-card.pro .price-strike { color: rgba(250, 246, 238, 0.45); }

    .pricing-grid.billing-annual .price-strike {
      display: inline-flex;
    }

    /* ── 「20% OFF」バッジ（年プラン時のみ表示） ── */
    .discount-badge {
      display: none;
      align-items: center; gap: 6px;
      padding: 4px 12px;
      background: rgba(200, 75, 49, 0.12);
      color: var(--vermillion);
      border: 1px solid rgba(200, 75, 49, 0.3);
      border-radius: 100px;
      font-size: 11px;
      font-family: 'JetBrains Mono', monospace;
      font-weight: 600;
      letter-spacing: 0.08em;
      margin-bottom: 14px;
      width: fit-content;
    }
    .pricing-grid.billing-annual .discount-badge {
      display: inline-flex;
    }
    .price-card.pro .discount-badge {
      background: rgba(200, 75, 49, 0.25);
      color: #FF8B72;
      border-color: rgba(200, 75, 49, 0.5);
    }

    .price-sub {
      font-size: 13px;
      color: var(--ink-muted);
      margin-bottom: 8px;
      font-family: 'Fraunces', serif;
      font-style: italic;
      min-height: 20px;
    }
    .price-card.pro .price-sub { color: var(--ink-faint); }

    .price-annual-note {
      font-size: 11px;
      color: var(--ink-muted);
      margin-bottom: 24px;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.04em;
      min-height: 18px;
      transition: color 0.25s, font-weight 0.25s;
    }
    .price-card.pro .price-annual-note { color: var(--ink-faint); }

    .pricing-grid.billing-annual .price-annual-note {
      color: var(--vermillion);
      font-weight: 600;
    }
    .pricing-grid.billing-annual .price-card.pro .price-annual-note {
      color: #FF8B72;
    }

    .price-features {
      list-style: none;
      margin-bottom: 28px;
      flex-grow: 1;
    }
    .price-features li {
      padding: 11px 0;
      border-bottom: 1px dashed var(--rule);
      font-size: 14px;
      display: flex; align-items: center; gap: 12px;
    }
    .price-card.pro .price-features li {
      border-bottom-color: rgba(250, 246, 238, 0.12);
    }
    .price-features li::before {
      content: "";
      width: 16px; height: 16px;
      background: var(--sage);
      -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center;
      mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center;
      flex-shrink: 0;
    }
    .price-card.pro .price-features li::before { background: var(--vermillion); }
    .price-card.max .price-features li::before { background: var(--gold); }

    .price-cta {
      width: 100%;
      padding: 14px;
      border-radius: 100px;
      border: 1px solid var(--ink);
      background: var(--ink);
      color: var(--paper);
      font-size: 14px; font-weight: 500;
      transition: all 0.25s;
      letter-spacing: 0.02em;
    }
    .price-card.free .price-cta {
      background: transparent;
      color: var(--ink);
    }
    .price-card.free .price-cta:hover {
      background: var(--ink); color: var(--paper);
    }
    .price-card.pro .price-cta {
      background: var(--vermillion);
      border-color: var(--vermillion);
    }
    .price-card.pro .price-cta:hover {
      background: var(--paper); color: var(--ink);
      border-color: var(--paper);
    }
    .price-card.max .price-cta {
      background: transparent;
      color: var(--ink);
    }
    .price-card.max .price-cta:hover {
      background: var(--ink); color: var(--paper);
    }

    /* ===== Page hero (sub pages) ===== */
    .page-hero {
      padding: 160px 0 60px;
      text-align: center;
      border-bottom: 1px solid var(--rule);
    }
    .page-hero-title {
      font-family: 'Shippori Mincho B1', serif;
      font-size: clamp(40px, 5vw, 64px);
      font-weight: 600;
      letter-spacing: -0.005em;
      margin-bottom: 16px;
    }
    .page-hero-sub {
      font-size: 16px;
      color: var(--ink-soft);
      font-family: 'Fraunces', serif;
      font-style: italic;
    }

    /* ===== Forms (download / contact) ===== */
    .form-section {
      padding: 80px 0 120px;
    }
    .form-container {
      max-width: 600px;
      margin: 0 auto;
    }
    .form-panel {
      background: var(--paper);
      border: 1px solid var(--rule);
      border-radius: 12px;
      padding: 48px;
    }
    .panel-title {
      font-family: 'Shippori Mincho B1', serif;
      font-size: 26px;
      font-weight: 600;
      margin-bottom: 8px;
    }
    .panel-sub {
      font-size: 14px;
      color: var(--ink-muted);
      margin-bottom: 32px;
      font-family: 'Fraunces', serif;
      font-style: italic;
    }
    .field-group {
      margin-bottom: 22px;
    }
    .field-group label {
      display: block;
      font-size: 13px;
      font-weight: 500;
      color: var(--ink-soft);
      margin-bottom: 8px;
      letter-spacing: 0.02em;
    }
    .required {
      color: var(--vermillion);
      font-weight: 600;
    }
    .field-group input,
    .field-group select,
    .field-group textarea {
      width: 100%;
      padding: 12px 16px;
      background: var(--bg);
      border: 1px solid var(--rule);
      border-radius: 8px;
      font-family: inherit;
      font-size: 14.5px;
      color: var(--ink);
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .field-group input:focus,
    .field-group select:focus,
    .field-group textarea:focus {
      outline: none;
      border-color: var(--ink);
      box-shadow: 0 0 0 3px rgba(26, 24, 21, 0.06);
    }
    .field-group textarea {
      resize: vertical;
      min-height: 120px;
      font-family: inherit;
    }
    .field-group input.is-error,
    .field-group select.is-error,
    .field-group textarea.is-error {
      border-color: var(--error);
      box-shadow: 0 0 0 3px rgba(200, 75, 49, 0.1);
    }
    .error-msg {
      display: block;
      font-size: 12px;
      color: var(--error);
      margin-top: 6px;
      min-height: 16px;
      font-family: 'JetBrains Mono', monospace;
    }

    /* Result panel (after submit) */
    .result-panel {
      background: var(--paper);
      border: 1px solid var(--rule);
      border-radius: 12px;
      padding: 56px 48px;
      text-align: center;
    }
    .result-icon {
      font-size: 48px;
      margin-bottom: 16px;
    }
    .result-title {
      font-family: 'Shippori Mincho B1', serif;
      font-size: 32px;
      font-weight: 600;
      margin-bottom: 14px;
    }
    .result-sub {
      font-size: 15px;
      color: var(--ink-soft);
      margin-bottom: 32px;
      line-height: 1.85;
    }
    .dl-buttons {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 24px;
    }
    .result-note {
      font-size: 12px;
      color: var(--ink-muted);
      margin-top: 16px;
      margin-bottom: 24px;
      font-family: 'Fraunces', serif;
      font-style: italic;
      line-height: 1.7;
    }

    /* ===== Footer ===== */
    footer {
      padding: 60px 0 40px;
      border-top: 1px solid var(--rule);
      background: var(--bg-warm);
    }
    .footer-inner {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 40px;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 32px;
      position: relative; z-index: 2;
    }
    .footer-brand {
      font-family: 'Shippori Mincho B1', serif;
      font-size: 19px;
      font-weight: 600;
      display: flex; align-items: center; gap: 10px;
    }
    .footer-nav {
      display: flex; gap: 28px;
      font-size: 13.5px;
    }
    .footer-nav a {
      color: var(--ink-soft);
      transition: color 0.2s;
    }
    .footer-nav a:hover { color: var(--vermillion); }
    .footer-copy {
      font-size: 12px;
      color: var(--ink-muted);
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.02em;
      line-height: 1.8;
      width: 100%;
      padding-top: 24px;
      border-top: 1px solid var(--rule);
      margin-top: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }
    .visitor-counter {
      display: inline-flex;
      align-items: baseline;
      gap: 8px;
      padding: 4px 12px;
      border: 1px solid var(--rule);
      border-radius: 100px;
      background: var(--paper);
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      color: var(--ink-muted);
      transition: all 0.2s ease;
    }
    .visitor-counter:hover {
      border-color: var(--ink-soft);
      color: var(--ink);
    }
    .visitor-counter .vc-label {
      font-size: 10px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      opacity: 0.7;
    }
    .visitor-counter .vc-num {
      font-size: 12px;
      font-weight: 500;
      color: var(--ink-soft);
      font-variant-numeric: tabular-nums;
      letter-spacing: 0.02em;
    }
    @media (max-width: 720px) {
      .footer-copy {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    /* ===== Animations ===== */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.in {
      opacity: 1; transform: translateY(0);
    }

    /* ===== Responsive ===== */
    @media (max-width: 1100px) {
      .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
      .price-card.pro { transform: none; }
    }
    @media (max-width: 980px) {
      .container, .footer-inner { padding: 0 24px; }
      nav { padding: 14px 16px; }
      .nav-links { gap: 4px; font-size: 11.5px; letter-spacing: 0.02em; }

      /* モバイルではナビリンクをアイコン+短いラベルでコンパクトに表示 */
      .nav-link {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 6px 7px;
      }
      .nav-link::before {
        content: '';
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        background-color: currentColor;
        -webkit-mask-position: center;
                mask-position: center;
        -webkit-mask-repeat: no-repeat;
                mask-repeat: no-repeat;
        -webkit-mask-size: contain;
                mask-size: contain;
      }
      /* data-page 属性ごとに SVG アイコンを差し込む (currentColor で着色) */
      .nav-link[data-page="home"]::before {
        -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3 3 11v10h6v-6h6v6h6V11z'/%3E%3C/svg%3E");
                mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3 3 11v10h6v-6h6v6h6V11z'/%3E%3C/svg%3E");
      }
      .nav-link[data-page="features"]::before {
        -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2l2.4 7.6L22 12l-7.6 2.4L12 22l-2.4-7.6L2 12l7.6-2.4z'/%3E%3C/svg%3E");
                mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2l2.4 7.6L22 12l-7.6 2.4L12 22l-2.4-7.6L2 12l7.6-2.4z'/%3E%3C/svg%3E");
      }
      .nav-link[data-page="pricing"]::before {
        -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 3v9l9 9 9-9-9-9H3zm4.5 5.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E");
                mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 3v9l9 9 9-9-9-9H3zm4.5 5.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E");
      }
      .nav-link[data-page="contact"]::before {
        -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M2 5v14h20V5H2zm10 8L4 7h16l-8 6z'/%3E%3C/svg%3E");
                mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M2 5v14h20V5H2zm10 8L4 7h16l-8 6z'/%3E%3C/svg%3E");
      }

      /* CTA ボタンはモバイルで余白を詰める */
      .nav-cta { padding: 7px 12px; }
      .nav-cta::before { background-color: var(--paper); }

      .hero { padding: 120px 0 60px; }
      .hero-block,
      .hero-block.reverse,
      .hero-block.hero-main {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
      }
      .hero-block.reverse .hero-left { order: 1; }
      .hero-block.reverse .hero-right { order: 2; }
      .hero-icon { max-width: 280px; margin: 0 auto; }
      .hero-block.hero-main .hero-icon { max-width: 240px; margin: 0 auto; }
      /* picture ラッパーも中央寄せ (img は display:block だが picture は inline) */
      .hero-block.hero-main .hero-right { text-align: center; }
      .hero-block.hero-main .hero-right picture { display: block; }

      .feature-grid { grid-template-columns: 1fr; }
      .form-panel, .result-panel { padding: 32px 24px; }
      .footer-inner { flex-direction: column; }
    }

    /* ===== 機能インデックスカード ===== */
    .features-index {
      padding: 60px 0 120px;
    }
    .features-index-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 28px;
      margin-top: 48px;
    }
    /* 3 つの柱用 (4つから減ったので 3 列展開) */
    .features-index-grid-3 {
      grid-template-columns: repeat(3, 1fr);
    }
    .features-index-card {
      background: var(--paper);
      border: 1px solid var(--rule);
      border-radius: 16px;
      padding: 40px;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      cursor: pointer;
      display: flex; flex-direction: column;
      min-height: 280px;
    }
    .features-index-card:hover {
      transform: translateY(-6px);
      border-color: var(--ink);
      box-shadow: 0 32px 60px -24px rgba(26, 24, 21, 0.18);
    }
    .features-index-card .ix-emoji {
      font-size: 38px;
      margin-bottom: 16px;
    }
    .features-index-card h3 {
      font-family: 'Shippori Mincho B1', serif;
      font-size: 26px;
      font-weight: 600;
      margin-bottom: 14px;
    }
    .features-index-card p {
      font-size: 14.5px;
      color: var(--ink-soft);
      line-height: 1.85;
      flex-grow: 1;
    }
    .features-index-card .ix-cta {
      margin-top: 24px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      color: var(--vermillion);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      display: inline-flex; align-items: center; gap: 8px;
      transition: gap 0.25s;
    }
    .features-index-card:hover .ix-cta { gap: 14px; }

    /* ===== 機能詳細ページ共通 ===== */
    .feature-detail-section {
      padding: 80px 0;
      border-top: 1px solid var(--rule);
    }
    .feature-detail-section:first-of-type {
      border-top: none;
      padding-top: 60px;
    }
    .feature-detail-block {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: start;
    }
    .feature-detail-block.reverse .fd-left { order: 2; }
    .feature-detail-block.reverse .fd-right { order: 1; }

    .fd-eyebrow {
      display: inline-flex; align-items: center; gap: 12px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px; letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--vermillion);
      margin-bottom: 22px;
    }
    .fd-eyebrow::before {
      content: ""; width: 28px; height: 1px;
      background: var(--vermillion);
    }
    .fd-title {
      font-family: 'Shippori Mincho B1', serif;
      font-size: clamp(28px, 3.5vw, 40px);
      line-height: 1.2;
      font-weight: 600;
      margin-bottom: 22px;
      letter-spacing: -0.005em;
    }
    .fd-desc {
      font-size: 15.5px;
      color: var(--ink-soft);
      line-height: 1.95;
      margin-bottom: 24px;
    }
    .fd-points {
      list-style: none;
      margin-top: 28px;
    }
    .fd-points li {
      padding: 12px 0;
      border-bottom: 1px dashed var(--rule);
      font-size: 14.5px;
      display: flex; gap: 14px;
      line-height: 1.7;
    }
    .fd-points li:last-child { border-bottom: none; }
    .fd-points li::before {
      content: "✓";
      color: var(--vermillion);
      font-weight: 700;
      flex-shrink: 0;
      width: 18px;
      font-family: 'JetBrains Mono', monospace;
    }
    .fd-points li b {
      color: var(--ink);
      font-weight: 600;
    }
    .fd-media {
      background: var(--bg-warm);
      border: 1px solid var(--rule);
      border-radius: 12px;
      overflow: hidden;
      aspect-ratio: 16 / 11;
      display: flex; align-items: center; justify-content: center;
    }
    .fd-media video,
    .fd-media img {
      width: 100%; height: 100%;
      object-fit: cover;
    }
    .fd-media-placeholder {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      color: var(--ink-faint);
      letter-spacing: 0.1em;
      text-align: center;
    }

    /* ===== ハイライトカード (機能詳細ページ用 3 列) ===== */
    .highlight-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 48px;
    }
    .highlight-card {
      background: var(--paper);
      border: 1px solid var(--rule);
      border-radius: 12px;
      padding: 28px;
    }
    .highlight-card .hl-num {
      font-family: 'Fraunces', serif;
      font-style: italic;
      font-size: 14px;
      color: var(--vermillion);
      margin-bottom: 10px;
      letter-spacing: 0.04em;
    }
    .highlight-card h4 {
      font-family: 'Shippori Mincho B1', serif;
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 10px;
      line-height: 1.4;
    }
    .highlight-card p {
      font-size: 13.5px;
      color: var(--ink-soft);
      line-height: 1.8;
    }

    /* ===== Stat ストリップ (数字を並べる) ===== */
    .stat-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      margin: 60px 0;
      border-top: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
    }
    .stat-strip-3 {
      grid-template-columns: repeat(3, 1fr);
    }
    .stat-strip-2 {
      grid-template-columns: 1fr 1.4fr;
    }

    /* ── 内訳リスト型のセル (AI モデル名や言語一覧を直接見せる) ──
       数字 1 つだけより、 中身がそのまま読めた方が訴求が強いケース用。
       全体は中央揃え (text-align: center + justify-content: center) で、
       左右の境界線で対比を見せる構成。 */
    .stat-cell-list {
      padding: 36px 28px;
      text-align: center;
      display: flex; flex-direction: column; gap: 18px;
      justify-content: center;
      align-items: center;
    }
    .stat-list-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      color: var(--ink-muted);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      display: flex; align-items: baseline; justify-content: center; gap: 10px;
    }
    .stat-list-count {
      font-family: 'Shippori Mincho B1', serif;
      font-size: 22px;
      font-weight: 600;
      color: var(--vermillion);
      letter-spacing: -0.01em;
    }
    .stat-list-items {
      display: flex; flex-wrap: wrap; gap: 10px;
      justify-content: center;
    }
    /* 3×3 グリッド表示 (言語一覧用)。 各チップが均等幅に並んで整列する。
       AI モデル側の縦 3 行と高さ・ 余白感を揃えて、 左右で見た目のリズムが
       揃うようにする。 */
    .stat-list-grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-auto-rows: 50px;
      gap: 10px;
      max-width: 460px;
      margin: 0 auto;
    }
    .stat-list-grid-3 .stat-chip {
      justify-content: center;
      width: 100%;
      height: 100%;
      padding: 0 14px;
      font-size: 14px;
      font-weight: 500;
      color: var(--ink);
      background: var(--paper);
    }
    /* 30 言語ぶんの一覧表示。 5 列 × 6 行に詰めて、 行高は 36px と
       やや低め。 縦に長くなり過ぎないようコンパクトに収める。 */
    .stat-list-grid-30 {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      grid-auto-rows: 36px;
      gap: 8px;
      max-width: 560px;
      margin: 0 auto;
    }
    .stat-list-grid-30 .stat-chip {
      justify-content: center;
      width: 100%;
      height: 100%;
      padding: 0 8px;
      font-size: 12px;
      font-weight: 500;
      color: var(--ink);
      background: var(--paper);
      letter-spacing: 0;
      white-space: nowrap;
    }
    .stat-chip {
      display: inline-flex; align-items: center;
      padding: 6px 12px;
      background: var(--paper);
      border: 1px solid var(--rule);
      border-radius: 100px;
      font-size: 13px;
      font-weight: 500;
      color: var(--ink-soft);
      letter-spacing: 0.01em;
      transition: all 0.2s;
    }
    .stat-chip:hover {
      border-color: var(--vermillion);
      color: var(--vermillion);
    }

    /* ── AI モデル側 (左セル) を訴求強化 ──
       「ChatGPT / Gemini / Claude」と聞いて伝わる大きさ・存在感に。
       縦並びの 3 行表示、 各モデル名は明朝体 + 太字。
       右側の言語グリッドと行高 (50px) ・ 行間 (gap 10px) を揃えて、
       3 行ぶんの全体高がぴったり一致するようにする。 */
    .stat-list-ai {
      display: flex; flex-direction: column; gap: 10px;
      align-items: stretch;
      width: 100%;
      max-width: 240px;
    }
    .stat-chip-ai {
      display: flex; align-items: center;
      justify-content: center;
      height: 50px;
      padding: 0 14px;
      background: var(--paper);
      border: 1px solid var(--rule);
      border-radius: 100px;
      font-family: 'Shippori Mincho B1', serif;
      font-size: 18px;
      font-weight: 600;
      color: var(--ink);
      transition: all 0.25s ease;
    }
    .stat-chip-ai:hover {
      border-color: var(--vermillion);
      transform: translateY(-2px);
      box-shadow: 0 12px 24px -12px rgba(200, 75, 49, 0.35);
    }
    .stat-cell {
      padding: 32px 24px;
      text-align: center;
      border-right: 1px solid var(--rule);
    }
    .stat-cell:last-child { border-right: none; }
    .stat-cell .stat-num {
      font-family: 'Shippori Mincho B1', serif;
      font-size: 42px;
      font-weight: 600;
      line-height: 1;
      color: var(--vermillion);
      letter-spacing: -0.01em;
    }
    .stat-cell .stat-label {
      margin-top: 10px;
      font-size: 12px;
      color: var(--ink-muted);
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    /* ===== Windows ショートカット表 (features.html) ===== */
    /* キーボードキーの見た目を再現する <kbd> 要素。 単体でも複数でも
       使えるよう inline-block + 等幅フォント。 影で物理キーらしい立体感。 */
    kbd {
      display: inline-block;
      min-width: 28px;
      padding: 3px 8px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      font-weight: 500;
      color: var(--ink);
      background: var(--paper);
      border: 1px solid var(--rule);
      border-bottom-width: 2px;
      border-radius: 4px;
      text-align: center;
      box-shadow: 0 1px 0 rgba(0,0,0,0.04);
      white-space: nowrap;
    }
    /* ショートカット表本体。 feature-matrix と並べて違和感のないトーン。 */
    .shortcut-table {
      width: 100%;
      border-collapse: collapse;
      margin: 16px 0 32px;
      background: var(--paper);
      border: 1px solid var(--rule);
      border-radius: 8px;
      overflow: hidden;
      font-size: 14px;
    }
    .shortcut-table thead th {
      padding: 14px 16px;
      text-align: left;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 500;
      color: var(--ink-muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      background: var(--bg-warm);
      border-bottom: 1px solid var(--rule);
    }
    .shortcut-table tbody td {
      padding: 14px 16px;
      border-bottom: 1px solid var(--rule);
      vertical-align: middle;
      color: var(--ink);
    }
    .shortcut-table tbody tr:last-child td { border-bottom: none; }
    .shortcut-table tbody tr:hover { background: var(--bg-warm); }
    .shortcut-table .sc-keys {
      width: 220px;
      white-space: nowrap;
    }
    .shortcut-table .sc-keys .plus {
      margin: 0 4px;
      color: var(--ink-muted);
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
    }
    .shortcut-table .sc-name {
      font-weight: 500;
      width: 220px;
    }
    .shortcut-table .sc-desc {
      color: var(--ink-soft);
      font-size: 13px;
      line-height: 1.7;
    }
    .shortcut-section-title {
      font-family: 'Shippori Mincho B1', serif;
      font-size: 22px;
      font-weight: 600;
      color: var(--ink);
      margin: 48px 0 8px;
      letter-spacing: -0.005em;
    }
    .shortcut-section-title:first-of-type { margin-top: 16px; }
    .shortcut-section-sub {
      font-size: 13px;
      color: var(--ink-soft);
      margin-bottom: 8px;
      line-height: 1.7;
    }
    .shortcut-note {
      margin-top: 32px;
      padding: 20px 24px;
      background: var(--bg-warm);
      border-left: 3px solid var(--vermillion);
      border-radius: 0 6px 6px 0;
      font-size: 13px;
      color: var(--ink-soft);
      line-height: 1.8;
    }
    .shortcut-note b { color: var(--ink); }

    /* ── ショートカット実践動画 ── */
    .shortcut-demo {
      margin-top: 24px;
      border: 1px solid var(--rule);
      border-radius: 12px;
      overflow: hidden;
      background: var(--paper);
      box-shadow: 0 8px 24px -12px rgba(26, 24, 21, 0.12);
    }
    .shortcut-demo video {
      display: block;
      width: 100%;
      height: auto;
      background: var(--ink);
    }
    .shortcut-demo-caption {
      padding: 12px 18px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      color: var(--ink-muted);
      letter-spacing: 0.04em;
      border-top: 1px solid var(--rule);
      background: var(--bg-warm);
    }
    .shortcut-demo-caption b {
      color: var(--ink);
      font-weight: 500;
    }
    @media (max-width: 720px) {
      .shortcut-table { font-size: 12px; }
      .shortcut-table thead { display: none; }
      .shortcut-table tbody td {
        display: block;
        padding: 8px 14px;
        border-bottom: none;
      }
      .shortcut-table tbody tr {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid var(--rule);
      }
      .shortcut-table tbody tr:last-child { border-bottom: none; }
      .shortcut-table .sc-keys { width: auto; padding-bottom: 4px; }
      .shortcut-table .sc-name { width: auto; padding-top: 0; }
      .shortcut-table .sc-desc { padding-top: 0; }
    }

    /* ===== ナビゲーションフッター (前後のページ案内) ===== */
    .pages-nav {
      padding: 60px 0 100px;
      border-top: 1px solid var(--rule);
      background: var(--bg-warm);
    }
    .pages-nav-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
    .pages-nav-card {
      background: var(--paper);
      border: 1px solid var(--rule);
      border-radius: 10px;
      padding: 24px 28px;
      transition: all 0.3s;
      display: flex; flex-direction: column; gap: 6px;
    }
    .pages-nav-card:hover {
      border-color: var(--ink);
      transform: translateY(-2px);
    }
    .pages-nav-card .pn-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      color: var(--ink-muted);
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }
    .pages-nav-card .pn-title {
      font-family: 'Shippori Mincho B1', serif;
      font-size: 18px;
      font-weight: 600;
      color: var(--ink);
    }
    .pages-nav-card.next { text-align: right; }

    /* ===== Pricing ページ (独立) ===== */
    .pricing-detail {
      padding: 80px 0 60px;
    }
    .pricing-info-banner {
      background: var(--paper);
      border: 1px solid var(--rule);
      border-left: 4px solid var(--vermillion);
      border-radius: 8px;
      padding: 24px 28px;
      margin-bottom: 48px;
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }
    .pricing-info-banner .info-icon {
      font-size: 22px;
      line-height: 1;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .pricing-info-banner h4 {
      font-family: 'Shippori Mincho B1', serif;
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 6px;
    }
    .pricing-info-banner p {
      font-size: 13.5px;
      color: var(--ink-soft);
      line-height: 1.7;
    }
    .pricing-info-banner code {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      background: var(--bg-warm);
      padding: 2px 8px;
      border-radius: 4px;
      color: var(--vermillion);
    }

    .feature-matrix {
      width: 100%;
      border-collapse: collapse;
      margin-top: 60px;
      background: var(--paper);
      border: 1px solid var(--rule);
      border-radius: 12px;
      overflow: hidden;
    }
    .feature-matrix thead th {
      background: var(--bg-warm);
      padding: 18px 16px;
      text-align: center;
      font-family: 'Shippori Mincho B1', serif;
      font-weight: 600;
      font-size: 15px;
      border-bottom: 1px solid var(--rule);
      color: var(--ink);
    }
    .feature-matrix thead th:first-child {
      text-align: left;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink-muted);
      font-weight: 500;
    }
    .feature-matrix thead th.col-pro {
      color: var(--vermillion);
    }
    .feature-matrix thead th.col-max {
      color: var(--gold);
    }
    .feature-matrix tbody td {
      padding: 14px 16px;
      border-bottom: 1px dashed var(--rule);
      font-size: 13.5px;
      text-align: center;
      color: var(--ink-soft);
    }
    .feature-matrix tbody td:first-child {
      text-align: left;
      color: var(--ink);
      font-weight: 500;
    }
    .feature-matrix tbody tr:last-child td {
      border-bottom: none;
    }
    .matrix-yes {
      color: var(--sage);
      font-size: 18px;
      font-weight: 700;
    }
    .matrix-no {
      color: var(--ink-faint);
      font-size: 16px;
    }
    .matrix-meta {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      color: var(--ink-muted);
    }

    /* ===== FAQ アコーディオン ===== */
    .faq-section {
      padding: 80px 0;
      border-top: 1px solid var(--rule);
    }
    .faq-list {
      max-width: 800px;
      margin: 48px auto 0;
    }
    .faq-item {
      border-bottom: 1px solid var(--rule);
    }
    .faq-q {
      padding: 22px 0;
      cursor: pointer;
      display: flex; align-items: center; justify-content: space-between;
      gap: 24px;
      font-family: 'Shippori Mincho B1', serif;
      font-size: 17px;
      font-weight: 600;
      color: var(--ink);
      transition: color 0.2s;
    }
    .faq-q:hover { color: var(--vermillion); }
    .faq-q .faq-toggle {
      flex-shrink: 0;
      width: 24px; height: 24px;
      border-radius: 50%;
      border: 1px solid var(--ink-faint);
      display: flex; align-items: center; justify-content: center;
      font-size: 14px;
      color: var(--ink-soft);
      transition: all 0.25s;
    }
    .faq-item.open .faq-toggle {
      background: var(--vermillion);
      border-color: var(--vermillion);
      color: var(--paper);
      transform: rotate(45deg);
    }
    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .faq-a-inner {
      padding: 0 0 22px;
      font-size: 14.5px;
      color: var(--ink-soft);
      line-height: 1.95;
    }
    .faq-item.open .faq-a {
      max-height: 600px;
    }

    /* ===== レスポンシブ追加 ===== */
    @media (max-width: 980px) {
      .features-index-grid { grid-template-columns: 1fr; }
      .feature-detail-block,
      .feature-detail-block.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .feature-detail-block.reverse .fd-left { order: 1; }
      .feature-detail-block.reverse .fd-right { order: 2; }
      .highlight-grid { grid-template-columns: 1fr; }
      .stat-strip { grid-template-columns: repeat(2, 1fr); }
      .stat-strip-3 { grid-template-columns: 1fr; }
      .stat-strip-3 .stat-cell {
        border-right: none;
        border-bottom: 1px solid var(--rule);
      }
      .stat-strip-3 .stat-cell:last-child { border-bottom: none; }
      .stat-strip-2 {
        grid-template-columns: 1fr;
      }
      .stat-strip-2 .stat-cell {
        border-right: none;
        border-bottom: 1px solid var(--rule);
      }
      .stat-strip-2 .stat-cell:last-child { border-bottom: none; }
      .stat-cell:nth-child(2) { border-right: none; }
      .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
      /* 30 言語グリッドはモバイルで 3 列に折り返し、 行高も少し下げる */
      .stat-list-grid-30 {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 32px;
        gap: 6px;
        max-width: 360px;
      }
      .stat-list-grid-30 .stat-chip {
        font-size: 11px;
        padding: 0 6px;
      }
      .pages-nav-grid { grid-template-columns: 1fr; }
      .feature-matrix { font-size: 12px; }
      .feature-matrix thead th,
      .feature-matrix tbody td { padding: 10px 8px; }
    }
    /* ===== モバイル: ナビをアイコンのみに (CTA も含む) ===== */
    @media (max-width: 640px) {
      nav { padding: 12px 12px; }
      .nav-links { gap: 2px; }
      .nav-link {
        font-size: 0;
        gap: 0;
        padding: 8px 6px;
      }
      .nav-link::before {
        width: 18px;
        height: 18px;
      }
      /* CTA は小さな黒い丸ピルとして残す (アイコンのみ) */
      .nav-cta {
        padding: 9px 11px;
      }
      /* 言語切替も詰める */
      .lang-switcher .lang-toggle { padding: 6px 10px; font-size: 11px; }
    }
