/* TresapoAI Pro LP
   デザイン方向性: DESIGN_LAYOUT_RESEARCH_REQUEST.md §8
   （信頼のブルー + 活力のオレンジ / 信頼感+先進性 / 40-50代ジムオーナー向けに文字大きめ） */

:root {
  --blue-900: #0d2b52;
  --blue-700: #1450a3;
  --blue-600: #1a5eda;
  --blue-50: #eef4fd;
  --orange-600: #ea6a1f;
  --orange-700: #d55c14;
  --green-600: #1a8a4f;
  --ink: #1f2733;
  --ink-soft: #4b5563;
  --line: #dbe2ec;
  --bg-alt: #f5f8fc;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(13, 43, 82, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic Medium", YuGothic, Meiryo, system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { font-size: 1.25rem; font-weight: 800; color: var(--blue-900); letter-spacing: 0.02em; }
.brand span { color: var(--orange-600); }
.header-nav { display: flex; gap: 20px; margin-left: auto; }
.header-nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.header-nav a:hover { color: var(--blue-600); }

/* ===== ボタン ===== */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  border: none; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-family: inherit; transition: transform 0.15s, background 0.15s;
}
.btn-primary { background: var(--orange-600); color: #fff; box-shadow: 0 4px 14px rgba(234, 106, 31, 0.35); }
.btn-primary:hover { background: var(--orange-700); transform: translateY(-1px); }
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 44px; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; }

