/* OrangeMania Guide - 共通スタイル */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=DM+Mono:wght@400;500&display=swap');

:root {
  --color-accent: #FF7F00;
  --color-bg: #FFFFFF;
  --color-text: #3a2a1a;
  --color-code-bg: #f0ede8;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Nunito', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* 見出し */
h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
}

p {
  margin: 0 0 16px;
}

/* ラベル（英字大文字 + モノスペース） */
.label {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
}

/* ボタン */
.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  box-shadow: none;
  border: none;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--color-accent);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  border: 1.5px solid var(--color-accent);
}

/* ターゲット読者リスト */
.audience-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.audience-list li {
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #eee6da;
  margin-bottom: 12px;
}

/* アプリカード */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}

.card {
  background: #fff;
  border: 1px solid #FF7F00;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: none;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.card p {
  opacity: 0.8;
  margin-bottom: 20px;
}

.tip-highlight {
  background: #FFF3E6;
}

/* ステップセクション */
.step {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #FF7F00;
}

.step:first-of-type {
  border-top: none;
  padding-top: 0;
}

.step-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

/* TIPSボックス */
.tips-box {
  margin-top: 56px;
  padding: 32px;
  background: #fff;
  border: 1px solid #FF7F00;
  border-radius: var(--radius);
  box-shadow: none;
}

/* STEP番号・TIPSラベル直後の見出しは間隔を詰める */
.step h2,
.tips-box h2 {
  margin-top: 0;
}

/* コードブロック */
.code-block {
  position: relative;
  background: var(--color-code-bg);
  border-radius: var(--radius);
  padding: 20px;
  margin: 16px 0;
  font-family: 'DM Mono', monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #fff;
  border: 1px solid #FF7F00;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--color-text);
}

.copy-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* フッター */
.footer {
  text-align: center;
  padding: 40px 24px;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  opacity: 0.6;
}

.back-link {
  display: inline-block;
  margin-top: 48px;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
}

/* ==========================================================================
   Landing page (Claude Design "OrangeMania Top" 再現)
   トップページ(index.html)専用。既存クラスとは独立した lp- プレフィックス
   ========================================================================== */

.lp-body {
  margin: 0;
  font-family: 'Inter', -apple-system, sans-serif;
  color: oklch(0.2 0.01 60);
  background: #FFFFFF;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.lp-body ::selection {
  background: #FF7F00;
  color: #fff;
}

.lp-body a {
  color: #FF7F00;
  text-decoration: none;
}

.lp-body a:hover {
  color: #E56E00;
}

/* Header */
.lp-header {
  font-family: 'Inter', -apple-system, sans-serif;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #FF7F00;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.lp-logo-mark {
  width: 22px;
  height: 22px;
  background: #FF7F00;
  border-radius: 6px;
}

.lp-logo-text {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: oklch(0.2 0.01 60);
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.lp-nav-link {
  font-size: 14px;
  color: #FF7F00;
  font-weight: 500;
  text-decoration: none;
}

a.lp-nav-cta {
  font-size: 14px;
  font-weight: 600;
  background: #FF7F00;
  color: #fff;
  padding: 8px 16px;
  border-radius: 7px;
}

a.lp-nav-cta:hover {
  background: #E56E00;
  color: #fff;
}

/* Hero */
.lp-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px 24px 100px;
  gap: 24px;
}

.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid #FF7F00;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: oklch(0.2 0.01 60 / 0.6);
  letter-spacing: 0.02em;
}

.lp-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF7F00;
  display: inline-block;
}

.lp-hero h1 {
  font-size: clamp(24px, 3.8vw, 34px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 780px;
}

.lp-hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: oklch(0.2 0.01 60 / 0.62);
  max-width: 560px;
  margin: 0;
  font-weight: 400;
}

.lp-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

a.lp-btn-primary {
  font-size: 15px;
  font-weight: 600;
  background: #FF7F00;
  color: #fff;
  padding: 13px 26px;
  border-radius: 8px;
  box-shadow: 0 1px 2px oklch(0.2 0.01 60 / 0.1);
}

a.lp-btn-primary:hover {
  background: #E56E00;
  color: #fff;
}

.lp-btn-secondary {
  font-size: 15px;
  font-weight: 600;
  color: oklch(0.2 0.01 60 / 0.8);
  padding: 13px 22px;
  border-radius: 8px;
  border: 1px solid #FF7F00;
}

.lp-btn-secondary:hover {
  border-color: #FF7F00;
  background: oklch(0.96 0.005 60);
}

/* Target readers */
.lp-section {
  padding: 40px 48px 100px;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.lp-section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}

.lp-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #FF7F00;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lp-section-head h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.lp-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.lp-card {
  background: #FFFFFF;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid #FF7F00;
  border-radius: 14px;
  box-shadow: none;
}

.lp-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}

