/* ============================================================
   UX-HATCH 研修LP 共通スタイル
   デザイントークンはコーポレートサイトV2（design/reference-v2.html）準拠：
   紙色の背景 × 墨色 × ブルー / Archivo(見出し英字・数字) / JetBrains Mono(ラベル)
============================================================ */
:root {
  --paper: #F2EFE9;   /* ベース背景（紙色） */
  --paper2: #EBE7DC;  /* 交互セクション用のやや濃い紙色 */
  --card: #FFFFFF;
  --ink: #0E0E10;     /* 文字・線のメイン（墨色） */
  --dark: #0A0A0B;    /* ダークセクション背景 */
  --blue: #2563eb;    /* アクセント（V2のブルーに一致） */
  --sky: #5B8DEF;
  --amber: #f59e0b;   /* 助成金など「お得」強調のみ */
  --line: #D9D4C9;    /* 紙面上の罫線 */
  --mut: #6F6C66;     /* 補足テキスト */
  /* 旧トークンの互換エイリアス */
  --navy: #0A0A0B;
  --bg: #F2EFE9;
  --bg2: #EBE7DC;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
.en {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .14em; text-transform: uppercase;
}

/* ===== 背景グリッド（紙色に薄く） ===== */
.gridbg { position: relative; }
.gridbg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(14,14,16,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,14,16,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}

/* ===== ナビ ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px;
  background: rgba(242,239,233,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex; align-items: center;
  font-family: 'Archivo', 'Noto Sans JP', sans-serif;
  font-weight: 900; font-size: 16px; letter-spacing: .02em;
  color: var(--ink); text-decoration: none;
}
.logo b { color: var(--blue); }
.nav .links { display: flex; gap: 24px; font-size: 13px; font-weight: 700; }
.nav .links a { color: var(--mut); text-decoration: none; transition: color .2s; }
.nav .links a:hover { color: var(--ink); }
.btn-nav {
  border: 1.5px solid var(--ink); color: var(--ink);
  font-weight: 700; font-size: 13px; text-decoration: none;
  padding: 10px 22px; border-radius: 99px; white-space: nowrap;
  transition: background .2s, color .2s;
}
.btn-nav:hover { background: var(--ink); color: var(--paper); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn-nav.ghost { border-color: var(--amber); color: #8a5c08; }
.btn-nav.ghost:hover { background: var(--amber); color: #1a1408; border-color: var(--amber); }

/* ===== ボタン ===== */
.btn-main {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff; font-weight: 700; text-decoration: none;
  padding: 17px 32px; border-radius: 99px; font-size: 15.5px; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.btn-main .ar { font-family: 'JetBrains Mono', monospace; transition: transform .25s; }
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37,99,235,.3); }
.btn-main:hover .ar { transform: translateX(5px); }
.btn-main::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-20deg); animation: shine 3.6s ease infinite;
}
@keyframes shine { 0%,60% { left: -80%; } 100% { left: 130%; } }
.btn-sub {
  display: inline-flex; align-items: center; border: 1.5px solid var(--ink);
  color: var(--ink); font-weight: 700; text-decoration: none;
  padding: 16px 28px; border-radius: 99px; font-size: 15px;
  transition: background .2s, color .2s;
}
.btn-sub:hover { background: var(--ink); color: var(--paper); }
.btn-amber {
  background: var(--amber); color: #1a1408; font-weight: 900; text-decoration: none;
  padding: 16px 30px; border-radius: 99px; font-size: 15px; white-space: nowrap;
  transition: transform .25s, box-shadow .25s; display: inline-block;
}
.btn-amber:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(245,158,11,.35); }

/* ===== ヒーロー ===== */
.hero { position: relative; max-width: 1160px; margin: 0 auto; padding: 96px 28px 72px; }
.hero .meta { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero .meta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,99,235,.4); }
  70% { box-shadow: 0 0 0 12px rgba(37,99,235,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}
.hero .meta .en { font-size: 12px; font-weight: 700; color: var(--mut); letter-spacing: .24em; }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 72px); font-weight: 900;
  line-height: 1.2; letter-spacing: -0.01em;
}
.hero h1 .row { display: block; overflow: hidden; }
.hero h1 .row > span { display: inline-block; transform: translateY(110%); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero h1 .row:nth-child(2) > span { animation-delay: .14s; }
@keyframes rise { to { transform: translateY(0); } }
/* 「指示待ち」＝くすませて取り消し線。日本語は中抜きだと字画が潰れるため塗りで表現する */
.hero h1 .stroke { position: relative; color: #A9A296; }
.hero h1 .stroke::after {
  content: ""; position: absolute; left: -1.5%; right: -1.5%; top: 56%;
  height: .075em; border-radius: 3px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  animation: strike .65s cubic-bezier(.2,.7,.2,1) 1.05s forwards;
}
@keyframes strike { to { transform: scaleX(1); } }
.hero h1 .grad { color: var(--blue); }
.hero .lead { margin-top: 26px; max-width: 560px; font-size: 16px; line-height: 2; color: var(--mut); opacity: 0; animation: fade .8s ease .5s forwards; }
@keyframes fade { to { opacity: 1; } }
.hero .btns { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fade .8s ease .7s forwards; }

/* ヒーロー右の浮遊カード */
.float-wrap { position: absolute; right: 28px; top: 110px; width: 340px; display: flex; flex-direction: column; gap: 14px; }
.fcard {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; box-shadow: 0 10px 30px rgba(14,14,16,.07);
  animation: bob 5.5s ease-in-out infinite;
}
.fcard:nth-child(2) { margin-left: 36px; animation-delay: 1.2s; }
.fcard:nth-child(3) { margin-left: -14px; animation-delay: 2.3s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.fcard .t { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; color: var(--mut); letter-spacing: .12em; margin-bottom: 4px; }
.fcard .v { font-size: 20px; font-weight: 900; line-height: 1.5; }
.fcard .v b { color: var(--blue); }
.fcard.amber { border-left: 3px solid var(--amber); }
.fcard.amber .v b { color: var(--amber); }
a.fcard { text-decoration: none; color: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
a.fcard:hover { border-color: var(--ink); box-shadow: 0 14px 34px rgba(14,14,16,.12); }
a.fcard .go { font-family: 'JetBrains Mono', monospace; color: var(--amber); font-weight: 700; display: inline-block; transition: transform .2s; }
a.fcard:hover .go { transform: translateX(4px); }

/* ===== ティッカー ===== */
.ticker { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper); overflow: hidden; padding: 15px 0; }
.ticker .track { display: flex; gap: 44px; width: max-content; animation: scrollx 26s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.ticker .item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13.5px; color: var(--ink); white-space: nowrap; }
.ticker .item .en { font-size: 11px; color: var(--mut); }

/* ===== 実績数字 ===== */
.stats { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.stats::before {
  pointer-events: none;
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.25), transparent 60%);
  top: -220px; right: -120px;
}
.stats .in { max-width: 1160px; margin: 0 auto; padding: 64px 28px; display: grid; grid-template-columns: repeat(3,1fr); }
.stats .cell { text-align: center; padding: 10px 16px; position: relative; }
.stats .cell + .cell::before {
  content: ""; position: absolute; left: 0; top: 18%; height: 64%; width: 1px;
  background: rgba(255,255,255,.14);
}
.stats .num { font-family: 'Archivo', 'Noto Sans JP', sans-serif; font-size: 58px; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.stats .num .cnt { display: inline-block; min-width: 1.6em; text-align: right; }
.stats .num small { font-size: 20px; font-weight: 700; margin-left: 2px; }
.stats .cap { margin-top: 10px; font-size: 12.5px; color: rgba(255,255,255,.55); letter-spacing: .04em; }
.stats .note { grid-column: 1 / -1; text-align: center; font-size: 11px; color: rgba(255,255,255,.38); margin-top: 18px; }

/* ===== セクション共通 ===== */
.sec { max-width: 1160px; margin: 0 auto; padding: 88px 28px; }
.sec.tight { padding-top: 0; }
.sec-head {
  display: flex; align-items: baseline; gap: 18px; margin-bottom: 44px; flex-wrap: wrap;
  border-top: 1px solid var(--ink); padding-top: 22px;
}
.sec-head .en { font-size: 11.5px; font-weight: 700; color: var(--mut); letter-spacing: .24em; }
.sec-head h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; letter-spacing: -.01em; }
.sec-head .ln { flex: 1; }
.sec-lead { max-width: 720px; margin: -24px 0 44px; color: var(--mut); font-size: 15px; }

/* スクロール出現 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }

/* ===== 課題提起 ===== */
.problem { background: var(--paper2); }
.p-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 30px 26px; }
.pcard .no { font-family: 'Archivo', sans-serif; font-size: 34px; font-weight: 900; color: transparent; -webkit-text-stroke: 1.5px #C6BFB0; line-height: 1; }
.pcard h3 { font-size: 17px; font-weight: 900; margin: 14px 0 8px; }
.pcard p { font-size: 13.5px; color: var(--mut); }
.p-close { text-align: center; margin-top: 44px; font-size: clamp(18px, 2.6vw, 24px); font-weight: 900; }
.p-close b { color: var(--blue); }

/* ===== AI活用がもたらす6つの価値 ===== */
.val-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.vcell {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 26px; text-align: center;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.vcell:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(14,14,16,.09); border-color: var(--ink); }
.vcell .ic {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff;
}
.vcell.amber .ic { background: var(--amber); }
.vcell.deep .ic { background: var(--ink); }
.vcell .ic svg { width: 26px; height: 26px; }
.vcell h3 { font-size: 18px; font-weight: 900; color: var(--blue); margin-bottom: 10px; }
.vcell.amber h3 { color: #B4740A; }
.vcell.deep h3 { color: var(--ink); }
.vcell p { font-size: 13.5px; color: var(--mut); line-height: 1.9; }
@media (max-width: 900px) { .val-grid { grid-template-columns: 1fr; } }

/* ===== 費用感 ===== */
.price-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: stretch; }
.price-card {
  position: relative; overflow: hidden; background: var(--dark); color: #fff;
  border-radius: 18px; padding: 40px 36px;
}
.price-card::before {
  content: ""; position: absolute; pointer-events: none;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.3), transparent 62%);
  right: -160px; top: -180px;
}
.price-card .k { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--sky); text-transform: uppercase; }
.price-card .plan-label { font-size: 19px; font-weight: 900; margin: 12px 0 20px; }
.price-main { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-main .num { font-family: 'Archivo','Noto Sans JP',sans-serif; font-size: clamp(46px,7vw,68px); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.price-main .unit { font-size: 17px; font-weight: 900; }
.price-main .tax { font-size: 12.5px; color: rgba(255,255,255,.6); margin-left: 4px; }
.price-per { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.65); }
.price-specs { position: relative; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 14px; }
.price-specs .row { display: flex; align-items: baseline; gap: 14px; font-size: 14px; }
.price-specs .row .lb { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.5); width: 92px; flex-shrink: 0; text-transform: uppercase; }
.price-specs .row .vl { font-weight: 700; }
.price-specs .row .vl b { font-family: 'Archivo','Noto Sans JP',sans-serif; font-size: 19px; font-weight: 900; color: var(--sky); margin-right: 3px; }

