@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/space-grotesk-var-latin.woff2") format("woff2"); }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/space-mono-400-latin.woff2") format("woff2"); }
:root {
  --bg: #161B26; --fg: #C9D4DE; --muted: #97A2B2; --line: #283142; --tint: #1F2735; --white: #FFFFFF;
  --teal: #8FC9DB; --amber: #E4B86A;
  --pk: #8FC9DB; --pk-tint: #1C2A33;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  --display: "Space Grotesk", var(--font);
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --maxw: 960px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); line-height: 1.85; letter-spacing: .02em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.4; text-wrap: balance; color: var(--white); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--pk); outline-offset: 3px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

.nav .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; color: var(--white); }
.nav__brand img { width: 30px; height: 30px; border-radius: 50%; }
.nav__links { display: flex; gap: 22px; font-size: .9rem; color: var(--muted); }
.nav__links a:hover { color: var(--teal); }

.phead { background: var(--tint); border-block: 1px solid var(--line); }
.phead .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.phead__name { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; color: var(--white); }
.phead__name img { width: 32px; height: 32px; image-rendering: pixelated; }
.phead__name small { font-family: var(--font); font-weight: 400; color: var(--muted); font-size: .82rem; }
.tabs { display: flex; gap: 4px; font-size: .88rem; overflow-x: auto; }
.tabs a { padding: 6px 14px; border-radius: 999px; color: var(--muted); white-space: nowrap; }
.tabs a:hover { color: var(--teal); }
.tabs a[aria-current="page"] { background: var(--bg); color: var(--white); font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }

.crumb { font-size: .8rem; color: var(--muted); padding-top: 18px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 0 8px; }
.crumb li + li::before { content: "/"; margin-right: 8px; }
.crumb a:hover { color: var(--teal); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; padding-block: clamp(32px, 6vw, 64px) clamp(40px, 7vw, 72px); }
.hero--single { grid-template-columns: 1fr; }
.hero h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 500; }
.hero h1 b { color: var(--pk); font-weight: 700; }
.hero__lead { margin-top: 16px; color: var(--muted); max-width: 36em; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn { font-family: var(--display); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: .92rem; border: 1px solid var(--line); }
.btn:hover { border-color: var(--teal); color: var(--teal); }
.btn--pk { background: var(--pk); border-color: var(--pk); color: var(--bg); }
.btn--pk:hover { background: var(--pk); border-color: var(--pk); color: var(--bg); filter: brightness(1.08); }
.btn small { font-weight: 400; opacity: .85; }
.cta-note { margin-top: 10px; font-size: .8rem; color: var(--muted); }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } }

.ba { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 10px; overflow: hidden; background: var(--tint); user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__bar { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); pointer-events: none; }
.ba__bar::after { content: "◀ ▶"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 4px 10px; background: #fff; color: #1F1A16; border-radius: 999px; font-size: .7rem; letter-spacing: .1em; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.ba__tag { position: absolute; top: 10px; padding: 1px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: rgba(31,26,22,.75); color: #fff; pointer-events: none; }
.ba__tag--l { left: 10px; }
.ba__tag--r { right: 10px; background: var(--pk); color: var(--bg); }
.ba--photo img { image-rendering: auto; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:has(input:focus-visible) { outline: 2px solid var(--pk); outline-offset: 3px; }
.cap { margin-top: 8px; font-size: .8rem; color: var(--muted); }

.label { padding-bottom: 12px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .8rem; font-weight: 400; letter-spacing: .14em; color: var(--teal); }
.section { margin-top: clamp(56px, 8vw, 88px); }
.section > h2:not(.label) { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: 20px; }

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.points li { padding: 22px 22px 22px 0; display: flex; flex-direction: column; gap: 6px; }
.points li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.points h3 { font-size: 1.05rem; }
.points p { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) {
  .points { grid-template-columns: 1fr; }
  .points li, .points li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

.tbl { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 440px; }
th, td { padding: 13px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .82rem; color: var(--muted); font-weight: 700; }
thead th.pk { color: var(--pk); }
tbody th { font-weight: 400; color: var(--muted); white-space: nowrap; width: 9em; }
.yes { font-weight: 700; }
.no { color: var(--muted); }
.note { margin-top: 16px; padding: 14px 16px; border-radius: 8px; background: var(--tint); font-size: .88rem; }

.next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.next a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; }
.next a:hover { border-color: var(--pk); }
.next b { display: block; }
.next span { font-size: .84rem; color: var(--muted); }
.next i { font-style: normal; color: var(--pk); font-weight: 700; }
@media (max-width: 560px) { .next { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px 20px; margin-top: 24px; }
.ex img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.ex figcaption { margin-top: 8px; font-size: .84rem; display: flex; flex-wrap: wrap; gap: 0 10px; }
.ex figcaption span { color: var(--muted); font-variant-numeric: tabular-nums; }

.feat { display: grid; grid-template-columns: 11em minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.feat dt { padding: 16px 12px 16px 0; font-weight: 700; }
.feat dd { margin: 0; padding: 16px 0; color: var(--muted); font-size: .94rem; }
.feat dd b { color: var(--white); font-weight: 700; }
@media (max-width: 560px) {
  .feat { grid-template-columns: 1fr; }
  .feat dt { padding-bottom: 0; }
  .feat dd { padding-top: 4px; }
}
.shot { margin-top: 28px; }
.shot img { border-radius: 10px; border: 1px solid var(--line); }
.shot--sm { max-width: 640px; }

.unique { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.unique li { padding: 22px; background: var(--pk-tint); border-radius: 10px; display: flex; flex-direction: column; gap: 6px; }
.unique h3 { font-size: 1.05rem; color: var(--pk); }
.unique p { font-size: .92rem; }
@media (max-width: 640px) { .unique { grid-template-columns: 1fr; } }

.steps { counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pk); color: var(--bg); font-weight: 700; font-size: .9rem; }
.steps b { display: block; }
.steps span { color: var(--muted); font-size: .92rem; }
kbd, .code { font-family: var(--mono); font-size: .8em; padding: 1px 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--tint); white-space: nowrap; }
kbd { border-bottom-width: 2px; }
.keys { columns: 2 280px; column-gap: 32px; }
.keys li { break-inside: avoid; display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.keys li span:last-child { text-align: right; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; color: var(--pk); font-size: 1.2rem; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding-bottom: 16px; color: var(--muted); font-size: .94rem; }

.footer { margin-top: clamp(72px, 10vw, 112px); border-top: 1px solid var(--line); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px 40px; font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a:hover { color: var(--teal); }

.video { aspect-ratio: 16 / 9; margin-top: 20px; border-radius: 10px; overflow: hidden; background: var(--tint); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
