/* ============================================================
   先端AIロボテック — 共通スタイル（redesign-aaa）
   白地＋青系アクセント。日本語は Noto Sans JP、英字見出しは Manrope。
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --blue: #0B5CB8;
  --blue-dark: #084A96;
  --blue-light: #5B9BE0;
  --blue-soft: #E4EEFA;
  --ink: #1C2430;
  --ink-2: #47525F;
  --ink-3: #8390A0;
  --rule: #DCE2EA;
  --panel: #EDF0F4;
  --slate: #475F7C;
  --foot: #E6EAEF;
  --white: #FFFFFF;
  --ff-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, sans-serif;
  --ff-en: "Manrope", "Noto Sans JP", system-ui, sans-serif;
  --wrap: 1120px;
  --pad: 40px;
  --head-h: 112px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  /* 旧ページのインラインスタイル用の互換変数（明るい配色に読み替え） */
  --fg: var(--ink); --fg-2: var(--ink-2); --fg-3: var(--ink-3);
  --line: var(--rule); --line-strong: #C5CEDA; --line-signal: rgba(11,92,184,0.35);
  --plasma-cyan: var(--blue); --signal-hover: var(--blue-dark); --signal-on: #fff;
  --abyss: #fff; --deep-space: var(--panel); --nebula: var(--blue-soft); --void: #fff;
  --font-body: var(--ff-jp); --font-display: var(--ff-jp); --font-mono: var(--ff-jp); --font-serif: var(--ff-jp);
  --radius-sm: 4px; --radius-md: 6px; --radius-lg: 10px; --radius-full: 999px;
  --ease-orbital: var(--ease); --inner-catch: none; --glow-md: 0 8px 24px rgba(11,92,184,0.12);
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; background: #fff; color: var(--ink); }
body { font-family: var(--ff-jp); font-size: 15px; line-height: 1.9; letter-spacing: 0.04em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: rgba(11,92,184,0.18); }
.site-root { position: relative; min-height: 100vh; overflow-x: clip; }
.en { font-family: var(--ff-en); letter-spacing: 0.02em; }
.wrap, .container { max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); position: relative; }
.sp-only { display: none; }

