:root {
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --card: #ffffff;
  --line: #e2e8ee;
  --text: #14191e;
  --muted: #5b6670;
  --accent: #0a84c6;
  --accent-ink: #ffffff;
  --accent-soft: #e5f4fc;
  --warn: #8a5a00;
  --warn-bg: #fff4dc;
  --err: #b42318;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101316;
    --bg-soft: #161b20;
    --card: #1a1f24;
    --line: #2c343b;
    --text: #f2f4f5;
    --muted: #9aa4ad;
    --accent: #4cc2ff;
    --accent-ink: #062033;
    --accent-soft: #15303f;
    --warn: #ffd56b;
    --warn-bg: #3a2f12;
    --err: #ff9aa2;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.75;
  font-family: "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav { display: flex; gap: 18px; font-size: 14px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
@media (max-width: 640px) { .nav { display: none; } }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn[aria-disabled="true"] { pointer-events: none; }

/* ヒーロー */
.hero { padding: 64px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.3; margin: 0 0 16px; letter-spacing: .01em; }
.hero p.lead { font-size: 17px; color: var(--muted); margin: 0 0 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .18); }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 36px; } }

/* セクション */
section { padding: 56px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 32px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: center; }
@media (max-width: 820px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card h3 { margin: 6px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.step-no { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; align-items: center; justify-content: center; }
ul.check { list-style: none; padding: 0; margin: 0; }
ul.check li { padding: 6px 0 6px 28px; position: relative; }
ul.check li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }

/* 価格 */
.price { text-align: center; }
.price .yen { font-size: 52px; font-weight: 800; line-height: 1.1; }
.price .yen small { font-size: 18px; font-weight: 700; color: var(--muted); }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; }

/* ダウンロード */
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 820px) { .dl { grid-template-columns: 1fr; } }
.dl .card { display: flex; flex-direction: column; gap: 12px; }
.dl .card .btn { margin-top: auto; }
.soon { font-size: 13px; color: var(--warn); background: var(--warn-bg); border-radius: 8px; padding: 6px 10px; display: inline-block; }

