/* ピクセルスタジオの紹介サイト。アプリと同じ、落ち着いた業務システム風（白と淡い灰色、青の差し色）。 */
:root {
  --bg: #ffffff;
  --bg-alt: #f3f5f8;
  --panel: #ffffff;
  --line: #dde2e9;
  --text: #1c2430;
  --text-sub: #566273;
  --accent: #1f6fc4;
  --accent-dark: #17579b;
  --accent-soft: #e8f1fb;
  --dark: #17202c;
  --dark-sub: #a9b6c6;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(23, 32, 44, .06), 0 12px 32px rgba(23, 32, 44, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Yu Gothic UI", "Segoe UI", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.35; margin: 0; letter-spacing: .01em; }
p { margin: 0; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

/* 上の帯 */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text-sub); text-decoration: none; font-size: 14px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text); border-bottom-color: var(--accent); }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 6px; text-decoration: none; font-weight: 600;
  border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-small { padding: 7px 16px; font-size: 14px; }
.btn-large { padding: 14px 26px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(31, 111, 196, .3); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(31, 111, 196, .28); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: #b8c2cf; background: var(--bg-alt); }
.btn.is-pending { background: #8fa3ba; box-shadow: none; cursor: default; }
.btn.is-pending:hover { background: #8fa3ba; transform: none; box-shadow: none; }

.chip {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 600;
}

/* 冒頭 */
.hero { background: linear-gradient(180deg, #f3f5f8 0%, #ffffff 62%); padding: 72px 0 0; text-align: center; }
.eyebrow { color: var(--text-sub); font-size: 14px; display: flex; gap: 10px; justify-content: center; align-items: center; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); margin-top: 18px; font-weight: 700; }
.lead { color: var(--text-sub); font-size: clamp(15px, 1.700vw, 18px); margin-top: 20px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.cta-note { color: var(--text-sub); font-size: 13px; margin-top: 14px; }

/* 画面の絵 */
.shot {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); overflow: hidden;
}
.shot-hero { margin-top: 56px; }
.shot-bar {
  display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  background: #eef1f5; border-bottom: 1px solid var(--line); color: var(--text-sub); font-size: 12px;
}
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9d1dc; display: block; }
.shot-bar span { margin-left: 8px; }

/* 数字 */
.facts { padding: 44px 0 8px; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.facts-row div { padding: 20px 12px; text-align: center; border-left: 1px solid var(--line); }
.facts-row div:first-child { border-left: 0; }
.facts-row b { display: block; font-size: 30px; color: var(--accent); line-height: 1.2; }
.facts-row span { color: var(--text-sub); font-size: 13px; }

/* 節 */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.kicker { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .12em; }
.section h2 { font-size: clamp(24px, 3.200vw, 34px); margin-top: 8px; }
.section-lead { color: var(--text-sub); margin-top: 12px; }

/* 見どころのカード */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: #b9cde6; box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 17px; margin-top: 16px; }
.card p { color: var(--text-sub); font-size: 14.500px; margin-top: 8px; }
.icon { width: 44px; height: 44px; border-radius: 8px; background: var(--accent-soft); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }

/* 左右に分ける節 */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.split-center { grid-template-columns: 1fr 1fr; }
.split-text p { color: var(--text-sub); margin-top: 16px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding-left: 28px; margin-top: 10px; font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .450em; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* できることの表 */
.table-wrap { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: #fff; }
.can { width: 100%; border-collapse: collapse; font-size: 14.500px; min-width: 640px; }
.can th { background: #eef1f5; text-align: left; padding: 10px 16px; font-size: 13px; color: var(--text-sub); border-bottom: 1px solid var(--line); }
.can td { padding: 11px 16px; border-bottom: 1px solid #edf0f4; vertical-align: top; }
.can tr:last-child td { border-bottom: 0; }
.can td:nth-child(2), .can tr td:first-child:not(.when) { font-weight: 600; white-space: nowrap; }
.can td:last-child { color: var(--text-sub); font-weight: 400; white-space: normal; }
.can .when { width: 120px; color: var(--accent-dark); font-weight: 700; background: #f8fafc; border-right: 1px solid #edf0f4; border-bottom: 1px solid var(--line); }

/* 速さ */
.section-dark { background: var(--dark); color: #fff; }
.section-dark .kicker { color: #7db7f2; }
.section-dark .split-text p { color: var(--dark-sub); }
.speed-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.speed-list li { border: 1px solid #2c3949; background: #1e2a38; border-radius: 8px; padding: 14px 18px; }
.speed-list b { display: block; font-size: 15px; }
.speed-list span { color: var(--dark-sub); font-size: 14px; }

/* 入れ方 */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { counter-increment: step; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: #fff; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 12px;
}
.steps b { display: block; font-size: 16px; }
.steps span { color: var(--text-sub); font-size: 14.500px; }

.req { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; margin-top: 16px; }
.req > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg-alt); }
.req h3 { font-size: 16px; }
.req dl { display: grid; grid-template-columns: 72px 1fr; gap: 8px 16px; margin: 14px 0 0; font-size: 14.500px; }
.req dt { color: var(--text-sub); }
.req dd { margin: 0; }
.req-cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
.req-cta .cta-note { margin-top: 0; }

/* 下の帯 */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 32px 0 40px; color: var(--text-sub); font-size: 14px; }
.footer-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.credits { margin-top: 18px; }
.credits summary { cursor: pointer; color: var(--text); font-weight: 600; }
.credits ul { margin: 10px 0 0; padding-left: 20px; font-size: 13px; }

/* 狭い画面 */
@media (max-width: 900px) {
  .nav { display: none; }
  .header-row .btn { margin-left: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split, .split-center, .req { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .wide-only { display: none; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: repeat(2, 1fr); }
  .facts-row div:nth-child(3) { border-left: 0; }
  .facts-row div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