.price-side { display: flex; flex-direction: column; gap: 18px; }
.price-note { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; }
.price-note h3 { font-size: 15.5px; font-weight: 900; margin-bottom: 12px; }
.price-note ul { margin-left: 1.2em; font-size: 13.5px; color: var(--mut); }
.price-note li { margin-bottom: 8px; }
.price-cta {
  flex: 1; background: #FBF3E2; border: 1.5px solid #E8D5A8; border-radius: 16px;
  padding: 26px 24px; display: flex; flex-direction: column; justify-content: center;
}
.price-cta .k { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; color: var(--amber); text-transform: uppercase; margin-bottom: 8px; }
.price-cta p { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.price-cta .ex { font-size: 11.5px; font-weight: 400; color: #6b5a35; margin: 12px 0 18px; line-height: 1.8; }

/* 助成金の内訳ミニ計算 */
.price-calc { background: rgba(255,255,255,.65); border-radius: 10px; padding: 14px 16px; }
.price-calc .row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-size: 12.5px; padding: 7px 0;
}
.price-calc .row span { color: #6b5a35; }
.price-calc .row b { font-family: 'Archivo','Noto Sans JP',sans-serif; font-size: 15px; font-weight: 900; white-space: nowrap; }
.price-calc .row.minus b { color: #8a5c08; }
.price-calc .row.total {
  margin-top: 6px; padding-top: 12px; border-top: 1.5px solid #E8D5A8;
}
.price-calc .row.total span { color: var(--ink); font-weight: 900; font-size: 13px; }
.price-calc .row.total b { font-size: 24px; color: #8a5c08; }
@media (max-width: 900px) {
  .price-wrap { grid-template-columns: 1fr; }
  .price-card { padding: 32px 26px; }
}

/* ===== 特徴（4つの理由） ===== */
.f-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.fbox { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 32px 28px; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.fbox::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.fbox:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(14,14,16,.09); border-color: var(--ink); }
.fbox:hover::before { transform: scaleX(1); }
.fbox .no { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 700; color: var(--mut); letter-spacing: .18em; }
.fbox h3 { font-size: 19px; font-weight: 900; margin: 12px 0 10px; }
.fbox p { font-size: 14px; color: var(--mut); }

/* 比較表 */
.compare { margin-top: 56px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 12px; letter-spacing: .08em; border-bottom: 1px solid var(--ink); }
/* 2列目＝UX-HATCH（強調）／3列目＝一般的な研修 */
.compare thead th:nth-child(2) { color: var(--blue); background: rgba(37,99,235,.06); }
.compare thead th:nth-child(3) { color: var(--mut); }
.compare td:first-child { font-weight: 700; width: 26%; }
.compare td:nth-child(2) { background: rgba(37,99,235,.06); font-weight: 700; }
.compare td:nth-child(3) { color: var(--mut); }
.compare .mark { color: var(--blue); font-weight: 900; margin-right: 6px; }

/* ===== 導入効果 ===== */
.results { background: var(--paper2); }
.demo-lead { max-width: 720px; margin: -20px 0 26px; }
.demo-lead .ex {
  display: inline-block; font-size: 12.5px; font-weight: 900; color: var(--blue);
  background: rgba(37,99,235,.08); border-radius: 99px; padding: 7px 16px; margin-bottom: 12px;
}
.demo-lead p { font-size: 14.5px; color: var(--mut); line-height: 1.95; }
.demo-lead p b { color: var(--ink); }
.results-num { margin: 44px 0 22px; text-align: center; }
.results-num .en { font-size: 11.5px; font-weight: 700; color: var(--mut); letter-spacing: .2em; }
.r-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.rcard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; text-align: center; }
.rcard .ind { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: var(--mut); letter-spacing: .12em; }
.rcard .big { font-size: 26px; font-weight: 900; margin: 10px 0 6px; }
.rcard .big b { color: var(--blue); font-family: 'Archivo', 'Noto Sans JP', sans-serif; font-size: 34px; font-weight: 900; }
.rcard .big .arrow { color: #C6BFB0; margin: 0 6px; }
.rcard p { font-size: 12.5px; color: var(--mut); }

/* ===== 主力4プラン（アコーディオン） ===== */
/* 実際の商品なので、ページ内で最も目立つ帯にする */
.curriculum-sec { position: relative; background: var(--paper2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.curriculum-sec::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(37,99,235,.07), transparent 70%);
}
.curriculum-sec .sec { position: relative; }
.curriculum-sec .sec-head h2 { font-size: clamp(26px, 4vw, 40px); }
.curriculum-sec .sec-lead b { color: var(--ink); }

.plans { display: flex; flex-direction: column; gap: 16px; }
.plan {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 18px;
  overflow: hidden; transition: border-color .3s, box-shadow .3s;
}
.plan:hover { border-color: #B9C6DB; }
.plan[open] { border-color: var(--blue); box-shadow: 0 18px 44px rgba(14,14,16,.09); }
.plan > summary { list-style: none; cursor: pointer; padding: 26px 28px; display: block; }
.plan > summary::-webkit-details-marker { display: none; }
.plan-head { display: flex; align-items: center; gap: 20px; }
.plan-no {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo', sans-serif; font-size: 20px; font-weight: 900;
  background: var(--paper); color: var(--mut); border: 1.5px solid var(--line);
  transition: background .3s, color .3s, border-color .3s;
}
.plan[open] .plan-no, .plan:hover .plan-no { background: var(--blue); color: #fff; border-color: var(--blue); }
.plan-title { flex: 1; min-width: 0; }
.plan-title h3 { font-size: 20px; font-weight: 900; letter-spacing: -.01em; }
.plan-title .sub { margin-top: 5px; font-size: 13px; color: var(--mut); }
.plan-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.plan-toggle {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 400; color: var(--mut); transition: all .3s;
}
.plan:hover .plan-toggle { border-color: var(--ink); color: var(--ink); }
.plan[open] .plan-toggle { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.plan-openhint { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--blue); margin-top: 12px; text-transform: uppercase; }
.plan[open] .plan-openhint { display: none; }

.plan-body { padding: 0 28px 30px; animation: planIn .4s ease; }
@keyframes planIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.plan-lead { font-size: 14px; color: var(--mut); padding-top: 22px; border-top: 1px solid var(--line); margin-bottom: 26px; }

/* 12時間の内訳 */
.day-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.day {
  background: var(--paper); border-radius: 14px; padding: 20px 20px 22px; border: 1px solid var(--line);
}
.day .dh { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.day .dn { font-family: 'Archivo', sans-serif; font-size: 13px; font-weight: 900; color: var(--blue); }
.day .dt { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; color: var(--mut); letter-spacing: .08em; }
.day h4 { font-size: 15px; font-weight: 900; margin-bottom: 10px; line-height: 1.6; }
.day ul { list-style: none; }
.day li { position: relative; padding-left: 16px; font-size: 12.5px; color: var(--mut); margin-bottom: 7px; line-height: 1.75; }
.day li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: #C5D3E8; }

/* 使うツール */
.tools { margin-top: 26px; background: #F7F9FD; border: 1px solid #E2E9F5; border-radius: 14px; padding: 22px 24px; }
.tools .th { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: var(--blue); text-transform: uppercase; margin-bottom: 14px; }
.tool-row { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-top: 1px dashed #D8E2F2; }
.tool-row:first-of-type { border-top: none; padding-top: 0; }
.tool-row .nm {
  flex-shrink: 0; width: 152px; font-size: 12.5px; font-weight: 900;
}
.tool-row .use { font-size: 12.5px; color: var(--mut); line-height: 1.75; }
.plan-goal {
  margin-top: 22px; display: flex; gap: 12px; align-items: flex-start;
  background: rgba(37,99,235,.06); border-radius: 12px; padding: 18px 20px;
}
.plan-goal .g { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--blue); flex-shrink: 0; padding-top: 3px; text-transform: uppercase; }
.plan-goal p { font-size: 13.5px; font-weight: 700; }

@media (max-width: 860px) {
  .plan > summary { padding: 22px 20px; }
  .plan-body { padding: 0 20px 24px; }
  .plan-head { gap: 14px; }
  .plan-no { width: 44px; height: 44px; font-size: 17px; }
  .plan-title h3 { font-size: 17px; }
  .day-grid { grid-template-columns: 1fr; }
  .tool-row { flex-direction: column; gap: 4px; }
  .tool-row .nm { width: auto; }
}

/* ===== カリキュラム ===== */
.cur-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.ccard {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 30px 26px; transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden;
}
.ccard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.ccard:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(14,14,16,.09); border-color: var(--ink); }
.ccard:hover::before { transform: scaleX(1); }
.ccard .no { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 700; color: var(--mut); letter-spacing: .18em; }
.ccard h3 { font-size: 18.5px; font-weight: 900; margin: 12px 0 10px; }
.ccard p { font-size: 13.5px; color: var(--mut); }
.ccard .foot { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 11px; font-weight: 700; color: var(--blue); background: rgba(37,99,235,.08); padding: 5px 11px; border-radius: 99px; }
.cur-note { margin-top: 32px; text-align: center; font-size: 14px; color: var(--mut); }
.cur-note b { color: var(--ink); }
.cur-note a { color: var(--blue); }

/* ===== 受講者の声 ===== */
.voice { background: var(--paper2); }
.v-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.vcard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.vcard:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(14,14,16,.08); }
.vcard .q { font-family: 'Archivo', sans-serif; font-size: 40px; font-weight: 900; line-height: .6; color: var(--blue); margin-bottom: 14px; }
.vcard p { font-size: 14.5px; line-height: 2; flex: 1; }
.vcard .who { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--mut); font-weight: 700; letter-spacing: .06em; }
.v-note { margin-top: 26px; text-align: center; font-size: 11.5px; color: #A39C8D; }

/* ===== 受講の流れ ===== */
.flow-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px 22px; }
.step .sno { font-family: 'Archivo', sans-serif; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--paper); font-weight: 900; font-size: 15px; }
.step h3 { font-size: 16px; font-weight: 900; margin: 14px 0 6px; }
.step p { font-size: 12.5px; color: var(--mut); }
.step::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: #C6BFB0; font-weight: 900; z-index: 1; }
.step:last-child::after { display: none; }

/* ===== 助成金バンド ===== */
.subsidy-wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px 88px; }
.sub-band {
  position: relative; border-radius: 18px; overflow: hidden; background: var(--dark); color: #fff;
  padding: 52px 48px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
}
.sub-band::before {
  pointer-events: none;
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.3), transparent 65%);
  left: -100px; bottom: -200px;
}
.sub-band .k { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: var(--amber); letter-spacing: .22em; margin-bottom: 10px; }
.sub-band h3 { font-size: clamp(20px, 2.8vw, 27px); font-weight: 900; line-height: 1.6; }
.sub-band h3 b { color: var(--amber); }
.sub-band .s-note { margin-top: 10px; font-size: 11.5px; color: rgba(255,255,255,.45); }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 16px;
  padding: 22px 8px; font-size: 15.5px; font-weight: 700; transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue); }
.faq-list summary .qm { font-family: 'Archivo', sans-serif; color: var(--blue); font-weight: 900; flex-shrink: 0; }
.faq-list summary .plus { margin-left: auto; color: #C6BFB0; font-weight: 400; font-size: 20px; transition: transform .3s; flex-shrink: 0; }
.faq-list details[open] summary .plus { transform: rotate(45deg); color: var(--blue); }
.faq-list .a { display: flex; gap: 16px; padding: 0 8px 24px; font-size: 14px; color: var(--mut); }
.faq-list .a .am { font-family: 'Archivo', sans-serif; color: var(--amber); font-weight: 900; flex-shrink: 0; }
.faq-list .a a { color: var(--blue); }

/* ===== CTA ===== */
.cta {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: var(--dark);
  padding: 96px 28px;
}
.cta::before {
  pointer-events: none;
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.3), transparent 60%);
  left: 50%; top: -280px; transform: translateX(-50%);
}
.cta .en { position: relative; font-size: 11.5px; font-weight: 700; letter-spacing: .3em; color: var(--sky); }
.cta h2 { position: relative; font-size: clamp(26px, 4vw, 40px); font-weight: 900; margin: 16px 0 30px; }
.cta .btn-main { position: relative; background: var(--paper); color: var(--ink); }
.cta .btn-main:hover { box-shadow: 0 14px 34px rgba(0,0,0,.35); }

