/* ランディングページ (トップの index.html) だけで使う。管理画面 (app/) とは分けている */
:root {
  --lp-text: #1f2937;
  --lp-muted: #6b7280;
  --lp-border: #e5e7eb;
  --lp-bg-soft: #f3f6fd;
  --lp-primary: #2563eb;
  --lp-primary-dark: #1d4ed8;
  --lp-accent: #16a34a;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Segoe UI", sans-serif;
  color: var(--lp-text);
  line-height: 1.7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
}

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

a {
  color: var(--lp-primary);
  text-decoration: none;
}

h1, h2, h3 {
  line-height: 1.35;
  margin: 0;
}

h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  text-align: center;
  margin-bottom: 40px;
}

.lp-container {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
}

.lp-center {
  text-align: center;
}

/* ボタン */
.lp-button {
  display: inline-block;
  background: var(--lp-primary);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 32px;
  transition: background 0.15s, transform 0.15s;
}

.lp-button:hover {
  background: var(--lp-primary-dark);
  transform: translateY(-1px);
}

.lp-button-small {
  padding: 8px 20px;
  font-size: 14px;
}

.lp-button-ghost {
  background: transparent;
  color: var(--lp-primary);
  border: 2px solid var(--lp-primary);
  padding: 12px 30px;
}

.lp-button-ghost:hover {
  background: #eff6ff;
}

.lp-button-light {
  background: #fff;
  color: var(--lp-primary);
}

.lp-button-light:hover {
  background: #eff6ff;
}

.lp-note {
  color: var(--lp-muted);
  font-size: 13px;
  margin: 12px 0 0;
}

/* ヘッダー */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lp-border);
}

.lp-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.lp-logo {
  font-weight: 800;
  font-size: 18px;
  color: var(--lp-text);
}

.lp-logo span {
  color: var(--lp-primary);
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.lp-nav a:not(.lp-button) {
  color: var(--lp-text);
}

@media (max-width: 760px) {
  .lp-nav a:not(.lp-button) {
    display: none;
  }
}

/* ファーストビュー */
.lp-hero {
  background: linear-gradient(160deg, #eef4ff 0%, #ffffff 60%);
  padding: 72px 0 80px;
  overflow: hidden;
}

.lp-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px;
  align-items: center;
}

.lp-eyebrow {
  color: var(--lp-primary);
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 12px;
}

/* 日本語の見出しが単語の途中で折り返さないよう、意味の区切りごとに span でまとめる */
.lp-hero h1 span,
.lp-client h2 span {
  display: inline-block;
}

.lp-hero h1 {
  font-size: clamp(32px, 4.4vw, 50px);
  letter-spacing: 0.01em;
}

.lp-lead {
  font-size: 17px;
  color: #374151;
  margin: 20px 0 28px;
}

.lp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-hero-visual img {
  border-radius: 14px;
  border: 1px solid var(--lp-border);
  box-shadow: 0 24px 60px rgb(37 99 235 / 0.18);
}

@media (max-width: 900px) {
  .lp-hero {
    padding: 48px 0 56px;
  }

  .lp-hero-inner {
    grid-template-columns: 1fr;
  }
}

/* セクション */
.lp-section {
  padding: 88px 0;
}

.lp-section-lead {
  text-align: center;
  color: var(--lp-muted);
  margin: -24px auto 40px;
  max-width: 640px;
}

/* 悩み */
.lp-pain {
  background: var(--lp-bg-soft);
}

.lp-pain-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  display: grid;
  gap: 12px;
}

.lp-pain-list li {
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px 16px 52px;
  position: relative;
}

.lp-pain-list li::before {
  content: "😥";
  position: absolute;
  left: 18px;
  top: 15px;
}

.lp-pain-answer {
  text-align: center;
  font-size: 18px;
  margin: 32px 0 0;
}

.lp-pain-answer strong {
  color: var(--lp-primary);
}

/* 機能 */
.lp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.lp-features article {
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 28px;
}

.lp-features h3 {
  font-size: 18px;
  margin: 12px 0 8px;
}

.lp-features p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
}

.lp-feature-icon {
  font-size: 28px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--lp-bg-soft);
  border-radius: 14px;
}

/* 使い方 */
.lp-how {
  background: var(--lp-bg-soft);
}

.lp-step-number {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lp-primary);
  color: #fff;
  font-weight: 700;
}

/* 連携のしかた */
.lp-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 24px;
}