/* ===== ヒーロー ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--blue-600) 100%);
  color: #fff;
  padding: 72px 0 80px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-block; background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px; padding: 4px 16px; font-size: 0.9rem; margin-bottom: 20px;
}
.hero h1 { font-size: 2.3rem; line-height: 1.45; font-weight: 800; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #ffc46b; }
.hero-lead { font-size: 1.1rem; opacity: 0.92; margin-bottom: 32px; }
.cta-note { font-size: 0.9rem; margin-top: 12px; opacity: 0.85; }

/* スプレッドシートのモック */
.sheet-mock {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; font-size: 0.85rem;
}
.sheet-mock-bar {
  display: flex; align-items: center; gap: 6px;
  background: #eef1f5; padding: 10px 14px; border-bottom: 1px solid var(--line);
}
.sheet-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #c8d0da; }
.sheet-mock-bar b { margin-left: 8px; color: var(--blue-700); font-size: 0.8rem; }
.sheet-mock-table { width: 100%; border-collapse: collapse; }
.sheet-mock-table td { padding: 8px 12px; border-bottom: 1px solid #f0f3f7; }
.sheet-mock-table td:first-child { width: 88px; font-weight: 700; font-size: 0.75rem; text-align: center; }
.tag-cardio { color: var(--orange-600); }
.tag-build { color: var(--blue-600); }
.tag-rest { color: var(--green-600); }
.sheet-mock-note { padding: 10px 14px; color: var(--green-600); font-weight: 700; font-size: 0.8rem; }

/* ===== 実績バー ===== */
.trust-strip { background: var(--blue-50); border-bottom: 1px solid var(--line); padding: 20px 0; }
.trust-items { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-items strong { color: var(--blue-700); font-size: 1.3rem; margin-right: 6px; }
.trust-items span { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== セクション共通 ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 1.75rem; font-weight: 800; text-align: center; margin-bottom: 40px; color: var(--blue-900); }
.section-sub { text-align: center; color: var(--ink-soft); margin: -24px 0 36px; }
.section-cta { text-align: center; margin-top: 40px; }

/* ===== 課題提起 ===== */
.pain-list { list-style: none; max-width: 680px; margin: 0 auto; display: grid; gap: 14px; }
.pain-list li {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange-600);
  border-radius: 8px; padding: 14px 20px;
}
.pain-list li::before { content: "✗ "; color: var(--orange-600); font-weight: 800; }

/* ===== Before/After ===== */
.table-scroll { overflow-x: auto; }
.ba-table { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: collapse; background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.ba-table th { padding: 14px; font-size: 1.05rem; }
.ba-table th:first-child { background: #9aa5b1; color: #fff; }
.ba-table th:last-child { background: var(--blue-600); color: #fff; }
.ba-table td { padding: 13px 18px; border-top: 1px solid var(--line); }
.ba-table td:first-child { color: var(--ink-soft); width: 45%; }
.ba-table td:last-child strong { color: var(--blue-700); }

/* ===== 機能 ===== */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature-card h3 { font-size: 1.1rem; color: var(--blue-900); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.feature-num {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue-600); color: #fff; font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.feature-card ul { list-style: none; display: grid; gap: 8px; }
.feature-card li { padding-left: 1.4em; position: relative; font-size: 0.95rem; }
.feature-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green-600); font-weight: 800; }

/* ===== なぜスプレッドシート ===== */
.voice {
  text-align: center; font-size: 1.2rem; color: var(--ink-soft);
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  padding: 18px; margin-bottom: 24px;
}
.center-lead { text-align: center; font-size: 1.1rem; margin-bottom: 24px; }
.check-list { list-style: none; display: grid; gap: 10px; max-width: 520px; margin: 0 auto; }
.check-list li { padding-left: 1.6em; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-600); font-weight: 800; }

/* ===== ステップフロー ===== */
.step-flow { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-flow-5 { grid-template-columns: repeat(5, 1fr); }
.step-flow li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 16px; text-align: center; font-size: 0.92rem; box-shadow: var(--shadow);
  position: relative;
}
.step-flow li strong { display: block; color: var(--blue-600); font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: 8px; }

/* ===== 出力例 ===== */
.example-caption { text-align: center; color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 16px; }
.output-example {
  background: var(--blue-900); color: #d9e6ff; border-radius: var(--radius);
  padding: 22px 26px; font-size: 0.88rem; line-height: 1.9; overflow-x: auto;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.reason-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-top: 16px; font-size: 0.95rem; }
.reason-label { font-weight: 800; color: var(--blue-700); margin-bottom: 6px; }

/* ===== 料金 ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; text-align: center; box-shadow: var(--shadow); position: relative;
}
.price-card-featured { border: 2px solid var(--orange-600); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange-600); color: #fff; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; padding: 3px 18px;
}
.price-card h3 { color: var(--blue-900); font-size: 1.2rem; margin-bottom: 10px; }
.price { font-size: 2.2rem; font-weight: 800; color: var(--blue-700); }
.price span { font-size: 0.85rem; font-weight: 400; color: var(--ink-soft); margin-right: 4px; }
.price small { font-size: 0.85rem; font-weight: 400; color: var(--ink-soft); }
.price-cap { color: var(--ink-soft); font-size: 0.9rem; margin: 4px 0 18px; }
.price-card .check-list { text-align: left; font-size: 0.92rem; }
.pricing-note { text-align: center; color: var(--ink-soft); font-size: 0.9rem; margin-top: 20px; }

/* ===== トライアル帯 ===== */
.trial-band { background: linear-gradient(135deg, var(--blue-700), var(--blue-600)); color: #fff; }
.trial-band .section-title { color: #fff; }
.check-list-inline li::before { color: #ffc46b; }

/* ===== FAQ ===== */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; position: relative;
}
.faq-item summary::before { content: "Q. "; color: var(--blue-600); }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; color: var(--blue-600); font-size: 1.3rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 20px 16px; color: var(--ink-soft); }
.faq-item p::before { content: "A. "; color: var(--orange-600); font-weight: 800; }

/* ===== フォーム ===== */
.form-section { background: var(--bg-alt); }
#lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.95rem; }
.req, .opt { font-size: 0.72rem; font-weight: 700; border-radius: 4px; padding: 2px 8px; vertical-align: 2px; margin-left: 6px; }
.req { background: var(--orange-600); color: #fff; }
.opt { background: #e5e9ef; color: var(--ink-soft); }
.form-row input, .form-row select {
  width: 100%; padding: 12px 14px; font-size: 1rem; font-family: inherit;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.form-row input:focus, .form-row select:focus { outline: 2px solid var(--blue-600); border-color: var(--blue-600); }
.form-consent { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
.form-error { color: #c0392b; font-weight: 700; margin-top: 14px; text-align: center; }
/* honeypot は視覚・スクリーンリーダーの双方から隠す */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== フッター ===== */
.site-footer { background: var(--blue-900); color: #c7d4e8; padding: 40px 0; }
.footer-inner { display: grid; gap: 16px; text-align: center; }
.brand-footer { color: #fff; }
.footer-nav { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.footer-nav a { color: #c7d4e8; font-size: 0.9rem; }
.copyright { font-size: 0.85rem; opacity: 0.7; }

/* ===== 法務ページ（privacy / tokushoho / thanks） ===== */
.legal-main { padding: 56px 0 80px; }
.legal-main h1 { font-size: 1.6rem; color: var(--blue-900); margin-bottom: 28px; }
.legal-main h2 { font-size: 1.15rem; color: var(--blue-900); margin: 32px 0 12px; }
.legal-main p, .legal-main li { color: var(--ink-soft); font-size: 0.95rem; }
.legal-main ul, .legal-main ol { padding-left: 1.4em; margin: 8px 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 10px 14px; font-size: 0.92rem; text-align: left; }
.legal-table th { background: var(--bg-alt); white-space: nowrap; width: 30%; }
.legal-note { font-size: 0.88rem; background: var(--bg-alt); border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; }
.footer-origin { font-size: 0.88rem; opacity: 0.85; margin: 4px 0 8px; }

/* ===== アクセシビリティ: 動きの抑制 ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.thanks-box { text-align: center; padding: 80px 0; }
.thanks-box h1 { font-size: 1.8rem; color: var(--blue-900); margin-bottom: 18px; }
.thanks-box p { color: var(--ink-soft); margin-bottom: 28px; }

/* ===== レスポンシブ ===== */
@media (max-width: 860px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 1.7rem; }
  .header-nav { display: none; }
  .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .step-flow, .step-flow-5 { grid-template-columns: 1fr; }
  .step-flow li { text-align: left; padding: 14px 18px; }
  .step-flow li strong { display: inline; margin-right: 10px; }
  .trust-items { gap: 20px; }
  .section { padding: 52px 0; }
  #lead-form { padding: 24px 18px; }
}
