/* GesturePad のホームページ(gesturepad.html)専用。ZEUS のサイト共通の css/style.css は読み込まない。
   本番へ送るときは 4 つを必ず一緒に: gesturepad.html・css/gesturepad.css・js/gesturepad.js・assets/img/gesturepad/。
   色は GesturePad のアプリそのもの(web-client/style.css)の色: 地の紺、4 つのゾーンの色(空・すみれ・緑・こはく)。 */

/* ------------------------------------------------------------ 色・字・寸法 */
.gp-body {
  --ink: #0b0f17;
  --ink-2: #0e131d;
  --panel: #131a26;
  --panel-2: #1a2333;
  --line: #243044;
  --line-soft: #1b2433;
  --text: #e6edf7;
  --soft: #c3cede;
  --muted: #8b9bb4;
  --sky: #38bdf8;
  --violet: #818cf8;
  --mint: #34d399;
  --amber: #fbbf24;
  --c: var(--sky);
  --gutter: 24px;
  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;

  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
html { color-scheme: dark; scroll-behavior: smooth; }
/* 下ごしらえは :where() で書く(強さ 0)。あとの .gp-〇〇 の指定が、書いたとおりに効くようにするため */
:where(.gp-body) *, :where(.gp-body) *::before, :where(.gp-body) *::after { box-sizing: border-box; }
:where(.gp-body) img { max-width: 100%; }
:where(.gp-body) a { color: var(--sky); text-underline-offset: 3px; }
:where(.gp-body) a:hover { color: #7dd3fc; }
:where(.gp-body) :focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
:where(.gp-body) button { font: inherit; color: inherit; }
:where(.gp-body) :where(h1, h2, h3, p) { margin: 0; }

.gp-c-sky { --c: var(--sky); }
.gp-c-violet { --c: var(--violet); }
.gp-c-amber { --c: var(--amber); }
.gp-c-mint { --c: var(--mint); }

.gp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.gp-ico { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.gp-nb { display: inline-block; }
.gp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.gp-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--sky); color: #04121c; font-weight: 700; border-radius: 8px; text-decoration: none; }
.gp-body a.gp-skip { color: #04121c; }
.gp-skip:focus { top: 12px; }
.gp-wrap { width: 100%; max-width: calc(1160px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.gp-sq { display: block; width: 14px; height: 14px; border-radius: 4px; background: var(--c); flex: none; }

/* ------------------------------------------------------------ ボタン */
.gp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 24px; border: 0; border-radius: 12px;
  background: var(--sky); color: #04121c;
  font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.3; text-decoration: none; text-align: center;
  cursor: pointer; transition: background .15s, transform .08s;
}
.gp-body a.gp-btn { color: #04121c; }
.gp-btn:hover { background: #7dd3fc; }
.gp-btn:active { transform: translateY(1px); }
.gp-btn-sm { padding: 9px 14px; border-radius: 10px; font-size: 13.5px; }
.gp-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border: 1px solid #3a4a66; border-radius: 12px; background: transparent; color: var(--text);
  font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.3; cursor: pointer; transition: border-color .15s, background .15s;
}
.gp-btn-ghost:hover { border-color: var(--sky); background: rgba(56, 189, 248, .08); }

/* ------------------------------------------------------------ ヘッダー */
.gp-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 15, 23, .84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.gp-header.is-stuck { border-bottom-color: var(--line-soft); }
.gp-header-in { display: flex; align-items: center; gap: 28px; height: 62px; }
.gp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.gp-body a.gp-brand { color: var(--text); }
.gp-mark { width: 26px; height: 26px; flex: none; }
.gp-brand-name { font-size: 19px; font-weight: 900; letter-spacing: .01em; }
.gp-nav { display: flex; gap: 26px; margin-left: auto; }
.gp-body .gp-nav a { color: var(--soft); font-size: 14px; font-weight: 700; text-decoration: none; }
.gp-body .gp-nav a:hover { color: #fff; }

/* ------------------------------------------------------------ ファーストビュー */
.gp-hero { position: relative; padding: clamp(36px, 6vw, 84px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.gp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 88% 0%, rgba(44, 62, 110, .55), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(40, 70, 70, .42), transparent 70%);
}
.gp-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 4.5vw, 64px); align-items: center; }
.gp-hero h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 900; line-height: 1.24; letter-spacing: .01em; }
.gp-hero-copy { min-width: 0; }
.gp-hero-lead { margin-top: 24px; max-width: 30em; font-size: 17px; color: var(--soft); }
.gp-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 700; }
.gp-facts li { display: flex; align-items: center; gap: 8px; line-height: 1.4; white-space: nowrap; }
.gp-facts li::before { content: ""; width: 12px; height: 7px; margin-top: -4px; border-left: 2.5px solid var(--mint); border-bottom: 2.5px solid var(--mint); transform: rotate(-45deg); flex: none; }
.gp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.gp-hero-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------ 体験デモ(パソコンとスマホ) */
.gp-stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; -webkit-user-select: none; user-select: none; scroll-margin-top: 80px; }
.gp-pc { grid-column: 1 / 11; grid-row: 1; container-type: inline-size; }
.gp-phone { grid-column: 8 / 13; grid-row: 1 / 3; align-self: end; position: relative; z-index: 2; container-type: inline-size; }
.gp-stage-note { grid-column: 1 / 8; grid-row: 2; min-height: 176px; padding: 16px 20px 0 0; font-size: 12.5px; line-height: 1.75; color: var(--muted); }

.gp-pc-screen {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border: 7px solid #1e222c; border-radius: 14px; outline: 1px solid #464c5c;
  background:
    radial-gradient(110% 90% at 85% 0%, #4279d8 0%, transparent 62%),
    radial-gradient(90% 80% at 0% 100%, #1f8f8a 0%, transparent 58%),
    #1c2c58;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.gp-pc-foot { position: relative; width: 22%; height: 16px; margin: 0 auto; background: linear-gradient(#2a2f3c, #1a1e28); }
.gp-pc-foot::after { content: ""; position: absolute; left: -45%; right: -45%; bottom: -5px; height: 5px; border-radius: 3px; background: #2a2f3c; }
.gp-desk { position: absolute; inset: 0; font-size: 11px; font-size: max(7.5px, 2.35cqw); line-height: 1.5; color: #1c2534; }

.gp-win { position: absolute; display: flex; flex-direction: column; overflow: hidden; border-radius: .7em; background: #f4f6fa; box-shadow: 0 .6em 1.8em rgba(4, 10, 24, .35); transition: transform .25s ease, opacity .25s ease, box-shadow .2s; }
.gp-win.is-front { box-shadow: 0 1em 2.6em rgba(4, 10, 24, .5), 0 0 0 .16em var(--sky); }
.gp-win.is-min { transform: translateY(70%) scale(.3); opacity: 0; }
/* 広い画面では、画面の右 3 割がスマホの後ろに隠れる。ウィンドウは左 7 割に置く */
.gp-win-browser { left: 26%; top: 5%; width: 41%; height: 50%; }
.gp-win-memo { left: 3.5%; top: 48%; width: 36%; height: 44%; }
.gp-win-video { left: 9%; top: 12%; width: 46%; height: 62%; }
.gp-win-bar { display: flex; align-items: center; gap: .5em; padding: .4em .7em; background: #e1e7ef; font-size: .9em; font-weight: 700; }
.gp-win-dot { width: .6em; height: .6em; border-radius: 50%; background: #9aa6b8; }
.gp-win-title { white-space: nowrap; }
.gp-win-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .5em; padding: .6em; }
.gp-web { gap: .45em; }
.gp-web-url { display: block; height: 1.3em; border-radius: 999px; background: #e1e7ef; }
.gp-web-h { display: block; width: 60%; height: 1.1em; margin-top: .3em; border-radius: .3em; background: #c3ccda; }
.gp-web-l { display: block; height: .55em; border-radius: .3em; background: #dbe2ec; }
.gp-web-l-short { width: 70%; }
.gp-memo { font-size: 1.02em; line-height: 1.6; white-space: pre-wrap; word-break: break-all; }
.gp-memo::after { content: ""; display: inline-block; width: .1em; height: 1.1em; margin-left: .1em; vertical-align: -.16em; background: #1c2534; }

.gp-video { --h: 205; position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: .5em; background: linear-gradient(180deg, hsl(var(--h) 85% 72%), hsl(calc(var(--h) + 22) 78% 54%)); }
.gp-sun { position: absolute; right: 16%; top: 14%; width: 15%; aspect-ratio: 1; border-radius: 50%; background: #fff6cf; }
.gp-cloud { position: absolute; height: 9%; border-radius: 999px; background: rgba(255, 255, 255, .86); animation: gp-drift 11s linear infinite paused; }
.gp-cloud-a { top: 22%; width: 26%; animation-delay: -3s; }
.gp-cloud-b { top: 42%; width: 17%; height: 7%; opacity: .75; animation-duration: 16s; animation-delay: -10s; }
.gp-video.is-playing .gp-cloud { animation-play-state: running; }
.gp-hill { position: absolute; bottom: -34%; height: 70%; border-radius: 50%; }
.gp-hill-a { left: -12%; right: 32%; background: hsl(calc(var(--h) - 45) 42% 34%); }
.gp-hill-b { left: 28%; right: -22%; bottom: -42%; background: hsl(calc(var(--h) - 45) 46% 26%); }
.gp-play { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: rgba(8, 14, 26, .6); transform: translate(-50%, -50%); transition: opacity .2s; }
.gp-play svg { width: 54%; height: 54%; }
.gp-play-tri { fill: #fff; }
.gp-play-bars { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; display: none; }
.gp-video.is-playing .gp-play { opacity: .55; }
.gp-video.is-playing .gp-play-tri { display: none; }
.gp-video.is-playing .gp-play-bars { display: block; }
.gp-ctrl { display: flex; align-items: center; gap: .7em; }
.gp-bar { flex: 1; height: .5em; overflow: hidden; border-radius: 999px; background: #d3dae6; }
.gp-bar-fill { display: block; width: 18%; height: 100%; border-radius: 999px; background: #1c2534; }
.gp-vol { display: flex; align-items: flex-end; gap: .2em; height: 1.2em; }
.gp-vol i { width: .32em; border-radius: .1em; background: #c3ccda; }
.gp-vol i:nth-child(1) { height: 36%; }
.gp-vol i:nth-child(2) { height: 52%; }
.gp-vol i:nth-child(3) { height: 68%; }
.gp-vol i:nth-child(4) { height: 84%; }
.gp-vol i:nth-child(5) { height: 100%; }
.gp-vol i.is-on { background: #1c2534; }
.gp-osd { position: absolute; left: 50%; top: 7%; z-index: 20; padding: .45em 1em; border-radius: .7em; background: rgba(10, 16, 28, .9); color: #fff; font-size: .98em; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateX(-50%); transition: opacity .15s; }
.gp-osd.is-show { opacity: 1; }
.gp-click { position: absolute; z-index: 29; width: 2.4em; height: 2.4em; margin: -1.2em 0 0 -1.2em; border: .18em solid #fff; border-radius: 50%; opacity: 0; pointer-events: none; }
.gp-click.is-show { animation: gp-ripple .45s ease-out; }
.gp-pointer { position: absolute; left: 66%; top: 30%; z-index: 30; width: 2em; height: 2em; margin: -.17em 0 0 -.33em; fill: #fff; stroke: #0b0f17; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 .15em .25em rgba(0, 0, 0, .45)); pointer-events: none; }

.gp-phone { padding: 6px; border: 1px solid #464c5c; border-radius: 30px; background: #1e222c; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); }
.gp-phone-screen { position: relative; display: flex; flex-direction: column; aspect-ratio: 9 / 17.6; overflow: hidden; border-radius: 24px; background: var(--ink); font-size: 11px; font-size: max(9.5px, 5.4cqw); line-height: 1.45; }
.gp-view { display: none; flex: 1; min-height: 0; padding: .6em; }
.gp-view.is-active { display: flex; }

.gp-tp { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--line); border-radius: 1.1em; background: #000; cursor: grab; }
.gp-tp:active { cursor: grabbing; }
.gp-tp-hint { padding: 0 1em; color: #5a657a; font-size: .82em; text-align: center; }
.gp-tp-dead { position: absolute; left: 0; right: 0; bottom: 0; height: 1.3em; border-top: 1px dashed #1e2733; background: repeating-linear-gradient(135deg, transparent 0 6px, #11161f 6px 8px); }
.gp-tp-finger { position: absolute; left: 50%; top: 50%; width: 2.6em; height: 2.6em; margin: -1.3em 0 0 -1.3em; border: 1px solid rgba(56, 189, 248, .75); border-radius: 50%; background: rgba(56, 189, 248, .22); opacity: 0; pointer-events: none; transition: opacity .2s; }
.gp-tp-finger.is-show { opacity: 1; }

.gp-view-trackpad { flex-direction: column; }
.gp-view-pad { gap: .45em; }
.gp-zone { flex: 3; min-width: 0; display: grid; grid-template-columns: 1fr 1.3fr 1fr; grid-template-rows: auto 1fr 1.25fr 1fr; gap: .3em; padding: .55em; border: 1px solid var(--line); border-radius: 1.2em; background: linear-gradient(180deg, #131a26 35%, #2b2718); }
.gp-zone-name { grid-column: 1 / -1; color: var(--amber); font-size: .95em; font-weight: 700; }
.gp-arrow { display: grid; place-items: center; padding: 0; border: 0; background: #4b4226; color: var(--amber); cursor: pointer; transition: background .1s; }
.gp-arrow .gp-ico { width: 1.25em; height: 1.25em; }
.gp-arrow-up { grid-column: 2; grid-row: 2; clip-path: polygon(50% 0, 100% 30%, 76% 30%, 76% 100%, 24% 100%, 24% 30%, 0 30%); }
.gp-arrow-down { grid-column: 2; grid-row: 4; clip-path: polygon(24% 0, 76% 0, 76% 70%, 100% 70%, 50% 100%, 0 70%, 24% 70%); }
.gp-arrow-left { grid-column: 1; grid-row: 3; clip-path: polygon(0 50%, 34% 0, 34% 22%, 100% 22%, 100% 78%, 34% 78%, 34% 100%); }
.gp-arrow-right { grid-column: 3; grid-row: 3; clip-path: polygon(0 22%, 66% 22%, 66% 0, 100% 50%, 66% 100%, 66% 78%, 0 78%); }
.gp-zone-core { grid-column: 2; grid-row: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2em; padding: .2em; border: 1.5px solid #c9992a; border-radius: 1em; background: #594b25; color: #fff; font-size: .74em; font-weight: 700; line-height: 1.25; cursor: pointer; transition: background .1s; }
.gp-zone-core .gp-ico { width: 2.1em; height: 2.1em; color: var(--amber); }
.gp-arrow.is-down, .gp-zone-core.is-down { background: #8a7127; }

.gp-dial { flex: 1.25; min-width: 0; display: flex; flex-direction: column; gap: .3em; padding: .55em .35em; border: 1px solid var(--line); border-radius: 1.2em; background: var(--panel); }
.gp-dial-name { color: var(--sky); font-size: .95em; font-weight: 700; text-align: center; }
.gp-dial-lab { display: flex; flex-direction: column; align-items: center; gap: .1em; padding: .1em 0; border: 0; background: none; color: var(--text); font-size: .68em; font-weight: 700; cursor: pointer; }
.gp-dial-lab .gp-ico { width: 1.5em; height: 1.5em; color: var(--sky); }
.gp-dial-track { position: relative; flex: 1; min-height: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .9em; background: #0a0e15 repeating-linear-gradient(to bottom, transparent 0 9px, #2a3142 9px 10px); cursor: ns-resize; }
.gp-dial-track.is-turning { border-color: var(--sky); box-shadow: inset 0 0 0 1px var(--sky); }
.gp-dial-press { position: absolute; left: 6%; right: 6%; top: 50%; display: flex; flex-direction: column; align-items: center; gap: .1em; padding: .5em .1em; border: 1px solid var(--line); border-radius: .8em; background: var(--panel); color: var(--text); font-size: .64em; font-weight: 700; line-height: 1.25; transform: translateY(-50%); cursor: pointer; }
.gp-dial-press .gp-ico { width: 1.7em; height: 1.7em; color: var(--sky); }
.gp-dial-press.is-down { background: #22405a; }

.gp-view-keyboard { flex-direction: column; gap: .55em; }
.gp-kb { display: flex; gap: .4em; }
.gp-kb-input { flex: 1; min-width: 0; padding: .5em .6em; border: 1px solid var(--line); border-radius: .7em; background: #0a0e15; color: var(--text); font-family: inherit; font-size: 16px; -webkit-user-select: text; user-select: text; }
.gp-kb-input::placeholder { color: #5a657a; font-size: 12px; }
.gp-kb-input:focus { outline: none; border-color: var(--sky); }
.gp-kb-send { flex: none; padding: 0 1em; border: 0; border-radius: .7em; background: var(--sky); color: #04121c; font-weight: 700; cursor: pointer; }
.gp-body .gp-kb-send { color: #04121c; }
.gp-kb-note { color: var(--muted); font-size: .76em; }
.gp-kb-samples { display: flex; flex-wrap: wrap; gap: .35em; }
.gp-chip { padding: .35em .8em; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-2); color: var(--text); font-size: .8em; font-weight: 700; cursor: pointer; }
.gp-chip:hover { border-color: var(--sky); }
.gp-kb-keys { display: flex; flex-direction: column; gap: .3em; margin-top: auto; padding: .45em; border: 1px solid var(--line); border-radius: 1em; background: linear-gradient(180deg, #111826, #0a0e15); }
.gp-kb-row { display: flex; justify-content: center; gap: .22em; }
.gp-kb-row i { flex: 0 1 9.2%; height: 2.2em; border-radius: .4em; background: linear-gradient(180deg, #2b3547, #1c2534); color: #cfd8e6; font-size: .78em; font-style: normal; font-weight: 700; line-height: 2.2em; text-align: center; }

.gp-view-apps { flex-direction: column; gap: .55em; }
.gp-apps-head { color: var(--muted); font-size: .82em; font-weight: 700; }
.gp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.gp-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35em; aspect-ratio: 1 / .92; padding: 0; border: 1px solid var(--line); border-radius: 1em; background: var(--panel); color: var(--text); cursor: pointer; transition: border-color .15s, opacity .15s; }
.gp-tile.is-front { border-color: var(--sky); box-shadow: inset 0 0 0 1px var(--sky); }
.gp-tile.is-min { opacity: .45; }
.gp-tile-ico { display: grid; place-items: center; width: 2.7em; height: 2.7em; border-radius: 22%; background: #f4f6fa; color: #1c2534; }
.gp-tile-ico .gp-ico { width: 1.7em; height: 1.7em; }
.gp-tile-name { font-size: .86em; font-weight: 700; }
.gp-apps-note { color: var(--muted); font-size: .72em; }

.gp-toast { position: absolute; left: 50%; bottom: 3.7em; z-index: 4; max-width: 92%; padding: .35em .95em; border: 1px solid var(--sky); border-radius: 999px; background: rgba(14, 20, 31, .96); font-size: .8em; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateX(-50%); transition: opacity .15s; }
.gp-toast.is-show { opacity: 1; }

.gp-tabs { display: flex; align-items: center; justify-content: space-between; gap: .1em; padding: .35em .45em; border-top: 1px solid var(--line-soft); background: var(--panel); }
.gp-tabs button { display: flex; align-items: center; gap: .3em; padding: .5em .55em; border: 0; border-radius: .7em; background: none; color: var(--muted); font-size: .8em; font-weight: 700; white-space: nowrap; cursor: pointer; }
.gp-tabs button .gp-ico { width: 1.6em; height: 1.6em; }
.gp-tabs button span { display: none; }
.gp-tabs button.is-active { background: var(--panel-2); color: #fff; }
.gp-tabs button.is-active span { display: inline; }

.gp-start { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9em; padding: 1.2em; border: 0; background: rgba(11, 15, 23, .78); cursor: pointer; }
.gp-start-label { padding: .8em 1.5em; border-radius: 999px; background: var(--sky); color: #04121c; font-size: 1.1em; font-weight: 700; }
.gp-start-sub { color: var(--soft); font-size: .86em; line-height: 1.6; text-align: center; }
.gp-stage.is-live .gp-start { display: none; }
.gp-stage.is-live .gp-tp, .gp-stage.is-live .gp-zone, .gp-stage.is-live .gp-dial-track { touch-action: none; }
.gp-stage.is-flash .gp-phone { animation: gp-flash .9s ease-out; }
@media (pointer: fine) { .gp-start { display: none; } }

/* ------------------------------------------------------------ 各段の共通 */
.gp-sec { padding: clamp(72px, 9vw, 128px) 0; border-top: 1px solid var(--line-soft); scroll-margin-top: 60px; }
.gp-h2 { font-size: clamp(27px, 3.6vw, 44px); font-weight: 900; line-height: 1.32; letter-spacing: .01em; }
.gp-lead { margin-top: 18px; max-width: 38em; font-size: 17px; color: var(--soft); }
.gp-small { font-size: 13.5px; line-height: 1.85; color: var(--muted); }
/* 日本語の折り返し: 対応しているブラウザーでは文節の切れ目で折り、最後の行に 1〜2 文字だけ残るのを避ける(対応していなければ今までどおり) */
.gp-hero h1, .gp-h2, .gp-feature-copy h3, .gp-extras h3, .gp-steps h3, .gp-safe-list dt, .gp-scene strong, .gp-faq-list summary, .gp-fit-col h3 { word-break: auto-phrase; }
.gp-hero-lead, .gp-lead, .gp-scene a > span, .gp-shot figcaption, .gp-points li, .gp-parts dd, .gp-safe-list dd, .gp-steps p, .gp-extras p, .gp-fit-col li, .gp-start-sub, .gp-stage-note { word-break: auto-phrase; text-wrap: pretty; }

/* ------------------------------------------------------------ 場面 */
.gp-scene-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.gp-scene { border-left: 1px solid var(--line); }
.gp-scene:first-child { border-left: 0; }
.gp-body .gp-scene a { display: block; height: 100%; padding: 28px 24px 8px; color: var(--text); text-decoration: none; }
.gp-scene:first-child a { padding-left: 0; }
.gp-scene strong { display: block; margin: 16px 0 10px; font-size: 19px; font-weight: 700; line-height: 1.55; }
.gp-scene a > span { display: block; font-size: 14.5px; line-height: 1.8; color: var(--muted); }
.gp-scene a:hover strong { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ------------------------------------------------------------ できること */
.gp-features { padding-bottom: clamp(40px, 5vw, 72px); }
.gp-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 104px); align-items: center; padding: clamp(48px, 7vw, 96px) 0; scroll-margin-top: 40px; }
.gp-feature-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.gp-feature-flip .gp-shot { order: 2; }
.gp-shot { width: min(100%, 300px); margin: 0; justify-self: center; }
.gp-shot figcaption { margin-top: 16px; font-size: 13px; line-height: 1.75; color: var(--muted); }
.gp-device { padding: 7px; border: 1px solid #464c5c; border-radius: 36px; background: #1e222c; box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 110px -50px var(--c); }
.gp-device img { display: block; width: 100%; height: auto; border-radius: 29px; }
.gp-device-wide { border-radius: 28px; }
.gp-device-wide img { border-radius: 21px; }
.gp-device-mini { padding: 4px; border-radius: 18px; box-shadow: none; }
.gp-device-mini img { border-radius: 14px; }
.gp-feature-name { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 15px; font-weight: 700; color: var(--c); }
.gp-feature-name .gp-sq { width: 12px; height: 12px; border-radius: 3.5px; }
.gp-feature-copy h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 900; line-height: 1.38; letter-spacing: .01em; }
.gp-feature-copy h3 + p { margin-top: 16px; max-width: 32em; color: var(--soft); }
.gp-points { margin: 24px 0 0; padding: 0; list-style: none; max-width: 34em; }
.gp-points li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--line-soft); font-size: 15px; line-height: 1.75; }
.gp-points li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 7px; height: 7px; border-radius: 2px; background: var(--c); }

.gp-padband { padding: clamp(56px, 8vw, 112px) 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--ink-2); scroll-margin-top: 40px; }
.gp-padband-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 7vw, 104px); align-items: center; }
.gp-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin: 30px 0 22px; }
.gp-parts > div { padding-top: 16px; border-top: 2px solid var(--c); }
.gp-parts dt { font-size: 17px; font-weight: 900; }
.gp-parts dd { margin: 6px 0 0; font-size: 14px; line-height: 1.8; color: var(--soft); }
.gp-padband-more { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: end; margin-top: clamp(48px, 6vw, 88px); }
.gp-shot-wide { width: 100%; justify-self: stretch; }
.gp-patterns-title { margin-bottom: 14px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.gp-pattern-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gp-pattern-list span { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--soft); text-align: center; }

.gp-mock-apps { display: flex; flex-direction: column; gap: 10px; aspect-ratio: 780 / 1688; padding: 14px 12px; border-radius: 29px; background: var(--ink); }
.gp-mock-seg { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-size: 10.5px; font-weight: 700; color: var(--muted); }
.gp-mock-seg b, .gp-mock-seg i { flex: 1; padding: 5px 2px; border-radius: 8px; font-style: normal; text-align: center; white-space: nowrap; }
.gp-mock-seg b { background: var(--panel-2); color: #fff; }
.gp-mock-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 9px; }
.gp-mock-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); font-size: 13px; font-weight: 700; }
.gp-mock-tile.is-front { border-color: var(--sky); box-shadow: inset 0 0 0 1px var(--sky); }
.gp-mock-tile .gp-tile-ico { width: 46px; height: 46px; }
.gp-mock-tile .gp-tile-ico .gp-ico { width: 28px; height: 28px; }

.gp-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.gp-extras li { padding: 32px 0 0; }
.gp-extras h3 { font-size: 19px; font-weight: 700; }
.gp-extras p { margin-top: 8px; font-size: 15px; color: var(--soft); }

/* ------------------------------------------------------------ 使い方 */
.gp-howto-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.gp-steps { margin: 40px 0 26px; padding: 0; list-style: none; counter-reset: gp-step; }
.gp-steps li { position: relative; padding: 0 0 30px 76px; counter-increment: gp-step; }
.gp-steps li::before { content: counter(gp-step); position: absolute; left: 0; top: -9px; width: 52px; font-size: 54px; font-weight: 900; line-height: 1; color: #46597a; text-align: center; }
.gp-steps h3 { font-size: 19px; font-weight: 700; line-height: 1.6; }
.gp-steps p { margin-top: 4px; font-size: 15px; color: var(--soft); }
.gp-pcshot { margin: 0; }
.gp-pcshot-frame { overflow: hidden; border-radius: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.gp-pcshot-frame img { display: block; width: 100%; height: auto; }
.gp-pcshot figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------ 安全性 */
.gp-safety-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 80px); align-items: center; margin-top: clamp(40px, 5vw, 60px); }
.gp-net { display: grid; gap: 16px; }
.gp-net-lan { position: relative; display: flex; align-items: center; gap: 14px; padding: 46px 30px 30px; border: 1.5px solid var(--mint); border-radius: 22px; background: rgba(52, 211, 153, .06); }
.gp-net-label { position: absolute; left: 22px; top: -14px; padding: 1px 14px; border: 1.5px solid var(--mint); border-radius: 999px; background: var(--ink); color: var(--mint); font-size: 13.5px; font-weight: 700; }
.gp-net-node { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.gp-net-node .gp-ico { width: 46px; height: 46px; stroke-width: 1.3; }
.gp-net-link { position: relative; flex: 1; border-top: 2px dashed var(--mint); margin-bottom: 26px; }
.gp-net-link::before, .gp-net-link::after { content: ""; position: absolute; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); }
.gp-net-link::before { left: -3px; }
.gp-net-link::after { right: -3px; }
.gp-net-out { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 16px 30px; border: 1.5px dashed #3a4a66; border-radius: 22px; }
.gp-net-node-off { flex-direction: row; gap: 10px; color: var(--muted); }
.gp-net-node-off .gp-ico { width: 30px; height: 30px; }
.gp-net-off { font-size: 15px; font-weight: 900; }
.gp-safe-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; margin: 0; }
.gp-safe-list dt { font-size: 17px; font-weight: 700; line-height: 1.6; }
.gp-safe-list dd { margin: 6px 0 0; font-size: 14.5px; line-height: 1.8; color: var(--soft); }
.gp-exception { max-width: 62em; margin-top: clamp(36px, 5vw, 56px); padding: 18px 24px; border-left: 3px solid var(--amber); border-radius: 0 12px 12px 0; background: var(--panel); font-size: 14.5px; color: var(--soft); }

/* ------------------------------------------------------------ 料金・対応機器 */
.gp-price-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.gp-price .gp-small { margin-top: 22px; max-width: 34em; }
.gp-price .gp-small + .gp-small { margin-top: 10px; }
/* 値段の札: 数字を大きく、その下に「何の値段か」を添える */
.gp-pricetag { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 24px; }
.gp-pricetag-num { font-size: clamp(54px, 6.4vw, 78px); font-weight: 900; line-height: 1; letter-spacing: -.01em; }
.gp-pricetag-unit { font-size: 20px; font-weight: 700; }
.gp-pricetag-note { flex-basis: 100%; font-size: 14.5px; font-weight: 700; color: var(--soft); }
.gp-table-scroll { min-width: 0; overflow-x: auto; }
.gp-table { width: 100%; border-collapse: collapse; }
.gp-table th, .gp-table td { padding: 17px 16px 17px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.7; text-align: left; vertical-align: top; }
.gp-table tr:last-child th, .gp-table tr:last-child td { border-bottom: 1px solid var(--line); }
.gp-table th { width: 8.2em; font-weight: 700; white-space: nowrap; }
.gp-table td { color: var(--soft); }
.gp-table td:last-child { padding-right: 0; }
.gp-pill { display: inline-block; padding: 2px 11px; border: 1px solid #3a4a66; border-radius: 999px; color: var(--muted); font-size: 12.5px; font-weight: 700; white-space: nowrap; }

/* ------------------------------------------------------------ 合う・合わない */
.gp-fit-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; margin-top: clamp(32px, 4vw, 52px); }
.gp-fit-col { padding: 30px 32px 26px; border: 1px solid var(--line); border-radius: 20px; }
.gp-fit-yes { background: var(--panel); }
.gp-fit-no { border-style: dashed; }
.gp-fit-col h3 { font-size: 18px; font-weight: 700; }
.gp-fit-col ul { margin: 14px 0 0; padding: 0; list-style: none; }
.gp-fit-col li { position: relative; padding: 9px 0 9px 28px; font-size: 15px; line-height: 1.75; }
.gp-fit-yes li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 12px; height: 7px; border-left: 2.5px solid var(--mint); border-bottom: 2.5px solid var(--mint); transform: rotate(-45deg); }
.gp-fit-no li { color: var(--soft); }
.gp-fit-no li::before { content: ""; position: absolute; left: 3px; top: 21px; width: 12px; border-top: 2.5px solid var(--muted); }

/* ------------------------------------------------------------ よくある質問 */
.gp-faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.gp-faq-list details { border-top: 1px solid var(--line); }
.gp-faq-list details:last-child { border-bottom: 1px solid var(--line); }
.gp-faq-list summary { position: relative; padding: 20px 48px 20px 0; font-size: 16.5px; font-weight: 700; line-height: 1.6; list-style: none; cursor: pointer; }
.gp-faq-list summary::-webkit-details-marker { display: none; }
.gp-faq-list summary::before, .gp-faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; border-top: 2px solid var(--muted); transition: transform .2s; }
.gp-faq-list summary::after { transform: rotate(90deg); }
.gp-faq-list details[open] summary::after { transform: rotate(0deg); }
.gp-faq-list summary:hover { color: #fff; }
.gp-faq-list details p { max-width: 46em; padding: 0 0 24px; font-size: 15px; color: var(--soft); }

/* ------------------------------------------------------------ 公開のお知らせ */
.gp-notify { background: var(--ink-2); }
.gp-notify-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.gp-form { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.gp-field label, .gp-checks legend { display: block; margin-bottom: 8px; padding: 0; font-size: 13.5px; font-weight: 700; color: var(--soft); }
.gp-field input { width: 100%; padding: 14px 16px; border: 1px solid #3a4a66; border-radius: 12px; background: #0a0e15; color: var(--text); font-family: inherit; font-size: 16px; }
.gp-field input::placeholder { color: #5a657a; }
.gp-field input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(56, 189, 248, .22); }
.gp-checks { min-width: 0; margin: 20px 0 22px; padding: 0; border: 0; }
.gp-checks label { display: inline-flex; align-items: center; gap: 8px; margin: 2px 18px 2px 0; font-size: 15px; cursor: pointer; }
.gp-checks input { width: 18px; height: 18px; margin: 0; accent-color: var(--sky); }
.gp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gp-form .gp-btn { width: 100%; }
.gp-form-note { margin-top: 14px; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.gp-form-result { font-size: 14.5px; font-weight: 700; line-height: 1.75; word-break: auto-phrase; text-wrap: pretty; }
.gp-form-result:not(:empty) { margin-top: 14px; }
.gp-form-result.is-ok { color: var(--mint); }
.gp-form-result.is-error { color: #fda4af; }
.gp-form.is-done .gp-field, .gp-form.is-done .gp-checks, .gp-form.is-done .gp-btn, .gp-form.is-done .gp-form-note { display: none; }
.gp-form.is-done .gp-form-result { margin-top: 0; }

/* ------------------------------------------------------------ フッター */
.gp-footer { padding: 56px 0 40px; border-top: 1px solid var(--line-soft); }
.gp-footer-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 64px); }
.gp-footer-brand p { margin-top: 14px; font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.gp-footer-info { margin: 0; }
.gp-footer-info > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--line-soft); }
.gp-footer-info > div:first-child { border-top: 0; padding-top: 0; }
.gp-footer-info dt { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.gp-footer-info dd { margin: 0; font-size: 14.5px; line-height: 1.8; overflow-wrap: anywhere; }
.gp-footer-en { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-soft); font-size: 13px; line-height: 1.8; color: var(--muted); }
.gp-footer-en h2 { margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--soft); }
.gp-footer-en ul { margin: 10px 0 0; padding-left: 18px; }
.gp-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------ 動き */
@keyframes gp-drift { from { left: -32%; } to { left: 106%; } }
@keyframes gp-ripple { from { opacity: .9; transform: scale(.35); } to { opacity: 0; transform: scale(1.25); } }
@keyframes gp-flash { 0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, .8), 0 30px 70px rgba(0, 0, 0, .6); } 100% { box-shadow: 0 0 0 22px rgba(56, 189, 248, 0), 0 30px 70px rgba(0, 0, 0, .6); } }

/* ------------------------------------------------------------ 狭い画面 */
@media (max-width: 1040px) {
  .gp-nav { display: none; }
  .gp-header-in { justify-content: space-between; }
}
@media (max-width: 900px) {
  .gp-body { --gutter: 20px; }
  .gp-hero-in { grid-template-columns: minmax(0, 1fr); }
  .gp-hero h1 { font-size: clamp(26px, 8.4vw, 52px); }
  /* 狭い画面では、スマホの枠を描かない: 見ている人のスマホそのものが操作パッドになる。パソコンの絵と同時に見える高さにする */
  .gp-stage { display: block; max-width: 520px; margin: 8px auto 0; }
  .gp-phone { width: 100%; margin: 14px 0 0; padding: 0; border-radius: 22px; }
  .gp-phone-screen { aspect-ratio: auto; height: 300px; height: clamp(264px, 42svh, 340px); border-radius: 21px; font-size: 13px; }
  .gp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gp-stage-note { min-height: 0; padding: 16px 0 0; }

  .gp-scene-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp-scene { border-left: 0; border-bottom: 1px solid var(--line); }
  .gp-scene:nth-child(even) { border-left: 1px solid var(--line); }
  .gp-body .gp-scene a { padding: 24px 20px 24px; }
  .gp-scene:nth-child(odd) a { padding-left: 0; }

  .gp-feature, .gp-feature-flip, .gp-padband-top, .gp-padband-more, .gp-howto-in, .gp-safety-in, .gp-price-in, .gp-fit-in, .gp-faq-in, .gp-notify-in, .gp-footer-top { grid-template-columns: minmax(0, 1fr); }
  .gp-feature .gp-shot, .gp-padband-top .gp-shot { order: 2; width: min(78%, 280px); }
  .gp-shot figcaption { text-align: center; }
  .gp-patterns { max-width: 420px; }
  .gp-extras { grid-template-columns: minmax(0, 1fr); }
  .gp-pcshot { max-width: 460px; }
}
@media (max-width: 560px) {
  .gp-header-in { gap: 12px; }
  .gp-brand-name { font-size: 17px; }
  .gp-btn-sm { padding: 8px 11px; font-size: 12.5px; }
  .gp-hero-lead, .gp-lead { font-size: 16px; }
  .gp-hero-cta .gp-btn, .gp-hero-cta .gp-btn-ghost { width: 100%; }
  .gp-scene-list { grid-template-columns: minmax(0, 1fr); }
  .gp-scene:nth-child(even) { border-left: 0; }
  .gp-body .gp-scene a, .gp-scene:nth-child(odd) a { padding: 22px 0; }
  .gp-parts { grid-template-columns: minmax(0, 1fr); gap: 18px 0; }
  .gp-steps li { padding-left: 58px; }
  .gp-steps li::before { width: 40px; font-size: 44px; top: -5px; }
  .gp-net-lan { padding: 42px 18px 24px; }
  .gp-net-out { padding: 14px 18px; }
  .gp-safe-list { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .gp-table, .gp-table tbody, .gp-table tr, .gp-table th, .gp-table td { display: block; width: auto; }
  .gp-table tr { padding: 16px 0; border-top: 1px solid var(--line); }
  .gp-table tr:last-child { border-bottom: 1px solid var(--line); }
  .gp-table th, .gp-table td, .gp-table tr:last-child th, .gp-table tr:last-child td { padding: 0; border: 0; }
  .gp-table td { margin-top: 4px; }
  .gp-fit-col { padding: 24px 22px 20px; }
  .gp-form { padding: 22px; }
  .gp-footer-info > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

@media (max-width: 360px) {
  .gp-h2 { font-size: 23px; }
  .gp-btn-sm { padding: 7px 9px; font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gp-body *, .gp-body *::before, .gp-body *::after { animation: none !important; transition: none !important; }
}