/* ---------- 出現アニメーション（JS が html に .rv を付けたときだけ） ---------- */
.rv .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 斜めの帯（装飾） ---------- */
.stripes { position: absolute; pointer-events: none; z-index: 0; display: flex; gap: 14px; }
.stripes i { display: block; width: 16px; height: 100%; transform: skewX(-24deg); background: var(--blue); }
.stripes i:nth-child(2) { background: #DFE6EF; }
.stripes.rev i { transform: skewX(24deg); }
.stripes.soft i:first-child { background: var(--slate); }

/* ============================================================
   ヘッダー
   ============================================================ */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 16px 0; transition: padding .3s var(--ease); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; padding: 0 0 0 32px; border-radius: 48px; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.site-head.scrolled .head-inner { background: rgba(246,248,251,0.96); box-shadow: 0 4px 24px rgba(28,36,48,0.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.head-brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.head-brand img { width: 38px; height: 38px; object-fit: contain; }
.head-brand-name { font-weight: 700; font-size: 16px; letter-spacing: 0.06em; color: var(--ink); line-height: 1.2; }
.head-brand-name small { display: block; font-family: var(--ff-en); font-size: 9px; font-weight: 600; letter-spacing: 0.12em; color: var(--ink-3); }
.head-right { display: flex; align-items: center; gap: 8px; }
.head-nav { display: flex; align-items: center; background: #EBEFF4; border-radius: 40px; padding: 0 12px; height: 60px; transition: background .3s; }
.site-head.scrolled .head-nav { background: transparent; }
.head-nav a { display: flex; flex-direction: column; justify-content: center; padding: 0 16px; height: 100%; font-size: 13px; font-weight: 700; line-height: 1.35; letter-spacing: 0.06em; color: var(--ink); transition: color .2s; }
.head-nav a .en { font-size: 10.5px; font-weight: 600; color: var(--blue); }
.head-nav a:hover, .head-nav a.active { color: var(--blue); }
.head-contact { display: inline-flex; align-items: center; gap: 22px; height: 60px; padding: 0 12px 0 30px; border-radius: 40px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.35; transition: background .2s; }
.head-contact .en { display: block; font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,0.6); }
.head-contact:hover { background: var(--blue-dark); }
.head-contact .arw { background: #fff; color: var(--blue); }
.head-menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #EBEFF4; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.head-menu-btn span { display: block; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .3s, opacity .3s; }
.head-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.head-menu-btn.open span:nth-child(2) { opacity: 0; }
.head-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 90; background: #fff; padding: 104px 24px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer.open { opacity: 1; visibility: visible; }
.drawer-list a { display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; border-bottom: 1px solid var(--rule); font-weight: 700; font-size: 16px; }
.drawer-list a .en { display: block; font-size: 11px; color: var(--blue); font-weight: 600; }
.drawer-contact { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-radius: 40px; background: var(--blue); color: #fff; font-weight: 700; }
.drawer-contact .arw { background: #fff; color: var(--blue); }
.drawer-info { margin-top: 32px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }

/* ---------- 矢印の丸 ---------- */
.arw { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 20px; border-radius: 12px; background: var(--blue); color: #fff; flex-shrink: 0; transition: transform .25s var(--ease); }
.arw.lg { width: 36px; height: 26px; border-radius: 14px; }

/* ---------- ボタン ---------- */
.more-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 270px; height: 60px; padding: 0 22px 0 30px; border: 1px solid var(--rule); border-radius: 40px; background: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.more-btn:hover { border-color: var(--blue); box-shadow: 0 6px 20px rgba(11,92,184,0.12); }
.more-btn:hover .arw, a:hover > .arw, a:hover .card-foot .arw { transform: translateX(4px); }
.more-btn.solid { background: var(--blue); color: #fff; border-color: var(--blue); }
.more-btn.solid .arw { background: #fff; color: var(--blue); }
.more-btn.small { min-width: 0; height: 48px; gap: 20px; padding: 0 16px 0 24px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 40px; font-weight: 700; font-size: 14px; border: 1px solid var(--rule); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s; }
.btn-lg { padding: 16px 32px; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- 見出し（英字の小見出し＋日本語の大見出し） ---------- */
.sec-en, .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-en); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); }
.sec-en::before, .eyebrow::before { content: ""; width: 2px; height: 13px; background: var(--blue-light); transform: skewX(-24deg); }
.sec-ja { margin-top: 26px; font-size: 40px; font-weight: 500; line-height: 1.4; letter-spacing: 0.06em; }
.sec-head.light .sec-en, .sec-head.light .sec-ja { color: #fff; }
.sec-head.light .sec-en::before { background: #9CC3EE; }
.sec-lead { margin-top: 32px; color: var(--ink-2); line-height: 2; }
.section { position: relative; padding: 120px 0; }
.section-tight { padding: 88px 0; }
.sec-blue { color: var(--blue); }

/* ============================================================
   下層ページの上部の帯
   ============================================================ */
.page-head { position: relative; padding: calc(var(--head-h) + 56px) 0 64px; border-bottom: 1px solid var(--rule); overflow: hidden; }
.page-head-grid { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; }
.page-head h1 { margin-top: 24px; font-size: 40px; font-weight: 500; line-height: 1.45; letter-spacing: 0.06em; }
.page-head-lede { margin-top: 36px; color: var(--ink-2); line-height: 2; }
.page-head-img { position: relative; }
.page-head-img img { width: 100%; aspect-ratio: 420 / 230; object-fit: cover; border-radius: 6px; position: relative; z-index: 1; }
.page-head-img .stripes { right: -40px; top: -36px; height: 160px; z-index: 2; }
.page-head-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- パンくず（ページ下部） ---------- */
.crumbs { padding: 56px 0 28px; font-size: 12px; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; gap: 14px; }
.crumbs li + li::before { content: ""; width: 1.5px; height: 11px; background: var(--blue-light); transform: skewX(-24deg); }
.crumbs a:hover { color: var(--blue); }
.crumbs li:last-child { color: var(--ink); font-weight: 500; }

/* ---------- 目次つき2カラム ---------- */
.toc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--head-h) + 32px); }
.toc a { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 13.5px; font-weight: 500; color: var(--ink-3); line-height: 1.6; transition: color .2s; }
.toc a::before { content: ""; flex-shrink: 0; width: 1.5px; height: 11px; background: var(--blue-light); transform: skewX(-24deg); }
.toc a:hover, .toc a.on { color: var(--ink); }
.toc-body > * + * { margin-top: 40px; }

/* ---------- 灰色の箱 ---------- */
.panel { background: var(--panel); border-radius: 6px; padding: 48px 40px; scroll-margin-top: calc(var(--head-h) + 16px); }
.panel-title { display: flex; align-items: center; gap: 16px; font-size: 24px; font-weight: 700; line-height: 1.5; letter-spacing: 0.06em; }
.panel-title::before { content: ""; flex-shrink: 0; width: 4px; height: 22px; background: linear-gradient(var(--blue-light), var(--blue)); transform: skewX(-24deg); }
.panel-num { font-family: var(--ff-en); font-size: 12px; font-weight: 600; color: var(--blue); letter-spacing: 0.1em; margin-bottom: 8px; }
.panel-text { margin-top: 24px; color: var(--ink-2); font-size: 14.5px; }
.panel-sub { margin-top: 32px; font-size: 14px; font-weight: 700; color: var(--blue); }
.panel-note { margin-top: 20px; font-size: 13px; color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tag { display: inline-block; padding: 3px 10px; background: #D6DEE8; border-radius: 2px; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); letter-spacing: 0.02em; }
.panel .tag { background: #fff; }
.white-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.white-card { background: #fff; border-radius: 4px; padding: 20px 24px; font-size: 14px; line-height: 1.7; }
.white-card .n { font-family: var(--ff-en); font-weight: 700; color: var(--blue); margin-right: 10px; }
.white-card h4 { font-size: 14px; color: var(--blue); margin-bottom: 8px; }
.white-card ul li { position: relative; padding-left: 14px; font-size: 13.5px; color: var(--ink-2); }
.white-card ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-light); }
.link-inline { color: var(--blue); font-weight: 700; display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; }

/* ---------- 表（スキル・会社概要） ---------- */
.def-table { border-top: 1px solid var(--rule); }
.def-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.def-row dt { font-weight: 700; color: var(--blue); font-size: 14.5px; }
.def-row dd { color: var(--ink); font-size: 14.5px; }
.def-row dd .tags { margin-top: 0; }
.def-row dd small { display: block; color: var(--ink-3); font-size: 12.5px; }

/* ---------- 写真の帯・コラージュ ---------- */
.photo-strip { display: flex; gap: 64px; align-items: flex-end; width: max-content; animation: strip 60s linear infinite; }
.photo-strip-wrap { overflow: hidden; padding: 24px 0; }
.photo-strip img { height: 190px; width: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.photo-strip img:nth-child(3n+2) { height: 150px; aspect-ratio: 3/4; }
.photo-strip img:nth-child(3n) { height: 210px; aspect-ratio: 16/10; }
@keyframes strip { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .photo-strip { animation: none; } }
/* 写真4枚の組み合わせ：参考サイトの同じ場所（1280px 幅で 1280×430 の範囲）の位置と大きさを % にしたもの */
.collage { position: relative; overflow: hidden; max-width: 1280px; margin: -7px auto -72px; aspect-ratio: 1280 / 430; }  /* 上下の余白を参考サイト（実績の枠から約89px・下の Products まで約81px）に合わせる */
.collage img { position: absolute; object-fit: cover; border-radius: 4px; }
.collage .c1 { left: 16.2%; top: 25.6%; width: 27.7%; aspect-ratio: 3 / 2; }          /* 左の大きい横長 */
.collage .c3 { left: 50.3%; top: 8.1%; width: 18%; aspect-ratio: 3 / 2; }             /* 右上の小さい横長 */
.collage .c4 { left: 71.25%; top: 35.1%; width: 12.7%; aspect-ratio: 162 / 225; }     /* 右端の縦長 */
.collage .c2 { left: 41.5%; top: 70.2%; width: 14.1%; aspect-ratio: 3 / 2; z-index: 1; } /* 大きい写真の右下に重なる小さい横長 */
.collage .stripes.s1 { left: 3.1%; top: 0; height: 25.8%; }
.collage .stripes.s2 { left: 90.5%; top: 79.5%; height: 18.4%; }

/* ============================================================
   トップ
   ============================================================ */
.hero { position: relative; padding: calc(var(--head-h) - 2px) 32px 40px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 40% 60%; align-items: center; min-height: 680px; }
.hero-copy { position: relative; z-index: 2; padding-left: 64px; }
.hero-slogan { font-family: var(--ff-en); font-weight: 600; font-size: 56px; line-height: 1.14; letter-spacing: -0.01em; color: var(--blue); }
.hero-slogan > span { display: block; }
.hero-slogan > span:last-child { color: var(--blue); }
/* 英字の見出し：1文字ずつ、透明・左に20pxずれた位置から出す（React で描いた後に1回だけ） */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero-slogan .ch { display: inline-block; }
@keyframes ch-in { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.anim-ready .hero-slogan .ch { animation: ch-in .5s var(--ease) both; }
.anim-ready .hero-fade { animation: fade-up .7s var(--ease) both; }
@media (scripting: enabled) { .site-root:not(.anim-ready) .hero-slogan .ch, .site-root:not(.anim-ready) .hero-fade { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .anim-ready .hero-slogan .ch, .anim-ready .hero-fade { animation: none; }
  .site-root:not(.anim-ready) .hero-slogan .ch, .site-root:not(.anim-ready) .hero-fade { opacity: 1; }
}
.hero-slogan .soft { color: #8FB4E2; }
.hero-catch { margin-top: 44px; font-size: 19px; font-weight: 500; line-height: 1.8; letter-spacing: 0.08em; }
.hero-catch em { font-style: normal; color: var(--blue); }
.hero-sub { margin-top: 18px; font-size: 13.5px; line-height: 2; color: var(--ink-2); max-width: 420px; }
/* ヒーローの写真：景色1枚。前の3枚分の範囲（280px＋16px＋360px）を1枚で埋め、ゆっくり拡大しながら少し横に流す */
.hero-photos { position: relative; height: 656px; overflow: hidden; border-radius: 6px; }
.hero-photos img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; animation: hero-drift 10s ease-in-out infinite alternate; will-change: transform; }
@keyframes hero-drift {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.15) translateX(-4%); }  /* 1.15 倍で左右に 7.5% ずつ余白ができ、横の移動は 4%×1.15＝4.6% に収まるので端は見えない（途中も倍率と移動が同じ割合で進むので同じ） */
}
@media (prefers-reduced-motion: reduce) { .hero-photos img { animation: none; } }
.hero .stripes.s1 { left: 360px; top: -20px; height: 150px; }
.hero .stripes.s2 { left: -20px; bottom: 60px; height: 90px; }
.hero-news { margin-top: 36px; display: inline-flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; max-width: 440px; transition: border-color .2s, box-shadow .2s; }
.hero-news:hover { border-color: var(--blue); box-shadow: 0 6px 20px rgba(11,92,184,0.10); }
.hero-news img { width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0; }
.hero-news-label { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.hero-news-new { background: #FFD66B; color: #040712; font-weight: 700; font-size: 10.5px; padding: 1px 6px; border-radius: 2px; }
.hero-news-title { display: block; font-size: 14px; font-weight: 700; line-height: 1.6; }
.hero-news-sub { display: block; font-size: 12px; color: var(--blue); line-height: 1.5; }

.about-grid { display: grid; grid-template-columns: 1fr; }
.about-text { margin-top: 40px; font-size: 15px; line-height: 2.1; color: var(--ink); }
.about-btn { margin-top: 48px; }

.works-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.works-map { position: relative; aspect-ratio: 1 / 0.92; }
.works-core { position: absolute; left: 50%; top: 48%; transform: translate(-50%,-50%) rotate(-14deg); width: 50%; aspect-ratio: 1.3; border-radius: 50%; background: radial-gradient(ellipse at 70% 30%, #A9CDF3 0%, #D3E6FA 55%, #EAF3FD 100%); display: flex; align-items: center; justify-content: center; }
.works-core::after { content: ""; position: absolute; inset: -7% -5%; border-radius: 50%; background: rgba(170,205,243,0.3); transform: rotate(28deg); z-index: -1; }
.works-core-text { transform: rotate(14deg); text-align: center; }
.works-core-text b { display: block; font-size: 18px; color: var(--blue); letter-spacing: 0.08em; }
.works-core-text .en { font-size: 11px; color: #7FA6D6; }
.works-node { position: absolute; transform: translate(-50%, -32px); width: 180px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.works-node .dot { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; color: var(--blue); box-shadow: 0 0 0 6px #fff; transition: background .25s, color .25s; }
.works-node:hover .dot { background: var(--blue); color: #fff; }
.works-node b { display: block; font-size: 13px; line-height: 1.45; color: var(--blue); letter-spacing: 0.04em; }
.works-node .en { display: block; font-size: 10px; color: #7FA6D6; line-height: 1.4; }

.projects-box { position: relative; background: var(--slate); border-radius: 4px; padding: 64px 0 64px 40px; overflow: hidden; margin: 0 40px; }
.projects-box::before { content: ""; position: absolute; right: 8%; top: -10%; width: 140px; height: 130%; background: rgba(255,255,255,0.05); transform: skewX(-24deg); }
.projects-head { display: flex; justify-content: space-between; align-items: flex-end; padding-right: 40px; }
.projects-ctrl { display: flex; gap: 20px; }
.projects-ctrl button { width: 30px; height: 22px; border-radius: 12px; border: 0; background: #fff; color: var(--blue); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.projects-ctrl button[disabled] { background: rgba(255,255,255,0.35); color: var(--slate); cursor: default; }
.projects-track { margin-top: 40px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: 40px; scroll-behavior: smooth; }
.projects-track::-webkit-scrollbar { display: none; }
.proj-card { flex: 0 0 280px; scroll-snap-align: start; background: #fff; border-radius: 3px; display: flex; flex-direction: column; }
.proj-card-body { padding: 28px 28px 24px; flex: 1; }
.proj-card .ico { color: var(--blue-light); }
.proj-card h3 { margin-top: 18px; font-size: 16px; font-weight: 700; color: var(--blue); line-height: 1.6; letter-spacing: 0.04em; }
.proj-card .meta { font-family: var(--ff-en); font-size: 11px; color: var(--ink-3); margin-top: 14px; }
.proj-card .tags { margin-top: 14px; gap: 4px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; border-top: 1px solid var(--rule); font-size: 12.5px; font-weight: 700; }

.products-list { margin-top: 48px; display: grid; gap: 16px; }
.product-card { display: grid; grid-template-columns: 240px 1fr auto; gap: 48px; align-items: center; background: var(--panel); border-radius: 4px; padding: 32px; }
.product-logo { background: #fff; border-radius: 3px; height: 140px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; }
.product-logo img { max-height: 76px; width: auto; }
.product-logo .name { font-family: var(--ff-en); font-weight: 700; font-size: 22px; color: var(--blue); }
.product-card h3 { font-size: 20px; font-weight: 700; color: var(--blue); line-height: 1.6; letter-spacing: 0.04em; }
.product-card p { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; max-width: 380px; }
.product-badge { display: inline-block; margin-left: 10px; vertical-align: 3px; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 2px; background: #fff; color: var(--ink-2); }

.news-grid { display: grid; grid-template-columns: 340px 1fr; gap: 40px; }
.news-list li a, .news-list li > div { display: block; padding: 26px 0; border-top: 1px solid var(--rule); }
.news-list li:last-child a, .news-list li:last-child > div { border-bottom: 1px solid var(--rule); }
.news-meta { display: flex; align-items: center; gap: 16px; font-family: var(--ff-en); font-size: 12.5px; color: var(--ink-3); }
.news-kind { font-family: var(--ff-jp); font-size: 11px; font-weight: 700; background: var(--panel); color: var(--ink); padding: 0 8px; border-radius: 2px; }
.news-title { margin-top: 8px; font-size: 14px; line-height: 1.8; }
.news-list a:hover .news-title { color: var(--blue); }
.news-more { margin-top: 40px; text-align: center; }

/* トップ：追加セクション（今のHPの文言を入れるため、同じ見た目で足したもの） */
.hero-ctas { margin-top: 28px; }
.works-map { aspect-ratio: 1 / 0.98; }
.works-core-text b { font-family: var(--ff-en); font-size: 54px; line-height: 1; }
.works-node { width: 200px; }
.works-node .desc { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.7; color: var(--ink-2); font-weight: 400; }
/* 技術領域の図：中央の円は「30%」と「左右の説明文（各150px）＋余白60pxを除いた幅」の小さい方。5つは円のまわりの決まった位置に置き、どの幅でも円とも互いにも重ならない */
.works-map { aspect-ratio: auto; height: 560px; }
.works-core { top: 52%; width: min(30%, calc(100% - 360px)); }
.works-node { width: 150px; transform: none; }
.works-node.n0 { left: 50%; top: 0; transform: translateX(-50%); }
.works-node.n1 { right: 0; top: 30%; }
.works-node.n2 { right: 12%; top: 72%; }
.works-node.n3 { left: 12%; top: 72%; }
.works-node.n4 { left: 0; top: 30%; }
.svc-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-card { background: var(--panel); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.svc-img { position: relative; aspect-ratio: 2 / 1; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.04); }
.svc-n { position: absolute; left: 0; bottom: 0; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; padding: 6px 14px; }
.svc-body { padding: 28px 32px 32px; }
.svc-body h3 { font-size: 18px; color: var(--blue); line-height: 1.6; letter-spacing: 0.04em; }
.svc-body p { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.svc-body .tag { background: #fff; }
.projects-side { display: flex; align-items: center; gap: 28px; }
.projects-all { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 13px; font-weight: 700; }
.projects-all .arw { background: #fff; color: var(--blue); }
.proj-card.has-img { flex-basis: 320px; overflow: hidden; }
.proj-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); }
.proj-img img { width: 100%; height: 100%; object-fit: cover; }
.proj-card .meta { display: flex; gap: 10px; align-items: center; margin-top: 0; }
.proj-sector { font-family: var(--ff-jp); font-size: 11px; font-weight: 700; color: #fff; background: var(--blue); padding: 0 8px; border-radius: 2px; }
.proj-card.has-img h3 { margin-top: 10px; font-size: 15px; }
.product-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.product-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 2px; background: #fff; color: var(--ink-2); }
.product-badge.on { background: var(--blue); color: #fff; }
.product-kind { font-family: var(--ff-en); font-size: 12px; font-weight: 600; color: var(--ink-3); }
a.product-card:hover .more-btn { border-color: var(--blue); }
.step-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stats-row { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stat-box { padding: 32px 24px; text-align: center; }
.stat-box + .stat-box { border-left: 1px solid var(--rule); }
.stat-n { font-size: 48px; font-weight: 600; color: var(--blue); line-height: 1.1; }
.stat-l { margin-top: 8px; font-size: 13.5px; font-weight: 700; }
@media (max-width: 900px) {
  .works-node .desc { font-size: 12px; }
  .svc-grid, .step-grid { grid-template-columns: 1fr; }
  .svc-body { padding: 22px 20px 24px; }
  .projects-side { gap: 14px; }
  .projects-all { font-size: 12px; }
  .proj-card.has-img { flex-basis: 270px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-box:nth-child(3) { border-left: 0; }
  .stat-box:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .stat-n { font-size: 36px; }
  .projects-head { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ============================================================
   CTA（下層ページの末尾）
   ============================================================ */
.cta-band { padding: 40px 0 0; }
.cta-box { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; background: var(--blue); color: #fff; border-radius: 4px; padding: 12px 48px 12px 12px; }
.cta-box img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; border-radius: 3px; }
.cta-box > div { padding: 32px 0; }
.cta-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.8); }
.cta-eyebrow::before { content: ""; width: 2px; height: 13px; background: #9CC3EE; transform: skewX(-24deg); }
.cta-h { margin-top: 12px; font-size: 24px; font-weight: 700; line-height: 1.6; letter-spacing: 0.06em; }
.cta-h em { font-style: normal; color: #CFE3FA; }
.cta-box p.t { margin-top: 12px; font-size: 13.5px; line-height: 1.9; color: rgba(255,255,255,0.88); }
.cta-btns { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.cta-btn { display: inline-flex; align-items: center; gap: 16px; height: 50px; padding: 0 14px 0 24px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.5); color: #fff; font-size: 13.5px; font-weight: 700; transition: background .2s; }
.cta-btn:hover { background: rgba(255,255,255,0.12); }
.cta-btn .arw { background: #fff; color: var(--blue); }
.cta-btn.solid { background: #fff; color: var(--blue); border-color: #fff; }
.cta-btn.solid .arw { background: var(--blue); color: #fff; }
.sec-label { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--rule); font-family: var(--ff-jp); font-size: 12.5px; font-weight: 500; color: var(--ink-3); letter-spacing: 0.06em; }
.sec-head.light .sec-label { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.3); }
.sec-ja em, .page-head h1 em, .panel-title em { font-style: normal; color: var(--blue); }
.sec-head.light .sec-ja em { color: #CFE3FA; }

/* ============================================================
   フッター
   ============================================================ */
.site-foot { background: var(--foot); padding: 80px 0 40px; }
.foot-map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; padding-bottom: 56px; border-bottom: 1px solid #C8D4E2; }
.foot-h { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; letter-spacing: 0.06em; }
.foot-h .arw { width: 22px; height: 16px; }
.foot-col ul { margin-top: 18px; }
.foot-col li a { display: block; font-size: 12.5px; font-weight: 700; color: #7C93AF; line-height: 1.6; padding: 6px 0; letter-spacing: 0.03em; }
.foot-col li a:hover, .foot-h:hover { color: var(--blue); }
.foot-col .foot-h + .foot-h, .foot-col ul + .foot-h { margin-top: 28px; }
.foot-info { display: grid; grid-template-columns: 1fr auto; gap: 40px; padding-top: 56px; align-items: start; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { width: 52px; height: 52px; }
.foot-brand b { display: block; font-size: 20px; letter-spacing: 0.08em; }
.foot-brand .en { display: block; font-size: 10.5px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.14em; }
.foot-est { margin-top: 18px; font-size: 12px; color: #7C93AF; font-weight: 700; }
.foot-addr { display: grid; grid-template-columns: auto 1fr; gap: 10px 40px; font-size: 12.5px; color: #7C93AF; font-weight: 700; line-height: 1.7; }
.foot-addr dt { color: var(--ink); }
.foot-addr a:hover { color: var(--blue); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; font-size: 11.5px; font-weight: 700; color: #8A9AAE; }
.foot-bottom nav { display: flex; gap: 20px; }
.foot-bottom nav a { color: #6C88AB; }
.foot-bottom nav a:hover { color: var(--blue); }

/* ============================================================
   下層ページ個別
   ============================================================ */
/* 特長（technology） */
.feat-card { position: relative; display: grid; grid-template-columns: 331px 1fr; gap: 48px; align-items: start; background: var(--blue-soft); border-radius: 4px; padding: 24px 48px 48px 24px; }
.feat-card + .feat-card { margin-top: 40px; }
/* 左の写真：参考サイトの特長のページと同じ 331×472（約7:10）で固定し、カードの高さに合わせて伸ばさない。
   カードが長いときはヘッダーの下（上から 140px）で止まって付いてくる（カードの終わりで一緒に流れる） */
.feat-card > img { width: 100%; height: auto; aspect-ratio: 331 / 472; object-fit: cover; border-radius: 4px; position: sticky; top: calc(var(--head-h) + 28px); }
.feat-num { font-family: var(--ff-en); font-size: 46px; font-weight: 500; color: #C2D3E8; line-height: 1; margin-top: 24px; }
.feat-card h3 { margin-top: 28px; font-size: 26px; font-weight: 700; line-height: 1.6; letter-spacing: 0.06em; }
.feat-card h3 em { font-style: normal; color: var(--blue); }
.feat-card p { margin-top: 24px; font-size: 14px; color: var(--ink-2); }
.feat-card .tags { margin-top: 24px; }
.feat-card .tag { background: #fff; }
.feat-small { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.feat-small > div { background: #fff; padding: 18px 20px; border-radius: 3px; }
.feat-small b { display: block; color: var(--blue); font-size: 14px; margin-bottom: 6px; }
.feat-small p { margin: 0; font-size: 13px; line-height: 1.8; }
.example-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; }
.example-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.example-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; background: var(--panel); border-radius: 3px; padding: 20px; min-height: 140px; transition: background .2s; }
.example-tile:hover { background: var(--blue-soft); }
.example-tile .ico { color: var(--blue-light); }
.example-tile .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 700; line-height: 1.6; }

/* 製品（flowocr） */
.prod-frame { max-width: 860px; margin: 0 auto; }
.prod-bar { display: flex; align-items: center; gap: 28px; background: var(--blue); padding: 8px; border-radius: 3px 3px 0 0; color: #fff; font-weight: 700; font-size: 17px; letter-spacing: 0.06em; }
.prod-bar .logo { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 2px; width: 140px; height: 70px; }
.prod-bar .logo img { height: 52px; }
.prod-body { background: var(--panel); padding: 56px 32px 48px; border-radius: 0 0 3px 3px; }
.prod-catch { text-align: center; font-size: 22px; font-weight: 700; line-height: 1.9; letter-spacing: 0.06em; }
.prod-catch em { font-style: normal; color: var(--blue); }
.prod-catch mark { background: #fff; color: var(--blue); padding: 2px 10px; }
.prod-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-top: 40px; }
.prod-intro img { width: 100%; border-radius: 4px; box-shadow: 0 12px 32px rgba(28,36,48,0.12); }
.prod-intro p { font-size: 14px; color: var(--ink-2); }
.prod-issues { margin-top: 48px; background: linear-gradient(120deg, #F3F8FE 0%, #DCEBFB 100%); border-radius: 3px; padding: 40px 32px; }
.prod-issues-h { text-align: center; font-weight: 700; font-size: 14.5px; }
.prod-issues-h span { border-bottom: 2px solid var(--blue); padding-bottom: 4px; }
.prod-issues-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
.prod-issues-grid b { display: inline-block; background: #fff; color: var(--blue); font-size: 13px; padding: 2px 14px; border-radius: 14px; }
.prod-issues-grid p { margin-top: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.prod-h { margin-top: 56px; font-weight: 700; font-size: 15px; }
.prod-h:first-child { margin-top: 0; }
.prod-checks { margin-top: 16px; display: grid; gap: 10px; }
.prod-check { position: relative; background: #fff; padding: 32px 32px 32px 40px; border-radius: 2px; }
.prod-check::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; background: var(--blue); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.prod-check .side { font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.prod-check h3 { margin-top: 4px; font-size: 17px; color: var(--blue); line-height: 1.6; }
.prod-check-grid { display: grid; grid-template-columns: 1fr 260px; gap: 28px; align-items: start; margin-top: 14px; }
.prod-check-grid img { width: 100%; border-radius: 3px; border: 1px solid var(--rule); }
.prod-check ul li, .plain-list li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.prod-check ul li::before, .plain-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); }
.flow-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.flow-col { background: #fff; padding: 24px; border-radius: 2px; }
.flow-col h4 { font-size: 14px; color: var(--blue); }
.flow-col ol { margin-top: 12px; counter-reset: f; }
.flow-col li { counter-increment: f; display: flex; gap: 12px; font-size: 13.5px; padding: 8px 0; border-bottom: 1px dashed var(--rule); }
.flow-n { font-weight: 700; color: var(--blue-light); }
.invoice-list { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.invoice-list li { background: #fff; padding: 14px 18px; font-size: 13.5px; border-radius: 2px; display: flex; gap: 12px; }
.invoice-list li b { font-family: var(--ff-en); color: var(--blue); }
.usecase { display: grid; grid-template-columns: 220px 1fr; gap: 24px; background: #fff; padding: 24px; border-radius: 2px; margin-top: 10px; }
.usecase img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }
.usecase .k { font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.usecase h4 { font-size: 15.5px; color: var(--blue); margin-top: 2px; line-height: 1.6; }
.usecase p { font-size: 13px; color: var(--ink-2); margin: 8px 0; line-height: 1.8; }
.steps { margin-top: 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.steps li { background: #fff; padding: 18px 16px; border-radius: 2px; }
.steps .s { font-family: var(--ff-en); font-size: 11px; font-weight: 700; color: var(--blue); }
.steps b { display: block; font-size: 14px; margin-top: 4px; }
.steps p { margin-top: 6px; font-size: 12.5px; line-height: 1.75; color: var(--ink-2); }
.price-box { margin-top: 16px; background: #fff; border-radius: 2px; padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.price-name { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.price-num { margin-top: 6px; font-family: var(--ff-en); font-size: 40px; font-weight: 700; color: var(--blue); line-height: 1.2; }
.price-num small { font-family: var(--ff-jp); font-size: 15px; color: var(--ink); margin-left: 6px; }
.price-unit { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.price-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin-top: 10px; }
.faq { margin-top: 16px; display: grid; gap: 8px; }
.faq details { background: #fff; border-radius: 2px; }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: center; padding: 20px 24px; font-weight: 700; font-size: 14.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--ff-en); color: var(--blue); font-size: 18px; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--blue); font-size: 20px; font-weight: 500; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 24px 22px 54px; font-size: 13.5px; color: var(--ink-2); }

/* 案件事例（cases） */
.case-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.case-filter button { border: 1px solid var(--rule); background: #fff; border-radius: 20px; padding: 6px 18px; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--ink-2); }
.case-filter button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.case-card { background: #fff; border-radius: 3px; display: flex; flex-direction: column; scroll-margin-top: calc(var(--head-h) + 16px); }
.case-card-body { padding: 28px; flex: 1; }
.case-card .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-card .ico { color: var(--blue-light); }
.case-card .meta { font-family: var(--ff-en); font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.case-card .sector { font-size: 12px; font-weight: 700; color: var(--ink-3); margin-top: 16px; }
.case-card h3 { font-size: 16px; color: var(--blue); line-height: 1.6; margin-top: 4px; }
.case-card p { font-size: 13px; color: var(--ink-2); margin-top: 12px; line-height: 1.85; }
.case-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; font-size: 12px; }
.case-facts span { color: var(--ink-3); margin-right: 6px; }
.case-card .tags { gap: 4px; }
.case-card .tag { background: var(--panel); }

/* 会社概要 */
.mission { text-align: left; }
.mission-copy { margin-top: 40px; font-size: 30px; font-weight: 500; line-height: 1.7; letter-spacing: 0.08em; }
.mission-copy em { font-style: normal; color: var(--blue); }
.mission-en { margin-top: 12px; font-family: var(--ff-en); font-size: 14px; color: var(--blue-light); font-weight: 600; }
.mission-text { margin-top: 32px; color: var(--ink-2); line-height: 2.1; }
.member-main { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.member-main img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.member-role { font-size: 12.5px; color: var(--ink-3); }
.member-name { margin-top: 12px; font-size: 24px; font-weight: 500; letter-spacing: 0.08em; }
.member-name .en { font-size: 13px; color: var(--ink-3); margin-left: 14px; letter-spacing: 0.04em; }
.member-main p { margin-top: 24px; color: var(--ink-2); line-height: 2.1; font-size: 14.5px; }
.member-list { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.member-card { background: #fff; border-radius: 3px; overflow: hidden; }
.member-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.member-card div { padding: 18px 20px 22px; }
.member-card .r { font-family: var(--ff-en); font-size: 10.5px; color: var(--blue); font-weight: 700; letter-spacing: 0.06em; }
.member-card b { display: block; font-size: 17px; margin-top: 4px; }
.member-card b .en { font-size: 11.5px; font-weight: 500; color: var(--ink-3); margin-left: 8px; }
.member-card p { margin-top: 10px; font-size: 12.5px; color: var(--ink-2); line-height: 1.85; }
.history { border-left: 1px solid var(--rule); margin-left: 6px; }
.history li { position: relative; padding: 0 0 40px 36px; }
.history li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.history .d { font-family: var(--ff-en); font-weight: 700; color: var(--blue); font-size: 14px; }
.history b { display: block; margin-top: 4px; font-size: 16px; }
.history p { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }

/* お問い合わせ */
.contact-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.contact-info { display: grid; gap: 28px; position: sticky; top: calc(var(--head-h) + 32px); }
.contact-block h4 { font-size: 14px; font-weight: 700; color: var(--blue); display: flex; align-items: center; margin-bottom: 8px; }
.contact-block p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.contact-block a { color: var(--blue); }
.form-card { background: var(--panel); border-radius: 4px; padding: 48px 40px; }
.form-row { margin-bottom: 28px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.form-label .req { color: #D04545; }
.form-label .opt { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.form-input, .form-select, .form-textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 12px 14px; transition: border-color .2s; letter-spacing: 0.02em; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,92,184,0.12); }
.form-input.err, .form-textarea.err { border-color: #D04545; }
.form-textarea { min-height: 180px; resize: vertical; line-height: 1.8; }
.form-err-msg { margin-top: 6px; font-size: 12.5px; color: #D04545; }
.form-topic { display: flex; flex-wrap: wrap; gap: 8px; }
.form-topic-chip { border: 1px solid var(--rule); background: #fff; border-radius: 20px; padding: 7px 16px; font-size: 13px; cursor: pointer; transition: all .2s; }
.form-topic-chip:hover { border-color: var(--blue); color: var(--blue); }
.form-topic-chip.sel { background: var(--blue); border-color: var(--blue); color: #fff; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.8; margin-bottom: 28px; cursor: pointer; }
.form-consent input { margin-top: 5px; width: 16px; height: 16px; accent-color: var(--blue); }
.form-submit { width: 100%; justify-content: center; }
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(28,36,48,0.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { position: relative; background: #fff; border-radius: 8px; padding: 48px 40px 40px; max-width: 480px; width: 100%; text-align: center; }
.modal-close { position: absolute; top: 14px; right: 14px; background: none; border: 0; cursor: pointer; color: var(--ink-3); }
.modal-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.modal h3 { font-size: 18px; }
.modal p { margin: 12px 0 16px; font-size: 13.5px; color: var(--ink-2); }
.modal .ref { font-family: var(--ff-en); font-weight: 700; color: var(--blue); margin-bottom: 24px; }

/* ============================================================
   既存ページ（プライバシー・規約・補助金特設）の読み替え
   ============================================================ */
.hero-bg-stars-global, .orb, .cta-ring { display: none !important; }
.company-hero { position: relative; padding: calc(var(--head-h) + 56px) 0 64px; border-bottom: 1px solid var(--rule); }
.page-crumb { display: flex; gap: 12px; font-size: 12px; color: var(--ink-3); margin-bottom: 24px; }
.page-crumb .sep { color: var(--blue-light); }
.page-crumb .here { color: var(--ink); }
.page-h1 { margin-top: 20px; font-size: 38px; font-weight: 500; line-height: 1.5; letter-spacing: 0.06em; }
.page-h1 em { font-style: normal; color: var(--blue); }
.page-lede { margin-top: 28px; color: var(--ink-2); max-width: 720px; }
.section-header { margin-bottom: 40px; }
.section-title { margin-top: 20px; font-size: 30px; font-weight: 500; line-height: 1.5; letter-spacing: 0.06em; }
.section-title em, .cta-title em { font-style: normal; color: var(--blue); }
.legal-doc { max-width: 860px; }
.legal-doc .legal-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 24px; }
.legal-doc p { margin: 14px 0; color: var(--ink-2); font-size: 14.5px; }
.legal-doc h2 { display: flex; align-items: center; gap: 14px; margin: 48px 0 16px; font-size: 19px; font-weight: 700; }
.legal-doc h2::before { content: ""; width: 3px; height: 18px; background: var(--blue); transform: skewX(-24deg); }
.legal-doc ul { margin: 12px 0; }
.legal-doc li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; margin: 4px 0; }
.legal-doc li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); }
.legal-doc a { color: var(--blue); text-decoration: underline; }
.section-cta { padding: 96px 0; }
.cta-inner { background: var(--panel); border-radius: 4px; padding: 56px 48px; }
.cta-title { margin-top: 20px; font-size: 28px; font-weight: 500; line-height: 1.6; }
.cta-sub { margin-top: 18px; color: var(--ink-2); }
.cta-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.subsidy-deadline { margin-top: 20px; font-weight: 700; color: var(--blue); }
.subsidy-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.subsidy-stat-card { background: var(--panel); border-radius: 4px; padding: 32px; text-align: center; }
.subsidy-stat-n { font-family: var(--ff-en); font-size: 36px; font-weight: 700; color: var(--blue); }
.subsidy-stat-l { font-weight: 700; }
.subsidy-stat-s { font-family: var(--ff-en); font-size: 11px; color: var(--ink-3); }
.subsidy-checklist { display: grid; gap: 8px; }
.subsidy-check-item { display: flex; align-items: center; gap: 14px; text-align: left; background: var(--panel); border: 1px solid transparent; border-radius: 4px; padding: 16px 20px; cursor: pointer; font-size: 14.5px; }
.subsidy-check-item.checked { border-color: var(--blue); background: var(--blue-soft); }
.subsidy-check-box { width: 22px; height: 22px; flex-shrink: 0; border: 1.5px solid var(--blue); border-radius: 3px; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.subsidy-check-result { margin-top: 24px; padding: 24px; background: var(--blue-soft); border-radius: 4px; }
.subsidy-check-result p { font-weight: 700; color: var(--blue); margin-bottom: 16px; }
.subsidy-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.subsidy-badge { background: var(--panel); padding: 6px 14px; border-radius: 2px; font-size: 13.5px; }
.subsidy-note { margin-top: 20px; color: var(--ink-2); font-size: 14px; }
.subsidy-docs { border-top: 1px solid var(--rule); }
.subsidy-doc-row { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.subsidy-doc-n { font-family: var(--ff-en); font-weight: 700; color: var(--blue); }
.subsidy-flow { display: flex; gap: 12px; align-items: stretch; }
.subsidy-flow-step { flex: 1; }
.subsidy-flow-arrow { display: flex; align-items: center; color: var(--blue); }
.approach-card { background: var(--panel); border-radius: 4px; padding: 28px; height: 100%; }
.approach-num { font-family: var(--ff-en); font-size: 12px; font-weight: 700; color: var(--blue); }
.approach-title { margin-top: 6px; font-weight: 700; font-size: 16px; }
.approach-desc { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1200px) {
  .head-nav a { padding: 0 10px; }
  .head-contact { padding-left: 20px; gap: 14px; }
  .hero-slogan { font-size: 48px; }
}
@media (max-width: 1080px) {
  :root { --head-h: 80px; }
  .head-nav, .head-contact .en { display: none; }
  .head-inner { height: 64px; padding-left: 16px; }
  .head-contact { height: 48px; padding: 0 10px 0 20px; }
  .head-menu-btn { display: inline-flex; }
  .site-head { padding: 8px 8px 0; }
}
@media (max-width: 900px) {
  :root { --pad: 20px; }
  body { font-size: 14px; }
  .sp-only { display: inline; }
  .section { padding: 80px 0; }
  .section-tight { padding: 64px 0; }
  .sec-ja { font-size: 28px; margin-top: 18px; }
  .hero { padding: calc(var(--head-h) + 16px) 0 24px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 48px; }
  .hero-copy { padding: 0 20px; }
  .hero-slogan { font-size: 42px; }
  .hero-catch { margin-top: 28px; font-size: 17px; }
  .hero-photos { margin-left: 26%; margin-right: 20px; height: 296px; }
  .hero .stripes.s1 { left: auto; right: 10px; top: 60px; height: 90px; }
  .hero .stripes.s2 { left: -10px; bottom: 120px; height: 70px; }
  .hero-news { max-width: 100%; }
  .works-grid { grid-template-columns: 1fr; }
  .works-map { aspect-ratio: auto; height: auto; display: grid; gap: 10px; }
  .works-core { display: none; }
  .works-node { position: static; width: 100%; transform: none !important; flex-direction: row; text-align: left; gap: 12px; background: var(--panel); border-radius: 40px; padding: 6px 16px 6px 6px; }
  .works-node .dot { box-shadow: none; }
  .works-node .dot { width: 44px; height: 44px; }
  .projects-box { margin: 0 12px; padding: 48px 0 40px 20px; }
  .projects-head { padding-right: 20px; }
  .proj-card { flex-basis: 260px; }
  /* スマホ：参考サイトの 375px 幅（375×480 の範囲）の並び */
  .collage { aspect-ratio: 375 / 480; margin-bottom: -43px; }  /* 下の Products まで約65px（参考サイトの 375px 幅） */
  .collage .c1 { left: 29.1%; top: 0; width: 57%; }
  .collage .c3 { left: 6.4%; top: 37.9%; width: 45.9%; }
  .collage .c4 { left: 65.9%; top: 46%; width: 27.7%; }
  .collage .c2 { left: 33.3%; top: 72.1%; width: 37.6%; }
  .collage .stripes.s1 { left: 0; top: 12.3%; height: 13.8%; }
  .collage .stripes.s2 { left: 84%; top: 88.3%; height: 11%; }
  .product-card { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .product-logo { height: 110px; }
  .news-grid { grid-template-columns: 1fr; gap: 24px; }
  .more-btn { min-width: 240px; height: 56px; }
  .page-head { padding: calc(var(--head-h) + 32px) 0 48px; }
  .page-head-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-head h1 { font-size: 28px; margin-top: 16px; }
  .page-head-lede { margin-top: 24px; }
  .page-head-img { margin-left: 20%; }
  .page-head-img .stripes { right: -10px; height: 110px; }
  .toc-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 0 18px; border-bottom: 1px solid var(--rule); padding-bottom: 16px; }
  .toc a { padding: 5px 0; font-size: 13px; }
  .panel { padding: 32px 20px; }
  .panel-title { font-size: 19px; gap: 12px; }
  .white-cards { grid-template-columns: 1fr; }
  .def-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .photo-strip { gap: 24px; }
  .photo-strip img { height: 120px; }
  .photo-strip img:nth-child(3n+2) { height: 100px; }
  .photo-strip img:nth-child(3n) { height: 130px; }
  .cta-box { grid-template-columns: 1fr; padding: 10px 10px 8px; gap: 8px; }
  .cta-box img { min-height: 0; aspect-ratio: 16/9; }
  .cta-box > div { padding: 12px 14px 24px; }
  .cta-h { font-size: 19px; }
  .sec-label { margin-left: 10px; padding-left: 10px; }
  .site-foot { padding: 56px 0 32px; }
  .foot-map { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot-info { grid-template-columns: 1fr; }
  .foot-addr { grid-template-columns: 1fr; gap: 2px; }
  .foot-addr dd { margin-bottom: 10px; }
  .foot-bottom { flex-direction: column-reverse; margin-top: 40px; }
  .feat-card { grid-template-columns: 1fr; padding: 16px 20px 32px; gap: 8px; }
  .feat-card > img { min-height: 0; aspect-ratio: 16 / 9; position: static; }
  .feat-card h3 { font-size: 20px; margin-top: 16px; }
  .feat-small { grid-template-columns: 1fr; }
  .example-grid { grid-template-columns: 1fr; }
  .example-tiles { grid-template-columns: 1fr 1fr; }
  .prod-body { padding: 32px 16px; }
  .prod-bar { gap: 14px; font-size: 14px; }
  .prod-bar .logo { width: 90px; height: 50px; }
  .prod-bar .logo img { height: 36px; }
  .prod-catch { font-size: 17px; }
  .prod-intro, .prod-issues-grid, .prod-check-grid, .flow-cols, .invoice-list, .usecase, .price-box, .price-feat { grid-template-columns: 1fr; }
  .prod-check { padding: 32px 18px 24px; }
  .steps { grid-template-columns: 1fr; }
  .price-box { padding: 24px; }
  .case-grid { grid-template-columns: 1fr; }
  .mission-copy { font-size: 22px; }
  .member-main { grid-template-columns: 1fr; gap: 24px; }
  .member-main img { max-width: 220px; }
  .member-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info { position: static; }
  .form-card { padding: 28px 18px; }
  .form-row.two { grid-template-columns: 1fr; gap: 20px; }
  .company-hero { padding: calc(var(--head-h) + 32px) 0 48px; }
  .page-h1 { font-size: 26px; }
  .section-title { font-size: 23px; }
  .cta-inner { padding: 36px 22px; }
  .cta-title { font-size: 21px; }
  .subsidy-stats { grid-template-columns: 1fr; }
  .subsidy-flow { flex-direction: column; }
  .subsidy-flow-arrow { justify-content: center; transform: rotate(90deg); }
}
@media (max-width: 480px) {
  .head-brand-name small { display: none; }
  .head-brand-name { font-size: 14px; }
  .head-contact { font-size: 12px; gap: 10px; padding-left: 16px; }
  .hero-slogan { font-size: 36px; }
  .example-tiles { grid-template-columns: 1fr; }
}
.head-contact > span { white-space: nowrap; }
@media (max-width: 480px) {
  .head-inner { padding-left: 12px; gap: 8px; }
  .head-brand { gap: 6px; }
  .head-brand img { width: 32px; height: 32px; }
  .head-contact { height: 44px; padding: 0 8px 0 14px; gap: 8px; }
  .head-contact .arw { width: 28px; height: 20px; }
  .head-menu-btn { width: 44px; height: 44px; }
}
@media (max-width: 1080px) { .head-inner { padding-right: 4px; } }
.feat-label { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--blue); }
.feat-label::before { content: ""; width: 2px; height: 12px; background: var(--blue-light); transform: skewX(-24deg); }
.feat-h { margin-top: 12px; font-size: 26px; font-weight: 700; line-height: 1.6; letter-spacing: 0.06em; }
.feat-h em { font-style: normal; color: var(--blue); }
.feat-sub { display: block; color: var(--blue); font-size: 14px; margin-bottom: 6px; font-weight: 700; }
@media (max-width: 900px) { .feat-h { font-size: 20px; } }
.fo-head { margin-top: 64px; }
.fo-h { margin-top: 8px; font-size: 22px; font-weight: 700; line-height: 1.6; letter-spacing: 0.06em; }
.fo-h em, .prod-issues-h em { font-style: normal; color: var(--blue); }
.prod-issues .feat-label { display: flex; justify-content: center; margin-top: 0; margin-bottom: 8px; }
.prod-intro { margin-top: 0; }
.flow-h { font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.flow-tag { font-size: 11px; color: #fff; background: var(--blue); padding: 1px 8px; border-radius: 2px; }
.page-head h1 em { font-style: normal; color: var(--blue); }
@media (max-width: 900px) { .fo-h { font-size: 18px; } .fo-head { margin-top: 48px; } }
/* ヒーローの相談案内・採用の帯 */
/* 「ITよろず相談」の案内：ヒーローの FlowOCR お知らせカード（.hero-news）と同じ作り（白地・細い線・角丸10px・影はカードのホバー時と同じ） */
.toast { position: fixed; right: 32px; bottom: 32px; z-index: 80; width: 280px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 6px 20px rgba(11,92,184,0.10); padding: 14px 18px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.toast.on { opacity: 1; transform: none; pointer-events: auto; }
.toast-close { position: absolute; top: 8px; right: 8px; background: none; border: 0; color: var(--ink-3); cursor: pointer; font-size: 12px; padding: 4px; line-height: 1; }
.toast-status { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.toast-badge { background: var(--blue); color: #fff; font-weight: 700; font-size: 10.5px; padding: 1px 6px; border-radius: 2px; }
.toast-title { margin-top: 2px; font-size: 14px; font-weight: 700; line-height: 1.6; }
.toast-text { margin-top: 2px; font-size: 12px; color: var(--blue); line-height: 1.5; }
.toast-link { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.6; }
.toast-link:hover { color: var(--blue); }
.sp-only-block { display: none; }
.recruit-band { display: block; overflow: hidden; background: var(--blue); color: #fff; margin-top: 40px; }
.recruit-track { display: flex; gap: 56px; width: max-content; padding: 14px 0; animation: strip 28s linear infinite; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; white-space: nowrap; }
.recruit-band:hover .recruit-track { animation-play-state: paused; }
.steps-photo { margin-top: 16px; }
.steps-photo img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { .recruit-track { animation: none; } }
@media (max-width: 620px) {
  .toast { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 12px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
  .toast-status { grid-row: 1 / 3; }
  .toast-title { margin: 0; font-size: 13px; }
  .toast-text { margin: 0; font-size: 11px; }
  .pc-only { display: none; }
  .sp-only-block { display: block; }
  .toast-link { grid-column: 1 / -1; margin-top: 10px; padding-top: 8px; }
}
.prod-issues-photo { margin-top: 24px; }
.prod-issues-photo img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 2px; }
.feat-card .feat-small .feat-sub { margin-top: 0; font-size: 14px; line-height: 1.6; letter-spacing: 0.04em; }
.works-grid .sec-ja { font-size: 34px; }
@media (max-width: 900px) { .works-grid .sec-ja { font-size: 26px; } }
/* 技術領域の図：円のまわりに並べると中央の円が小さくなりすぎる幅（980px以下）は、スマホと同じ縦並びにする */
@media (max-width: 980px) {
  .works-map { height: auto; display: grid; gap: 10px; }
  .works-core { display: none; }
  .works-node { position: static; width: 100%; transform: none !important; flex-direction: row; text-align: left; gap: 12px; background: var(--panel); border-radius: 40px; padding: 6px 16px 6px 6px; }
  .works-node .dot { box-shadow: none; width: 44px; height: 44px; }
}
/* 実績のカード：右から左へ途切れずに流す（矢印での送りはやめた） */
.projects-track { overflow: hidden; scroll-snap-type: none; margin-left: -40px; padding-right: 0; gap: 0; }
.projects-marquee { display: flex; width: max-content; animation: proj-flow linear infinite; }
.projects-marquee .proj-card { margin-right: 10px; }
@keyframes proj-flow { to { transform: translateX(-50%); } }
.projects-track:hover .projects-marquee, .projects-track:focus-within .projects-marquee, .projects-track.paused .projects-marquee { animation-play-state: paused; }
@media (max-width: 900px) { .projects-track { margin-left: -20px; } }
@media (prefers-reduced-motion: reduce) {
  .projects-marquee { animation: none; }
  .projects-track { overflow-x: auto; margin-left: 0; padding-right: 40px; scrollbar-width: none; }
  .projects-marquee .proj-card.dup { display: none; }
}
/* 実績001の画像（case-01.png）は画像そのものの外側に緑の枠（1920×1080 の四辺に 24px）があるので、1.06 倍に拡大して枠をカードの外に出す。
   隠れるのは元画像の左右 54px・上下 31px で、文字や絵（端から 138px 以上内側）は切れない */
.proj-img img.crop-frame { transform: scale(1.06); }
/* ヘッダーの製品メニュー：押すと（マウスなら乗せても）下に製品のパネルが開く。開いている間は後ろを暗くする */
.head-inner { position: relative; }
.head-prod { display: flex; height: 100%; }
.head-prod-btn { display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 16px; background: none; border: 0; cursor: pointer; text-align: left; font-size: 13px; font-weight: 700; line-height: 1.35; letter-spacing: 0.06em; color: var(--ink); transition: color .2s; }
.head-prod-btn > span { display: flex; flex-direction: column; }
.head-prod-btn .en { font-size: 10.5px; font-weight: 600; color: var(--blue); }
.head-prod-btn:hover, .head-prod-btn.active, .head-prod-btn.open { color: var(--blue); }
.head-prod-btn .chev { color: var(--blue); transition: transform .25s var(--ease); }
.head-prod-btn.open .chev { transform: rotate(180deg); }
.prod-panel { position: absolute; top: calc(100% + 10px); right: 24px; width: 560px; display: grid; grid-template-columns: 120px 1fr; border-radius: 4px; overflow: hidden; background: rgba(246,248,251,0.97); box-shadow: 0 16px 40px rgba(8,16,32,0.18); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.prod-panel.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.prod-panel-band { background: var(--blue); color: #fff; padding: 24px 20px; }
.prod-panel-band b { display: block; font-size: 13px; letter-spacing: 0.06em; }
.prod-panel-band .en { display: block; font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,0.6); margin-top: 2px; }
.prod-panel-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 30px 36px 28px; }
.prod-mini { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.prod-mini-img { display: flex; align-items: center; justify-content: center; height: 81px; background: #fff; border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
.prod-mini-img img { width: 100%; height: 100%; object-fit: cover; object-position: 15% center; }
.prod-mini-img.is-logo img { width: auto; height: 56px; object-fit: contain; }
.prod-mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prod-mini-label { font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: 0.04em; transition: color .2s; }
a.prod-mini:hover .prod-mini-label { color: var(--blue); }
a.prod-mini:hover .arw { transform: translateX(4px); }
.prod-mini-soon { flex-shrink: 0; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 2px; background: var(--panel); color: var(--ink-2); }
.head-dim { position: fixed; inset: 0; z-index: 99; background: rgba(8,16,32,0.45); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s .25s; }
.head-dim.on { opacity: 1; visibility: visible; transition: opacity .25s var(--ease); }
/* スマホのメニュー：FlowOCR の下に2つの製品を並べる */
.drawer-prod { padding: 18px 4px; border-bottom: 1px solid var(--rule); }
.drawer-prod-h { font-weight: 700; font-size: 16px; line-height: 1.6; }
.drawer-prod-h .en { display: block; font-size: 11px; color: var(--blue); font-weight: 600; }
.drawer-prod-cards { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-prod-cards .prod-mini { background: var(--panel); padding: 10px; border-radius: 4px; gap: 8px; }
.drawer-prod-cards .prod-mini-img { height: 70px; border: 0; background: #fff; }
.drawer-prod-cards .prod-mini-img.is-logo img { height: 46px; }
.drawer-prod-cards .prod-mini-label { font-size: 12.5px; }
/* FlowOCR ページ：左に製品ラインナップ（参考サイトと同じく、パソコンではスクロールしても付いてくる）、右に青い帯と本文 */
.prod-layout { display: grid; grid-template-columns: 221px 1fr; gap: 52px; align-items: start; }
.prod-layout .prod-frame { max-width: none; margin: 0; min-width: 0; }
.prod-lineup { position: sticky; top: 160px; }
.prod-lineup-h { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.6; }
.prod-lineup-list { margin-top: 28px; display: grid; gap: 10px; }
.lineup-card { display: block; background: var(--panel); border: 2px solid transparent; border-radius: 3px; padding: 8px 8px 16px; color: var(--ink); transition: border-color .2s; }
a.lineup-card:hover { border-color: var(--blue-light); }
.lineup-card.is-current { border-color: var(--blue); background: var(--blue-soft); }
.lineup-img { display: flex; align-items: center; justify-content: center; height: 86px; background: #fff; border-radius: 2px; overflow: hidden; }
.lineup-img img { width: 100%; height: 100%; object-fit: cover; object-position: 15% center; }
.lineup-img.is-logo img { width: auto; height: 60px; object-fit: contain; }
.lineup-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; padding: 0 8px; font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: 0.04em; }
.lineup-card.is-current .lineup-label { color: var(--blue); }
@media (max-width: 900px) {
  .prod-layout { grid-template-columns: 1fr; gap: 40px; }
  .prod-lineup { position: static; }
  .prod-lineup-list { margin-top: 16px; grid-template-columns: 1fr 1fr; }
  .lineup-img { height: 72px; }
  .lineup-img.is-logo img { height: 48px; }
  .lineup-label { font-size: 12.5px; padding: 0 4px; }
}
/* 事業内容「Technology／技術領域」：左の「向いている業務」の下に写真を置き、右のカードと下の端をそろえる（写真の高さは右のカードに合わせて伸びる） */
.tech-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; align-items: stretch; }
.tech-left { display: flex; flex-direction: column; gap: 12px; }
/* 写真は 3:2 で固定（残りの空きで高さを決めない）。左右の下の端は、短い方のカードの白い地（灰色の地）を下に伸ばしてそろえる。文字は上寄せのまま */
.tech-photo { position: relative; flex: none; aspect-ratio: 3 / 2; border-radius: 4px; overflow: hidden; background: var(--panel); }
.tech-left > .white-card { flex: 1 1 auto; }
/* 写真の最低の高さで左の列の方が長くなる行は、右のカードの「進め方」を下に寄せ、下の端に空きを作らない */
.tech-cards > .white-card { display: flex; flex-direction: column; }
.tech-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 左の見出しの列は、パソコン幅ではスクロールしても付いてくる（ヘッダーの下で止まり、5つの技術の最後で一緒に流れる） */
.tech-head { position: sticky; top: calc(var(--head-h) + 32px); align-self: start; }
.tech-head .sec-ja { font-size: 34px; }
@media (max-width: 900px) {
  .tech-cards { grid-template-columns: 1fr; }
  .tech-left { display: contents; }
  .tech-photo { order: -1; flex: none; min-height: 0; aspect-ratio: 16 / 9; }  /* スマホは2枚のカードの上に横長で置く */
  #technology .def-row { grid-template-columns: 1fr !important; }  /* スマホでは技術名の列（170px）を本文の上に置き、写真とカードを横いっぱいに */
  .tech-head { position: static; }
  .tech-head .sec-ja { font-size: 28px; }
}
/* FlowOCR ページだけ：左右の余白と2列の幅を参考サイトの製品ページに合わせる（左右 80px・中身は最大 1300px・左の列 19.7%・間 4.7%） */
@media (min-width: 1201px) {
  .prod-section .wrap { max-width: calc(1300px + 160px); padding: 0 80px; }
  .prod-section .prod-layout { grid-template-columns: 19.7% 1fr; column-gap: 4.7%; }
}
/* 写真ごとの寄せ方（3:2 で主役が枠に入るように）：生成AI は「AI」の文字の上が切れないよう少し上に寄せる。ほかの4枚は中央のまま */
#tech-ai .tech-photo img { object-position: 50% 30%; }
/* FlowOCR ページの相談の帯：画像の枠（大きさ・位置は写真のときと同じ）を白い地にし、ロゴをつぶさず余白を取って置く */
.cta-box img.is-logo { object-fit: contain; background: #fff; padding: 40px; box-sizing: border-box; }
@media (max-width: 900px) { .cta-box img.is-logo { padding: 24px; } }
/* FlowOCR ページ上部：補助金の対象ツールのラベル（トップのお知らせカードの NEW ラベルと同じ黄色） */
.subsidy-label-wrap { margin-top: 24px; }
.subsidy-label { display: inline-block; background: #FFD66B; color: #040712; font-weight: 700; font-size: 13px; line-height: 1.6; letter-spacing: 0.04em; padding: 3px 10px; border-radius: 2px; }
