/* Genemo 製品 LP 共通（帳場 Indigo のライト単一テーマ）。各ページは <body data-app="short"> などでアクセント色を切り替える */
:root {
  color-scheme: light;
  --bg: #F4F5F9; --surface: #FFFFFF; --surface-2: #EEF0F6; --line: #E2E5EE; --line-strong: #858DA3;
  --ink: #1C2240; --muted: #5B6480; --primary: #3A51A1; --primary-hover: #2F4287; --primary-subtle: #EFF1F7;
  --ok: #1E7A4C; --ok-bg: #E7F4EC; --warn: #8A5A00; --warn-bg: #FBF1DC; --bad: #B4232F; --bad-bg: #FBE9EA;
  --night: #161B36; --night-2: #232A52;
  --grad: linear-gradient(90deg, #D978AC 0%, #A665A5 20%, #7A64A9 40%, #3A51A1 60%, #206BA7 80%, #358EB1 100%);
  /* 文字に使うグラデーション（淡い背景でも 4.5:1 を保つ濃いめの段階） */
  --grad-text: linear-gradient(90deg, #A8407A 0%, #7F4A80 30%, #5E4893 55%, #3A51A1 80%, #1A5788 100%);
  --acc: #3A51A1; --acc-ink: #2F4287; --acc-soft: #EFF1F7;
  --f: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --f-num: "Inter", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
[data-app="short"] { --acc: #7A64A9; --acc-ink: #5E4893; --acc-soft: #F2EEF8; }
[data-app="image"] { --acc: #206BA7; --acc-ink: #1A5788; --acc-soft: #E8F1F8; }
[data-app="page"]  { --acc: #358EB1; --acc-ink: #1F6F8E; --acc-soft: #E7F3F7; }
[data-app="gold"]  { --acc: #A665A5; --acc-ink: #7F4A80; --acc-soft: #F6EEF6; }
[data-app="post"]  { --acc: #D978AC; --acc-ink: #A8407A; --acc-soft: #FBEEF5; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.8 var(--f); -webkit-font-smoothing: antialiased; font-feature-settings: "palt"; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 10px; font: 700 15px/1.2 var(--f); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px -10px rgba(58,81,161,.7); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--primary); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--primary-subtle); }
.btn-light { background: #fff; color: var(--night); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; border-radius: 8px; }
.btn svg { width: 16px; height: 16px; }

/* ヘッダー */
.skip { position: absolute; left: 8px; top: -60px; z-index: 60; background: #fff; padding: 8px 12px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; }
.hd { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hd .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.hd .logo { height: 30px; width: auto; }
.hd nav { display: flex; gap: 22px; font-size: 14px; font-weight: 700; margin-left: 8px; }
.hd nav a { color: var(--muted); text-decoration: none; }
.hd nav a:hover { color: var(--ink); }
.hd .sp { flex: 1; }
.hd .m-only { display: none; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; }
.hd .family { font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.hd .family img { width: 18px; }
@media (max-width: 900px) { .hd { position: relative; top: 0; } .hd .family { display: none; } .hd .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; gap: 8px 16px; } .hd nav { order: 9; width: 100%; margin: 0 -20px; padding: 0 20px 8px; overflow-x: auto; white-space: nowrap; gap: 18px; scrollbar-width: none; } .hd nav::-webkit-scrollbar { display: none; } }

/* 見出しの型: 英字の小ラベル＋H2（強調語はグラデーション） */
.s { padding-block: 96px; position: relative; }
.s.alt { background: var(--surface); border-block: 1px solid var(--line); }
.s.dark { background: var(--night); color: #E8EAF5; }
.lbl { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 800 12px/1 var(--f-num); letter-spacing: .16em; text-transform: uppercase; color: var(--acc-ink); }
.lbl::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.dark .lbl { color: #B9C3F0; }
.dark .h2 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.dark .facts { color: #D5DAF0; }
.h2 { margin: 0; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.32; font-weight: 800; letter-spacing: .01em; word-break: auto-phrase; }
.ib { display: inline-block; }
.h2 em, .h1 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 16px 0 0; max-width: 680px; font-size: 17px; color: var(--muted); text-wrap: pretty; }
.dark .lead { color: #AEB5D6; }
.head { margin-bottom: 48px; }
.head.center { text-align: center; } .head.center .lead { margin-inline: auto; }
.note { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* 出現アニメ（IntersectionObserver で .in を付ける。1.6 秒の保険あり） */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; } .rv.d4 { transition-delay: .4s; }

/* ヒーロー */
.hero { position: relative; overflow: hidden; background: var(--surface); padding-block: 64px 72px; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 16%, transparent), transparent); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr); gap: 52px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--acc-soft); color: var(--acc-ink); font-size: 13px; font-weight: 700; }
.eyebrow img { width: 22px; }
.h1 { margin: 0; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.24; font-weight: 800; letter-spacing: .005em; word-break: auto-phrase; }
.h1 .u { position: relative; white-space: nowrap; }
.h1 .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; border-radius: 99px; background: var(--grad); transform: scaleX(0); transform-origin: left; animation: uline 1s .5s var(--ease) forwards; }
@keyframes uline { to { transform: scaleX(1); } }
.hero .sub { margin: 20px 0 28px; font-size: 18px; color: var(--muted); max-width: 520px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 700; color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.6-4.8' fill='none' stroke='%231E7A4C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
@media (max-width: 1020px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } }

/* 章立てプレーヤー（ヒーロー右）: mock の data-s を章の進行で切り替え、CSS の transition で動かす */
.player { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 2px 4px rgba(28,34,64,.04), 0 30px 70px -20px rgba(28,34,64,.28); overflow: hidden; }
.player .bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #FAFBFD; font-size: 13px; font-weight: 700; color: var(--muted); }
.player .bar i { width: 9px; height: 9px; border-radius: 50%; background: #E1E4EC; }
.player .bar img { width: 18px; margin-left: 6px; }
.player .bar b { color: var(--ink); }
.player .stage { position: relative; aspect-ratio: 16 / 9.4; overflow: hidden; background: var(--bg); container-type: inline-size; }
.player .cap { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border-top: 1px solid var(--line); }
.player .sub-t { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; transition: opacity .3s; }
.player .sub-t.swap { opacity: 0; }
.player .pp { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.player .pp svg { width: 14px; height: 14px; }
.player .chaps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 4px; padding: 0 14px 14px; }
.player .chaps button { position: relative; padding: 8px 2px 10px; border: 0; background: none; font: 700 13px/1.3 var(--f); color: var(--muted); cursor: pointer; text-align: left; }
.player .chaps button[aria-current="true"] { color: var(--ink); }
.player .chaps .pg { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.player .chaps .pg i { position: absolute; inset: 0; background: var(--acc); transform-origin: left; transform: scaleX(var(--p, 0)); }
.player .tag { flex: none; font-size: 13px; color: var(--muted); }

.paused, .paused * { animation-play-state: paused !important; }
.player .m { transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform 1s var(--ease), transform-origin 1s var(--ease); }
/* スマホ: モックを 2/3 の大きさで組んでから 1.5 倍に拡大する（文字は読める大きさ・はみ出しなし） */
@media (max-width: 700px) { .player .stage { aspect-ratio: 4 / 3.4; } .player .m { width: 66.667%; height: 66.667%; transform: scale(1.5) !important; transform-origin: 0 0 !important; } .player .m .app { grid-template-columns: 0 1fr; } .player .m .sb { display: none; } .player .m .scr { left: 0; padding: 2cqw; } .player .cap { flex-wrap: wrap; } .player .tag { width: 100%; order: 3; } .player .sub-t { font-size: 15px; } .seg button { min-height: 42px; padding: 8px 12px; } .seg { gap: 6px; } }
/* モック共通の部品（cqw 単位で、枠の大きさに比例して縮む） */
.m { position: absolute; inset: 0; font-size: 1.55cqw; line-height: 1.5; color: var(--ink); }
.m * { transition: opacity .55s var(--ease), transform .7s var(--ease), background-color .4s, color .4s, border-color .4s, width .8s var(--ease), clip-path .9s var(--ease); }
.m .card { background: #fff; border: 1px solid var(--line); border-radius: 1.2cqw; }
.m .chip { display: inline-flex; align-items: center; gap: .5cqw; padding: .35cqw 1cqw; border-radius: 99px; font-size: 1.2cqw; font-weight: 700; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.m .chip.ok { background: var(--ok-bg); color: var(--ok); } .m .chip.warn { background: var(--warn-bg); color: var(--warn); } .m .chip.bad { background: var(--bad-bg); color: var(--bad); } .m .chip.acc { background: var(--acc); color: #fff; }
.m .mbtn { display: inline-flex; align-items: center; justify-content: center; gap: .6cqw; padding: .8cqw 1.6cqw; border-radius: .8cqw; background: var(--primary); color: #fff; font-weight: 700; font-size: 1.35cqw; white-space: nowrap; }
.m .mbtn.ghost { background: #fff; color: var(--primary); border: 1px solid var(--line-strong); }
.m .ln { height: .9cqw; border-radius: 99px; background: var(--surface-2); }
.m .cursor { position: absolute; z-index: 20; left: var(--cx, 80%); top: var(--cy, 80%); width: 2.6cqw; transition: left .9s var(--ease), top .9s var(--ease); pointer-events: none; filter: drop-shadow(0 .3cqw .5cqw rgba(0,0,0,.25)); }
.m .cursor::after { content: ""; position: absolute; left: -1.6cqw; top: -1.6cqw; width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: color-mix(in srgb, var(--acc) 40%, transparent); transform: scale(0); opacity: 0; }
.m .cursor.click::after { animation: ripple .55s ease-out; }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.m .toast { position: absolute; z-index: 15; left: 50%; bottom: 3cqw; transform: translate(-50%, 2cqw); opacity: 0; background: var(--night); color: #fff; padding: 1cqw 1.8cqw; border-radius: 1cqw; font-weight: 700; font-size: 1.35cqw; display: flex; align-items: center; gap: .8cqw; white-space: nowrap; }
.m .toast.on { transform: translate(-50%, 0); opacity: 1; }
.m .shimmer { position: relative; overflow: hidden; background: var(--surface-2); }
.m .shimmer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.75) 50%, transparent 80%); transform: translateX(-100%); animation: shim 1.4s infinite; }
@keyframes shim { to { transform: translateX(100%); } }
.m .spin { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; border: .3cqw solid color-mix(in srgb, var(--acc) 25%, transparent); border-top-color: var(--acc); animation: spin .9s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 写真つき 2 カラム（問題・解決・安心などで使う） */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
.photo { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(28,34,64,.45); aspect-ratio: 16 / 10; background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.8s var(--ease); }
.in .photo img, .photo.in img { transform: scale(1); }
.photo .ph-cap { position: absolute; left: 16px; bottom: 14px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(22,27,54,.62); backdrop-filter: blur(6px); padding: 7px 13px; border-radius: 99px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.rev > :first-child { order: 0; } }

/* 悩み→答え カード（rakuad 型） */
.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: grid; }
.pain .q { padding: 20px 22px 16px; font-weight: 700; word-break: auto-phrase; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.pain .q::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--bad-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 8v7' stroke='%23B4232F' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='14' cy='19.5' r='1.5' fill='%23B4232F'/%3E%3C/svg%3E") center / 100% no-repeat; }
.pain .a { padding: 14px 22px 18px; background: var(--acc-soft); font-size: 14.5px; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.pain .a::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14.5l3.4 3.4 6.8-7.2' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.pain .a b { display: block; color: var(--acc-ink); font-size: 13px; letter-spacing: .02em; }
@media (max-width: 760px) { .pains { grid-template-columns: 1fr; } }

/* 機能グループ（決める・守る・伸ばす型） */
.fgroup { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; padding-block: 56px; border-top: 1px solid var(--line); }
.fgroup:first-of-type { border-top: 0; padding-top: 8px; }
.fgroup.rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.fgroup.rev > :first-child { order: 2; }
.fgroup .no { font: 800 14px var(--f-num); color: var(--acc-ink); letter-spacing: .1em; }
.fgroup h3 { margin: 6px 0 12px; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; word-break: auto-phrase; }
.fgroup p { margin: 0 0 18px; color: var(--muted); }
.flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; line-height: 1.6; }
.flist li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.3' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.flist li small { display: block; color: var(--muted); font-size: 14px; }
.demo { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 50px -28px rgba(28,34,64,.35); overflow: hidden; }
.demo .dh { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; word-break: keep-all; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.demo .dh .hint { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--acc-ink); background: var(--acc-soft); padding: 3px 10px; border-radius: 99px; }
.demo .db { padding: 18px; }
@media (max-width: 960px) { .fgroup, .fgroup.rev { grid-template-columns: 1fr; gap: 28px; } .fgroup.rev > :first-child { order: 0; } }

/* セグメント（タブ）・スライダーなど、デモ内の操作部品 */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 10px; }
.seg button { border: 0; background: none; padding: 7px 12px; border-radius: 7px; font: 700 13px var(--f); color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(28,34,64,.12); }
input[type="range"] { width: 100%; accent-color: var(--acc); }

/* 全機能の一覧 */
.allf-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.allf-bar .cnt { font-size: 13px; color: var(--muted); font-weight: 700; }
.allf { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.fc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 4px; align-content: start; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.fc:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(28,34,64,.35); border-color: color-mix(in srgb, var(--acc) 40%, var(--line)); }
.fc .k { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 800; color: var(--acc-ink); letter-spacing: .04em; }
.fc .k span { font-family: var(--f-num); color: var(--muted); font-weight: 600; }
.fc b { font-size: 15.5px; line-height: 1.5; }
.fc p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.65; }
.fc[hidden] { display: none; }

/* 手順（時刻つきタイムライン） */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; counter-reset: st; position: relative; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px 20px; counter-increment: st; }
.step::before { content: counter(st, decimal-leading-zero); display: block; font: 800 28px/1 var(--f-num); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.step b { display: block; font-size: 16px; margin-bottom: 4px; }
.step p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.step .who { position: absolute; top: 18px; right: 16px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.step .who.ai { background: var(--grad); color: #fff; }
.dark .step { background: var(--night-2); border-color: rgba(255,255,255,.08); }
.dark .step p { color: #AEB5D6; }
.dark .step .who { background: rgba(255,255,255,.1); color: #D5DAF0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { gap: 10px; } .step { padding: 16px 14px; } .step::before { font-size: 22px; margin-bottom: 8px; } .step .who { top: 14px; right: 10px; } .step p { font-size: 13px; } }

/* 安心の表 */
.safe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.safe { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 6px; align-content: start; }
.safe .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-ink); margin-bottom: 6px; }
.safe .ic svg { width: 22px; height: 22px; }
.safe b { font-size: 15.5px; } .safe p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
@media (max-width: 900px) { .safe-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .safe-grid { grid-template-columns: 1fr; } }
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.scope > div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.scope b { display: block; margin-bottom: 10px; font-size: 15px; }
.scope ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.scope li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; line-height: 1.6; }
.scope .yes li::before, .scope .you li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; }
.scope .yes li::before { background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.6 2.6 5.4-5.6' fill='none' stroke='%231E7A4C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.scope .you li::before { background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='7.5' r='2.6' fill='none' stroke='%235B6480' stroke-width='1.7'/%3E%3Cpath d='M5.5 15c.8-2.4 2.5-3.5 4.5-3.5s3.7 1.1 4.5 3.5' fill='none' stroke='%235B6480' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
@media (max-width: 760px) { .scope { grid-template-columns: 1fr; } }

/* 料金 */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; display: grid; gap: 8px; align-content: start; }
.plan.rec { border: 2px solid var(--primary); }
.plan.rec::before { content: "おすすめ"; position: absolute; top: -12px; left: 18px; font-size: 11px; font-weight: 700; color: #fff; background: var(--primary); padding: 3px 10px; border-radius: 99px; }
.plan .nm { font-size: 14px; font-weight: 700; color: var(--muted); }
.plan .pr { font: 800 30px/1.1 var(--f-num); }
.plan .pr small { font: 500 13px var(--f); color: var(--muted); }
.plan .cr { font-size: 14px; font-weight: 700; color: var(--acc-ink); }
.plan .eq { font-size: 13.5px; color: var(--muted); line-height: 1.6; display: grid; gap: 2px; }
.plan .eq b { color: var(--ink); }
.plan .eq i { font-style: normal; color: var(--primary); font-weight: 700; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .plan .eq { font-size: 14px; line-height: 1.55; } }
@media (max-width: 480px) { .plans { gap: 8px; } .plan { padding: 14px 12px; gap: 4px; } .plan .pr { font-size: 22px; } .plan .cr { font-size: 13.5px; } .plan.rec::before { left: 10px; } }
.cost-h { margin: 28px 0 8px; font-size: 15px; font-weight: 700; }
.cost-h small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.fine { margin: 6px 0 0; font-size: 11.5px; line-height: 1.7; color: color-mix(in srgb, var(--muted) 72%, #fff); }
.cost { margin-top: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cost table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cost th, .cost td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); word-break: auto-phrase; }
.cost th { font-size: 13px; color: var(--muted); background: #FAFBFD; }
.cost td.r { text-align: right; font-family: var(--f-num); font-weight: 700; white-space: nowrap; }
@media (max-width: 560px) { .cost tr { display: grid; grid-template-columns: 1fr; padding: 10px 16px; border-bottom: 1px solid var(--line); } .cost tr:last-child { border-bottom: 0; } .cost th, .cost td { padding: 2px 0; border: 0; width: auto !important; } .cost td.r { text-align: left; white-space: normal; } .cost thead tr { display: none; } }
.cost tr:last-child td { border-bottom: 0; }
.cost-wrap { overflow-x: auto; }

/* 向き不向き */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit > div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; }
.fit b { font-size: 17px; display: block; margin-bottom: 12px; }
.fit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fit li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; line-height: 1.6; }
.fit .y li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%231E7A4C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.fit .n li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11h8' fill='none' stroke='%235B6480' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.fit li small { display: block; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* 最後の CTA（写真の上に重ねる） */
.final { position: relative; overflow: hidden; color: #fff; padding-block: 120px; background: var(--night); }
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,27,54,.94) 0%, rgba(22,27,54,.72) 55%, rgba(22,27,54,.35) 100%); }
.final .wrap { position: relative; z-index: 1; }
.final .h2 { color: #fff; max-width: 680px; }
.final .lead { color: #C9CFEA; }
.final .ctas { margin-top: 30px; }
.final .ps { margin: 28px 0 0; max-width: 620px; font-size: 14px; color: #C9CFEA; border-left: 3px solid; border-image: var(--grad) 1; padding-left: 14px; }
.final .facts { color: #C9CFEA; }

/* 運営 */
.org { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; }
.org img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.org b { font-size: 16px; } .org p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 560px) { .org { grid-template-columns: 1fr; } }

/* フッター・スマホ下部固定 CTA */
.ft { background: var(--night); color: #AEB5D6; padding-block: 44px 96px; font-size: 13px; }
.ft .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.ft img { height: 26px; width: auto; }
.ft a { color: #D5DAF0; text-decoration: none; }
.ft .sp { flex: 1; }
.mcta { visibility: hidden; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: none; transform: translateY(110%); transition: transform .4s var(--ease); }
.mcta.on { transform: none; visibility: visible; }
.mcta .btn { width: 100%; }
@media (max-width: 760px) { .mcta { display: block; } .s { padding-block: 56px; } .note { font-size: 14px; } .hero .ctas .btn { width: 100%; } .head { margin-bottom: 32px; } }

/* ライトボックス */
dialog.lb { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); }
dialog.lb::backdrop { background: rgba(16,20,40,.84); }
dialog.lb img { width: 100%; max-height: 86vh; object-fit: contain; border-radius: 12px; }
dialog.lb button { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); font-size: 20px; cursor: pointer; transition: transform .3s; }
dialog.lb button:hover { transform: rotate(90deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .player .pp { display: none; }
  .js .rv { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ===== 製品 LP の共通ページ部品（Short の LP で作ったものを共通化） ===== */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; padding-block: 18px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--acc); }
/* ヒーローの小さな「入れたもの → できたもの」 */
.mini { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; color: var(--primary); font-size: 13.5px; font-weight: 700; }
.mini img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.mini img.v { width: 40px; height: 56px; }
.mini svg { width: 24px; color: var(--acc); flex: none; }
.mini span b { display: block; color: var(--ink); font-size: 14.5px; }
.mini:hover { border-color: var(--acc); }
/* 見本: 入れたもの → できたもの */
.pair { display: grid; grid-template-columns: minmax(0, 260px) auto minmax(0, 240px); justify-content: center; align-items: center; gap: 28px; }
.pair-in { margin: 0; display: grid; gap: 10px; }
.pair-in img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.pair-in figcaption, .pair-out figcaption { text-align: center; font-size: 13.5px; color: var(--muted); }
.pair-in figcaption b, .pair-out figcaption b { display: block; font-size: 15px; color: var(--ink); }
.pair-mid { display: grid; justify-items: center; gap: 4px; color: var(--acc-ink); }
.pair-mid span { font-size: 13px; font-weight: 700; color: var(--muted); }
.pair-mid b { font-size: 15px; white-space: nowrap; }
.pair-mid svg { width: 64px; height: 22px; margin: 4px 0; }
.pair-mid em { font-style: normal; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--acc-soft); }
.sub-h { margin: 0 0 20px; text-align: center; font-size: 18px; }
.center-note { text-align: center; margin: 22px auto 0; max-width: 640px; }
.m-hint { display: none; }
@media (max-width: 640px) { .pair { grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; } .pair-mid { grid-column: 1 / -1; grid-row: 1; grid-auto-flow: column; justify-content: center; align-items: center; gap: 8px; } .pair-mid svg { display: none; } .m-hint { display: block; font-size: 13px; margin-top: 6px; font-weight: 500; color: var(--muted); } }
/* 見本直後の「まず試作」 */
.sum { display: grid; grid-template-columns: 180px 1fr auto; gap: 22px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 22px 14px 14px; }
.sum img { width: 180px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.sum b { font-size: 17px; } .sum p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .sum { grid-template-columns: 1fr; padding: 14px; } .sum img { width: 100%; } }
/* 課題カードの本音・代表の名前 */
.pain .q small { display: block; grid-column: 2; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--muted); }
.org .by { display: block; font-size: 13px; font-weight: 700; color: var(--acc-ink); margin-bottom: 4px; }
/* 料金: 実績の枠・仕組み・折りたたみ */
.real { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-top: 22px; background: var(--surface); border: 2px solid var(--acc); border-radius: 18px; padding: 20px 24px; }
.real-n { display: grid; gap: 2px; padding-right: 24px; border-right: 1px solid var(--line); }
.real-n span { font-size: 13px; font-weight: 700; color: var(--muted); }
.real-n b { font: 800 44px/1.1 var(--f-num); color: var(--acc-ink); } .real-n b small { font-size: 18px; }
.real-n em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--acc-ink); }
.real-t b { font-size: 17px; } .real-t p { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 640px) { .real { grid-template-columns: 1fr; } .real-n { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; } }
.credit3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0 8px; }
.credit3 div { background: var(--acc-soft); border-radius: 14px; padding: 16px 18px; }
.credit3 span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--acc-ink); color: #fff; font: 800 12px var(--f-num); margin-bottom: 6px; }
.credit3 b { display: block; font-size: 15.5px; } .credit3 p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) { .credit3 { grid-template-columns: 1fr; } }
.more { margin-top: 18px; } .more summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--primary); } .more .cost-h { margin-top: 12px; }
.cost td:first-child { width: 64%; }
/* 機能: スマホでは後半を折りたたむ・機能一覧は代表だけ先に見せる */
.sp-more { display: none; }
@media (max-width: 640px) { .sp-hide { display: none; } .sp-more { display: flex; width: 100%; margin-top: 24px; padding-inline: 12px; font-size: 14px; } .fold-on .sp-fold { display: none; } }
.allf.fold .fc:not(.top) { display: none; }
#af-more { display: flex; margin: 16px auto 0; }
/* 作る流れ（機能の冒頭）・機能一覧を開くボタン */
.flow4 { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: f4; }
.flow4 li { counter-increment: f4; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 52px; display: grid; gap: 2px; }
.flow4 li::before { content: counter(f4); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--acc-ink); color: #fff; font: 800 13px/26px var(--f-num); text-align: center; }
.flow4 b { font-size: 15px; word-break: auto-phrase; } .flow4 span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) { .flow4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .flow4 { grid-template-columns: 1fr; } }
.allf-open { display: none; }
@media (max-width: 640px) { .allf-open { display: flex; width: 100%; margin-top: 28px; } .allf-wrap.sp-closed { display: none; } }
