/* =========================================================
   SIGNAGE.FUN — design system
   コンセプト：ジェスチャーで操る、空中の半透明スクリーン
   ========================================================= */

:root {
  --void: #020509;
  --ink: #060c13;
  --ink-2: #0b1520;
  --glass: rgba(120, 220, 255, 0.055);
  --glass-strong: rgba(120, 220, 255, 0.1);
  --line: rgba(140, 225, 255, 0.16);
  --line-strong: rgba(140, 225, 255, 0.42);
  --glow: #8ef0ff;
  --glow-2: #3fb6ff;
  --glow-soft: rgba(142, 240, 255, 0.35);
  --amber: #ffbf6b;
  --text: #f4fafd;
  --text-2: #e2edf3;
  --muted: #a5bac6;
  --ok: #7ff5c4;
  --warn: #ffd27a;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  color-scheme: dark;
}

@view-transition { navigation: auto; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--glow); color: var(--void); }
a { color: var(--glow); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }

/* 背景：グリッド・粒子ノイズ・周辺減光 */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 70% -10%, rgba(63, 182, 255, 0.12), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(142, 240, 255, 0.06), transparent 60%),
    linear-gradient(var(--void), var(--void));
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(140, 225, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 225, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.muted { color: var(--muted); font-size: 0.94rem; }
.mono { font-family: var(--font-mono); letter-spacing: 0.06em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--glow); color: var(--void); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- 文字 ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: 0.01em; line-height: 1.35; margin: 0; text-wrap: balance; line-break: strict; }
.lead, .card p { text-wrap: pretty; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 46em; }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--glow);
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; box-shadow: 0 0 8px currentColor; }

/* ---------- PR表記 ---------- */
.pr-bar {
  margin: 0; padding: 6px var(--gutter);
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em;
  color: var(--muted); text-align: center; border-bottom: 1px solid var(--line);
  background: rgba(2, 5, 9, 0.9); position: relative; z-index: 60;
}
.pr-bar a { color: var(--text-2); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(rgba(2, 5, 9, 0.82), rgba(2, 5, 9, 0.55));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-en { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.24em; color: var(--glow); }
.logo-jp { font-size: 0.7rem; letter-spacing: 0.3em; color: var(--text-2); }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 8px 12px; color: var(--text-2); text-decoration: none; font-size: 0.9rem;
  border: 1px solid transparent; border-radius: 2px; transition: color .3s, border-color .3s, background .3s;
}
.site-nav a span { font-family: var(--font-mono); font-size: 0.64rem; color: var(--muted); margin-right: 6px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); border-color: var(--line); background: var(--glass); }
.site-nav a[aria-current="page"] span { color: var(--glow); }
.menu-btn { display: none; }
@media (max-width: 920px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; background: none; color: var(--text);
    border: 1px solid var(--line-strong); padding: 8px 12px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; cursor: pointer;
  }
  .site-nav {
    position: fixed; inset: 64px 0 0; background: rgba(2, 5, 9, 0.97); backdrop-filter: blur(10px);
    padding: 32px var(--gutter); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .site-nav.open { opacity: 1; transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { font-size: 1.3rem; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { background: none; }
  .site-nav a span { font-size: 0.75rem; margin-right: 14px; }
}

main { display: block; }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin: 0; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }

/* ---------- ボタン ---------- */
.btn {
  --c: var(--glow);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px; color: var(--void); background: var(--c);
  font-weight: 700; font-size: 0.95rem; text-decoration: none; letter-spacing: 0.04em;
  border: 1px solid var(--c); border-radius: 2px; cursor: pointer;
  box-shadow: 0 0 0 0 var(--glow-soft), 0 0 32px -6px var(--glow-soft);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), background .3s, color .3s;
  font-family: inherit;
}
.btn::after { content: "→"; font-family: var(--font-mono); transition: transform .4s var(--ease); }
.btn:hover { color: var(--void); transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(142, 240, 255, 0.12), 0 0 48px -4px var(--glow-soft); }
.btn:hover::after { transform: translateX(4px); }
.btn.ghost { background: rgba(2, 5, 9, 0.35); color: var(--text); border-color: var(--line-strong); box-shadow: none; backdrop-filter: blur(6px); }
.btn.ghost:hover { color: var(--text); border-color: var(--glow); background: var(--glass-strong); }
.btn.secondary { background: transparent; color: var(--glow); box-shadow: none; }
.btn.secondary:hover { color: var(--void); background: var(--glow); }

