/* ============================================================
   SpotMemo ランディングページ専用スタイル
   ============================================================ */

:root {
  --lp-primary: #ff6b35;
  --lp-primary-dark: #e8511c;
  --lp-primary-soft: #fff1ea;
  --lp-accent: #2fa872;
  --lp-accent-soft: #e9f7f0;
  --lp-ink: #2b2118;
  --lp-ink-soft: #6b5f55;
  --lp-bg: #fffaf4;
  --lp-card: #ffffff;
  --lp-line: #f0e4d8;
  --lp-danger: #d64545;
  --lp-radius: 18px;
  --lp-shadow: 0 8px 30px rgba(43, 33, 24, 0.08);
  --lp-shadow-lg: 0 18px 50px rgba(43, 33, 24, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.lp {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--lp-ink);
  background: var(--lp-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.lp img { max-width: 100%; }
.lp a { color: inherit; }

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

/* ---------- ヘッダー ---------- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 244, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lp-line);
}

.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.lp-logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--lp-primary), #ff9258);
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
}

/* ---------- ボタン ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-btn-primary {
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-dark));
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 107, 53, 0.4);
}

.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 107, 53, 0.5);
  color: #fff;
}

.lp-btn-ghost {
  background: #fff;
  color: var(--lp-ink);
  border: 2px solid var(--lp-line);
}

.lp-btn-ghost:hover { border-color: var(--lp-primary); color: var(--lp-primary); }

.lp-btn-sm { padding: 9px 20px; font-size: 0.9rem; }
.lp-btn-lg { padding: 17px 38px; font-size: 1.1rem; }

/* ---------- ヒーロー ---------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 80px;
}

.lp-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lp-primary-soft) 0%, transparent 70%);
}

.lp-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--lp-accent-soft);
  color: var(--lp-accent);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.lp-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.lp-hero h1 .mark {
  background: linear-gradient(transparent 62%, #ffd9a8 62%);
}

.lp-hero-lead {
  font-size: 1.05rem;
  color: var(--lp-ink-soft);
  margin-bottom: 28px;
  max-width: 32em;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lp-trust li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--lp-line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lp-ink-soft);
}

/* ヒーローのアプリモック */
.lp-mock {
  position: relative;
  margin-inline: auto;
  width: 290px;
}

.lp-phone {
  background: #fff;
  border: 6px solid var(--lp-ink);
  border-radius: 34px;
  padding: 20px 14px 24px;
  box-shadow: var(--lp-shadow-lg);
}

.lp-phone-head {
  font-weight: 900;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 14px;
}

.lp-rank-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--lp-bg);
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.lp-rank-card.first { border-color: #ffc46b; background: #fff7ea; }

.lp-rank-no {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lp-line);
  font-weight: 900;
  font-size: 0.85rem;
}

.lp-rank-card.first .lp-rank-no { background: #ffc46b; color: #7a4a00; }

.lp-rank-body { min-width: 0; }

.lp-rank-name {
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-rank-stars { font-size: 0.75rem; color: #f5a623; letter-spacing: 1px; }
.lp-rank-stars span { color: var(--lp-ink-soft); margin-left: 6px; letter-spacing: 0; }

.lp-float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 9px 15px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--lp-shadow-lg);
  white-space: nowrap;
  animation: lp-bob 3.6s ease-in-out infinite;
}

.lp-float.f1 { top: 38px; left: -74px; }
.lp-float.f2 { bottom: 96px; right: -64px; animation-delay: -1.8s; }
.lp-float.f3 { bottom: -14px; left: -40px; animation-delay: -0.9s; }

@keyframes lp-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- 利用シーン帯 ---------- */
.lp-scenes {
  background: var(--lp-ink);
  color: #fff;
  padding: 18px 0;
  overflow: hidden;
}

.lp-scenes-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: lp-marquee 26s linear infinite;
}

.lp-scenes-track span {
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0.92;
  white-space: nowrap;
}

@keyframes lp-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- セクション共通 ---------- */
.lp-section { padding: 88px 0; }
.lp-section.alt { background: #fff; }

.lp-section-head { text-align: center; margin-bottom: 52px; }

.lp-section-label {
  display: inline-block;
  color: var(--lp-primary);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

.lp-section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 900;
  line-height: 1.45;
}

.lp-section-head p {
  color: var(--lp-ink-soft);
  margin: 14px auto 0;
  max-width: 38em;
}

/* ---------- 悩み ---------- */
.lp-pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.lp-pain {
  background: var(--lp-card);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 28px 24px;
  box-shadow: var(--lp-shadow);
}

.lp-pain .emoji { font-size: 2rem; display: block; margin-bottom: 12px; }

.lp-pain h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 800; }

.lp-pain p { margin: 0; font-size: 0.92rem; color: var(--lp-ink-soft); }

.lp-pain-bridge {
  text-align: center;
  margin-top: 46px;
}

.lp-pain-bridge .arrow {
  font-size: 1.8rem;
  color: var(--lp-primary);
  display: block;
  margin-bottom: 10px;
}

.lp-pain-bridge p {
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0;
}

.lp-pain-bridge .mark { background: linear-gradient(transparent 62%, #ffd9a8 62%); }

/* ---------- 3ステップ ---------- */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.lp-step {
  position: relative;
  background: var(--lp-card);
  border-radius: var(--lp-radius);
  padding: 36px 26px 30px;
  border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow);
  text-align: center;
}

.lp-step-no {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-primary), #ff9258);
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 6px 14px rgba(255, 107, 53, 0.4);
}

.lp-step .emoji { font-size: 2.4rem; display: block; margin-bottom: 12px; }

.lp-step h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 800; }

.lp-step p { margin: 0; font-size: 0.92rem; color: var(--lp-ink-soft); }

.lp-step-note {
  text-align: center;
  margin-top: 34px;
  color: var(--lp-ink-soft);
  font-size: 0.95rem;
}

/* ---------- 機能 ---------- */
.lp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.lp-feature {
  background: var(--lp-card);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 26px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lp-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-lg);
}

