/* SpanTool 公式サイト 共通スタイル */
:root {
  --ink: #1d2433;
  --sub: #5b6475;
  --line: #e2e6ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --accent: #2f5bd8;
  --accent-dark: #2346ad;
  --rc: #4b4bf0;
  --steel: #b050e0;
  --found: #e07a20;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; }
nav.main a { margin-left: 22px; color: var(--ink); text-decoration: none; font-size: 15px; }
nav.main a:hover { color: var(--accent); }
nav.main a.btn { color: #fff; }

/* ボタン */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700;
  transition: background .15s;
}
.btn:hover { background: var(--accent-dark); }
.btn.sm { padding: 6px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn.ghost:hover { background: #eef2fd; }

/* ヒーロー */
.hero { background: linear-gradient(180deg, #eef2fd 0%, #fff 100%); padding: 64px 0 40px; }
.hero h1 { font-size: 38px; line-height: 1.35; margin: 0 0 16px; }
.hero p.lead { font-size: 18px; color: var(--sub); margin: 0 0 28px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .badges { margin-top: 18px; font-size: 14px; color: var(--sub); }
.hero .badges span { display: inline-block; margin-right: 16px; }
.hero .shot { margin-top: 40px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(29, 36, 51, .12); }

/* セクション */
section { padding: 64px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: 28px; margin: 0 0 8px; }
.sec-lead { color: var(--sub); margin: 0 0 32px; }

/* 特長 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--sub); font-size: 15px; }
.card .num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }

/* ツール一覧 */
.group { margin-bottom: 28px; }
.group h3 { font-size: 17px; margin: 0 0 12px; padding-left: 10px; border-left: 5px solid var(--c, var(--accent)); }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tool { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.tool img { width: 44px; height: 44px; flex: none; }
.tool b { display: block; font-size: 16px; }
.tool span { font-size: 13.5px; color: var(--sub); line-height: 1.6; display: block; }

/* 画面紹介 */
.showcase { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; margin-bottom: 48px; }
.showcase.rev { grid-template-columns: 1fr 1.2fr; }
.showcase.rev .text { order: 2; }
.showcase img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 8px 28px rgba(29, 36, 51, .10); }
.showcase h3 { font-size: 20px; margin: 0 0 8px; }
.showcase p { color: var(--sub); margin: 0; }

/* 表 */
table.spec { width: 100%; border-collapse: collapse; background: #fff; }
table.spec th, table.spec td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
table.spec th { width: 30%; color: var(--sub); font-weight: 500; background: var(--bg-soft); }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--sub); }

/* お知らせ */
ul.news { list-style: none; padding: 0; margin: 0; }
ul.news li { display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
ul.news time { color: var(--sub); flex: none; width: 110px; }
ul.news .cat { flex: none; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: #eef2fd; color: var(--accent); align-self: center; white-space: nowrap; }
ul.news a { color: var(--ink); }

/* ダウンロード */
.dl-box { background: #fff; border: 2px solid var(--accent); border-radius: var(--radius); padding: 28px; text-align: center; }
.dl-box .ver { color: var(--sub); margin: 8px 0 18px; }
.note { background: #fff8e6; border: 1px solid #f1d58a; border-radius: var(--radius); padding: 16px 20px; font-size: 15px; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* 本文ページ（規約など） */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 20px 64px; }
.doc h1 { font-size: 28px; margin: 0 0 6px; }
.doc .updated { color: var(--sub); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 19px; margin: 32px 0 8px; }
.doc ol, .doc ul { padding-left: 1.4em; }
.ph { background: #fff1c2; color: #5a4300; padding: 0 4px; border-radius: 3px; }   /* 要入力箇所（公開前に置き換え） */

/* フッター */
footer.site { background: #1d2433; color: #c9cfdb; padding: 36px 0; font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer.site a { color: #c9cfdb; text-decoration: none; margin-right: 18px; }
footer.site a:hover { color: #fff; }

/* スマートフォン */
@media (max-width: 760px) {
  nav.main a:not(.btn) { display: none; }
  .hero h1 { font-size: 28px; }
  .features { grid-template-columns: 1fr; }
  .showcase, .showcase.rev { grid-template-columns: 1fr; }
  .showcase.rev .text { order: 0; }
  table.spec th { width: 38%; }
  ul.news li { flex-wrap: wrap; gap: 4px 12px; }
}
