/* INFINITY ── 案内ページ（landing）
   わかりやすさがいちばん：大きな見出し、短い文、図とステップ。 */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 99; border-radius: 0 0 12px 0; }
.skip:focus { left: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 18px; padding-right: 18px; }
.center { text-align: center; }
.muted { color: var(--sub); }
.small { font-size: .86rem; }
h1, h2, h3, p { margin: 0; }
.i { width: 20px; height: 20px; flex: none; }
.eyebrow { font-family: var(--hud); font-weight: 800; font-size: 12.5px; letter-spacing: .2em; color: var(--amber-t); margin-bottom: 10px; }
.hl { background: linear-gradient(transparent 58%, rgba(255, 200, 61, .75) 58%, rgba(255, 200, 61, .75) 92%, transparent 92%); padding: 0 .05em; border-radius: 3px; }
.sec-head { margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(25px, 3.4vw, 34px); }
.sec-head .muted { margin-top: 8px; font-size: 16px; }
section { scroll-margin-top: 70px; }

/* ── ヘッダー */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 252, 244, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1120px; margin: 0 auto; padding: 10px 18px; display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 44px; height: auto; }
.logo-t { font-family: var(--hud); font-weight: 900; font-size: 19px; letter-spacing: .14em; }
.nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.nav a { padding: 7px 13px; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 14.5px; font-weight: 700; transition: background .2s; }
.nav a:hover { background: var(--sun-soft); }
/* ヘッダーのボタン：NFC用のURLをつくる（受取アドレスを貼るだけの近道） */
.head-cta { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px 0 13px; border-radius: 999px; background: var(--amber); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .02em; text-decoration: none; white-space: nowrap; box-shadow: 0 3px 0 var(--amber-d); transition: transform .15s, box-shadow .15s; }
.head-cta:hover { transform: translateY(-1px); }
.head-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--amber-d); }
.head-cta:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.head-cta .i { width: 17px; height: 17px; flex: none; }

/* ── ヒーロー */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding-top: 50px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(28px, 4.2vw, 50px); line-height: 1.34; }
.nw { white-space: nowrap; }
.lead { margin-top: 20px; font-size: 17px; line-height: 1.95; max-width: 580px; }
.lead b { font-weight: 900; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.cta.center { justify-content: center; }
.facts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.facts b { font-family: var(--hud); font-weight: 900; font-size: 24px; line-height: 1.2; color: var(--amber-t); }
.facts li span { font-size: 13px; font-weight: 700; color: var(--sub); line-height: 1.5; }

.pv-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 800; font-size: 15px; color: var(--ink); text-decoration: none; }
.pv-link .pv-play { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .2s var(--spring); }
.pv-link .pv-play svg { width: 18px; height: 18px; margin-left: 2px; }
.pv-link:hover .pv-play { transform: scale(1.12); }
.pv-link > span:not(.pv-play) { border-bottom: 2px solid var(--sun); }