.lp-feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--lp-primary-soft);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.lp-feature h3 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 800; }

.lp-feature p { margin: 0; font-size: 0.9rem; color: var(--lp-ink-soft); }

/* ---------- ユースケース ---------- */
.lp-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.lp-case {
  background: var(--lp-card);
  border-radius: var(--lp-radius);
  overflow: hidden;
  border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow);
}

.lp-case-head {
  padding: 22px 24px;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-case:nth-child(1) .lp-case-head { background: linear-gradient(135deg, #ff6b35, #ff9258); }
.lp-case:nth-child(2) .lp-case-head { background: linear-gradient(135deg, #2fa872, #5cc796); }
.lp-case:nth-child(3) .lp-case-head { background: linear-gradient(135deg, #4a7fd4, #7aa6e8); }

.lp-case-body { padding: 22px 24px 26px; }

.lp-case-body p { margin: 0 0 14px; font-size: 0.92rem; color: var(--lp-ink-soft); }

.lp-case-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.lp-case-body li {
  font-size: 0.88rem;
  font-weight: 600;
  padding-left: 24px;
  position: relative;
}

.lp-case-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lp-accent);
  font-weight: 900;
}

/* ---------- 安心・セキュリティ ---------- */
.lp-secure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.lp-secure-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.lp-secure-item .emoji {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lp-accent-soft);
  font-size: 1.25rem;
}

.lp-secure-item h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 800; }

.lp-secure-item p { margin: 0; font-size: 0.88rem; color: var(--lp-ink-soft); }

/* ---------- FAQ ---------- */
.lp-faq {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.lp-faq details {
  background: var(--lp-card);
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  overflow: hidden;
}

.lp-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 22px;
  font-weight: 700;
  position: relative;
}

.lp-faq summary::-webkit-details-marker { display: none; }

.lp-faq summary::before { content: "Q. "; color: var(--lp-primary); font-weight: 900; }

.lp-faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--lp-primary);
  transition: transform 0.2s ease;
}

.lp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.lp-faq .faq-body {
  padding: 0 22px 20px;
  font-size: 0.93rem;
  color: var(--lp-ink-soft);
}

.lp-faq .faq-body::before { content: "A. "; color: var(--lp-accent); font-weight: 900; }

/* ---------- CTA / フォーム ---------- */
.lp-cta {
  background: linear-gradient(135deg, #ff6b35 0%, #e8511c 60%, #d8430f 100%);
  padding: 88px 0;
  color: #fff;
}

.lp-cta-inner {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.lp-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.4;
}

.lp-cta-lead { opacity: 0.92; margin-bottom: 36px; }

.lp-form-card {
  background: #fff;
  color: var(--lp-ink);
  border-radius: 22px;
  padding: 34px 30px;
  box-shadow: var(--lp-shadow-lg);
  text-align: left;
}

.lp-form-card label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

.lp-form-card input[type="text"] {
  width: 100%;
  font-family: inherit;
  font-size: 1.05rem;
  padding: 14px 16px;
  border: 2px solid var(--lp-line);
  border-radius: 12px;
  margin-bottom: 8px;
  transition: border-color 0.15s ease;
}

.lp-form-card input[type="text"]:focus {
  outline: none;
  border-color: var(--lp-primary);
}

.lp-form-hint {
  font-size: 0.83rem;
  color: var(--lp-ink-soft);
  margin: 0 0 18px;
}

.lp-form-card .lp-btn { width: 100%; }

.lp-cta-foot {
  margin-top: 20px;
  font-size: 0.85rem;
  opacity: 0.88;
}

/* 作成完了パネル */
.lp-created {
  background: #fff;
  color: var(--lp-ink);
  border-radius: 22px;
  padding: 34px 30px;
  box-shadow: var(--lp-shadow-lg);
  text-align: left;
  margin-bottom: 28px;
}

.lp-created h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 900; }

.lp-created > p { font-size: 0.9rem; color: var(--lp-ink-soft); margin: 0 0 20px; }

.lp-url-label {
  font-size: 0.85rem;
  font-weight: 800;
  margin: 0 0 6px;
}

.lp-url-label.danger { color: var(--lp-danger); }

.lp-url-box {
  background: var(--lp-bg);
  border: 1px dashed var(--lp-line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.85rem;
  word-break: break-all;
  margin-bottom: 18px;
}

.lp-url-box a { color: var(--lp-primary-dark); font-weight: 600; }

/* フラッシュメッセージ */
.lp-flash {
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 700;
  margin-bottom: 20px;
  background: #fff;
}

.lp-flash.danger { color: var(--lp-danger); border: 2px solid var(--lp-danger); }
.lp-flash.success { color: var(--lp-accent); border: 2px solid var(--lp-accent); }

/* ---------- フッター ---------- */
.lp-footer {
  background: var(--lp-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 44px 0 36px;
  font-size: 0.85rem;
}

.lp-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.lp-footer .lp-logo { color: #fff; font-size: 1.05rem; }

.lp-footer .lp-logo-mark { width: 30px; height: 30px; font-size: 0.9rem; border-radius: 9px; }

.lp-footer p { margin: 0; }

/* ---------- レスポンシブ ---------- */
.sp-only { display: none; }

@media (max-width: 900px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }

  .lp-hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .lp-hero { padding: 44px 0 64px; }
  .lp-mock { width: 270px; }
  .lp-float.f1 { left: -46px; }
  .lp-float.f2 { right: -38px; }
  .lp-pains, .lp-steps, .lp-features, .lp-cases, .lp-secure { grid-template-columns: 1fr; }
  .lp-steps { gap: 34px; }
  .lp-section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .lp-hero h1 { font-size: 1.62rem; }
}
