/* 「できること」LP（/features）。色・書体は style.css の値を使う */
.lp { background: var(--ground); --space: #0d1420; }
.lp main { overflow-x: clip; }
.lp .site-head { margin-bottom: -64px; }
.lp .site-head:not(.is-scrolled) .brand-word, .lp .site-head:not(.is-scrolled) .menu-btn { color: #fff; }
.lp .site-head:not(.is-scrolled) .brand-o circle { fill: var(--space); }
.lp .site-head:not(.is-scrolled) .login-btn { color: #fff; border-color: rgba(255, 255, 255, 0.8); }
.lp-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.lp-kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); margin: 0 0 12px; }
.lp-no { font-family: var(--num); font-weight: 700; color: var(--accent); }
.lp-cta { min-height: 52px; padding: 0 28px; border-radius: 999px; font-size: 16px; }
.lp-badge { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; color: #fff; background: var(--ink); padding: 1px 8px; border-radius: 999px; vertical-align: 2px; }

/* ---------- 冒頭：地球儀からピンまで ---------- */
.fly { position: relative; height: 420vh; background: var(--space); }
.fly-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #1b2a40 0%, var(--space) 70%); }
.fly-globe, .fly-map, .fly-gmap { position: absolute; inset: 0; width: 100%; height: 100%; }
.fly-map, .fly-gmap { opacity: 0; }
.fly-gmap { pointer-events: none; }
.fly-pin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; opacity: 0; }
.fly-pin .sp-pin { position: absolute; left: -26px; bottom: 0; cursor: default; transform: scale(1.4); }
.fly-cap { position: absolute; margin: 0; opacity: 0; pointer-events: none; }
.cap-title { left: 50%; top: 36%; width: min(92vw, 760px); transform: translate(-50%, -50%); text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cap-title .lp-kicker { color: #ffb99c; }
.cap-title h1 { margin: 0; font-size: clamp(36px, 6.6vw, 72px); line-height: 1.2; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.fly-lead { margin: 0; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.9; color: rgba(255, 255, 255, 0.86); max-width: 32em; }
.cap-place { left: 50%; top: calc(50% + 90px); transform: translateX(-50%); font-size: clamp(22px, 3.4vw, 34px); font-weight: 700; letter-spacing: 0.2em; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); white-space: nowrap; }
.cap-place[data-cap='goto'] { color: var(--ink); text-shadow: 0 1px 10px rgba(255, 255, 255, 0.9); }
.cap-card { left: 50%; top: calc(50% + 28px); transform: translateX(-50%); background: var(--surface); border-radius: 18px; padding: 10px 16px 10px 10px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); white-space: nowrap; }
.cap-card strong { display: block; font-size: 17px; }
.cap-card small { font-size: 12px; color: var(--muted); }
.fly-card-thumb { width: 52px; height: 52px; border-radius: 12px; background: center / cover no-repeat; flex-shrink: 0; }
.fly-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 0.15em; color: rgba(255, 255, 255, 0.7); transition: opacity 0.3s; }
.fly-hint i { width: 22px; height: 36px; border: 2px solid rgba(255, 255, 255, 0.7); border-radius: 12px; position: relative; }
.fly-hint i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: #fff; animation: lp-wheel 1.6s ease-in-out infinite; }
.fly-attr { position: absolute; right: 10px; bottom: 8px; font-size: 10px; color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.3s; }
.fly.is-map .fly-attr { color: var(--muted); }
@keyframes lp-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(11px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 機能の節（共通） ---------- */
.feat { padding: 120px 0; }
.feat-alt { background: var(--surface); }
.feat-head { max-width: 780px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.feat-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.feat-no { font-family: var(--num); font-size: 15px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); }
.feat-head h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.3; }
.feat-head p { margin: 0; font-size: 16px; line-height: 1.95; color: var(--text); }

/* 実際の画面（スマホ） */
.shot { position: relative; margin: 0; width: 100%; max-width: 280px; border-radius: 36px; border: 8px solid #15171c; background: #15171c; box-shadow: 0 30px 60px -20px rgba(21, 23, 28, 0.45); overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; border-radius: 28px; }
.shot figcaption { position: absolute; left: 50%; bottom: -46px; transform: translateX(-50%); }
.light-grid .shot { overflow: visible; margin-bottom: 40px; }
.light-grid .shot img { border-radius: 28px; }
.light-grid figcaption { white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--text); bottom: -40px; }

/* 01：3 つの手順 */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.flow-item { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.flow-item .shot { max-width: 250px; }
.flow-item:nth-child(2) { transition-delay: 0.12s; margin-top: 48px; }
.flow-item:nth-child(3) { transition-delay: 0.24s; margin-top: 96px; }
.flow-text { display: flex; flex-direction: column; gap: 8px; max-width: 300px; }
.flow-step { font-family: var(--num); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); }
.flow-text h3 { margin: 0; font-size: 18px; }
.flow-text p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--text); }
.memo-examples { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.memo-examples li { font-size: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }

/* 文章＋画面 2 枚 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-text { order: 2; }
.split-visual { position: relative; height: 600px; }
.split-visual .shot { position: absolute; max-width: 260px; will-change: transform; }
.split-visual .shot-tilt { left: 4%; top: 30px; transform: rotate(-6deg); opacity: 0.92; }
.split-visual .shot-front { right: 4%; top: 70px; }
.split-visual.single .shot-front { left: 50%; right: auto; top: 20px; margin-left: -130px; }
.spec { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.spec div { border-left: 3px solid var(--accent); padding-left: 14px; }
.spec dt { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.spec dd { margin: 0; font-size: 14px; line-height: 1.85; color: var(--text); }
.callout { position: absolute; z-index: 2; white-space: nowrap; font-size: 12px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: 3px 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); opacity: 0; transform: translateX(-16px); transition: opacity 0.5s, transform 0.5s; }
.split-visual .shot-front { overflow: visible; }
.callout::before { content: ''; position: absolute; left: 100%; top: 50%; width: 24px; height: 2px; background: var(--accent); }
.callout.c1 { right: calc(100% + 26px); top: 61%; }
.callout.c2 { right: calc(100% + 26px); top: 67%; }
.callout.c3 { right: calc(100% + 26px); top: 73%; }
.is-in .callout, .split-visual.is-in .callout { opacity: 1; transform: none; }
.split-visual.is-in .callout.c2 { transition-delay: 0.15s; }
.split-visual.is-in .callout.c3 { transition-delay: 0.3s; }

/* 03：光と空 */
.light-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 32px; align-items: start; justify-items: center; }
.light-notes { display: flex; flex-direction: column; gap: 22px; padding-top: 30px; }
.term { background: var(--surface); border-radius: 18px; padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; }
.term p { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.85; color: var(--text); }
.term strong { font-size: 16px; }
.term .dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.gold { background: #e0a12b; } .dot.blue { background: #3b5bdb; } .dot.cal { background: var(--accent); border-radius: 3px; }
.wide { margin: 90px auto 0; max-width: 1000px; text-align: center; }
.wide img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(21, 23, 28, 0.5); border: 1px solid var(--line); }
.wide figcaption { margin-top: 16px; font-size: 13px; color: var(--muted); }
.lp-zoom { will-change: transform; }

