/* ============================================================
   Hidori — 共通スタイルシート
   Design System v2.0 "Warm & Gentle"
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ── CSS カスタムプロパティ ── */
:root {
  --bg:           #FAF5F1;
  --surface:      #FFFFFF;
  --surface-2:    #F3EDE7;
  --text:         #1F2024;
  --text-2:       #8C8A88;
  --text-3:       #BEB9B4;
  --hairline:     rgba(0, 0, 0, 0.075);
  --sun:          #EE5C4D;
  --sun-soft:     rgba(238, 92, 77, 0.12);
  --sun-pressed:  #D44033;
  --teal:         #38A294;
  --teal-soft:    rgba(56, 162, 148, 0.14);
  --purple:       #7C72E6;
  --purple-soft:  rgba(124, 114, 230, 0.14);
  --amber:        #E8923B;
  --hero-1:       #F6D8CC;
  --hero-2:       #FCEADF;
  --shadow-card:  0 4px 18px rgba(60, 40, 30, 0.06);
  --shadow-warm:  0 4px 20px rgba(238, 92, 77, 0.16);
  --radius-s:     8px;
  --radius-m:     12px;
  --radius-l:     16px;
  --radius-xl:    20px;
  --radius-pill:  9999px;
  --max-prose:    720px;
  --max-lp:       680px;
}

/* ── リセット & ベース ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Noto Sans JP', -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

p {
  color: var(--text);
  line-height: 1.8;
}

a {
  color: var(--sun);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--sun-pressed);
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.4em;
}

li {
  line-height: 1.75;
  margin-bottom: 0.25em;
}

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

/* ── ヘッダー ── */
.site-header {
  background: rgba(250, 245, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-prose);
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.03em;
  text-decoration: none;
}

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

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ── フッター ── */
.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--hairline);
  padding: 40px 20px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-prose);
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 20px;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-2);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--sun);
  text-decoration: none;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-3);
}

/* ── ボタン ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--sun);
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: default;
  opacity: 0.72;
  box-shadow: var(--shadow-warm);
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  text-decoration: none;
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--sun);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--sun);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover {
  background: var(--sun-soft);
  text-decoration: none;
  color: var(--sun);
}

/* ── LP 専用: セクション共通 ── */
.lp-section {
  padding: 72px 20px;
}

.lp-section + .lp-section {
  border-top: 1px solid var(--hairline);
}

.lp-section-inner {
  max-width: var(--max-lp);
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.section-body {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 560px;
}

/* ── ヒーローセクション ── */
.hero {
  background: linear-gradient(160deg, var(--hero-1) 0%, var(--hero-2) 60%, var(--bg) 100%);
  padding: 80px 20px 72px;
  text-align: center;
}

.hero-inner {
  max-width: var(--max-lp);
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sun-soft);
  color: var(--sun);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(1.75rem, 7vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.125rem);
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-note {
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-top: 16px;
}

/* ── 共感セクション ── */
.empathy-box {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.empathy-lead {
  font-size: clamp(1.125rem, 4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}

.empathy-sub {
  color: var(--text-2);
  font-size: 0.9375rem;
}

/* ── 3ステップセクション ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(60, 40, 30, 0.10);
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.step-icon.icon-camera { background: var(--surface-2); }
.step-icon.icon-ai     { background: var(--purple-soft); }
.step-icon.icon-cal    { background: var(--sun-soft); }

.step-num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 8px;
  display: block;
}

.step-label {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── 機能カード（フィーチャー行） ── */
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.feature-icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
}

.feature-icon-wrap.teal   { background: var(--teal-soft); }
.feature-icon-wrap.purple { background: var(--purple-soft); }
.feature-icon-wrap.sun    { background: var(--sun-soft); }
.feature-icon-wrap.amber  { background: rgba(232, 146, 59, 0.14); }

.feature-content h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.feature-content p {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ── カラーチップ（共有デモ）── */
.share-demo {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.color-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
}

.color-chip.self   { background: var(--sun-soft); color: var(--sun-pressed); }
.color-chip.partner { background: var(--teal-soft); color: #1E6860; }

.color-chip .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.color-chip.self .dot    { background: var(--sun); }
.color-chip.partner .dot { background: var(--teal); }

/* ── 料金セクション ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
}

.pricing-card.featured {
  border-color: var(--sun);
  border-width: 1.5px;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured::before {
  content: 'Pro';
  position: absolute;
  top: 16px;
  right: -22px;
  background: var(--sun);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  padding: 4px 28px;
  transform: rotate(45deg);
}

.pricing-plan {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.pricing-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.04em;
}

.pricing-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-2);
  letter-spacing: 0;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}

.pricing-features {
  list-style: none;
  padding: 0;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--text);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-features.muted li::before {
  color: var(--text-3);
}

/* ── CTA フッターセクション ── */
.cta-section {
  background: linear-gradient(135deg, var(--hero-1) 0%, var(--hero-2) 100%);
  padding: 80px 20px;
  text-align: center;
}

.cta-section-inner {
  max-width: 560px;
  margin: 0 auto;
}

.cta-section .section-title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--text-2);
  margin-bottom: 32px;
  font-size: 0.9375rem;
}

.cta-note {
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-top: 16px;
}

/* ── 法的ページ ── */
.legal-page {
  padding: 56px 20px 80px;
}

.legal-inner {
  max-width: var(--max-prose);
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
}

.legal-header h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  margin-bottom: 8px;
}

.legal-date {
  font-size: 0.875rem;
  color: var(--text-2);
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
  color: var(--text);
}

.legal-section p {
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 12px;
}

.legal-section ul,
.legal-section ol {
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 12px;
}

.legal-section ul li,
.legal-section ol li {
  margin-bottom: 6px;
}

/* ── サポートページ ── */
.support-contact-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  padding: 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 48px;
  text-align: center;
}

.support-contact-card p {
  color: var(--text-2);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sun-soft);
  color: var(--sun-pressed);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.15s;
}

.contact-email:hover {
  background: rgba(238, 92, 77, 0.2);
  color: var(--sun-pressed);
  text-decoration: none;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-q {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface-2);
}

.faq-a {
  padding: 16px 24px;
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* ── アニメーション（slide-up）── */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: slideUp 0.35s ease-out both;
}

/* ── レスポンシブ ── */
@media (max-width: 640px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a:not(.btn-nav) {
    display: none;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .feature-row {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .lp-section {
    padding: 56px 20px;
  }

  .hero {
    padding: 60px 20px 56px;
  }

  .empathy-box {
    padding: 28px 20px;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── ユーティリティ ── */
.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mb-2  { margin-bottom: 8px; }
.mb-4  { margin-bottom: 16px; }