.lp-flow-step {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 40px;
  align-items: center;
}

.lp-flow-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.lp-role {
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 12px;
}

.lp-role-trainer {
  background: #dbeafe;
  color: #1e40af;
}

.lp-role-client {
  background: #dcfce7;
  color: #166534;
}

.lp-flow-text h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.lp-flow-text p {
  margin: 0 0 12px;
  color: #374151;
}

.lp-flow-text .lp-flow-note {
  font-size: 13px;
  color: var(--lp-muted);
  background: var(--lp-bg-soft);
  border-radius: 10px;
  padding: 10px 14px;
}

.lp-flow-media {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.lp-phones img {
  width: min(220px, 46%);
  filter: drop-shadow(0 12px 24px rgb(0 0 0 / 0.15));
}

.lp-shot-web {
  border-radius: 12px;
  border: 1px solid var(--lp-border);
  box-shadow: 0 12px 32px rgb(37 99 235 / 0.12);
  min-width: 0;
}

.lp-flow-media-done {
  gap: 20px;
}

.lp-phone-small {
  width: min(160px, 32%);
  flex: none;
  filter: drop-shadow(0 12px 24px rgb(0 0 0 / 0.15));
}

.lp-flow-media-done .lp-shot-web {
  flex: 1;
}

.lp-message {
  margin: 32px auto 0;
  max-width: 760px;
  background: #fff;
  border: 2px dashed #93c5fd;
  border-radius: 16px;
  padding: 24px 28px;
}

.lp-message h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.lp-message-body {
  margin: 0;
  color: #374151;
}

@media (max-width: 900px) {
  .lp-flow-step {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }

  .lp-flow-media-done {
    flex-direction: column;
  }

  .lp-phone-small {
    width: 180px;
  }

  .lp-flow-text h3 {
    font-size: 19px;
  }

  /* 狭い画面では、メッセージ例の改行の位置が不自然になるので改行しない */
  .lp-message-body br {
    display: none;
  }
}

/* クライアント側 */
.lp-client {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 56px;
  align-items: center;
}

.lp-client h2 {
  text-align: left;
  margin-bottom: 24px;
}

.lp-client-visual img {
  max-width: 300px;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.12);
}

.lp-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}

.lp-check-list li {
  padding-left: 32px;
  position: relative;
}

.lp-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lp-accent);
  font-weight: 800;
}

.lp-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-stores a {
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  padding: 10px 18px;
  color: var(--lp-text);
  font-weight: 600;
  font-size: 14px;
}

.lp-stores a:hover {
  border-color: var(--lp-primary);
}

@media (max-width: 800px) {
  .lp-client {
    grid-template-columns: 1fr;
  }

  .lp-client h2 {
    text-align: center;
  }
}

/* 料金 */
.lp-pricing {
  background: var(--lp-bg-soft);
}

.lp-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
}

.lp-plan {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.lp-plan-current {
  border-color: var(--lp-primary);
}

.lp-plan-badge {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--lp-primary);
  border-radius: 999px;
  padding: 2px 12px;
}

.lp-plan-badge-muted {
  background: #e5e7eb;
  color: var(--lp-muted);
}

.lp-plan h3 {
  margin-top: 12px;
  font-size: 18px;
}

.lp-price {
  font-size: 40px;
  font-weight: 800;
  margin: 4px 0 0;
}

.lp-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--lp-muted);
  margin-left: 4px;
}

.lp-plan-clients {
  color: var(--lp-muted);
  margin: 0 0 16px;
}

/* よくある質問 */
.lp-faq {
  max-width: 760px;
}

.lp-faq details {
  border-bottom: 1px solid var(--lp-border);
  padding: 18px 4px;
}

.lp-faq summary {
  font-weight: 700;
  cursor: pointer;
}

.lp-faq details p {
  margin: 12px 0 0;
  color: #4b5563;
}

/* 最後の誘導 */
.lp-final {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.lp-final h2 {
  margin-bottom: 28px;
}

/* フッター */
.lp-footer {
  border-top: 1px solid var(--lp-border);
  padding: 28px 0;
  font-size: 13px;
  color: var(--lp-muted);
}

.lp-footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-footer nav {
  display: flex;
  gap: 20px;
}

.lp-footer a {
  color: var(--lp-muted);
}

.lp-final-note {
  opacity: 0.9;
  margin: -16px 0 24px;
}

.lp-logo,
.lp-button-small {
  white-space: nowrap;
}