/* ---------- ガラスのパネル（HUD枠つき） ---------- */
.panel, .card {
  position: relative; display: block;
  background: linear-gradient(160deg, rgba(142, 240, 255, 0.07), rgba(142, 240, 255, 0.015) 40%, rgba(2, 5, 9, 0.3));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--text); text-decoration: none;
  backdrop-filter: blur(8px);
  transition: border-color .4s var(--ease), transform .5s var(--ease), background .4s;
  isolation: isolate;
}
.panel::before, .card::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none; border-radius: inherit;
  background:
    linear-gradient(var(--glow), var(--glow)) left top / 14px 1px no-repeat,
    linear-gradient(var(--glow), var(--glow)) left top / 1px 14px no-repeat,
    linear-gradient(var(--glow), var(--glow)) right bottom / 14px 1px no-repeat,
    linear-gradient(var(--glow), var(--glow)) right bottom / 1px 14px no-repeat;
  opacity: 0.7;
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(142, 240, 255, 0.14), transparent 45%);
  transition: opacity .4s;
}
a.card:hover { border-color: var(--line-strong); color: var(--text); }
a.card:hover::after { opacity: 1; }
.card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card p { margin: 0.4em 0; color: var(--text-2); font-size: 1rem; }
.card .muted { color: var(--muted); }
.card ul { margin: 0; padding-left: 1.2em; color: var(--text-2); font-size: 1rem; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em;
  padding: 2px 8px; border: 1px solid var(--line); color: var(--text-2); margin: 2px 4px 2px 0; border-radius: 2px;
  text-decoration: none; background: rgba(2, 5, 9, 0.4);
}
a.tag:hover { border-color: var(--glow); color: var(--glow); }
.tag.ok { color: var(--ok); border-color: rgba(127, 245, 196, 0.45); }

/* ---------- 表 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(6, 12, 19, 0.7); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
thead th {
  background: rgba(11, 21, 32, 0.95); white-space: nowrap; position: sticky; top: 0;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--glow); font-weight: 500;
}
tbody tr { transition: background .25s; }
tbody tr:hover { background: rgba(142, 240, 255, 0.04); }
tbody th { font-weight: 700; }
td.c { text-align: center; white-space: nowrap; }
.s-Y { color: var(--glow); font-weight: 700; text-shadow: 0 0 10px var(--glow-soft); }
.s-B { color: var(--warn); }
.s-N, .s-\? { color: #4f6371; }
.cms-table td.w-strength { min-width: 15em; color: var(--text-2); }
.cms-table td.w-price, .cms-table td.w-trial { min-width: 8em; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; border: 0; padding: 0; }
.filters legend { width: 100%; margin-bottom: 8px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; color: var(--muted); }
.filters label {
  position: relative; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; cursor: pointer;
  border: 1px solid var(--line); padding: 6px 12px; font-size: 0.84rem; border-radius: 2px; color: var(--text-2);
  transition: border-color .25s, color .25s, background .25s;
}
.filters input { accent-color: var(--glow); }
.filters label:has(input:checked) { border-color: var(--glow); color: var(--text); background: var(--glass-strong); box-shadow: 0 0 18px -6px var(--glow-soft); }

.note {
  border: 1px solid var(--line); border-left: 2px solid var(--glow);
  background: var(--glass); padding: 16px 20px; font-size: 1rem; color: var(--text-2); border-radius: var(--radius);
}
.note p:last-child { margin-bottom: 0; }
.dl { display: grid; grid-template-columns: 11em 1fr; gap: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.dl dt, .dl dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.dl dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--muted); padding-top: 15px; }
@media (max-width: 560px) { .dl { grid-template-columns: 1fr; } .dl dt { border-bottom: 0; padding-bottom: 0; } }

.breadcrumb { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 20px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--glow); }

/* ---------- 下層ページの見出し ---------- */
.page-head { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 64px); overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.page-head-bg { position: absolute; inset: 0; z-index: -1; }
.page-head-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; transform: scale(1.06); }
.page-head-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--void) 15%, rgba(2, 5, 9, 0.55) 60%, rgba(2, 5, 9, 0.8)), linear-gradient(transparent 40%, var(--void));
}
.page-head h1 { margin: 14px 0 16px; max-width: 18em; }
.page-head .lead { margin: 0; }
.page-head .code { position: absolute; right: var(--gutter); bottom: 20px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.2em; color: var(--muted); text-align: right; }
.page-body { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(80px, 10vw, 140px); }
.page-body h2 { margin: 2.4em 0 0.9em; display: flex; align-items: center; gap: 14px; }
.page-body h2::before { content: ""; width: 9px; height: 9px; border: 1px solid var(--glow); box-shadow: 0 0 10px var(--glow-soft); flex: none; transform: rotate(45deg); }
.page-body > :first-child, .page-body > section:first-child h2 { margin-top: 0; }