/* ===== フッター ===== */
.footer { background: var(--dark); color: rgba(255,255,255,.5); padding: 48px 28px 34px; }
.footer .in { max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer .fl { display: inline-flex; align-items: center; font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 16px; color: #fff; }
.footer .fl b { color: var(--sky); }
.footer .addr { margin-top: 12px; font-size: 12px; line-height: 2; }
.footer .addr a { color: rgba(255,255,255,.5); }
.footer .fnav { display: flex; gap: 22px; font-size: 13px; align-items: flex-start; }
.footer .fnav a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer .fnav a:hover { color: #fff; }
.footer .copy { max-width: 1160px; margin: 30px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); font-size: 11.5px; text-align: center; }

/* ===== 準備中ページ ===== */
.wip { min-height: 72vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 28px; }
.wip .en-big { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--blue); text-transform: uppercase; }
.wip h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 900; margin: 16px 0 14px; }
.wip p { color: var(--mut); font-size: 14.5px; max-width: 520px; margin: 0 auto 30px; }

/* ===== 診断ページ ===== */
.dg-wrap { max-width: 720px; margin: 0 auto; padding: 56px 24px 96px; }
.dg-head { text-align: center; margin-bottom: 40px; }
.dg-head .en-label { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 700; letter-spacing: .3em; color: var(--blue); text-transform: uppercase; }
.dg-head h1 { font-size: clamp(24px, 4vw, 32px); font-weight: 900; margin: 12px 0 8px; }
.dg-head p { color: var(--mut); font-size: 14px; }

.dg-progress { margin-bottom: 34px; }
.dg-progress-head { display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 700; color: var(--mut); margin-bottom: 8px; letter-spacing: .1em; }
.dg-bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.dg-bar-fill { height: 100%; border-radius: 99px; background: var(--blue); transition: width .45s cubic-bezier(.2,.7,.2,1); }

.dg-q { font-size: clamp(20px, 3vw, 26px); font-weight: 900; margin-bottom: 10px; }
.dg-hint { font-size: 12.5px; color: var(--mut); margin-bottom: 20px; }
.dg-q + .dg-opts { margin-top: 16px; }
.dg-opts { display: flex; flex-direction: column; gap: 12px; }
.dg-opt {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  font-family: inherit; font-size: 15px; font-weight: 700; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 18px 20px; cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.dg-opt:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(14,14,16,.1); }
.dg-opt-no {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 10px; background: rgba(37,99,235,.08); color: var(--blue);
  font-weight: 700; font-size: 13px;
}
/* 複数選択（Q5） */
.dg-opt.on { border-color: var(--blue); background: rgba(37,99,235,.05); }
.dg-opt .tick { opacity: 0; transition: opacity .15s; font-size: 15px; }
.dg-opt.on .tick { opacity: 1; }
.dg-opt.on .dg-opt-no { background: var(--blue); color: #fff; }
.dg-next { margin-top: 22px; width: 100%; justify-content: center; }

.dg-back {
  margin-top: 26px; background: none; border: none; font-family: inherit;
  font-size: 13px; font-weight: 700; color: var(--mut); cursor: pointer;
}
.dg-back:hover { color: var(--blue); }

.dg-result { animation: fade .6s ease; }
.dg-result-label { text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 700; letter-spacing: .3em; color: var(--blue); text-transform: uppercase; }
.dg-result-lead { text-align: center; font-size: 15px; font-weight: 700; margin: 12px 0 22px; }
.dg-result-card {
  position: relative; background: var(--card); border: 1.5px solid var(--ink); border-radius: 16px;
  padding: 36px 32px; box-shadow: 0 18px 44px rgba(14,14,16,.1); overflow: hidden;
}
.dg-result-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--blue); }
.dg-result-card .no { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 700; color: var(--mut); letter-spacing: .18em; }
.dg-result-card h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 900; margin: 10px 0 12px; }
.dg-result-card .desc { font-size: 14.5px; color: var(--mut); }
.dg-result-card .pts { margin: 18px 0 0; padding: 0; list-style: none; }
.dg-result-card .pts li { position: relative; padding-left: 24px; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.dg-result-card .pts li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.dg-result-card .foot { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }

.dg-result-card h2 .lvbadge {
  display: inline-block; vertical-align: middle; margin-left: 10px;
  font-size: 12px; font-weight: 900; letter-spacing: .04em;
  background: var(--blue); color: #fff; border-radius: 99px; padding: 5px 13px;
}
.dg-result-card .lvnote { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--blue); }