.hero-vis { position: relative; aspect-ratio: 1 / .86; width: 100%; max-width: 540px; justify-self: center; }
.hv-blob { position: absolute; inset: 6% 4% 4% 6%; border-radius: 50%; background: radial-gradient(circle at 40% 40%, var(--sun-soft), #FFF7E2 60%, transparent 72%); }
.hv-lid { position: absolute; left: 0; bottom: 8%; width: 82%; transform: rotate(-9deg); filter: drop-shadow(0 18px 22px rgba(34, 43, 69, .18)); }
.hv-lid svg { width: 100%; height: auto; }
.hv-phone { position: absolute; right: 4%; top: 2%; width: 40%; aspect-ratio: 9 / 17; background: #222B45; border-radius: 30px; padding: 9px; transform: rotate(8deg); box-shadow: var(--shadow-l); animation: phone 4.6s ease-in-out infinite; }
.hv-screen { width: 100%; height: 100%; border-radius: 22px; background: var(--bg); display: flex; flex-direction: column; align-items: center; padding: 14px 10px; gap: 6px; overflow: hidden; }
.hv-top { align-self: stretch; display: flex; justify-content: space-between; font-family: var(--hud); font-weight: 900; font-size: 10px; letter-spacing: .12em; color: var(--ink); }
.hv-top span { color: var(--amber-t); letter-spacing: .04em; }
.hv-patch { width: 84%; aspect-ratio: 1; margin-top: 6px; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line-2); }
.hv-patch svg, .ws-patch svg, .ckp-patch svg, .patch-frame svg { width: 100%; height: 100%; }
.hv-name { font-weight: 900; font-size: 12px; margin-top: 4px; }
.hv-amt { font-family: var(--hud); font-weight: 900; font-size: clamp(17px, 2vw, 22px); color: var(--amber-t); line-height: 1.1; }
.hv-amt small { font-size: .55em; color: var(--sub); }
.hv-meta { font-size: 9.5px; font-weight: 700; color: var(--sub); }
.hv-waves { position: absolute; right: 34%; top: 50%; width: 14%; aspect-ratio: 1; }
.hv-waves i { position: absolute; inset: 0; border: 3px solid var(--sky); border-color: var(--sky) transparent transparent var(--sky); border-radius: 50%; transform: rotate(-45deg) scale(.4); opacity: 0; animation: wave 2.4s ease-out infinite; }
.hv-waves i:nth-child(2) { animation-delay: .8s; }
.hv-waves i:nth-child(3) { animation-delay: 1.6s; }
.hv-spark { position: absolute; left: 10%; top: 8%; width: 9%; animation: twinkle 2.8s ease-in-out infinite; }
@keyframes phone { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-8px); } }
@keyframes wave { 0% { transform: rotate(-45deg) scale(.4); opacity: 0; } 25% { opacity: 1; } 100% { transform: rotate(-45deg) scale(1.25); opacity: 0; } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.6) rotate(20deg); opacity: .6; } }