/* ---------- 記事 ---------- */
.article { max-width: 760px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted); margin-top: 18px; }
.article-body { font-size: 1.12rem; line-height: 2; color: var(--text); }
.article-body h2 { color: var(--text); margin: 2.6em 0 0.9em; font-size: clamp(1.3rem, 2vw, 1.6rem); scroll-margin-top: 90px; }
.article-body h3 { color: var(--text); margin: 2em 0 0.6em; }
.article-body strong { color: var(--text); font-weight: 700; background: linear-gradient(transparent 70%, rgba(142, 240, 255, 0.18) 0); }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin: 0.35em 0; }
.article-body li::marker { color: var(--glow); }
.article-body table { margin: 1.6em 0; display: block; overflow-x: auto; border: 1px solid var(--line); }
.article-body blockquote { margin: 1.4em 0; padding: 12px 20px; border-left: 2px solid var(--glow); background: var(--glass); }
.article-body img { border: 1px solid var(--line); border-radius: var(--radius); }
.fig { margin: 2.2em 0; }
.fig img { width: 100%; aspect-ratio: auto; background: var(--ink-2); box-shadow: 0 0 0 1px rgba(142, 240, 255, 0.06), 0 24px 60px -30px rgba(63, 182, 255, 0.45); }
.fig figcaption { margin-top: 10px; font-size: 0.88rem; line-height: 1.6; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.fig figcaption::before { content: "FIG"; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; color: var(--glow); flex: none; }
.hero-fig { margin: 0 0 2em; }
.article-foot { max-width: 760px; margin-top: 56px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 760px) 280px; justify-content: space-between; gap: 64px; align-items: start; }
.article-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
@media (max-width: 1100px) { .article-grid { grid-template-columns: 1fr; } .article-aside { position: static; order: -1; } }
.toc { border: 1px solid var(--line); padding: 18px 22px; margin: 0 0 8px; background: var(--glass); }
.toc a.active { color: var(--glow); }
.side-cta { border: 1px solid var(--line); padding: 18px 22px; background: linear-gradient(160deg, rgba(142, 240, 255, 0.08), transparent); font-size: 0.95rem; color: var(--text-2); }
.side-cta .label { margin-bottom: 10px; }
.side-cta a { display: block; margin-top: 6px; text-decoration: none; }
.toc ol { margin: 8px 0 0; padding-left: 1.4em; font-size: 1rem; }
.toc li::marker { color: var(--muted); font-family: var(--font-mono); font-size: 0.8em; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--glow); }

.article-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); counter-reset: art; }
.article-list li { counter-increment: art; border-bottom: 1px solid var(--line); position: relative; }
.article-list a {
  display: grid; grid-template-columns: 4.5em 1fr auto; gap: 4px 20px; align-items: baseline;
  padding: 22px 8px; color: var(--text); text-decoration: none; position: relative; isolation: isolate;
}
.article-list a::before { content: counter(art, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); grid-row: span 2; transition: color .3s; }
.article-list a::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(142, 240, 255, 0.1), transparent 70%);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.article-list a:hover::after { transform: scaleX(1); }
.article-list a:hover::before { color: var(--glow); }
.article-list .t { font-weight: 700; font-size: 1.05rem; }
.article-list .d { grid-column: 2; color: var(--text-2); font-size: 0.96rem; line-height: 1.75; }
.article-list .c { grid-row: 1; grid-column: 3; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; color: var(--glow); white-space: nowrap; }
@media (max-width: 640px) { .article-list a { grid-template-columns: 2.6em 1fr; } .article-list .c { grid-column: 2; grid-row: auto; } }

