@charset "utf-8";
/* =========================================================
   株式会社サイバープロジェクト 共通スタイル（2026 リニューアル 最終版）
   コンセプト：技術と、現場と、制度を、つなぐ。
   ========================================================= */

/* ---------- デザインの基本値 ---------- */
:root {
  --brand: #134091;   /* 会社カラー */
  --ink: #0b1530;     /* 濃い紺 */
  --cyan: #2fd3f0;    /* 差し色 */
  --blue: #3d7bff;
  --text: #1c2740;
  --muted: #56627a;
  --line: #dfe5f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --radius: 16px;
  --wrap: 1160px;
  --header-h: 72px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic UI", Meiryo, "Noto Sans JP", sans-serif; font-size: 16px; line-height: 1.9; letter-spacing: .02em; line-break: strict; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 920px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--brand); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- 共通の部品 ---------- */
.eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.sec { padding: clamp(56px, 8vw, 104px) 0; background: var(--bg); }
.sec.soft { background: var(--bg-soft); }
.sec-title { font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.4; color: var(--ink); margin-top: 12px; }
.sec-lead { color: var(--muted); max-width: 62em; margin-top: 12px; }
/* 文の切れ目でだけ改行する（パソコン・タブレットの幅だけ。スマホでは自然に折り返す） */
@media (max-width: 767px) { br.br-pc { display: none; } }
.nw { white-space: nowrap; }
.sec-body { margin-top: clamp(28px, 4vw, 48px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s, background-color .2s; border: 0; cursor: pointer; }
.btn-primary { background: linear-gradient(90deg, var(--blue), var(--cyan)); color: #04122b; box-shadow: 0 10px 30px -10px rgba(47, 211, 240, .7); }
.btn-primary:hover { color: #04122b; transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(47, 211, 240, .9); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--brand); color: #fff; }
.btn-line { background: #fff; color: var(--brand); border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font-weight: 700; font-size: .92rem; color: var(--brand); text-decoration: none; }
.more:hover { text-decoration: underline; }
.more-line { margin-top: 20px; text-align: right; }
.more-line a { display: inline-block; padding: 8px 0; }
.more-line.left { text-align: left; }
.checks b small { font-size: .55em; margin-left: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .75rem; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--brand); }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: #e3e7ef; color: #4b566b; margin-left: 6px; vertical-align: middle; line-height: 1.6; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(19, 64, 145, .1); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo img { width: 188px; }
.gnav { display: flex; align-items: center; gap: 6px; }
.gnav > ul { display: flex; gap: 2px; }
.gnav a.nav-link { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.gnav a.nav-link:hover { background: var(--bg-soft); color: var(--ink); }
.gnav a.is-current { color: var(--brand); box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 10px 10px 0 0; }
.gnav .has-mega { position: relative; }
.mega { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%) translateY(6px); width: 580px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(11, 21, 48, .35); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.mega a:hover { background: var(--bg-soft); color: var(--ink); }
.mega b { display: block; font-size: .95rem; }
.mega small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.mega .num { font-family: var(--mono); color: var(--blue); font-size: .72rem; }
.mega .rd { background: linear-gradient(90deg, rgba(61, 123, 255, .08), rgba(47, 211, 240, .08)); }
.gnav a.nav-cta { margin-left: 10px; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; }
.gnav a.nav-cta:hover { background: var(--brand); color: #fff; }
.menu-btn { display: none; }

/* ---------- 下層ページの見出し ---------- */
.page-head { position: relative; overflow: hidden; background: radial-gradient(900px 400px at 85% 0%, #1d3d8f 0%, transparent 60%), linear-gradient(160deg, var(--ink) 0%, #0a1a44 60%, #081127 100%); color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6vw, 80px); }
.page-head::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(47, 211, 240, .06) 0 1px, transparent 1px 44px), repeating-linear-gradient(0deg, rgba(47, 211, 240, .06) 0 1px, transparent 1px 44px); mask-image: linear-gradient(90deg, transparent 30%, #000 100%); pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; display: grid; gap: 14px; }
.page-head .eyebrow { color: var(--cyan); }
.page-head h1 { font-size: clamp(1.6rem, 4vw, 2.7rem); line-height: 1.35; letter-spacing: .04em; }
.page-head h1 small { display: block; font-size: .55em; font-weight: 500; margin-top: 6px; }
.page-head .lead { color: rgba(255, 255, 255, .85); max-width: 44em; }
.crumb { font-size: .8rem; color: rgba(255, 255, 255, .7); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumb li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .4); }
.crumb a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.crumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- ページ内メニュー ---------- */
.toc { border-bottom: 1px solid var(--line); background: #fff; }
.toc ul { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: thin; }
.toc a { display: block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; background: var(--bg-soft); color: var(--brand); text-decoration: none; font-size: .88rem; font-weight: 500; }
.toc a:hover { background: var(--brand); color: #fff; }

/* ---------- 本文 ---------- */
.block { padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block > h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.45; color: var(--ink); margin-bottom: 20px; display: flex; align-items: baseline; gap: 12px; }
.num { font-family: var(--mono); font-size: .8rem; color: var(--blue); font-weight: 500; }
.prose > * + * { margin-top: 1.1em; }
.prose h3 { font-size: 1.1rem; color: var(--ink); margin-top: 1.8em; padding-left: 14px; border-left: 3px solid var(--blue); }
.prose ul.dot { list-style: disc; padding-left: 1.4em; }
.prose ul.dot li + li { margin-top: .3em; }
.note { font-size: .85rem; color: var(--muted); }
.mt { margin-top: 20px; }
.callout { background: var(--bg-soft); border-radius: var(--radius); padding: 22px 24px; }
.callout.dark { background: linear-gradient(120deg, var(--ink), #123070); color: #fff; }
.rd-field { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; background: #fff; display: grid; gap: 12px; }
.rd-field.main { background: linear-gradient(120deg, var(--ink) 0%, #123070 100%); color: #fff; border-color: rgba(47, 211, 240, .35); }
.rd-no { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; color: var(--blue); }
.rd-field.main .rd-no { color: var(--cyan); }
.rd-field h3 { font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
.rd-field.main h3 { color: #fff; }
.rd-field h4 { font-size: .9rem; color: var(--brand); margin-top: 8px; }
.rd-field.main h4 { color: var(--cyan); }
.rd-field.main p { color: rgba(255, 255, 255, .88); }
.rd-field.main .tags li { background: rgba(255, 255, 255, .1); color: #fff; }
.rd-field.main .badge { background: var(--cyan); color: #04122b; }
.rd-list { display: grid; gap: 8px; }
.rd-list li { padding: 10px 14px; border-radius: 10px; background: var(--bg-soft); font-size: .88rem; line-height: 1.7; }
.rd-list li b { display: block; color: var(--ink); font-size: .95rem; }
.rd-field.main .rd-list li { background: rgba(255, 255, 255, .06); }
.rd-field.main .rd-list li b { color: #fff; }
.rd-link a { font-weight: 700; color: var(--cyan); text-decoration: none; }
.rd-link a:hover { text-decoration: underline; color: #fff; }
.field-tag { display: inline-block; margin-left: 8px; font-size: .72rem; padding: 1px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--brand); vertical-align: middle; }
.callout.nir { display: grid; gap: 10px; background: linear-gradient(120deg, var(--ink) 0%, #123070 100%); color: #fff; border: 1px solid rgba(47, 211, 240, .35); }
.callout.nir .num { color: var(--cyan); }
.callout.nir h3 { font-size: 1.25rem; line-height: 1.5; }
.callout.nir p { color: rgba(255, 255, 255, .88); font-size: .95rem; }
.callout.nir .tags li { background: rgba(255, 255, 255, .1); color: #fff; }
.callout.dark h2 { font-size: 1.25rem; margin-bottom: 10px; }
.callout.dark .note { color: rgba(255, 255, 255, .75); }
.callout.dark a { color: var(--cyan); }
.callout.dark .btn-primary { color: #04122b; }
.callout.dark .btn-ghost { color: #fff; }

/* 項目カード */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 1.02rem; color: var(--ink); line-height: 1.6; }
.card p { font-size: .92rem; }
.card .num { font-size: .72rem; }
a.card { text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(19, 64, 145, .45); border-color: transparent; }

/* 画像付きの一覧 */
.media { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.media figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.media img { width: auto; max-width: 100%; margin-inline: auto; }
.media figure > img { padding-top: 12px; }
.media figcaption { padding: 16px 18px; font-size: .9rem; display: grid; gap: 8px; }
.media figcaption b { color: var(--ink); }
.media.products { grid-template-columns: repeat(auto-fit, minmax(260px, 420px)); }
.media.products img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; padding-top: 0; background: var(--bg-soft); }
.media.products figcaption p { font-size: .86rem; }
.meta { font-size: .8rem; color: var(--muted); line-height: 1.8; }

/* 表 */
.table { border-top: 1px solid var(--line); }
.table th, .table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { width: 30%; color: var(--ink); font-weight: 700; background: var(--bg-soft); }
.table-wrap { overflow-x: auto; }

/* 年表・一覧 */
.list-line li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.list-line li:first-child { border-top: 1px solid var(--line); }
.list-line .when { font-family: var(--mono); font-size: .85rem; color: var(--blue); }
.list-line .what b { display: block; color: var(--ink); }

/* 社名ロゴの並び */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.logos li { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 10px; font-size: .82rem; text-align: center; }
.logos a, .logos div { display: grid; gap: 6px; justify-items: center; text-decoration: none; color: inherit; }
.logos a:hover { color: var(--brand); }
.logos img { border-radius: 6px; }
.h3 { font-size: 1.05rem; color: var(--ink); margin: 32px 0 6px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.h3 + .note { margin-bottom: 14px; }

/* ---------- トップ：ファーストビュー ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% 0%, #1d3d8f 0%, transparent 60%), linear-gradient(160deg, var(--ink) 0%, #0a1a44 55%, #081127 100%); color: #fff; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 17, 39, .88) 0%, rgba(8, 17, 39, .45) 60%, rgba(8, 17, 39, .1) 100%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; min-height: min(80vh, 700px); display: grid; align-content: center; gap: 24px; padding: 80px 0 72px; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { font-size: clamp(1.75rem, 5.2vw, 3.6rem); line-height: 1.3; letter-spacing: .03em; }
.hero h1 .grad { display: inline-block; background: linear-gradient(90deg, #fff 0%, var(--cyan) 100%); background-clip: text; color: transparent; }
.hero .concept { font-size: clamp(.85rem, 1.4vw, 1rem); font-weight: 700; letter-spacing: .2em; color: var(--cyan); display: flex; align-items: center; gap: 12px; }
.hero .concept::before { content: ""; width: 32px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.hero .sub { font-size: clamp(1rem, 1.9vw, 1.3rem); font-weight: 700; color: #fff; }
.hero .lead { max-width: 38em; color: rgba(255, 255, 255, .85); font-size: clamp(.95rem, 1.6vw, 1.05rem); }
.hero-keys { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0; padding: 0; }
.hero-keys li { font-size: clamp(.8rem, 1.2vw, .9rem); font-weight: 700; line-height: 1.5; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; white-space: nowrap; transition: border-color .2s, background-color .2s; }
.hero-keys a { display: block; padding: 6px 14px; color: inherit; text-decoration: none; border-radius: 999px; }
.hero-keys li:hover { border-color: var(--cyan); background: rgba(47, 211, 240, .2); }
.hero-keys li.is-key { border-color: var(--cyan); background: rgba(47, 211, 240, .14); color: var(--cyan); }

/* 信頼の帯 */
.trust { background: #081127; color: #fff; border-top: 1px solid rgba(47, 211, 240, .2); }
.trust ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust li { padding: 22px 16px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .08); }
.trust li:first-child { border-left: 0; }
.trust b { display: block; font-family: var(--mono); font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--cyan); line-height: 1.2; }
.trust b small { font-size: .55em; color: #fff; margin-left: 2px; }
.trust b.word { font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.6; white-space: nowrap; }
.trust a { display: block; color: inherit; text-decoration: none; border-radius: 12px; }
.trust a:hover { background: rgba(255, 255, 255, .05); color: inherit; }
.trust a:hover span { text-decoration: underline; }
.trust span { display: block; font-size: .8rem; color: rgba(255, 255, 255, .78); margin-top: 6px; line-height: 1.5; }

/* 3本柱（目的からの入口） */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.pillar::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(.18); transform-origin: left; transition: transform .35s; }
.pillar:hover { color: inherit; transform: translateY(-4px); box-shadow: 0 22px 50px -24px rgba(19, 64, 145, .45); border-color: transparent; }
.pillar:hover::before { transform: scaleX(1); }
.pillar .goal { font-size: .88rem; font-weight: 700; color: var(--brand); background: var(--bg-soft); border-radius: 10px; padding: 8px 12px; }
/* 3列のとき、3つの「目的」が1行にそろうよう、狭い画面では少し小さくする */
@media (min-width: 1001px) and (max-width: 1199px) { .pillar .goal { font-size: .8rem; padding: 8px 10px; } }
.pillar .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--ink), var(--brand)); color: var(--cyan); }
.pillar h3 { font-size: 1.35rem; line-height: 1.5; color: var(--ink); }
.pillar h3 small { display: block; font-size: .82rem; font-weight: 500; color: var(--muted); }
.pillar p { font-size: .93rem; }
.pillar .tags { margin-top: auto; padding-top: 6px; }
.foundation { margin-top: 20px; border-radius: var(--radius); background: linear-gradient(120deg, var(--ink) 0%, #123070 100%); color: #fff; padding: 30px 32px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.foundation::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(47, 211, 240, .07) 0 1px, transparent 1px 36px), repeating-linear-gradient(0deg, rgba(47, 211, 240, .07) 0 1px, transparent 1px 36px); pointer-events: none; }
.foundation > * { position: relative; z-index: 1; }
.foundation .tag { font-family: var(--mono); font-size: .75rem; color: var(--cyan); border: 1px solid rgba(47, 211, 240, .4); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.foundation h3 { font-size: 1.2rem; }
.foundation p { color: rgba(255, 255, 255, .82); font-size: .92rem; }
.foundation .btn { white-space: nowrap; }

/* 導入の流れ */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.flow li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.flow li::after { content: ""; position: absolute; top: 50%; right: -9px; width: 6px; height: 6px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: translateY(-50%) rotate(45deg); }
.flow li:last-child::after { display: none; }
.flow .num { display: block; }
.flow h3 { font-size: 1rem; color: var(--ink); margin: 6px 0 8px; }
.flow p { font-size: .85rem; color: var(--muted); line-height: 1.75; }
.flow .branch { border-color: var(--cyan); background: linear-gradient(180deg, rgba(47, 211, 240, .08), #fff); }

/* 注目の製品 */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.feature figure { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); box-shadow: 0 30px 60px -30px rgba(11, 21, 48, .4); }
.feature h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.5; color: var(--ink); margin: 10px 0 14px; }
.feature p { color: var(--muted); margin-bottom: 20px; }
.spotlight { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(18px, 3vw, 36px); border-radius: 24px; background: radial-gradient(700px 300px at 0% 0%, rgba(47, 211, 240, .16), transparent 60%), linear-gradient(135deg, var(--ink) 0%, #123070 100%); color: #fff; box-shadow: 0 40px 80px -40px rgba(11, 21, 48, .6); }
.spotlight::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(47, 211, 240, .05) 0 1px, transparent 1px 40px), repeating-linear-gradient(0deg, rgba(47, 211, 240, .05) 0 1px, transparent 1px 40px); pointer-events: none; }
.spotlight > * { position: relative; z-index: 1; }
.spotlight-banner { display: block; width: 100%; max-width: 770px; margin-inline: auto; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .3s, box-shadow .3s; }
.spotlight-banner:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .8), 0 0 0 1px rgba(47, 211, 240, .5); }
.spotlight-banner img { width: 100%; }
.spotlight-body { display: grid; gap: 14px; }
.spotlight-body .eyebrow { color: var(--cyan); }
.spotlight-body h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.5; color: #fff; }
.spotlight-body p { color: rgba(255, 255, 255, .85); }
.spotlight-body h3 small { display: block; font-size: .62em; font-weight: 500; color: rgba(255, 255, 255, .75); margin-top: 4px; }
.spotlight-body .meta { color: rgba(255, 255, 255, .75); }
.spotlight-body .meta a { color: var(--cyan); }
.spotlight-body .meta a:hover { color: #fff; }
.media figcaption .more { font-size: .85rem; }
.media.devices { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.media.devices figure > img { height: 132px; width: auto; max-width: calc(100% - 24px); object-fit: contain; margin-top: 12px; padding-top: 0; }
.media.devices figcaption p { font-size: .85rem; color: var(--muted); }
.banner-center { margin-inline: auto; }
.mini-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.mini-products a { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; background: #fff; }
.mini-products a:hover { border-color: var(--blue); }
.mini-products img { width: 88px; height: 66px; object-fit: cover; border-radius: 8px; }
.mini-products b { display: block; color: var(--ink); font-size: .92rem; line-height: 1.5; }
.mini-products span { font-size: .78rem; color: var(--muted); }

/* 研究開発（濃い帯） */
.dark { background: var(--ink); color: #fff; }
.dark .sec-title { color: #fff; }
.dark .sec-lead { color: rgba(255, 255, 255, .78); }
.dark .eyebrow { color: var(--cyan); }
.dark .more { color: var(--cyan); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tl { border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 22px; background: rgba(255, 255, 255, .03); transition: border-color .25s, background-color .25s; }
.tl:hover { border-color: rgba(47, 211, 240, .5); background: rgba(47, 211, 240, .05); }
.tl .lbl { font-family: var(--mono); font-size: .75rem; color: var(--cyan); }
.tl h3 { font-size: .92rem; font-weight: 500; line-height: 1.7; margin-top: 8px; }
.tl p { font-size: .78rem; color: rgba(255, 255, 255, .65); margin-top: 8px; line-height: 1.7; }

/* 実績（トップ） */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.work h3 { font-size: 1.05rem; color: var(--ink); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.work li { border-bottom: 1px dashed var(--line); padding: 8px 0; font-size: .92rem; }
.work li:last-child { border-bottom: 0; }

/* 品質の帯 */
.quality { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.checks li { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; }
.checks b { display: block; font-family: var(--mono); font-size: 1.5rem; color: var(--brand); line-height: 1.2; }
.checks span { display: block; font-size: .8rem; color: var(--muted); margin-top: 6px; line-height: 1.6; }

/* ニュース */
.news-list { border-top: 1px solid var(--line); }
.news-list li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.news-list time { font-family: var(--mono); font-size: .85rem; color: var(--blue); }

/* お問い合わせの帯 */
.cta { background: linear-gradient(120deg, var(--brand), #0b1f55 70%); color: #fff; text-align: center; }
.cta .wrap { display: grid; justify-items: center; }
.cta .sec-title { color: #fff; }
.cta .sec-lead { color: rgba(255, 255, 255, .85); margin-bottom: 28px; }
.cta .eyebrow { color: var(--cyan); }

/* フォーム */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; color: var(--ink); }
.field .req { font-size: .72rem; font-weight: 700; color: #fff; background: #b42318; border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: middle; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 14px 16px; border: 1px solid #c9d3e3; border-radius: 12px; background: #fff; color: var(--text); }
.field textarea { min-height: 200px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(61, 123, 255, .18); outline-offset: 0; }
.notes { margin-top: 28px; display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }

/* その他の下層部品 */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 40px); align-items: start; }
.split.message { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.sign { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.logo-card { max-width: 640px; margin-bottom: 28px; }
.logo-card img { width: 100%; }
.prose + .sign { margin-top: 24px; text-align: right; }
.sign b { font-size: 1.15rem; color: var(--ink); }
.feature-box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); display: grid; grid-template-columns: minmax(0, 770px) minmax(0, 1fr); align-items: center; }
.feature-box > a { background: #fff; align-self: stretch; display: grid; place-items: center; }
.feature-box > a img { width: 100%; max-width: 770px; }
/* 画像は元の大きさ（横幅）を超えて引き伸ばさない：バナーは770px、写真はそれぞれの元の幅まで */
.feature-body { padding: 26px 28px; display: grid; gap: 12px; }
.feature-body h3 { font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
.feature-body h3 small { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); }
.subsidy { border: 1px solid var(--cyan); background: linear-gradient(120deg, rgba(47, 211, 240, .08), rgba(61, 123, 255, .06)); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 8px; }
.subsidy b { color: var(--ink); }
.map { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }
.legal h2 { font-size: 1.05rem; color: var(--ink); margin-top: 2em; padding-left: 14px; border-left: 3px solid var(--blue); }
.legal p { font-size: .95rem; margin-top: .8em; }
.rounded { border-radius: var(--radius); }
.framed { border-radius: var(--radius); border: 1px solid var(--line); }

/* ---------- フッター ---------- */
.site-footer { background: #070f24; color: rgba(255, 255, 255, .78); font-size: .88rem; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-logo { width: 200px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.site-footer h2 { font-family: var(--mono); font-size: .75rem; letter-spacing: .16em; color: var(--cyan); margin-bottom: 12px; font-weight: 500; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; display: inline-block; padding: 5px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p + p { margin-top: 10px; }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: .8rem; }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; text-decoration: none; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--brand); color: #fff; }

/* ---------- 表示時にふわっと出る動き（スクリプトが動くときだけ） ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pillar, .pillar::before, a.card, .btn, .tl, .mega, .to-top { transition: none; }
}

/* ---------- 改行の位置：見出しと説明文は、文節の切れ目（<wbr>・「、」「。」）で改行する（全画面幅） ---------- */
h1, .hero .sub, .lead, .sec-title, .sec-lead, .pillar .goal, .trust span { word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- タブレット・スマホ ---------- */
@media (max-width: 1000px) {
  .pillars, .works-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li::after { display: none; }
  .foundation { grid-template-columns: 1fr; gap: 14px; }
  .foundation .tag { justify-self: start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mini-products { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; }
  .quality { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; min-height: 44px; }
  .menu-btn .bars { width: 16px; height: 2px; background: currentColor; position: relative; }
  .menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; }
  .menu-btn .bars::before { top: -5px; }
  .menu-btn .bars::after { top: 5px; }
  .gnav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 16px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(11, 21, 48, .3); max-height: calc(100dvh - var(--header-h)); overflow: auto; display: none; }
  .gnav.open { display: flex; }
  .gnav > ul { flex-direction: column; }
  .gnav a.nav-link { padding: 14px 8px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .gnav a.is-current { box-shadow: inset 3px 0 0 var(--cyan); border-radius: 0; }
  .mega { position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 4px 0 8px 8px; grid-template-columns: 1fr; gap: 0; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { transform: none; }
  .mega a { padding: 8px 10px; }
  .mega small { display: none; }
  .gnav a.nav-cta { margin: 16px 0 0; text-align: center; border-bottom: 0; }
  .feature, .split, .split.message, .feature-box { grid-template-columns: 1fr; }
  .split.message figure { max-width: 280px; }
  .table th { width: 34%; }
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
  .trust li { padding: 18px 8px; }
  .trust b { font-size: 1.15rem; white-space: nowrap; }
  .trust b.word { font-size: clamp(.85rem, 4.2vw, 1.05rem); line-height: 1.4; }
  .trust span { word-break: keep-all; overflow-wrap: anywhere; font-size: .75rem; }
  .checks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .logo img { width: 150px; }
  .timeline { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 0 16px 8px; }
  .timeline .tl { flex: 0 0 78%; scroll-snap-align: start; }
  .flow { grid-template-columns: 1fr; }
  .feature figure { max-width: 300px; margin-inline: auto; }
  .news-list li, .list-line li { grid-template-columns: 1fr; gap: 2px; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-in { padding: 56px 0 56px; }
  .table th, .table td { display: block; width: auto; }
  .table th { border-bottom: 0; padding-bottom: 6px; }
  .table td { padding-top: 6px; }
  .btns .btn { width: 100%; }
}

/* ---------- 印刷 ---------- */
@media print {
  .site-header, .site-footer, .toc, .to-top, .cta, .hero canvas { display: none; }
  .page-head, .hero, .dark, .trust { background: #fff; color: #000; }
  .page-head .lead, .crumb a, .crumb { color: #333; }
}