/* ── これはなに？ */
/* ── 1分でわかる（PV） */
.pv { padding-top: 46px; }
.pv-frame { max-width: 960px; margin: 0 auto; border-radius: var(--r-l); overflow: hidden; background: #03090d; border: 3px solid var(--ink); box-shadow: 0 10px 0 rgba(34, 43, 69, .1), var(--shadow-l); }
/* 紹介と使い方の2本（広い画面では横に並べる） */
.pv-grid { display: grid; gap: 26px; max-width: 1120px; margin: 0 auto; }
@media (min-width: 900px) { .pv-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .pv-grid .pv-frame { max-width: none; } }
.pv-item { margin: 0; min-width: 0; }
.pv-cap { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 14px 4px 0; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.pv-cap b { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--sun-soft); color: var(--amber-t, #B35C00); font-size: 12.5px; letter-spacing: .06em; }
.pv-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #03090d; }
.pv-note { margin-top: 12px; font-size: 13.5px; }

.what { padding-top: 70px; }
.what-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.what-steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); padding: 22px 22px 24px; }
.ws-pic { height: 150px; border-radius: 18px; background: var(--card-2); display: grid; place-items: center; margin-bottom: 16px; position: relative; overflow: hidden; }
.ws-pic svg { width: 78%; height: auto; }
.ws-1 { background: #EAF6FC; }
.ws-2 { background: #FFF1E6; }
.ws-3 { background: #F1EEFF; }
.ws-slip { animation: slip 3.2s ease-in-out infinite; }
@keyframes slip { 0%, 15% { transform: translateY(-6px); } 55%, 70% { transform: translateY(26px); } 100% { transform: translateY(-6px); } }
.ws-phone { animation: tap 2.6s ease-in-out infinite; transform-origin: 140px 60px; }
@keyframes tap { 0%, 100% { transform: translate(0, 0) rotate(0); } 45%, 60% { transform: translate(-14px, 10px) rotate(-6deg); } }
.ws-wave path { animation: blink 1.3s ease-in-out infinite; }
.ws-wave path:nth-child(2) { animation-delay: .25s; }
.ws-patch { width: 104px; height: 104px; box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--line-2); }
.ws-amt { position: absolute; right: 12px; bottom: 10px; font-family: var(--hud); font-weight: 900; font-size: 15px; color: var(--amber-t); background: #fff; border-radius: 999px; padding: 2px 10px; box-shadow: var(--shadow); }
.ws-amt small { font-size: .7em; color: var(--sub); }
.ws-no { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--hud); font-weight: 900; font-size: 17px; display: grid; place-items: center; z-index: 1; }
.what-steps h3 { font-size: 19px; margin-bottom: 6px; }
.what-steps p { color: var(--sub); font-size: 15px; line-height: 1.85; }
.what-note { margin: 22px auto 0; max-width: 760px; background: var(--sun-soft); border: 1px solid #FFE59A; border-radius: 16px; padding: 14px 18px; font-size: 15px; line-height: 1.85; }
.what-note b { font-weight: 900; }

/* ── ダウンロード */
.dl { margin-top: 80px; padding: 70px 0 64px; background: linear-gradient(180deg, #FFF3DE, #FFFAF0 60%, transparent); border-top: 1px solid #F6E0BA; }
.file-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; max-width: 880px; margin: 0 auto; background: var(--card); border: 2px solid var(--amber); border-radius: var(--r-l); box-shadow: 0 8px 0 rgba(196, 106, 0, .16), var(--shadow-l); padding: 24px 28px; }
.fc-ico svg { width: 66px; height: auto; }
.fc-body h3 { font-family: var(--hud); font-size: 22px; letter-spacing: .02em; }
.fc-body .v { display: inline-block; margin-left: 4px; padding: 0 9px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-t); font-size: 14px; vertical-align: 3px; }
.fc-sub { color: var(--sub); font-size: 14.5px; font-weight: 700; margin-top: 2px; }
.fc-meta { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--sub); }
.fc-meta b { color: var(--ink); font-weight: 900; margin-left: 4px; }
.fc-act { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fc-note { font-size: 12.5px; font-weight: 700; color: var(--sub); text-align: center; max-width: 220px; line-height: 1.6; }
.fc-act .btn[aria-disabled='true'] .i { opacity: .5; }
.license { text-align: center; margin: 16px auto 0; font-weight: 700; font-size: 15px; }
.sub-h { margin: 48px 0 18px; font-size: 21px; text-align: center; }
.sub-h small { display: block; font-size: 13.5px; font-weight: 700; color: var(--sub); margin-top: 2px; }
.liveries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lv { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.lv-head { display: flex; align-items: center; gap: 10px; }
.lv-no { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--hud); font-weight: 900; display: grid; place-items: center; flex: none; }
.lv-name { font-family: var(--hud); font-weight: 900; font-size: 18px; letter-spacing: .06em; }
.lv-name small { font-family: var(--sans); font-size: 13px; color: var(--sub); letter-spacing: .02em; margin-left: 6px; font-weight: 700; }
.lv-flip { position: relative; display: block; width: 100%; border: 0; padding: 8px 6px; border-radius: 18px; background: var(--card-2); cursor: pointer; perspective: 900px; }
.lv-flip:hover { background: var(--sun-soft); }
.lv-card { position: relative; display: grid; transform-style: preserve-3d; transition: transform .7s var(--spring-soft); }
.lv-card > div { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.lv-card .lv-back { transform: rotateX(180deg); }
.lv-flip[aria-pressed='true'] .lv-card { transform: rotateX(180deg); }
.lv-card svg { width: 100%; height: auto; }
.lv-side { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--sub); }
.lv-side b { color: var(--ink); }
.lv-side .flip-hint { display: inline-flex; align-items: center; gap: 4px; color: var(--sky-d); }
.lv-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lv-spec { background: var(--card-2); border-radius: 14px; padding: 10px 12px; }
.lv-spec p { font-size: 12.5px; font-weight: 800; color: var(--sub); margin-bottom: 6px; }
.lv-spec p b { color: var(--ink); font-family: var(--hud); }
.sw { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0; padding: 0; }
.sw li { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; }
.sw i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(34, 43, 69, .18); }
.lv-note { margin-top: 16px; }

/* ── つくり方 */
.build { padding-top: 84px; }
.parts { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 30px; }
.parts-h { font-size: 19px; margin-bottom: 14px; }
.parts-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.parts-grid li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: var(--card-2); border-radius: 16px; padding: 12px 14px; }
.parts-grid .pi { grid-row: 1 / 3; font-size: 28px; width: 46px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.parts-grid b { font-weight: 900; font-size: 15px; }
.parts-grid small { color: var(--sub); font-size: 12.5px; font-weight: 700; line-height: 1.55; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 18px 20px; }
.step:last-child { grid-column: 1 / -1; }
.st-no { width: 44px; height: 44px; border-radius: 14px; background: var(--amber); color: #fff; font-family: var(--hud); font-weight: 900; font-size: 22px; display: grid; place-items: center; box-shadow: 0 4px 0 var(--amber-d); }
.step:nth-child(n+3) .st-no { background: var(--sky); box-shadow: 0 4px 0 var(--sky-d); }
.st-body h3 { font-size: 18px; margin-bottom: 4px; }
.st-body p { color: var(--sub); font-size: 15px; line-height: 1.85; }
.st-body .st-warn { margin-top: 8px; color: var(--ink); background: var(--alert-soft); border-radius: 12px; padding: 7px 12px; font-size: 14px; font-weight: 700; }
.build-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.build-quick { max-width: 640px; margin: 14px auto 0; text-align: center; font-size: 14px; color: var(--sub); }

/* ── しくみと安全 */
.safety { margin-top: 90px; padding: 70px 0; background: linear-gradient(180deg, #EEF6FF, #F8FBFF 70%, transparent); border-top: 1px solid #D7E7FA; }
.map { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: stretch; }
.map-box { background: var(--card); border: 2px solid var(--line); border-radius: 22px; padding: 20px 20px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.mb-ico { font-size: 30px; }
.mb-k { font-size: 13px; font-weight: 800; color: var(--sub); }
.map-box h3 { font-size: 19px; }
.mb-tag { align-self: flex-start; padding: 2px 12px; border-radius: 999px; font-size: 13px; font-weight: 900; }
.tag-secret { background: var(--alert-soft); color: var(--alert); }
.tag-public { background: var(--signal-soft); color: var(--signal-d); }
.tag-read { background: var(--ice-soft); color: var(--sky-d); font-family: var(--hud); }
.mb-d { color: var(--sub); font-size: 14.5px; line-height: 1.8; }
.mb-secret { border-color: #F6C9BD; }
.mb-public { border-color: #B9E6D2; }
.mb-read { border-color: #C3DCF8; }
.map-arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 58px; }
.map-arrow > span { font-family: var(--hud); font-weight: 900; font-size: 28px; color: var(--sky-d); }
.map-arrow small { font-size: 12px; font-weight: 800; color: var(--sub); text-align: center; }
.ma-stop > span { width: 40px; height: 40px; border-radius: 50%; background: var(--alert); color: #fff; display: grid; place-items: center; font-size: 20px; }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.pm { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 20px 22px; }
.pm-no { font-family: var(--hud); font-weight: 900; font-size: 14px; color: var(--sky-d); letter-spacing: .1em; }
.pm h3 { font-size: 17px; margin: 4px 0 6px; }
.pm p { color: var(--sub); font-size: 14.5px; line-height: 1.85; }

/* ── ミッションパッチ */
.patch { padding-top: 84px; }
.patch-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 46px; align-items: center; }
.patch-vis { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.patch-frame { width: min(100%, 400px); aspect-ratio: 1; }
.patch-vis .seg { width: min(100%, 380px); }
.patch-vis .seg-ind { width: calc(33.333% - 2.7px); }
.patch-text h2 { font-size: clamp(25px, 3.2vw, 32px); margin-bottom: 14px; }
.patch-lead { font-size: 16px; line-height: 1.95; margin-bottom: 18px; }
.patch-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 16px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); }
.patch-dl dt { font-weight: 900; font-size: 14px; }
.patch-dl dd { margin: 0; color: var(--sub); font-size: 14.5px; }

/* ── コックピット */
.cockpit { margin-top: 90px; padding: 64px 0; background: linear-gradient(180deg, #F3F0FF, #FBFAFF 70%, transparent); border-top: 1px solid #E2DCFA; }
.ck-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.ck-text h2 { font-size: clamp(25px, 3.2vw, 32px); margin-bottom: 10px; }
.ck-text > p { font-size: 16px; color: var(--sub); }
.ck-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; }
.ck-list li { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 15px; }
.ck-list li > span:first-child { font-size: 20px; }
.ck-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.ck-quick { margin: 12px 0 0; font-size: 14px; color: var(--sub); }
.ck-phone { justify-self: center; width: min(78%, 300px); background: #222B45; border-radius: 40px; padding: 12px; box-shadow: var(--shadow-l); }
.ckp-screen { border-radius: 30px; background: var(--bg); padding: 18px 16px 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ckp-top { align-self: stretch; display: flex; justify-content: space-between; align-items: center; font-family: var(--hud); font-weight: 900; font-size: 13px; letter-spacing: .14em; }
.ckp-top .tchip { min-height: 24px; font-size: 10px; padding: 0 9px 0 8px; }
.ckp-patch { width: 86%; aspect-ratio: 1; margin: 8px 0 4px; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line-2); }
.ckp-amt { font-family: var(--hud); font-weight: 900; font-size: 32px; color: var(--amber-t); line-height: 1.1; }
.ckp-amt small { font-size: .45em; color: var(--sub); }
.ckp-row { align-self: stretch; display: flex; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 7px 12px; font-size: 13px; font-weight: 700; color: var(--sub); }
.ckp-row b { color: var(--ink); font-family: var(--hud); }

/* ── つかいみち */
.uses { padding-top: 84px; }
.use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.use { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); padding: 22px 22px 24px; }
.use-ico { font-size: 34px; display: block; margin-bottom: 8px; }
.use h3 { font-size: 18px; margin-bottom: 6px; }
.use p { color: var(--sub); font-size: 14.5px; line-height: 1.85; }
.note-box { margin-top: 22px; background: var(--card); border: 2px dashed var(--line-2); border-radius: 20px; padding: 18px 22px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.85; }
.note-h { font-weight: 900; font-size: 16px; }

/* ── 質問 */
.faq { padding-top: 84px; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 900; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--amber-soft); color: var(--amber-t); font-family: var(--hud); font-weight: 900; display: grid; place-items: center; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--sub); font-size: 15px; line-height: 1.9; }

/* ── さいご */
.final { padding-top: 84px; padding-bottom: 80px; }
.final-card { position: relative; overflow: hidden; text-align: center; background: linear-gradient(135deg, #FFF3DE, #EAF5FF); border: 1px solid var(--line); border-radius: 32px; padding: 40px 24px 36px; box-shadow: var(--shadow); }
.final-card h2 { font-size: clamp(22px, 3vw, 30px); margin-top: 18px; }
.final-lids { display: flex; justify-content: center; gap: 10px; max-width: 720px; margin: 0 auto; }
.final-lids > div { width: 24%; filter: drop-shadow(0 8px 10px rgba(34, 43, 69, .16)); }
.final-lids > div:nth-child(odd) { transform: rotate(-5deg); }
.final-lids > div:nth-child(even) { transform: rotate(4deg) translateY(6px); }
.final-lids svg { width: 100%; height: auto; }

/* ── フッター */
.foot { border-top: 1px solid var(--line); background: rgba(255, 243, 204, .38); }
.foot-in { padding-top: 30px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 12px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-nav a { color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot-safe { font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .hv-phone, .hv-waves i, .hv-spark, .ws-slip, .ws-phone, .ws-wave path { animation: none !important; }
  .hv-waves i { opacity: .6; transform: rotate(-45deg) scale(.9); }
}

/* ── 見出し：1段に収まらない幅では、1段目に ロゴ・URLをつくる・JA/EN、2段目に横に流せる案内 */
@media (max-width: 1020px) {
  .top-in { flex-wrap: wrap; gap: 8px 12px; }
  .nav { order: 3; width: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -6px; padding: 0 6px 2px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; padding: 6px 11px; font-size: 13.5px; }
  .head-cta { margin-left: auto; }
}
/* スマホ：1段目が1行に収まるよう、少しずつ小さく（ボタンは「URLをつくる」） */
@media (max-width: 480px) {
  .top-in { padding: 9px 12px; gap: 8px 6px; }
  .logo { gap: 7px; }
  .logo-mark { width: 36px; }
  .logo-t { font-size: 16px; letter-spacing: .1em; }
  .head-cta { min-height: 38px; padding: 0 12px 0 10px; gap: 5px; font-size: 13.5px; }
  .head-cta .cta-l { display: none; }
  .lang-tg { padding: 0 10px; }
}
@media (max-width: 400px) {
  .head-cta { padding: 0 12px; }
  .head-cta .i { display: none; }
}
@media (max-width: 345px) {
  .logo-t { display: none; }
  .hero h1 { font-size: 25px; } /* 「ビットコインを封じる、」（折らない11字）が幅に収まるように */
}

/* ── タブレット・スマホ */
@media (max-width: 860px) {
  .map { grid-template-columns: 1fr; }
  .map-arrow { flex-direction: row; gap: 10px; min-height: 44px; }
  .map-arrow > span { transform: rotate(90deg); }
  .ma-stop > span { transform: none; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 16px; padding-top: 30px; }
  .hero-vis { max-width: 460px; }
  .what-steps, .use-grid, .promises { grid-template-columns: 1fr; }
  .liveries { grid-template-columns: 1fr; }
  .parts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .patch-grid, .ck-grid { grid-template-columns: 1fr; gap: 30px; }
  .patch-text { order: -1; }
  .file-card { grid-template-columns: auto minmax(0, 1fr); }
  .fc-act { grid-column: 1 / -1; }
  .fc-act .btn { width: 100%; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .lead { font-size: 16px; }
  .cta .btn { width: 100%; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .facts li { padding: 10px 10px; }
  .facts b { font-size: 20px; }
  .facts li span { font-size: 12px; }
  .parts-grid { grid-template-columns: 1fr; }
  .file-card { padding: 20px 18px; gap: 14px; }
  .fc-ico svg { width: 52px; }
  .fc-body h3 { font-size: 19px; }
  .lv { padding: 14px 14px 16px; }
  .lv-specs { grid-template-columns: 1fr; }
  .step { padding: 16px 16px; gap: 12px; }
  .st-no { width: 38px; height: 38px; font-size: 19px; }
  .final-lids > div { width: 46%; }
  .final-lids { flex-wrap: wrap; }
  .dl, .safety, .cockpit { margin-top: 64px; }
}

/* ── ヒーロー：ケースの底のラベル */
.hv-tag { position: absolute; left: 6%; bottom: 3%; margin: 0; padding: 3px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 900; letter-spacing: .04em; transform: rotate(-9deg); }

/* ── つくり方：小さなリンク */
.st-link { display: inline-block; margin-top: 8px; color: var(--sky-d); font-size: 14px; font-weight: 800; text-decoration: none; }
.st-link:hover { text-decoration: underline; }

/* ── 分解図 */
.anatomy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 26px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); padding: 22px 26px; margin-bottom: 30px; }
.an-fig { background: radial-gradient(circle at 50% 40%, #FFF8E8, var(--card-2) 75%); border-radius: 20px; padding: 6px; }
.an-fig svg { width: 100%; height: auto; }
.an-text h3 { font-size: 19px; margin-bottom: 12px; }
.an-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.an-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.an-list b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--hud); font-weight: 900; font-size: 15px; }
.an-list strong { display: block; font-weight: 900; font-size: 15.5px; }
.an-list li > span > span:last-child { color: var(--sub); font-size: 14px; line-height: 1.7; }
.an-list li:nth-child(4) b { background: var(--amber); }

/* ── NFCの穴（底の断面） */
.pocket { margin-top: 30px; background: linear-gradient(180deg, #F2FAFE, var(--card) 60%); border: 2px solid #CDEAF7; border-radius: var(--r-l); box-shadow: var(--shadow); padding: 26px 26px 24px; scroll-margin-top: 80px; }
.pk-head h3 { font-size: clamp(20px, 2.6vw, 24px); margin-bottom: 6px; }
.pk-head .muted { font-size: 15px; }
.pk-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0 16px; }
.pk-fig { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.pk-svg svg { width: 100%; height: auto; display: block; }
.pk-fig figcaption { font-size: 13.5px; color: var(--sub); line-height: 1.6; display: flex; flex-direction: column; gap: 2px; text-align: center; }
.pk-fig figcaption b { color: var(--ink); font-size: 15px; font-weight: 900; }
.pk-drop { animation: pkdrop 2.8s ease-in-out infinite; }
@keyframes pkdrop { 0%, 20% { transform: translateY(-6px); } 60%, 75% { transform: translateY(10px); } 100% { transform: translateY(-6px); } }
.pk-layers { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.pk-layers li { display: grid; grid-template-columns: 30px minmax(0, 13em) minmax(0, 1fr); gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; font-size: 14.5px; font-weight: 700; }
.pk-layers b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--hud); font-weight: 900; font-size: 14px; }
.pk-z { font-family: var(--hud); font-weight: 800; font-size: 13px; color: var(--sub); }
.pk-pause { background: var(--amber-soft) !important; border-color: #FFD9A8 !important; }
.pk-pause b { background: var(--amber); font-size: 12px; }
.pk-tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; line-height: 1.75; color: var(--ink); }

/* ── もとになったデザイン・印刷の設定 */
.spec { max-width: 880px; margin: 12px auto 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.spec summary { list-style: none; cursor: pointer; padding: 14px 48px 14px 18px; font-weight: 900; position: relative; }
.spec summary::-webkit-details-marker { display: none; }
.spec summary::after { content: '+'; position: absolute; right: 16px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--amber-soft); color: var(--amber-t); font-family: var(--hud); font-weight: 900; display: grid; place-items: center; transition: transform .3s; }
.spec[open] summary::after { transform: rotate(45deg); }
.spec-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; padding: 0 18px 10px; font-size: 14.5px; }
.spec-dl dt { font-weight: 900; }
.spec-dl dd { margin: 0; color: var(--sub); }
.spec > p { padding: 0 18px 14px; margin: 0; }

@media (prefers-reduced-motion: reduce) { .pk-drop { animation: none !important; } }
@media (max-width: 860px) {
  .anatomy { grid-template-columns: 1fr; padding: 18px; }
  .pk-figs { grid-template-columns: 1fr; }
  .pk-layers li { grid-template-columns: 30px 1fr; }
  .pk-layers li > span:last-child { grid-column: 2; }
  .pocket { padding: 20px 16px; }
}
.ic-pause { width: 1em; height: 1em; fill: currentColor; vertical-align: -.12em; }
.pk-fig figcaption b .ic-pause { color: var(--amber); }
.pk-pause b .ic-pause { width: 13px; height: 13px; fill: #fff; }

/* ── おすすめのNFCタグ（控えめな小さなリンク） */
.parts-grid small .buy { display: block; width: fit-content; max-width: 100%; margin-top: 4px; color: var(--sky-d); font-weight: 800; text-decoration: none; }
.parts-grid small .buy:hover { text-decoration: underline; }
.parts-grid small .buy .pr { display: inline-block; margin-left: 5px; padding: 0 5px; border: 1px solid currentColor; border-radius: 4px; font-size: 10px; line-height: 15px; font-weight: 800; letter-spacing: .04em; vertical-align: 1px; opacity: .75; }
.parts-pr { margin-top: 12px; font-size: 12px; line-height: 1.7; color: var(--faint); }
/* ── 色は自由 */
.spec-free { margin: 0; padding: 0 18px 14px; font-size: 14.5px; font-weight: 700; }

/* ── ライトニングのギフト */
.ln-gift { margin-top: 22px; background: linear-gradient(135deg, #FFF8D6, #FFFFFF 55%); border: 2px solid #FFE08A; border-radius: var(--r-l); box-shadow: var(--shadow); padding: 22px 24px; scroll-margin-top: 80px; }
.lg-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.lg-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sun); font-size: 28px; box-shadow: 0 4px 0 #D9A400; flex: none; }
.lg-head .eyebrow { margin-bottom: 2px; }
.lg-head h3 { font-size: 20px; }
.lg-lead { font-size: 15.5px; line-height: 1.9; margin-bottom: 12px; }
.lg-steps { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.lg-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 14.5px; line-height: 1.75; }
.lg-steps b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--hud); font-weight: 900; font-size: 14px; }
.lg-notes { margin: 0; padding-left: 1.2em; font-size: 14px; line-height: 1.85; color: var(--sub); }
@media (max-width: 560px) { .ln-gift { padding: 18px 16px; } }