/* ---------- フォーム ---------- */
.form { max-width: 640px; }
.form label { display: block; margin: 22px 0 8px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--glow); }
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 2px;
  background: rgba(6, 12, 19, 0.8); color: var(--text); font: inherit;
  transition: border-color .25s, box-shadow .25s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 4px rgba(142, 240, 255, 0.1), 0 0 24px -8px var(--glow-soft); }
.form textarea { min-height: 200px; }
.form .hp { position: absolute; left: -9999px; }
.form button { margin-top: 24px; }

/* ---------- フッター ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: 72px 0 40px; overflow: hidden; background: linear-gradient(transparent, rgba(63, 182, 255, 0.05)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--glow); font-weight: 500; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--text-2); text-decoration: none; font-size: 0.98rem; line-height: 2.2; }
.footer-links a:hover { color: var(--glow); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- スクロールで現れる ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.scan { position: relative; overflow: hidden; }
.scan::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%; pointer-events: none;
  background: linear-gradient(transparent 40%, rgba(142, 240, 255, 0.5) 49.6%, #fff 50%, rgba(142, 240, 255, 0) 58%, transparent);
  transform: translateY(-100%); opacity: 0;
}
.scan.in::after { animation: scan 1.8s var(--ease) forwards; }
@keyframes scan { 0% { transform: translateY(-60%); opacity: 1; } 100% { transform: translateY(60%); opacity: 0; } }

/* ---------- カーソル ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid var(--glow); border-radius: 50%; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s, background .3s; box-shadow: 0 0 18px -2px var(--glow-soft), inset 0 0 12px -4px var(--glow-soft); }
.cursor.on { opacity: 0.85; }
.cursor.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(142, 240, 255, 0.07); }
.cursor::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; margin: -1.5px; background: var(--glow); border-radius: 50%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .cursor { display: none; }
}

/* 注目5社の比較表 */
.fc-table { min-width: 860px; }
.fc-table thead th { font-family: var(--font-jp); font-size: 1rem; letter-spacing: 0.02em; color: var(--text); }
.fc-table thead th a { color: var(--glow); text-decoration: none; }
.fc-table tbody th { width: 9.5em; font-size: 0.9rem; color: var(--muted); font-weight: 500; position: sticky; left: 0; background: rgba(6, 12, 19, 0.96); }
.fc-table td { line-height: 1.7; }
.fc-table .current { background: rgba(142, 240, 255, 0.07); }
.fc-table thead th.current { box-shadow: inset 0 2px 0 var(--glow); }
.fc-links td a { display: block; white-space: nowrap; }
.featured-compare { margin: 1.6em 0 2.4em; }
.article-compare h2 { margin: 2.6em 0 0.6em; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.article-compare .table-wrap { max-width: calc(100vw - 2 * var(--gutter)); }
.featured-compare .muted { margin-top: 10px; }
.scroll-hint { display: none; margin: 0 0 8px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--muted); }
@media (max-width: 900px) { .scroll-hint { display: block; } }

/* 端末カード */
.hw-card { padding: 0 0 20px; overflow: hidden; }
.hw-card .hw-img { display: block; height: 150px; overflow: hidden; border-bottom: 1px solid var(--line); mask-image: linear-gradient(#000 70%, transparent); }
.hw-card .hw-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity .5s, filter .5s; filter: saturate(0.9); }
.hw-card:hover .hw-img img { opacity: 1; filter: saturate(1.1); }
.hw-card .hw-code { display: block; margin: 14px 20px 6px; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.18em; color: var(--glow); }
.hw-card h3, .hw-card p { margin-left: 20px; margin-right: 20px; }
