/* FullSpan theme: the icon's blue to indigo. One accent, everything else neutral. */
:root { --b1: #2d76fd; --b2: #5648dd; --mist: #eef1fe; --accent: #1d1d1f; --ink-blue: #3a4fd8; }

.hero { text-align: center; background: linear-gradient(160deg, var(--b1), var(--b2)); color: #fff; min-height: calc(100svh - var(--nav-h) - var(--sub-h)); padding-top: clamp(48px, 10vh, 104px); display: flex; flex-direction: column; overflow: hidden; --h: 0; }
.hero-copy { opacity: calc(1 - var(--h) * 1.5); transform: translateY(calc(var(--h) * -36px)); }
.hero .eyebrow { margin-bottom: 12px; opacity: .85; }
.hero h1 { font-size: clamp(3rem, min(13vw, 14vh), 7.5rem); line-height: 1.12; }
.hero .sub { margin-top: 18px; font-size: clamp(1.0625rem, 2.2vw, 1.3125rem); opacity: .9; }
.hero .duo { margin: auto auto -14%; transform: translateY(calc(var(--h) * 60px)); }
.rise { animation: rise 1.4s var(--ease) var(--d, 0s) both; }

/* The phone: a page area, and Safari's button column along the right edge */
.duo { container-type: inline-size; position: relative; width: min(64vw, 40vh, 320px); aspect-ratio: 466 / 678; border-radius: 11cqw; padding: 2.6cqw; background: #1d1d1f; box-shadow: 0 30px 70px rgba(40, 40, 120, .3); flex: none; --img: 0; --txt: 0; }
.scr { position: relative; height: 100%; overflow: hidden; border-radius: 8.6cqw; background: #fff; --bar: 18cqw; }
.col { position: absolute; z-index: 2; top: 0; right: 0; bottom: 0; width: var(--bar); display: flex; flex-direction: column; align-items: center; gap: 4cqw; padding-top: 30cqw; }
.col i { display: grid; place-items: center; width: 12cqw; aspect-ratio: 1; border-radius: 50%; background: rgba(240, 242, 254, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 .5cqw 2cqw rgba(0, 0, 0, .14); color: #3b3b44; font-style: normal; font-size: 6cqw; line-height: 1; }
.col i.tab { margin-top: auto; margin-bottom: 8cqw; }
.col b { font-size: 3cqw; font-weight: 600; color: var(--ink-blue); margin-top: auto; margin-bottom: -2cqw; }
.col b ~ i.tab { margin-top: 0; }
.web { position: absolute; inset: 0; padding-top: 6cqw; }
.web .pic { margin-right: calc((1 - var(--img)) * var(--bar)); height: 42cqw; background: linear-gradient(135deg, #ffb27a, #f06a8b 50%, #7c6cf0); transition: margin .1s linear; }
.web .txt { margin: 5cqw calc(5cqw + (1 - var(--txt)) * var(--bar)) 0 5cqw; display: grid; gap: 3cqw; }
.web .txt i { display: block; height: 3.4cqw; border-radius: 2cqw; background: #d7dbe8; }
.web .txt i:first-child { height: 6cqw; width: 70%; background: #2b2b33; }
.web .txt i:nth-child(4) { width: 82%; }
.web .pic2 { margin: 6cqw calc((1 - var(--img)) * var(--bar)) 0 0; height: 30cqw; background: linear-gradient(135deg, #7fd3c4, #4a8bf0); }
.hero .web .pic { margin-right: 0; }

/* Stage */
.stage { height: 330vh; background: linear-gradient(#fff, var(--mist) 30%, var(--mist) 70%, #fff); }
.stage-in { position: sticky; top: var(--sub-h); height: calc(100svh - var(--sub-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(18px, 3vh, 30px); overflow: hidden; }
.stage-title { position: relative; width: 100%; min-height: 3.2em; text-align: center; }
.stage-title li { position: absolute; inset: 0; padding-inline: 16px; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .7s var(--ease); }
.stage-title li.on { opacity: 1; transform: none; }
.stage-title b { display: block; font-size: clamp(1.5rem, 5vw, 2.75rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.stage-title span { display: block; margin-top: 6px; color: var(--muted); font-size: clamp(.9375rem, 2vw, 1.0625rem); }
.legend { display: flex; gap: 8px; }
.legend span { padding: 6px 14px; border-radius: 99px; font-size: .8125rem; background: #fff; color: var(--muted); border: 1px solid var(--line); transition: background .3s, color .3s; }
.legend span.on { background: var(--ink-blue); border-color: var(--ink-blue); color: #fff; }

/* Feature sections */
.feature { text-align: center; }
.feature .lead { max-width: 34em; margin: 18px auto 0; }
.feature .art { margin: clamp(36px, 6vw, 64px) auto 0; }
.mist { background: var(--mist); }

.split { container-type: inline-size; position: relative; width: min(100%, 640px); aspect-ratio: 951 / 669; border-radius: 6cqw; padding: 1.6cqw; background: #1d1d1f; }
.split-in { display: grid; grid-template-columns: 1fr 1fr; gap: .6cqw; height: 100%; border-radius: 4.8cqw; overflow: hidden; background: #000; }
.pane { position: relative; overflow: hidden; background: #fff; --bar: 9cqw; }
.pane .col { padding-top: 14cqw; gap: 2cqw; }
.pane .col i { width: 6cqw; font-size: 3cqw; }
.pane .col b { font-size: 1.8cqw; }
.pane .col i.tab { margin-bottom: 4cqw; }
.pane .web { padding-top: 3cqw; }
.pane .web .pic { height: 18cqw; }
.pane .web .txt { margin: 2.6cqw calc(2.6cqw + (1 - var(--txt)) * var(--bar)) 0 2.6cqw; gap: 1.6cqw; }
.pane .web .txt i { height: 1.7cqw; }
.pane .web .txt i:first-child { height: 3cqw; }
.pane.l { --img: 1; --txt: 1; }
.pane.r { --img: 1; --txt: 0; }
.pane .tag { position: absolute; z-index: 3; left: 3cqw; bottom: 3cqw; padding: .6cqw 1.6cqw; border-radius: 99px; background: rgba(29, 29, 31, .78); color: #fff; font-size: 1.8cqw; }
.flick { position: absolute; z-index: 4; left: 50%; top: 46%; width: 9cqw; aspect-ratio: 1; margin-left: -4.5cqw; border-radius: 50%; background: rgba(58, 79, 216, .9); color: #fff; display: grid; place-items: center; font-size: 4cqw; opacity: 0; }
.split.in .flick { animation: flick 3.2s var(--ease) 1s infinite; }
@keyframes flick { 0% { opacity: 0; transform: translateX(-10cqw); } 20% { opacity: 1; } 60% { opacity: 1; transform: translateX(10cqw); } 80%, 100% { opacity: 0; transform: translateX(10cqw); } }

.shot { width: min(72vw, 300px); border-radius: 30px; border: 8px solid #1d1d1f; box-shadow: 0 24px 60px rgba(40, 40, 120, .18); }

.priv { display: inline-grid; grid-template-columns: auto auto; gap: 14px 40px; text-align: left; padding: 28px 34px; border-radius: 24px; background: #fff; box-shadow: 0 10px 40px rgba(40, 40, 120, .07); }
.priv b { font-weight: 600; }
.priv span { color: var(--ink-blue); font-weight: 600; }

.more h2, .price h2, .faq h2, .start h2 { margin-bottom: clamp(28px, 5vw, 44px); }
.fold ul { list-style: disc; padding-left: 1.2em; }
.fold > div a { color: var(--ink-blue); }
.tbd { color: var(--muted); }
.steps { display: grid; gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; padding-left: 52px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-blue); color: #fff; font-weight: 600; }
.steps h3 { font-size: 1.1875rem; }
.steps p { color: var(--muted); margin-top: 4px; }
.outro { text-align: center; color: #fff; padding-block: clamp(96px, 18vw, 200px); background: linear-gradient(160deg, var(--b1), var(--b2)); }

@media (prefers-reduced-motion: reduce) {
  .split.in .flick { animation: none; }
  .web .pic, .web .pic2 { transition: none; }
}

/* Shown only when FullSpan itself is widening this page (it marks <html> with fullspan-* classes) */
.fs-badge { display: none; margin: 18px auto 0; width: max-content; padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .18); font-size: .8125rem; font-weight: 600; }
html.fullspan-wide .fs-badge { display: block; animation: rise 1s var(--ease) both; }
html.fullspan-images .fs-badge span::before { content: "・画像のみ全幅"; }
html.fullspan-all .fs-badge span::before { content: "・すべて全幅"; }

.pano { text-align: center; }
.pano-sky { position: relative; overflow: hidden; height: clamp(260px, 62vw, 520px); background: linear-gradient(#2d76fd, #8aa7ff 55%, #ffc9b0); }
.pano-sun { position: absolute; left: 62%; top: 34%; width: clamp(70px, 16vw, 150px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 45% 42%, #fff6dc, #ffd27a 70%); box-shadow: 0 0 80px 30px rgba(255, 214, 140, .45); }
.pano-hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 58%; }
.pano-copy { padding-block: clamp(48px, 8vw, 88px) var(--section); }
.pano-on { display: none; }
html.fullspan-wide .pano-on { display: block; }
html.fullspan-wide .pano-off { display: none; }
.pano .lead { max-width: 30em; margin: 18px auto 0; }

/* The strip that lies under Safari's buttons. Only exists while FullSpan reports a gutter. */
.gutter-mark { display: none; position: absolute; top: 0; bottom: 0; right: 0; width: var(--fullspan-gutter, 0px); background: linear-gradient(rgba(255, 255, 255, .34), rgba(255, 255, 255, .1)); border-left: 1.5px dashed rgba(255, 255, 255, .85); }
html.fullspan-side-left .gutter-mark { right: auto; left: 0; border-left: 0; border-right: 1.5px dashed rgba(255, 255, 255, .85); }
html.fullspan-wide .gutter-mark { display: block; animation: glow 2.6s ease-in-out infinite alternate; }
.gutter-mark span { position: absolute; left: 50%; bottom: 46%; transform: translateX(-50%); writing-mode: vertical-rl; color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-shadow: 0 1px 6px rgba(40, 30, 120, .5); }
@keyframes glow { from { opacity: .55; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html.fullspan-wide .gutter-mark { animation: none; } }