.lp-card p {
  font-size: 14px;
  line-height: 1.6;
  color: oklch(0.2 0.01 60 / 0.6);
  margin: 0;
}

/* How it works */
.lp-section-how {
  padding: 0 48px 110px;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.lp-steps {
  display: flex;
  flex-direction: column;
}

.lp-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid #FF7F00;
}

.lp-step:last-child {
  border-bottom: 1px solid #FF7F00;
}

.lp-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #666666;
  font-weight: 600;
}

.lp-step-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-step-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.lp-step-body p {
  font-size: 14px;
  line-height: 1.6;
  color: oklch(0.2 0.01 60 / 0.6);
  margin: 0;
  max-width: 620px;
}

/* CTA */
.lp-section-cta {
  padding: 0 48px 120px;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.lp-cta-box {
  background: transparent;
  padding: 56px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  border: 1px solid #FF7F00;
  border-radius: 14px;
  max-width: 520px;
  margin: 0 auto;
}

.lp-cta-box h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: #3a2a1a;
}

.lp-cta-box p {
  font-size: 15px;
  color: rgba(58, 42, 26, 0.7);
  margin: 0;
  max-width: 440px;
}

a.lp-btn-cta {
  font-size: 15px;
  font-weight: 600;
  background: #FF7F00;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  margin-top: 8px;
}

a.lp-btn-cta:hover {
  background: #E56E00;
  color: #fff;
}

/* CTA entry cards (WEB / スマホアプリ) */
.lp-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 40px auto 0;
}

.lp-entry-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px;
  border: 1px solid #FF7F00;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: none;
  text-decoration: none;
  transition: background 0.15s ease;
}

a.lp-entry-card:hover {
  background: oklch(0.96 0.005 60);
}

.lp-entry-card--disabled {
  opacity: 0.5;
  cursor: default;
  border-color: oklch(0.2 0.01 60 / 0.2);
}

.lp-entry-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: #FF7F00;
}

.lp-entry-card--disabled .lp-entry-label {
  color: oklch(0.2 0.01 60 / 0.4);
}

.lp-entry-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: #3a2a1a;
}

.lp-entry-card p {
  font-size: 14px;
  line-height: 1.6;
  color: oklch(0.2 0.01 60 / 0.6);
  margin: 0;
}

.lp-entry-link {
  font-size: 14px;
  font-weight: 600;
  color: #FF7F00;
  margin-top: 4px;
}

.lp-entry-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: oklch(0.2 0.01 60 / 0.45);
  border: 1px solid oklch(0.2 0.01 60 / 0.25);
  border-radius: 100px;
  padding: 4px 10px;
  margin-top: 4px;
}

/* Top page (2-entry card gate) */
.lp-top-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.lp-top-main .lp-entry-grid {
  margin: 0 auto;
}

/* Footer */
.lp-footer {
  margin-top: auto;
  padding: 32px 48px;
  border-top: 1px solid #FF7F00;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-footer-mark {
  width: 16px;
  height: 16px;
  background: #FF7F00;
  border-radius: 4px;
}

.lp-footer-name {
  font-size: 13px;
  font-weight: 600;
  color: oklch(0.2 0.01 60 / 0.7);
}

.lp-footer-copy {
  font-size: 13px;
  color: oklch(0.2 0.01 60 / 0.4);
}

/* Usage note */
.lp-note-section {
  padding-top: 0;
  padding-bottom: 40px;
}

.lp-note {
  background: oklch(0.96 0.005 60);
  border: 1px solid #FF7F00;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: none;
}

.lp-note-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: #3a3a3a;
}

.lp-note-text {
  font-size: 14px;
  line-height: 1.7;
  color: oklch(0.2 0.01 60 / 0.65);
  margin: 0;
}

/* ==========================================================================
   Mobile (max-width: 640px)
   本ファイル内のモバイル用ルールはすべてこの1ブロックに集約する。
   通常ルールより前に置くと詳細度が同じ場合に後勝ちで無効化されるため、
   必ずファイル末尾（最後の@media）に置くこと。
   ========================================================================== */
@media (max-width: 640px) {
  .lp-header {
    padding: 16px 20px;
  }

  .lp-logo-text {
    font-size: 15px;
  }

  .lp-nav {
    gap: 12px;
  }

  .lp-nav-link {
    font-size: 13px;
  }

  a.lp-nav-cta {
    font-size: 13px;
    padding: 7px 12px;
  }

  .lp-hero {
    padding: 60px 20px 60px;
  }

  .lp-hero h1 {
    font-size: 22px;
    line-height: 1.45;
  }

  .lp-section-head h2 {
    font-size: 22px;
  }

  .lp-cta-box h2 {
    font-size: 22px;
  }

  .lp-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lp-hero-actions a {
    text-align: center;
  }

  .lp-section,
  .lp-section-how,
  .lp-section-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

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

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

  .lp-step {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }

  .container h1 {
    font-size: 1.5rem;
  }
}