/* ---------- 言葉で一呼吸：スクロールで文字が染まる ---------- */
.words { height: 220vh; }
.words-text { position: sticky; top: 0; height: 100vh; height: 100svh; margin: 0 auto; max-width: 980px; padding: 0 24px; display: flex; align-items: center; font-size: clamp(30px, 5.2vw, 60px); font-weight: 700; line-height: 1.45; letter-spacing: 0.01em; }
.words-inner { display: block; }
.words-inner span { color: #c9ced6; transition: color 0.25s; }
.words-inner span.is-on { color: var(--ink); }

/* ---------- データの置き場所 ---------- */
.lp-drive { padding: 120px 0; background: var(--surface); }
.lp-drive .lp-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.lp-drive h2 { margin: 0 0 16px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.35; }
.lp-drive p { margin: 0; font-size: 16px; line-height: 1.95; color: var(--text); }
.drive-points { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.drive-points li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.drive-points li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9441c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; flex-shrink: 0; }
.lp-drive-flow { display: flex; align-items: center; justify-content: center; gap: 12px; }
.lp-node { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; text-align: center; }
.lp-node-icon { width: 84px; height: 84px; border-radius: 24px; background: var(--ground); box-shadow: var(--shadow); display: grid; place-items: center; }
.lp-node-icon svg { width: 38px; height: 38px; color: var(--ink); }
.lp-node.is-drive .lp-node-icon { background: var(--ink); }
.lp-node.is-drive .lp-node-icon svg { color: #fff; }
.lp-flow-line { position: relative; width: 120px; height: 4px; border-radius: 2px; background: #dfe3e8; overflow: hidden; }
.lp-flow-line i { position: absolute; top: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: lp-flow 2.4s linear infinite; }
.lp-flow-line i:nth-child(2) { animation-delay: 0.8s; }
.lp-flow-line i:nth-child(3) { animation-delay: 1.6s; }
@keyframes lp-flow { from { left: -8px; } to { left: 100%; } }

/* ---------- 流れる写真 ---------- */
.lp-marquee { padding: 110px 0; }
.lp-marquee > p { text-align: center; font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; margin: 0 20px 28px; }
.lp-marquee-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-marquee-row { display: flex; gap: 16px; width: max-content; animation: lp-marquee 40s linear infinite; }
.lp-marquee-row span { width: 320px; height: 210px; border-radius: 18px; background: var(--line) center / cover no-repeat; flex-shrink: 0; }
.lp-marquee:hover .lp-marquee-row { animation-play-state: paused; }
@keyframes lp-marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- はじめ方・質問 ---------- */
.lp-steps { padding: 0 0 120px; }
.lp-steps h2, .lp-faq h2 { margin: 0 0 28px; font-size: clamp(26px, 3.4vw, 38px); text-align: center; }
.lp-steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-steps-list li { background: var(--surface); border-radius: 22px; padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; }
.lp-steps-list .lp-no { font-size: 40px; line-height: 1; }
.lp-steps-list strong { font-size: 18px; }
.lp-steps-list p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--text); }
.lp-steps-list li:nth-child(2) { transition-delay: 0.12s; }
.lp-steps-list li:nth-child(3) { transition-delay: 0.24s; }
.lp-home { text-align: center; margin: 24px 0 0; font-size: 14px; color: var(--muted); }
.lp-faq { padding: 0 0 120px; }
.lp-faq .lp-wrap { max-width: 760px; }

/* ---------- 最後：文字が下から立ち上がる ---------- */
.lp-end { padding: 140px 20px 150px; text-align: center; background: linear-gradient(180deg, var(--ground) 0%, var(--accent-soft) 100%); color: var(--ink); }
.lp-end-text { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.lp-end h2 { margin: 0; font-size: clamp(32px, 6vw, 68px); line-height: 1.25; }
.rise-words .ch { display: inline-block; opacity: 0; transform: translateY(0.6em) rotate(4deg); transition: opacity 0.5s, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rise-words.is-in .ch { opacity: 1; transform: none; }
.lp-end-link { color: var(--accent-dark); font-weight: 700; font-size: 14px; }
.lp .site-footer { margin-top: 0; }

/* ---------- 画面に入ると浮かび上がる ---------- */
.lp-reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lp-reveal.is-in { opacity: 1; transform: none; }

/* ---------- スマホ ---------- */
@media (max-width: 860px) {
  .feat { padding: 84px 0; }
  .flow { grid-template-columns: 1fr; gap: 56px; }
  .flow-item, .flow-item:nth-child(2), .flow-item:nth-child(3) { margin-top: 0; }
  .flow-item { flex-direction: row; align-items: center; gap: 18px; }
  .flow-item .shot { max-width: 150px; border-width: 5px; border-radius: 24px; flex-shrink: 0; }
  .flow-item .shot img { border-radius: 19px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split.reverse .split-text { order: 0; }
  .split-visual { height: 470px; }
  .split-visual .shot { max-width: 200px; border-width: 6px; border-radius: 28px; }
  .split-visual .shot-tilt { left: 2%; }
  .split-visual .shot-front { right: 2%; }
  .split-visual.single .shot-front { margin-left: -100px; }
  .callout.c1, .callout.c2, .callout.c3 { left: auto; right: 6px; }
  .callout::before { display: none; }
  .light-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .light-notes { grid-column: 1 / -1; grid-row: 2; padding-top: 30px; }
  .light-grid .shot { max-width: 180px; border-width: 6px; border-radius: 28px; }
  .light-grid figcaption { white-space: normal; text-align: center; width: 180px; font-size: 12px; }
  .lp-drive .lp-wrap { grid-template-columns: 1fr; }
  .lp-drive { padding: 80px 0; }
  .lp-steps-list { grid-template-columns: 1fr; }
  .lp-marquee-row span { width: 240px; height: 160px; }
  .cap-card { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .fly { height: auto; }
  .fly-stage { position: relative; }
  .words { height: auto; }
  .words-text { position: static; height: auto; padding: 120px 24px; }
  .words-text span { color: var(--ink); }
  .lp-reveal, .rise-words .ch { opacity: 1; transform: none; transition: none; }
  .lp-flow-line i, .lp-marquee-row, .fly-hint i::after { animation: none !important; }
}