/* 業務環境ブロック */
.dg-env { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px; margin-top: 22px; }
.dg-env .k { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: var(--blue); text-transform: uppercase; }
.dg-env .bridge { margin-top: 12px; font-size: 14.5px; line-height: 1.9; }
.dg-env .bridge b { color: var(--blue); }
.dg-env .envnote { margin-top: 8px; font-size: 12.5px; color: var(--mut); }
.dg-env .envtools { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); list-style: none; display: grid; gap: 12px; }
.dg-env .envtools li {
  display: grid; grid-template-columns: 92px 1fr; gap: 4px 12px; align-items: baseline;
  font-size: 13px;
}
.dg-env .envtools .tag {
  grid-row: span 2; font-family: 'JetBrains Mono', monospace; font-size: 9.5px; font-weight: 700;
  letter-spacing: .04em; text-align: center; padding: 5px 4px; border-radius: 6px; align-self: start;
}
.dg-env .envtools li.have .tag { background: rgba(37,99,235,.12); color: var(--blue); }
.dg-env .envtools li.new .tag { background: rgba(245,158,11,.16); color: #8a5c08; }
.dg-env .envtools b { font-weight: 900; }
.dg-env .envtools .u { font-size: 12px; color: var(--mut); line-height: 1.7; }
@media (max-width: 560px) {
  .dg-env .envtools li { grid-template-columns: 1fr; }
  .dg-env .envtools .tag { grid-row: auto; justify-self: start; padding: 4px 10px; }
}

.dg-trust { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 26px 0; }
.dg-trust .cell { background: var(--dark); color: #fff; border-radius: 12px; text-align: center; padding: 18px 10px; }
.dg-trust .n { font-family: 'Archivo', 'Noto Sans JP', sans-serif; font-size: 26px; font-weight: 900; }
.dg-trust .n small { font-size: 12px; margin-left: 2px; }
.dg-trust .c { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 4px; }

.dg-subsidy {
  background: #FBF3E2; border: 1.5px solid #E8D5A8; border-radius: 14px;
  padding: 26px 24px; text-align: center; margin-bottom: 26px;
}
.dg-subsidy .k { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: .25em; color: var(--amber); margin-bottom: 8px; text-transform: uppercase; }
.dg-subsidy p { font-size: 14px; margin-bottom: 18px; }
.dg-note { font-size: 11.5px; color: #A39C8D; text-align: center; margin-bottom: 26px; }
.dg-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.dg-actions .btn-sub { cursor: pointer; font-family: inherit; background: transparent; }

/* ===== 助成金ページ ===== */
.sb-hero { position: relative; max-width: 1160px; margin: 0 auto; padding: 76px 28px 56px; text-align: center; }
.sb-hero .k { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 700; letter-spacing: .3em; color: var(--amber); text-transform: uppercase; }
.sb-hero h1 { font-size: clamp(28px, 4.6vw, 46px); font-weight: 900; line-height: 1.4; margin: 16px 0 14px; letter-spacing: -.01em; }
.sb-hero h1 b { color: var(--blue); }
.sb-hero p { color: var(--mut); font-size: 15px; max-width: 640px; margin: 0 auto; }
.sb-hero .badge-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.sb-badge { font-size: 12.5px; font-weight: 700; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; }
.sb-badge b { color: var(--blue); }

/* 助成率テーブル */
.sb-table { overflow-x: auto; }
.sb-table table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sb-table th, .sb-table td { padding: 16px 18px; font-size: 14px; text-align: center; border-bottom: 1px solid var(--line); }
.sb-table thead th { background: var(--dark); color: #fff; font-size: 12.5px; letter-spacing: .06em; }
.sb-table td:first-child { font-weight: 700; text-align: left; }
.sb-table .hl { font-family: 'Archivo', 'Noto Sans JP', sans-serif; font-size: 22px; font-weight: 900; color: var(--blue); }
.sb-table .hl small { font-size: 13px; font-weight: 700; }
.sb-notes { margin-top: 14px; font-size: 12px; color: var(--mut); }
.sb-notes li { margin-left: 1.2em; margin-bottom: 4px; }

/* ===== 助成金 と 補助金 の違い ===== */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vs-col { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; }
.vs-col.grant { border: 1.5px solid var(--blue); box-shadow: 0 14px 34px rgba(37,99,235,.1); }
.vs-col .name { font-size: 20px; font-weight: 900; }
.vs-col.grant .name { color: var(--blue); }
.vs-col .tagline { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--mut); margin-top: 6px; }
.vs-col.grant .tagline { color: var(--blue); }
.vs-attr { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.vs-attr:first-of-type { margin-top: 18px; }
.vs-attr .h { font-size: 11.5px; font-weight: 700; color: var(--mut); padding-top: 2px; }
.vs-attr .d b { color: var(--blue); }
.vs-col.subsidy .vs-attr .d b { color: var(--ink); }
.vs-key { margin-top: 22px; background: rgba(37,99,235,.07); border-left: 3px solid var(--blue); border-radius: 10px; padding: 20px 22px; font-size: 14px; line-height: 1.9; }
.vs-key b { color: var(--blue); }
@media (max-width: 760px) { .vs-grid { grid-template-columns: 1fr; } }

/* ===== 助成金 スケジュール・タイムライン ===== */
.tl-overview {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 16px;
  padding: 24px 28px; margin-bottom: 34px;
}
.tl-overview .lb { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; color: var(--mut); text-transform: uppercase; }
.tl-overview .big { font-size: 15px; font-weight: 700; margin-top: 4px; }
.tl-overview .big b { font-family: 'Archivo','Noto Sans JP',sans-serif; font-size: 30px; font-weight: 900; color: var(--blue); margin: 0 2px; }
.tl-overview .hint { font-size: 12px; color: var(--mut); max-width: 320px; }

.timeline { position: relative; padding-left: 128px; }
.timeline::before {
  content: ""; position: absolute; left: 116px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--blue), #C5D9FB);
}
.tstep { position: relative; margin-bottom: 18px; }
.tstep:last-child { margin-bottom: 0; }
/* 左側の時期ラベル */
.tstep .when {
  position: absolute; left: -128px; top: 22px; width: 100px; text-align: right;
}
.tstep .when .m { font-family: 'Archivo','Noto Sans JP',sans-serif; font-size: 17px; font-weight: 900; line-height: 1.2; }
.tstep .when .sub { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; color: var(--mut); letter-spacing: .06em; margin-top: 2px; }
/* レール上の丸 */
.tstep::before {
  content: ""; position: absolute; left: -18px; top: 26px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--card); border: 3px solid var(--blue); z-index: 1;
}
.tstep.key::before { background: var(--blue); box-shadow: 0 0 0 5px rgba(37,99,235,.15); }
.tstep .body {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.tstep:hover .body { transform: translateX(4px); box-shadow: 0 14px 32px rgba(14,14,16,.08); }
.tstep.key .body { border: 1.5px solid var(--amber); background: #FDFAF3; }
.tstep .head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.tstep .no { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: var(--mut); }
.tstep h3 { font-size: 17px; font-weight: 900; }
.tstep .dur {
  margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700;
  background: rgba(37,99,235,.08); color: var(--blue); border-radius: 99px; padding: 5px 12px; white-space: nowrap;
}
.tstep.key .dur { background: rgba(245,158,11,.16); color: #8a5c08; }
.tstep p { font-size: 13.5px; color: var(--mut); }
.tstep p b { color: var(--ink); }
.tstep .deadline {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: 12px; font-weight: 700; color: #8a5c08;
  background: rgba(245,158,11,.14); border-radius: 8px; padding: 7px 12px;
}
.tl-foot { margin-top: 26px; font-size: 12px; color: var(--mut); text-align: center; }

@media (max-width: 760px) {
  .timeline { padding-left: 26px; }
  .timeline::before { left: 6px; }
  .tstep::before { left: -26px; top: 20px; }
  .tstep .when {
    position: static; width: auto; text-align: left; margin-bottom: 8px;
    display: flex; align-items: baseline; gap: 8px;
  }
  .tstep .when .m { font-size: 15px; color: var(--blue); }
  .tstep .when .sub { margin-top: 0; }
  .tstep .dur { margin-left: 0; }
}

/* ===== 助成金シミュレーター ===== */
.sim-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; align-items: start; }
.sim-panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; }
.sim-panel.result { border: 1.5px solid var(--ink); box-shadow: 0 18px 44px rgba(14,14,16,.08); }
.sim-panel h3 { font-size: 17px; font-weight: 900; margin-bottom: 22px; }

.sim-field { margin-bottom: 20px; }
.sim-field .lbl { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 8px; }
.sim-field .hint { margin-top: 8px; font-size: 11.5px; color: var(--mut); }
.sim-sel, .sim-num input {
  width: 100%; font-family: inherit; font-size: 15px; font-weight: 700; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; transition: border-color .2s;
}
.sim-sel:focus, .sim-num input:focus { outline: none; border-color: var(--blue); }
.sim-num { display: flex; align-items: center; gap: 8px; }
.sim-num input { text-align: right; font-family: 'Archivo','Noto Sans JP',sans-serif; }
.sim-num .unit { font-size: 13px; font-weight: 700; color: var(--mut); flex-shrink: 0; }
.sim-step {
  flex-shrink: 0; width: 42px; height: 44px; border-radius: 10px; cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--line);
  font-size: 18px; font-weight: 900; color: var(--ink); font-family: inherit;
  transition: background .2s, color .2s, border-color .2s;
}
.sim-step:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sim-seg { display: flex; gap: 8px; }
.sim-seg button {
  flex: 1; font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
  padding: 12px 6px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--paper); color: var(--mut); transition: all .2s;
}
.sim-seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.sim-verdict { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 10px; }
.sim-verdict.sme { background: rgba(37,99,235,.07); }
.sim-verdict.large { background: rgba(14,14,16,.05); }
.sim-verdict .tag { font-size: 12px; font-weight: 900; padding: 4px 12px; border-radius: 99px; flex-shrink: 0; }
.sim-verdict.sme .tag { background: var(--blue); color: #fff; }
.sim-verdict.large .tag { background: var(--ink); color: var(--paper); }
.sim-verdict .why { font-size: 11.5px; color: var(--mut); line-height: 1.7; }

.sim-fixedfee { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--paper); border: 1.5px dashed var(--line); border-radius: 10px; padding: 14px; flex-wrap: wrap; }
.sim-fixedfee .fk { font-size: 12px; font-weight: 700; color: var(--mut); }
.sim-fixedfee .fv { font-family: 'Archivo','Noto Sans JP',sans-serif; font-size: 20px; font-weight: 900; }
.sim-fixedfee .fv small { font-size: 12px; }

/* 結果 */



.sim-notes { margin-top: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.sim-notes summary { list-style: none; cursor: pointer; padding: 18px 22px; font-size: 13.5px; font-weight: 700; display: flex; align-items: center; }
.sim-notes summary::-webkit-details-marker { display: none; }
.sim-notes summary::after { content: "＋"; margin-left: auto; color: #C6BFB0; transition: transform .3s; }
.sim-notes[open] summary::after { transform: rotate(45deg); color: var(--blue); }
.sim-notes .body { padding: 0 22px 22px; }
.sim-notes ul { margin-left: 1.2em; font-size: 12.5px; color: var(--mut); }
.sim-notes li { margin-bottom: 8px; }
.sim-notes .foot { margin-top: 14px; font-size: 11.5px; color: #A39C8D; }

@media (max-width: 900px) {
  .sim-grid { grid-template-columns: 1fr; }
}

/* チェックリスト */
.sb-check { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.sb-check .item { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.sb-check .ck { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: rgba(37,99,235,.08); color: var(--blue); font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.sb-check .item p { font-size: 13.5px; font-weight: 700; }
.sb-check .item p small { display: block; font-weight: 500; color: var(--mut); font-size: 12px; margin-top: 4px; }

/* 注意カード */
.sb-warn { background: #FBF3E2; border: 1.5px solid #E8D5A8; border-radius: 14px; padding: 26px 24px; }
.sb-warn h3 { font-size: 15px; font-weight: 900; color: #8a5c08; margin-bottom: 12px; }
.sb-warn ul { margin-left: 1.3em; font-size: 13.5px; color: #6b5a35; }
.sb-warn li { margin-bottom: 6px; }

.sb-disclaimer { font-size: 11.5px; color: rgba(255,255,255,.45); line-height: 2; }
.sb-disclaimer a { color: rgba(255,255,255,.6); }

@media (max-width: 760px) {
  .sb-check { grid-template-columns: 1fr; }
  .sim-card { padding: 26px 20px; }
}

/* ===== アクセシビリティ / レスポンシブ ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .row > span { transform: none; }
  .hero .lead, .hero .btns { opacity: 1; }
}
@media (max-width: 900px) {
  .nav .links { display: none; }
  .hero { padding-top: 56px; }
  .float-wrap { position: static; width: 100%; margin-top: 40px; }
  .fcard, .fcard:nth-child(2), .fcard:nth-child(3) { margin-left: 0; }
  .stats .in { grid-template-columns: 1fr; gap: 26px; }
  .stats .cell + .cell::before { display: none; }
  .p-cards, .r-cards, .v-cards, .cur-cards, .f-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .step::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -22px; transform: translateX(-50%); }
  .sub-band { padding: 36px 26px; }
  .footer .in { flex-direction: column; }
}


/* ============================================================
   研修で作れる自動化デモ（Meet → Drive → AI要約 → Gmail）
   出典：design/reference-simulator.html（アクセスネクステージ様向け）
============================================================ */
    .dm-wrap{max-width:680px;margin:6px auto 0}
    .dm-laptop{position:relative}
    .dm-lid{background:#0C181B;border:3px solid #24373D;border-radius:16px;padding:11px;box-shadow:0 24px 55px rgba(20,41,45,.20)}
    .dm-cam{width:6px;height:6px;border-radius:50%;background:#3C4E53;margin:0 auto 8px}
    .dm-screen{position:relative;aspect-ratio:16/10;background:#fff;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;font-family:'Noto Sans JP',sans-serif}
    .dm-chrome{display:flex;align-items:center;gap:6px;padding:7px 12px;background:#DCE6E4;flex:none}
    .dm-chrome span{width:9px;height:9px;border-radius:50%;background:#B7C6C3}
    .dm-chrome span:nth-child(1){background:#F0A6A0}.dm-chrome span:nth-child(2){background:#F4CE93}.dm-chrome span:nth-child(3){background:#A6D3B6}
    .dm-url{margin-left:8px;background:#fff;border-radius:20px;font-size:11px;font-weight:700;color:#5E6E71;padding:4px 12px;flex:1;overflow:hidden;white-space:nowrap}
    .dm-stagearea{position:relative;flex:1;overflow:hidden}
    .dm-stage{position:absolute;inset:0;opacity:0;transition:opacity .5s ease;pointer-events:none;overflow:hidden}
    .dm-stage.active{opacity:1}

    /* ===== MEET ===== */
    .dm-stage.meet{background:#202124}
    .dm-mtop{position:absolute;top:10px;left:12px;right:12px;display:flex;align-items:center;gap:8px;z-index:3}
    .dm-mtitle{color:#e8eaed;font-size:11px;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
    .dm-rec2{display:inline-flex;align-items:center;gap:5px;background:rgba(234,67,53,.16);color:#f6a49e;font-size:10px;font-weight:800;padding:3px 9px;border-radius:12px;flex:none}
    .dm-rec2 i{width:7px;height:7px;border-radius:50%;background:#ea4335;display:block}
    .dm-stage.meet.active .dm-rec2 i{animation:dmBlink 1s infinite}
    .dm-mclock{margin-left:auto;color:#9aa0a6;font-size:11px;font-weight:700;flex:none}
    .dm-mgrid{position:absolute;left:12px;right:12px;top:34px;bottom:58px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:8px}
    .dm-mtile{background:#3c4043;border-radius:10px;position:relative;display:grid;place-items:center;overflow:hidden}
    .dm-mtile .av{width:46px;height:46px;border-radius:50%;background:var(--c);color:#fff;display:grid;place-items:center;font-size:17px;font-weight:800}
    .dm-mtile .nm{position:absolute;left:7px;bottom:6px;color:#e8eaed;font-size:10px;font-weight:700;background:rgba(0,0,0,.4);padding:2px 7px;border-radius:6px}
    .dm-mtile .mic{position:absolute;right:6px;top:6px;width:18px;height:18px;border-radius:50%;background:rgba(0,0,0,.5);display:grid;place-items:center;font-size:9px}
    .dm-stage.meet.active .dm-mtile{animation:dmPop .5s both}
    .dm-stage.meet.active .dm-mtile:nth-child(2){animation-delay:.08s}
    .dm-stage.meet.active .dm-mtile:nth-child(3){animation-delay:.16s}
    .dm-stage.meet.active .dm-mtile:nth-child(4){animation-delay:.24s}
    .dm-mbar{position:absolute;left:0;right:0;bottom:10px;display:flex;align-items:center;justify-content:center;gap:8px;z-index:3}
    .dm-cbtn{width:34px;height:34px;border-radius:50%;background:#3c4043;display:grid;place-items:center;font-size:14px}
    .dm-cbtn.end{width:50px;background:#ea4335;border-radius:20px}
    .dm-toast{--tx:-50%;position:absolute;left:50%;bottom:60px;transform:translateX(-50%);background:#fff;color:var(--ink);font-size:12px;font-weight:800;padding:9px 16px;border-radius:22px;box-shadow:0 6px 18px rgba(0,0,0,.3);opacity:0;z-index:4;white-space:nowrap}
    .dm-stage.meet.active .dm-toast{animation:dmToast 1.4s 2.1s both}

    /* ===== DRIVE ===== */
    .dm-stage.drive{background:#fff;display:flex;flex-direction:row}
    .dm-drside{width:128px;flex:none;border-right:1px solid #e3e6e4;padding:12px 8px;display:flex;flex-direction:column;gap:2px}
    .dm-drnew{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #dadce0;border-radius:18px;padding:7px 14px;font-size:11px;font-weight:800;color:#3c4043;box-shadow:0 1px 3px rgba(60,64,67,.25);width:max-content;margin-bottom:8px}
    .dm-drnav{font-size:11px;font-weight:700;color:#5f6368;padding:6px 9px;border-radius:0 16px 16px 0;display:flex;align-items:center;gap:8px}
    .dm-drnav.on{background:#c2e7ff;color:#001d35}
    .dm-drmain{flex:1;display:flex;flex-direction:column;min-width:0}
    .dm-drsearch{margin:10px 12px 0;background:#e9eef6;border-radius:8px;padding:7px 12px;font-size:11px;color:#5f6368;font-weight:600;display:flex;align-items:center;gap:8px}
    .dm-drcrumb{padding:11px 14px 7px;font-size:14px;font-weight:800;color:#202124}
    .dm-drhead{display:flex;padding:5px 14px;font-size:10px;font-weight:800;color:#5f6368;border-bottom:1px solid #eceeed}
    .dm-drhead .c1{flex:1}.dm-drhead .c2{width:70px}
    .dm-drrow{display:flex;align-items:center;padding:9px 14px;font-size:11.5px;font-weight:600;color:#3c4043;border-bottom:1px solid #f4f6f5;gap:10px}
    .dm-drrow .ic{font-size:15px;flex:none}
    .dm-drrow .nm{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .dm-drrow .dt{width:70px;color:#5f6368;font-size:10px;flex:none}
    .dm-drrow.newfile{background:#e8f0fe;opacity:0}
    .dm-stage.drive.active .dm-drrow.newfile{animation:dmDropRow 1s .5s both}
    .dm-drtoast{position:absolute;left:12px;bottom:12px;background:#323639;color:#fff;font-size:11px;font-weight:700;padding:9px 14px;border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,.3);opacity:0;display:flex;align-items:center;gap:8px}
    .dm-stage.drive.active .dm-drtoast{animation:dmToast 1.6s 1.7s both}

    /* ===== DOCS ===== */
    .dm-stage.doc{background:#f9fbfd;display:flex;flex-direction:column}
    .dm-dcbar{background:#fff;border-bottom:1px solid #e3e6e4;padding:7px 12px;display:flex;align-items:center;gap:8px;flex:none}
    .dm-dcic{width:20px;height:20px;border-radius:4px;background:#1a73e8;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:900}
    .dm-dctitle{font-size:12px;font-weight:700;color:#202124}
    .dm-dcbadge{margin-left:auto;display:inline-flex;align-items:center;gap:5px;background:var(--save-bg);color:var(--save);font-size:10px;font-weight:900;padding:4px 10px;border-radius:14px}
    .dm-stage.doc.active .dm-dcbadge{animation:dmPulse 1.1s infinite}
    .dm-dctools{display:flex;gap:6px;padding:5px 12px;background:#edf2fa;flex:none}
    .dm-dctools b{width:20px;height:20px;border-radius:5px;background:#dce3ee;display:grid;place-items:center;font-size:10px;color:#444746;font-weight:700}
    .dm-dcpagewrap{flex:1;overflow:hidden;display:flex;justify-content:center;padding:12px}
    .dm-dcpage{background:#fff;width:100%;max-width:400px;border:1px solid #e6e9e8;box-shadow:0 1px 5px rgba(0,0,0,.08);padding:16px 22px;overflow:hidden}
    .dm-dch{font-size:14px;font-weight:900;color:#202124;margin-bottom:9px;opacity:0}
    .dm-stage.doc.active .dm-dch{animation:dmFade .4s .2s both}
    .dm-dcl{font-size:10.5px;font-weight:600;color:#3c4043;line-height:1.55;margin-bottom:6px;opacity:0}
    .dm-dcl.strong{font-weight:900;color:#202124;margin-top:8px}
    .dm-stage.doc.active .dm-dcl{animation:dmType .45s both}
    .dm-stage.doc.active .dm-dcl:nth-of-type(1){animation-delay:.5s}
    .dm-stage.doc.active .dm-dcl:nth-of-type(2){animation-delay:.9s}
    .dm-stage.doc.active .dm-dcl:nth-of-type(3){animation-delay:1.4s}
    .dm-stage.doc.active .dm-dcl:nth-of-type(4){animation-delay:1.8s}
    .dm-stage.doc.active .dm-dcl:nth-of-type(5){animation-delay:2.3s}
    .dm-caret{display:inline-block;width:1.5px;height:11px;background:#1a73e8;vertical-align:-1px;margin-left:1px}
    .dm-stage.doc.active .dm-caret{animation:dmBlink .8s step-end infinite}

    /* ===== GMAIL ===== */
    .dm-stage.gmail{background:#f6f8fc;display:flex;flex-direction:column}
    .dm-gmtop{background:#fff;border-bottom:1px solid #e3e6e4;padding:8px 12px;display:flex;align-items:center;gap:10px;flex:none}
    .dm-gmlogo{color:#c5221f;font-weight:900;font-size:14px;letter-spacing:.02em}
    .dm-gmsearch{flex:1;background:#eaf1fb;border-radius:8px;padding:6px 12px;font-size:11px;color:#5f6368;font-weight:600;display:flex;align-items:center;gap:8px}
    .dm-gmbody{flex:1;display:flex;min-height:0;position:relative}
    .dm-gmside{width:104px;flex:none;padding:10px 8px}
    .dm-gmcompose{background:#c2e7ff;border-radius:16px;padding:9px 16px;font-size:11px;font-weight:800;color:#001d35;width:max-content;display:flex;gap:7px;align-items:center;box-shadow:0 1px 3px rgba(60,64,67,.2)}
    .dm-gmib{margin-top:12px;display:flex;flex-direction:column;gap:9px}
    .dm-gmib i{height:8px;background:#e6ebf2;border-radius:4px}
    .dm-gminbox{flex:1;padding:8px 0;opacity:.55}
    .dm-gmmail{display:flex;gap:10px;align-items:center;padding:8px 14px;border-bottom:1px solid #edf0f4;font-size:11px}
    .dm-gmmail .d{width:8px;height:8px;border-radius:50%;background:#c5221f;flex:none}
    .dm-gmmail .t{flex:1;height:7px;background:#e6ebf2;border-radius:4px}
    .dm-compose{position:absolute;right:10px;bottom:0;width:74%;max-width:310px;background:#fff;border-radius:10px 10px 0 0;box-shadow:0 -3px 20px rgba(0,0,0,.22);overflow:hidden;z-index:2}
    .dm-cph{background:#404040;color:#fff;font-size:11px;font-weight:700;padding:8px 12px;display:flex;align-items:center;justify-content:space-between}
    .dm-cph em{font-style:normal;opacity:.7;font-weight:700}
    .dm-cpb{padding:10px 12px;display:flex;flex-direction:column;gap:7px}
    .dm-cprow{font-size:11px;color:#5f6368;font-weight:600;display:flex;flex-wrap:wrap;align-items:center;gap:5px;border-bottom:1px solid #eceeed;padding-bottom:7px}
    .dm-cprow.sub{border-bottom:0;color:#202124;font-weight:800;padding-bottom:0}
    .dm-chip2{display:inline-flex;align-items:center;gap:5px;background:#e8eaed;border-radius:20px;padding:2px 9px 2px 2px;font-size:10.5px;font-weight:700;color:#3c4043;opacity:0}
    .dm-chip2 i{width:16px;height:16px;border-radius:50%;background:var(--c);color:#fff;display:grid;place-items:center;font-size:8px;font-weight:800}
    .dm-stage.gmail.active .dm-chip2{animation:dmPop .4s both}
    .dm-stage.gmail.active .dm-chip2:nth-child(3){animation-delay:.1s}
    .dm-stage.gmail.active .dm-chip2:nth-child(4){animation-delay:.2s}
    .dm-stage.gmail.active .dm-chip2:nth-child(5){animation-delay:.3s}
    .dm-cpattach{display:inline-flex;align-items:center;gap:7px;border:1px solid #e0e3e1;border-radius:8px;padding:6px 10px;font-size:10.5px;font-weight:700;color:#3c4043;width:max-content}
    .dm-cpattach .x{width:20px;height:20px;border-radius:4px;background:#ea4335;color:#fff;display:grid;place-items:center;font-size:8px;font-weight:900}
    .dm-send2{background:#0b57d0;color:#fff;border-radius:18px;padding:8px 22px;font-size:12px;font-weight:800;width:max-content;margin-top:2px}
    .dm-stage.gmail.active .dm-send2{animation:dmPress .5s 1.5s both}
    .dm-plane{position:absolute;right:60px;bottom:30px;font-size:24px;opacity:0;z-index:3}
    .dm-stage.gmail.active .dm-plane{animation:dmFly 1.3s 1.8s both}
    .dm-sent2{position:absolute;left:12px;bottom:12px;background:#323639;color:#fff;font-size:11.5px;font-weight:700;padding:10px 15px;border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,.3);opacity:0;z-index:4}
    .dm-stage.gmail.active .dm-sent2{animation:dmFade .5s 2.9s both}

    /* pipeline */
    .dm-pipe{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;margin-top:18px}
    .dm-node{display:flex;flex-direction:column;align-items:center;gap:4px;opacity:.4;transition:opacity .3s;min-width:64px}
    .dm-node.on,.dm-node.done{opacity:1}
    .dm-node .ic{width:40px;height:40px;border-radius:11px;background:#F1F3F7;display:grid;place-items:center;font-size:19px;border:2px solid transparent;transition:.3s}
    .dm-node.on .ic{background:var(--save-bg);border-color:var(--save);transform:scale(1.08)}
    .dm-node.done .ic{background:var(--save-bg)}
    .dm-node .tx{font-size:10.5px;font-weight:800;color:var(--ink);text-align:center;line-height:1.25}
    .dm-node .tx small{display:block;color:var(--muted);font-weight:700}
    .dm-sep{color:var(--line);font-weight:900;font-size:15px;margin-top:-14px}
    .dm-cap{font-size:11.5px;color:var(--muted);text-align:center;margin-top:12px;line-height:1.6}
    @media(max-width:520px){.dm-drside{width:96px}.dm-gmside{width:82px}.dm-drnav,.dm-drnew{font-size:10px}}

    @keyframes dmPop{0%{opacity:0;transform:scale(.6)}60%{transform:scale(1.07)}100%{opacity:1;transform:scale(1)}}
    @keyframes dmBlink{0%,100%{opacity:1}50%{opacity:.15}}
    @keyframes dmDropRow{0%{opacity:0;transform:translateY(-30px)}60%{opacity:1;transform:translateY(4px)}100%{opacity:1;transform:translateY(0)}}
    @keyframes dmToast{0%{opacity:0;transform:translateY(12px) translateX(var(--tx,0))}15%{opacity:1;transform:translateY(0) translateX(var(--tx,0))}100%{opacity:1;transform:translateY(0) translateX(var(--tx,0))}}
    @keyframes dmFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
    @keyframes dmType{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:translateX(0)}}
    @keyframes dmPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.04)}}
    @keyframes dmPress{0%,100%{transform:scale(1)}45%{transform:scale(.9)}}
    @keyframes dmFly{0%{opacity:0;transform:translate(0,0) rotate(0)}15%{opacity:1}100%{opacity:0;transform:translate(150px,-150px) rotate(22deg)}}

    .dm-wrap.is-reduced .dm-chip2,.dm-wrap.is-reduced .dm-sent2,.dm-wrap.is-reduced .dm-dcl,.dm-wrap.is-reduced .dm-dch{opacity:1!important;transform:none!important;animation:none!important}
    .dm-wrap.is-reduced .dm-plane{display:none}
    @media (prefers-reduced-motion: reduce){ .dm-stage *{animation:none!important} }

.dm-base{height:12px;background:linear-gradient(#CBD8D5,#93A5A2);border-radius:0 0 13px 13px;width:112%;margin:-1px -6% 0;position:relative;box-shadow:0 10px 16px rgba(20,41,45,.12)}
.dm-base::after{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:76px;height:5px;background:#7C8F8C;border-radius:0 0 7px 7px}

/* ===== ビフォー / アフター（研修の効果を対比で見せる）===== */
.ba-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch;
  margin: 26px 0 22px;
}
.ba-col { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px; }
.ba-col.after { border-color: var(--blue); box-shadow: 0 12px 30px rgba(37,99,235,.1); }
.ba-lb {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px;
}
.ba-col.before .ba-lb { color: var(--mut); }
.ba-col.after .ba-lb { color: var(--blue); }
.ba-col ul { list-style: none; display: grid; gap: 9px; }
.ba-col li { position: relative; padding-left: 22px; font-size: 13.5px; line-height: 1.75; }
.ba-col.before li { color: var(--mut); }
.ba-col.before li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 9px; height: 9px; border: 1.5px solid #C6BFB0; border-radius: 3px;
}
.ba-col.after li { font-weight: 700; }
.ba-col.after li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 900; font-size: 13px;
}
.ba-sum {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 13px; font-weight: 700;
}
.ba-col.before .ba-sum { color: var(--mut); }
.ba-col.after .ba-sum b { color: var(--blue); font-size: 15px; }
.ba-arrow {
  align-self: center; font-family: 'JetBrains Mono', monospace;
  font-size: 26px; font-weight: 700; color: #C6BFB0;
}
.demo-cap { text-align: center; font-size: 12.5px; font-weight: 700; color: var(--mut); margin-bottom: 14px; }
.rn-lead { font-size: 13.5px; color: var(--mut); margin-top: 6px; }
@media (max-width: 900px) {
  .ba-grid { grid-template-columns: 1fr; gap: 10px; }
  .ba-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ============================================================
   ユースケース切り替えデモ（タブ + 各業務の画面）
============================================================ */
.uc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 20px; }
.uc-tabs button {
  font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  background: var(--card); color: var(--mut);
  border: 1px solid var(--line); border-radius: 99px; padding: 10px 18px;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.uc-tabs button:hover { border-color: var(--ink); color: var(--ink); }
.uc-tabs button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.dm-ucset { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.dm-ucset.on { opacity: 1; visibility: visible; }

/* --- 各画面の共通パーツ --- */
.uc-app {
  display: flex; align-items: center; gap: 9px; flex: none;
  padding: 9px 13px; background: #F4F6F8; border-bottom: 1px solid #E3E8EC;
  font-size: 11.5px; font-weight: 700; color: #33414B;
}
.uc-app .ic {
  width: 20px; height: 20px; border-radius: 6px; display: flex; align-items: center;
  justify-content: center; font-size: 11px; background: #DDE4EA; flex: none;
}
.uc-app.gmail .ic { background: #EA4335; color: #fff; font-family: 'Archivo', sans-serif; }
.uc-app.ai .ic { background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; }
.uc-app.sheet .ic { background: #0F9D58; color: #fff; }
.uc-app.doc .ic, .uc-app.nlm .ic { background: #4285F4; color: #fff; }
.uc-app.chat .ic { background: #00897B; color: #fff; }
.uc-app.phone .ic { background: #5F6368; color: #fff; }
.uc-app.check .ic { background: #2563eb; color: #fff; }
.uc-app .badge {
  margin-left: auto; font-size: 10px; font-weight: 700; padding: 3px 9px;
  border-radius: 99px; background: #E1E8EE; color: #55636E;
}
.uc-app .badge.ai { background: rgba(37,99,235,.12); color: #2563eb; }

.dm-stage[class*="inv"], .dm-stage[class*="ph"], .dm-stage[class*="fq"] {
  background: #fff; display: flex; flex-direction: column;
}
@keyframes ucUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ucPop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

/* ===== 共通：アプリのヘッダー帯 ===== */
.uc-app { display:flex; align-items:center; gap:9px; flex:none; padding:9px 13px; background:#F4F6F8; border-bottom:1px solid #E3E8EC; font-size:11.5px; font-weight:700; color:#33414B; }
.uc-app .ic { width:20px; height:20px; border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:11px; background:#DDE4EA; flex:none; }
.uc-app.ai .ic { background:linear-gradient(135deg,#2563eb,#7c3aed); color:#fff; }
.uc-app .badge { margin-left:auto; font-size:10px; font-weight:700; padding:3px 9px; border-radius:99px; background:#E1E8EE; color:#55636E; }
.uc-app .badge.ai { background:rgba(37,99,235,.12); color:#2563eb; }
.dm-stage[class*="inv"], .dm-stage[class*="ph"], .dm-stage[class*="fq"] { background:#fff; display:flex; flex-direction:column; }
@keyframes ucUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }
@keyframes ucPop { from{opacity:0;transform:scale(.92)} to{opacity:1;transform:none} }
.uc-toast { position:absolute; left:50%; bottom:14px; transform:translateX(-50%); background:#23303A; color:#fff; font-size:10.5px; font-weight:700; padding:7px 15px; border-radius:99px; opacity:0; white-space:nowrap; z-index:5; }
.dm-stage.active .uc-toast { animation: ucUp .5s ease 1.6s both; }
.uc-scan { position:absolute; left:0; right:0; height:2px; background:linear-gradient(90deg,transparent,#2563eb,transparent); top:20%; opacity:0; }
.dm-stage.active .uc-scan { animation: ucScan 2s ease-in-out .3s 2; }
@keyframes ucScan { 0%{top:12%;opacity:0} 20%{opacity:1} 80%{opacity:1} 100%{top:86%;opacity:0} }
.uc-caret { display:inline-block; width:2px; height:1em; background:#2563eb; vertical-align:-2px; margin-left:2px; animation: dmBlink 1s steps(1) infinite; }

/* ===== Gmail 受信トレイ ===== */
.uc-gmnav { margin-top:12px; display:flex; flex-direction:column; gap:3px; }
.uc-gmnav span { font-size:10px; color:#5f6368; padding:5px 8px; border-radius:99px 0 0 99px; }
.uc-gmnav span.on { background:#d3e3fd; color:#001d35; font-weight:800; }
.uc-gmnav b { float:right; }
.uc-maillist { flex:1; min-width:0; }
.uc-mail { display:flex; align-items:center; gap:9px; padding:9px 12px; border-bottom:1px solid #EDF0F4; font-size:10.5px; color:#3c4043; }
.uc-mail .st { color:#c9cdd2; flex:none; }
.uc-mail .from { width:96px; flex:none; font-weight:700; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.uc-mail .sub { flex:1; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.uc-mail .sub em { font-style:normal; color:#80868b; }
.uc-mail .pdf { font-size:8.5px; font-weight:900; color:#C5221F; background:#FCE8E6; border-radius:4px; padding:2px 5px; flex:none; }
.uc-mail .tm { width:34px; text-align:right; flex:none; color:#5f6368; font-size:9.5px; }
.uc-mail.dim { opacity:.5; }
.dm-stage.active .uc-mail.new { animation: ucPop .5s ease .6s both; background:#F5F9FF; box-shadow:inset 3px 0 0 #2563eb; font-weight:700; }

/* ===== 請求書PDF + 読み取り ===== */
.uc-ocr { flex:1; display:grid; grid-template-columns:1.05fr 1fr; gap:12px; padding:12px; min-height:0; }
.uc-invoice { position:relative; background:#fff; border:1px solid #E6EBEF; border-radius:5px; padding:13px 14px; box-shadow:0 3px 12px rgba(20,41,45,.08); overflow:hidden; font-size:8.5px; color:#3c4043; }
.iv-h { text-align:center; font-size:12px; font-weight:900; letter-spacing:.24em; color:#1B2830; margin-bottom:9px; }
.iv-meta { display:flex; justify-content:space-between; font-size:8.5px; margin-bottom:7px; }
.iv-to { font-size:9.5px; font-weight:700; border-bottom:1px solid #DDE3E8; padding-bottom:5px; margin-bottom:8px; }
.iv-amt { display:flex; justify-content:space-between; align-items:baseline; background:#F4F7FA; border-radius:4px; padding:6px 9px; margin-bottom:9px; }
.iv-amt b { font-family:'Archivo','Noto Sans JP',sans-serif; font-size:14px; }
.iv-tbl { width:100%; border-collapse:collapse; font-size:8px; }
.iv-tbl th { background:#EFF3F6; font-weight:700; padding:4px 5px; text-align:left; color:#5A6874; }
.iv-tbl td { padding:4px 5px; border-bottom:1px solid #EDF1F4; }
.iv-tbl th:last-child, .iv-tbl td:last-child { text-align:right; }
.iv-tbl th:nth-child(2), .iv-tbl td:nth-child(2) { text-align:center; width:34px; }
.iv-foot { display:flex; justify-content:flex-end; gap:12px; font-size:8px; margin-top:7px; color:#5A6874; }
.hl { position:relative; border-radius:3px; padding:0 3px; }
.dm-stage.active .hl { animation: ucHl .5s ease both; }
.dm-stage.active .hl.d { animation-delay:.8s; background:rgba(37,99,235,.16); box-shadow:0 0 0 1px rgba(37,99,235,.4); }
.dm-stage.active .hl.a { animation-delay:1.2s; background:rgba(37,99,235,.16); box-shadow:0 0 0 1px rgba(37,99,235,.4); }
@keyframes ucHl { from{background:transparent;box-shadow:none} }
.uc-extract { display:grid; gap:6px; align-content:start; }
.uc-extract .ex-ttl { font-family:'JetBrains Mono',monospace; font-size:9px; font-weight:700; letter-spacing:.12em; color:#5A7CB8; margin-bottom:2px; }
.uc-extract .ex-row { display:flex; align-items:center; gap:8px; opacity:0; background:#F5F9FF; border:1px solid #D6E4FB; border-radius:7px; padding:8px 10px; }
.uc-extract .k { font-size:9px; font-weight:700; color:#5A7CB8; width:50px; flex:none; }
.uc-extract .v { font-size:11px; font-weight:700; color:#16233A; }
.uc-extract .v.big { font-family:'Archivo','Noto Sans JP',sans-serif; font-size:16px; color:#2563eb; }
.uc-extract .v.tag { background:#2563eb; color:#fff; border-radius:4px; padding:2px 8px; font-size:10px; }
.dm-stage.active .ex-row.d1 { animation: ucUp .4s ease .7s both; }
.dm-stage.active .ex-row.d2 { animation: ucUp .4s ease 1.05s both; }
.dm-stage.active .ex-row.d3 { animation: ucUp .4s ease 1.4s both; }
.dm-stage.active .ex-row.d4 { animation: ucUp .4s ease 1.75s both; }

/* ===== Google スプレッドシート ===== */
.uc-shtop { display:flex; align-items:center; gap:9px; padding:8px 12px; background:#fff; border-bottom:1px solid #E3E8EC; flex:none; }
.uc-shtop .ic { width:20px; height:20px; border-radius:4px; background:#0F9D58; color:#fff; display:flex; align-items:center; justify-content:center; font-size:11px; flex:none; }
.uc-shtop .ttl { font-size:11.5px; font-weight:700; color:#202124; line-height:1.3; }
.uc-shtop .ttl em { display:block; font-style:normal; font-weight:400; font-size:9px; color:#5f6368; margin-top:2px; }
.uc-shtools { display:flex; gap:12px; padding:6px 12px; background:#F9FBFD; border-bottom:1px solid #E3E8EC; font-size:11px; color:#444746; flex:none; }
.uc-sheet { flex:1; padding:0; }
.sh-row { display:grid; grid-template-columns:26px 56px 1fr 78px 78px; font-size:10px; color:#202124; }
.sh-row span { padding:6px 7px; border-right:1px solid #E8EAED; border-bottom:1px solid #E8EAED; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.sh-row span:last-child { text-align:right; }
.sh-row .rn { background:#F8F9FA; color:#80868b; text-align:center; font-size:9px; }
.sh-row.head span { background:#F1F3F4; font-weight:700; color:#5f6368; font-size:9px; }
.sh-row.empty span { height:26px; }
.dm-stage.active .sh-row.add { animation: ucPop .5s ease .9s both; }
.dm-stage.active .sh-row.add span { background:#E6F4EA; color:#0B7943; font-weight:700; box-shadow:inset 0 0 0 1px #0F9D58; }
.uc-shtabs { display:flex; gap:2px; padding:5px 10px; background:#F1F3F4; border-top:1px solid #E3E8EC; font-size:9.5px; color:#5f6368; flex:none; }
.uc-shtabs span { padding:4px 12px; border-radius:4px 4px 0 0; }
.uc-shtabs span.on { background:#fff; color:#0B7943; font-weight:800; }

/* 確認モーダル */
.uc-dim { position:absolute; inset:0; background:rgba(32,33,36,.42); }
.uc-modal { position:absolute; left:50%; top:52%; transform:translate(-50%,-50%); width:78%; max-width:300px; background:#fff; border-radius:12px; box-shadow:0 12px 34px rgba(0,0,0,.28); padding:16px 18px; opacity:0; }
.dm-stage.active .uc-modal { animation: ucPop .45s ease .3s both; }
.uc-modal .mh { font-size:11.5px; font-weight:900; color:#202124; margin-bottom:10px; }
.uc-modal .mrow { display:flex; align-items:center; gap:8px; font-size:10.5px; padding:5px 0; border-bottom:1px dashed #EAEDF0; }
.uc-modal .mrow .ck { color:#0F9D58; font-weight:900; }
.uc-modal .mrow .t { flex:1; color:#3c4043; }
.uc-modal .mrow .a { font-family:'Archivo','Noto Sans JP',sans-serif; font-weight:900; }
.uc-modal .mfoot { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; }
.uc-modal .note { font-size:9.5px; color:#5f6368; }
.uc-modal .btn { background:#2563eb; color:#fff; font-size:10.5px; font-weight:800; border-radius:99px; padding:7px 16px; }

/* ===== スマホ（写真アップロード） ===== */
.uc-phonewrap { flex:1; display:flex; align-items:center; justify-content:center; background:#EEF1F4; }
.uc-phone { width:150px; background:#fff; border:6px solid #23272B; border-radius:20px; padding:0 0 10px; box-shadow:0 12px 26px rgba(20,41,45,.22); overflow:hidden; }
.uc-phone .pnotch { width:44px; height:5px; border-radius:99px; background:#23272B; margin:5px auto 7px; }
.uc-phone .ptop { font-size:9.5px; font-weight:800; color:#202124; padding:0 10px 8px; border-bottom:1px solid #EDF0F3; }
.uc-phone .ptop span { display:block; font-weight:500; color:#80868b; font-size:8.5px; margin-top:1px; }
.uc-phone .pgrid { display:grid; grid-template-columns:1fr 1fr; gap:5px; padding:9px 10px; }
.uc-phone .pc { position:relative; aspect-ratio:1; border-radius:6px; background:linear-gradient(140deg,#E7EDF2,#D4DEE6); display:grid; place-items:center; font-size:22px; opacity:0; overflow:hidden; }
.uc-phone .pc i { position:absolute; left:0; bottom:0; height:3px; background:#2563eb; width:0; }
.uc-phone .pc.ghost { background:#F5F7F9; border:1px dashed #C9D1D8; color:#B0B9C1; font-size:16px; opacity:1; }
.dm-stage.active .pc.d1 { animation: ucPop .4s ease .25s both; }
.dm-stage.active .pc.d2 { animation: ucPop .4s ease .5s both; }
.dm-stage.active .pc.d3 { animation: ucPop .4s ease .75s both; }
.dm-stage.active .pc i { animation: ucFill 1.1s ease .9s both; }
@keyframes ucFill { to { width:100%; } }
.uc-phone .pbar { height:4px; border-radius:99px; background:#E6EBEF; margin:2px 10px 6px; overflow:hidden; }
.uc-phone .pbar i { display:block; height:100%; width:0; background:#2563eb; border-radius:99px; }
.dm-stage.active .pbar i { animation: ucFill 1.4s ease .8s both; }
.uc-phone .pstat { font-size:8.5px; color:#5f6368; text-align:center; }

/* ===== 写真解析 ===== */
.uc-vision { flex:1; display:grid; grid-template-columns:1.15fr 1fr; gap:12px; padding:12px; min-height:0; }
.vphoto { position:relative; border-radius:8px; background:linear-gradient(150deg,#DCE4EA,#BFCBD5); display:grid; place-items:center; overflow:hidden; }
.vphoto .emo { font-size:52px; opacity:.85; }
.vphoto .box { position:absolute; border:2px solid #2563eb; border-radius:4px; opacity:0; }
.vphoto .box span { position:absolute; top:-15px; left:-2px; background:#2563eb; color:#fff; font-size:8px; font-weight:700; padding:1px 5px; border-radius:3px; white-space:nowrap; }
.vphoto .box.b1 { left:12%; top:26%; width:42%; height:34%; }
.vphoto .box.b2 { right:10%; top:44%; width:32%; height:30%; }
.vphoto .box.b3 { left:26%; bottom:10%; width:34%; height:20%; border-color:#f59e0b; }
.vphoto .box.b3 span { background:#f59e0b; }
.dm-stage.active .box.b1 { animation: ucPop .4s ease .8s both; }
.dm-stage.active .box.b2 { animation: ucPop .4s ease 1.1s both; }
.dm-stage.active .box.b3 { animation: ucPop .4s ease 1.5s both; }
.uc-tags { display:grid; gap:6px; align-content:center; }
.uc-tags .tg { font-size:10.5px; font-weight:700; color:#2563eb; background:#EAF1FE; border:1px solid #C5D9FB; border-radius:8px; padding:7px 11px; opacity:0; }
.uc-tags .tg.warn { color:#B4740A; background:#FBF3E2; border-color:#EFD9A7; }
.dm-stage.active .tg.d1 { animation: ucUp .4s ease .55s both; }
.dm-stage.active .tg.d2 { animation: ucUp .4s ease .85s both; }
.dm-stage.active .tg.d3 { animation: ucUp .4s ease 1.15s both; }
.dm-stage.active .tg.d4 { animation: ucUp .4s ease 1.5s both; }

/* ===== Google Chat ===== */
.uc-chattop { display:flex; align-items:center; gap:9px; padding:9px 13px; background:#fff; border-bottom:1px solid #E3E8EC; flex:none; }
.uc-chattop .ic { width:22px; height:22px; border-radius:6px; background:#00897B; color:#fff; display:grid; place-items:center; font-size:11px; flex:none; }
.uc-chattop .t { font-size:11.5px; font-weight:800; color:#202124; line-height:1.25; }
.uc-chattop .t em { display:block; font-style:normal; font-weight:400; font-size:9px; color:#80868b; }
.uc-chatbody { flex:1; padding:12px 13px; display:flex; flex-direction:column; gap:9px; justify-content:center; background:#fff; }
.cmsg { display:flex; gap:8px; align-items:flex-start; opacity:0; }
.cmsg .av { width:24px; height:24px; border-radius:50%; color:#fff; font-size:9.5px; font-weight:800; display:grid; place-items:center; flex:none; }
.cmsg .av.bot { background:linear-gradient(135deg,#2563eb,#7c3aed); font-size:8.5px; }
.cmsg .bb { background:#F1F3F4; border-radius:4px 12px 12px 12px; padding:8px 11px; font-size:10.5px; color:#202124; max-width:84%; }
.cmsg .bb .who { font-size:9px; font-weight:800; color:#5f6368; margin-bottom:3px; }
.cmsg .bb .who em { font-style:normal; font-weight:400; margin-left:6px; color:#9aa0a6; }
.cmsg.me { flex-direction:row-reverse; }
.cmsg.me .bb { background:#E8F0FE; border-radius:12px 4px 12px 12px; }
.cmsg .bb.ai { background:#F5F9FF; box-shadow:inset 0 0 0 1px #D6E4FB; }
.cmsg .bb b { color:#2563eb; }
.filecard { display:flex; align-items:center; gap:7px; margin-top:7px; background:#fff; border:1px solid #DDE3E8; border-radius:7px; padding:6px 9px; }
.filecard .fi { font-size:14px; }
.filecard .fn { font-size:9.5px; font-weight:700; color:#202124; line-height:1.3; }
.filecard .fn em { display:block; font-style:normal; font-weight:400; font-size:8.5px; color:#80868b; }
.citebox { margin-top:6px; font-size:9px; color:#5A7CB8; background:#EAF1FE; border-radius:5px; padding:4px 8px; }
.dm-stage.active .cmsg.d1 { animation: ucUp .4s ease .35s both; }
.dm-stage.active .cmsg.d2 { animation: ucUp .4s ease .95s both; }
.dm-stage.active .cmsg.d3 { animation: ucUp .4s ease 1.6s both; }
.uc-chatinput { margin:0 13px 13px; background:#F1F3F4; border-radius:99px; padding:8px 14px; font-size:10px; color:#80868b; flex:none; }

/* ===== NotebookLM ===== */
.uc-nlmtop { display:flex; align-items:center; gap:9px; padding:9px 13px; background:#fff; border-bottom:1px solid #E3E8EC; flex:none; }
.uc-nlmtop .ic { width:22px; height:22px; border-radius:6px; background:#4285F4; color:#fff; display:grid; place-items:center; font-size:11px; flex:none; }
.uc-nlmtop .nm { font-size:11.5px; font-weight:800; color:#202124; }
.uc-nlmtop .badge { margin-left:auto; font-size:9.5px; font-weight:700; color:#5f6368; background:#F1F3F4; border-radius:99px; padding:3px 10px; }
.uc-nlmbody { flex:1; display:grid; grid-template-columns:132px 1fr; min-height:0; }
.uc-src { border-right:1px solid #E8EAED; padding:10px 9px; background:#FAFBFC; }
.uc-src .sh { font-size:9.5px; font-weight:800; color:#5f6368; margin-bottom:8px; display:flex; justify-content:space-between; }
.uc-src .sh span { background:#E8EAED; border-radius:99px; padding:0 7px; font-size:8.5px; }
.uc-src .si { display:flex; align-items:center; gap:6px; padding:6px 5px; border-radius:6px; font-size:9px; color:#3c4043; opacity:0; }
.uc-src.compact .si { opacity:1; }
.uc-src .si .ck { color:#1E8E3E; font-weight:900; font-size:9px; }
.uc-src .si .ic { font-size:7.5px; font-weight:900; color:#C5221F; background:#FCE8E6; border-radius:3px; padding:1px 4px; flex:none; }
.uc-src .si .nm { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.uc-src .si.hit { background:#E8F0FE; box-shadow:inset 2px 0 0 #2563eb; font-weight:700; }
.uc-src .sadd { margin-top:8px; font-size:9px; color:#2563eb; font-weight:700; }
.dm-stage.active .uc-src:not(.compact) .si.d1 { animation: ucUp .4s ease .3s both; }
.dm-stage.active .uc-src:not(.compact) .si.d2 { animation: ucUp .4s ease .7s both; }
.dm-stage.active .uc-src:not(.compact) .si.d3 { animation: ucUp .4s ease 1.1s both; }
.uc-nlmmain { padding:14px 16px; display:flex; flex-direction:column; gap:8px; }
.uc-nlmmain.center { align-items:center; justify-content:center; }
.uc-nlmmain .ph { height:7px; border-radius:4px; background:#EDF0F3; }
.uc-nlmmain .w70{width:70%} .uc-nlmmain .w50{width:50%} .uc-nlmmain .w60{width:60%}
.nlm-ready { margin-top:10px; font-size:10.5px; font-weight:700; color:#1E8E3E; background:#E6F4EA; border-radius:8px; padding:9px 12px; opacity:0; }
.dm-stage.active .nlm-ready { animation: ucUp .45s ease 1.5s both; }
.askbox { background:#F4F7FA; border:1px solid #DDE3E8; border-radius:12px; padding:14px 16px; font-size:12.5px; font-weight:700; color:#202124; text-align:center; line-height:1.7; max-width:92%; }
.asksend { margin-top:10px; background:#2563eb; color:#fff; font-size:10px; font-weight:800; border-radius:99px; padding:6px 14px; }
.qline { font-size:10.5px; font-weight:800; color:#202124; background:#F1F3F4; border-radius:10px; padding:8px 11px; align-self:flex-end; }
.ans { font-size:10.5px; line-height:1.85; color:#202124; opacity:0; }
.ans b { color:#2563eb; }
.ans .cite { display:inline-grid; place-items:center; width:14px; height:14px; border-radius:50%; background:#2563eb; color:#fff; font-size:8px; font-weight:900; margin-left:4px; vertical-align:1px; }
.srcbox { display:flex; align-items:center; gap:7px; font-size:9.5px; color:#5A7CB8; background:#F5F9FF; border:1px solid #D6E4FB; border-radius:7px; padding:7px 10px; opacity:0; }
.srcbox .n { display:grid; place-items:center; width:14px; height:14px; border-radius:50%; background:#2563eb; color:#fff; font-size:8px; font-weight:900; flex:none; }
.dm-stage.active .ans.d1 { animation: ucUp .4s ease .5s both; }
.dm-stage.active .ans.d2 { animation: ucUp .4s ease 1.1s both; }
.dm-stage.active .srcbox.d3 { animation: ucUp .4s ease 1.8s both; }

@media (max-width: 560px) {
  .uc-ocr, .uc-vision { grid-template-columns:1fr; }
  .uc-invoice, .vphoto { display:none; }
  .uc-nlmbody { grid-template-columns:104px 1fr; }
  .sh-row { grid-template-columns:22px 44px 1fr 62px 62px; font-size:9px; }
  .uc-mail .from { width:70px; }
}

@media (max-width: 760px) {
  .uc-tabs button { font-size: 12px; padding: 9px 14px; }
  .uc-split { grid-template-columns: 1fr; }
  .uc-paper { display: none; }
}

/* ============================================================
   レスポンシブ最適化（タブレット / スマホ）
============================================================ */

/* グリッド・フレックスの子がはみ出すのを防ぐ（min-width:auto 対策） */
.price-wrap > *, .sim-grid > *, .vs-grid > *, .ba-grid > *,
.f-grid > *, .val-grid > *, .cur-cards > *, .v-cards > *,
.p-cards > *, .r-cards > *, .flow-steps > * { min-width: 0; }

/* ---------- タブレット（〜1024px） ---------- */
@media (max-width: 1024px) {
  .sec { padding: 68px 24px; }
  .hero { padding: 72px 24px 56px; }
  .nav { padding: 12px 20px; }
  .nav .links { gap: 18px; font-size: 12.5px; }
  .val-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .num { font-size: 48px; }
}

/* ---------- 中間（〜900px）：ナビのリンクを隠す既存指定に追従 ---------- */
@media (max-width: 900px) {
  .subsidy-wrap { padding-bottom: 68px; }
  .sub-band h3 { font-size: 20px; }
  .compare table, .sb-table table { min-width: 520px; }
}

/* ---------- スマホ（〜640px） ---------- */
@media (max-width: 640px) {
  .sec { padding: 56px 18px; }
  .hero { padding: 44px 18px 44px; }
  .hero h1 { font-size: 30px; line-height: 1.35; }
  .hero .lead { font-size: 15px; line-height: 1.9; margin-top: 20px; }
  .hero .meta { margin-bottom: 20px; }
  .hero .meta .en { font-size: 10.5px; letter-spacing: .18em; }
  .hero .btns { margin-top: 26px; gap: 10px; }
  .subsidy-wrap { padding: 0 18px 56px; }
  .sb-hero { padding: 52px 18px 40px; }
  .dg-wrap { padding: 40px 18px 72px; }

  /* ナビ：ロゴ + CTA2つを1行に収める */
  .nav { padding: 10px 14px; gap: 8px; }
  .logo { font-size: 14px; gap: 7px; }
  .logo .mark { width: 14px; height: 22px; }
  .nav-cta { gap: 6px; }
  .btn-nav { font-size: 11.5px; padding: 12px 13px; letter-spacing: 0; min-height: 44px; display: inline-flex; align-items: center; }
  .logo { padding: 9px 0; }

  /* 見出し・数字 */
  .stats .in { padding: 48px 18px; }
  .stats .num { font-size: 44px; }
  .stats .num small { font-size: 16px; }
  .stats .note { font-size: 10.5px; line-height: 1.8; }
  .sec-head { gap: 10px; margin-bottom: 32px; }
  .sec-lead { margin: -18px 0 32px; font-size: 14px; }

  /* ユースケースのタブは横スクロールで全部見せる */
  .uc-tabs {
    flex-wrap: nowrap; overflow-x: auto; margin: 20px -18px 18px; padding: 0 18px 4px;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  }
  .uc-tabs::-webkit-scrollbar { display: none; }
  .uc-tabs { scrollbar-width: none; }
  .uc-tabs button { flex: none; scroll-snap-align: start; min-height: 44px; font-size: 12.5px; padding: 10px 16px; }

  /* デモ画面：小さすぎる文字を底上げし、枠を薄く */
  .dm-lid { padding: 7px; border-width: 2px; border-radius: 12px; }
  .dm-base { width: 100%; margin: -1px 0 0; }
  .dm-screen { aspect-ratio: 4 / 3; }
  .dm-chrome { padding: 6px 9px; }
  .dm-url { font-size: 10px; padding: 3px 9px; }
  .dm-pipe { gap: 2px; }
  .dm-node .tx { font-size: 10.5px; }
  .dm-cap { font-size: 10.5px; }

  /* 費用感 */
  .price-card { padding: 28px 20px; }
  .price-main .num { font-size: 52px; }
  .price-specs .row { flex-wrap: wrap; gap: 4px 12px; }
  .price-specs .row .lb { width: auto; }
  .price-calc .row { font-size: 12px; }
  .price-calc .row.total b { font-size: 21px; }

  /* 助成金ページ */
  .sb-hero h1 { font-size: 26px; }
  .sb-badge { font-size: 11.5px; padding: 7px 13px; }
  .sub-band { padding: 30px 20px; }
  .btn-amber, .btn-main, .btn-sub { width: 100%; justify-content: center; text-align: center; }
  .nav .btn-nav, .price-cta .btn-amber { width: auto; }
  .dg-actions .btn-main, .dg-actions .btn-sub { width: 100%; }

  /* 助成金シミュレーターの入力 */
  .sim-sel { font-size: 13.5px; padding-right: 34px; }
  .sim-panel { padding: 24px 18px; }

  /* 診断 */
  .dg-opt { padding: 15px 16px; font-size: 14.5px; min-height: 52px; }
  .dg-q { font-size: 19px; }
  .dg-trust .n { font-size: 22px; }
  .dg-trust .c { font-size: 10px; }

  /* 声・カード類の余白を詰める */
  .vcard, .pcard, .fbox, .ccard, .vcell, .rcard { padding: 24px 20px; }
  .footer { padding: 40px 18px 28px; }
  .footer .fnav { flex-wrap: wrap; gap: 14px 18px; }
}

/* ---------- 極小（〜380px） ---------- */
@media (max-width: 380px) {
  .btn-nav { font-size: 11px; padding: 8px 11px; }
  .nav-cta { gap: 5px; }
  .logo { font-size: 13px; }
  .hero h1 { font-size: 27px; }
  .stats .num { font-size: 38px; }
  .price-main .num { font-size: 44px; }
  .sb-hero h1 { font-size: 23px; }
}

/* タブレットでは Before/After を横並びに戻す（対比が伝わりやすい） */
@media (min-width: 641px) and (max-width: 900px) {
  .ba-grid { grid-template-columns: 1fr auto 1fr; gap: 14px; }
  .ba-arrow { transform: none; font-size: 22px; }
  .ba-col { padding: 20px 18px; }
  .ba-col li { font-size: 13px; }
}

/* カリキュラム下の診断CTA */
.cur-cta { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cur-cta .lead-q { font-size: 14.5px; font-weight: 700; color: var(--ink); }
@media (max-width: 640px) {
  .cur-cta { margin-top: 18px; }
  .cur-cta .btn-main { width: 100%; }
}

/* ============================================================
   助成金シミュレーター 結果表示（比率リング + 引き算の流れ）
============================================================ */
.rs-ring-block { text-align: center; margin-bottom: 26px; }
.rs-ring {
  width: 218px; height: 218px; border-radius: 50%; margin: 4px auto 0;
  display: grid; place-items: center;
  background: conic-gradient(var(--blue) 0 75%, var(--amber) 75% 79%, #E3DDD0 79% 100%);
  box-shadow: 0 14px 34px rgba(37,99,235,.16);
  transition: background .6s cubic-bezier(.2,.7,.2,1);
  animation: rsRing .7s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes rsRing { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.rs-ring .in {
  width: 150px; height: 150px; border-radius: 50%; background: var(--card);
  display: grid; place-items: center; text-align: center;
  box-shadow: inset 0 2px 10px rgba(14,14,16,.06);
}
.rs-ring .in .lb {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700;
  letter-spacing: .12em; color: var(--mut); margin-bottom: 2px;
}
.rs-ring .in .p {
  font-family: 'Archivo','Noto Sans JP',sans-serif; font-size: 52px; font-weight: 900;
  color: var(--blue); line-height: 1; letter-spacing: -.02em;
}
.rs-ring .in .p small { font-size: .45em; margin-left: 1px; }

.rs-ring-legend {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  margin-top: 16px; font-size: 11.5px; font-weight: 700; color: var(--mut);
}
.rs-ring-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rs-ring-legend i { width: 10px; height: 10px; border-radius: 3px; display: block; }
.rs-ring-legend i.k { background: var(--blue); }
.rs-ring-legend i.c { background: var(--amber); }
.rs-ring-legend i.n { background: #E3DDD0; }

.rs-ring-cap { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.rs-ring-cap .k { font-size: 11.5px; font-weight: 700; color: var(--mut); }
.rs-ring-cap .v { font-family: 'Archivo','Noto Sans JP',sans-serif; font-size: clamp(28px,5vw,36px); font-weight: 900; color: var(--blue); line-height: 1.15; }
.rs-ring-cap .v .yen { font-size: .5em; margin-left: 2px; }
.rs-ring-cap .s { font-size: 11.5px; color: var(--mut); margin-top: 6px; }

/* 引き算の流れ */
.rs-flow { display: grid; gap: 2px; }
.rs-step { background: var(--paper); border-radius: 10px; padding: 14px 15px; }
.rs-step .hd { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.rs-step .l { font-size: 12.5px; font-weight: 700; }
.rs-step .l small { display: block; font-weight: 500; color: var(--mut); font-size: 11px; margin-top: 2px; }
.rs-step .r { font-family: 'Archivo','Noto Sans JP',sans-serif; font-size: 20px; font-weight: 900; white-space: nowrap; }
.rs-step .r .yen { font-size: .55em; margin-left: 2px; }
.rs-step .track { height: 8px; border-radius: 99px; background: #E6E1D6; overflow: hidden; margin-top: 10px; }
.rs-step .track i { display: block; height: 100%; border-radius: 99px; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.rs-step.fee .track i { background: #C6BFB0; }
.rs-step.keihi { background: #F5F9FF; }
.rs-step.keihi .r { color: var(--blue); }
.rs-step.keihi .track i { background: var(--blue); }
.rs-step.chingin { background: #FBF3E2; }
.rs-step.chingin .r { color: #B4740A; }
.rs-step.chingin .track i { background: var(--amber); }
.rs-step .capnote { margin-top: 8px; font-size: 10.5px; font-weight: 700; color: #B4740A; }

.rs-op { text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 15px; color: #C6BFB0; padding: 3px 0; }
.rs-op.eq { color: var(--ink); font-weight: 700; }

.rs-final {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: #E3DDD0; color: var(--ink); border-radius: 12px; padding: 20px 20px; margin-top: 2px;
  box-shadow: inset 0 0 0 1px #D2CABA;
}
.rs-final .l { font-size: 13px; font-weight: 900; }
.rs-final .l small { display: block; font-weight: 500; color: var(--mut); font-size: 11.5px; margin-top: 3px; }
.rs-final .r { font-family: 'Archivo','Noto Sans JP',sans-serif; font-size: clamp(26px,4.6vw,34px); font-weight: 900; color: var(--ink); white-space: nowrap; }
.rs-final .r .yen { font-size: .5em; margin-left: 2px; }

.rs-note { margin-top: 14px; font-size: 11.5px; color: var(--mut); line-height: 1.9; }
.rs-note b { color: var(--ink); }

@media (max-width: 520px) {
  .rs-ring { width: 180px; height: 180px; }
  .rs-ring .in { width: 124px; height: 124px; }
  .rs-ring .in .p { font-size: 42px; }
  .rs-ring-legend { gap: 12px; font-size: 11px; }
  .rs-final { flex-direction: column; align-items: flex-start; gap: 8px; }
}
