/* ═══════════════════════════════════════════════════════════
   OshiNium 公式サイト v2 — トップページ専用
   方針：白ベース × ガラスの透明感 × 抑制の効いた未来感。
   動かすのは transform と opacity だけ。動きを減らす設定では全部止める。
   ═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: "ZKG";
  src: url("/assets/fonts/zkg-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --canvas: #fbfcfe;
  --panel: #ffffff;
  --mist: #f3f6fb;
  --line: #e7ecf5;
  --line-strong: #c9d4e6;
  --text: #0c111c;
  --text-2: #4f596d;
  --text-3: #6b7589;   /* 白地で 4.5:1 以上（小さい注記も読めるように） */
  --accent: #2b8bff;
  --accent-hover: #1a72e0;
  --accent-muted: rgba(43, 139, 255, .12);
  --violet: #8b7cf8;
  --pink: #e79bf0;
  --grad: linear-gradient(118deg, #2b8bff 0%, #8b7cf8 62%, #e79bf0 100%);

  --f-head: "ZKG", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --f-latin: "Sora", "Hiragino Sans", system-ui, sans-serif;
  --f-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, monospace;

  --shadow-1: 0 1px 2px rgba(12, 17, 28, .05), 0 6px 18px rgba(30, 60, 120, .07), inset 0 1px 0 rgba(255, 255, 255, .9);
  --shadow-2: 0 2px 4px rgba(12, 17, 28, .05), 0 18px 48px rgba(43, 90, 180, .12), inset 0 1px 0 rgba(255, 255, 255, .95);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bar-h: 60px;

  color-scheme: light;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; scroll-padding-top: calc(var(--bar-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden; overflow-x: clip;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1 span, h2 span, h3 span, .points b span { display: inline-block; }
h1, h2, h3 { word-break: auto-phrase; margin: 0; font-family: var(--f-head); font-weight: 700; line-height: 1.45; letter-spacing: .03em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use, .ic { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--panel); border-radius: 10px; box-shadow: var(--shadow-1); text-decoration: none; }
.skip:focus { top: 12px; }

/* ───────────── ヘッダー ───────────── */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  height: calc(var(--bar-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  display: flex; align-items: center; gap: 20px;
  background: rgba(251, 252, 254, .72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background-color .4s;
}
html.past-entry .bar { border-bottom-color: var(--line); background: rgba(251, 252, 254, .86); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.brand-name { font-family: var(--f-latin); font-weight: 700; font-size: 17px; letter-spacing: .01em; }
.brand-sub { font-size: 11.5px; color: var(--text-2); padding-left: 10px; border-left: 1px solid var(--line-strong); line-height: 1.2; }
.bar-links { display: none; margin-left: auto; gap: 4px; }
.bar-links a { font-size: 13.5px; text-decoration: none; color: var(--text-2); padding: 6px 10px; border-radius: 99px; transition: color .2s, background-color .2s; }
.bar-links a:hover, .bar-links a.on { color: var(--text); background: var(--accent-muted); }
.bar-cta {
  margin-left: auto; flex: none;
  font-size: 13px; font-weight: 700; text-decoration: none; color: #fff;
  padding: 8px 16px; border-radius: 99px; background: var(--accent);
  box-shadow: 0 4px 14px rgba(43, 139, 255, .28);
  transition: background-color .2s;
}
.bar-cta:hover { background: var(--accent-hover); }
.bar-links + .bar-cta { margin-left: 8px; }
@media (min-width: 1100px) { .bar-links { display: flex; } }
@media (max-width: 420px) { .brand-sub { display: none; } }

/* ───────────── 入口 ───────────── */
.entry { position: relative; height: 230svh; }
html:not(.js) .entry { height: auto; }
.stage {
  position: sticky; top: 0; height: 100svh; min-height: 520px; overflow: hidden; overflow: clip;
  --open: 0;
  /* 球の直径・入口の楕円半径。縦長は「頂点が上下」の六角形、横長は「頂点が左右」の六角形 */
  --gd: min(58vw, 44svh, 400px);
  --nw: 108px;
  --a0: -90deg;
  --rx: min(calc((50vw - var(--nw) / 2 - 12px) / .866), 340px);
  --ry: min(27svh, 280px);
  background:
    radial-gradient(60% 50% at 50% 46%, rgba(139, 124, 248, .10), transparent 70%),
    radial-gradient(40% 40% at 72% 20%, rgba(231, 155, 240, .10), transparent 70%),
    radial-gradient(45% 45% at 22% 80%, rgba(43, 139, 255, .09), transparent 70%),
    var(--canvas);
}
@media (min-width: 421px) { .stage { --nw: 168px; } }
@media (min-aspect-ratio: 5/4) {
  .stage {
    --a0: -120deg;
    --rx: min(36vw, 430px);
    --ry: min(calc((46svh - 92px) / .866), 300px);
  }
}
@media (min-aspect-ratio: 5/4) and (max-height: 520px) {
  .stage { --gd: min(44svh, 300px); --nw: 150px; min-height: 0; }
}
.globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.core {
  -webkit-appearance: none; appearance: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  position: absolute; left: 50%; top: 46%;
  width: var(--gd); height: var(--gd);
  border-radius: 50%;
  translate: -50% -50%;
  scale: calc(1 - .3 * var(--open));
  display: grid; place-items: center;
  -webkit-tap-highlight-color: transparent;
}
.core-mark {
  width: calc(var(--gd) * .26); height: auto;
  filter: drop-shadow(0 6px 18px rgba(43, 139, 255, .35));
  animation: breathe 5.5s ease-in-out infinite;
}
.core-ring {
  position: absolute; inset: -6%;
  border-radius: 50%;
  border: 1px solid rgba(43, 139, 255, .22);
  opacity: calc(1 - var(--open) * 2);
  animation: ping 3.2s var(--ease) infinite;
}
.core:focus-visible { outline-offset: 8px; border-radius: 50%; }
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.05; } }
@keyframes ping { 0% { scale: .92; opacity: .9; } 100% { scale: 1.18; opacity: 0; } }

/* 入口（6つ）と、中心から伸びる線。位置は CSS の三角関数で決める */
.portal, .rays i {
  --a: calc(var(--a0) + var(--i) * 60deg);
  --px: calc(cos(var(--a)) * var(--rx));
  --py: calc(sin(var(--a)) * var(--ry));
  --p: clamp(0, calc(var(--open) * 1.7 - var(--i) * .12), 1);
}
.portal {
  position: absolute; left: 50%; top: 46%;
  width: var(--nw);
  translate: calc(-50% + var(--px)) calc(-50% + var(--py));
  scale: calc(.82 + .18 * var(--p));
  opacity: var(--p);
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 10px 8px 11px;
  text-decoration: none; text-align: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(201, 212, 230, .9);
  box-shadow: var(--shadow-2);
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
  transition: border-color .25s, box-shadow .25s;
}
.stage.is-open .portal { pointer-events: auto; }
.portal em { display: inline-flex; align-items: center; font-style: normal; font-family: var(--f-latin); font-size: 11px; font-weight: 600; line-height: 1; color: var(--accent); letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.portal b { font-family: var(--f-head); font-size: 14.5px; line-height: 1.35; }
.portal .lg { display: none; }
@media (min-width: 421px) { .portal .lg { display: block; } .portal .sm { display: none; } }
.portal:hover { border-color: rgba(43, 139, 255, .6); box-shadow: 0 0 0 4px var(--accent-muted), var(--shadow-2); }
.stage.lit .portal { animation: holo .9s steps(1, end) calc(var(--i) * 70ms) 1 both; }
@keyframes holo {
  0% { filter: blur(3px); } 18% { filter: none; } 26% { filter: blur(1.5px); } 34% { filter: none; }
  48% { filter: brightness(1.25); } 60%, 100% { filter: none; }
}

.rays { position: absolute; inset: 0; pointer-events: none; }
.rays i {
  position: absolute; left: 50%; top: 46%;
  height: 1px;
  width: hypot(var(--px), var(--py));
  transform-origin: 0 50%;
  rotate: atan2(var(--py), var(--px));
  scale: var(--p) 1;
  background: linear-gradient(90deg, rgba(43, 139, 255, 0) 18%, rgba(43, 139, 255, .45) 60%, rgba(139, 124, 248, .55));
}
@supports not (width: hypot(1px, 1px)) { .rays { display: none; } }

.entry-copy {
  position: absolute; left: 0; right: 0;
  bottom: calc(env(safe-area-inset-bottom) + clamp(18px, 4.5svh, 48px));
  padding: 0 20px; text-align: center;
  opacity: clamp(0, calc((var(--open) - .55) * 3), 1);
  translate: 0 calc((1 - clamp(0, calc((var(--open) - .55) * 3), 1)) * 12px);
  pointer-events: none;
}
.entry-title { font-size: clamp(19px, 2.6vw, 30px); line-height: 1.5; }
.entry-title span { display: inline-block; }
.entry-sub { margin-top: 4px; font-size: clamp(12px, 1.3vw, 14px); color: var(--text-2); }
@media (min-aspect-ratio: 5/4) and (max-height: 520px) { .entry-sub { display: none; } .entry-title { font-size: 16px; } }
@media (max-aspect-ratio: 5/4) and (max-height: 640px), (max-width: 340px) { .entry-sub { display: none; } }

.entry-hint {
  position: absolute; left: 50%; translate: -50% 0;
  bottom: calc(env(safe-area-inset-bottom) + clamp(20px, 5svh, 52px));
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .14em; color: var(--text-2);
  opacity: calc(1 - var(--open) * 4);
  white-space: nowrap;
}
.entry-hint i { width: 1px; height: 22px; background: var(--line-strong); position: relative; overflow: hidden; }
.entry-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
html:not(.js) .portal { opacity: 1; scale: 1; pointer-events: auto; }
html:not(.js) .entry-copy { opacity: 1; translate: 0; }
html:not(.js) .entry-hint { display: none; }

/* ───────────── セクション共通 ───────────── */
.sec { position: relative; padding: clamp(88px, 13vw, 168px) 0; }
.sec.mist { background: var(--mist); }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.split { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.rev > :first-child { order: 2; }
}
.anchor-alias { position: absolute; top: 0; }

.mark { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mark .no {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  font-family: var(--f-latin); font-size: 13px; font-weight: 600; color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 16px rgba(43, 139, 255, .25);
}
.mark-label { font-size: 13px; letter-spacing: .12em; color: var(--text-2); }
.sec h2 { font-size: clamp(25px, 4.1vw, 44px); }
.lead { margin-top: 22px; color: var(--text-2); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.9; max-width: 32em; }
.note { margin-top: 18px; font-size: 13.5px; color: var(--text-3); }
.h-sm { font-size: clamp(20px, 2.6vw, 26px) !important; }

/* 着いた場所の上辺を、光が一度走る */
.sec.arrived::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--accent) 40%, var(--pink) 60%, transparent);
  transform-origin: 0 50%;
  animation: arrive 1.2s var(--ease) both;
}
@keyframes arrive { from { scale: 0 1; opacity: 1; } 70% { opacity: 1; } to { scale: 1 1; opacity: 0; } }

/* ふわっと現れる。対応ブラウザはスクロール連動、そうでなければ JS の IntersectionObserver */
.js .rv { opacity: 0; translate: 0 22px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.js .rv.in { opacity: 1; translate: 0 0; }
@supports (animation-timeline: view()) {
  .js .rv { opacity: 1; translate: 0; transition: none; animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}
@keyframes rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }

/* ───────────── 01 散らばる ───────────── */
.gather { margin: clamp(48px, 7vw, 80px) auto 0; max-width: 640px; }
.gather-card {
  position: relative;
  padding: 22px 18px 20px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  --g: 1;
}
.gather-label { position: relative; height: 1.9em; text-align: center; font-size: 13px; letter-spacing: .1em; color: var(--text-2); }
.gather-label span { position: absolute; inset: 0; transition: opacity .4s; }
.g-before { opacity: calc(1 - var(--g)); }
.g-after { opacity: var(--g); color: var(--accent); font-weight: 700; }
.chips { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chips li {
  padding: 10px 6px; text-align: center;
  font-size: clamp(12px, 1.6vw, 14px); line-height: 1.4;
  border-radius: 12px;
  background: var(--canvas);
  border: 1px solid var(--line);
  translate: calc(var(--x) * (1 - var(--g))) calc(var(--y) * (1 - var(--g)));
  rotate: calc(var(--r) * (1 - var(--g)));
  box-shadow: 0 6px 14px rgba(30, 60, 120, calc(.1 * (1 - var(--g))));
}
.gather-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: var(--g);
}
/* --g（0=散らばり、1=ひとつ）はスクロールに連動させる */
@property --g { syntax: "<number>"; inherits: true; initial-value: 1; }
@supports (animation-timeline: view()) {
  .js .gather-card { animation: gather linear both; animation-timeline: view(); animation-range: entry 30% contain 40%; }
  @keyframes gather { 0%, 15% { --g: 0; } 100% { --g: 1; } }
}
.js.no-sdt .gather-card { --g: 0; transition: --g 1.6s var(--ease); }
.js.no-sdt .gather-card.in { --g: 1; }

.pains { margin-top: clamp(56px, 8vw, 96px); display: grid; gap: 16px; }
@media (min-width: 860px) { .pains { grid-template-columns: repeat(3, 1fr); } }
.pain { padding: 26px 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.pain-ic, .fact-ic, .pi, .safe-ic {
  display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  color: var(--accent); background: var(--accent-muted);
}
.pain-ic svg, .fact-ic svg, .pi svg, .safe-ic svg { width: 21px; height: 21px; }
.pain h3 { margin-top: 16px; font-size: 18px; }
.pain p { margin-top: 8px; color: var(--text-2); font-size: 15px; }

/* ───────────── 02 持ち寄る ───────────── */
.bring { margin-top: 30px; display: grid; gap: 14px; }
.bring li { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.bring b { font-family: var(--f-head); font-size: 15.5px; }
.bring span { color: var(--text-2); font-size: 15px; }
.cycle { margin: 0; text-align: center; }
.cycle svg { width: min(100%, 440px); margin-inline: auto; overflow: visible; }
.cycle-nodes text { fill: var(--text); font-family: var(--f-head); }
.cycle-track { stroke-dasharray: 1; stroke-dashoffset: 0; }
@supports (animation-timeline: view()) {
  .cycle-track { animation: draw linear both; animation-timeline: view(); animation-range: entry 20% cover 50%; }
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.cycle figcaption, .hub figcaption { margin-top: 12px; font-size: 13px; color: var(--text-3); }

/* ───────────── 03 カレンダー ───────────── */
.steps { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; display: grid; gap: 4px; padding: 22px 22px 22px 66px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.step-n { position: absolute; left: 20px; top: 22px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-latin); font-weight: 600; font-size: 14px; color: var(--accent); border: 1px solid rgba(43, 139, 255, .35); }
.steps b { font-family: var(--f-head); font-size: 16px; }
.steps li > span:last-child { color: var(--text-2); font-size: 14.5px; }
.yn { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.yn i { font-style: normal; display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px 4px 8px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.yn svg { width: 16px; height: 16px; stroke-width: 2.4; }
.yn .y { color: #138a5b; background: rgba(52, 201, 138, .14); }
.yn .n { color: #59647a; background: #eef1f6; }

.hold {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid; gap: 16px 24px;
  grid-template-columns: 1fr;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 26px;
  background: linear-gradient(180deg, #fff, #f7f9fd);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  --h: 0;
}
@media (min-width: 760px) { .hold { grid-template-columns: 1fr 1fr; } .hold-btn, .hold-done { grid-column: 1 / -1; } }
.hold-cap { font-size: 12.5px; letter-spacing: .08em; color: var(--text-3); margin-bottom: 8px; }
.hold-from, .hold-to { position: relative; }
.ev-card {
  position: relative; z-index: 2;
  display: grid; gap: 2px;
  padding: 14px 16px 14px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 26px rgba(30, 60, 120, .12);
  translate: calc(var(--dx, 0px) * var(--h)) calc(var(--dy, 0px) * var(--h));
  will-change: translate;
}
.ev-card::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: #fa616b; }
.ev-type { font-size: 11.5px; font-weight: 700; color: #d9434d; }
.ev-card b { font-family: var(--f-head); font-size: 16px; }
.ev-date { font-family: var(--f-latin); font-size: 13px; color: var(--text-2); }
.slot {
  height: 100%; min-height: 108px;
  display: grid; place-items: center; padding: 12px;
  border-radius: 14px;
  border: 1.5px dashed var(--line-strong);
  color: var(--text-3); font-size: 13px; text-align: center;
  transition: border-color .4s, background-color .4s;
}
.hold.done .slot { border-style: solid; border-color: rgba(52, 201, 138, .6); background: rgba(52, 201, 138, .06); }
.hold.done .slot span { opacity: 0; }
.hold.done .ev-card { box-shadow: 0 0 0 4px rgba(52, 201, 138, .18), 0 10px 26px rgba(30, 60, 120, .1); }
.hold-btn {
  -webkit-appearance: none; appearance: none;
  position: relative; overflow: hidden;
  min-height: 52px; padding: 0 22px;
  border-radius: 99px; border: 1px solid rgba(43, 139, 255, .45);
  background: #fff; color: var(--accent);
  font: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.hold-fill { position: absolute; inset: 0; transform-origin: 0 50%; scale: var(--h) 1; background: var(--accent-muted); }
.hold-text { position: relative; }
.hold.done .hold-btn { color: #138a5b; border-color: rgba(52, 201, 138, .6); }
.hold-done { min-height: 1.6em; font-size: 14px; color: var(--text-2); text-align: center; }

.cal-facts { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 16px; }
@media (min-width: 860px) { .cal-facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.fact h3 { margin-top: 14px; font-size: 17px; }
.fact p { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.types { display: flex; flex-wrap: wrap; gap: 6px; }
.types i { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 2px 10px; border-radius: 99px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, white); }

/* ───────────── 04 取り込み ───────────── */
.points { margin-top: 28px; display: grid; gap: 18px; }
.points li { display: flex; gap: 14px; }
.points b { display: block; font-family: var(--f-head); font-size: 15.5px; }
.points li > div > span { display: block; color: var(--text-2); font-size: 15px; }
.flow {
  margin: 0;
  display: grid; grid-template-columns: 1fr auto 1.15fr; align-items: center; gap: 12px;
}
.flow-cap { font-size: 11.5px; letter-spacing: .08em; color: var(--text-3); margin-bottom: 10px; }
.flow-page, .flow-list { padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.flow-page i { display: block; height: 7px; margin-top: 9px; border-radius: 4px; background: #edf1f7; }
.flow-page i.short { width: 55%; }
.flow-page i.hl { background: linear-gradient(90deg, rgba(43, 139, 255, .35), rgba(139, 124, 248, .3)); width: 82%; }
.flow-share { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 6px 16px rgba(43, 139, 255, .3); }
.flow-share svg { width: 20px; height: 20px; }
.cand { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.cand:first-of-type { border-top: 0; }
.cand b { display: block; font-size: 13.5px; font-family: var(--f-head); line-height: 1.4; }
.cand small { display: block; font-size: 11.5px; color: var(--text-3); line-height: 1.4; }
.box { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); position: relative; }
.box.on { border-color: var(--accent); background: var(--accent); }
.box.on::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; }
.flow-save { margin-top: 10px; padding: 8px; border-radius: 10px; text-align: center; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--accent); }
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr; justify-items: stretch; }
  .flow-share { justify-self: center; rotate: 90deg; }
  .flow-share svg { rotate: -90deg; }
  .flow-page { padding-bottom: 18px; }
}

/* ───────────── 05 当日ハブ ───────────── */
.mini { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.mini li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; }
.mini svg { width: 17px; height: 17px; color: var(--accent); }
.hub {
  position: relative; margin: 0 auto;
  width: min(100%, 440px); aspect-ratio: 1;
  --r: 39%;
}
.hub figcaption { position: absolute; left: 0; right: 0; bottom: -40px; text-align: center; }
.hub-ring { position: absolute; inset: 11%; border-radius: 50%; border: 1px solid var(--line-strong); }
.hub-ring::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 78%, rgba(43, 139, 255, .55) 92%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: spin 9s linear infinite;
}
@keyframes spin { to { rotate: 1turn; } }
.hub-core {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 36%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  color: #fff; background: var(--grad);
  box-shadow: 0 18px 40px rgba(43, 139, 255, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.hub-core b { font-family: var(--f-latin); font-size: clamp(14px, 2.4vw, 18px); }
.hub-core span { font-size: clamp(11px, 1.8vw, 13px); opacity: .92; }
.sat {
  --a: calc(-90deg + var(--i) * 60deg);
  position: absolute; left: 50%; top: 50%;
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 76px; padding: 10px 8px;
  border-radius: 16px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  font-size: 12.5px; font-weight: 700;
}
/* % は親の幅基準。translate の % は自分の幅基準なので、半径は left/top で持たせる */
.sat { translate: -50% -50%; left: calc(50% + cos(var(--a)) * var(--r)); top: calc(50% + sin(var(--a)) * var(--r)); }
.sat svg { width: 20px; height: 20px; color: var(--accent); }

/* ───────────── 06 話せる場所 ───────────── */
.talk { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 14px; }
@media (min-width: 700px) { .talk { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .talk { grid-template-columns: repeat(4, 1fr); } }
.talk-item { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.talk-item b { margin-top: 8px; font-family: var(--f-head); font-size: 16px; }
.talk-item > span:last-child { color: var(--text-2); font-size: 15px; }
.safe { margin-top: 18px; display: flex; gap: 16px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid rgba(43, 139, 255, .25); box-shadow: var(--shadow-1); }
.safe h3 { font-size: 17px; }
.safe ul { margin-top: 8px; display: grid; gap: 4px; }
.safe li { position: relative; padding-left: 16px; color: var(--text-2); font-size: 15px; }
.safe li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ───────────── はじめる前に ───────────── */
.before { padding-top: clamp(72px, 10vw, 120px); }
.pair { display: grid; gap: 16px; }
@media (min-width: 860px) { .pair { grid-template-columns: 1fr 1fr; } }
.panel { padding: clamp(24px, 3vw, 34px); border-radius: 24px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.panel p { margin-top: 12px; color: var(--text-2); font-size: 15px; }
.faq { margin-top: clamp(64px, 9vw, 104px); max-width: 760px; margin-inline: auto; }
.faq h2 { margin-bottom: 18px; text-align: center; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 4px; font-weight: 700; font-size: 15.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border: solid var(--text-3); border-width: 0 1.6px 1.6px 0; rotate: 45deg; translate: 0 -3px; transition: rotate .3s var(--ease), translate .3s var(--ease); }
.faq details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq details p { padding: 0 4px 20px; color: var(--text-2); font-size: 15px; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.honest { margin: clamp(64px, 9vw, 104px) auto 0; max-width: 640px; text-align: center; }
.honest p { margin-top: 12px; color: var(--text-2); font-size: 15px; }
.honest a { color: var(--accent); }

/* ───────────── 入手 ───────────── */
.get {
  position: relative; text-align: center;
  padding: clamp(96px, 13vw, 160px) 20px clamp(88px, 12vw, 140px);
  background:
    radial-gradient(50% 60% at 50% 30%, rgba(139, 124, 248, .14), transparent 70%),
    radial-gradient(40% 50% at 20% 80%, rgba(43, 139, 255, .10), transparent 70%),
    var(--canvas);
  overflow: hidden; overflow: clip;
}
.get-orb { position: relative; width: 168px; height: 168px; margin: 0 auto 34px; display: grid; place-items: center; }
.get-orb i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(43, 139, 255, .25); }
.get-orb .o1 { scale: 1 .36; rotate: -18deg; animation: orbit1 14s linear infinite; }
.get-orb .o2 { scale: 1 .36; rotate: 42deg; border-color: rgba(139, 124, 248, .3); animation: orbit1 18s linear infinite reverse; }
.get-orb .o3 { inset: 18%; border-color: rgba(231, 155, 240, .35); }
.get-orb img { width: 88px; filter: drop-shadow(0 8px 22px rgba(43, 139, 255, .35)); }
@keyframes orbit1 { to { rotate: 342deg; } }
.get h2 { font-size: clamp(26px, 4.4vw, 46px); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 30px; min-height: 54px; padding: 0 30px;
  border-radius: 99px; text-decoration: none;
  font-weight: 700; font-size: 16px; color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(43, 139, 255, .32), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: background-color .2s, box-shadow .2s;
}
.btn:hover { background: var(--accent-hover); box-shadow: 0 12px 32px rgba(43, 139, 255, .4); }
.get-note { margin-top: 14px; font-size: 13px; color: var(--text-2); }

/* ───────────── フッター ───────────── */
.foot { padding: 44px 20px calc(96px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; justify-items: center; gap: 18px; text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.foot nav a { font-size: 13.5px; color: var(--text-2); text-decoration: none; }
.foot nav a:hover { color: var(--accent); }
.copyright { font-size: 12px; color: var(--text-3); line-height: 1.8; }
.copyright span { display: inline-block; margin-top: 4px; font-size: 11px; max-width: 46em; }

/* ───────────── 右下の小さな地球（どこからでも入口へ） ───────────── */
.compass {
  -webkit-appearance: none; appearance: none;
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 58px; height: 58px; padding: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  color: var(--accent);
  border: 0;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 25px, transparent 25.5px),
    conic-gradient(var(--accent) calc(var(--prog, 0) * 1turn), var(--line) 0);
  box-shadow: 0 10px 26px rgba(30, 60, 120, .18);
  transition: opacity .35s, translate .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.js .compass { opacity: 0; translate: 0 16px; pointer-events: none; }
html.past-entry .compass { opacity: 1; translate: 0 0; pointer-events: auto; }
.compass-globe { position: absolute; width: 40px; height: 40px; stroke: currentColor; stroke-width: 1.1; opacity: .35; animation: spin 24s linear infinite; }
.compass-no { font-variant-numeric: tabular-nums; position: relative; font-family: var(--f-latin); font-weight: 700; font-size: 15px; color: var(--text); }

.hubmenu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(251, 252, 254, .9);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  color: var(--text);
  --a0: -90deg;
  --nw: 132px;
  --rx: min(calc((50vw - var(--nw) / 2 - 12px) / .866), 330px);
  --ry: min(27svh, 250px);
  opacity: 0;
  transition: opacity .3s, display .3s allow-discrete, overlay .3s allow-discrete;
}
.hubmenu:popover-open { display: block; opacity: 1; }
@starting-style { .hubmenu:popover-open { opacity: 0; } }
@media (min-aspect-ratio: 5/4) { .hubmenu { --a0: -120deg; --nw: 176px; --rx: min(32vw, 360px); --ry: min(calc((50svh - 70px) / .866), 240px); } }
.hm-node {
  --a: calc(var(--a0) + var(--i) * 60deg);
  position: absolute; left: 50%; top: 50%;
  width: var(--nw);
  translate: calc(-50% + cos(var(--a)) * var(--rx)) calc(-50% + sin(var(--a)) * var(--ry));
  display: grid; gap: 1px; justify-items: center; text-align: center;
  padding: 10px 8px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-2);
  text-decoration: none; font-family: var(--f-head); font-size: 14px; line-height: 1.4;
  transition: scale .45s var(--ease) calc(var(--i) * 45ms), opacity .45s var(--ease) calc(var(--i) * 45ms), border-color .2s;
}
.hm-node b { font-weight: 700; }
.hm-node .lg { display: none; }
@media (min-width: 421px) { .hm-node .lg { display: inline; } .hm-node .sm { display: none; } }
.hm-node em { font-variant-numeric: tabular-nums; font-style: normal; font-family: var(--f-latin); font-size: 11px; color: var(--accent); letter-spacing: .12em; }
.hm-node.on { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-muted), var(--shadow-2); }
.hm-node:hover { border-color: var(--accent); }
@starting-style { .hubmenu:popover-open .hm-node { scale: .7; opacity: 0; } }
.hm-core {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 116px; height: 116px; border-radius: 50%;
  display: grid; place-items: center; align-content: center; gap: 2px;
  text-decoration: none; font-size: 12px; color: var(--text-2);
  background: radial-gradient(circle, #fff 55%, rgba(255, 255, 255, 0) 72%);
}
.hm-core img { width: 56px; }
.hm-foot { position: absolute; left: 0; right: 0; bottom: max(28px, env(safe-area-inset-bottom)); display: flex; justify-content: center; gap: 22px; font-size: 14px; }
.hm-foot a { color: var(--text-2); }
.hm-close {
  -webkit-appearance: none; appearance: none;
  position: absolute; right: max(16px, env(safe-area-inset-right)); top: max(16px, env(safe-area-inset-top));
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--text);
}
.hm-close svg { width: 18px; height: 18px; }
@media (max-width: 360px) { .hubmenu { --nw: 112px; } .hm-node { font-size: 12.5px; } }
@media (max-height: 480px) { .hm-foot { display: none; } }

/* ポータルから各セクションへ：番号の箱が「飛んでいく」画面遷移 */
::view-transition-group(jump) { animation-duration: .55s; animation-timing-function: var(--ease); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* ═══════════════════════════════════════════════════════════
   近未来の演出（v2.1）
   ・入口：計器のような目盛りの輪、走査する光、奥へ流れる床の格子
   ・カード：指先・カーソルの位置に光、現れるときに縁を光が走る
   ・各セクション：入ってくるときに走査線が一度通る
   すべて transform / opacity。動きを減らす設定では止める。
   ═══════════════════════════════════════════════════════════ */

/* 入口：床の格子（奥へゆっくり流れる） */
.floor {
  position: absolute; left: -20%; right: -20%; bottom: -8%; height: 52%;
  perspective: 520px; pointer-events: none;
  -webkit-mask: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 40%, transparent 92%);
  mask: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 40%, transparent 92%);
  opacity: .55;
}
.floor i {
  position: absolute; left: 0; right: 0; bottom: 0; height: 200%;
  transform-origin: 50% 100%;
  transform: rotateX(68deg);
  background-image:
    linear-gradient(rgba(43,139,255,.38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,124,248,.32) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: floor 6s linear infinite;
  will-change: translate;
}
@keyframes floor { from { translate: 0 0; } to { translate: 0 56px; } }

/* 入口：目盛りの輪と走査 */
.hud {
  position: absolute; left: 50%; top: 46%;
  width: var(--gd); height: var(--gd);
  translate: -50% -50%;
  scale: calc(1 - .3 * var(--open));
  pointer-events: none;
}
.hud i { position: absolute; border-radius: 50%; }
.hud-r1 {
  inset: -14%;
  background: repeating-conic-gradient(rgba(43,139,255,.55) 0 .6deg, transparent .6deg 6deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px), #000 100%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px), #000 100%);
  opacity: .55;
  animation: spin 60s linear infinite;
}
.hud-r2 {
  inset: -22%;
  border: 1px dashed rgba(139,124,248,.35);
  animation: spin 90s linear infinite reverse;
}
.hud-r2::before, .hud-r2::after {
  content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: #8b7cf8; box-shadow: 0 0 10px 2px rgba(139,124,248,.6);
  left: 50%; top: -4px; translate: -50% 0;
}
.hud-r2::after { top: auto; bottom: -4px; background: #2b8bff; box-shadow: 0 0 10px 2px rgba(43,139,255,.6); }
.hud-sweep {
  inset: -14%;
  background: conic-gradient(from 0deg, transparent 0 80%, rgba(43,139,255,.0) 80%, rgba(43,139,255,.18) 97%, rgba(43,139,255,.5) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent 30%, #000 72%, transparent 100%);
  mask: radial-gradient(farthest-side, transparent 30%, #000 72%, transparent 100%);
  animation: spin 5.5s linear infinite;
  mix-blend-mode: multiply;
}
.hud-r3 {
  inset: -30%;
  border: 1px solid rgba(43,139,255,.12);
  -webkit-mask: conic-gradient(#000 0 18%, transparent 18% 25%, #000 25% 52%, transparent 52% 60%, #000 60% 88%, transparent 88%);
  mask: conic-gradient(#000 0 18%, transparent 18% 25%, #000 25% 52%, transparent 52% 60%, #000 60% 88%, transparent 88%);
  animation: spin 40s linear infinite;
}
.js .hud { opacity: 0; animation: hudIn 1.4s var(--ease) 1.2s forwards; }
@keyframes hudIn { from { opacity: 0; } to { opacity: 1; } }

/* 入口：ホログラムの入口カード（角の括弧と、走る光） */
.portal::before, .portal::after, .hm-node::before {
  content: ""; position: absolute; pointer-events: none;
}
.portal::before {
  inset: -5px; border-radius: 19px;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 12px 1.5px,
    linear-gradient(var(--accent), var(--accent)) top left / 1.5px 12px,
    linear-gradient(var(--accent), var(--accent)) bottom right / 12px 1.5px,
    linear-gradient(var(--accent), var(--accent)) bottom right / 1.5px 12px;
  background-repeat: no-repeat;
  opacity: .7;
}
.portal { overflow: visible; }
.portal::after {
  inset: 0; border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(43,139,255,.16) 48%, rgba(231,155,240,.18) 52%, transparent 65%) no-repeat;
  background-size: 250% 100%;
  background-position: 130% 0;
}
.stage.lit .portal::after { animation: sheenBg 1.6s var(--ease) 1 both; animation-delay: calc(.5s + var(--i) * .12s); }
@keyframes sheenBg { 0% { background-position: 130% 0; } 45%, 100% { background-position: -130% 0; } }
/* 点は番号の並びから外し、番号の右に浮かせる（点の有無で番号の位置が動かないように） */
.portal em { position: relative; }
.portal em::after { content: ""; position: absolute; left: 100%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 5px; border-radius: 50%; background: #34c98a; box-shadow: 0 0 6px #34c98a; }
@keyframes blink { 0%, 70% { opacity: 1; } 71%, 85% { opacity: .15; } 86% { opacity: 1; } }

/* カーソルに追従する光（マウスのある環境だけ） */
.cursor-glow { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor-glow {
    display: block; position: fixed; left: 0; top: 0; z-index: 1; pointer-events: none;
    width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(139,124,248,.10), rgba(43,139,255,.05) 40%, transparent 70%);
    translate: var(--cx, -999px) var(--cy, -999px);
    transition: opacity .4s;
    will-change: translate;
  }
}
main, footer { position: relative; z-index: 2; }
.sec, .get { isolation: isolate; }

/* セクションの番号：まわりを回る点線の輪 */
.mark .no { position: relative; }
.mark .no::after {
  content: ""; position: absolute; inset: -6px; border-radius: 15px;
  border: 1px dashed rgba(43,139,255,.45);
  animation: spin 16s linear infinite;
}
.mark-label { font-family: var(--f-mono); letter-spacing: .14em; }
.mark-label::before { content: "// "; color: var(--accent); opacity: .7; }

/* セクションに入るとき、走査線が一度通る */
.sec { overflow: clip; }
.sec::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent calc(100% - 140px), rgba(43,139,255,.06) calc(100% - 40px), rgba(43,139,255,.32) calc(100% - 1px), transparent);
  opacity: 0;
}
@supports (animation-timeline: view()) {
  .sec::after { animation: scan linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  @keyframes scan { 0% { opacity: 0; translate: 0 -100%; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; translate: 0 0; } }
}

/* ガラスのカード：カーソル位置の光と、現れるときに縁を走る光 */
.pain, .fact, .talk-item, .panel, .steps li, .bring li, .safe, .flow-page, .flow-list {
  position: relative; isolation: isolate;
}
.pain::before, .fact::before, .talk-item::before, .panel::before, .steps li::before, .safe::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, -40%), rgba(43,139,255,.10), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.pain:hover::before, .fact:hover::before, .talk-item:hover::before, .panel:hover::before, .steps li:hover::before, .safe:hover::before { opacity: 1; }
.pain::after, .fact::after, .talk-item::after, .panel::after, .steps li::after, .safe::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, rgba(43,139,255,.9) 85%, rgba(231,155,240,.9) 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.edge-run::after { animation: edge 1.6s var(--ease) both; }
@keyframes edge { 0% { opacity: 0; --ang: 0deg; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; --ang: 360deg; } }

/* 04：ページ → 共有 → 候補 へ光が流れる */
.flow-share { position: relative; }
.flow-share::before, .flow-share::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(43,139,255,.5);
  animation: pulse 2.4s var(--ease) infinite;
}
.flow-share::after { animation-delay: 1.2s; }
@keyframes pulse { from { scale: 1; opacity: .9; } to { scale: 2.1; opacity: 0; } }
.beam {
  position: absolute; top: 50%; height: 2px; width: 40px; margin-top: -1px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #2b8bff, #e79bf0);
  box-shadow: 0 0 8px rgba(43,139,255,.6);
  opacity: 0;
}
.beam.b1 { right: 100%; animation: beamIn 2.4s var(--ease) infinite; }
.beam.b2 { left: 100%; animation: beamOut 2.4s var(--ease) infinite .6s; }
@keyframes beamIn { 0% { translate: -40px 0; opacity: 0; } 30% { opacity: 1; } 60% { translate: 10px 0; opacity: 0; } 100% { opacity: 0; } }
@keyframes beamOut { 0% { translate: -10px 0; opacity: 0; } 30% { opacity: 1; } 60% { translate: 40px 0; opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 520px) { .beam { display: none; } }
.flow-page i.hl { position: relative; overflow: hidden; }
.flow-page i.hl::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent);
  animation: read 2.4s linear infinite;
}
.flow-page i.hl:nth-of-type(4)::after { animation-delay: .3s; }
.flow-page i.hl:nth-of-type(6)::after { animation-delay: .6s; }
@keyframes read { from { translate: -100% 0; } to { translate: 260% 0; } }

/* 05：中心から各項目へ、光が配られる */
.hub { container-type: inline-size; }
.spokes i {
  --a: calc(-90deg + var(--i) * 60deg);
  position: absolute; left: 50%; top: 50%; width: 39cqw; height: 1px;
  transform-origin: 0 50%; rotate: var(--a);
  background: linear-gradient(90deg, transparent 22%, rgba(43,139,255,.28) 50%, transparent 92%);
}
.spokes i::after {
  content: ""; position: absolute; left: 0; top: -2.5px; width: 6px; height: 6px; border-radius: 50%;
  background: #2b8bff; box-shadow: 0 0 8px 2px rgba(43,139,255,.55);
  animation: deliver 2.8s var(--ease) infinite; animation-delay: calc(var(--i) * .45s);
}
.spokes i:nth-child(even)::after { background: #8b7cf8; box-shadow: 0 0 8px 2px rgba(139,124,248,.55); }
@keyframes deliver { 0% { translate: 8cqw 0; opacity: 0; } 20% { opacity: 1; } 75% { opacity: 1; } 100% { translate: 30cqw 0; opacity: 0; } }
.hub-core::before, .hub-core::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(139,124,248,.5);
  animation: pulse 3s var(--ease) infinite; z-index: -1;
}
.hub-core::after { animation-delay: 1.5s; }
.sat { z-index: 1; }

/* 入手：最後の地球にも目盛り */
.get-orb::after {
  content: ""; position: absolute; inset: -18%; border-radius: 50%;
  background: repeating-conic-gradient(rgba(43,139,255,.5) 0 .8deg, transparent .8deg 7.5deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  animation: spin 50s linear infinite;
  opacity: .6;
}
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%;
  animation: sheenBg 4.5s var(--ease) infinite 1s;
}


/* ═══════════ 見やすさ（v2.2） ═══════════ */

/* 拾い読みのための目印：説明文の大事な一文に、やわらかい蛍光ペン */
mark {
  color: var(--text); font-weight: 700; background: none;
  background-image: linear-gradient(transparent 62%, rgba(43,139,255,.16) 62%, rgba(231,155,240,.2) 100%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 2px;
}

/* ひとことで：何のアプリか */
.about { position: relative; padding: clamp(72px, 10vw, 128px) 0 clamp(64px, 9vw, 112px); background: linear-gradient(180deg, var(--canvas), #fff 40%, var(--canvas)); }
.about .wrap { text-align: center; }
.about-kicker { display: inline-block; font-size: 13px; letter-spacing: .14em; color: var(--accent); font-weight: 700; padding: 4px 14px; border-radius: 99px; background: var(--accent-muted); }
.about h2 { margin-top: 18px; font-size: clamp(24px, 3.8vw, 40px); }
.specs { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.specs li { font-size: 13.5px; font-weight: 700; padding: 5px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line-strong); color: var(--text-2); }
.about-grid { margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 14px; text-align: left; }
@media (min-width: 860px) { .about-grid { grid-template-columns: repeat(3, 1fr); } }
.about-card {
  position: relative; display: grid; gap: 8px; align-content: start;
  padding: 26px 24px 22px; border-radius: 22px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: border-color .25s, box-shadow .25s, translate .25s var(--ease);
}
.about-card:hover { border-color: rgba(43,139,255,.5); box-shadow: 0 0 0 4px var(--accent-muted), var(--shadow-2); translate: 0 -2px; }
.about-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: var(--grad); box-shadow: 0 8px 18px rgba(43,139,255,.25); }
.about-ic svg { width: 23px; height: 23px; }
.about-card b { margin-top: 8px; font-family: var(--f-head); font-size: 18px; line-height: 1.5; }
.about-card > span:not(.about-ic) { color: var(--text-2); font-size: 15px; }
.about-card em { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.about-card em svg { width: 16px; height: 16px; transition: translate .25s var(--ease); }
.about-card:hover em svg { translate: 3px 0; }

/* 箇条書き（チェック付き） */
.checks { margin-top: 14px; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 15px; line-height: 1.7; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-muted);
}
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 4px); width: 5px; height: 8px; border: solid var(--accent); border-width: 0 2px 2px 0; rotate: 45deg; }

/* 本文の読みやすさ：スマホでは行間をやや詰め、段落の幅を揃える */
@media (max-width: 600px) {
  .sec { padding: 80px 0; }
  .sec h2 { font-size: clamp(24px, 6.6vw, 30px); }
  .lead { margin-top: 18px; }
  .mark { margin-bottom: 14px; }
}
.sec h2 + .lead, .sec h2 + .steps { margin-top: 20px; }
.panel p { color: var(--text-2); }


/* ═══════════ 入口：押した手応え（v2.3） ═══════════ */
.core-mark { transition: transform .55s cubic-bezier(.3, 1.7, .45, 1); }
.core.pressed .core-mark { transform: scale(.84); transition-duration: .12s; transition-timing-function: ease-out; }
.core.burst .core-mark { animation: breathe 5.5s ease-in-out infinite, pop .6s cubic-bezier(.3, 1.6, .45, 1); }
@keyframes pop { 0% { transform: scale(.84); } 45% { transform: scale(1.18); } 100% { transform: scale(1); } }
.core-flash {
  position: absolute; inset: 18%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.95), rgba(139,124,248,.45) 45%, rgba(43,139,255,0) 72%);
  opacity: 0;
}
.core.burst .core-flash { animation: coreFlash .7s var(--ease) both; }
@keyframes coreFlash { 0% { opacity: 1; scale: .5; } 100% { opacity: 0; scale: 1.9; } }
.core-ring { transition: border-color .3s, scale .3s var(--ease); }
@media (hover: hover) {
  .core:hover .core-ring { border-color: rgba(43,139,255,.55); }
  .core:hover .core-mark { filter: drop-shadow(0 6px 26px rgba(43,139,255,.6)); }
}
.core.pressed .core-ring { scale: .9; border-color: rgba(43,139,255,.7); animation-play-state: paused; }

/* 画面全体が一瞬だけ明るくなる（押したことが端まで伝わる） */
.stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 46%, rgba(139,124,248,.18), rgba(43,139,255,.06) 50%, transparent 75%);
  opacity: 0;
}
.stage.flash::after { animation: stageFlash .9s var(--ease) both; }
@keyframes stageFlash { 0% { opacity: 1; } 100% { opacity: 0; } }
.stage.flash .hud { animation: hudKick .9s var(--ease); }
@keyframes hudKick { 0% { scale: calc(1 - .3 * var(--open)); } 25% { scale: calc((1 - .3 * var(--open)) * 1.08); } 100% { scale: calc(1 - .3 * var(--open)); } }

/* 案内：タップできる場所を示す点 */
.tap-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.tap-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--accent); animation: ping 1.8s var(--ease) infinite; }
.entry-hint { font-size: 12.5px; color: var(--text); }
.entry-hint span:last-child { color: var(--text-2); }

.off, .off *, .off *::before, .off *::after { animation-play-state: paused !important; }

/* ───────────── 動きを減らす設定 ───────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1 !important; translate: none !important; }
  .gather-card { --g: 1 !important; }
  .stage.lit .portal { animation: none; }
  .cursor-glow, .hud-sweep, .beam, .core-flash { display: none !important; }
  .js .hud { opacity: 1; }
}

