/* =========================================================
   エコルド学び放題の紹介ページ（2026-10-30 北村さん）
   説明アニメーション：校門 → 校庭 → 玄関 → 教室
   ========================================================= */
:root { --mb: #2c8073; --mb-d: #1f5a51; --ink: #1f2a35; --mu: #5b6b70; --bg: #fbf8f1; --line: #e6dfcf; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lp { margin: 0; font-family: 'BIZ UDPGothic', 'Noto Sans JP', sans-serif; color: var(--ink); background: var(--bg); line-height: 1.7; }
a { color: inherit; }
.lp-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; } .lp-in.narrow { max-width: 760px; }

/* ---- ヘッダー ---- */
.lp-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 20px; background: rgba(251,248,241,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--mb); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.25rem; }
.lp-brand b { display: block; font-size: 1.1rem; line-height: 1.1; } .lp-brand small { font-size: .72rem; color: var(--mu); }
.lp-nav { display: flex; gap: 4px; margin-left: auto; } .lp-nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: .92rem; } .lp-nav a:hover { background: #efe8d8; }
.lp-head-r { display: flex; gap: 8px; }
@media (max-width: 760px) { .lp-nav { display: none; } .lp-head-r { margin-left: auto; } .lp-head-r .ghost { display: none; } }

/* ---- ボタン ---- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--mb); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--mb); transition: transform .15s, box-shadow .15s; }
.lp-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(44,128,115,.25); }
.lp-btn.sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.lp-btn.lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.lp-btn.ghost { background: #fff; color: var(--mb-d); }
.lp-btn.block { display: flex; width: 100%; }
.lp-btn.light { background: #fff; color: var(--mb-d); border-color: #fff; }
.lp-btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }

/* ---- ヒーロー：研修動画のサムネイルが流れる ---- */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 36px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 36px 20px 48px; }
.lp-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--mb-d); background: #e3f2ee; border-radius: 999px; padding: 4px 14px 4px 4px; margin: 0 0 14px; font-size: .9rem; }
.lp-mark.sm { width: 28px; height: 28px; border-radius: 8px; font-size: .95rem; }
.lp-hero-txt h1 { font-size: min(2.75rem, 3.6vw); line-height: 1.38; margin: 0 0 16px; font-weight: 900; letter-spacing: .01em; }
.lp-hero-txt h1 span { display: block; white-space: nowrap; }
.lp-hero-txt > p { font-size: 1.05rem; color: #3c4b50; margin: 0 0 20px; }
.lp-cta { display: flex; gap: 10px; flex-wrap: wrap; } .lp-cta.center { justify-content: center; }
.lp-cta button.lp-btn { font: inherit; font-weight: 700; cursor: pointer; }
.lp-note { font-size: .82rem; color: var(--mu); margin-top: 12px !important; }
.lp-wall { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 14px 0; border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, #1f3b37, #173041); box-shadow: 0 24px 60px rgba(31,42,53,.22); transform: rotate(-2deg); }
.lp-wall::before, .lp-wall::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.lp-wall::before { left: 0; background: linear-gradient(90deg, #1f3b37, transparent); } .lp-wall::after { right: 0; background: linear-gradient(-90deg, #173041, transparent); }
.lp-row { overflow: hidden; }
.lp-track { display: flex; gap: 12px; width: max-content; animation: lpSlide var(--d, 50s) linear infinite; }
.lp-row.rev .lp-track { animation-direction: reverse; }
.lp-wall:hover .lp-track { animation-play-state: paused; }
@keyframes lpSlide { to { transform: translateX(-50%); } }
.lp-th { position: relative; display: block; width: 240px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; flex-shrink: 0; background: #2a4542; box-shadow: 0 6px 16px rgba(0,0,0,.3); transition: transform .25s; }
.lp-th:hover { transform: scale(1.06); z-index: 3; }
.lp-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-th-t { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 7px; background: linear-gradient(transparent, rgba(0,0,0,.78)); color: #fff; font-size: .74rem; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; opacity: 0; transition: opacity .2s; }
.lp-th:hover .lp-th-t, .lp-th:focus-visible .lp-th-t { opacity: 1; }
.lp-th > i { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--mb); display: grid; place-items: center; font-size: .95rem; opacity: 0; transition: opacity .2s; }
.lp-th:hover > i { opacity: 1; }
.lp-wall-n { position: absolute; right: 18px; bottom: 10px; z-index: 3; margin: 0; background: rgba(255,255,255,.95); color: var(--mb-d); font-weight: 700; font-size: .82rem; border-radius: 999px; padding: 5px 12px; }
@media (max-width: 900px) {
  .lp-hero { grid-template-columns: 1fr; padding-top: 22px; gap: 26px; }
  .lp-hero-txt h1 { font-size: min(2.1rem, 7.6vw); }
  .lp-wall { transform: none; border-radius: 20px; margin: 0 -8px; } .lp-th { width: 180px; border-radius: 10px; } .lp-th-t { opacity: 1; font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) { .lp-track { animation: none; } .lp-row { overflow-x: auto; } }
.lp-nav-tour { border: 0; background: #e3f2ee; color: var(--mb-d); font: inherit; font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.lp-join-steps { list-style: none; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 0; margin: 0 0 24px; }
.lp-join-steps li { background: rgba(255,255,255,.14); border-radius: 14px; padding: 10px 16px; font-size: .92rem; display: flex; align-items: center; gap: 8px; }
.lp-join-steps b { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--mb-d); display: grid; place-items: center; font-size: .85rem; }

/* ---- 動画で知る（全画面ツアー） ---- */
.lt { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: radial-gradient(1200px 700px at 30% 20%, #24524b, #10201f 70%); color: #fff; }
.lt[hidden] { display: none; }
html.lt-lock, html.lt-lock body { overflow: hidden; }
.lt-top { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px; }
.lt-prog { position: absolute; left: 0; top: 0; height: 4px; width: 0; background: linear-gradient(90deg, #7BBF24, #1A9ED8); transition: width .3s linear; }
.lt-chaps { display: flex; gap: 6px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.lt-chaps button { flex-shrink: 0; border: 1px solid rgba(255,255,255,.25); background: transparent; color: rgba(255,255,255,.8); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; min-height: 36px; }
.lt-chaps button[aria-selected="true"] { background: #fff; color: #1f5a51; border-color: #fff; }
.lt-ctl { display: flex; gap: 4px; }
.lt-b { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; font-size: 1rem; }
.lt-b:hover { background: rgba(255,255,255,.22); } .lt-b.x { background: rgba(255,255,255,.9); color: #1f2a35; }
.lt-stage { flex: 1; min-height: 0; display: grid; grid-template-columns: auto minmax(0, 520px); justify-content: center; align-items: center; gap: 48px; padding: 10px 24px 24px; }
.lt-phone { height: min(78vh, 760px); aspect-ratio: 540 / 919; background: #0b0f10; border-radius: 42px; padding: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 2px #2c3335; position: relative; }
.lt-phone::before { content: ''; position: absolute; top: 18px; left: 50%; width: 90px; height: 22px; margin-left: -45px; border-radius: 12px; background: #0b0f10; z-index: 3; }
.lt-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #f5f8f7; }
.lt-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .55s ease, transform .9s cubic-bezier(.2,.7,.2,1); transform: scale(1.04); }
.lt-img.on { opacity: 1; transform: scale(1); }
.lt-ring { position: absolute; border-radius: 14px; box-shadow: 0 0 0 4px #ffd84a, 0 0 0 9999px rgba(10,20,20,.45); transition: all .5s cubic-bezier(.2,.7,.2,1); z-index: 2; pointer-events: none; }
.lt-ring::after { content: ''; position: absolute; inset: -8px; border-radius: 18px; border: 3px solid #ffd84a; animation: ltPulse 1.4s ease-in-out infinite; }
@keyframes ltPulse { 0%, 100% { opacity: .9; transform: scale(1); } 50% { opacity: 0; transform: scale(1.06); } }
.lt-tap { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255,216,74,.55); border: 3px solid #fff; z-index: 3; animation: ltTap .9s ease-out 2; pointer-events: none; }
@keyframes ltTap { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.lt-conf { position: absolute; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.lt-conf i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: ltFall 2.2s ease-in forwards; }
@keyframes ltFall { to { transform: translateY(110vh) rotate(720deg); } }
.lt-talk { display: flex; flex-direction: column; gap: 16px; }
.lt-chap-t { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 900; line-height: 1.35; }
.lt-say { display: flex; gap: 14px; align-items: flex-start; }
.lt-face { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; flex-shrink: 0; box-shadow: 0 6px 18px rgba(0,0,0,.35); animation: ltBob 2.4s ease-in-out infinite; }
@keyframes ltBob { 50% { transform: translateY(-4px); } }
.lt-bub { position: relative; background: #fff; color: #1f2a35; border-radius: 20px; border-top-left-radius: 4px; padding: 14px 18px; flex: 1; min-height: 96px; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.lt-name { display: block; font-size: .78rem; color: #2c8073; margin-bottom: 4px; }
.lt-txt { margin: 0; font-size: 1.08rem; line-height: 1.85; }
.lt-txt .cur { display: inline-block; width: 2px; height: 1.1em; background: #2c8073; vertical-align: -2px; margin-left: 2px; animation: ltBlink .8s step-end infinite; }
@keyframes ltBlink { 50% { opacity: 0; } }
.lt-end { display: flex; flex-wrap: wrap; gap: 10px; animation: lpUp .5s ease; }
.lt-end[hidden] { display: none; } .lt-end button { font: inherit; font-weight: 700; cursor: pointer; }
.lt-end .lp-btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.lt-end-n { width: 100%; margin: 4px 0 0; font-size: .86rem; opacity: .85; }
@keyframes lpUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .lt-stage { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; padding: 4px 14px calc(14px + env(safe-area-inset-bottom)); justify-items: center; }
  .lt-phone { height: 100%; max-height: 56vh; border-radius: 30px; padding: 8px; } .lt-phone::before { top: 12px; width: 64px; height: 16px; margin-left: -32px; } .lt-screen { border-radius: 23px; }
  .lt-talk { width: 100%; gap: 8px; } .lt-chap-t { font-size: 1.15rem; text-align: center; }
  .lt-face { width: 48px; height: 48px; } .lt-bub { min-height: 84px; padding: 10px 14px; } .lt-txt { font-size: .95rem; line-height: 1.7; }
  .lt-end .lp-btn { flex: 1 1 100%; white-space: nowrap; font-size: .95rem; padding: 0 14px; justify-content: center; } .lt-ctl .lt-b { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .lt-img, .lt-ring { transition: none; } .lt-ring::after, .lt-tap, .lt-face { animation: none; } }

/* ---- セクション ---- */
.lp-sec { padding: 64px 0; } .lp-sec.alt { background: #f2ecdf; }
.lp-eyebrow { color: var(--mb); font-weight: 700; letter-spacing: .08em; font-size: .82rem; margin: 0; }
.lp-sec h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin: 4px 0 28px; line-height: 1.4; }
.lp-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-feat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.lp-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.lp-feat h3 { margin: 0 0 6px; font-size: 1.08rem; } .lp-feat p { margin: 0; font-size: .93rem; color: #3c4b50; }
@media (max-width: 900px) { .lp-feats { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .lp-feats { grid-template-columns: 1fr; } }

/* ---- 料金 ---- */
.lp-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 880px; margin: 0 auto 28px; }
.lp-plan { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 26px 24px 22px; display: flex; flex-direction: column; }
.lp-plan.pro { border-color: var(--mb); box-shadow: 0 16px 40px rgba(44,128,115,.15); }
.lp-badge { position: absolute; top: -14px; left: 24px; background: #f0a95c; color: #fff; font-weight: 700; font-size: .8rem; border-radius: 999px; padding: 4px 14px; }
.lp-plan h3 { margin: 0; font-size: 1.15rem; }
.lp-price { margin: 6px 0 0; font-size: 1rem; } .lp-price b { font-size: 2.6rem; font-weight: 900; letter-spacing: -.01em; } .lp-price small { color: var(--mu); margin-left: 4px; }
.lp-plan-sub { margin: 0 0 14px; color: var(--mu); font-size: .88rem; }
.lp-plan ul { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; } .lp-plan li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; } .lp-plan li i { color: var(--mb); }
.lp-plan-note { font-size: .78rem; color: var(--mu); margin: 10px 0 0; }
@media (max-width: 760px) { .lp-plans { grid-template-columns: 1fr; } }
.lp-table-wrap { overflow-x: auto; max-width: 880px; margin: 0 auto; }
.lp-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); font-size: .92rem; min-width: 520px; }
.lp-table caption { text-align: left; font-weight: 700; padding: 0 0 10px; }
.lp-table th, .lp-table td { padding: 12px 14px; border-bottom: 1px solid #f0eadc; text-align: center; vertical-align: middle; }
.lp-table thead th { background: #f7f2e7; font-size: .9rem; } .lp-table thead th:last-child { background: #e3f2ee; color: var(--mb-d); }
.lp-table tbody th { text-align: left; font-weight: 700; background: #fcfaf5; width: 32%; }
.lp-table td i { color: var(--mb); } .lp-table small { color: var(--mu); } .lp-no { color: #b9b2a3; }
.lp-table tbody tr:last-child th, .lp-table tbody tr:last-child td { border-bottom: 0; }
.lp-fac { display: flex; gap: 14px; max-width: 880px; margin: 22px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.lp-fac > i { font-size: 1.4rem; color: var(--mb); margin-top: 4px; } .lp-fac p { margin: 4px 0 6px; font-size: .9rem; color: #3c4b50; } .lp-fac a { color: var(--mb-d); font-weight: 700; font-size: .9rem; }

/* ---- よくある質問 ---- */
.lp-q { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.lp-q summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.lp-q summary::after { content: '+'; color: var(--mb); font-size: 1.3rem; line-height: 1; } .lp-q[open] summary::after { content: '−'; }
.lp-q p { margin: 0; padding: 0 18px 16px; color: #3c4b50; font-size: .94rem; }

/* ---- 最後 ---- */
.lp-last { background: linear-gradient(135deg, #2c8073, #1A7FB0); color: #fff; text-align: center; padding: 60px 0; }
.lp-last h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 8px; } .lp-last p { margin: 0 0 22px; opacity: .92; }
.lp-foot { padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); font-size: .82rem; color: var(--mu); }
.lp-foot .lp-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .lp-foot nav { display: flex; gap: 14px; flex-wrap: wrap; }
/* スマホ：料金表を横にはみ出させず、3列とも画面に収める */
@media (max-width: 560px) {
  .lp-table-wrap { overflow-x: visible; }
  .lp-table { min-width: 0; font-size: .8rem; table-layout: fixed; }
  .lp-table th, .lp-table td { padding: 10px 6px; word-break: keep-all; overflow-wrap: anywhere; line-height: 1.45; }
  .lp-table tbody th { width: 34%; padding-left: 10px; font-size: .78rem; }
  .lp-table thead th { font-size: .82rem; }
  .lp-table small { display: block; font-size: .7rem; }
}

/* ---- 無料ではじめる：個人か施設・法人か（/begin。2026-11-05） ---- */
.lp-begin { max-width: 860px; margin: 0 auto; padding: 48px 20px 64px; text-align: center; }
.lp-begin h1 { margin: 0; font-size: 1.9rem; font-weight: 900; }
.lp-begin-sub { color: var(--mu); margin: 8px 0 24px; }
.lp-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lp-ch { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 20px 26px; background: #fff; border: 2px solid var(--mb); border-radius: 24px; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.lp-ch:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(44,128,115,.15); }
.lp-ch.fac { border-color: #f0a95c; }
.lp-ch > i { font-size: 2.2rem; color: var(--mb); } .lp-ch.fac > i { color: #d9822b; }
.lp-ch b { font-size: 1.25rem; } .lp-ch span { color: var(--mu); font-size: .93rem; line-height: 1.75; } .lp-ch small { color: var(--mu); font-size: .8rem; line-height: 1.7; }
.lp-ch em { font-style: normal; margin-top: 8px; padding: 10px 20px; border-radius: 999px; background: var(--mb); color: #fff; font-weight: 700; font-size: .95rem; } .lp-ch.fac em { background: #d9822b; }
.lp-begin-note { color: var(--mu); font-size: .85rem; line-height: 1.8; margin-top: 22px; } .lp-begin-note a { color: var(--mb-d); font-weight: 700; }
@media (max-width: 640px) { .lp-choose { grid-template-columns: 1fr; } .lp-begin { padding-top: 32px; } }
