:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --surface: #fffefa;
  --ink: #202d2b;
  --muted: #596560;
  --line: #d8ddd5;
  --green: #285348;
  --osc: #a33e2a;
  --keyboard: #295e94;
  --midi: #645093;
  font-family: "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #357360; outline-offset: 5px; }
::selection { color: #fff; background: #285348; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.45; }
.container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: -100px; left: 16px; padding: 12px 20px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 750; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.brand-series { margin-left: 5px; font-size: 10px; font-weight: 650; letter-spacing: .12em; color: var(--muted); }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
nav a { font-size: 13px; font-weight: 600; text-decoration: none; }
nav a:hover { color: var(--green); text-decoration: underline; }
.family-link { color: var(--muted); border-left: 1px solid var(--line); padding-left: 24px; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 32px; align-items: center; padding-block: 80px 68px; }
.eyebrow { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 11px; font-weight: 600; letter-spacing: .11em; color: var(--green); }
.status-dot { display: inline-block; width: 7px; height: 7px; background: var(--green); border-radius: 50%; margin-right: 7px; }
h1 { font-size: clamp(34px, 4.3vw, 56px); letter-spacing: -.055em; margin-block: 23px 25px; font-weight: 800; line-height: 1.5; }
.hero-description { font-size: 15px; color: var(--muted); line-height: 2.05; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 48px; padding: 13px 20px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font-size: 13px; font-weight: 650; transition: background-color .15s, transform .15s; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: var(--green); }
.hero .button { margin-top: 29px; }
.hero-footnote { font-size: 11px; color: var(--muted); margin-top: 15px; }
.hero-visual { text-align: center; }
.hero-visual img { display: block; width: 100%; border-radius: 16px; border: 1px solid var(--line); }
figcaption { font-size: 12px; color: var(--muted); margin-top: 16px; }
figcaption span { font-size: 10px; color: #707973; }
.spec-strip { border-block: 1px solid var(--line); }
.spec-inner { display: flex; align-items: center; gap: 30px; min-height: 82px; }
.spec-inner p { font-size: 10px; letter-spacing: .08em; color: var(--muted); }
.spec-inner strong { font-family: ui-monospace, Consolas, monospace; font-size: 24px; color: var(--ink); margin-right: 9px; font-weight: 500; }
.spec-divider { width: 1px; height: 26px; background: var(--line); }
.spec-note { margin-left: auto; color: var(--muted); font-size: 12px; }
.section { padding-block: 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
h2 { font-size: clamp(25px, 2.6vw, 32px); letter-spacing: -.04em; font-weight: 750; margin-top: 10px; }
.section-heading > p { color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { --accent: var(--osc); --wash: #fbede7; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 12px; padding: 25px; }
.keyboard { --accent: var(--keyboard); --wash: #eaf1f9; }
.midi { --accent: var(--midi); --wash: #f0edf8; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.protocol { font-family: ui-monospace, Consolas, monospace; font-size: 10px; letter-spacing: .035em; color: var(--accent); font-weight: 700; }
.card-number { color: #89908a; font-size: 11px; }
.product-symbol { color: var(--accent); background: var(--wash); border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent); width: 72px; height: 66px; border-radius: 12px; display: grid; place-items: center; font-family: ui-monospace, Consolas, monospace; font-size: 28px; font-weight: 600; margin-block: 27px; }
.symbol-key { font-size: 23px; }
.product-use { font-size: 11px; color: var(--accent); font-weight: 650; margin-bottom: 7px; }
.product-card h3 { font-size: 25px; line-height: 1.25; min-height: 63px; letter-spacing: -.035em; }
.product-card h3 span { display: block; font-size: 20px; font-weight: 500; color: var(--accent); }
.product-description { color: var(--muted); font-size: 13px; margin-top: 17px; line-height: 1.9; }
.feature-list { list-style: none; padding: 0; margin: 22px 0; font-size: 12px; }
.feature-list li { position: relative; padding: 5px 0 5px 17px; }
.feature-list li::before { position: absolute; content: ""; width: 5px; height: 5px; border-radius: 50%; top: 13px; left: 0; background: var(--accent); }
.setting-note { display: flex; flex-direction: column; gap: 4px; font-size: 11px; border-top: 1px solid var(--line); padding-top: 17px; margin-top: auto; }
.setting-note span { color: var(--muted); font-size: 10px; }
.card-actions { margin-top: 21px; display: grid; gap: 12px; }
.product-button { color: white; background: var(--accent); justify-content: space-between; }
.product-button:hover { filter: brightness(.9); }
.text-action { text-align: center; font-size: 12px; color: var(--accent); font-weight: 650; }
.card-links { display: flex; gap: 20px; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 15px; color: var(--muted); font-size: 11px; }
.section-note { font-size: 12px; color: var(--muted); margin-top: 23px; text-align: center; }
.compare-section { background: #eaece5; border-block: 1px solid var(--line); }
.table-scroll { overflow-x: auto; border: 1px solid #cdd4c9; border-radius: 10px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
caption { text-align: left; font-size: 12px; color: var(--muted); padding: 17px 24px; }
th, td { padding: 19px 24px; border-bottom: 1px solid var(--line); }
thead { background: #f0f2ec; font-size: 12px; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: none; }
.table-scroll table { min-width: 730px; }
tbody th { font-family: ui-monospace, Consolas, monospace; font-weight: 600; }
td em { font-style: normal; color: var(--muted); font-size: 11px; }
sup { font-size: 9px; }
.table-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; }
.osc-dot { background: var(--osc); }
.keyboard-dot { background: var(--keyboard); }
.midi-dot { background: var(--midi); }
.compare-notes { display: grid; gap: 8px; color: var(--muted); font-size: 12px; margin-top: 22px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.steps li { display: flex; gap: 20px; border-top: 1px solid var(--line); padding-block: 27px; }
.step-number { font-family: ui-monospace, Consolas, monospace; color: #6c7e6e; font-size: 13px; padding-top: 4px; }
.steps h3 { font-size: 17px; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 13px; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .94em; padding: 2px 5px; border-radius: 4px; background: #e4e8de; color: #293d2f; overflow-wrap: anywhere; }
.tip { display: flex; gap: 24px; align-items: baseline; padding: 23px 26px; margin-top: 8px; border-left: 3px solid #597457; background: #e9ede3; border-radius: 0 8px 8px 0; }
.tip-label { flex-shrink: 0; font-family: ui-monospace, Consolas, monospace; font-size: 11px; font-weight: 600; }
.tip p { color: #465443; font-size: 12px; }
.hardware-section { color: #edf1e9; background: #243a32; }
.hardware-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.hardware-section .eyebrow { color: #b4c9a7; }
.hardware-section h2 { font-size: 36px; line-height: 1.5; }
.hardware-grid > div > p:not(.eyebrow) { color: #cad7cd; font-size: 14px; margin-top: 22px; }
.hardware-grid > div > p.small-text { font-size: 11px; color: #b2c3b7; }
.inline-link { display: inline-block; font-size: 13px; margin-top: 24px; color: #d9e8b3; }
.wiring-card { padding: 9px 22px 22px; border: 1px solid #53695c; border-radius: 12px; background: #2b4439; }
.wiring-card caption { color: #cfdecf; padding: 13px 0; }
.wiring-card thead { background: transparent; color: #b9cdbb; }
.wiring-card th, .wiring-card td { padding: 10px 0; border-color: #506657; }
.wiring-card p { font-size: 11px; color: #c4d7c5; margin-top: 20px; }
.wiring-card code { background: #1b3026; color: #e3ebd0; }
.faq-section { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
details { border-bottom: 1px solid var(--line); padding-block: 19px; }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-size: 14px; font-weight: 650; padding-right: 12px; }
summary::marker { color: #718569; }
details p { margin: 16px 0 3px; color: var(--muted); font-size: 13px; }
.related { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 32px 38px; border: 1px solid var(--line); border-radius: 12px; background: #eeeee6; }
.related h2 { font-size: 24px; }
.related p:not(.eyebrow) { font-size: 13px; color: var(--muted); margin-top: 14px; }
.related .button { flex-shrink: 0; }
.chainpad-link { margin-top: 32px; }
.site-footer { margin-top: 65px; padding-block: 30px; border-top: 1px solid var(--line); }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-top > a:last-child { font-size: 12px; color: var(--muted); }
.site-footer > p { max-width: 860px; font-size: 11px; color: var(--muted); margin: 22px 0; }
.footer-bottom { font-size: 10px; color: var(--muted); }
@media (max-width: 1080px) {
  .container { width: calc(100% - 48px); }
  nav { gap: 18px; }
  .family-link { display: none; }
  .hero { gap: 10px; padding-block: 60px; }
  .hero-description { font-size: 13px; }
  .product-card { padding: 22px 19px; }
  .product-card h3 { font-size: 23px; }
  .protocol { font-size: 9px; }
  .hardware-grid { gap: 50px; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 32px; }
  .hero-copy { text-align: center; }
  h1 { font-size: 44px; }
  .hero-description { font-size: 15px; }
  .hero-visual { width: min(480px, 100%); margin-inline: auto; }
  .hero-footnote { font-size: 10px; }
  .spec-note { display: none; }
  .spec-inner { justify-content: center; gap: 20px; }
  .product-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-card { padding: 26px; }
  .product-card h3 { min-height: auto; font-size: 27px; }
  .product-card h3 span { display: inline; font-size: inherit; }
  .product-symbol { margin-block: 20px; }
  .feature-list { margin-block: 17px; }
  .product-description { max-width: 560px; }
  .card-actions { grid-template-columns: 1fr 1fr; align-items: center; }
  .protocol { font-size: 11px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .section-heading > p br { display: none; }
  .section { padding-block: 55px; }
  .hardware-grid { grid-template-columns: 1fr; gap: 35px; }
  .hardware-section h2 br { display: none; }
  .faq-section { grid-template-columns: 1fr; gap: 30px; }
  .related { flex-direction: column; align-items: flex-start; padding: 28px; }
  .tip { flex-direction: column; gap: 10px; }
}
@media (max-width: 540px) {
  .container { width: calc(100% - 36px); }
  .header-inner { flex-direction: column; gap: 12px; padding-block: 18px; }
  nav { gap: 26px; }
  nav a { font-size: 12px; }
  .hero { padding-top: 40px; }
  h1 { font-size: 36px; }
  .eyebrow { font-size: 9px; letter-spacing: .08em; }
  .hero-description { font-size: 12px; }
  .hero .button { padding-inline: 14px; gap: 13px; font-size: 12px; }
  .spec-inner { gap: 12px; min-height: 72px; }
  .spec-inner p { font-size: 8px; letter-spacing: 0; }
  .spec-inner strong { font-size: 20px; margin-right: 4px; }
  .spec-divider { height: 22px; }
  h2 { font-size: 25px; }
  .product-card { padding: 24px; }
  .product-card h3 { font-size: 25px; }
  .product-card h3 span { display: block; font-size: 22px; }
  .card-actions { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { gap: 15px; }
  .steps h3 { font-size: 16px; }
  .tip { padding: 20px; }
  .hardware-section h2 { font-size: 30px; }
  .hardware-section h2 br { display: block; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; gap: 15px; }
  .related h2 { font-size: 21px; }
  .related p br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
