/* うごくくん Long：うごくくんの LP の CSS（/ugokukun/assets/css/site.css）の上に重ねる。
   見立ては「夜の説明会のスクリーン」。ヒーローの地を深い藍にし、ほかの区画はうごくくんと同じ生成り・波・白いカード・柿色 */
.page-long { --night: #141b2a; --night-2: #0d1220; }

/* ロゴ：名前の右に Long の札 */
.brand-long { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--orange-deep); color: #fff; font-size: 12px; letter-spacing: 0.06em; line-height: 1.5; vertical-align: 3px; }
.brand-footer .brand-long { background: var(--apricot); color: var(--text); }
.footer-brand .footer-family + .footer-family { margin-top: -2px; }

/* ---- ヒーロー ---- */
.page-long .hero { background: var(--night); }
.page-long .hero-film { background: var(--night-2); }
.page-long .video-toggle { background: rgba(13, 18, 32, 0.6); }
@media (max-width: 1023px) {
  .page-long .hero-shade { background: linear-gradient(180deg, rgba(13, 18, 32, 0.5) 0%, rgba(13, 18, 32, 0) 16%, rgba(13, 18, 32, 0) 46%, rgba(13, 18, 32, 0.8) 74%, var(--night) 100%); }
}
@media (min-width: 1024px) {
  .page-long .hero-shade { background: linear-gradient(90deg, rgba(13, 18, 32, 0.94) 0%, rgba(13, 18, 32, 0.82) 26%, rgba(13, 18, 32, 0.35) 46%, rgba(13, 18, 32, 0) 60%), linear-gradient(180deg, rgba(13, 18, 32, 0) 78%, rgba(13, 18, 32, 0.5) 100%); }
}
/* ---- 作例：会社案内4ページと、章つきの動画 ---- */
.long-sample { display: grid; gap: 28px; align-items: start; }
.pamphlet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pamphlet li { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 20px -16px rgba(90, 52, 28, 0.6); }
.pamphlet img { display: block; width: 100%; height: auto; }
.long-player { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: var(--shadow); }
.long-frame { border-radius: 12px; overflow: hidden; background: #111; }
.long-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #111; }
.chapters { display: grid; gap: 2px; margin-top: 12px; }
.chapters button { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; border: 0; background: transparent; padding: 9px 10px; border-radius: 12px; font: inherit; font-size: 14px; font-weight: 700; color: var(--text); cursor: pointer; }
.chapters button:hover { background: var(--paper-2); }
.chapters button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; }
.chapters button[aria-current="true"] { background: var(--apricot-soft); color: var(--orange-deep); }
.chapter-time { flex: none; min-width: 3.6em; padding: 1px 9px; border-radius: 999px; background: var(--paper-2); color: var(--text-sub); font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.chapters button[aria-current="true"] .chapter-time { background: var(--orange-deep); color: #fff; }
@media (min-width: 640px) { .chapters { grid-template-columns: 1fr 1fr; column-gap: 8px; } }
@media (min-width: 1024px) {
  .long-sample { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; }
  .pamphlet { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
}

/* ---- 使いみち ---- */
.use-grid { display: grid; gap: 14px; }
.use-card { background: #fff; border-radius: 20px; padding: 22px 22px 24px; box-shadow: var(--shadow); }
.use-card h3 { font-size: 18px; margin-bottom: 6px; }
.use-card p { font-size: 14px; color: var(--text-sub); }
@media (min-width: 640px) { .use-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .use-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- 送るもの・動画に入るもの ---- */
.send-long { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.includes { display: grid; gap: 18px; margin-top: 24px; background: #fff; border-radius: 22px; padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow); }
.includes-title { font-size: 17px; margin-bottom: 10px; }
.includes-list { display: flex; flex-wrap: wrap; gap: 8px; }
.includes-list li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.includes-yes li { background: var(--apricot-soft); }
.includes-yes li::before { content: "✓"; color: var(--orange-deep); font-weight: 900; }
.includes-no li { background: var(--paper-2); color: var(--text-sub); }
.includes-no li::before { content: "−"; color: var(--text-faint); font-weight: 900; }
@media (min-width: 900px) { .includes { grid-template-columns: 3fr 2fr; gap: 32px; } }

/* ---- 料金：3つのカードと料金の目安はうごくくんの site.css のまま。下にどのプランにも入るものを並べる ---- */
.price-long { padding: 0; }
.long-plan-list { display: grid; gap: 12px; }
.long-plan-list li { position: relative; padding-left: 32px; font-size: 15px; font-weight: 700; }
.long-plan-list li::before { content: "✓"; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%; background: var(--orange-deep); color: #fff; display: grid; place-items: center; font-size: 12px; line-height: 1; }
.long-plan-common { max-width: 880px; margin: 26px auto 0; background: #fff; border-radius: 22px; padding: 22px 28px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .long-plan-common { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.price-short { margin-top: 22px; text-align: center; font-size: 14px; font-weight: 700; }
.price-short a { color: var(--orange-deep); }

/* ---- 流れ：台本の確認をはさむ5つ ---- */
.flow-long { padding: clamp(56px, 8vw, 96px) 0; }
.long-flow { display: grid; gap: 14px; }
.long-flow li { display: grid; gap: 4px; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 20px 22px; }
.long-flow li.is-key { border: 2px solid var(--orange); background: linear-gradient(180deg, var(--apricot-soft), #fff 70%); }
.long-flow-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--apricot-soft); display: grid; place-items: center; margin-bottom: 6px; }
.long-flow li.is-key .long-flow-icon { background: #fff; }
.long-flow-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--orange-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.long-flow .flow-num { font-size: 22px; }
.long-flow h3 { font-size: 18px; }
.long-flow p:not(.flow-num) { font-size: 14px; color: var(--text-sub); }
.flow-note { margin-top: 18px; font-size: 13px; color: var(--text-sub); }
@media (min-width: 720px) { .long-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .long-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } }

/* ---- よくある質問・最後の案内（どちらも砂色の地で続ける） ---- */
.page-long .faq { padding-top: 0; }
.final-long { padding-top: clamp(16px, 3vw, 40px); }
/* 最後の案内の絵：うごくくん Long の後ろから、うごくくん（背中の後ろ）ととどくくん（カメラの後ろ）がのぞく（2026-10-31）。
   3枚の位置と枠の縦横比は scripts/export-long.mjs が書き出す値。後ろの2人は、絵が見えると後ろから顔を出し、押せる所に指を乗せると少し伸び上がる */
.final-long .long-family { width: min(400px, 86vw); aspect-ratio: 2061 / 1752; }
/* スマホ・タブレットは絵が上に来るので、とどくくんの名前の札が上の区画にはみ出さないよう空けておく */
@media (max-width: 1023px) { .final-long .long-family { margin-top: 40px; } }
@media (min-width: 1024px) { .final-long .long-family { max-width: 460px; } }
.long-family > img { position: absolute; height: auto; }
.long-family-front { z-index: 2; left: 6.11%; top: 0; width: 93.89%; pointer-events: none; }
.long-family-ugoku { z-index: 1; left: 0; top: 30.25%; width: 34.98%; transform-origin: 70% 100%; }
.long-family-todoku { z-index: 1; left: 63.56%; top: 9.82%; width: 31.25%; transform-origin: 30% 100%; }
.long-family-ugoku, .long-family-todoku { transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.js .long-family:not(.is-peek) .long-family-ugoku, .js .long-family:not(.is-peek) .long-family-todoku { opacity: 0; }
.long-family.is-peek .long-family-ugoku { animation: peek-up 0.7s 0.15s cubic-bezier(0.3, 1.5, 0.5, 1) backwards; }
.long-family.is-peek .long-family-todoku { animation: peek-up 0.7s 0.45s cubic-bezier(0.3, 1.5, 0.5, 1) backwards; }
@keyframes peek-up { from { opacity: 0; transform: translateY(22%); } }
.long-family:has(.peek-hit-ugoku:hover, .peek-hit-ugoku:focus-visible) .long-family-ugoku { transform: translateY(-6%) rotate(-4deg); }
.long-family:has(.peek-hit-todoku:hover, .peek-hit-todoku:focus-visible) .long-family-todoku { transform: translateY(-6%) rotate(4deg); }
.peek-hit-ugoku { left: 0; top: 30%; width: 29%; height: 27%; }
.peek-hit-todoku { left: 73%; top: 9%; width: 23%; height: 25%; }
@media (prefers-reduced-motion: reduce) {
  .long-family-ugoku, .long-family-todoku { transition: none; }
  .js .long-family .long-family-ugoku, .js .long-family .long-family-todoku { opacity: 1; animation: none; }
}
