/* リクカル rikucal.jp  — トラックの青と、大会のオレンジ */
:root {
  --track: #1d3fa6;      /* トラックの青(画面の青より深い) */
  --track-deep: #142c78;
  --blue: #2563eb;       /* アプリの青 */
  --meet: #f97316;       /* アプリの大会の色 */
  --ink: #1c1c1e;
  --muted: #5b6475;
  --line: #e3e7ef;
  --paper: #f5f7fb;
  --lane: rgba(255, 255, 255, 0.28);
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.85; background: #fff; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--meet); outline-offset: 3px; border-radius: 4px; }

/* 上の帯と下の帯(全ページ共通) */
header { border-bottom: 1px solid var(--line); background: #fff; }
.bar { max-width: 1120px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 12px; }
.bar img { width: 36px; height: 36px; border-radius: 9px; }
.bar a.home { white-space: nowrap; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 19px; letter-spacing: 0.02em; }
.bar nav { margin-left: auto; display: flex; gap: 20px; font-size: 14px; flex-wrap: wrap; }
.bar nav a { color: var(--ink); text-decoration: none; }
.bar nav a:hover { color: var(--blue); text-decoration: underline; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; background: #fff; }
footer .bar { flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; }
footer .bar nav a { color: var(--muted); }

/* プライバシーポリシー・サポート(読み物のページ) */
main.doc { max-width: 760px; margin: 0 auto; padding: 24px 24px 72px; }
main.doc h1 { font-size: 28px; line-height: 1.4; margin: 20px 0 8px; }
main.doc h2 { font-size: 19px; margin: 36px 0 8px; padding-top: 12px; border-top: 1px solid var(--line); }
main.doc h3 { font-size: 16px; margin: 22px 0 4px; }
.note { background: var(--paper); border-radius: 10px; padding: 12px 16px; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; }
.btn-main { background: var(--meet); color: #fff; }
.btn-main:hover { background: #ea580c; }
.btn-sub { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.8); }
.btn-sub:hover { background: rgba(255, 255, 255, 0.12); }

/* ---- トップページ ---- */

/* 最初の画面: 青いトラックとレーンの白線 */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    repeating-linear-gradient(172deg, transparent 0 128px, var(--lane) 128px 131px),
    linear-gradient(160deg, var(--track) 0%, var(--track-deep) 100%);
}
.hero-inner { max-width: 1120px; margin: 0 auto; padding: 56px 24px 72px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.34; font-weight: 900; margin: 0; letter-spacing: 0.01em; }
.hero h1 span { display: inline-block; }
.hero p.sub { font-size: 18px; line-height: 1.8; margin: 20px 0 0; max-width: 32em; color: rgba(255, 255, 255, 0.92); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .fact { margin-top: 28px; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.hero .fact strong { font-size: 22px; color: #fff; margin: 0 2px; }
.shots { position: relative; }
.shots .pc { border-radius: 12px; box-shadow: 0 24px 60px rgba(4, 18, 60, 0.5); border: 1px solid rgba(255, 255, 255, 0.25); }
.shots .sp { position: absolute; width: 30%; right: -2%; bottom: -14%; border-radius: 26px; border: 6px solid #0f1b3d; box-shadow: 0 20px 44px rgba(4, 18, 60, 0.55); background: #fff; }

/* 区切りの中身 */
.section { padding: 88px 24px; }
.section.alt { background: var(--paper); }
.wrap { max-width: 1120px; margin: 0 auto; }
.section h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.35; font-weight: 900; margin: 0 0 12px; }
.section .intro { color: var(--muted); font-size: 17px; max-width: 40em; margin: 0 0 40px; }

/* 困りごと(人ごと) */
.worries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.worries > div { padding: 20px 20px 4px 0; border-right: 1px solid var(--line); margin-right: 20px; }
.worries > div:last-child { border-right: 0; margin-right: 0; }
.worries h3 { font-size: 17px; margin: 0 0 6px; }
.worries ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 15px; }
.worries li { margin-bottom: 6px; }

/* できること: 画面と説明を左右に */
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 88px; }
.feature:last-of-type { margin-bottom: 0; }
.feature.flip .pic { order: 2; }
.feature .pic.phone img { width: min(320px, 70%); margin: 0 auto; border-radius: 28px; border: 6px solid #0f1b3d; }
.feature .pic img { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(20, 44, 120, 0.14); }
.feature h3 { font-size: 24px; line-height: 1.45; margin: 0 0 12px; font-weight: 800; }
.feature p { margin: 0 0 12px; color: #333a46; font-size: 16px; }
.feature .tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--meet); border-bottom: 2px solid var(--meet); margin-bottom: 14px; }
.more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.more h3 { font-size: 16px; margin: 0 0 4px; }
.more p { margin: 0; font-size: 14px; color: var(--muted); }

/* こんな人に */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 48px; }
.person { padding: 22px 0; border-top: 1px solid var(--line); }
.person h3 { font-size: 20px; margin: 0 0 6px; }
.person h3 span { color: var(--meet); }
.person p { margin: 0; color: #333a46; }

/* はじめ方(順番がある) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--track); color: #fff; font-weight: 900; font-size: 22px; display: grid; place-items: center; }
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); }

/* よくある質問 */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 14px 0; list-style-position: outside; }
.faq details p { margin: 0 0 16px; color: #333a46; }

/* 最後のお誘い */
.cta { text-align: center; color: #fff; padding: 80px 24px; background:
    repeating-linear-gradient(8deg, transparent 0 128px, var(--lane) 128px 131px),
    linear-gradient(160deg, var(--track) 0%, var(--track-deep) 100%); }
.cta h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 12px; font-weight: 900; }
.cta p { margin: 0 auto 28px; max-width: 34em; color: rgba(255, 255, 255, 0.9); }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* スマホ */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 44px 20px 80px; }
  .shots .sp { width: 34%; right: 0; bottom: -18%; }
  .section { padding: 64px 20px; }
  .worries { grid-template-columns: 1fr 1fr; }
  .worries > div:nth-child(2n) { border-right: 0; margin-right: 0; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
  .feature.flip .pic { order: 0; }
  .more { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bar nav a.wide { display: none; }
}
@media (max-width: 520px) {
  .worries, .more { grid-template-columns: 1fr; }
  .worries > div { border-right: 0; margin-right: 0; }
  .bar nav { gap: 12px; font-size: 13px; }
  .btn { width: 100%; }
}

/* 陸上トレーニングノート連携(練習ノートの紺) */
.section.link { background: linear-gradient(180deg, #eef0ff 0%, #fff 100%); }
.new { display: inline-block; background: #4338ca; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 1px; padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }
.link h2 { color: #2e2a8f; }
.link-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; margin-top: 32px; }
.link-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.link-shots img { border-radius: 24px; border: 5px solid #0f1b3d; box-shadow: 0 16px 40px rgba(67, 56, 202, 0.18); }
.link-shots img:last-child { margin-top: 48px; }
.link-points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.link-points li { padding-left: 16px; border-left: 4px solid #4338ca; color: #333a46; }
.link-points strong { display: block; color: var(--ink); font-size: 17px; }
.link-steps { margin: 0 0 12px; padding-left: 1.4em; color: #333a46; }
.link .note { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .link-grid { grid-template-columns: 1fr; gap: 24px; }
  .link-shots { max-width: 480px; margin: 0 auto; }
}

/* ストアのボタン(App Store・Google Play) */
.btn-store { flex-direction: column; line-height: 1.15; background: #0f1b3d; color: #fff; padding: 8px 24px; min-width: 190px; }
.btn-store:hover { background: #000; }
.store-small { font-size: 11px; font-weight: 600; opacity: 0.85; }
.btn-store.is-soon { background: rgba(15, 27, 61, 0.55); cursor: default; }