/* フォーム */
form.pass { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
form.pass input[type=password] { min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: 16px; }
.files { display: flex; flex-direction: column; gap: 10px; }
.err { color: var(--err); font-weight: 700; }

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

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer a { color: var(--muted); }

/* チラシ由来の部品 */
.tagline { margin: 0 0 10px; color: var(--muted); font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.accent { color: var(--accent); }
.hero .wrap { grid-template-columns: 1.1fr .9fr; }
.devices { width: 100%; max-width: 480px; justify-self: center; border-radius: 22px; }
ul.fix { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; max-width: 440px; }
ul.fix li { display: grid; grid-template-columns: 1fr 28px 1fr; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; }
ul.fix .from { display: flex; align-items: center; gap: 10px; color: var(--text); }
ul.fix .from svg { color: var(--muted); flex: none; }
ul.fix .arrow { color: var(--accent); text-align: center; }
ul.fix b { color: var(--accent); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid4 { grid-template-columns: 1fr; } }
.big4 { color: var(--accent); font-size: 1.5em; margin: 0 2px; }
table.combo { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
table.combo td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.combo tr:last-child td { border-bottom: 0; }
table.combo td:nth-child(2) { color: var(--accent); text-align: center; }
table.combo td:last-child { text-align: right; }
.ok { font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 8px; padding: 4px 10px; }
.closing { display: flex; gap: 18px; align-items: center; background: var(--accent-soft); border-radius: 16px; padding: 24px; }
.closing img { border-radius: 16px; flex: none; }
.closing h3 { margin: 0 0 6px; font-size: 22px; }
.closing p { margin: 0; color: var(--muted); }
footer small { font-size: 12px; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .devices { max-width: 360px; } }
@media (max-width: 400px) { ul.fix li { padding: 8px 12px; font-size: 14px; } }

/* 特徴と使い方（コンパクト） */
section.compact { padding: 40px 0; }
section.compact h2 { font-size: clamp(20px, 2.6vw, 24px); margin-bottom: 14px; }
ul.feats { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
ul.feats li { display: flex; align-items: center; gap: 12px; }
ul.feats .ico { flex: none; width: 40px; height: 40px; }
ul.feats b { display: block; line-height: 1.4; }
ul.feats small { color: var(--muted); font-size: 13px; }
ol.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 4px; }
ol.steps li { display: flex; align-items: center; gap: 8px; font-weight: 700; }
ol.steps li:not(:last-child)::after { content: "›"; color: var(--muted); margin: 0 10px; font-size: 20px; }
section.compact .note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
@media (max-width: 820px) { ul.feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { ol.steps { flex-direction: column; align-items: flex-start; } ol.steps li:not(:last-child)::after { content: none; } }
table.combo .logo { width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; display: inline-block; }
table.combo td { white-space: nowrap; padding: 12px 10px; }
.grid2.support { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 820px) { .grid2.support { grid-template-columns: 1fr; } }
@media (max-width: 400px) { table.combo td { padding: 10px 6px; font-size: 14px; } table.combo .logo { margin-right: 5px; } }
.btn .mark { width: 18px; height: 18px; flex: none; }
.btn-primary .mark rect { stroke: #fff; stroke-width: .6; }
.dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .dl { grid-template-columns: 1fr; } }
/* ダウンロード欄：帯とボタンを下にそろえる */
.dl .card .soon { margin-top: auto; text-align: center; }
.dl .card .soon + .btn { margin-top: 0; }
/* 対応する組み合わせ（コンパクト） */
ul.combo2 { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; max-width: 480px; }
ul.combo2 li { display: grid; grid-template-columns: 150px 32px auto 1fr; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; }
ul.combo2 .devs { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; font-weight: 700; }
ul.combo2 .logo { width: 18px; height: 18px; margin-right: 6px; }
ul.combo2 .sep { color: var(--muted); margin: 0 6px; }
ul.combo2 .arrow { color: var(--accent); text-align: center; }
ul.combo2 .ok, ul.combo2 .soon { justify-self: end; text-align: center; padding: 4px 10px; }
@media (max-width: 560px) { ul.combo2 li { grid-template-columns: 128px 24px auto 1fr; gap: 4px; padding: 10px 12px; font-size: 14px; } }
/* 画像の中の「対応する組み合わせ」 */
.visual { position: relative; justify-self: center; width: 100%; max-width: 480px; }
.visual .devices { max-width: none; }
.combo-mini { position: absolute; top: 12px; left: 12px; background: color-mix(in srgb, #ffffff 88%, transparent); color: #14191e; backdrop-filter: blur(6px); border-radius: 12px; padding: 10px 12px; font-size: 12px; line-height: 1.5; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.combo-mini b { display: block; font-size: 11px; color: #5b6670; margin-bottom: 4px; }
.combo-mini ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 3px; }
.combo-mini li { display: grid; grid-template-columns: 14px 78px 18px 14px auto; align-items: center; column-gap: 4px; font-weight: 700; white-space: nowrap; }
.combo-mini .logo { width: 13px; height: 13px; }
.combo-mini .arrow { color: #0a84c6; text-align: center; }
@media (max-width: 820px) { .visual { max-width: 360px; } .combo-mini { top: 8px; left: 8px; padding: 8px 10px; font-size: 11px; } .combo-mini li { grid-template-columns: 12px 72px 16px 12px auto; } }

/* スピード比較グラフ */
.speed { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; max-width: 760px; }
.speed-chart { width: 100%; height: auto; display: block; font-family: inherit; }
.speed-chart .g { stroke: var(--line); stroke-width: 1; }
.speed-chart .ax { stroke: var(--muted); stroke-width: 1; opacity: .5; }
.speed-chart .tk { fill: var(--muted); font-size: 12px; }
.speed-chart .pic { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.speed-chart .pic-fill { fill: var(--accent); opacity: .1; }
.speed-chart .air { fill: none; stroke: #888780; stroke-width: 2.5; stroke-dasharray: 7 5; stroke-linejoin: round; }
.speed-chart .nf { fill: none; stroke: #b4b2a9; stroke-width: 2; stroke-dasharray: 2 5; stroke-linecap: round; }
.speed-chart .nf-x { fill: #888780; font-size: 16px; font-weight: 700; }
.speed-chart .pic-dot { fill: var(--accent); stroke: var(--card); stroke-width: 2; }
.speed-chart .air-dot { fill: #888780; stroke: var(--card); stroke-width: 2; }
.speed-chart .lb { font-size: 14px; font-weight: 700; }
.speed-chart .pic-t { fill: var(--accent); }
.speed-chart .air-t { fill: var(--muted); }
.speed-chart .note { fill: var(--muted); font-size: 11px; }
.speed-key { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.speed-key li { display: flex; align-items: center; gap: 8px; }
.speed-key .k { width: 22px; height: 0; border-top: 3px solid var(--accent); }
.speed-key .k.air { border-top: 3px dashed #888780; }
.speed-key .k.nf { border-top: 2px dotted #b4b2a9; }
.speed .note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
@media (max-width: 520px) { .speed { padding: 12px; } }
@media (max-width: 520px) { .speed-chart .tk { font-size: 18px; } .speed-chart .lb { font-size: 22px; } .speed-chart .note, .speed-chart .ttl { display: none; } }
